dfish-widget 1.0.120 → 1.0.122

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
@@ -1844,7 +1844,7 @@ function directive(Vue) {
1844
1844
 
1845
1845
  const bindCache = {};
1846
1846
 
1847
- var script$1p = {
1847
+ var script$1q = {
1848
1848
  props: ['data', 'width', 'height', 'colspan', 'rowspan', 'ownproperty', 'orientUid'],
1849
1849
  data() {
1850
1850
  return {
@@ -2106,9 +2106,9 @@ const bindCache = {};
2106
2106
  }
2107
2107
  };
2108
2108
 
2109
- script$1p.__file = "src/widgets/WidgetAbs.vue";
2109
+ script$1q.__file = "src/widgets/WidgetAbs.vue";
2110
2110
 
2111
- var script$1o = {
2111
+ var script$1p = {
2112
2112
  props: ['src', 'children', 'parentItem'],
2113
2113
  data() {
2114
2114
  return {
@@ -2142,11 +2142,11 @@ var script$1o = {
2142
2142
  }
2143
2143
  };
2144
2144
 
2145
- script$1o.__file = "src/widgets/SrcParent.vue";
2145
+ script$1p.__file = "src/widgets/SrcParent.vue";
2146
2146
 
2147
- var script$1n = {
2147
+ var script$1o = {
2148
2148
  name: 'w-view',
2149
- mixins: [script$1o],
2149
+ mixins: [script$1p],
2150
2150
  provide() {
2151
2151
  return {
2152
2152
  provideView: this
@@ -2358,9 +2358,9 @@ var script$1n = {
2358
2358
  }
2359
2359
  };
2360
2360
 
2361
- script$1n.__file = "src/widgets/ViewAbs.vue";
2361
+ script$1o.__file = "src/widgets/ViewAbs.vue";
2362
2362
 
2363
- var script$1m = {
2363
+ var script$1n = {
2364
2364
  name: 'w-svg-loading'
2365
2365
  };
2366
2366
 
@@ -2390,10 +2390,10 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
2390
2390
  return (openBlock(), createElementBlock("svg", _hoisted_1$b, _hoisted_6$3))
2391
2391
  }
2392
2392
 
2393
- script$1m.render = render$8;
2394
- script$1m.__file = "src/assets/SVGIcon.vue";
2393
+ script$1n.render = render$8;
2394
+ script$1n.__file = "src/assets/SVGIcon.vue";
2395
2395
 
2396
- var script$1l = {
2396
+ var script$1m = {
2397
2397
  props: ['data'],
2398
2398
  data() {
2399
2399
  return {
@@ -2512,10 +2512,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2512
2512
  }))
2513
2513
  }
2514
2514
 
2515
- script$1l.render = render$7;
2516
- script$1l.__file = "src/template/TemplatePreviewMedia.vue";
2515
+ script$1m.render = render$7;
2516
+ script$1m.__file = "src/template/TemplatePreviewMedia.vue";
2517
2517
 
2518
- var script$1k = {
2518
+ var script$1l = {
2519
2519
  props: ['data'],
2520
2520
  data() {
2521
2521
  let f = this.data.format || 'yyyy-MM-dd';
@@ -3016,12 +3016,12 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
3016
3016
  }))
3017
3017
  }
3018
3018
 
3019
- script$1k.render = render$6;
3020
- script$1k.__file = "src/template/TemplateDateSheet.vue";
3019
+ script$1l.render = render$6;
3020
+ script$1l.__file = "src/template/TemplateDateSheet.vue";
3021
3021
 
3022
- var script$1j = {
3022
+ var script$1k = {
3023
3023
  name: 'w-docview',
3024
- mixins: [script$1p, script$1n],
3024
+ mixins: [script$1q, script$1o],
3025
3025
  provide() {
3026
3026
  return {
3027
3027
  providePubParent: null,
@@ -3043,15 +3043,15 @@ var script$1j = {
3043
3043
  return null
3044
3044
  },
3045
3045
  previewVideo(src) {
3046
- this.pop(script$1l, {data: {type: 'video', src}});
3046
+ this.pop(script$1m, {data: {type: 'video', src}});
3047
3047
  },
3048
3048
  previewImage(imgs, options) {
3049
- this.pop(script$1l, {data: {type: 'image', imgs, options}});
3049
+ this.pop(script$1m, {data: {type: 'image', imgs, options}});
3050
3050
  },
3051
3051
  //dateOptions: {value, format, minValue, maxValue, success}
3052
3052
  dateSheet(dateOptions, dialogOptions) {
3053
- this.pop(script$1k, {
3054
- template: script$1k,
3053
+ this.pop(script$1l, {
3054
+ template: script$1l,
3055
3055
  width: '100%',
3056
3056
  height: '55%',
3057
3057
  position: 'b',
@@ -3067,20 +3067,20 @@ var script$1j = {
3067
3067
  return [
3068
3068
  this.$slots.default && this.$slots.default(),
3069
3069
  this.html_pops(),
3070
- h(script$1m),
3070
+ h(script$1n),
3071
3071
  ]
3072
3072
  }
3073
3073
  }
3074
3074
  };
3075
3075
 
3076
- script$1j.__file = "src/widgets/DocView.vue";
3076
+ script$1k.__file = "src/widgets/DocView.vue";
3077
3077
 
3078
- var script$1i = {
3079
- mixins: [script$1p],
3078
+ var script$1j = {
3079
+ mixins: [script$1q],
3080
3080
  inject: ['provideView']
3081
3081
  };
3082
3082
 
3083
- script$1i.__file = "src/widgets/WidgetBase.vue";
3083
+ script$1j.__file = "src/widgets/WidgetBase.vue";
3084
3084
 
3085
3085
  const onScroll = function(e) {
3086
3086
  if (this.wScrollPercentX) {
@@ -3121,8 +3121,8 @@ const onScroll = function(e) {
3121
3121
  }, dnEv);
3122
3122
  };
3123
3123
 
3124
- var script$1h = {
3125
- mixins: [script$1i],
3124
+ var script$1i = {
3125
+ mixins: [script$1j],
3126
3126
  props: ['scrollX', 'scrollY', 'scrollView', 'scrollFlex'],
3127
3127
  emits: ['scroll'],
3128
3128
  data() {
@@ -3410,9 +3410,9 @@ const onScroll = function(e) {
3410
3410
  }
3411
3411
  };
3412
3412
 
3413
- script$1h.__file = "src/widgets/Scroll.vue";
3413
+ script$1i.__file = "src/widgets/Scroll.vue";
3414
3414
 
3415
- var script$1g = {
3415
+ var script$1h = {
3416
3416
  props: ['align', 'valign', 'gap'],
3417
3417
  computed: {
3418
3418
  dir() {
@@ -3427,11 +3427,11 @@ var script$1g = {
3427
3427
  }
3428
3428
  };
3429
3429
 
3430
- script$1g.__file = "src/widgets/AlignParent.vue";
3430
+ script$1h.__file = "src/widgets/AlignParent.vue";
3431
3431
 
3432
- var script$1f = {
3432
+ var script$1g = {
3433
3433
  name: 'w-horizontal',
3434
- mixins: [script$1h, script$1g],
3434
+ mixins: [script$1i, script$1h],
3435
3435
  props: ['br', 'reverse'],
3436
3436
  provide() {
3437
3437
  return {
@@ -3483,11 +3483,11 @@ var script$1f = {
3483
3483
  }
3484
3484
  };
3485
3485
 
3486
- script$1f.__file = "src/widgets/Horizontal.vue";
3486
+ script$1g.__file = "src/widgets/Horizontal.vue";
3487
3487
 
3488
- var script$1e = {
3488
+ var script$1f = {
3489
3489
  name: 'w-vertical',
3490
- mixins: [script$1f],
3490
+ mixins: [script$1g],
3491
3491
  computed: {
3492
3492
  dir() {
3493
3493
  return 'v'
@@ -3495,11 +3495,11 @@ var script$1e = {
3495
3495
  }
3496
3496
  };
3497
3497
 
3498
- script$1e.__file = "src/widgets/Vertical.vue";
3498
+ script$1f.__file = "src/widgets/Vertical.vue";
3499
3499
 
3500
- var script$1d = {
3500
+ var script$1e = {
3501
3501
  name: 'w-view',
3502
- mixins: [script$1e, script$1n],
3502
+ mixins: [script$1f, script$1o],
3503
3503
  inject: ['provideView'],
3504
3504
  methods: {
3505
3505
  html_slots() {
@@ -3516,9 +3516,9 @@ var script$1d = {
3516
3516
  }
3517
3517
  };
3518
3518
 
3519
- script$1d.__file = "src/widgets/View.vue";
3519
+ script$1e.__file = "src/widgets/View.vue";
3520
3520
 
3521
- var script$1c = {
3521
+ var script$1d = {
3522
3522
  __name: 'DialogTarget',
3523
3523
  setup(__props) {
3524
3524
 
@@ -3533,7 +3533,7 @@ return (_ctx, _cache) => {
3533
3533
 
3534
3534
  };
3535
3535
 
3536
- script$1c.__file = "src/widgets/DialogTarget.vue";
3536
+ script$1d.__file = "src/widgets/DialogTarget.vue";
3537
3537
 
3538
3538
  const O = {},
3539
3539
  T = true,
@@ -3550,9 +3550,9 @@ const O = {},
3550
3550
  return typeof a === 'string' && a.split(',').map(v => positionCodes[v] || v).join()
3551
3551
  };
3552
3552
 
3553
- var script$1b = {
3553
+ var script$1c = {
3554
3554
  name: 'w-dialog',
3555
- mixins: [script$1d],
3555
+ mixins: [script$1e],
3556
3556
  props: ['title', 'autoHide', 'context', 'prong', 'independent', 'timeout', 'cover', 'coverProps',
3557
3557
  'position', 'snap', 'indent', 'offsetRange', 'local', 'fullScreen', 'hoverShowDrop', 'visible',
3558
3558
  ...boundary
@@ -3715,10 +3715,11 @@ const O = {},
3715
3715
  setListenHide(a) {
3716
3716
  let d = this.x.hoverShowDrop;
3717
3717
  let n = a ? 'addEventListener' : 'removeEventListener';
3718
- let evs = $$1.br.mobile ? ['touchend'] : ['mousedown', $$1.br.firefox ? 'DOMMouseScroll' : 'mousewheel'];
3718
+ let wl = $$1.br.firefox ? 'DOMMouseScroll' : 'mousewheel';
3719
+ let evs = $$1.br.mobile ? ['touchend'] : ['mousedown', wl];
3719
3720
  evs.forEach(v => document[n](v, this.bind('listenHideClose', (e) => {
3720
3721
  let c;
3721
- if (this.x.visible !== false && (e.target.classList.contains('w-dialog-cover') || !(this.hasBubble(e.target) || (!this.x.independent && ((c = this.getCommander()).isWidget ? c.hasBubble(e.target) : c.contains(e.target)))))) {
3722
+ if (this.x.visible !== false && (e.target.classList.contains('w-dialog-cover') || e.type === wl || !(this.hasBubble(e.target) || (!this.x.independent && ((c = this.getCommander()).isWidget ? c.hasBubble(e.target) : c.contains(e.target)))))) {
3722
3723
  if (e.target.id == this.id + 'cvr') e.stopPropagation();
3723
3724
  this.close();
3724
3725
  }
@@ -3821,7 +3822,7 @@ const O = {},
3821
3822
  }
3822
3823
  let s = [cover, this.html_self(true)];
3823
3824
  let r = to ? h(Teleport, {to}, s) : s;
3824
- return this.slotTarget ? [r, h(script$1c, null, {default: () => [this.slotTarget()]})] : r
3825
+ return this.slotTarget ? [r, h(script$1d, null, {default: () => [this.slotTarget()]})] : r
3825
3826
  }
3826
3827
  },
3827
3828
  computed: {
@@ -3938,12 +3939,12 @@ const O = {},
3938
3939
  }
3939
3940
  };
3940
3941
 
3941
- script$1b.__file = "src/widgets/Dialog.vue";
3942
+ script$1c.__file = "src/widgets/Dialog.vue";
3942
3943
 
3943
3944
  const _hoisted_1$9 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
3944
3945
 
3945
3946
 
3946
- var script$1a = {
3947
+ var script$1b = {
3947
3948
  __name: 'TemplateAlert',
3948
3949
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
3949
3950
  emits: ['save', 'close'],
@@ -4076,11 +4077,11 @@ return (_ctx, _cache) => {
4076
4077
 
4077
4078
  };
4078
4079
 
4079
- script$1a.__file = "src/template/TemplateAlert.vue";
4080
+ script$1b.__file = "src/template/TemplateAlert.vue";
4080
4081
 
4081
- var script$19 = {
4082
+ var script$1a = {
4082
4083
  name: 'w-alert',
4083
- mixins: [script$1b],
4084
+ mixins: [script$1c],
4084
4085
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4085
4086
  methods: {
4086
4087
  x_default() {
@@ -4110,7 +4111,7 @@ var script$19 = {
4110
4111
  },
4111
4112
  html_slots_default() {
4112
4113
  return h(
4113
- script$1a,
4114
+ script$1b,
4114
4115
  {
4115
4116
  text: this.x.text,
4116
4117
  title: this.x.title,
@@ -4126,12 +4127,12 @@ var script$19 = {
4126
4127
  }
4127
4128
  };
4128
4129
 
4129
- script$19.__file = "src/widgets/Alert.vue";
4130
+ script$1a.__file = "src/widgets/Alert.vue";
4130
4131
 
4131
4132
  const _hoisted_1$8 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
4132
4133
 
4133
4134
 
4134
- var script$18 = {
4135
+ var script$19 = {
4135
4136
  __name: 'TemplateConfirm',
4136
4137
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
4137
4138
  emits: ['save', 'close'],
@@ -4271,11 +4272,11 @@ return (_ctx, _cache) => {
4271
4272
 
4272
4273
  };
4273
4274
 
4274
- script$18.__file = "src/template/TemplateConfirm.vue";
4275
+ script$19.__file = "src/template/TemplateConfirm.vue";
4275
4276
 
4276
- var script$17 = {
4277
+ var script$18 = {
4277
4278
  name: 'w-confirm',
4278
- mixins: [script$1b],
4279
+ mixins: [script$1c],
4279
4280
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4280
4281
  methods: {
4281
4282
  x_default() {
@@ -4305,7 +4306,7 @@ var script$17 = {
4305
4306
  },
4306
4307
  html_slots_default() {
4307
4308
  return h(
4308
- script$18,
4309
+ script$19,
4309
4310
  {
4310
4311
  text: this.x.text,
4311
4312
  title: this.x.title,
@@ -4321,7 +4322,7 @@ var script$17 = {
4321
4322
  }
4322
4323
  };
4323
4324
 
4324
- script$17.__file = "src/widgets/Confirm.vue";
4325
+ script$18.__file = "src/widgets/Confirm.vue";
4325
4326
 
4326
4327
  const _hoisted_1$7 = { class: "w-tip-body" };
4327
4328
  const _hoisted_2$7 = {
@@ -4331,7 +4332,7 @@ const _hoisted_2$7 = {
4331
4332
  const _hoisted_3$5 = ["innerHTML"];
4332
4333
 
4333
4334
 
4334
- var script$16 = {
4335
+ var script$17 = {
4335
4336
  __name: 'TemplateTip',
4336
4337
  props: ['text', 'escape'],
4337
4338
  setup(__props) {
@@ -4355,7 +4356,7 @@ return (_ctx, _cache) => {
4355
4356
 
4356
4357
  };
4357
4358
 
4358
- script$16.__file = "src/template/TemplateTip.vue";
4359
+ script$17.__file = "src/template/TemplateTip.vue";
4359
4360
 
4360
4361
  let inst$1 = null;
4361
4362
  let tipCache = {
@@ -4363,9 +4364,9 @@ let inst$1 = null;
4363
4364
  list: []
4364
4365
  };
4365
4366
 
4366
- var script$15 = {
4367
+ var script$16 = {
4367
4368
  name: 'w-tip',
4368
- mixins: [script$1b],
4369
+ mixins: [script$1c],
4369
4370
  props: ['face', 'text', 'escape'],
4370
4371
  provide() {
4371
4372
  return {
@@ -4382,7 +4383,7 @@ let inst$1 = null;
4382
4383
  }
4383
4384
  },
4384
4385
  html_slots_default() {
4385
- return h(script$16, {text: this.x.text, escape: this.x.escape}, this.$slots)
4386
+ return h(script$17, {text: this.x.text, escape: this.x.escape}, this.$slots)
4386
4387
  },
4387
4388
  // implement
4388
4389
  setVisibleSub(a) {
@@ -4422,12 +4423,12 @@ let inst$1 = null;
4422
4423
  }
4423
4424
  };
4424
4425
 
4425
- script$15.__file = "src/widgets/Tip.vue";
4426
+ script$16.__file = "src/widgets/Tip.vue";
4426
4427
 
4427
- var script$14 = {
4428
+ var script$15 = {
4428
4429
  name: 'w-img',
4429
4430
  pubParentName: 'w-album',
4430
- mixins: [script$1i],
4431
+ mixins: [script$1j],
4431
4432
  inject: ['providePubParent'],
4432
4433
  props: ['src', 'text', 'square', 'imgWidth', 'imgHeight', 'dataUrl', 'vertical', 'disabled'],
4433
4434
  data() {
@@ -4473,7 +4474,7 @@ var script$14 = {
4473
4474
  class: 'w-img-cover f-abs-full'
4474
4475
  }, this.$slots.cover())
4475
4476
  ]),
4476
- cont && h(script$1e, {
4477
+ cont && h(script$1f, {
4477
4478
  class: 'w-img-description'
4478
4479
  }, cont)
4479
4480
  ]
@@ -4507,11 +4508,11 @@ var script$14 = {
4507
4508
  }
4508
4509
  };
4509
4510
 
4510
- script$14.__file = "src/widgets/Img.vue";
4511
+ script$15.__file = "src/widgets/Img.vue";
4511
4512
 
4512
- var script$13 = {
4513
+ var script$14 = {
4513
4514
  pubParentName: 'w-buttonbar',
4514
- mixins: [script$1i],
4515
+ mixins: [script$1j],
4515
4516
  props: ['text', 'icon', 'focusIcon', 'dropIcon', 'focusDropIcon', 'arrowIcon', 'face', 'target', 'closable', 'dropToggle', 'loading', 'disabled', 'vertical', 'hoverShowDrop', 'dropProps', 'showArrowIcon'],
4516
4517
  inject: ['providePubParent', 'provideMenu_w'],
4517
4518
  emits: ['click:close', 'dropClose'],
@@ -4607,7 +4608,7 @@ var script$13 = {
4607
4608
  if (this.x.loading) {
4608
4609
  r.push(h('div', {
4609
4610
  class: 'w-button-loading f-abs-full f-flex-center'
4610
- }, h(script$14, {
4611
+ }, h(script$15, {
4611
4612
  src: '#f-svg-loading'
4612
4613
  })));
4613
4614
  }
@@ -4625,7 +4626,7 @@ var script$13 = {
4625
4626
  }, h('span', {class: 'w-button-text-line f-line-1', title}, t)));
4626
4627
  }
4627
4628
  if (this.isMore && this.x.showArrowIcon) {
4628
- r.push(h(script$14, {
4629
+ r.push(h(script$15, {
4629
4630
  class: 'w-button-more f-flex-center f-height',
4630
4631
  src: this.x.arrowIcon || '.f-i .f-i-caret-down'
4631
4632
  }));
@@ -4643,7 +4644,7 @@ var script$13 = {
4643
4644
  class: 'w-button-main f-oh f-height',
4644
4645
  ...(this.isCombo && !this.isDisabled && this.mouses),
4645
4646
  }, r),
4646
- this.isCombo && h(script$14, {
4647
+ this.isCombo && h(script$15, {
4647
4648
  class: 'w-button-drop f-flex-center f-height',
4648
4649
  src: '.f-i .f-i-caret-down',
4649
4650
  ...(!this.isDisabled && this.mouses),
@@ -4694,11 +4695,11 @@ var script$13 = {
4694
4695
  }
4695
4696
  };
4696
4697
 
4697
- script$13.__file = "src/widgets/ButtonAbs.vue";
4698
+ script$14.__file = "src/widgets/ButtonAbs.vue";
4698
4699
 
4699
- var script$12 = {
4700
+ var script$13 = {
4700
4701
  name: 'w-menubutton',
4701
- mixins: [script$13],
4702
+ mixins: [script$14],
4702
4703
  methods: {
4703
4704
  ajax(...args) {
4704
4705
  return this.parentMenu.rootCommander.ajax(...args)
@@ -4761,7 +4762,7 @@ var script$12 = {
4761
4762
  onclick: this.clickClose
4762
4763
  })));
4763
4764
  }
4764
- r.push(h(script$14, {
4765
+ r.push(h(script$15, {
4765
4766
  class: 'w-menubutton-drop f-flex-center f-height',
4766
4767
  src: this.isMore ? (this.x.arrowIcon || '.f-i .f-i-caret-right') : ''
4767
4768
  }));
@@ -4813,11 +4814,11 @@ var script$12 = {
4813
4814
  },
4814
4815
  };
4815
4816
 
4816
- script$12.__file = "src/widgets/MenuButton.vue";
4817
+ script$13.__file = "src/widgets/MenuButton.vue";
4817
4818
 
4818
- var script$11 = {
4819
+ var script$12 = {
4819
4820
  name: 'w-button',
4820
- mixins: [script$13],
4821
+ mixins: [script$14],
4821
4822
  props: ['autoMenuButton'],
4822
4823
  methods: {
4823
4824
  x_default() {
@@ -4829,14 +4830,14 @@ var script$11 = {
4829
4830
  },
4830
4831
  render() {
4831
4832
  if (this.provideMenu_w && this.x.autoMenuButton) {
4832
- return h(script$12, this.$props, this.$slots)
4833
+ return h(script$13, this.$props, this.$slots)
4833
4834
  } else {
4834
4835
  return this.html()
4835
4836
  }
4836
4837
  }
4837
4838
  };
4838
4839
 
4839
- script$11.__file = "src/widgets/Button.vue";
4840
+ script$12.__file = "src/widgets/Button.vue";
4840
4841
 
4841
4842
  let inst = null;
4842
4843
 
@@ -4851,9 +4852,9 @@ let inst = null;
4851
4852
  return inst && (ctx.hasBubble(inst.context) || inst.hasBubble(ctx))
4852
4853
  }
4853
4854
 
4854
- var script$10 = {
4855
+ var script$11 = {
4855
4856
  name: 'w-menu',
4856
- mixins: [script$1b],
4857
+ mixins: [script$1c],
4857
4858
  provide() {
4858
4859
  return {
4859
4860
  provideMenu_w: this
@@ -4929,7 +4930,7 @@ let inst = null;
4929
4930
  }, h('i', {
4930
4931
  class: 'f-i f-i-caret-up'
4931
4932
  })),
4932
- h(script$1e, {
4933
+ h(script$1f, {
4933
4934
  class: 'w-menu-bbr',
4934
4935
  height: '*',
4935
4936
  ref: 'bbr',
@@ -4984,11 +4985,11 @@ let inst = null;
4984
4985
  }
4985
4986
  };
4986
4987
 
4987
- script$10.__file = "src/widgets/Menu.vue";
4988
+ script$11.__file = "src/widgets/Menu.vue";
4988
4989
 
4989
- var script$$ = {
4990
+ var script$10 = {
4990
4991
  name: 'w-loading',
4991
- mixins: [script$1b],
4992
+ mixins: [script$1c],
4992
4993
  props: ['text', 'icon'],
4993
4994
  methods: {
4994
4995
  x_default() {
@@ -4997,7 +4998,7 @@ var script$$ = {
4997
4998
  }
4998
4999
  },
4999
5000
  html_slots() {
5000
- return h(script$14, {
5001
+ return h(script$15, {
5001
5002
  src: this.x.icon !== undefined ? this.x.icon : '#f-svg-loading',
5002
5003
  text: this.x.text !== undefined ? this.x.text : $$1.loc.loading
5003
5004
  })
@@ -5010,11 +5011,11 @@ var script$$ = {
5010
5011
  }
5011
5012
  };
5012
5013
 
5013
- script$$.__file = "src/widgets/Loading.vue";
5014
+ script$10.__file = "src/widgets/Loading.vue";
5014
5015
 
5015
- var script$_ = {
5016
+ var script$$ = {
5016
5017
  name: 'w-table',
5017
- mixins: [script$1i],
5018
+ mixins: [script$1j],
5018
5019
  props: ['face', 'scroll-x', 'scroll-y'],
5019
5020
  provide() {
5020
5021
  return {
@@ -5131,22 +5132,22 @@ var script$_ = {
5131
5132
  }
5132
5133
  };
5133
5134
 
5134
- script$_.__file = "src/widgets/Table.vue";
5135
+ script$$.__file = "src/widgets/Table.vue";
5135
5136
 
5136
- var script$Z = {
5137
+ var script$_ = {
5137
5138
  name: 'w-columns'
5138
5139
  };
5139
5140
 
5140
- script$Z.__file = "src/widgets/TableColumns.vue";
5141
+ script$_.__file = "src/widgets/TableColumns.vue";
5141
5142
 
5142
- var script$Y = {
5143
+ var script$Z = {
5143
5144
  name: 'w-column',
5144
5145
  props: ['width', 'minWidth'],
5145
5146
  };
5146
5147
 
5147
- script$Y.__file = "src/widgets/TableColumn.vue";
5148
+ script$Z.__file = "src/widgets/TableColumn.vue";
5148
5149
 
5149
- var script$X = {
5150
+ var script$Y = {
5150
5151
  props: ['pub', 'current'],
5151
5152
  provide() {
5152
5153
  return {
@@ -5177,21 +5178,21 @@ var script$X = {
5177
5178
  }
5178
5179
  };
5179
5180
 
5180
- script$X.__file = "src/widgets/PubParent.vue";
5181
+ script$Y.__file = "src/widgets/PubParent.vue";
5181
5182
 
5182
5183
  function render$5(_ctx, _cache) {
5183
5184
  return renderSlot(_ctx.$slots, "default")
5184
5185
  }
5185
5186
 
5186
- const script$W = {};
5187
+ const script$X = {};
5187
5188
 
5188
5189
 
5189
- script$W.render = render$5;
5190
- script$W.__file = "src/widgets/SlotDefault.vue";
5190
+ script$X.render = render$5;
5191
+ script$X.__file = "src/widgets/SlotDefault.vue";
5191
5192
 
5192
- var script$V = {
5193
+ var script$W = {
5193
5194
  name: 'w-thead',
5194
- mixins: [script$1i, script$X],
5195
+ mixins: [script$1j, script$Y],
5195
5196
  props: ['br', 'sort'],
5196
5197
  inject: ['_provideTable'],
5197
5198
  provide() {
@@ -5228,7 +5229,7 @@ var script$V = {
5228
5229
  return t
5229
5230
  });
5230
5231
  if (key) {
5231
- return h(script$W, {key}, {default: () => row})
5232
+ return h(script$X, {key}, {default: () => row})
5232
5233
  } else {
5233
5234
  return row
5234
5235
  }
@@ -5284,11 +5285,11 @@ var script$V = {
5284
5285
  }
5285
5286
  };
5286
5287
 
5287
- script$V.__file = "src/widgets/TableTHead.vue";
5288
+ script$W.__file = "src/widgets/TableTHead.vue";
5288
5289
 
5289
- var script$U = {
5290
+ var script$V = {
5290
5291
  name: 'w-tbody',
5291
- mixins: [script$V, script$1h],
5292
+ mixins: [script$W, script$1i],
5292
5293
  inject: ['_provideTable'],
5293
5294
  props: ['children'],
5294
5295
  provide() {
@@ -5356,12 +5357,12 @@ var script$U = {
5356
5357
  }
5357
5358
  };
5358
5359
 
5359
- script$U.__file = "src/widgets/TableTBody.vue";
5360
+ script$V.__file = "src/widgets/TableTBody.vue";
5360
5361
 
5361
- var script$T = {
5362
+ var script$U = {
5362
5363
  name: 'w-tr',
5363
5364
  pubParentName: 'w-tbody,w-thead',
5364
- mixins: [script$1i, script$1o],
5365
+ mixins: [script$1j, script$1p],
5365
5366
  props: ['rowIndex', 'expanded', 'children'],
5366
5367
  inject: ['_provideTable', 'providePubParent', 'provideInBody', '_provideTBody', 'provideLevel', 'provideParentTR'],
5367
5368
  provide() {
@@ -5445,7 +5446,7 @@ var script$T = {
5445
5446
  }
5446
5447
  }
5447
5448
  if (key) {
5448
- return h(script$W, {key}, {default: () => row})
5449
+ return h(script$X, {key}, {default: () => row})
5449
5450
  } else {
5450
5451
  return row
5451
5452
  }
@@ -5489,9 +5490,9 @@ var script$T = {
5489
5490
 
5490
5491
  };
5491
5492
 
5492
- script$T.__file = "src/widgets/TableTR.vue";
5493
+ script$U.__file = "src/widgets/TableTR.vue";
5493
5494
 
5494
- var script$S = {
5495
+ var script$T = {
5495
5496
  name: 'w-td',
5496
5497
  props: ['colspan', 'rowspan', 'align', 'valign', 'data'],
5497
5498
  inject: ['_provideTable', 'provideInBody'],
@@ -5528,11 +5529,11 @@ var script$S = {
5528
5529
  }
5529
5530
  };
5530
5531
 
5531
- script$S.__file = "src/widgets/TableTD.vue";
5532
+ script$T.__file = "src/widgets/TableTD.vue";
5532
5533
 
5533
- var script$R = {
5534
+ var script$S = {
5534
5535
  name: 'w-th',
5535
- mixins: [script$S, script$1i],
5536
+ mixins: [script$T, script$1j],
5536
5537
  props: ['sortable', 'sortOrders', 'sortOrderDefault'],
5537
5538
  inject: ['_provideThead'],
5538
5539
  emits: ['click:sort'],
@@ -5567,7 +5568,7 @@ var script$R = {
5567
5568
  this.$emit('click:sort', e, o);
5568
5569
  },
5569
5570
  html_slots() {
5570
- return h(script$1f, {class: 'w-th-wrap', valign: 'middle', align: this.align || this.col.align}, {default: () => [
5571
+ return h(script$1g, {class: 'w-th-wrap', valign: 'middle', align: this.align || this.col.align}, {default: () => [
5571
5572
  h('div', {class: 'w-th-title'}, this.$slots),
5572
5573
  this.x.sortable ? h('div', {class: 'w-th-sort f-flex-column f-flex-center f-oh'}, [
5573
5574
  h('i', {class: 'f-i f-i-caret-up f-oh w-th-sort-up', onClick: e => this.clickSort(e, 'asc')}),
@@ -5592,10 +5593,10 @@ var script$R = {
5592
5593
  }
5593
5594
  };
5594
5595
 
5595
- script$R.__file = "src/widgets/TableTH.vue";
5596
+ script$S.__file = "src/widgets/TableTH.vue";
5596
5597
 
5597
- var script$Q = {
5598
- mixins: [script$1e],
5598
+ var script$R = {
5599
+ mixins: [script$1f],
5599
5600
  emits: ['scroll'],
5600
5601
  methods: {
5601
5602
  onScroll(e) {
@@ -5604,7 +5605,7 @@ var script$Q = {
5604
5605
  }
5605
5606
  };
5606
5607
 
5607
- script$Q.__file = "src/widgets/TreeV2Wrap.vue";
5608
+ script$R.__file = "src/widgets/TreeV2Wrap.vue";
5608
5609
 
5609
5610
  const _hoisted_1$6 = { class: "'w-table-v2-th-text f-line-1" };
5610
5611
  const _hoisted_2$6 = { class: "w-tree-loading w-table-v2-loading" };
@@ -5618,7 +5619,7 @@ const _hoisted_6$2 = { class: "'w-table-v2-td-text f-line-1" };
5618
5619
  name: 'w-table-v2'
5619
5620
  };
5620
5621
 
5621
- var script$P = /*#__PURE__*/Object.assign(__default__$1, {
5622
+ var script$Q = /*#__PURE__*/Object.assign(__default__$1, {
5622
5623
  props: {
5623
5624
  alias: {
5624
5625
  type: Object,
@@ -5962,7 +5963,7 @@ return (_ctx, _cache) => {
5962
5963
  ]),
5963
5964
  _: 1 /* STABLE */
5964
5965
  }, 8 /* PROPS */, ["style"]),
5965
- createVNode(script$Q, {
5966
+ createVNode(script$R, {
5966
5967
  ref_key: "wrap",
5967
5968
  ref: wrap,
5968
5969
  height: "*",
@@ -6053,11 +6054,11 @@ return (_ctx, _cache) => {
6053
6054
 
6054
6055
  });
6055
6056
 
6056
- script$P.__file = "src/widgets/TableV2.vue";
6057
+ script$Q.__file = "src/widgets/TableV2.vue";
6057
6058
 
6058
- var script$O = {
6059
+ var script$P = {
6059
6060
  name: 'w-grid',
6060
- mixins: [script$1h],
6061
+ mixins: [script$1i],
6061
6062
  props: ['columns', 'rows', 'gap', 'defaultColspan', 'face', 'labelWidth'],
6062
6063
  methods: {
6063
6064
  x_default() {
@@ -6092,20 +6093,21 @@ var script$O = {
6092
6093
  return {
6093
6094
  'grid-template-columns': cols,
6094
6095
  'grid-template-rows': rows,
6095
- 'grid-gap': this.x.gap ? $$1.unitSize(this.x.gap) : '',
6096
+ 'grid-gap': 'var(--w-grid-gap)',
6097
+ '--w-grid-gap': this.x.gap ? $$1.unitSize(this.x.gap) : '',
6096
6098
  '--w-grid-colspan': (dc == -1 || !dc ? '' : `span ${dc}`),
6097
6099
  }
6098
6100
  }
6099
6101
  }
6100
6102
  };
6101
6103
 
6102
- script$O.__file = "src/widgets/Grid.vue";
6104
+ script$P.__file = "src/widgets/Grid.vue";
6103
6105
 
6104
- var script$N = {
6106
+ var script$O = {
6105
6107
  name: 'w-swiper-item',
6106
6108
  pubParentName: 'w-swiper',
6107
6109
  inject: ['providePubParent'],
6108
- mixins: [script$1i],
6110
+ mixins: [script$1j],
6109
6111
  props: ['lazy'],
6110
6112
  data() {
6111
6113
  return {
@@ -6138,11 +6140,11 @@ var script$N = {
6138
6140
  }
6139
6141
  };
6140
6142
 
6141
- script$N.__file = "src/widgets/SwiperItem.vue";
6143
+ script$O.__file = "src/widgets/SwiperItem.vue";
6142
6144
 
6143
- var script$M = {
6145
+ var script$N = {
6144
6146
  name: 'w-swiper',
6145
- mixins: [script$1i, script$X],
6147
+ mixins: [script$1j, script$Y],
6146
6148
  props: ['arrow', 'indicatorDots', 'duration'],
6147
6149
  data() {
6148
6150
  return {
@@ -6233,11 +6235,11 @@ var script$M = {
6233
6235
  }
6234
6236
  };
6235
6237
 
6236
- script$M.__file = "src/widgets/Swiper.vue";
6238
+ script$N.__file = "src/widgets/Swiper.vue";
6237
6239
 
6238
- var script$L = {
6240
+ var script$M = {
6239
6241
  name: 'w-buttonbar',
6240
- mixins: [script$1f, script$X],
6242
+ mixins: [script$1g, script$Y],
6241
6243
  props: ['vertical'],
6242
6244
  emits: ['click:item'],
6243
6245
  methods: {
@@ -6269,11 +6271,11 @@ var script$L = {
6269
6271
  }
6270
6272
  };
6271
6273
 
6272
- script$L.__file = "src/widgets/ButtonBar.vue";
6274
+ script$M.__file = "src/widgets/ButtonBar.vue";
6273
6275
 
6274
- var script$K = {
6276
+ var script$L = {
6275
6277
  name: 'w-tabbar',
6276
- mixins: [script$L],
6278
+ mixins: [script$M],
6277
6279
  props: ['vertical', 'arrow', 'quickCloseButton', 'flexSize', 'buttons'],
6278
6280
  emits: ['click:item', 'click:quickCloseButton'],
6279
6281
  data() {
@@ -6350,7 +6352,7 @@ var script$K = {
6350
6352
  },
6351
6353
  html_slots() {
6352
6354
  let group = h(TransitionGroup, {name: 'w-tabbar', onBeforeEnter: this.onBeforeEnter, onAfterEnter: this.onAfterEnter, onBeforeLeave: this.onBeforeLeave, onAfterLeave: this.onAfterLeave}, {default: () => this.buttons});
6353
- 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})];
6355
+ let gut = [h(this.x.vertical ? script$1f : script$1g, {ref: 'gut', width: '*', class: 'w-tabbar-gut', gap: this.x.gap, align: this.x.align, valign: this.x.valign}, {default: () => group})];
6354
6356
  if (this.$slots.append) {
6355
6357
  gut.push(h('div', {ref: 'append', class: 'w-tabbar-append'}, this.slot('append')));
6356
6358
  }
@@ -6361,7 +6363,7 @@ var script$K = {
6361
6363
  if (this.x.quickCloseButton) {
6362
6364
  let closeAllDisabled = !this.buttons.find(c => c.props.closable);
6363
6365
  if (this.buttons.length) {
6364
- gut.push(h(script$11, {
6366
+ gut.push(h(script$12, {
6365
6367
  ref: 'quickCloseButton',
6366
6368
  data: {isQuickCloseButton: true},
6367
6369
  showArrowIcon: false,
@@ -6476,12 +6478,12 @@ var script$K = {
6476
6478
  }
6477
6479
  };
6478
6480
 
6479
- script$K.__file = "src/widgets/TabBar.vue";
6481
+ script$L.__file = "src/widgets/TabBar.vue";
6480
6482
 
6481
- var script$J = {
6483
+ var script$K = {
6482
6484
  name: 'w-tabbutton',
6483
6485
  pubParentName: 'w-tabbar',
6484
- mixins: [script$11],
6486
+ mixins: [script$12],
6485
6487
  methods: {
6486
6488
  vis() {
6487
6489
  let add = [20, 20];
@@ -6501,11 +6503,11 @@ var script$J = {
6501
6503
  }
6502
6504
  };
6503
6505
 
6504
- script$J.__file = "src/widgets/TabButton.vue";
6506
+ script$K.__file = "src/widgets/TabButton.vue";
6505
6507
 
6506
- var script$I = {
6508
+ var script$J = {
6507
6509
  name: 'w-tabs',
6508
- mixins: [script$1i],
6510
+ mixins: [script$1j],
6509
6511
  props: ['current', 'position', 'gap', 'face', 'quickCloseButton', 'flexSize'],
6510
6512
  emits: ['click:quickCloseButton'],
6511
6513
  methods: {
@@ -6531,11 +6533,11 @@ var script$I = {
6531
6533
  if (!v.props || v.props.key == null) {
6532
6534
  $$1.lodash.set(v, 'props.key', i);
6533
6535
  }
6534
- buttons.push(h(script$J, v.props));
6535
- pages.push(h(script$N, {lazy: v.props.lazy == null ? true : v.props.lazy, key: v.props.key}, v.children));
6536
+ buttons.push(h(script$K, v.props));
6537
+ pages.push(h(script$O, {lazy: v.props.lazy == null ? true : v.props.lazy, key: v.props.key}, v.children));
6536
6538
  });
6537
6539
  return [
6538
- h(script$K, {
6540
+ h(script$L, {
6539
6541
  ref: 'tabBar',
6540
6542
  class: 'w-tabs-buttonbar',
6541
6543
  current: this.x.current,
@@ -6548,7 +6550,7 @@ var script$I = {
6548
6550
  'onClick:quickCloseButton': this.clickQuickCloseButton,
6549
6551
  buttons,
6550
6552
  }, this.$slots),
6551
- h(script$M, {class: 'w-tabs-swiper f-flex-1 f-oh', current: this.x.current}, {default: () => pages}),
6553
+ h(script$N, {class: 'w-tabs-swiper f-flex-1 f-oh', current: this.x.current}, {default: () => pages}),
6552
6554
  ]
6553
6555
  }
6554
6556
  },
@@ -6563,17 +6565,17 @@ var script$I = {
6563
6565
  }
6564
6566
  };
6565
6567
 
6566
- script$I.__file = "src/widgets/Tabs.vue";
6568
+ script$J.__file = "src/widgets/Tabs.vue";
6567
6569
 
6568
- var script$H = {
6570
+ var script$I = {
6569
6571
  name: 'w-tab',
6570
6572
  };
6571
6573
 
6572
- script$H.__file = "src/widgets/Tab.vue";
6574
+ script$I.__file = "src/widgets/Tab.vue";
6573
6575
 
6574
- var script$G = {
6576
+ var script$H = {
6575
6577
  name: 'w-album',
6576
- mixins: [script$1f, script$X],
6578
+ mixins: [script$1g, script$Y],
6577
6579
  methods: {
6578
6580
  x_default() {
6579
6581
  return {
@@ -6590,11 +6592,11 @@ var script$G = {
6590
6592
  }
6591
6593
  };
6592
6594
 
6593
- script$G.__file = "src/widgets/Album.vue";
6595
+ script$H.__file = "src/widgets/Album.vue";
6594
6596
 
6595
- var script$F = {
6597
+ var script$G = {
6596
6598
  name: 'w-html',
6597
- mixins: [script$1i, script$1g],
6599
+ mixins: [script$1j, script$1h],
6598
6600
  props: ['line'],
6599
6601
  computed: {
6600
6602
  html_props() {
@@ -6613,11 +6615,11 @@ var script$F = {
6613
6615
  }
6614
6616
  };
6615
6617
 
6616
- script$F.__file = "src/widgets/Html.vue";
6618
+ script$G.__file = "src/widgets/Html.vue";
6617
6619
 
6618
- var script$E = {
6620
+ var script$F = {
6619
6621
  name: 'w-tree',
6620
- mixins: [script$1h, script$X, script$1o],
6622
+ mixins: [script$1i, script$Y, script$1p],
6621
6623
  emits: ['click:item'],
6622
6624
  provide() {
6623
6625
  return {
@@ -6649,7 +6651,7 @@ var script$E = {
6649
6651
  const sl = this.slot('loading');
6650
6652
  r = sl && sl.length ? sl : h('div', {
6651
6653
  class: 'w-tree-loading'
6652
- }, h(script$14, {src: '#f-svg-loading-1', width: 28, height: 28}));
6654
+ }, h(script$15, {src: '#f-svg-loading-1', width: 28, height: 28}));
6653
6655
  } else {
6654
6656
  let chd = this.x.children;
6655
6657
  if (this.$slots.default) {
@@ -6663,7 +6665,7 @@ var script$E = {
6663
6665
  }
6664
6666
  }
6665
6667
  if (key) {
6666
- return h(script$W, {key}, {default: () => leaf})
6668
+ return h(script$X, {key}, {default: () => leaf})
6667
6669
  } else {
6668
6670
  return leaf
6669
6671
  }
@@ -6691,7 +6693,7 @@ var script$E = {
6691
6693
  }
6692
6694
  };
6693
6695
 
6694
- script$E.__file = "src/widgets/Tree.vue";
6696
+ script$F.__file = "src/widgets/Tree.vue";
6695
6697
 
6696
6698
  const _hoisted_1$5 = { class: "w-tree-loading w-tree-v2-loading" };
6697
6699
  const _hoisted_2$5 = ["onClick"];
@@ -6704,7 +6706,7 @@ const _hoisted_5$2 = ["title"];
6704
6706
  name: 'w-tree-v2'
6705
6707
  };
6706
6708
 
6707
- var script$D = /*#__PURE__*/Object.assign(__default__, {
6709
+ var script$E = /*#__PURE__*/Object.assign(__default__, {
6708
6710
  props: {
6709
6711
  alias: {
6710
6712
  type: Object,
@@ -7009,7 +7011,7 @@ const props = __props;
7009
7011
  return (_ctx, _cache) => {
7010
7012
  const _component_w_img = resolveComponent("w-img");
7011
7013
 
7012
- return (openBlock(), createBlock(script$Q, {
7014
+ return (openBlock(), createBlock(script$R, {
7013
7015
  ref_key: "root",
7014
7016
  ref: root,
7015
7017
  class: "w-tree w-tree-v2",
@@ -7076,11 +7078,11 @@ return (_ctx, _cache) => {
7076
7078
 
7077
7079
  });
7078
7080
 
7079
- script$D.__file = "src/widgets/TreeV2.vue";
7081
+ script$E.__file = "src/widgets/TreeV2.vue";
7080
7082
 
7081
- var script$C = {
7083
+ var script$D = {
7082
7084
  name: 'w-label',
7083
- mixins: [script$1i, script$1g],
7085
+ mixins: [script$1j, script$1h],
7084
7086
  props: ['text', 'suffix', 'vertical'],
7085
7087
  methods: {
7086
7088
  html_slots() {
@@ -7102,10 +7104,10 @@ var script$C = {
7102
7104
  }
7103
7105
  };
7104
7106
 
7105
- script$C.__file = "src/widgets/Label.vue";
7107
+ script$D.__file = "src/widgets/Label.vue";
7106
7108
 
7107
- var script$B = {
7108
- mixins: [script$1i, script$1g],
7109
+ var script$C = {
7110
+ mixins: [script$1j, script$1h],
7109
7111
  props: ['name', 'value', 'modelValue', 'placeholder', 'label', 'readonly', 'readonlyValidate', 'disabled', 'required',
7110
7112
  'validateDefault', 'validateHandler', 'inputWidth', 'inputHeight' ],
7111
7113
  emits: ['update:modelValue', 'change', 'blur', 'focus'],
@@ -7350,7 +7352,7 @@ var script$B = {
7350
7352
  if (this.x.label && typeof this.x.label === 'object') {
7351
7353
  const label = $$1.cloneDeep(this.x.label);
7352
7354
  if (label.width == null) delete label.width;
7353
- if (label.width != 0) return h(script$C, label)
7355
+ if (label.width != 0) return h(script$D, label)
7354
7356
  }
7355
7357
  },
7356
7358
  html_input() {
@@ -7555,14 +7557,14 @@ var script$B = {
7555
7557
  }
7556
7558
  };
7557
7559
 
7558
- script$B.__file = "src/widgets/FormBase.vue";
7560
+ script$C.__file = "src/widgets/FormBase.vue";
7559
7561
 
7560
7562
  const {leafSymbol: leafSymbol$1} = $$1.symbol;
7561
7563
 
7562
- var script$A = {
7564
+ var script$B = {
7563
7565
  name: 'w-checkbox',
7564
7566
  pubParentName: 'w-checkboxgroup',
7565
- mixins: [script$B],
7567
+ mixins: [script$C],
7566
7568
  props: ['text', 'checked', 'partialSubmit', 'minSize', 'maxSize'],
7567
7569
  inject: ['providePubParent', 'provideBoxParent'],
7568
7570
  emits: ['change', 'update:checked', 'click'],
@@ -7732,7 +7734,7 @@ const {leafSymbol: leafSymbol$1} = $$1.symbol;
7732
7734
  }, this.html_input())
7733
7735
  },
7734
7736
  html_target() {
7735
- return this.$slots.default ? h(script$1f, {
7737
+ return this.$slots.default ? h(script$1g, {
7736
7738
  class: this.$options.name + '-target',
7737
7739
  width: '*',
7738
7740
  ref: 'target'
@@ -7818,13 +7820,13 @@ const {leafSymbol: leafSymbol$1} = $$1.symbol;
7818
7820
  },
7819
7821
  };
7820
7822
 
7821
- script$A.__file = "src/widgets/CheckBox.vue";
7823
+ script$B.__file = "src/widgets/CheckBox.vue";
7822
7824
 
7823
7825
  const {leafSymbol} = $$1.symbol;
7824
7826
 
7825
- var script$z = {
7827
+ var script$A = {
7826
7828
  name: 'w-triplebox',
7827
- mixins: [script$A],
7829
+ mixins: [script$B],
7828
7830
  props: ['all'],
7829
7831
  created() {
7830
7832
  if (this.provideBoxParent) {
@@ -7967,12 +7969,12 @@ const {leafSymbol} = $$1.symbol;
7967
7969
 
7968
7970
  };
7969
7971
 
7970
- script$z.__file = "src/widgets/TripleBox.vue";
7972
+ script$A.__file = "src/widgets/TripleBox.vue";
7971
7973
 
7972
- var script$y = {
7974
+ var script$z = {
7973
7975
  name: 'w-leaf',
7974
7976
  pubParentName: 'w-tree',
7975
- mixins: [script$1i, script$1o],
7977
+ mixins: [script$1j, script$1p],
7976
7978
  props: ['text', 'expanded', 'expandedIcon', 'collapsedIcon', 'icon', 'boxSync', 'src', 'disabled'],
7977
7979
  inject: ['providePubParent', 'provideLevel', 'provideParentLeaf', 'provideParentTR'],
7978
7980
  emits: ['click'],
@@ -8071,7 +8073,7 @@ var script$y = {
8071
8073
  let ico = this.isFolder() ? (exp ? this.x.expandedIcon : this.x.collapsedIcon) : this.x.icon;
8072
8074
  return h('div', mergeProps(this.html_attrs, this.html_props, this.$attrs), [
8073
8075
  this.loading ?
8074
- h(script$14, {
8076
+ h(script$15, {
8075
8077
  src: '#f-svg-loading',
8076
8078
  class: 'w-leaf-loading'
8077
8079
  }) :
@@ -8083,7 +8085,7 @@ var script$y = {
8083
8085
  }
8084
8086
  }),
8085
8087
  this.$slots.box && this.$slots.box(),
8086
- ico && h(script$14, {
8088
+ ico && h(script$15, {
8087
8089
  src: ico,
8088
8090
  class: 'w-leaf-icon'
8089
8091
  }),
@@ -8107,7 +8109,7 @@ var script$y = {
8107
8109
  }
8108
8110
  }
8109
8111
  if (key) {
8110
- return h(script$W, {key}, {default: () => leaf})
8112
+ return h(script$X, {key}, {default: () => leaf})
8111
8113
  } else {
8112
8114
  return leaf
8113
8115
  }
@@ -8166,11 +8168,11 @@ var script$y = {
8166
8168
 
8167
8169
  };
8168
8170
 
8169
- script$y.__file = "src/widgets/Leaf.vue";
8171
+ script$z.__file = "src/widgets/Leaf.vue";
8170
8172
 
8171
- var script$x = {
8173
+ var script$y = {
8172
8174
  name: 'w-pagebar',
8173
- mixins: [script$L],
8175
+ mixins: [script$M],
8174
8176
  emits: ['click:item'],
8175
8177
  props: ['limit', 'size', 'offset', 'buttonCount', 'noFirstLast', 'face', 'jump'],
8176
8178
  data() {
@@ -8222,13 +8224,13 @@ var script$x = {
8222
8224
  this.html_face_normal()
8223
8225
  },
8224
8226
  html_buttons() {
8225
- return [h(script$11, {
8227
+ return [h(script$12, {
8226
8228
  class: 'w-pagebar-button w-pagebar-prev',
8227
8229
  icon: '.f-i .f-i-angle-left',
8228
8230
  disabled: this.currentPage == 1,
8229
8231
  title: $$1.loc.page_text.prev,
8230
8232
  onclick: e => this.clickItem(e, this.currentPage - 1)
8231
- }), h(script$11, {
8233
+ }), h(script$12, {
8232
8234
  class: 'w-pagebar-button w-pagebar-next',
8233
8235
  icon: '.f-i .f-i-angle-right',
8234
8236
  disabled: this.currentPage == this.sumPage,
@@ -8239,7 +8241,7 @@ var script$x = {
8239
8241
  html_drop() {
8240
8242
  let s = [];
8241
8243
  if (this.x.buttonCount) {
8242
- s.push(h(script$11, {
8244
+ s.push(h(script$12, {
8243
8245
  class: 'w-pagebar-button w-pagebar-button-count w-pagebar-prev',
8244
8246
  ref: 'drop',
8245
8247
  text: this.currentPage + '/' + this.sumPage,
@@ -8248,8 +8250,8 @@ var script$x = {
8248
8250
  }
8249
8251
  if (this.showDrop) {
8250
8252
  let b = [];
8251
- for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$11, {text: i, onClick: e => this.clickItem(e, i)}));
8252
- s.push(h(script$10, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
8253
+ for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$12, {text: i, onClick: e => this.clickItem(e, i)}));
8254
+ s.push(h(script$11, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
8253
8255
  }
8254
8256
  return s
8255
8257
  },
@@ -8347,11 +8349,11 @@ var script$x = {
8347
8349
  }
8348
8350
  };
8349
8351
 
8350
- script$x.__file = "src/widgets/PageBar.vue";
8352
+ script$y.__file = "src/widgets/PageBar.vue";
8351
8353
 
8352
- var script$w = {
8354
+ var script$x = {
8353
8355
  name: 'w-split',
8354
- mixins: [script$1i],
8356
+ mixins: [script$1j],
8355
8357
  props: ['collapsedIcon', 'expandedIcon', 'movable', 'range', 'toNext', 'expanded'],
8356
8358
  inject: ['provideLayout'],
8357
8359
  created() {
@@ -8448,11 +8450,11 @@ var script$w = {
8448
8450
  }
8449
8451
  };
8450
8452
 
8451
- script$w.__file = "src/widgets/Split.vue";
8453
+ script$x.__file = "src/widgets/Split.vue";
8452
8454
 
8453
- var script$v = {
8455
+ var script$w = {
8454
8456
  name: 'w-toggle',
8455
- mixins: [script$1i, script$1g],
8457
+ mixins: [script$1j, script$1h],
8456
8458
  props: ['collapsedIcon', 'expandedIcon', 'expanded', 'align', 'valign'],
8457
8459
  methods: {
8458
8460
  x_default() {
@@ -8469,7 +8471,7 @@ var script$v = {
8469
8471
  html_slots() {
8470
8472
  let exp = this.x.expanded;
8471
8473
  let ico = exp ? this.x.expandedIcon : this.x.collapsedIcon;
8472
- return [ico && h(script$14, {
8474
+ return [ico && h(script$15, {
8473
8475
  src: ico,
8474
8476
  class: 'w-toggle-icon',
8475
8477
  }), h('div', {class: 'w-toggle-main'}, this.$slots.default())]
@@ -8496,11 +8498,11 @@ var script$v = {
8496
8498
  }
8497
8499
  };
8498
8500
 
8499
- script$v.__file = "src/widgets/Toggle.vue";
8501
+ script$w.__file = "src/widgets/Toggle.vue";
8500
8502
 
8501
- var script$u = {
8503
+ var script$v = {
8502
8504
  name: 'w-video',
8503
- mixins: [script$1i],
8505
+ mixins: [script$1j],
8504
8506
  props: ['src', 'poster'],
8505
8507
  data() {
8506
8508
  return {
@@ -8548,11 +8550,11 @@ var script$u = {
8548
8550
 
8549
8551
  };
8550
8552
 
8551
- script$u.__file = "src/widgets/Video.vue";
8553
+ script$v.__file = "src/widgets/Video.vue";
8552
8554
 
8553
- var script$t = {
8555
+ var script$u = {
8554
8556
  name: 'w-progress',
8555
- mixins: [script$1i],
8557
+ mixins: [script$1j],
8556
8558
  props: ['percent', 'range', 'text'],
8557
8559
  methods: {
8558
8560
  html_slots() {
@@ -8593,11 +8595,11 @@ var script$t = {
8593
8595
  }
8594
8596
  };
8595
8597
 
8596
- script$t.__file = "src/widgets/Progress.vue";
8598
+ script$u.__file = "src/widgets/Progress.vue";
8597
8599
 
8598
- var script$s = {
8600
+ var script$t = {
8599
8601
  name: 'w-calendar',
8600
- mixins: [script$1i],
8602
+ mixins: [script$1j],
8601
8603
  emits: ['click:item', 'change'],
8602
8604
  props: ['value', 'minValue', 'maxValue', 'current', 'pad', 'face', 'format', 'success', 'cg', 'start',
8603
8605
  'enableHour', 'enableMinute', 'enableSecond', 'defaultHour', 'defaultMinute', 'defaultSecond'
@@ -9364,103 +9366,106 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
9364
9366
  }, 16 /* FULL_PROPS */, ["class"]))
9365
9367
  }
9366
9368
 
9367
- script$s.render = render$4;
9368
- script$s.__file = "src/widgets/Calendar.vue";
9369
+ script$t.render = render$4;
9370
+ script$t.__file = "src/widgets/Calendar.vue";
9369
9371
 
9370
- var script$r = {
9372
+ var script$s = {
9371
9373
  name: 'w-timeline',
9372
- mixins: [script$1h, script$X],
9374
+ mixins: [script$1i, script$Y],
9373
9375
  props: ['face', 'vertical'],
9374
9376
  methods: {
9375
9377
  indent() {
9376
9378
  let len = this.$refs.wrap.querySelectorAll(':scope>.w-timeline-half>.w-timeline-item').length;
9377
- if (len <= 1) return
9378
- let vt = this.x.vertical;
9379
- let size = vt ? 'width' : 'height';
9380
- let prevWidth = 0;
9381
- let nextWidth = 0;
9382
- for (let i = 0; i < len; i++) {
9383
- let prev = this.$refs.wrap.querySelector(`:scope>.w-timeline-half>.w-timeline-item[w-index="${i}"]`);
9384
- let next = i < len - 1 && this.$refs.wrap.querySelector(`:scope>.w-timeline-half>.w-timeline-item[w-index="${i+1}"]`);
9385
- let prevBcr = $$1.bcr(prev.querySelector(':scope>.w-timeline-item-icon>.w-timeline-item-icon-img'));
9386
- if (prev.parentNode == this.$refs.prev) {
9387
- prevWidth = Math.max(prevWidth, prevBcr[size]);
9388
- } else {
9389
- nextWidth = Math.max(nextWidth, prevBcr[size]);
9390
- }
9391
- if (next && prev.parentNode != next.parentNode) {
9392
- let nextBcr = $$1.bcr(next.querySelector(':scope>.w-timeline-item-icon>.w-timeline-item-icon-img'));
9393
- if (vt && prevBcr.bottom + 25 > nextBcr.top) {
9394
- $$1.q(next).css({
9395
- marginTop: prevBcr.bottom + 25 - nextBcr.top
9396
- });
9397
- } else if (!vt && prevBcr.right + 50 > nextBcr.left) {
9398
- $$1.q(next).css({
9399
- marginLeft: prevBcr.right + 50 - nextBcr.left
9400
- });
9379
+ if (len > 0) {
9380
+ let vt = this.x.vertical;
9381
+ let size = vt ? 'width' : 'height';
9382
+ let prevWidth = 0;
9383
+ let nextWidth = 0;
9384
+ for (let i = 0; i < len; i++) {
9385
+ let prev = this.$refs.wrap.querySelector(`:scope>.w-timeline-half>.w-timeline-item[w-index="${i}"]`);
9386
+ let next = i < len - 1 && this.$refs.wrap.querySelector(`:scope>.w-timeline-half>.w-timeline-item[w-index="${i+1}"]`);
9387
+ let prevBcr = $$1.bcr(prev.querySelector(':scope>.w-timeline-item-icon>.w-timeline-item-icon-img'));
9388
+ if (prev.parentNode == this.$refs.prev) {
9389
+ prevWidth = Math.max(prevWidth, prevBcr[size]);
9390
+ } else {
9391
+ nextWidth = Math.max(nextWidth, prevBcr[size]);
9392
+ }
9393
+ if (next && prev.parentNode != next.parentNode) {
9394
+ let nextBcr = $$1.bcr(next.querySelector(':scope>.w-timeline-item-icon>.w-timeline-item-icon-img'));
9395
+ if (vt && prevBcr.bottom + 25 > nextBcr.top) {
9396
+ $$1.q(next).css({
9397
+ marginTop: prevBcr.bottom + 25 - nextBcr.top
9398
+ });
9399
+ } else if (!vt && prevBcr.right + 50 > nextBcr.left) {
9400
+ $$1.q(next).css({
9401
+ marginLeft: prevBcr.right + 50 - nextBcr.left
9402
+ });
9403
+ }
9401
9404
  }
9402
9405
  }
9403
- }
9404
- let prevItems = $$1.q('>.w-timeline-item', this.$refs.prev);
9405
- prevItems.each((i, v) => {
9406
- let icon = $$1.q('>.w-timeline-item-icon', v);
9407
- let bcr = $$1.bcr(icon[0]);
9408
- icon.css({
9409
- [vt ? 'marginRight' : 'marginBottom']: (prevWidth - bcr[size]) / 2
9406
+ let prevItems = $$1.q('>.w-timeline-item', this.$refs.prev);
9407
+ prevItems.each((i, v) => {
9408
+ let icon = $$1.q('>.w-timeline-item-icon', v);
9409
+ let bcr = $$1.bcr(icon[0]);
9410
+ icon.css({
9411
+ [vt ? 'marginRight' : 'marginBottom']: (prevWidth - bcr[size]) / 2
9412
+ });
9410
9413
  });
9411
- });
9412
- $$1.q('>.w-timeline-item', this.$refs.next).each((i, v) => {
9413
- let icon = $$1.q('>.w-timeline-item-icon', v);
9414
- let bcr = $$1.bcr(icon[0]);
9415
- icon.css({
9416
- [vt ? 'marginLeft' : 'marginTop']: (nextWidth - bcr[size]) / 2
9414
+ $$1.q('>.w-timeline-item', this.$refs.next).each((i, v) => {
9415
+ let icon = $$1.q('>.w-timeline-item-icon', v);
9416
+ let bcr = $$1.bcr(icon[0]);
9417
+ icon.css({
9418
+ [vt ? 'marginLeft' : 'marginTop']: (nextWidth - bcr[size]) / 2
9419
+ });
9417
9420
  });
9418
- });
9419
- prevItems.length && $$1.q(this.$refs.next).css({
9420
- [vt ? 'marginLeft' : 'marginTop']: `-${nextWidth/2 + prevWidth/2}px`
9421
- });
9422
-
9423
- const wrapBcr = $$1.bcr(this.$refs.wrap);
9424
- const center = [];
9425
- let bg = [];
9426
- let linePos = 0;
9427
- let lineColor = '#ddd';
9428
- for (let i = 0; i < len; i++) {
9429
- let el = $$1.q(`>.w-timeline-half>.w-timeline-item[w-index="${i}"]`, this.$refs.wrap);
9430
- let b = $$1.bcr(el.find('>.w-timeline-item-icon>.w-timeline-item-icon-img')[0]);
9431
- let c = {x: b.left + (b.width / 2), y: b.top + (b.height / 2), color: el.attr('w-line-color')};
9432
- center.push(c);
9433
- }
9434
- center.sort((n, m) => this.x.vertical ? (n.y < m.y ? -1 : 0) : (n.x < m.x ? -1 : 0));
9435
- for (let i = 0; i < len; i++) {
9436
- const c = center[i];
9437
- if (i > 0) {
9438
- const prev = center[0];
9439
- linePos = this.x.vertical ? c.y - prev.y : c.x - prev.x;
9440
- bg.push(`${lineColor} ${linePos}px`);
9441
- }
9442
- if (c.color) lineColor = c.color;
9443
- if (i > 0) {
9444
- bg.push(`${lineColor} ${linePos}px`);
9445
- }
9446
- }
9447
- if (this.x.vertical) {
9448
- $$1.q(this.$refs.line).css({
9449
- width: 2,
9450
- height: center[len-1].y - center[0].y,
9451
- top: center[0].y - wrapBcr.top,
9452
- left: center[0].x - wrapBcr.left - 1,
9421
+ prevItems.length && $$1.q(this.$refs.next).css({
9422
+ [vt ? 'marginLeft' : 'marginTop']: `-${nextWidth/2 + prevWidth/2}px`
9453
9423
  });
9424
+ }
9425
+ if (len == 0) {
9426
+ $$1.q(this.$refs.line).css({width: 0, height: 0});
9454
9427
  } else {
9455
- $$1.q(this.$refs.line).css({
9456
- width: center[len-1].x - center[0].x,
9457
- height: 2,
9458
- top: center[0].y - wrapBcr.top - 1,
9459
- left: center[0].x - wrapBcr.left,
9460
- background: `linear-gradient(to right, ${bg.join()})`
9461
- });
9428
+ const wrapBcr = $$1.bcr(this.$refs.wrap);
9429
+ const center = [];
9430
+ let bg = [];
9431
+ let linePos = 0;
9432
+ let lineColor = '#ddd';
9433
+ for (let i = 0; i < len; i++) {
9434
+ let el = $$1.q(`>.w-timeline-half>.w-timeline-item[w-index="${i}"]`, this.$refs.wrap);
9435
+ let b = $$1.bcr(el.find('>.w-timeline-item-icon>.w-timeline-item-icon-img')[0]);
9436
+ let c = {x: b.left + (b.width / 2), y: b.top + (b.height / 2), color: el.attr('w-line-color')};
9437
+ center.push(c);
9438
+ }
9439
+ center.sort((n, m) => this.x.vertical ? (n.y < m.y ? -1 : 0) : (n.x < m.x ? -1 : 0));
9440
+ for (let i = 0; i < len; i++) {
9441
+ const c = center[i];
9442
+ if (i > 0) {
9443
+ const prev = center[0];
9444
+ linePos = this.x.vertical ? c.y - prev.y : c.x - prev.x;
9445
+ bg.push(`${lineColor} ${linePos}px`);
9446
+ }
9447
+ if (c.color) lineColor = c.color;
9448
+ if (i > 0) {
9449
+ bg.push(`${lineColor} ${linePos}px`);
9450
+ }
9451
+ }
9452
+ if (this.x.vertical) {
9453
+ $$1.q(this.$refs.line).css({
9454
+ width: 2,
9455
+ height: center[len-1].y - center[0].y,
9456
+ top: center[0].y - wrapBcr.top,
9457
+ left: center[0].x - wrapBcr.left - 1,
9458
+ });
9459
+ } else {
9460
+ $$1.q(this.$refs.line).css({
9461
+ width: center[len-1].x - center[0].x,
9462
+ height: 2,
9463
+ top: center[0].y - wrapBcr.top - 1,
9464
+ left: center[0].x - wrapBcr.left,
9465
+ background: `linear-gradient(to right, ${bg.join()})`
9466
+ });
9467
+ }
9462
9468
  }
9463
-
9464
9469
  },
9465
9470
  html_slots() {
9466
9471
  let prevSlots = [];
@@ -9519,12 +9524,12 @@ var script$r = {
9519
9524
  }
9520
9525
  };
9521
9526
 
9522
- script$r.__file = "src/widgets/Timeline.vue";
9527
+ script$s.__file = "src/widgets/Timeline.vue";
9523
9528
 
9524
- var script$q = {
9529
+ var script$r = {
9525
9530
  name: 'w-timeline-item',
9526
9531
  pubParentName: 'w-timeline',
9527
- mixins: [script$1i],
9532
+ mixins: [script$1j],
9528
9533
  inject: ['providePubParent'],
9529
9534
  props: ['position', 'index', 'align', 'lineColor'],
9530
9535
  watch: {
@@ -9563,11 +9568,11 @@ var script$q = {
9563
9568
  }
9564
9569
  };
9565
9570
 
9566
- script$q.__file = "src/widgets/TimelineItem.vue";
9571
+ script$r.__file = "src/widgets/TimelineItem.vue";
9567
9572
 
9568
- var script$p = {
9573
+ var script$q = {
9569
9574
  name: 'w-slidepicker',
9570
- mixins: [script$1i],
9575
+ mixins: [script$1j],
9571
9576
  provide() {
9572
9577
  return {
9573
9578
  provideOptionParent: this,
@@ -9793,12 +9798,12 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
9793
9798
  ], 16 /* FULL_PROPS */))
9794
9799
  }
9795
9800
 
9796
- script$p.render = render$3;
9797
- script$p.__file = "src/widgets/SlidePicker.vue";
9801
+ script$q.render = render$3;
9802
+ script$q.__file = "src/widgets/SlidePicker.vue";
9798
9803
 
9799
- var script$o = {
9804
+ var script$p = {
9800
9805
  name: 'w-hidden',
9801
- mixins: [script$B],
9806
+ mixins: [script$C],
9802
9807
  methods: {
9803
9808
  isModified() {
9804
9809
  return false
@@ -9817,11 +9822,11 @@ var script$o = {
9817
9822
 
9818
9823
  };
9819
9824
 
9820
- script$o.__file = "src/widgets/Hidden.vue";
9825
+ script$p.__file = "src/widgets/Hidden.vue";
9821
9826
 
9822
- var script$n = {
9827
+ var script$o = {
9823
9828
  name: 'w-text',
9824
- mixins: [script$B],
9829
+ mixins: [script$C],
9825
9830
  props: ['minLength', 'maxLength', 'pattern', 'clearable', 'showCount'],
9826
9831
  emits: ['clear'],
9827
9832
  data() {
@@ -9873,11 +9878,11 @@ var script$n = {
9873
9878
  }
9874
9879
  };
9875
9880
 
9876
- script$n.__file = "src/widgets/Text.vue";
9881
+ script$o.__file = "src/widgets/Text.vue";
9877
9882
 
9878
- var script$m = {
9883
+ var script$n = {
9879
9884
  name: 'w-textarea',
9880
- mixins: [script$n],
9885
+ mixins: [script$o],
9881
9886
  methods: {
9882
9887
  html_slot_down() {
9883
9888
  const down = this.slot('down');
@@ -9910,11 +9915,11 @@ var script$m = {
9910
9915
  }
9911
9916
  };
9912
9917
 
9913
- script$m.__file = "src/widgets/Textarea.vue";
9918
+ script$n.__file = "src/widgets/Textarea.vue";
9914
9919
 
9915
- var script$l = {
9920
+ var script$m = {
9916
9921
  name: 'w-checkboxgroup',
9917
- mixins: [script$B],
9922
+ mixins: [script$C],
9918
9923
  props: ['modelValue', 'required', 'vertical', 'gap', 'minSize', 'maxSize', 'br'],
9919
9924
  provide() {
9920
9925
  return {
@@ -9952,19 +9957,19 @@ var script$l = {
9952
9957
  }
9953
9958
  };
9954
9959
 
9955
- script$l.__file = "src/widgets/CheckBoxGroup.vue";
9960
+ script$m.__file = "src/widgets/CheckBoxGroup.vue";
9956
9961
 
9957
- var script$k = {
9962
+ var script$l = {
9958
9963
  name: 'w-radiogroup',
9959
- mixins: [script$l]
9964
+ mixins: [script$m]
9960
9965
  };
9961
9966
 
9962
- script$k.__file = "src/widgets/RadioGroup.vue";
9967
+ script$l.__file = "src/widgets/RadioGroup.vue";
9963
9968
 
9964
- var script$j = {
9969
+ var script$k = {
9965
9970
  name: 'w-radio',
9966
9971
  pubParentName: 'w-radiogroup',
9967
- mixins: [script$A],
9972
+ mixins: [script$B],
9968
9973
  props: ['cancelable'],
9969
9974
  methods: {
9970
9975
 
@@ -9992,12 +9997,12 @@ var script$j = {
9992
9997
  }
9993
9998
  };
9994
9999
 
9995
- script$j.__file = "src/widgets/Radio.vue";
10000
+ script$k.__file = "src/widgets/Radio.vue";
9996
10001
 
9997
- var script$i = {
10002
+ var script$j = {
9998
10003
  name: 'w-switch',
9999
10004
  pubParentName: 'w-checkboxgroup',
10000
- mixins: [script$B],
10005
+ mixins: [script$C],
10001
10006
  props: ['checkedText', 'uncheckedText', 'checkedValue', 'uncheckedValue'],
10002
10007
  inject: ['providePubParent'],
10003
10008
  methods: {
@@ -10045,7 +10050,7 @@ var script$i = {
10045
10050
  }
10046
10051
  };
10047
10052
 
10048
- script$i.__file = "src/widgets/Switch.vue";
10053
+ script$j.__file = "src/widgets/Switch.vue";
10049
10054
 
10050
10055
  const mimes = {
10051
10056
  ".323": "text/h323",
@@ -10576,9 +10581,9 @@ const suffixHooks = {
10576
10581
  'T' ? 1024 * 1024 * 1024 * 1024 : 1)
10577
10582
  };
10578
10583
 
10579
- var script$h = {
10584
+ var script$i = {
10580
10585
  name: 'w-fileupload',
10581
- mixins: [script$B],
10586
+ mixins: [script$C],
10582
10587
  props: ['uploadSrc', 'thumbnailSrc', 'downloadSrc', 'uploadLimit', 'sizeLimit', 'maxFileSize', 'minFileSize',
10583
10588
  'fileTypes', 'filter', 'success', 'error', 'itemWidth', 'align', 'vertical', 'gap', 'checkFile'
10584
10589
  ],
@@ -10782,7 +10787,7 @@ const suffixHooks = {
10782
10787
  onclick: e => this.remove(item)
10783
10788
  })];
10784
10789
  if (value && this.$slots.menu) {
10785
- button.push(h(script$10, null, {
10790
+ button.push(h(script$11, null, {
10786
10791
  target: () => h('div', {
10787
10792
  class: 'w-fileupload-value-menu f-i f-i-ellipsis',
10788
10793
  title: $$1.loc.more,
@@ -10834,14 +10839,14 @@ const suffixHooks = {
10834
10839
  },
10835
10840
  html_input_button() {
10836
10841
  return h('div', {}, [
10837
- h(script$L, {
10842
+ h(script$M, {
10838
10843
  ref: 'uploadbbr',
10839
10844
  class: 'w-fileupload-bbr',
10840
10845
  gap: 10,
10841
10846
  }, {
10842
10847
  default: () => [
10843
10848
  this.$slots.button ? this.$slots.button(this) :
10844
- h(script$11, {
10849
+ h(script$12, {
10845
10850
  text: '选择文件',
10846
10851
  icon: '.f-i .f-i-upload',
10847
10852
  class: 'w-fileupload-button',
@@ -10916,9 +10921,9 @@ const suffixHooks = {
10916
10921
  }
10917
10922
  };
10918
10923
 
10919
- script$h.__file = "src/widgets/FileUpload.vue";
10924
+ script$i.__file = "src/widgets/FileUpload.vue";
10920
10925
 
10921
- var script$g = {
10926
+ var script$h = {
10922
10927
  props: ['item'],
10923
10928
  inject: ['provideUpload'],
10924
10929
  data() {
@@ -11097,12 +11102,12 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
11097
11102
  ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "src", "data-url", "width", "img-width", "img-height", "tip", "onClick"]))
11098
11103
  }
11099
11104
 
11100
- script$g.render = render$2;
11101
- script$g.__file = "src/widgets/MediaUploadItem.vue";
11105
+ script$h.render = render$2;
11106
+ script$h.__file = "src/widgets/MediaUploadItem.vue";
11102
11107
 
11103
- var script$f = {
11108
+ var script$g = {
11104
11109
  name: 'w-mediaupload',
11105
- mixins: [script$h],
11110
+ mixins: [script$i],
11106
11111
  props: ['thumbnailWidth', 'thumbnailHeight', 'showFileName'],
11107
11112
  provide() {
11108
11113
  return {
@@ -11123,17 +11128,17 @@ var script$f = {
11123
11128
  return this.list.map((item, index) => {
11124
11129
  let key = item.value ? item.value.id : item.key;
11125
11130
  if (!key) {item.key = key = $$1.uid();}
11126
- return h(script$g, {item, index, key})
11131
+ return h(script$h, {item, index, key})
11127
11132
  })
11128
11133
  },
11129
11134
  html_input_button() {
11130
11135
  return h('div', {}, [
11131
- h(script$L, {
11136
+ h(script$M, {
11132
11137
  ref: 'uploadbbr',
11133
11138
  class: 'w-fileupload-bbr'
11134
11139
  }, {
11135
11140
  default: () => [
11136
- this.$slots.button ? this.$slots.button(this) : h(script$11, {
11141
+ this.$slots.button ? this.$slots.button(this) : h(script$12, {
11137
11142
  ref: 'uploadbutton',
11138
11143
  title: $$1.loc.form.choose_image,
11139
11144
  icon: '.f-i .f-i-plus',
@@ -11151,7 +11156,7 @@ var script$f = {
11151
11156
  ])
11152
11157
  },
11153
11158
  html_input() {
11154
- return this.html_input_form().concat(h(script$1f, {
11159
+ return this.html_input_form().concat(h(script$1g, {
11155
11160
  width: '*',
11156
11161
  class: 'w-mediaupload-list',
11157
11162
  align: this.x.align,
@@ -11170,11 +11175,11 @@ var script$f = {
11170
11175
  }
11171
11176
  };
11172
11177
 
11173
- script$f.__file = "src/widgets/MediaUpload.vue";
11178
+ script$g.__file = "src/widgets/MediaUpload.vue";
11174
11179
 
11175
- var script$e = {
11180
+ var script$f = {
11176
11181
  name: 'w-imageupload',
11177
- mixins: [script$f],
11182
+ mixins: [script$g],
11178
11183
  methods: {
11179
11184
  x_default() {
11180
11185
  return {
@@ -11193,11 +11198,11 @@ var script$e = {
11193
11198
  },
11194
11199
  };
11195
11200
 
11196
- script$e.__file = "src/widgets/ImageUpload.vue";
11201
+ script$f.__file = "src/widgets/ImageUpload.vue";
11197
11202
 
11198
- var script$d = {
11203
+ var script$e = {
11199
11204
  name: 'w-option',
11200
- mixins: [script$1i],
11205
+ mixins: [script$1j],
11201
11206
  props: ['value', 'text', 'disabled'],
11202
11207
  inject: ['provideOptionParent'],
11203
11208
  methods: {
@@ -11242,12 +11247,12 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
11242
11247
  ], 16 /* FULL_PROPS */, _hoisted_1$1))
11243
11248
  }
11244
11249
 
11245
- script$d.render = render$1;
11246
- script$d.__file = "src/widgets/Option.vue";
11250
+ script$e.render = render$1;
11251
+ script$e.__file = "src/widgets/Option.vue";
11247
11252
 
11248
- var script$c = {
11253
+ var script$d = {
11249
11254
  name: 'w-spinner',
11250
- mixins: [script$n],
11255
+ mixins: [script$o],
11251
11256
  inject: ['provideRangeParent'],
11252
11257
  props: ['decimal', 'format', 'showButton', 'buttonPosition', 'step', 'autoFix', 'compare', 'minValue', 'maxValue'],
11253
11258
  mounted() {
@@ -11468,11 +11473,11 @@ var script$c = {
11468
11473
  }
11469
11474
  };
11470
11475
 
11471
- script$c.__file = "src/widgets/Spinner.vue";
11476
+ script$d.__file = "src/widgets/Spinner.vue";
11472
11477
 
11473
- var script$b = {
11478
+ var script$c = {
11474
11479
  name: 'w-datepicker',
11475
- mixins: [script$n],
11480
+ mixins: [script$o],
11476
11481
  inject: ['provideRangeParent'],
11477
11482
  props: ['showButton', 'multiple', 'format', 'autoFix', 'compare', 'minValue', 'maxValue', 'dropProps', 'enableHour', 'enableMinute', 'enableSecond',
11478
11483
  'defaultHour', 'defaultMinute', 'defaultSecond'],
@@ -11624,8 +11629,8 @@ var script$b = {
11624
11629
  indent: 1
11625
11630
  };
11626
11631
  dropProps = this.mergeDropProps(dropProps);
11627
- r.push(h(script$1b, dropProps, {
11628
- default: () => h(script$s, {
11632
+ r.push(h(script$1c, dropProps, {
11633
+ default: () => h(script$t, {
11629
11634
  height: '*',
11630
11635
  pad: true,
11631
11636
  current: this.currentDate || this.x.modelValue || '',
@@ -11736,11 +11741,11 @@ var script$b = {
11736
11741
  }
11737
11742
  };
11738
11743
 
11739
- script$b.__file = "src/widgets/DatePicker.vue";
11744
+ script$c.__file = "src/widgets/DatePicker.vue";
11740
11745
 
11741
- var script$a = {
11746
+ var script$b = {
11742
11747
  name: 'w-dropbox',
11743
- mixins: [script$B],
11748
+ mixins: [script$C],
11744
11749
  provide() {
11745
11750
  return {
11746
11751
  provideOptionParent: this,
@@ -11812,7 +11817,7 @@ var script$a = {
11812
11817
  scrollView: '.z-on'
11813
11818
  };
11814
11819
  dropProps = this.mergeDropProps(dropProps);
11815
- r.push(h(script$1b, dropProps, this.$slots));
11820
+ r.push(h(script$1c, dropProps, this.$slots));
11816
11821
  }
11817
11822
  return r
11818
11823
  },
@@ -11855,11 +11860,11 @@ var script$a = {
11855
11860
  }
11856
11861
  };
11857
11862
 
11858
- script$a.__file = "src/widgets/DropBox.vue";
11863
+ script$b.__file = "src/widgets/DropBox.vue";
11859
11864
 
11860
- var script$9 = {
11865
+ var script$a = {
11861
11866
  name: 'w-pickbox',
11862
- mixins: [script$a],
11867
+ mixins: [script$b],
11863
11868
  props: ['picker'],
11864
11869
  methods: {
11865
11870
  // implement
@@ -11929,11 +11934,11 @@ var script$9 = {
11929
11934
  }
11930
11935
  };
11931
11936
 
11932
- script$9.__file = "src/widgets/PickBox.vue";
11937
+ script$a.__file = "src/widgets/PickBox.vue";
11933
11938
 
11934
- var script$8 = {
11939
+ var script$9 = {
11935
11940
  name: 'w-password',
11936
- mixins: [script$n],
11941
+ mixins: [script$o],
11937
11942
  props: ['compare'],
11938
11943
  methods: {
11939
11944
  getCompareError(v, r) {
@@ -11963,11 +11968,11 @@ var script$8 = {
11963
11968
  }
11964
11969
  };
11965
11970
 
11966
- script$8.__file = "src/widgets/Password.vue";
11971
+ script$9.__file = "src/widgets/Password.vue";
11967
11972
 
11968
- var script$7 = {
11973
+ var script$8 = {
11969
11974
  name: 'w-range',
11970
- mixins: [script$B],
11975
+ mixins: [script$C],
11971
11976
  provide() {
11972
11977
  return {
11973
11978
  provideRangeParent: this
@@ -12003,11 +12008,11 @@ var script$7 = {
12003
12008
  }
12004
12009
  };
12005
12010
 
12006
- script$7.__file = "src/widgets/Range.vue";
12011
+ script$8.__file = "src/widgets/Range.vue";
12007
12012
 
12008
- var script$6 = {
12013
+ var script$7 = {
12009
12014
  name: 'w-combobox',
12010
- mixins: [script$B],
12015
+ mixins: [script$C],
12011
12016
  props: ['multiple', 'strict', 'dropper', 'picker', 'dropProps', 'br', 'clearable'],
12012
12017
  emits: ['input', 'click:item', 'blur', 'focus', 'clear'],
12013
12018
  data() {
@@ -12253,7 +12258,7 @@ var script$6 = {
12253
12258
  scrollY: true
12254
12259
  };
12255
12260
  dropProps = this.mergeDropProps(dropProps);
12256
- r.push(h(script$1b, dropProps, this.$slots));
12261
+ r.push(h(script$1c, dropProps, this.$slots));
12257
12262
  }
12258
12263
  return [
12259
12264
  this.html_input_hidden(),
@@ -12340,11 +12345,11 @@ var script$6 = {
12340
12345
  }
12341
12346
  };
12342
12347
 
12343
- script$6.__file = "src/widgets/ComboBox.vue";
12348
+ script$7.__file = "src/widgets/ComboBox.vue";
12344
12349
 
12345
- var script$5 = {
12350
+ var script$6 = {
12346
12351
  name: 'w-linkbox',
12347
- mixins: [script$B],
12352
+ mixins: [script$C],
12348
12353
  props: ['multiple', 'picker', 'dropProps', 'separator', 'strict', 'br', 'clearable'],
12349
12354
  emits: ['input', 'dblclick:item', 'clear'],
12350
12355
  created() {
@@ -12725,7 +12730,7 @@ var script$5 = {
12725
12730
  scrollY: true
12726
12731
  };
12727
12732
  dropProps = this.mergeDropProps(dropProps);
12728
- r.push(h(script$1b, dropProps, this.$slots));
12733
+ r.push(h(script$1c, dropProps, this.$slots));
12729
12734
  }
12730
12735
  return [
12731
12736
  this.html_input_hidden(),
@@ -12802,9 +12807,9 @@ var script$5 = {
12802
12807
  }
12803
12808
  };
12804
12809
 
12805
- script$5.__file = "src/widgets/LinkBox.vue";
12810
+ script$6.__file = "src/widgets/LinkBox.vue";
12806
12811
 
12807
- var script$4 = {
12812
+ var script$5 = {
12808
12813
  props: ['width', 'height', 'context'],
12809
12814
  data() {
12810
12815
  return {
@@ -12882,14 +12887,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
12882
12887
  }, 8 /* PROPS */, ["width", "height", "context"]))
12883
12888
  }
12884
12889
 
12885
- script$4.render = render;
12886
- script$4.__file = "src/template/TemplateJigsaw.vue";
12890
+ script$5.render = render;
12891
+ script$5.__file = "src/template/TemplateJigsaw.vue";
12887
12892
 
12888
12893
  const init_text = $$1.loc.form.jigsaw_drag_right;
12889
12894
 
12890
- var script$3 = {
12895
+ var script$4 = {
12891
12896
  name: 'w-jigsaw',
12892
- mixins: [script$B],
12897
+ mixins: [script$C],
12893
12898
  emits: ['drop', 'click:refresh'],
12894
12899
  props: ['big', 'small', 'dropWidth'],
12895
12900
  data() {
@@ -13032,7 +13037,7 @@ const init_text = $$1.loc.form.jigsaw_drag_right;
13032
13037
  if (this.showDrop) {
13033
13038
  let width = Math.max($$1.number(this.x.dropWidth), $$1.bcr(this.el('form')).width);
13034
13039
  let height = Math.ceil(width * (this.x.big.height / this.x.big.width));
13035
- r.push(h(script$4, {
13040
+ r.push(h(script$5, {
13036
13041
  ownproperty: true,
13037
13042
  width,
13038
13043
  height,
@@ -13070,11 +13075,11 @@ const init_text = $$1.loc.form.jigsaw_drag_right;
13070
13075
  }
13071
13076
  };
13072
13077
 
13073
- script$3.__file = "src/widgets/Jigsaw.vue";
13078
+ script$4.__file = "src/widgets/Jigsaw.vue";
13074
13079
 
13075
- var script$2 = {
13080
+ var script$3 = {
13076
13081
  name: 'w-form',
13077
- mixins: [script$B],
13082
+ mixins: [script$C],
13078
13083
  props: ['vertical'],
13079
13084
  methods: {
13080
13085
  getInputValue(mv) {
@@ -13116,11 +13121,60 @@ var script$2 = {
13116
13121
  },
13117
13122
  };
13118
13123
 
13119
- script$2.__file = "src/widgets/Form.vue";
13124
+ script$3.__file = "src/widgets/Form.vue";
13125
+
13126
+ var script$2 = {
13127
+ name: 'w-formgroup',
13128
+ mixins: [script$C],
13129
+ props: ['columns', 'rows', 'gap', 'defaultColspan'],
13130
+ methods: {
13131
+ x_default() {
13132
+ return {
13133
+ columns: 12,
13134
+ gap: 0,
13135
+ }
13136
+ },
13137
+ getInputValue(mv) {
13138
+ return mv == null ? '' : typeof mv === 'object' ? JSON.stringify(mv) : mv
13139
+ },
13140
+ html_input() {
13141
+ return [
13142
+ this.html_input_hidden(),
13143
+ this.$slots.default && this.$slots.default()
13144
+ ]
13145
+ },
13146
+ },
13147
+ computed: {
13148
+ validHooks() {
13149
+ return {
13150
+ ...this.pubValidHooks
13151
+ }
13152
+ },
13153
+ html_style() {
13154
+ let cols = this.x.columns;
13155
+ if ($$1.isNumber(cols)) cols = `repeat(${cols}, 1fr)`;
13156
+ let rows = this.x.rows;
13157
+ if ($$1.isNumber(rows)) rows = `repeat(${rows}, 1fr)`;
13158
+ this.x.defaultColspan;
13159
+ return {
13160
+ '--w-fromgroup-template-columns': cols,
13161
+ '--w-fromgroup-template-rows': rows,
13162
+ '--w-grid-gap': this.x.gap ? $$1.unitSize(this.x.gap) : '',
13163
+ }
13164
+ },
13165
+ form_prop() {
13166
+ return this.name && {
13167
+ onclick: e => this.warn(false)
13168
+ }
13169
+ }
13170
+ },
13171
+ };
13172
+
13173
+ script$2.__file = "src/widgets/FormGroup.vue";
13120
13174
 
13121
13175
  var script$1 = {
13122
13176
  name: 'w-rate',
13123
- mixins: [script$B],
13177
+ mixins: [script$C],
13124
13178
  props: ['allowHalf', 'cancelable', 'sum', 'count', 'text'],
13125
13179
  data() {
13126
13180
  return {
@@ -13144,7 +13198,7 @@ var script$1 = {
13144
13198
  this.x.modelValue = this.x.cancelable && this.x.modelValue == i ? '' : i;
13145
13199
  },
13146
13200
  html_star(i) {
13147
- return h(script$14, {
13201
+ return h(script$15, {
13148
13202
  class: ['w-rate-star-icon', {'z-hv': this.hoverWrap && i <= this.hoverIndex, 'z-on': !this.hoverWrap && i <= this.x.modelValue}],
13149
13203
  src: '.f-i .f-i-star-full',
13150
13204
  onMouseenter: e => this.hoverItem(e, i),
@@ -13195,26 +13249,23 @@ script$1.__file = "src/widgets/Rate.vue";
13195
13249
  minimumFractionDigits: 0,
13196
13250
  maximumFractionDigits: 20 // 限制精度防止溢出
13197
13251
  });
13198
-
13199
13252
  // Step 2: 处理科学计数法(如 0.0000001 → 1e-7)
13200
13253
  if (numStr.includes('e')) {
13201
13254
  const [sig, exp] = numStr.split('e');
13202
- const exponent = parseInt(exp, 10);
13203
- numStr = Number(num).toFixed(Math.abs(exponent) + (sig.split('.')?.length || 0));
13255
+ const exponent = parseInt(exp, 10);
13256
+ numStr = Number(num).toFixed(Math.abs(exponent) + (sig.split('.').length || 0));
13204
13257
  }
13205
-
13206
13258
  // Step 3: 分割整数和小数部分
13207
13259
  const [integer, decimal] = numStr.split('.');
13208
- if (!decimal) return 0;
13209
-
13260
+ if (!decimal) return 0
13210
13261
  // Step 4: 可选去除末尾零
13211
13262
  const trimmed = trimZeros ? decimal.replace(/0+$/, '') : decimal;
13212
- return trimmed.length;
13263
+ return trimmed.length
13213
13264
  }
13214
13265
 
13215
13266
  var script = {
13216
13267
  name: 'w-slider',
13217
- mixins: [script$B],
13268
+ mixins: [script$C],
13218
13269
  props: ['minValue', 'maxValue', 'step'],
13219
13270
  emits: ['drop'],
13220
13271
  data() {
@@ -13297,11 +13348,11 @@ script$1.__file = "src/widgets/Rate.vue";
13297
13348
  script.__file = "src/widgets/Slider.vue";
13298
13349
 
13299
13350
  const components = [
13300
- script$1j, script$1d, script$1b, script$19, script$17, script$15, script$10, script$$,
13301
- 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,
13302
- 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,
13303
- 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,
13304
- script$c, script$b, script$a, script$9, script$8, script$7, script$6, script$5, script$3, script$2, script$1, script
13351
+ script$1k, script$1e, script$1c, script$1a, script$18, script$16, script$11, script$10,
13352
+ script$P, script$1f, script$1g, script$$, script$_, script$Z, script$V, script$W, script$U, script$T, script$S, script$Q, script$N, script$O, script$J, script$I,
13353
+ script$H, script$15, script$M, script$12, script$13, script$G, script$F, script$z, script$E, script$y, script$x, script$w, script$v, script$u, script$t, script$s, script$r, script$q,
13354
+ script$D, script$p, script$o, script$n, script$m, script$B, script$l, script$k, script$A, script$j, script$i, script$g, script$f, script$e,
13355
+ script$d, script$c, script$b, script$a, script$9, script$8, script$7, script$6, script$4, script$3, script$2, script$1, script
13305
13356
  ];
13306
13357
 
13307
13358
  //每个组件从这里曝露,以便在某些特殊需求情境下,业务可以修改源码