dfish-widget 1.0.97 → 1.0.98

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 CHANGED
@@ -1845,7 +1845,7 @@ function directive(Vue) {
1845
1845
 
1846
1846
  const bindCache = {};
1847
1847
 
1848
- var script$1o = {
1848
+ var script$1p = {
1849
1849
  props: ['data', 'width', 'height', 'colspan', 'rowspan', 'ownproperty', 'orientUid'],
1850
1850
  data() {
1851
1851
  return {
@@ -2107,9 +2107,9 @@ const bindCache = {};
2107
2107
  }
2108
2108
  };
2109
2109
 
2110
- script$1o.__file = "src/widgets/WidgetAbs.vue";
2110
+ script$1p.__file = "src/widgets/WidgetAbs.vue";
2111
2111
 
2112
- var script$1n = {
2112
+ var script$1o = {
2113
2113
  props: ['src', 'children', 'parentItem'],
2114
2114
  data() {
2115
2115
  return {
@@ -2143,11 +2143,11 @@ var script$1n = {
2143
2143
  }
2144
2144
  };
2145
2145
 
2146
- script$1n.__file = "src/widgets/SrcParent.vue";
2146
+ script$1o.__file = "src/widgets/SrcParent.vue";
2147
2147
 
2148
- var script$1m = {
2148
+ var script$1n = {
2149
2149
  name: 'w-view',
2150
- mixins: [script$1n],
2150
+ mixins: [script$1o],
2151
2151
  provide() {
2152
2152
  return {
2153
2153
  provideView: this
@@ -2270,6 +2270,12 @@ var script$1m = {
2270
2270
  },
2271
2271
  // 表单验证。验证通过返回true /@ range -> validaterange
2272
2272
  async valid(range) {
2273
+ if (this._err_ns) {
2274
+ this._err_ns.forEach(v => {
2275
+ const wg = $$1.vueMap.get(v.wid);
2276
+ wg && wg.warn(false);
2277
+ });
2278
+ }
2273
2279
  let e = await this.getValidError(range);
2274
2280
  if (e) {
2275
2281
  e.forEach(v => $$1.vueMap.get(v.wid).warn());
@@ -2353,9 +2359,9 @@ var script$1m = {
2353
2359
  }
2354
2360
  };
2355
2361
 
2356
- script$1m.__file = "src/widgets/ViewAbs.vue";
2362
+ script$1n.__file = "src/widgets/ViewAbs.vue";
2357
2363
 
2358
- var script$1l = {
2364
+ var script$1m = {
2359
2365
  name: 'w-svg-loading'
2360
2366
  };
2361
2367
 
@@ -2385,10 +2391,10 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
2385
2391
  return (openBlock(), createElementBlock("svg", _hoisted_1$b, _hoisted_6$3))
2386
2392
  }
2387
2393
 
2388
- script$1l.render = render$8;
2389
- script$1l.__file = "src/assets/SVGIcon.vue";
2394
+ script$1m.render = render$8;
2395
+ script$1m.__file = "src/assets/SVGIcon.vue";
2390
2396
 
2391
- var script$1k = {
2397
+ var script$1l = {
2392
2398
  props: ['data'],
2393
2399
  data() {
2394
2400
  return {
@@ -2507,10 +2513,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2507
2513
  }))
2508
2514
  }
2509
2515
 
2510
- script$1k.render = render$7;
2511
- script$1k.__file = "src/template/TemplatePreviewMedia.vue";
2516
+ script$1l.render = render$7;
2517
+ script$1l.__file = "src/template/TemplatePreviewMedia.vue";
2512
2518
 
2513
- var script$1j = {
2519
+ var script$1k = {
2514
2520
  props: ['data'],
2515
2521
  data() {
2516
2522
  let f = this.data.format || 'yyyy-MM-dd';
@@ -3011,12 +3017,12 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
3011
3017
  }))
3012
3018
  }
3013
3019
 
3014
- script$1j.render = render$6;
3015
- script$1j.__file = "src/template/TemplateDateSheet.vue";
3020
+ script$1k.render = render$6;
3021
+ script$1k.__file = "src/template/TemplateDateSheet.vue";
3016
3022
 
3017
- var script$1i = {
3023
+ var script$1j = {
3018
3024
  name: 'w-docview',
3019
- mixins: [script$1o, script$1m],
3025
+ mixins: [script$1p, script$1n],
3020
3026
  provide() {
3021
3027
  return {
3022
3028
  providePubParent: null,
@@ -3038,15 +3044,15 @@ var script$1i = {
3038
3044
  return null
3039
3045
  },
3040
3046
  previewVideo(src) {
3041
- this.pop(script$1k, {data: {type: 'video', src}});
3047
+ this.pop(script$1l, {data: {type: 'video', src}});
3042
3048
  },
3043
3049
  previewImage(imgs, options) {
3044
- this.pop(script$1k, {data: {type: 'image', imgs, options}});
3050
+ this.pop(script$1l, {data: {type: 'image', imgs, options}});
3045
3051
  },
3046
3052
  //dateOptions: {value, format, minValue, maxValue, success}
3047
3053
  dateSheet(dateOptions, dialogOptions) {
3048
- this.pop(script$1j, {
3049
- template: script$1j,
3054
+ this.pop(script$1k, {
3055
+ template: script$1k,
3050
3056
  width: '100%',
3051
3057
  height: '55%',
3052
3058
  position: 'b',
@@ -3062,20 +3068,20 @@ var script$1i = {
3062
3068
  return [
3063
3069
  this.$slots.default && this.$slots.default(),
3064
3070
  this.html_pops(),
3065
- h(script$1l),
3071
+ h(script$1m),
3066
3072
  ]
3067
3073
  }
3068
3074
  }
3069
3075
  };
3070
3076
 
3071
- script$1i.__file = "src/widgets/DocView.vue";
3077
+ script$1j.__file = "src/widgets/DocView.vue";
3072
3078
 
3073
- var script$1h = {
3074
- mixins: [script$1o],
3079
+ var script$1i = {
3080
+ mixins: [script$1p],
3075
3081
  inject: ['provideView']
3076
3082
  };
3077
3083
 
3078
- script$1h.__file = "src/widgets/WidgetBase.vue";
3084
+ script$1i.__file = "src/widgets/WidgetBase.vue";
3079
3085
 
3080
3086
  const onScroll = function(e) {
3081
3087
  if (this.wScrollPercentX) {
@@ -3116,8 +3122,8 @@ const onScroll = function(e) {
3116
3122
  }, dnEv);
3117
3123
  };
3118
3124
 
3119
- var script$1g = {
3120
- mixins: [script$1h],
3125
+ var script$1h = {
3126
+ mixins: [script$1i],
3121
3127
  props: ['scrollX', 'scrollY', 'scrollView', 'scrollFlex'],
3122
3128
  data() {
3123
3129
  return {
@@ -3403,9 +3409,9 @@ const onScroll = function(e) {
3403
3409
  }
3404
3410
  };
3405
3411
 
3406
- script$1g.__file = "src/widgets/Scroll.vue";
3412
+ script$1h.__file = "src/widgets/Scroll.vue";
3407
3413
 
3408
- var script$1f = {
3414
+ var script$1g = {
3409
3415
  props: ['align', 'valign', 'gap'],
3410
3416
  computed: {
3411
3417
  dir() {
@@ -3420,11 +3426,11 @@ var script$1f = {
3420
3426
  }
3421
3427
  };
3422
3428
 
3423
- script$1f.__file = "src/widgets/AlignParent.vue";
3429
+ script$1g.__file = "src/widgets/AlignParent.vue";
3424
3430
 
3425
- var script$1e = {
3431
+ var script$1f = {
3426
3432
  name: 'w-horizontal',
3427
- mixins: [script$1g, script$1f],
3433
+ mixins: [script$1h, script$1g],
3428
3434
  props: ['br', 'reverse'],
3429
3435
  provide() {
3430
3436
  return {
@@ -3476,11 +3482,11 @@ var script$1e = {
3476
3482
  }
3477
3483
  };
3478
3484
 
3479
- script$1e.__file = "src/widgets/Horizontal.vue";
3485
+ script$1f.__file = "src/widgets/Horizontal.vue";
3480
3486
 
3481
- var script$1d = {
3487
+ var script$1e = {
3482
3488
  name: 'w-vertical',
3483
- mixins: [script$1e],
3489
+ mixins: [script$1f],
3484
3490
  computed: {
3485
3491
  dir() {
3486
3492
  return 'v'
@@ -3488,11 +3494,11 @@ var script$1d = {
3488
3494
  }
3489
3495
  };
3490
3496
 
3491
- script$1d.__file = "src/widgets/Vertical.vue";
3497
+ script$1e.__file = "src/widgets/Vertical.vue";
3492
3498
 
3493
- var script$1c = {
3499
+ var script$1d = {
3494
3500
  name: 'w-view',
3495
- mixins: [script$1d, script$1m],
3501
+ mixins: [script$1e, script$1n],
3496
3502
  inject: ['provideView'],
3497
3503
  methods: {
3498
3504
  html_slots() {
@@ -3509,9 +3515,9 @@ var script$1c = {
3509
3515
  }
3510
3516
  };
3511
3517
 
3512
- script$1c.__file = "src/widgets/View.vue";
3518
+ script$1d.__file = "src/widgets/View.vue";
3513
3519
 
3514
- var script$1b = {
3520
+ var script$1c = {
3515
3521
  __name: 'DialogTarget',
3516
3522
  setup(__props) {
3517
3523
 
@@ -3526,7 +3532,7 @@ return (_ctx, _cache) => {
3526
3532
 
3527
3533
  };
3528
3534
 
3529
- script$1b.__file = "src/widgets/DialogTarget.vue";
3535
+ script$1c.__file = "src/widgets/DialogTarget.vue";
3530
3536
 
3531
3537
  const O = {},
3532
3538
  T = true,
@@ -3543,9 +3549,9 @@ const O = {},
3543
3549
  return typeof a === 'string' && a.split(',').map(v => positionHooks[v] || v).join()
3544
3550
  };
3545
3551
 
3546
- var script$1a = {
3552
+ var script$1b = {
3547
3553
  name: 'w-dialog',
3548
- mixins: [script$1c],
3554
+ mixins: [script$1d],
3549
3555
  props: ['title', 'autoHide', 'context', 'prong', 'independent', 'timeout', 'cover', 'coverProps',
3550
3556
  'position', 'snap', 'indent', 'offsetRange', 'local', 'fullScreen', 'hoverShowDrop', 'visible',
3551
3557
  ...boundary
@@ -3813,7 +3819,7 @@ const O = {},
3813
3819
  }
3814
3820
  let s = [cover, this.html_self(true)];
3815
3821
  let r = to ? h(Teleport, {to}, s) : s;
3816
- return this.slotTarget ? [r, h(script$1b, null, {default: () => [this.slotTarget()]})] : r
3822
+ return this.slotTarget ? [r, h(script$1c, null, {default: () => [this.slotTarget()]})] : r
3817
3823
  }
3818
3824
  },
3819
3825
  computed: {
@@ -3930,12 +3936,12 @@ const O = {},
3930
3936
  }
3931
3937
  };
3932
3938
 
3933
- script$1a.__file = "src/widgets/Dialog.vue";
3939
+ script$1b.__file = "src/widgets/Dialog.vue";
3934
3940
 
3935
3941
  const _hoisted_1$9 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
3936
3942
 
3937
3943
 
3938
- var script$19 = {
3944
+ var script$1a = {
3939
3945
  __name: 'TemplateAlert',
3940
3946
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
3941
3947
  emits: ['save', 'close'],
@@ -4068,11 +4074,11 @@ return (_ctx, _cache) => {
4068
4074
 
4069
4075
  };
4070
4076
 
4071
- script$19.__file = "src/template/TemplateAlert.vue";
4077
+ script$1a.__file = "src/template/TemplateAlert.vue";
4072
4078
 
4073
- var script$18 = {
4079
+ var script$19 = {
4074
4080
  name: 'w-alert',
4075
- mixins: [script$1a],
4081
+ mixins: [script$1b],
4076
4082
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4077
4083
  methods: {
4078
4084
  x_default() {
@@ -4102,7 +4108,7 @@ var script$18 = {
4102
4108
  },
4103
4109
  html_slots_default() {
4104
4110
  return h(
4105
- script$19,
4111
+ script$1a,
4106
4112
  {
4107
4113
  text: this.x.text,
4108
4114
  title: this.x.title,
@@ -4118,12 +4124,12 @@ var script$18 = {
4118
4124
  }
4119
4125
  };
4120
4126
 
4121
- script$18.__file = "src/widgets/Alert.vue";
4127
+ script$19.__file = "src/widgets/Alert.vue";
4122
4128
 
4123
4129
  const _hoisted_1$8 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
4124
4130
 
4125
4131
 
4126
- var script$17 = {
4132
+ var script$18 = {
4127
4133
  __name: 'TemplateConfirm',
4128
4134
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
4129
4135
  emits: ['save', 'close'],
@@ -4263,11 +4269,11 @@ return (_ctx, _cache) => {
4263
4269
 
4264
4270
  };
4265
4271
 
4266
- script$17.__file = "src/template/TemplateConfirm.vue";
4272
+ script$18.__file = "src/template/TemplateConfirm.vue";
4267
4273
 
4268
- var script$16 = {
4274
+ var script$17 = {
4269
4275
  name: 'w-confirm',
4270
- mixins: [script$1a],
4276
+ mixins: [script$1b],
4271
4277
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4272
4278
  methods: {
4273
4279
  x_default() {
@@ -4297,7 +4303,7 @@ var script$16 = {
4297
4303
  },
4298
4304
  html_slots_default() {
4299
4305
  return h(
4300
- script$17,
4306
+ script$18,
4301
4307
  {
4302
4308
  text: this.x.text,
4303
4309
  title: this.x.title,
@@ -4313,7 +4319,7 @@ var script$16 = {
4313
4319
  }
4314
4320
  };
4315
4321
 
4316
- script$16.__file = "src/widgets/Confirm.vue";
4322
+ script$17.__file = "src/widgets/Confirm.vue";
4317
4323
 
4318
4324
  const _hoisted_1$7 = { class: "w-tip-body" };
4319
4325
  const _hoisted_2$7 = {
@@ -4323,7 +4329,7 @@ const _hoisted_2$7 = {
4323
4329
  const _hoisted_3$5 = ["innerHTML"];
4324
4330
 
4325
4331
 
4326
- var script$15 = {
4332
+ var script$16 = {
4327
4333
  __name: 'TemplateTip',
4328
4334
  props: ['text', 'escape'],
4329
4335
  setup(__props) {
@@ -4347,16 +4353,16 @@ return (_ctx, _cache) => {
4347
4353
 
4348
4354
  };
4349
4355
 
4350
- script$15.__file = "src/template/TemplateTip.vue";
4356
+ script$16.__file = "src/template/TemplateTip.vue";
4351
4357
 
4352
4358
  let inst$1 = null;
4353
4359
  let tipCache = {
4354
4360
  time: new Date().getTime()
4355
4361
  };
4356
4362
 
4357
- var script$14 = {
4363
+ var script$15 = {
4358
4364
  name: 'w-tip',
4359
- mixins: [script$1a],
4365
+ mixins: [script$1b],
4360
4366
  props: ['face', 'text', 'escape'],
4361
4367
  provide() {
4362
4368
  return {
@@ -4373,7 +4379,7 @@ let inst$1 = null;
4373
4379
  }
4374
4380
  },
4375
4381
  html_slots_default() {
4376
- return h(script$15, {text: this.x.text, escape: this.x.escape}, this.$slots)
4382
+ return h(script$16, {text: this.x.text, escape: this.x.escape}, this.$slots)
4377
4383
  }
4378
4384
  },
4379
4385
  computed: {
@@ -4398,12 +4404,12 @@ let inst$1 = null;
4398
4404
  }
4399
4405
  };
4400
4406
 
4401
- script$14.__file = "src/widgets/Tip.vue";
4407
+ script$15.__file = "src/widgets/Tip.vue";
4402
4408
 
4403
- var script$13 = {
4409
+ var script$14 = {
4404
4410
  name: 'w-img',
4405
4411
  pubParentName: 'w-album',
4406
- mixins: [script$1h],
4412
+ mixins: [script$1i],
4407
4413
  inject: ['providePubParent'],
4408
4414
  props: ['src', 'text', 'square', 'imgWidth', 'imgHeight', 'dataUrl', 'vertical', 'disabled'],
4409
4415
  data() {
@@ -4449,7 +4455,7 @@ var script$13 = {
4449
4455
  class: 'w-img-cover f-abs-full'
4450
4456
  }, this.$slots.cover())
4451
4457
  ]),
4452
- cont && h(script$1d, {
4458
+ cont && h(script$1e, {
4453
4459
  class: 'w-img-description'
4454
4460
  }, cont)
4455
4461
  ]
@@ -4483,11 +4489,11 @@ var script$13 = {
4483
4489
  }
4484
4490
  };
4485
4491
 
4486
- script$13.__file = "src/widgets/Img.vue";
4492
+ script$14.__file = "src/widgets/Img.vue";
4487
4493
 
4488
- var script$12 = {
4494
+ var script$13 = {
4489
4495
  pubParentName: 'w-buttonbar',
4490
- mixins: [script$1h],
4496
+ mixins: [script$1i],
4491
4497
  props: ['text', 'icon', 'focusIcon', 'face', 'target', 'closable', 'dropToggle', 'loading', 'disabled', 'vertical', 'hoverShowDrop', 'dropProps', 'dropIcon', 'showDropIcon'],
4492
4498
  inject: ['providePubParent', 'provideMenu_w'],
4493
4499
  emits: ['click:close', 'dropClose'],
@@ -4583,7 +4589,7 @@ var script$12 = {
4583
4589
  if (this.x.loading) {
4584
4590
  r.push(h('div', {
4585
4591
  class: 'w-button-loading f-abs-full f-flex-center'
4586
- }, h(script$13, {
4592
+ }, h(script$14, {
4587
4593
  src: '#f-svg-loading'
4588
4594
  })));
4589
4595
  }
@@ -4598,7 +4604,7 @@ var script$12 = {
4598
4604
  }, h('span', {class: 'w-button-text-line f-line-1', title}, t)));
4599
4605
  }
4600
4606
  if (this.isMore && this.x.showDropIcon) {
4601
- r.push(h(script$13, {
4607
+ r.push(h(script$14, {
4602
4608
  class: 'w-button-more f-flex-center f-height',
4603
4609
  src: this.x.dropIcon || '.f-i .f-i-caret-down'
4604
4610
  }));
@@ -4616,7 +4622,7 @@ var script$12 = {
4616
4622
  class: 'w-button-main f-oh f-height',
4617
4623
  ...(this.isCombo && !this.isDisabled && this.mouses),
4618
4624
  }, r),
4619
- this.isCombo && h(script$13, {
4625
+ this.isCombo && h(script$14, {
4620
4626
  class: 'w-button-drop f-flex-center f-height',
4621
4627
  src: this.x.dropIcon || '.f-i .f-i-caret-down',
4622
4628
  ...(!this.isDisabled && this.mouses),
@@ -4667,11 +4673,11 @@ var script$12 = {
4667
4673
  }
4668
4674
  };
4669
4675
 
4670
- script$12.__file = "src/widgets/ButtonAbs.vue";
4676
+ script$13.__file = "src/widgets/ButtonAbs.vue";
4671
4677
 
4672
- var script$11 = {
4678
+ var script$12 = {
4673
4679
  name: 'w-menubutton',
4674
- mixins: [script$12],
4680
+ mixins: [script$13],
4675
4681
  methods: {
4676
4682
  ajax(...args) {
4677
4683
  return this.parentMenu.rootCommander.ajax(...args)
@@ -4734,7 +4740,7 @@ var script$11 = {
4734
4740
  onclick: this.clickClose
4735
4741
  })));
4736
4742
  }
4737
- r.push(h(script$13, {
4743
+ r.push(h(script$14, {
4738
4744
  class: 'w-menubutton-drop f-flex-center f-height',
4739
4745
  src: this.isMore ? (this.x.dropIcon || '.f-i .f-i-caret-right') : ''
4740
4746
  }));
@@ -4786,11 +4792,11 @@ var script$11 = {
4786
4792
  },
4787
4793
  };
4788
4794
 
4789
- script$11.__file = "src/widgets/MenuButton.vue";
4795
+ script$12.__file = "src/widgets/MenuButton.vue";
4790
4796
 
4791
- var script$10 = {
4797
+ var script$11 = {
4792
4798
  name: 'w-button',
4793
- mixins: [script$12],
4799
+ mixins: [script$13],
4794
4800
  props: ['autoMenuButton'],
4795
4801
  methods: {
4796
4802
  x_default() {
@@ -4802,14 +4808,14 @@ var script$10 = {
4802
4808
  },
4803
4809
  render() {
4804
4810
  if (this.provideMenu_w && this.x.autoMenuButton) {
4805
- return h(script$11, this.$props, this.$slots)
4811
+ return h(script$12, this.$props, this.$slots)
4806
4812
  } else {
4807
4813
  return this.html()
4808
4814
  }
4809
4815
  }
4810
4816
  };
4811
4817
 
4812
- script$10.__file = "src/widgets/Button.vue";
4818
+ script$11.__file = "src/widgets/Button.vue";
4813
4819
 
4814
4820
  let inst = null;
4815
4821
 
@@ -4824,9 +4830,9 @@ let inst = null;
4824
4830
  return inst && (ctx.hasBubble(inst.context) || inst.hasBubble(ctx))
4825
4831
  }
4826
4832
 
4827
- var script$$ = {
4833
+ var script$10 = {
4828
4834
  name: 'w-menu',
4829
- mixins: [script$1a],
4835
+ mixins: [script$1b],
4830
4836
  provide() {
4831
4837
  return {
4832
4838
  provideMenu_w: this
@@ -4902,7 +4908,7 @@ let inst = null;
4902
4908
  }, h('i', {
4903
4909
  class: 'f-i f-i-caret-up'
4904
4910
  })),
4905
- h(script$1d, {
4911
+ h(script$1e, {
4906
4912
  class: 'w-menu-bbr',
4907
4913
  height: '*',
4908
4914
  ref: 'bbr',
@@ -4957,11 +4963,11 @@ let inst = null;
4957
4963
  }
4958
4964
  };
4959
4965
 
4960
- script$$.__file = "src/widgets/Menu.vue";
4966
+ script$10.__file = "src/widgets/Menu.vue";
4961
4967
 
4962
- var script$_ = {
4968
+ var script$$ = {
4963
4969
  name: 'w-loading',
4964
- mixins: [script$1a],
4970
+ mixins: [script$1b],
4965
4971
  props: ['text', 'icon'],
4966
4972
  methods: {
4967
4973
  x_default() {
@@ -4970,7 +4976,7 @@ var script$_ = {
4970
4976
  }
4971
4977
  },
4972
4978
  html_slots() {
4973
- return h(script$13, {
4979
+ return h(script$14, {
4974
4980
  src: this.x.icon !== undefined ? this.x.icon : '#f-svg-loading',
4975
4981
  text: this.x.text !== undefined ? this.x.text : $$1.loc.loading
4976
4982
  })
@@ -4983,11 +4989,11 @@ var script$_ = {
4983
4989
  }
4984
4990
  };
4985
4991
 
4986
- script$_.__file = "src/widgets/Loading.vue";
4992
+ script$$.__file = "src/widgets/Loading.vue";
4987
4993
 
4988
- var script$Z = {
4994
+ var script$_ = {
4989
4995
  name: 'w-table',
4990
- mixins: [script$1h],
4996
+ mixins: [script$1i],
4991
4997
  props: ['face', 'scroll-x', 'scroll-y'],
4992
4998
  provide() {
4993
4999
  return {
@@ -5064,22 +5070,22 @@ var script$Z = {
5064
5070
  }
5065
5071
  };
5066
5072
 
5067
- script$Z.__file = "src/widgets/Table.vue";
5073
+ script$_.__file = "src/widgets/Table.vue";
5068
5074
 
5069
- var script$Y = {
5075
+ var script$Z = {
5070
5076
  name: 'w-columns'
5071
5077
  };
5072
5078
 
5073
- script$Y.__file = "src/widgets/TableColumns.vue";
5079
+ script$Z.__file = "src/widgets/TableColumns.vue";
5074
5080
 
5075
- var script$X = {
5081
+ var script$Y = {
5076
5082
  name: 'w-column',
5077
5083
  props: ['width', 'minWidth'],
5078
5084
  };
5079
5085
 
5080
- script$X.__file = "src/widgets/TableColumn.vue";
5086
+ script$Y.__file = "src/widgets/TableColumn.vue";
5081
5087
 
5082
- var script$W = {
5088
+ var script$X = {
5083
5089
  props: ['pub', 'current'],
5084
5090
  provide() {
5085
5091
  return {
@@ -5110,21 +5116,21 @@ var script$W = {
5110
5116
  }
5111
5117
  };
5112
5118
 
5113
- script$W.__file = "src/widgets/PubParent.vue";
5119
+ script$X.__file = "src/widgets/PubParent.vue";
5114
5120
 
5115
5121
  function render$5(_ctx, _cache) {
5116
5122
  return renderSlot(_ctx.$slots, "default")
5117
5123
  }
5118
5124
 
5119
- const script$V = {};
5125
+ const script$W = {};
5120
5126
 
5121
5127
 
5122
- script$V.render = render$5;
5123
- script$V.__file = "src/widgets/SlotDefault.vue";
5128
+ script$W.render = render$5;
5129
+ script$W.__file = "src/widgets/SlotDefault.vue";
5124
5130
 
5125
- var script$U = {
5131
+ var script$V = {
5126
5132
  name: 'w-thead',
5127
- mixins: [script$1h, script$W],
5133
+ mixins: [script$1i, script$X],
5128
5134
  props: ['br', 'sort'],
5129
5135
  inject: ['_provideTable'],
5130
5136
  provide() {
@@ -5161,7 +5167,7 @@ var script$U = {
5161
5167
  return t
5162
5168
  });
5163
5169
  if (key) {
5164
- return h(script$V, {key}, {default: () => row})
5170
+ return h(script$W, {key}, {default: () => row})
5165
5171
  } else {
5166
5172
  return row
5167
5173
  }
@@ -5217,11 +5223,11 @@ var script$U = {
5217
5223
  }
5218
5224
  };
5219
5225
 
5220
- script$U.__file = "src/widgets/TableTHead.vue";
5226
+ script$V.__file = "src/widgets/TableTHead.vue";
5221
5227
 
5222
- var script$T = {
5228
+ var script$U = {
5223
5229
  name: 'w-tbody',
5224
- mixins: [script$U, script$1g],
5230
+ mixins: [script$V, script$1h],
5225
5231
  inject: ['_provideTable'],
5226
5232
  props: ['children'],
5227
5233
  provide() {
@@ -5289,12 +5295,12 @@ var script$T = {
5289
5295
  }
5290
5296
  };
5291
5297
 
5292
- script$T.__file = "src/widgets/TableTBody.vue";
5298
+ script$U.__file = "src/widgets/TableTBody.vue";
5293
5299
 
5294
- var script$S = {
5300
+ var script$T = {
5295
5301
  name: 'w-tr',
5296
5302
  pubParentName: 'w-tbody,w-thead',
5297
- mixins: [script$1h, script$1n],
5303
+ mixins: [script$1i, script$1o],
5298
5304
  props: ['rowIndex', 'expanded', 'children'],
5299
5305
  inject: ['_provideTable', 'providePubParent', 'provideInBody', '_provideTBody', 'provideLevel', 'provideParentTR'],
5300
5306
  provide() {
@@ -5378,7 +5384,7 @@ var script$S = {
5378
5384
  }
5379
5385
  }
5380
5386
  if (key) {
5381
- return h(script$V, {key}, {default: () => row})
5387
+ return h(script$W, {key}, {default: () => row})
5382
5388
  } else {
5383
5389
  return row
5384
5390
  }
@@ -5422,9 +5428,9 @@ var script$S = {
5422
5428
 
5423
5429
  };
5424
5430
 
5425
- script$S.__file = "src/widgets/TableTR.vue";
5431
+ script$T.__file = "src/widgets/TableTR.vue";
5426
5432
 
5427
- var script$R = {
5433
+ var script$S = {
5428
5434
  name: 'w-td',
5429
5435
  props: ['colspan', 'rowspan', 'align', 'valign', 'data'],
5430
5436
  inject: ['_provideTable', 'provideInBody'],
@@ -5461,11 +5467,11 @@ var script$R = {
5461
5467
  }
5462
5468
  };
5463
5469
 
5464
- script$R.__file = "src/widgets/TableTD.vue";
5470
+ script$S.__file = "src/widgets/TableTD.vue";
5465
5471
 
5466
- var script$Q = {
5472
+ var script$R = {
5467
5473
  name: 'w-th',
5468
- mixins: [script$R, script$1h],
5474
+ mixins: [script$S, script$1i],
5469
5475
  props: ['sortable', 'sortOrders', 'sortOrderDefault'],
5470
5476
  inject: ['_provideThead'],
5471
5477
  emits: ['click:sort'],
@@ -5500,7 +5506,7 @@ var script$Q = {
5500
5506
  this.$emit('click:sort', e, o);
5501
5507
  },
5502
5508
  html_slots() {
5503
- return h(script$1e, {class: 'w-th-wrap', valign: 'middle', align: this.align || this.col.align}, {default: () => [
5509
+ return h(script$1f, {class: 'w-th-wrap', valign: 'middle', align: this.align || this.col.align}, {default: () => [
5504
5510
  h('div', {class: 'w-th-title'}, this.$slots),
5505
5511
  this.x.sortable ? h('div', {class: 'w-th-sort f-flex-column f-flex-center f-oh'}, [
5506
5512
  h('i', {class: 'f-i f-i-caret-up f-oh w-th-sort-up', onClick: e => this.clickSort(e, 'asc')}),
@@ -5525,10 +5531,10 @@ var script$Q = {
5525
5531
  }
5526
5532
  };
5527
5533
 
5528
- script$Q.__file = "src/widgets/TableTH.vue";
5534
+ script$R.__file = "src/widgets/TableTH.vue";
5529
5535
 
5530
- var script$P = {
5531
- mixins: [script$1d],
5536
+ var script$Q = {
5537
+ mixins: [script$1e],
5532
5538
  emits: ['scroll'],
5533
5539
  methods: {
5534
5540
  onScroll(e) {
@@ -5537,7 +5543,7 @@ var script$P = {
5537
5543
  }
5538
5544
  };
5539
5545
 
5540
- script$P.__file = "src/widgets/TreeV2Wrap.vue";
5546
+ script$Q.__file = "src/widgets/TreeV2Wrap.vue";
5541
5547
 
5542
5548
  const _hoisted_1$6 = { class: "'w-table-v2-th-text f-line-1" };
5543
5549
  const _hoisted_2$6 = { class: "w-tree-loading w-table-v2-loading" };
@@ -5551,7 +5557,7 @@ const _hoisted_6$2 = { class: "'w-table-v2-td-text f-line-1" };
5551
5557
  name: 'w-table-v2'
5552
5558
  };
5553
5559
 
5554
- var script$O = /*#__PURE__*/Object.assign(__default__$1, {
5560
+ var script$P = /*#__PURE__*/Object.assign(__default__$1, {
5555
5561
  props: {
5556
5562
  alias: {
5557
5563
  type: Object,
@@ -5888,7 +5894,7 @@ return (_ctx, _cache) => {
5888
5894
  ]),
5889
5895
  _: 1 /* STABLE */
5890
5896
  }, 8 /* PROPS */, ["style"]),
5891
- createVNode(script$P, {
5897
+ createVNode(script$Q, {
5892
5898
  ref_key: "wrap",
5893
5899
  ref: wrap,
5894
5900
  height: "*",
@@ -5979,11 +5985,11 @@ return (_ctx, _cache) => {
5979
5985
 
5980
5986
  });
5981
5987
 
5982
- script$O.__file = "src/widgets/TableV2.vue";
5988
+ script$P.__file = "src/widgets/TableV2.vue";
5983
5989
 
5984
- var script$N = {
5990
+ var script$O = {
5985
5991
  name: 'w-grid',
5986
- mixins: [script$1g],
5992
+ mixins: [script$1h],
5987
5993
  props: ['columns', 'rows', 'gap', 'defaultColspan', 'face', 'labelWidth'],
5988
5994
  methods: {
5989
5995
  x_default() {
@@ -6025,13 +6031,13 @@ var script$N = {
6025
6031
  }
6026
6032
  };
6027
6033
 
6028
- script$N.__file = "src/widgets/Grid.vue";
6034
+ script$O.__file = "src/widgets/Grid.vue";
6029
6035
 
6030
- var script$M = {
6036
+ var script$N = {
6031
6037
  name: 'w-swiper-item',
6032
6038
  pubParentName: 'w-swiper',
6033
6039
  inject: ['providePubParent'],
6034
- mixins: [script$1h],
6040
+ mixins: [script$1i],
6035
6041
  props: ['lazy'],
6036
6042
  data() {
6037
6043
  return {
@@ -6064,11 +6070,11 @@ var script$M = {
6064
6070
  }
6065
6071
  };
6066
6072
 
6067
- script$M.__file = "src/widgets/SwiperItem.vue";
6073
+ script$N.__file = "src/widgets/SwiperItem.vue";
6068
6074
 
6069
- var script$L = {
6075
+ var script$M = {
6070
6076
  name: 'w-swiper',
6071
- mixins: [script$1h, script$W],
6077
+ mixins: [script$1i, script$X],
6072
6078
  props: ['arrow', 'indicatorDots', 'duration'],
6073
6079
  data() {
6074
6080
  return {
@@ -6159,11 +6165,11 @@ var script$L = {
6159
6165
  }
6160
6166
  };
6161
6167
 
6162
- script$L.__file = "src/widgets/Swiper.vue";
6168
+ script$M.__file = "src/widgets/Swiper.vue";
6163
6169
 
6164
- var script$K = {
6170
+ var script$L = {
6165
6171
  name: 'w-buttonbar',
6166
- mixins: [script$1e, script$W],
6172
+ mixins: [script$1f, script$X],
6167
6173
  props: ['vertical'],
6168
6174
  emits: ['click:item'],
6169
6175
  methods: {
@@ -6195,11 +6201,11 @@ var script$K = {
6195
6201
  }
6196
6202
  };
6197
6203
 
6198
- script$K.__file = "src/widgets/ButtonBar.vue";
6204
+ script$L.__file = "src/widgets/ButtonBar.vue";
6199
6205
 
6200
- var script$J = {
6206
+ var script$K = {
6201
6207
  name: 'w-tabbar',
6202
- mixins: [script$K],
6208
+ mixins: [script$L],
6203
6209
  props: ['vertical', 'arrow', 'quickCloseButton', 'flexSize', 'buttons'],
6204
6210
  emits: ['click:item', 'click:quickCloseButton'],
6205
6211
  data() {
@@ -6276,7 +6282,7 @@ var script$J = {
6276
6282
  },
6277
6283
  html_slots() {
6278
6284
  let group = h(TransitionGroup, {name: 'w-tabbar', onBeforeEnter: this.onBeforeEnter, onAfterEnter: this.onAfterEnter, onBeforeLeave: this.onBeforeLeave, onAfterLeave: this.onAfterLeave}, {default: () => this.buttons});
6279
- let gut = [h(this.x.vertical ? script$1d : script$1e, {ref: 'gut', width: '*', class: 'w-tabbar-gut', gap: this.x.gap, align: this.x.align, valign: this.x.valign}, {default: () => group})];
6285
+ 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})];
6280
6286
  if (this.x.arrow) {
6281
6287
  gut.unshift(h('div', {class: 'w-tabbar-arrow-start', onClick: () => this.clickArrow(-1)}, h('i', {class: 'f-i f-i-caret-left'})));
6282
6288
  gut.push(h('div', {class: 'w-tabbar-arrow-end', onClick: () => this.clickArrow(1)}, h('i', {class: 'f-i f-i-caret-right'})));
@@ -6284,7 +6290,7 @@ var script$J = {
6284
6290
  if (this.x.quickCloseButton) {
6285
6291
  let closeAllDisabled = !this.buttons.find(c => c.props.closable);
6286
6292
  if (this.buttons.length) {
6287
- gut.push(h(script$10, {
6293
+ gut.push(h(script$11, {
6288
6294
  ref: 'quickCloseButton',
6289
6295
  data: {isQuickCloseButton: true},
6290
6296
  showDropIcon: false,
@@ -6293,7 +6299,7 @@ var script$J = {
6293
6299
  onDropClose: this.onMouseleave
6294
6300
  }, {
6295
6301
  default: () => [
6296
- h(script$10, {text: '关闭全部标签', onClick: this.closeAll, disabled: closeAllDisabled})
6302
+ h(script$11, {text: '关闭全部标签', onClick: this.closeAll, disabled: closeAllDisabled})
6297
6303
  ]
6298
6304
  }));
6299
6305
  }
@@ -6398,12 +6404,12 @@ var script$J = {
6398
6404
  }
6399
6405
  };
6400
6406
 
6401
- script$J.__file = "src/widgets/TabBar.vue";
6407
+ script$K.__file = "src/widgets/TabBar.vue";
6402
6408
 
6403
- var script$I = {
6409
+ var script$J = {
6404
6410
  name: 'w-tabbutton',
6405
6411
  pubParentName: 'w-tabbar',
6406
- mixins: [script$10],
6412
+ mixins: [script$11],
6407
6413
  methods: {
6408
6414
  vis() {
6409
6415
  let add = [20, 20];
@@ -6423,11 +6429,11 @@ var script$I = {
6423
6429
  }
6424
6430
  };
6425
6431
 
6426
- script$I.__file = "src/widgets/TabButton.vue";
6432
+ script$J.__file = "src/widgets/TabButton.vue";
6427
6433
 
6428
- var script$H = {
6434
+ var script$I = {
6429
6435
  name: 'w-tabs',
6430
- mixins: [script$1h],
6436
+ mixins: [script$1i],
6431
6437
  props: ['current', 'position', 'gap', 'face', 'quickCloseButton', 'flexSize'],
6432
6438
  emits: ['click:quickCloseButton'],
6433
6439
  methods: {
@@ -6453,11 +6459,11 @@ var script$H = {
6453
6459
  if (!v.props || v.props.key == null) {
6454
6460
  $$1.lodash.set(v, 'props.key', i);
6455
6461
  }
6456
- buttons.push(h(script$I, v.props));
6457
- pages.push(h(script$M, {lazy: v.props.lazy == null ? true : v.props.lazy, key: v.props.key}, v.children));
6462
+ buttons.push(h(script$J, v.props));
6463
+ pages.push(h(script$N, {lazy: v.props.lazy == null ? true : v.props.lazy, key: v.props.key}, v.children));
6458
6464
  });
6459
6465
  return [
6460
- h(script$J, {
6466
+ h(script$K, {
6461
6467
  ref: 'tabBar',
6462
6468
  class: 'w-tabs-buttonbar',
6463
6469
  current: this.x.current,
@@ -6470,7 +6476,7 @@ var script$H = {
6470
6476
  'onClick:quickCloseButton': this.clickQuickCloseButton,
6471
6477
  buttons,
6472
6478
  }),
6473
- h(script$L, {class: 'w-tabs-swiper f-flex-1 f-oh', current: this.x.current}, {default: () => pages}),
6479
+ h(script$M, {class: 'w-tabs-swiper f-flex-1 f-oh', current: this.x.current}, {default: () => pages}),
6474
6480
  ]
6475
6481
  }
6476
6482
  },
@@ -6485,17 +6491,17 @@ var script$H = {
6485
6491
  }
6486
6492
  };
6487
6493
 
6488
- script$H.__file = "src/widgets/Tabs.vue";
6494
+ script$I.__file = "src/widgets/Tabs.vue";
6489
6495
 
6490
- var script$G = {
6496
+ var script$H = {
6491
6497
  name: 'w-tab',
6492
6498
  };
6493
6499
 
6494
- script$G.__file = "src/widgets/Tab.vue";
6500
+ script$H.__file = "src/widgets/Tab.vue";
6495
6501
 
6496
- var script$F = {
6502
+ var script$G = {
6497
6503
  name: 'w-album',
6498
- mixins: [script$1e, script$W],
6504
+ mixins: [script$1f, script$X],
6499
6505
  methods: {
6500
6506
  x_default() {
6501
6507
  return {
@@ -6512,11 +6518,11 @@ var script$F = {
6512
6518
  }
6513
6519
  };
6514
6520
 
6515
- script$F.__file = "src/widgets/Album.vue";
6521
+ script$G.__file = "src/widgets/Album.vue";
6516
6522
 
6517
- var script$E = {
6523
+ var script$F = {
6518
6524
  name: 'w-html',
6519
- mixins: [script$1h, script$1f],
6525
+ mixins: [script$1i, script$1g],
6520
6526
  props: ['line'],
6521
6527
  computed: {
6522
6528
  html_props() {
@@ -6535,11 +6541,11 @@ var script$E = {
6535
6541
  }
6536
6542
  };
6537
6543
 
6538
- script$E.__file = "src/widgets/Html.vue";
6544
+ script$F.__file = "src/widgets/Html.vue";
6539
6545
 
6540
- var script$D = {
6546
+ var script$E = {
6541
6547
  name: 'w-tree',
6542
- mixins: [script$1g, script$W, script$1n],
6548
+ mixins: [script$1h, script$X, script$1o],
6543
6549
  emits: ['click:item'],
6544
6550
  provide() {
6545
6551
  return {
@@ -6571,7 +6577,7 @@ var script$D = {
6571
6577
  const sl = this.slot('loading');
6572
6578
  r = sl && sl.length ? sl : h('div', {
6573
6579
  class: 'w-tree-loading'
6574
- }, h(script$13, {src: '#f-svg-loading-1', width: 28, height: 28}));
6580
+ }, h(script$14, {src: '#f-svg-loading-1', width: 28, height: 28}));
6575
6581
  } else {
6576
6582
  let chd = this.x.children;
6577
6583
  if (this.$slots.default) {
@@ -6585,7 +6591,7 @@ var script$D = {
6585
6591
  }
6586
6592
  }
6587
6593
  if (key) {
6588
- return h(script$V, {key}, {default: () => leaf})
6594
+ return h(script$W, {key}, {default: () => leaf})
6589
6595
  } else {
6590
6596
  return leaf
6591
6597
  }
@@ -6613,7 +6619,7 @@ var script$D = {
6613
6619
  }
6614
6620
  };
6615
6621
 
6616
- script$D.__file = "src/widgets/Tree.vue";
6622
+ script$E.__file = "src/widgets/Tree.vue";
6617
6623
 
6618
6624
  const _hoisted_1$5 = { class: "w-tree-loading w-tree-v2-loading" };
6619
6625
  const _hoisted_2$5 = ["onClick"];
@@ -6626,7 +6632,7 @@ const _hoisted_5$2 = ["title"];
6626
6632
  name: 'w-tree-v2'
6627
6633
  };
6628
6634
 
6629
- var script$C = /*#__PURE__*/Object.assign(__default__, {
6635
+ var script$D = /*#__PURE__*/Object.assign(__default__, {
6630
6636
  props: {
6631
6637
  alias: {
6632
6638
  type: Object,
@@ -6922,7 +6928,7 @@ const props = __props;
6922
6928
  return (_ctx, _cache) => {
6923
6929
  const _component_w_img = resolveComponent("w-img");
6924
6930
 
6925
- return (openBlock(), createBlock(script$P, {
6931
+ return (openBlock(), createBlock(script$Q, {
6926
6932
  ref_key: "root",
6927
6933
  ref: root,
6928
6934
  class: "w-tree w-tree-v2",
@@ -6989,11 +6995,11 @@ return (_ctx, _cache) => {
6989
6995
 
6990
6996
  });
6991
6997
 
6992
- script$C.__file = "src/widgets/TreeV2.vue";
6998
+ script$D.__file = "src/widgets/TreeV2.vue";
6993
6999
 
6994
- var script$B = {
7000
+ var script$C = {
6995
7001
  name: 'w-label',
6996
- mixins: [script$1h, script$1f],
7002
+ mixins: [script$1i, script$1g],
6997
7003
  props: ['text', 'suffix', 'vertical'],
6998
7004
  methods: {
6999
7005
  html_slots() {
@@ -7015,10 +7021,10 @@ var script$B = {
7015
7021
  }
7016
7022
  };
7017
7023
 
7018
- script$B.__file = "src/widgets/Label.vue";
7024
+ script$C.__file = "src/widgets/Label.vue";
7019
7025
 
7020
- var script$A = {
7021
- mixins: [script$1h, script$1f],
7026
+ var script$B = {
7027
+ mixins: [script$1i, script$1g],
7022
7028
  props: ['name', 'value', 'modelValue', 'placeholder', 'label', 'readonly', 'readonlyValidate', 'disabled', 'required',
7023
7029
  'validateDefault', 'validateHandler', 'inputWidth', 'inputHeight' ],
7024
7030
  emits: ['update:modelValue', 'change', 'blur', 'focus'],
@@ -7263,7 +7269,7 @@ var script$A = {
7263
7269
  if (this.x.label && typeof this.x.label === 'object') {
7264
7270
  const label = $$1.cloneDeep(this.x.label);
7265
7271
  if (label.width == null) delete label.width;
7266
- if (label.width != 0) return h(script$B, label)
7272
+ if (label.width != 0) return h(script$C, label)
7267
7273
  }
7268
7274
  },
7269
7275
  html_input() {
@@ -7468,14 +7474,14 @@ var script$A = {
7468
7474
  }
7469
7475
  };
7470
7476
 
7471
- script$A.__file = "src/widgets/FormBase.vue";
7477
+ script$B.__file = "src/widgets/FormBase.vue";
7472
7478
 
7473
7479
  const {leafSymbol: leafSymbol$1} = $$1.symbol;
7474
7480
 
7475
- var script$z = {
7481
+ var script$A = {
7476
7482
  name: 'w-checkbox',
7477
7483
  pubParentName: 'w-checkboxgroup',
7478
- mixins: [script$A],
7484
+ mixins: [script$B],
7479
7485
  props: ['text', 'checked', 'partialSubmit', 'minSize', 'maxSize'],
7480
7486
  inject: ['providePubParent', 'provideBoxParent'],
7481
7487
  emits: ['change', 'update:checked', 'click'],
@@ -7636,7 +7642,7 @@ const {leafSymbol: leafSymbol$1} = $$1.symbol;
7636
7642
  }, this.html_input())
7637
7643
  },
7638
7644
  html_target() {
7639
- return this.$slots.default ? h(script$1e, {
7645
+ return this.$slots.default ? h(script$1f, {
7640
7646
  class: this.$options.name + '-target',
7641
7647
  ref: 'target'
7642
7648
  }, this.$slots) : []
@@ -7721,13 +7727,13 @@ const {leafSymbol: leafSymbol$1} = $$1.symbol;
7721
7727
  },
7722
7728
  };
7723
7729
 
7724
- script$z.__file = "src/widgets/CheckBox.vue";
7730
+ script$A.__file = "src/widgets/CheckBox.vue";
7725
7731
 
7726
7732
  const {leafSymbol} = $$1.symbol;
7727
7733
 
7728
- var script$y = {
7734
+ var script$z = {
7729
7735
  name: 'w-triplebox',
7730
- mixins: [script$z],
7736
+ mixins: [script$A],
7731
7737
  props: ['all'],
7732
7738
  created() {
7733
7739
  if (this.provideBoxParent) {
@@ -7870,12 +7876,12 @@ const {leafSymbol} = $$1.symbol;
7870
7876
 
7871
7877
  };
7872
7878
 
7873
- script$y.__file = "src/widgets/TripleBox.vue";
7879
+ script$z.__file = "src/widgets/TripleBox.vue";
7874
7880
 
7875
- var script$x = {
7881
+ var script$y = {
7876
7882
  name: 'w-leaf',
7877
7883
  pubParentName: 'w-tree',
7878
- mixins: [script$1h, script$1n],
7884
+ mixins: [script$1i, script$1o],
7879
7885
  props: ['text', 'expanded', 'expandedIcon', 'collapsedIcon', 'icon', 'boxSync', 'src', 'disabled'],
7880
7886
  inject: ['providePubParent', 'provideLevel', 'provideParentLeaf', 'provideParentTR'],
7881
7887
  provide() {
@@ -7975,7 +7981,7 @@ var script$x = {
7975
7981
  let ico = this.isFolder() ? (exp ? this.x.expandedIcon : this.x.collapsedIcon) : this.x.icon;
7976
7982
  return h('div', mergeProps(this.html_attrs, this.html_props, this.$attrs), [
7977
7983
  this.loading ?
7978
- h(script$13, {
7984
+ h(script$14, {
7979
7985
  src: '#f-svg-loading',
7980
7986
  class: 'w-leaf-loading'
7981
7987
  }) :
@@ -7987,7 +7993,7 @@ var script$x = {
7987
7993
  }
7988
7994
  }),
7989
7995
  this.$slots.box && this.$slots.box(),
7990
- ico && h(script$13, {
7996
+ ico && h(script$14, {
7991
7997
  src: ico,
7992
7998
  class: 'w-leaf-icon'
7993
7999
  }),
@@ -8011,7 +8017,7 @@ var script$x = {
8011
8017
  }
8012
8018
  }
8013
8019
  if (key) {
8014
- return h(script$V, {key}, {default: () => leaf})
8020
+ return h(script$W, {key}, {default: () => leaf})
8015
8021
  } else {
8016
8022
  return leaf
8017
8023
  }
@@ -8069,11 +8075,11 @@ var script$x = {
8069
8075
 
8070
8076
  };
8071
8077
 
8072
- script$x.__file = "src/widgets/Leaf.vue";
8078
+ script$y.__file = "src/widgets/Leaf.vue";
8073
8079
 
8074
- var script$w = {
8080
+ var script$x = {
8075
8081
  name: 'w-pagebar',
8076
- mixins: [script$K],
8082
+ mixins: [script$L],
8077
8083
  emits: ['click:item'],
8078
8084
  props: ['limit', 'size', 'offset', 'buttonCount', 'noFirstLast', 'face', 'jump'],
8079
8085
  data() {
@@ -8125,13 +8131,13 @@ var script$w = {
8125
8131
  this.html_face_normal()
8126
8132
  },
8127
8133
  html_buttons() {
8128
- return [h(script$10, {
8134
+ return [h(script$11, {
8129
8135
  class: 'w-pagebar-button w-pagebar-prev',
8130
8136
  icon: '.f-i .f-i-angle-left',
8131
8137
  disabled: this.currentPage == 1,
8132
8138
  title: $$1.loc.page_text.prev,
8133
8139
  onclick: e => this.clickItem(e, this.currentPage - 1)
8134
- }), h(script$10, {
8140
+ }), h(script$11, {
8135
8141
  class: 'w-pagebar-button w-pagebar-next',
8136
8142
  icon: '.f-i .f-i-angle-right',
8137
8143
  disabled: this.currentPage == this.sumPage,
@@ -8142,7 +8148,7 @@ var script$w = {
8142
8148
  html_drop() {
8143
8149
  let s = [];
8144
8150
  if (this.x.buttonCount) {
8145
- s.push(h(script$10, {
8151
+ s.push(h(script$11, {
8146
8152
  class: 'w-pagebar-button w-pagebar-button-count w-pagebar-prev',
8147
8153
  ref: 'drop',
8148
8154
  text: this.currentPage + '/' + this.sumPage,
@@ -8151,8 +8157,8 @@ var script$w = {
8151
8157
  }
8152
8158
  if (this.showDrop) {
8153
8159
  let b = [];
8154
- for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$10, {text: i, onClick: e => this.clickItem(e, i)}));
8155
- s.push(h(script$$, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
8160
+ for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$11, {text: i, onClick: e => this.clickItem(e, i)}));
8161
+ s.push(h(script$10, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
8156
8162
  }
8157
8163
  return s
8158
8164
  },
@@ -8250,11 +8256,11 @@ var script$w = {
8250
8256
  }
8251
8257
  };
8252
8258
 
8253
- script$w.__file = "src/widgets/PageBar.vue";
8259
+ script$x.__file = "src/widgets/PageBar.vue";
8254
8260
 
8255
- var script$v = {
8261
+ var script$w = {
8256
8262
  name: 'w-split',
8257
- mixins: [script$1h],
8263
+ mixins: [script$1i],
8258
8264
  props: ['collapsedIcon', 'expandedIcon', 'movable', 'range', 'toNext', 'expanded'],
8259
8265
  inject: ['provideLayout'],
8260
8266
  created() {
@@ -8351,11 +8357,11 @@ var script$v = {
8351
8357
  }
8352
8358
  };
8353
8359
 
8354
- script$v.__file = "src/widgets/Split.vue";
8360
+ script$w.__file = "src/widgets/Split.vue";
8355
8361
 
8356
- var script$u = {
8362
+ var script$v = {
8357
8363
  name: 'w-toggle',
8358
- mixins: [script$1h, script$1f],
8364
+ mixins: [script$1i, script$1g],
8359
8365
  props: ['collapsedIcon', 'expandedIcon', 'expanded', 'align', 'valign'],
8360
8366
  methods: {
8361
8367
  x_default() {
@@ -8372,7 +8378,7 @@ var script$u = {
8372
8378
  html_slots() {
8373
8379
  let exp = this.x.expanded;
8374
8380
  let ico = exp ? this.x.expandedIcon : this.x.collapsedIcon;
8375
- return [ico && h(script$13, {
8381
+ return [ico && h(script$14, {
8376
8382
  src: ico,
8377
8383
  class: 'w-toggle-icon',
8378
8384
  }), h('div', {class: 'w-toggle-main'}, this.$slots.default())]
@@ -8399,11 +8405,11 @@ var script$u = {
8399
8405
  }
8400
8406
  };
8401
8407
 
8402
- script$u.__file = "src/widgets/Toggle.vue";
8408
+ script$v.__file = "src/widgets/Toggle.vue";
8403
8409
 
8404
- var script$t = {
8410
+ var script$u = {
8405
8411
  name: 'w-video',
8406
- mixins: [script$1h],
8412
+ mixins: [script$1i],
8407
8413
  props: ['src', 'poster'],
8408
8414
  data() {
8409
8415
  return {
@@ -8451,11 +8457,11 @@ var script$t = {
8451
8457
 
8452
8458
  };
8453
8459
 
8454
- script$t.__file = "src/widgets/Video.vue";
8460
+ script$u.__file = "src/widgets/Video.vue";
8455
8461
 
8456
- var script$s = {
8462
+ var script$t = {
8457
8463
  name: 'w-progress',
8458
- mixins: [script$1h],
8464
+ mixins: [script$1i],
8459
8465
  props: ['percent', 'range', 'text'],
8460
8466
  methods: {
8461
8467
  html_slots() {
@@ -8496,11 +8502,11 @@ var script$s = {
8496
8502
  }
8497
8503
  };
8498
8504
 
8499
- script$s.__file = "src/widgets/Progress.vue";
8505
+ script$t.__file = "src/widgets/Progress.vue";
8500
8506
 
8501
- var script$r = {
8507
+ var script$s = {
8502
8508
  name: 'w-calendar',
8503
- mixins: [script$1h],
8509
+ mixins: [script$1i],
8504
8510
  emits: ['click:item', 'change'],
8505
8511
  props: ['value', 'minValue', 'maxValue', 'current', 'pad', 'face', 'format', 'success', 'cg', 'start',
8506
8512
  'enableHour', 'enableMinute', 'enableSecond', 'defaultHour', 'defaultMinute', 'defaultSecond'
@@ -9267,12 +9273,12 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
9267
9273
  }, 16 /* FULL_PROPS */, ["class"]))
9268
9274
  }
9269
9275
 
9270
- script$r.render = render$4;
9271
- script$r.__file = "src/widgets/Calendar.vue";
9276
+ script$s.render = render$4;
9277
+ script$s.__file = "src/widgets/Calendar.vue";
9272
9278
 
9273
- var script$q = {
9279
+ var script$r = {
9274
9280
  name: 'w-timeline',
9275
- mixins: [script$1g, script$W],
9281
+ mixins: [script$1h, script$X],
9276
9282
  props: ['face', 'vertical'],
9277
9283
  methods: {
9278
9284
  indent() {
@@ -9422,12 +9428,12 @@ var script$q = {
9422
9428
  }
9423
9429
  };
9424
9430
 
9425
- script$q.__file = "src/widgets/Timeline.vue";
9431
+ script$r.__file = "src/widgets/Timeline.vue";
9426
9432
 
9427
- var script$p = {
9433
+ var script$q = {
9428
9434
  name: 'w-timeline-item',
9429
9435
  pubParentName: 'w-timeline',
9430
- mixins: [script$1h],
9436
+ mixins: [script$1i],
9431
9437
  inject: ['providePubParent'],
9432
9438
  props: ['position', 'index', 'align', 'lineColor'],
9433
9439
  watch: {
@@ -9466,11 +9472,11 @@ var script$p = {
9466
9472
  }
9467
9473
  };
9468
9474
 
9469
- script$p.__file = "src/widgets/TimelineItem.vue";
9475
+ script$q.__file = "src/widgets/TimelineItem.vue";
9470
9476
 
9471
- var script$o = {
9477
+ var script$p = {
9472
9478
  name: 'w-slidepicker',
9473
- mixins: [script$1h],
9479
+ mixins: [script$1i],
9474
9480
  provide() {
9475
9481
  return {
9476
9482
  provideOptionParent: this,
@@ -9696,12 +9702,12 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
9696
9702
  ], 16 /* FULL_PROPS */))
9697
9703
  }
9698
9704
 
9699
- script$o.render = render$3;
9700
- script$o.__file = "src/widgets/SlidePicker.vue";
9705
+ script$p.render = render$3;
9706
+ script$p.__file = "src/widgets/SlidePicker.vue";
9701
9707
 
9702
- var script$n = {
9708
+ var script$o = {
9703
9709
  name: 'w-hidden',
9704
- mixins: [script$A],
9710
+ mixins: [script$B],
9705
9711
  methods: {
9706
9712
  isModified() {
9707
9713
  return false
@@ -9720,11 +9726,11 @@ var script$n = {
9720
9726
 
9721
9727
  };
9722
9728
 
9723
- script$n.__file = "src/widgets/Hidden.vue";
9729
+ script$o.__file = "src/widgets/Hidden.vue";
9724
9730
 
9725
- var script$m = {
9731
+ var script$n = {
9726
9732
  name: 'w-text',
9727
- mixins: [script$A],
9733
+ mixins: [script$B],
9728
9734
  props: ['minLength', 'maxLength', 'pattern', 'clearable', 'showCount'],
9729
9735
  emits: ['clear'],
9730
9736
  data() {
@@ -9776,11 +9782,11 @@ var script$m = {
9776
9782
  }
9777
9783
  };
9778
9784
 
9779
- script$m.__file = "src/widgets/Text.vue";
9785
+ script$n.__file = "src/widgets/Text.vue";
9780
9786
 
9781
- var script$l = {
9787
+ var script$m = {
9782
9788
  name: 'w-textarea',
9783
- mixins: [script$m],
9789
+ mixins: [script$n],
9784
9790
  methods: {
9785
9791
  html_slot_down() {
9786
9792
  const down = this.slot('down');
@@ -9813,11 +9819,11 @@ var script$l = {
9813
9819
  }
9814
9820
  };
9815
9821
 
9816
- script$l.__file = "src/widgets/Textarea.vue";
9822
+ script$m.__file = "src/widgets/Textarea.vue";
9817
9823
 
9818
- var script$k = {
9824
+ var script$l = {
9819
9825
  name: 'w-checkboxgroup',
9820
- mixins: [script$A],
9826
+ mixins: [script$B],
9821
9827
  props: ['modelValue', 'required', 'vertical', 'gap', 'minSize', 'maxSize'],
9822
9828
  provide() {
9823
9829
  return {
@@ -9851,19 +9857,19 @@ var script$k = {
9851
9857
  }
9852
9858
  };
9853
9859
 
9854
- script$k.__file = "src/widgets/CheckBoxGroup.vue";
9860
+ script$l.__file = "src/widgets/CheckBoxGroup.vue";
9855
9861
 
9856
- var script$j = {
9862
+ var script$k = {
9857
9863
  name: 'w-radiogroup',
9858
- mixins: [script$k]
9864
+ mixins: [script$l]
9859
9865
  };
9860
9866
 
9861
- script$j.__file = "src/widgets/RadioGroup.vue";
9867
+ script$k.__file = "src/widgets/RadioGroup.vue";
9862
9868
 
9863
- var script$i = {
9869
+ var script$j = {
9864
9870
  name: 'w-radio',
9865
9871
  pubParentName: 'w-radiogroup',
9866
- mixins: [script$z],
9872
+ mixins: [script$A],
9867
9873
  methods: {
9868
9874
 
9869
9875
  },
@@ -9890,12 +9896,12 @@ var script$i = {
9890
9896
  }
9891
9897
  };
9892
9898
 
9893
- script$i.__file = "src/widgets/Radio.vue";
9899
+ script$j.__file = "src/widgets/Radio.vue";
9894
9900
 
9895
- var script$h = {
9901
+ var script$i = {
9896
9902
  name: 'w-switch',
9897
9903
  pubParentName: 'w-checkboxgroup',
9898
- mixins: [script$A],
9904
+ mixins: [script$B],
9899
9905
  props: ['checkedText', 'uncheckedText', 'checkedValue', 'uncheckedValue'],
9900
9906
  inject: ['providePubParent'],
9901
9907
  methods: {
@@ -9943,7 +9949,7 @@ var script$h = {
9943
9949
  }
9944
9950
  };
9945
9951
 
9946
- script$h.__file = "src/widgets/Switch.vue";
9952
+ script$i.__file = "src/widgets/Switch.vue";
9947
9953
 
9948
9954
  const mimes = {
9949
9955
  ".323": "text/h323",
@@ -10474,9 +10480,9 @@ const suffixHooks = {
10474
10480
  'T' ? 1024 * 1024 * 1024 * 1024 : 1)
10475
10481
  };
10476
10482
 
10477
- var script$g = {
10483
+ var script$h = {
10478
10484
  name: 'w-fileupload',
10479
- mixins: [script$A],
10485
+ mixins: [script$B],
10480
10486
  props: ['uploadSrc', 'thumbnailSrc', 'downloadSrc', 'uploadLimit', 'sizeLimit', 'maxFileSize', 'minFileSize',
10481
10487
  'fileTypes', 'filter', 'success', 'error', 'itemWidth', 'align', 'vertical', 'gap', 'checkFile'
10482
10488
  ],
@@ -10680,7 +10686,7 @@ const suffixHooks = {
10680
10686
  onclick: e => this.remove(item)
10681
10687
  })];
10682
10688
  if (value && this.$slots.menu) {
10683
- button.push(h(script$$, null, {
10689
+ button.push(h(script$10, null, {
10684
10690
  target: () => h('div', {
10685
10691
  class: 'w-fileupload-value-menu f-i f-i-ellipsis',
10686
10692
  title: $$1.loc.more,
@@ -10732,14 +10738,14 @@ const suffixHooks = {
10732
10738
  },
10733
10739
  html_input_button() {
10734
10740
  return h('div', {}, [
10735
- h(script$K, {
10741
+ h(script$L, {
10736
10742
  ref: 'uploadbbr',
10737
10743
  class: 'w-fileupload-bbr',
10738
10744
  gap: 10,
10739
10745
  }, {
10740
10746
  default: () => [
10741
10747
  this.$slots.button ? this.$slots.button(this) :
10742
- h(script$10, {
10748
+ h(script$11, {
10743
10749
  text: '选择文件',
10744
10750
  icon: '.f-i .f-i-upload',
10745
10751
  class: 'w-fileupload-button',
@@ -10815,9 +10821,9 @@ const suffixHooks = {
10815
10821
  }
10816
10822
  };
10817
10823
 
10818
- script$g.__file = "src/widgets/FileUpload.vue";
10824
+ script$h.__file = "src/widgets/FileUpload.vue";
10819
10825
 
10820
- var script$f = {
10826
+ var script$g = {
10821
10827
  props: ['item'],
10822
10828
  inject: ['provideUpload'],
10823
10829
  data() {
@@ -10996,12 +11002,12 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
10996
11002
  ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "src", "data-url", "width", "img-width", "img-height", "tip", "onClick"]))
10997
11003
  }
10998
11004
 
10999
- script$f.render = render$2;
11000
- script$f.__file = "src/widgets/MediaUploadItem.vue";
11005
+ script$g.render = render$2;
11006
+ script$g.__file = "src/widgets/MediaUploadItem.vue";
11001
11007
 
11002
- var script$e = {
11008
+ var script$f = {
11003
11009
  name: 'w-mediaupload',
11004
- mixins: [script$g],
11010
+ mixins: [script$h],
11005
11011
  props: ['thumbnailWidth', 'thumbnailHeight', 'showFileName'],
11006
11012
  provide() {
11007
11013
  return {
@@ -11022,17 +11028,17 @@ var script$e = {
11022
11028
  return this.list.map((item, index) => {
11023
11029
  let key = item.value ? item.value.id : item.key;
11024
11030
  if (!key) {item.key = key = $$1.uid();}
11025
- return h(script$f, {item, index, key})
11031
+ return h(script$g, {item, index, key})
11026
11032
  })
11027
11033
  },
11028
11034
  html_input_button() {
11029
11035
  return h('div', {}, [
11030
- h(script$K, {
11036
+ h(script$L, {
11031
11037
  ref: 'uploadbbr',
11032
11038
  class: 'w-fileupload-bbr'
11033
11039
  }, {
11034
11040
  default: () => [
11035
- this.$slots.button ? this.$slots.button(this) : h(script$10, {
11041
+ this.$slots.button ? this.$slots.button(this) : h(script$11, {
11036
11042
  ref: 'uploadbutton',
11037
11043
  title: $$1.loc.form.choose_image,
11038
11044
  icon: '.f-i .f-i-plus',
@@ -11050,7 +11056,7 @@ var script$e = {
11050
11056
  ])
11051
11057
  },
11052
11058
  html_input() {
11053
- return this.html_input_form().concat(h(script$1e, {
11059
+ return this.html_input_form().concat(h(script$1f, {
11054
11060
  width: '*',
11055
11061
  class: 'w-mediaupload-list',
11056
11062
  align: this.x.align,
@@ -11069,11 +11075,11 @@ var script$e = {
11069
11075
  }
11070
11076
  };
11071
11077
 
11072
- script$e.__file = "src/widgets/MediaUpload.vue";
11078
+ script$f.__file = "src/widgets/MediaUpload.vue";
11073
11079
 
11074
- var script$d = {
11080
+ var script$e = {
11075
11081
  name: 'w-imageupload',
11076
- mixins: [script$e],
11082
+ mixins: [script$f],
11077
11083
  methods: {
11078
11084
  x_default() {
11079
11085
  return {
@@ -11092,11 +11098,11 @@ var script$d = {
11092
11098
  },
11093
11099
  };
11094
11100
 
11095
- script$d.__file = "src/widgets/ImageUpload.vue";
11101
+ script$e.__file = "src/widgets/ImageUpload.vue";
11096
11102
 
11097
- var script$c = {
11103
+ var script$d = {
11098
11104
  name: 'w-option',
11099
- mixins: [script$1h],
11105
+ mixins: [script$1i],
11100
11106
  props: ['value', 'text', 'disabled'],
11101
11107
  inject: ['provideOptionParent'],
11102
11108
  methods: {
@@ -11141,12 +11147,12 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
11141
11147
  ], 16 /* FULL_PROPS */, _hoisted_1$1))
11142
11148
  }
11143
11149
 
11144
- script$c.render = render$1;
11145
- script$c.__file = "src/widgets/Option.vue";
11150
+ script$d.render = render$1;
11151
+ script$d.__file = "src/widgets/Option.vue";
11146
11152
 
11147
- var script$b = {
11153
+ var script$c = {
11148
11154
  name: 'w-spinner',
11149
- mixins: [script$m],
11155
+ mixins: [script$n],
11150
11156
  inject: ['provideRangeParent'],
11151
11157
  props: ['decimal', 'format', 'showButton', 'buttonPosition', 'step', 'autoFix', 'compare', 'minValue', 'maxValue'],
11152
11158
  mounted() {
@@ -11353,11 +11359,11 @@ var script$b = {
11353
11359
  }
11354
11360
  };
11355
11361
 
11356
- script$b.__file = "src/widgets/Spinner.vue";
11362
+ script$c.__file = "src/widgets/Spinner.vue";
11357
11363
 
11358
- var script$a = {
11364
+ var script$b = {
11359
11365
  name: 'w-datepicker',
11360
- mixins: [script$m],
11366
+ mixins: [script$n],
11361
11367
  inject: ['provideRangeParent'],
11362
11368
  props: ['showButton', 'multiple', 'format', 'autoFix', 'compare', 'minValue', 'maxValue', 'dropProps', 'enableHour', 'enableMinute', 'enableSecond',
11363
11369
  'defaultHour', 'defaultMinute', 'defaultSecond'],
@@ -11508,8 +11514,8 @@ var script$a = {
11508
11514
  indent: 1
11509
11515
  };
11510
11516
  dropProps = this.mergeDropProps(dropProps);
11511
- r.push(h(script$1a, dropProps, {
11512
- default: () => h(script$r, {
11517
+ r.push(h(script$1b, dropProps, {
11518
+ default: () => h(script$s, {
11513
11519
  height: '*',
11514
11520
  pad: true,
11515
11521
  current: this.currentDate || this.x.modelValue || '',
@@ -11594,11 +11600,11 @@ var script$a = {
11594
11600
  }
11595
11601
  };
11596
11602
 
11597
- script$a.__file = "src/widgets/DatePicker.vue";
11603
+ script$b.__file = "src/widgets/DatePicker.vue";
11598
11604
 
11599
- var script$9 = {
11605
+ var script$a = {
11600
11606
  name: 'w-dropbox',
11601
- mixins: [script$A],
11607
+ mixins: [script$B],
11602
11608
  provide() {
11603
11609
  return {
11604
11610
  provideOptionParent: this,
@@ -11670,7 +11676,7 @@ var script$9 = {
11670
11676
  scrollView: '.z-on'
11671
11677
  };
11672
11678
  dropProps = this.mergeDropProps(dropProps);
11673
- r.push(h(script$1a, dropProps, this.$slots));
11679
+ r.push(h(script$1b, dropProps, this.$slots));
11674
11680
  }
11675
11681
  return r
11676
11682
  },
@@ -11713,11 +11719,11 @@ var script$9 = {
11713
11719
  }
11714
11720
  };
11715
11721
 
11716
- script$9.__file = "src/widgets/DropBox.vue";
11722
+ script$a.__file = "src/widgets/DropBox.vue";
11717
11723
 
11718
- var script$8 = {
11724
+ var script$9 = {
11719
11725
  name: 'w-pickbox',
11720
- mixins: [script$9],
11726
+ mixins: [script$a],
11721
11727
  props: ['picker'],
11722
11728
  methods: {
11723
11729
  // implement
@@ -11787,11 +11793,11 @@ var script$8 = {
11787
11793
  }
11788
11794
  };
11789
11795
 
11790
- script$8.__file = "src/widgets/PickBox.vue";
11796
+ script$9.__file = "src/widgets/PickBox.vue";
11791
11797
 
11792
- var script$7 = {
11798
+ var script$8 = {
11793
11799
  name: 'w-password',
11794
- mixins: [script$m],
11800
+ mixins: [script$n],
11795
11801
  props: ['compare'],
11796
11802
  methods: {
11797
11803
  getCompareError(v, r) {
@@ -11821,17 +11827,17 @@ var script$7 = {
11821
11827
  }
11822
11828
  };
11823
11829
 
11824
- script$7.__file = "src/widgets/Password.vue";
11830
+ script$8.__file = "src/widgets/Password.vue";
11825
11831
 
11826
- var script$6 = {
11832
+ var script$7 = {
11827
11833
  name: 'w-range',
11828
- mixins: [script$A],
11834
+ mixins: [script$B],
11829
11835
  provide() {
11830
11836
  return {
11831
11837
  provideRangeParent: this
11832
11838
  }
11833
11839
  },
11834
- props: ['compare'],
11840
+ props: ['mode'],
11835
11841
  methods: {
11836
11842
  getRangeError() {
11837
11843
  let f = this.forms();
@@ -11862,11 +11868,11 @@ var script$6 = {
11862
11868
  }
11863
11869
  };
11864
11870
 
11865
- script$6.__file = "src/widgets/Range.vue";
11871
+ script$7.__file = "src/widgets/Range.vue";
11866
11872
 
11867
- var script$5 = {
11873
+ var script$6 = {
11868
11874
  name: 'w-combobox',
11869
- mixins: [script$A],
11875
+ mixins: [script$B],
11870
11876
  props: ['multiple', 'strict', 'dropper', 'picker', 'dropProps', 'br', 'clearable'],
11871
11877
  emits: ['input', 'click:item', 'blur', 'focus', 'clear'],
11872
11878
  data() {
@@ -12104,7 +12110,7 @@ var script$5 = {
12104
12110
  scrollY: true
12105
12111
  };
12106
12112
  dropProps = this.mergeDropProps(dropProps);
12107
- r.push(h(script$1a, dropProps, this.$slots));
12113
+ r.push(h(script$1b, dropProps, this.$slots));
12108
12114
  }
12109
12115
  return [
12110
12116
  this.html_input_hidden(),
@@ -12191,11 +12197,11 @@ var script$5 = {
12191
12197
  }
12192
12198
  };
12193
12199
 
12194
- script$5.__file = "src/widgets/ComboBox.vue";
12200
+ script$6.__file = "src/widgets/ComboBox.vue";
12195
12201
 
12196
- var script$4 = {
12202
+ var script$5 = {
12197
12203
  name: 'w-linkbox',
12198
- mixins: [script$A],
12204
+ mixins: [script$B],
12199
12205
  props: ['multiple', 'picker', 'dropProps', 'separator', 'strict', 'br', 'clearable'],
12200
12206
  emits: ['input', 'dblclick:item', 'clear'],
12201
12207
  created() {
@@ -12576,7 +12582,7 @@ var script$4 = {
12576
12582
  scrollY: true
12577
12583
  };
12578
12584
  dropProps = this.mergeDropProps(dropProps);
12579
- r.push(h(script$1a, dropProps, this.$slots));
12585
+ r.push(h(script$1b, dropProps, this.$slots));
12580
12586
  }
12581
12587
  return [
12582
12588
  this.html_input_hidden(),
@@ -12653,9 +12659,9 @@ var script$4 = {
12653
12659
  }
12654
12660
  };
12655
12661
 
12656
- script$4.__file = "src/widgets/LinkBox.vue";
12662
+ script$5.__file = "src/widgets/LinkBox.vue";
12657
12663
 
12658
- var script$3 = {
12664
+ var script$4 = {
12659
12665
  props: ['width', 'height', 'context'],
12660
12666
  data() {
12661
12667
  return {
@@ -12733,14 +12739,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
12733
12739
  }, 8 /* PROPS */, ["width", "height", "context"]))
12734
12740
  }
12735
12741
 
12736
- script$3.render = render;
12737
- script$3.__file = "src/template/TemplateJigsaw.vue";
12742
+ script$4.render = render;
12743
+ script$4.__file = "src/template/TemplateJigsaw.vue";
12738
12744
 
12739
12745
  const init_text = $$1.loc.form.jigsaw_drag_right;
12740
12746
 
12741
- var script$2 = {
12747
+ var script$3 = {
12742
12748
  name: 'w-jigsaw',
12743
- mixins: [script$A],
12749
+ mixins: [script$B],
12744
12750
  emits: ['drop', 'click:refresh'],
12745
12751
  props: ['big', 'small', 'dropWidth'],
12746
12752
  data() {
@@ -12883,7 +12889,7 @@ const init_text = $$1.loc.form.jigsaw_drag_right;
12883
12889
  if (this.showDrop) {
12884
12890
  let width = Math.max($$1.number(this.x.dropWidth), $$1.bcr(this.el('form')).width);
12885
12891
  let height = Math.ceil(width * (this.x.big.height / this.x.big.width));
12886
- r.push(h(script$3, {
12892
+ r.push(h(script$4, {
12887
12893
  ownproperty: true,
12888
12894
  width,
12889
12895
  height,
@@ -12921,11 +12927,11 @@ const init_text = $$1.loc.form.jigsaw_drag_right;
12921
12927
  }
12922
12928
  };
12923
12929
 
12924
- script$2.__file = "src/widgets/Jigsaw.vue";
12930
+ script$3.__file = "src/widgets/Jigsaw.vue";
12925
12931
 
12926
- var script$1 = {
12932
+ var script$2 = {
12927
12933
  name: 'w-form',
12928
- mixins: [script$A],
12934
+ mixins: [script$B],
12929
12935
  props: ['vertical'],
12930
12936
  methods: {
12931
12937
  getInputValue(mv) {
@@ -12967,11 +12973,11 @@ var script$1 = {
12967
12973
  },
12968
12974
  };
12969
12975
 
12970
- script$1.__file = "src/widgets/Form.vue";
12976
+ script$2.__file = "src/widgets/Form.vue";
12971
12977
 
12972
- var script = {
12978
+ var script$1 = {
12973
12979
  name: 'w-rate',
12974
- mixins: [script$A],
12980
+ mixins: [script$B],
12975
12981
  props: ['allowHalf', 'cancelable', 'sum', 'count', 'text'],
12976
12982
  data() {
12977
12983
  return {
@@ -12995,7 +13001,7 @@ var script = {
12995
13001
  this.x.modelValue = this.x.cancelable && this.x.modelValue == i ? '' : i;
12996
13002
  },
12997
13003
  html_star(i) {
12998
- return h(script$13, {
13004
+ return h(script$14, {
12999
13005
  class: ['w-rate-star-icon', {'z-hv': this.hoverWrap && i <= this.hoverIndex, 'z-on': !this.hoverWrap && i <= this.x.modelValue}],
13000
13006
  src: '.f-i .f-i-star-full',
13001
13007
  onMouseenter: e => this.hoverItem(e, i),
@@ -13036,14 +13042,92 @@ var script = {
13036
13042
  }
13037
13043
  };
13038
13044
 
13039
- script.__file = "src/widgets/Rate.vue";
13045
+ script$1.__file = "src/widgets/Rate.vue";
13046
+
13047
+ var script = {
13048
+ name: 'w-slider',
13049
+ mixins: [script$B],
13050
+ props: ['minValue', 'maxValue'],
13051
+ emits: ['drop'],
13052
+ data() {
13053
+ return {
13054
+ grabbing: false
13055
+ }
13056
+ },
13057
+ methods: {
13058
+ x_default() {
13059
+ return {
13060
+ minValue: 0,
13061
+ maxValue: 100
13062
+ }
13063
+ },
13064
+ onmousedown(e) {
13065
+ const bar = $$1.bcr(this.$refs.form);
13066
+ let mv = $$1.number(this.x.modelValue);
13067
+ let dn_x = e.clientX;
13068
+ this.grabbing = true;
13069
+ $$1.moveup((e) => {
13070
+ let dist = e.clientX - dn_x;
13071
+ let v = mv + (dist / bar.width) * (this.x.maxValue - this.x.minValue);
13072
+ v = $$1.numRange(v, this.x.minValue, this.x.maxValue);
13073
+ this.val(v);
13074
+ }, (e) => {
13075
+ this.grabbing = false;
13076
+ this.trigger('drop', this.x.modelValue);
13077
+ }, e);
13078
+ },
13079
+ onclick(e) {
13080
+ if (e.target !== this.$refs.button) {
13081
+ const bar = $$1.bcr(this.$refs.form);
13082
+ let dist = e.clientX - bar.left;
13083
+ let v = (dist / (bar.width)) * (this.x.maxValue - this.x.minValue);
13084
+ v = $$1.numRange(v, this.x.minValue, this.x.maxValue);
13085
+ this.val(v);
13086
+ }
13087
+ },
13088
+ html_input() {
13089
+ return [
13090
+ this.html_input_hidden(),
13091
+ h('div', {
13092
+ onClick: this.onclick,
13093
+ class: ['w-slider-wrap'],
13094
+ },
13095
+ [
13096
+ h('div', {
13097
+ class: ['w-slider-progress'],
13098
+ }),
13099
+ h('div', {
13100
+ ref: 'button',
13101
+ onMousedown: this.onmousedown,
13102
+ class: ['w-slider-button', {'z-grabbing': this.grabbing}],
13103
+ })
13104
+ ]
13105
+ )
13106
+ ]
13107
+ },
13108
+ },
13109
+ computed: {
13110
+ percent() {
13111
+ let v = this.x.modelValue;
13112
+ if (!v) return 0
13113
+ return v
13114
+ },
13115
+ html_style() {
13116
+ return {
13117
+ '--w-slider-left': `${this.percent}%`
13118
+ }
13119
+ }
13120
+ }
13121
+ };
13122
+
13123
+ script.__file = "src/widgets/Slider.vue";
13040
13124
 
13041
13125
  const components = [
13042
- script$1i, script$1c, script$1a, script$18, script$16, script$14, script$$, script$_,
13043
- script$N, script$1d, script$1e, script$Z, script$Y, script$X, script$T, script$U, script$S, script$R, script$Q, script$O, script$L, script$M, script$H, script$G,
13044
- script$F, script$13, script$K, script$10, script$11, script$E, script$D, script$x, script$C, script$w, script$v, script$u, script$t, script$s, script$r, script$q, script$p, script$o,
13045
- 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,
13046
- script$b, script$a, script$9, script$8, script$7, script$6, script$5, script$4, script$2, script$1, script
13126
+ script$1j, script$1d, script$1b, script$19, script$17, script$15, script$10, script$$,
13127
+ script$O, script$1e, script$1f, script$_, script$Z, script$Y, script$U, script$V, script$T, script$S, script$R, script$P, script$M, script$N, script$I, script$H,
13128
+ script$G, script$14, script$L, script$11, script$12, script$F, script$E, script$y, script$D, script$x, script$w, script$v, script$u, script$t, script$s, script$r, script$q, script$p,
13129
+ script$C, script$o, script$n, script$m, script$l, script$A, script$k, script$j, script$z, script$i, script$h, script$f, script$e, script$d,
13130
+ script$c, script$b, script$a, script$9, script$8, script$7, script$6, script$5, script$3, script$2, script$1, script
13047
13131
  ];
13048
13132
 
13049
13133
  //每个组件从这里曝露,以便在某些特殊需求情境下,业务可以修改源码