dfish-widget 1.0.121 → 1.0.123

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
@@ -3822,7 +3822,7 @@ const O = {},
3822
3822
  }
3823
3823
  let s = [cover, this.html_self(true)];
3824
3824
  let r = to ? h(Teleport, {to}, s) : s;
3825
- 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
3826
3826
  }
3827
3827
  },
3828
3828
  computed: {
@@ -3939,12 +3939,12 @@ const O = {},
3939
3939
  }
3940
3940
  };
3941
3941
 
3942
- script$1b.__file = "src/widgets/Dialog.vue";
3942
+ script$1c.__file = "src/widgets/Dialog.vue";
3943
3943
 
3944
3944
  const _hoisted_1$9 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
3945
3945
 
3946
3946
 
3947
- var script$1a = {
3947
+ var script$1b = {
3948
3948
  __name: 'TemplateAlert',
3949
3949
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
3950
3950
  emits: ['save', 'close'],
@@ -4077,11 +4077,11 @@ return (_ctx, _cache) => {
4077
4077
 
4078
4078
  };
4079
4079
 
4080
- script$1a.__file = "src/template/TemplateAlert.vue";
4080
+ script$1b.__file = "src/template/TemplateAlert.vue";
4081
4081
 
4082
- var script$19 = {
4082
+ var script$1a = {
4083
4083
  name: 'w-alert',
4084
- mixins: [script$1b],
4084
+ mixins: [script$1c],
4085
4085
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4086
4086
  methods: {
4087
4087
  x_default() {
@@ -4111,7 +4111,7 @@ var script$19 = {
4111
4111
  },
4112
4112
  html_slots_default() {
4113
4113
  return h(
4114
- script$1a,
4114
+ script$1b,
4115
4115
  {
4116
4116
  text: this.x.text,
4117
4117
  title: this.x.title,
@@ -4127,12 +4127,12 @@ var script$19 = {
4127
4127
  }
4128
4128
  };
4129
4129
 
4130
- script$19.__file = "src/widgets/Alert.vue";
4130
+ script$1a.__file = "src/widgets/Alert.vue";
4131
4131
 
4132
4132
  const _hoisted_1$8 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
4133
4133
 
4134
4134
 
4135
- var script$18 = {
4135
+ var script$19 = {
4136
4136
  __name: 'TemplateConfirm',
4137
4137
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
4138
4138
  emits: ['save', 'close'],
@@ -4272,11 +4272,11 @@ return (_ctx, _cache) => {
4272
4272
 
4273
4273
  };
4274
4274
 
4275
- script$18.__file = "src/template/TemplateConfirm.vue";
4275
+ script$19.__file = "src/template/TemplateConfirm.vue";
4276
4276
 
4277
- var script$17 = {
4277
+ var script$18 = {
4278
4278
  name: 'w-confirm',
4279
- mixins: [script$1b],
4279
+ mixins: [script$1c],
4280
4280
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4281
4281
  methods: {
4282
4282
  x_default() {
@@ -4306,7 +4306,7 @@ var script$17 = {
4306
4306
  },
4307
4307
  html_slots_default() {
4308
4308
  return h(
4309
- script$18,
4309
+ script$19,
4310
4310
  {
4311
4311
  text: this.x.text,
4312
4312
  title: this.x.title,
@@ -4322,7 +4322,7 @@ var script$17 = {
4322
4322
  }
4323
4323
  };
4324
4324
 
4325
- script$17.__file = "src/widgets/Confirm.vue";
4325
+ script$18.__file = "src/widgets/Confirm.vue";
4326
4326
 
4327
4327
  const _hoisted_1$7 = { class: "w-tip-body" };
4328
4328
  const _hoisted_2$7 = {
@@ -4332,7 +4332,7 @@ const _hoisted_2$7 = {
4332
4332
  const _hoisted_3$5 = ["innerHTML"];
4333
4333
 
4334
4334
 
4335
- var script$16 = {
4335
+ var script$17 = {
4336
4336
  __name: 'TemplateTip',
4337
4337
  props: ['text', 'escape'],
4338
4338
  setup(__props) {
@@ -4356,7 +4356,7 @@ return (_ctx, _cache) => {
4356
4356
 
4357
4357
  };
4358
4358
 
4359
- script$16.__file = "src/template/TemplateTip.vue";
4359
+ script$17.__file = "src/template/TemplateTip.vue";
4360
4360
 
4361
4361
  let inst$1 = null;
4362
4362
  let tipCache = {
@@ -4364,9 +4364,9 @@ let inst$1 = null;
4364
4364
  list: []
4365
4365
  };
4366
4366
 
4367
- var script$15 = {
4367
+ var script$16 = {
4368
4368
  name: 'w-tip',
4369
- mixins: [script$1b],
4369
+ mixins: [script$1c],
4370
4370
  props: ['face', 'text', 'escape'],
4371
4371
  provide() {
4372
4372
  return {
@@ -4383,7 +4383,7 @@ let inst$1 = null;
4383
4383
  }
4384
4384
  },
4385
4385
  html_slots_default() {
4386
- 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)
4387
4387
  },
4388
4388
  // implement
4389
4389
  setVisibleSub(a) {
@@ -4423,12 +4423,12 @@ let inst$1 = null;
4423
4423
  }
4424
4424
  };
4425
4425
 
4426
- script$15.__file = "src/widgets/Tip.vue";
4426
+ script$16.__file = "src/widgets/Tip.vue";
4427
4427
 
4428
- var script$14 = {
4428
+ var script$15 = {
4429
4429
  name: 'w-img',
4430
4430
  pubParentName: 'w-album',
4431
- mixins: [script$1i],
4431
+ mixins: [script$1j],
4432
4432
  inject: ['providePubParent'],
4433
4433
  props: ['src', 'text', 'square', 'imgWidth', 'imgHeight', 'dataUrl', 'vertical', 'disabled'],
4434
4434
  data() {
@@ -4474,7 +4474,7 @@ var script$14 = {
4474
4474
  class: 'w-img-cover f-abs-full'
4475
4475
  }, this.$slots.cover())
4476
4476
  ]),
4477
- cont && h(script$1e, {
4477
+ cont && h(script$1f, {
4478
4478
  class: 'w-img-description'
4479
4479
  }, cont)
4480
4480
  ]
@@ -4508,11 +4508,11 @@ var script$14 = {
4508
4508
  }
4509
4509
  };
4510
4510
 
4511
- script$14.__file = "src/widgets/Img.vue";
4511
+ script$15.__file = "src/widgets/Img.vue";
4512
4512
 
4513
- var script$13 = {
4513
+ var script$14 = {
4514
4514
  pubParentName: 'w-buttonbar',
4515
- mixins: [script$1i],
4515
+ mixins: [script$1j],
4516
4516
  props: ['text', 'icon', 'focusIcon', 'dropIcon', 'focusDropIcon', 'arrowIcon', 'face', 'target', 'closable', 'dropToggle', 'loading', 'disabled', 'vertical', 'hoverShowDrop', 'dropProps', 'showArrowIcon'],
4517
4517
  inject: ['providePubParent', 'provideMenu_w'],
4518
4518
  emits: ['click:close', 'dropClose'],
@@ -4608,7 +4608,7 @@ var script$13 = {
4608
4608
  if (this.x.loading) {
4609
4609
  r.push(h('div', {
4610
4610
  class: 'w-button-loading f-abs-full f-flex-center'
4611
- }, h(script$14, {
4611
+ }, h(script$15, {
4612
4612
  src: '#f-svg-loading'
4613
4613
  })));
4614
4614
  }
@@ -4626,7 +4626,7 @@ var script$13 = {
4626
4626
  }, h('span', {class: 'w-button-text-line f-line-1', title}, t)));
4627
4627
  }
4628
4628
  if (this.isMore && this.x.showArrowIcon) {
4629
- r.push(h(script$14, {
4629
+ r.push(h(script$15, {
4630
4630
  class: 'w-button-more f-flex-center f-height',
4631
4631
  src: this.x.arrowIcon || '.f-i .f-i-caret-down'
4632
4632
  }));
@@ -4644,7 +4644,7 @@ var script$13 = {
4644
4644
  class: 'w-button-main f-oh f-height',
4645
4645
  ...(this.isCombo && !this.isDisabled && this.mouses),
4646
4646
  }, r),
4647
- this.isCombo && h(script$14, {
4647
+ this.isCombo && h(script$15, {
4648
4648
  class: 'w-button-drop f-flex-center f-height',
4649
4649
  src: '.f-i .f-i-caret-down',
4650
4650
  ...(!this.isDisabled && this.mouses),
@@ -4695,11 +4695,11 @@ var script$13 = {
4695
4695
  }
4696
4696
  };
4697
4697
 
4698
- script$13.__file = "src/widgets/ButtonAbs.vue";
4698
+ script$14.__file = "src/widgets/ButtonAbs.vue";
4699
4699
 
4700
- var script$12 = {
4700
+ var script$13 = {
4701
4701
  name: 'w-menubutton',
4702
- mixins: [script$13],
4702
+ mixins: [script$14],
4703
4703
  methods: {
4704
4704
  ajax(...args) {
4705
4705
  return this.parentMenu.rootCommander.ajax(...args)
@@ -4762,7 +4762,7 @@ var script$12 = {
4762
4762
  onclick: this.clickClose
4763
4763
  })));
4764
4764
  }
4765
- r.push(h(script$14, {
4765
+ r.push(h(script$15, {
4766
4766
  class: 'w-menubutton-drop f-flex-center f-height',
4767
4767
  src: this.isMore ? (this.x.arrowIcon || '.f-i .f-i-caret-right') : ''
4768
4768
  }));
@@ -4814,11 +4814,11 @@ var script$12 = {
4814
4814
  },
4815
4815
  };
4816
4816
 
4817
- script$12.__file = "src/widgets/MenuButton.vue";
4817
+ script$13.__file = "src/widgets/MenuButton.vue";
4818
4818
 
4819
- var script$11 = {
4819
+ var script$12 = {
4820
4820
  name: 'w-button',
4821
- mixins: [script$13],
4821
+ mixins: [script$14],
4822
4822
  props: ['autoMenuButton'],
4823
4823
  methods: {
4824
4824
  x_default() {
@@ -4830,14 +4830,14 @@ var script$11 = {
4830
4830
  },
4831
4831
  render() {
4832
4832
  if (this.provideMenu_w && this.x.autoMenuButton) {
4833
- return h(script$12, this.$props, this.$slots)
4833
+ return h(script$13, this.$props, this.$slots)
4834
4834
  } else {
4835
4835
  return this.html()
4836
4836
  }
4837
4837
  }
4838
4838
  };
4839
4839
 
4840
- script$11.__file = "src/widgets/Button.vue";
4840
+ script$12.__file = "src/widgets/Button.vue";
4841
4841
 
4842
4842
  let inst = null;
4843
4843
 
@@ -4852,9 +4852,9 @@ let inst = null;
4852
4852
  return inst && (ctx.hasBubble(inst.context) || inst.hasBubble(ctx))
4853
4853
  }
4854
4854
 
4855
- var script$10 = {
4855
+ var script$11 = {
4856
4856
  name: 'w-menu',
4857
- mixins: [script$1b],
4857
+ mixins: [script$1c],
4858
4858
  provide() {
4859
4859
  return {
4860
4860
  provideMenu_w: this
@@ -4930,7 +4930,7 @@ let inst = null;
4930
4930
  }, h('i', {
4931
4931
  class: 'f-i f-i-caret-up'
4932
4932
  })),
4933
- h(script$1e, {
4933
+ h(script$1f, {
4934
4934
  class: 'w-menu-bbr',
4935
4935
  height: '*',
4936
4936
  ref: 'bbr',
@@ -4985,11 +4985,11 @@ let inst = null;
4985
4985
  }
4986
4986
  };
4987
4987
 
4988
- script$10.__file = "src/widgets/Menu.vue";
4988
+ script$11.__file = "src/widgets/Menu.vue";
4989
4989
 
4990
- var script$$ = {
4990
+ var script$10 = {
4991
4991
  name: 'w-loading',
4992
- mixins: [script$1b],
4992
+ mixins: [script$1c],
4993
4993
  props: ['text', 'icon'],
4994
4994
  methods: {
4995
4995
  x_default() {
@@ -4998,7 +4998,7 @@ var script$$ = {
4998
4998
  }
4999
4999
  },
5000
5000
  html_slots() {
5001
- return h(script$14, {
5001
+ return h(script$15, {
5002
5002
  src: this.x.icon !== undefined ? this.x.icon : '#f-svg-loading',
5003
5003
  text: this.x.text !== undefined ? this.x.text : $$1.loc.loading
5004
5004
  })
@@ -5011,11 +5011,11 @@ var script$$ = {
5011
5011
  }
5012
5012
  };
5013
5013
 
5014
- script$$.__file = "src/widgets/Loading.vue";
5014
+ script$10.__file = "src/widgets/Loading.vue";
5015
5015
 
5016
- var script$_ = {
5016
+ var script$$ = {
5017
5017
  name: 'w-table',
5018
- mixins: [script$1i],
5018
+ mixins: [script$1j],
5019
5019
  props: ['face', 'scroll-x', 'scroll-y'],
5020
5020
  provide() {
5021
5021
  return {
@@ -5132,22 +5132,22 @@ var script$_ = {
5132
5132
  }
5133
5133
  };
5134
5134
 
5135
- script$_.__file = "src/widgets/Table.vue";
5135
+ script$$.__file = "src/widgets/Table.vue";
5136
5136
 
5137
- var script$Z = {
5137
+ var script$_ = {
5138
5138
  name: 'w-columns'
5139
5139
  };
5140
5140
 
5141
- script$Z.__file = "src/widgets/TableColumns.vue";
5141
+ script$_.__file = "src/widgets/TableColumns.vue";
5142
5142
 
5143
- var script$Y = {
5143
+ var script$Z = {
5144
5144
  name: 'w-column',
5145
5145
  props: ['width', 'minWidth'],
5146
5146
  };
5147
5147
 
5148
- script$Y.__file = "src/widgets/TableColumn.vue";
5148
+ script$Z.__file = "src/widgets/TableColumn.vue";
5149
5149
 
5150
- var script$X = {
5150
+ var script$Y = {
5151
5151
  props: ['pub', 'current'],
5152
5152
  provide() {
5153
5153
  return {
@@ -5178,21 +5178,21 @@ var script$X = {
5178
5178
  }
5179
5179
  };
5180
5180
 
5181
- script$X.__file = "src/widgets/PubParent.vue";
5181
+ script$Y.__file = "src/widgets/PubParent.vue";
5182
5182
 
5183
5183
  function render$5(_ctx, _cache) {
5184
5184
  return renderSlot(_ctx.$slots, "default")
5185
5185
  }
5186
5186
 
5187
- const script$W = {};
5187
+ const script$X = {};
5188
5188
 
5189
5189
 
5190
- script$W.render = render$5;
5191
- script$W.__file = "src/widgets/SlotDefault.vue";
5190
+ script$X.render = render$5;
5191
+ script$X.__file = "src/widgets/SlotDefault.vue";
5192
5192
 
5193
- var script$V = {
5193
+ var script$W = {
5194
5194
  name: 'w-thead',
5195
- mixins: [script$1i, script$X],
5195
+ mixins: [script$1j, script$Y],
5196
5196
  props: ['br', 'sort'],
5197
5197
  inject: ['_provideTable'],
5198
5198
  provide() {
@@ -5229,7 +5229,7 @@ var script$V = {
5229
5229
  return t
5230
5230
  });
5231
5231
  if (key) {
5232
- return h(script$W, {key}, {default: () => row})
5232
+ return h(script$X, {key}, {default: () => row})
5233
5233
  } else {
5234
5234
  return row
5235
5235
  }
@@ -5285,11 +5285,11 @@ var script$V = {
5285
5285
  }
5286
5286
  };
5287
5287
 
5288
- script$V.__file = "src/widgets/TableTHead.vue";
5288
+ script$W.__file = "src/widgets/TableTHead.vue";
5289
5289
 
5290
- var script$U = {
5290
+ var script$V = {
5291
5291
  name: 'w-tbody',
5292
- mixins: [script$V, script$1h],
5292
+ mixins: [script$W, script$1i],
5293
5293
  inject: ['_provideTable'],
5294
5294
  props: ['children'],
5295
5295
  provide() {
@@ -5357,12 +5357,12 @@ var script$U = {
5357
5357
  }
5358
5358
  };
5359
5359
 
5360
- script$U.__file = "src/widgets/TableTBody.vue";
5360
+ script$V.__file = "src/widgets/TableTBody.vue";
5361
5361
 
5362
- var script$T = {
5362
+ var script$U = {
5363
5363
  name: 'w-tr',
5364
5364
  pubParentName: 'w-tbody,w-thead',
5365
- mixins: [script$1i, script$1o],
5365
+ mixins: [script$1j, script$1p],
5366
5366
  props: ['rowIndex', 'expanded', 'children'],
5367
5367
  inject: ['_provideTable', 'providePubParent', 'provideInBody', '_provideTBody', 'provideLevel', 'provideParentTR'],
5368
5368
  provide() {
@@ -5446,7 +5446,7 @@ var script$T = {
5446
5446
  }
5447
5447
  }
5448
5448
  if (key) {
5449
- return h(script$W, {key}, {default: () => row})
5449
+ return h(script$X, {key}, {default: () => row})
5450
5450
  } else {
5451
5451
  return row
5452
5452
  }
@@ -5490,9 +5490,9 @@ var script$T = {
5490
5490
 
5491
5491
  };
5492
5492
 
5493
- script$T.__file = "src/widgets/TableTR.vue";
5493
+ script$U.__file = "src/widgets/TableTR.vue";
5494
5494
 
5495
- var script$S = {
5495
+ var script$T = {
5496
5496
  name: 'w-td',
5497
5497
  props: ['colspan', 'rowspan', 'align', 'valign', 'data'],
5498
5498
  inject: ['_provideTable', 'provideInBody'],
@@ -5529,11 +5529,11 @@ var script$S = {
5529
5529
  }
5530
5530
  };
5531
5531
 
5532
- script$S.__file = "src/widgets/TableTD.vue";
5532
+ script$T.__file = "src/widgets/TableTD.vue";
5533
5533
 
5534
- var script$R = {
5534
+ var script$S = {
5535
5535
  name: 'w-th',
5536
- mixins: [script$S, script$1i],
5536
+ mixins: [script$T, script$1j],
5537
5537
  props: ['sortable', 'sortOrders', 'sortOrderDefault'],
5538
5538
  inject: ['_provideThead'],
5539
5539
  emits: ['click:sort'],
@@ -5568,7 +5568,7 @@ var script$R = {
5568
5568
  this.$emit('click:sort', e, o);
5569
5569
  },
5570
5570
  html_slots() {
5571
- 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: () => [
5572
5572
  h('div', {class: 'w-th-title'}, this.$slots),
5573
5573
  this.x.sortable ? h('div', {class: 'w-th-sort f-flex-column f-flex-center f-oh'}, [
5574
5574
  h('i', {class: 'f-i f-i-caret-up f-oh w-th-sort-up', onClick: e => this.clickSort(e, 'asc')}),
@@ -5593,10 +5593,10 @@ var script$R = {
5593
5593
  }
5594
5594
  };
5595
5595
 
5596
- script$R.__file = "src/widgets/TableTH.vue";
5596
+ script$S.__file = "src/widgets/TableTH.vue";
5597
5597
 
5598
- var script$Q = {
5599
- mixins: [script$1e],
5598
+ var script$R = {
5599
+ mixins: [script$1f],
5600
5600
  emits: ['scroll'],
5601
5601
  methods: {
5602
5602
  onScroll(e) {
@@ -5605,7 +5605,7 @@ var script$Q = {
5605
5605
  }
5606
5606
  };
5607
5607
 
5608
- script$Q.__file = "src/widgets/TreeV2Wrap.vue";
5608
+ script$R.__file = "src/widgets/TreeV2Wrap.vue";
5609
5609
 
5610
5610
  const _hoisted_1$6 = { class: "'w-table-v2-th-text f-line-1" };
5611
5611
  const _hoisted_2$6 = { class: "w-tree-loading w-table-v2-loading" };
@@ -5619,7 +5619,7 @@ const _hoisted_6$2 = { class: "'w-table-v2-td-text f-line-1" };
5619
5619
  name: 'w-table-v2'
5620
5620
  };
5621
5621
 
5622
- var script$P = /*#__PURE__*/Object.assign(__default__$1, {
5622
+ var script$Q = /*#__PURE__*/Object.assign(__default__$1, {
5623
5623
  props: {
5624
5624
  alias: {
5625
5625
  type: Object,
@@ -5963,7 +5963,7 @@ return (_ctx, _cache) => {
5963
5963
  ]),
5964
5964
  _: 1 /* STABLE */
5965
5965
  }, 8 /* PROPS */, ["style"]),
5966
- createVNode(script$Q, {
5966
+ createVNode(script$R, {
5967
5967
  ref_key: "wrap",
5968
5968
  ref: wrap,
5969
5969
  height: "*",
@@ -6054,11 +6054,11 @@ return (_ctx, _cache) => {
6054
6054
 
6055
6055
  });
6056
6056
 
6057
- script$P.__file = "src/widgets/TableV2.vue";
6057
+ script$Q.__file = "src/widgets/TableV2.vue";
6058
6058
 
6059
- var script$O = {
6059
+ var script$P = {
6060
6060
  name: 'w-grid',
6061
- mixins: [script$1h],
6061
+ mixins: [script$1i],
6062
6062
  props: ['columns', 'rows', 'gap', 'defaultColspan', 'face', 'labelWidth'],
6063
6063
  methods: {
6064
6064
  x_default() {
@@ -6093,20 +6093,21 @@ var script$O = {
6093
6093
  return {
6094
6094
  'grid-template-columns': cols,
6095
6095
  'grid-template-rows': rows,
6096
- '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) : '',
6097
6098
  '--w-grid-colspan': (dc == -1 || !dc ? '' : `span ${dc}`),
6098
6099
  }
6099
6100
  }
6100
6101
  }
6101
6102
  };
6102
6103
 
6103
- script$O.__file = "src/widgets/Grid.vue";
6104
+ script$P.__file = "src/widgets/Grid.vue";
6104
6105
 
6105
- var script$N = {
6106
+ var script$O = {
6106
6107
  name: 'w-swiper-item',
6107
6108
  pubParentName: 'w-swiper',
6108
6109
  inject: ['providePubParent'],
6109
- mixins: [script$1i],
6110
+ mixins: [script$1j],
6110
6111
  props: ['lazy'],
6111
6112
  data() {
6112
6113
  return {
@@ -6139,11 +6140,11 @@ var script$N = {
6139
6140
  }
6140
6141
  };
6141
6142
 
6142
- script$N.__file = "src/widgets/SwiperItem.vue";
6143
+ script$O.__file = "src/widgets/SwiperItem.vue";
6143
6144
 
6144
- var script$M = {
6145
+ var script$N = {
6145
6146
  name: 'w-swiper',
6146
- mixins: [script$1i, script$X],
6147
+ mixins: [script$1j, script$Y],
6147
6148
  props: ['arrow', 'indicatorDots', 'duration'],
6148
6149
  data() {
6149
6150
  return {
@@ -6234,11 +6235,11 @@ var script$M = {
6234
6235
  }
6235
6236
  };
6236
6237
 
6237
- script$M.__file = "src/widgets/Swiper.vue";
6238
+ script$N.__file = "src/widgets/Swiper.vue";
6238
6239
 
6239
- var script$L = {
6240
+ var script$M = {
6240
6241
  name: 'w-buttonbar',
6241
- mixins: [script$1f, script$X],
6242
+ mixins: [script$1g, script$Y],
6242
6243
  props: ['vertical'],
6243
6244
  emits: ['click:item'],
6244
6245
  methods: {
@@ -6270,11 +6271,11 @@ var script$L = {
6270
6271
  }
6271
6272
  };
6272
6273
 
6273
- script$L.__file = "src/widgets/ButtonBar.vue";
6274
+ script$M.__file = "src/widgets/ButtonBar.vue";
6274
6275
 
6275
- var script$K = {
6276
+ var script$L = {
6276
6277
  name: 'w-tabbar',
6277
- mixins: [script$L],
6278
+ mixins: [script$M],
6278
6279
  props: ['vertical', 'arrow', 'quickCloseButton', 'flexSize', 'buttons'],
6279
6280
  emits: ['click:item', 'click:quickCloseButton'],
6280
6281
  data() {
@@ -6351,7 +6352,7 @@ var script$K = {
6351
6352
  },
6352
6353
  html_slots() {
6353
6354
  let group = h(TransitionGroup, {name: 'w-tabbar', onBeforeEnter: this.onBeforeEnter, onAfterEnter: this.onAfterEnter, onBeforeLeave: this.onBeforeLeave, onAfterLeave: this.onAfterLeave}, {default: () => this.buttons});
6354
- 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})];
6355
6356
  if (this.$slots.append) {
6356
6357
  gut.push(h('div', {ref: 'append', class: 'w-tabbar-append'}, this.slot('append')));
6357
6358
  }
@@ -6362,7 +6363,7 @@ var script$K = {
6362
6363
  if (this.x.quickCloseButton) {
6363
6364
  let closeAllDisabled = !this.buttons.find(c => c.props.closable);
6364
6365
  if (this.buttons.length) {
6365
- gut.push(h(script$11, {
6366
+ gut.push(h(script$12, {
6366
6367
  ref: 'quickCloseButton',
6367
6368
  data: {isQuickCloseButton: true},
6368
6369
  showArrowIcon: false,
@@ -6477,12 +6478,12 @@ var script$K = {
6477
6478
  }
6478
6479
  };
6479
6480
 
6480
- script$K.__file = "src/widgets/TabBar.vue";
6481
+ script$L.__file = "src/widgets/TabBar.vue";
6481
6482
 
6482
- var script$J = {
6483
+ var script$K = {
6483
6484
  name: 'w-tabbutton',
6484
6485
  pubParentName: 'w-tabbar',
6485
- mixins: [script$11],
6486
+ mixins: [script$12],
6486
6487
  methods: {
6487
6488
  vis() {
6488
6489
  let add = [20, 20];
@@ -6502,11 +6503,11 @@ var script$J = {
6502
6503
  }
6503
6504
  };
6504
6505
 
6505
- script$J.__file = "src/widgets/TabButton.vue";
6506
+ script$K.__file = "src/widgets/TabButton.vue";
6506
6507
 
6507
- var script$I = {
6508
+ var script$J = {
6508
6509
  name: 'w-tabs',
6509
- mixins: [script$1i],
6510
+ mixins: [script$1j],
6510
6511
  props: ['current', 'position', 'gap', 'face', 'quickCloseButton', 'flexSize'],
6511
6512
  emits: ['click:quickCloseButton'],
6512
6513
  methods: {
@@ -6532,11 +6533,11 @@ var script$I = {
6532
6533
  if (!v.props || v.props.key == null) {
6533
6534
  $$1.lodash.set(v, 'props.key', i);
6534
6535
  }
6535
- buttons.push(h(script$J, v.props));
6536
- 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));
6537
6538
  });
6538
6539
  return [
6539
- h(script$K, {
6540
+ h(script$L, {
6540
6541
  ref: 'tabBar',
6541
6542
  class: 'w-tabs-buttonbar',
6542
6543
  current: this.x.current,
@@ -6549,7 +6550,7 @@ var script$I = {
6549
6550
  'onClick:quickCloseButton': this.clickQuickCloseButton,
6550
6551
  buttons,
6551
6552
  }, this.$slots),
6552
- 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}),
6553
6554
  ]
6554
6555
  }
6555
6556
  },
@@ -6564,17 +6565,17 @@ var script$I = {
6564
6565
  }
6565
6566
  };
6566
6567
 
6567
- script$I.__file = "src/widgets/Tabs.vue";
6568
+ script$J.__file = "src/widgets/Tabs.vue";
6568
6569
 
6569
- var script$H = {
6570
+ var script$I = {
6570
6571
  name: 'w-tab',
6571
6572
  };
6572
6573
 
6573
- script$H.__file = "src/widgets/Tab.vue";
6574
+ script$I.__file = "src/widgets/Tab.vue";
6574
6575
 
6575
- var script$G = {
6576
+ var script$H = {
6576
6577
  name: 'w-album',
6577
- mixins: [script$1f, script$X],
6578
+ mixins: [script$1g, script$Y],
6578
6579
  methods: {
6579
6580
  x_default() {
6580
6581
  return {
@@ -6591,11 +6592,11 @@ var script$G = {
6591
6592
  }
6592
6593
  };
6593
6594
 
6594
- script$G.__file = "src/widgets/Album.vue";
6595
+ script$H.__file = "src/widgets/Album.vue";
6595
6596
 
6596
- var script$F = {
6597
+ var script$G = {
6597
6598
  name: 'w-html',
6598
- mixins: [script$1i, script$1g],
6599
+ mixins: [script$1j, script$1h],
6599
6600
  props: ['line'],
6600
6601
  computed: {
6601
6602
  html_props() {
@@ -6614,11 +6615,11 @@ var script$F = {
6614
6615
  }
6615
6616
  };
6616
6617
 
6617
- script$F.__file = "src/widgets/Html.vue";
6618
+ script$G.__file = "src/widgets/Html.vue";
6618
6619
 
6619
- var script$E = {
6620
+ var script$F = {
6620
6621
  name: 'w-tree',
6621
- mixins: [script$1h, script$X, script$1o],
6622
+ mixins: [script$1i, script$Y, script$1p],
6622
6623
  emits: ['click:item'],
6623
6624
  provide() {
6624
6625
  return {
@@ -6650,7 +6651,7 @@ var script$E = {
6650
6651
  const sl = this.slot('loading');
6651
6652
  r = sl && sl.length ? sl : h('div', {
6652
6653
  class: 'w-tree-loading'
6653
- }, 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}));
6654
6655
  } else {
6655
6656
  let chd = this.x.children;
6656
6657
  if (this.$slots.default) {
@@ -6664,7 +6665,7 @@ var script$E = {
6664
6665
  }
6665
6666
  }
6666
6667
  if (key) {
6667
- return h(script$W, {key}, {default: () => leaf})
6668
+ return h(script$X, {key}, {default: () => leaf})
6668
6669
  } else {
6669
6670
  return leaf
6670
6671
  }
@@ -6692,7 +6693,7 @@ var script$E = {
6692
6693
  }
6693
6694
  };
6694
6695
 
6695
- script$E.__file = "src/widgets/Tree.vue";
6696
+ script$F.__file = "src/widgets/Tree.vue";
6696
6697
 
6697
6698
  const _hoisted_1$5 = { class: "w-tree-loading w-tree-v2-loading" };
6698
6699
  const _hoisted_2$5 = ["onClick"];
@@ -6705,7 +6706,7 @@ const _hoisted_5$2 = ["title"];
6705
6706
  name: 'w-tree-v2'
6706
6707
  };
6707
6708
 
6708
- var script$D = /*#__PURE__*/Object.assign(__default__, {
6709
+ var script$E = /*#__PURE__*/Object.assign(__default__, {
6709
6710
  props: {
6710
6711
  alias: {
6711
6712
  type: Object,
@@ -7010,7 +7011,7 @@ const props = __props;
7010
7011
  return (_ctx, _cache) => {
7011
7012
  const _component_w_img = resolveComponent("w-img");
7012
7013
 
7013
- return (openBlock(), createBlock(script$Q, {
7014
+ return (openBlock(), createBlock(script$R, {
7014
7015
  ref_key: "root",
7015
7016
  ref: root,
7016
7017
  class: "w-tree w-tree-v2",
@@ -7077,11 +7078,11 @@ return (_ctx, _cache) => {
7077
7078
 
7078
7079
  });
7079
7080
 
7080
- script$D.__file = "src/widgets/TreeV2.vue";
7081
+ script$E.__file = "src/widgets/TreeV2.vue";
7081
7082
 
7082
- var script$C = {
7083
+ var script$D = {
7083
7084
  name: 'w-label',
7084
- mixins: [script$1i, script$1g],
7085
+ mixins: [script$1j, script$1h],
7085
7086
  props: ['text', 'suffix', 'vertical'],
7086
7087
  methods: {
7087
7088
  html_slots() {
@@ -7103,10 +7104,10 @@ var script$C = {
7103
7104
  }
7104
7105
  };
7105
7106
 
7106
- script$C.__file = "src/widgets/Label.vue";
7107
+ script$D.__file = "src/widgets/Label.vue";
7107
7108
 
7108
- var script$B = {
7109
- mixins: [script$1i, script$1g],
7109
+ var script$C = {
7110
+ mixins: [script$1j, script$1h],
7110
7111
  props: ['name', 'value', 'modelValue', 'placeholder', 'label', 'readonly', 'readonlyValidate', 'disabled', 'required',
7111
7112
  'validateDefault', 'validateHandler', 'inputWidth', 'inputHeight' ],
7112
7113
  emits: ['update:modelValue', 'change', 'blur', 'focus'],
@@ -7351,7 +7352,7 @@ var script$B = {
7351
7352
  if (this.x.label && typeof this.x.label === 'object') {
7352
7353
  const label = $$1.cloneDeep(this.x.label);
7353
7354
  if (label.width == null) delete label.width;
7354
- if (label.width != 0) return h(script$C, label)
7355
+ if (label.width != 0) return h(script$D, label)
7355
7356
  }
7356
7357
  },
7357
7358
  html_input() {
@@ -7556,14 +7557,14 @@ var script$B = {
7556
7557
  }
7557
7558
  };
7558
7559
 
7559
- script$B.__file = "src/widgets/FormBase.vue";
7560
+ script$C.__file = "src/widgets/FormBase.vue";
7560
7561
 
7561
7562
  const {leafSymbol: leafSymbol$1} = $$1.symbol;
7562
7563
 
7563
- var script$A = {
7564
+ var script$B = {
7564
7565
  name: 'w-checkbox',
7565
7566
  pubParentName: 'w-checkboxgroup',
7566
- mixins: [script$B],
7567
+ mixins: [script$C],
7567
7568
  props: ['text', 'checked', 'partialSubmit', 'minSize', 'maxSize'],
7568
7569
  inject: ['providePubParent', 'provideBoxParent'],
7569
7570
  emits: ['change', 'update:checked', 'click'],
@@ -7733,7 +7734,7 @@ const {leafSymbol: leafSymbol$1} = $$1.symbol;
7733
7734
  }, this.html_input())
7734
7735
  },
7735
7736
  html_target() {
7736
- return this.$slots.default ? h(script$1f, {
7737
+ return this.$slots.default ? h(script$1g, {
7737
7738
  class: this.$options.name + '-target',
7738
7739
  width: '*',
7739
7740
  ref: 'target'
@@ -7819,13 +7820,13 @@ const {leafSymbol: leafSymbol$1} = $$1.symbol;
7819
7820
  },
7820
7821
  };
7821
7822
 
7822
- script$A.__file = "src/widgets/CheckBox.vue";
7823
+ script$B.__file = "src/widgets/CheckBox.vue";
7823
7824
 
7824
7825
  const {leafSymbol} = $$1.symbol;
7825
7826
 
7826
- var script$z = {
7827
+ var script$A = {
7827
7828
  name: 'w-triplebox',
7828
- mixins: [script$A],
7829
+ mixins: [script$B],
7829
7830
  props: ['all'],
7830
7831
  created() {
7831
7832
  if (this.provideBoxParent) {
@@ -7968,12 +7969,12 @@ const {leafSymbol} = $$1.symbol;
7968
7969
 
7969
7970
  };
7970
7971
 
7971
- script$z.__file = "src/widgets/TripleBox.vue";
7972
+ script$A.__file = "src/widgets/TripleBox.vue";
7972
7973
 
7973
- var script$y = {
7974
+ var script$z = {
7974
7975
  name: 'w-leaf',
7975
7976
  pubParentName: 'w-tree',
7976
- mixins: [script$1i, script$1o],
7977
+ mixins: [script$1j, script$1p],
7977
7978
  props: ['text', 'expanded', 'expandedIcon', 'collapsedIcon', 'icon', 'boxSync', 'src', 'disabled'],
7978
7979
  inject: ['providePubParent', 'provideLevel', 'provideParentLeaf', 'provideParentTR'],
7979
7980
  emits: ['click'],
@@ -8072,7 +8073,7 @@ var script$y = {
8072
8073
  let ico = this.isFolder() ? (exp ? this.x.expandedIcon : this.x.collapsedIcon) : this.x.icon;
8073
8074
  return h('div', mergeProps(this.html_attrs, this.html_props, this.$attrs), [
8074
8075
  this.loading ?
8075
- h(script$14, {
8076
+ h(script$15, {
8076
8077
  src: '#f-svg-loading',
8077
8078
  class: 'w-leaf-loading'
8078
8079
  }) :
@@ -8084,7 +8085,7 @@ var script$y = {
8084
8085
  }
8085
8086
  }),
8086
8087
  this.$slots.box && this.$slots.box(),
8087
- ico && h(script$14, {
8088
+ ico && h(script$15, {
8088
8089
  src: ico,
8089
8090
  class: 'w-leaf-icon'
8090
8091
  }),
@@ -8108,7 +8109,7 @@ var script$y = {
8108
8109
  }
8109
8110
  }
8110
8111
  if (key) {
8111
- return h(script$W, {key}, {default: () => leaf})
8112
+ return h(script$X, {key}, {default: () => leaf})
8112
8113
  } else {
8113
8114
  return leaf
8114
8115
  }
@@ -8167,11 +8168,11 @@ var script$y = {
8167
8168
 
8168
8169
  };
8169
8170
 
8170
- script$y.__file = "src/widgets/Leaf.vue";
8171
+ script$z.__file = "src/widgets/Leaf.vue";
8171
8172
 
8172
- var script$x = {
8173
+ var script$y = {
8173
8174
  name: 'w-pagebar',
8174
- mixins: [script$L],
8175
+ mixins: [script$M],
8175
8176
  emits: ['click:item'],
8176
8177
  props: ['limit', 'size', 'offset', 'buttonCount', 'noFirstLast', 'face', 'jump'],
8177
8178
  data() {
@@ -8223,13 +8224,13 @@ var script$x = {
8223
8224
  this.html_face_normal()
8224
8225
  },
8225
8226
  html_buttons() {
8226
- return [h(script$11, {
8227
+ return [h(script$12, {
8227
8228
  class: 'w-pagebar-button w-pagebar-prev',
8228
8229
  icon: '.f-i .f-i-angle-left',
8229
8230
  disabled: this.currentPage == 1,
8230
8231
  title: $$1.loc.page_text.prev,
8231
8232
  onclick: e => this.clickItem(e, this.currentPage - 1)
8232
- }), h(script$11, {
8233
+ }), h(script$12, {
8233
8234
  class: 'w-pagebar-button w-pagebar-next',
8234
8235
  icon: '.f-i .f-i-angle-right',
8235
8236
  disabled: this.currentPage == this.sumPage,
@@ -8240,7 +8241,7 @@ var script$x = {
8240
8241
  html_drop() {
8241
8242
  let s = [];
8242
8243
  if (this.x.buttonCount) {
8243
- s.push(h(script$11, {
8244
+ s.push(h(script$12, {
8244
8245
  class: 'w-pagebar-button w-pagebar-button-count w-pagebar-prev',
8245
8246
  ref: 'drop',
8246
8247
  text: this.currentPage + '/' + this.sumPage,
@@ -8249,8 +8250,8 @@ var script$x = {
8249
8250
  }
8250
8251
  if (this.showDrop) {
8251
8252
  let b = [];
8252
- for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$11, {text: i, onClick: e => this.clickItem(e, i)}));
8253
- 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}));
8254
8255
  }
8255
8256
  return s
8256
8257
  },
@@ -8348,11 +8349,11 @@ var script$x = {
8348
8349
  }
8349
8350
  };
8350
8351
 
8351
- script$x.__file = "src/widgets/PageBar.vue";
8352
+ script$y.__file = "src/widgets/PageBar.vue";
8352
8353
 
8353
- var script$w = {
8354
+ var script$x = {
8354
8355
  name: 'w-split',
8355
- mixins: [script$1i],
8356
+ mixins: [script$1j],
8356
8357
  props: ['collapsedIcon', 'expandedIcon', 'movable', 'range', 'toNext', 'expanded'],
8357
8358
  inject: ['provideLayout'],
8358
8359
  created() {
@@ -8449,11 +8450,11 @@ var script$w = {
8449
8450
  }
8450
8451
  };
8451
8452
 
8452
- script$w.__file = "src/widgets/Split.vue";
8453
+ script$x.__file = "src/widgets/Split.vue";
8453
8454
 
8454
- var script$v = {
8455
+ var script$w = {
8455
8456
  name: 'w-toggle',
8456
- mixins: [script$1i, script$1g],
8457
+ mixins: [script$1j, script$1h],
8457
8458
  props: ['collapsedIcon', 'expandedIcon', 'expanded', 'align', 'valign'],
8458
8459
  methods: {
8459
8460
  x_default() {
@@ -8470,7 +8471,7 @@ var script$v = {
8470
8471
  html_slots() {
8471
8472
  let exp = this.x.expanded;
8472
8473
  let ico = exp ? this.x.expandedIcon : this.x.collapsedIcon;
8473
- return [ico && h(script$14, {
8474
+ return [ico && h(script$15, {
8474
8475
  src: ico,
8475
8476
  class: 'w-toggle-icon',
8476
8477
  }), h('div', {class: 'w-toggle-main'}, this.$slots.default())]
@@ -8497,11 +8498,11 @@ var script$v = {
8497
8498
  }
8498
8499
  };
8499
8500
 
8500
- script$v.__file = "src/widgets/Toggle.vue";
8501
+ script$w.__file = "src/widgets/Toggle.vue";
8501
8502
 
8502
- var script$u = {
8503
+ var script$v = {
8503
8504
  name: 'w-video',
8504
- mixins: [script$1i],
8505
+ mixins: [script$1j],
8505
8506
  props: ['src', 'poster'],
8506
8507
  data() {
8507
8508
  return {
@@ -8549,11 +8550,11 @@ var script$u = {
8549
8550
 
8550
8551
  };
8551
8552
 
8552
- script$u.__file = "src/widgets/Video.vue";
8553
+ script$v.__file = "src/widgets/Video.vue";
8553
8554
 
8554
- var script$t = {
8555
+ var script$u = {
8555
8556
  name: 'w-progress',
8556
- mixins: [script$1i],
8557
+ mixins: [script$1j],
8557
8558
  props: ['percent', 'range', 'text'],
8558
8559
  methods: {
8559
8560
  html_slots() {
@@ -8594,11 +8595,11 @@ var script$t = {
8594
8595
  }
8595
8596
  };
8596
8597
 
8597
- script$t.__file = "src/widgets/Progress.vue";
8598
+ script$u.__file = "src/widgets/Progress.vue";
8598
8599
 
8599
- var script$s = {
8600
+ var script$t = {
8600
8601
  name: 'w-calendar',
8601
- mixins: [script$1i],
8602
+ mixins: [script$1j],
8602
8603
  emits: ['click:item', 'change'],
8603
8604
  props: ['value', 'minValue', 'maxValue', 'current', 'pad', 'face', 'format', 'success', 'cg', 'start',
8604
8605
  'enableHour', 'enableMinute', 'enableSecond', 'defaultHour', 'defaultMinute', 'defaultSecond'
@@ -9365,12 +9366,12 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
9365
9366
  }, 16 /* FULL_PROPS */, ["class"]))
9366
9367
  }
9367
9368
 
9368
- script$s.render = render$4;
9369
- script$s.__file = "src/widgets/Calendar.vue";
9369
+ script$t.render = render$4;
9370
+ script$t.__file = "src/widgets/Calendar.vue";
9370
9371
 
9371
- var script$r = {
9372
+ var script$s = {
9372
9373
  name: 'w-timeline',
9373
- mixins: [script$1h, script$X],
9374
+ mixins: [script$1i, script$Y],
9374
9375
  props: ['face', 'vertical'],
9375
9376
  methods: {
9376
9377
  indent() {
@@ -9523,12 +9524,12 @@ var script$r = {
9523
9524
  }
9524
9525
  };
9525
9526
 
9526
- script$r.__file = "src/widgets/Timeline.vue";
9527
+ script$s.__file = "src/widgets/Timeline.vue";
9527
9528
 
9528
- var script$q = {
9529
+ var script$r = {
9529
9530
  name: 'w-timeline-item',
9530
9531
  pubParentName: 'w-timeline',
9531
- mixins: [script$1i],
9532
+ mixins: [script$1j],
9532
9533
  inject: ['providePubParent'],
9533
9534
  props: ['position', 'index', 'align', 'lineColor'],
9534
9535
  watch: {
@@ -9567,11 +9568,11 @@ var script$q = {
9567
9568
  }
9568
9569
  };
9569
9570
 
9570
- script$q.__file = "src/widgets/TimelineItem.vue";
9571
+ script$r.__file = "src/widgets/TimelineItem.vue";
9571
9572
 
9572
- var script$p = {
9573
+ var script$q = {
9573
9574
  name: 'w-slidepicker',
9574
- mixins: [script$1i],
9575
+ mixins: [script$1j],
9575
9576
  provide() {
9576
9577
  return {
9577
9578
  provideOptionParent: this,
@@ -9797,12 +9798,12 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
9797
9798
  ], 16 /* FULL_PROPS */))
9798
9799
  }
9799
9800
 
9800
- script$p.render = render$3;
9801
- script$p.__file = "src/widgets/SlidePicker.vue";
9801
+ script$q.render = render$3;
9802
+ script$q.__file = "src/widgets/SlidePicker.vue";
9802
9803
 
9803
- var script$o = {
9804
+ var script$p = {
9804
9805
  name: 'w-hidden',
9805
- mixins: [script$B],
9806
+ mixins: [script$C],
9806
9807
  methods: {
9807
9808
  isModified() {
9808
9809
  return false
@@ -9821,11 +9822,11 @@ var script$o = {
9821
9822
 
9822
9823
  };
9823
9824
 
9824
- script$o.__file = "src/widgets/Hidden.vue";
9825
+ script$p.__file = "src/widgets/Hidden.vue";
9825
9826
 
9826
- var script$n = {
9827
+ var script$o = {
9827
9828
  name: 'w-text',
9828
- mixins: [script$B],
9829
+ mixins: [script$C],
9829
9830
  props: ['minLength', 'maxLength', 'pattern', 'clearable', 'showCount'],
9830
9831
  emits: ['clear'],
9831
9832
  data() {
@@ -9877,11 +9878,11 @@ var script$n = {
9877
9878
  }
9878
9879
  };
9879
9880
 
9880
- script$n.__file = "src/widgets/Text.vue";
9881
+ script$o.__file = "src/widgets/Text.vue";
9881
9882
 
9882
- var script$m = {
9883
+ var script$n = {
9883
9884
  name: 'w-textarea',
9884
- mixins: [script$n],
9885
+ mixins: [script$o],
9885
9886
  methods: {
9886
9887
  html_slot_down() {
9887
9888
  const down = this.slot('down');
@@ -9914,11 +9915,11 @@ var script$m = {
9914
9915
  }
9915
9916
  };
9916
9917
 
9917
- script$m.__file = "src/widgets/Textarea.vue";
9918
+ script$n.__file = "src/widgets/Textarea.vue";
9918
9919
 
9919
- var script$l = {
9920
+ var script$m = {
9920
9921
  name: 'w-checkboxgroup',
9921
- mixins: [script$B],
9922
+ mixins: [script$C],
9922
9923
  props: ['modelValue', 'required', 'vertical', 'gap', 'minSize', 'maxSize', 'br'],
9923
9924
  provide() {
9924
9925
  return {
@@ -9956,19 +9957,19 @@ var script$l = {
9956
9957
  }
9957
9958
  };
9958
9959
 
9959
- script$l.__file = "src/widgets/CheckBoxGroup.vue";
9960
+ script$m.__file = "src/widgets/CheckBoxGroup.vue";
9960
9961
 
9961
- var script$k = {
9962
+ var script$l = {
9962
9963
  name: 'w-radiogroup',
9963
- mixins: [script$l]
9964
+ mixins: [script$m]
9964
9965
  };
9965
9966
 
9966
- script$k.__file = "src/widgets/RadioGroup.vue";
9967
+ script$l.__file = "src/widgets/RadioGroup.vue";
9967
9968
 
9968
- var script$j = {
9969
+ var script$k = {
9969
9970
  name: 'w-radio',
9970
9971
  pubParentName: 'w-radiogroup',
9971
- mixins: [script$A],
9972
+ mixins: [script$B],
9972
9973
  props: ['cancelable'],
9973
9974
  methods: {
9974
9975
 
@@ -9996,12 +9997,12 @@ var script$j = {
9996
9997
  }
9997
9998
  };
9998
9999
 
9999
- script$j.__file = "src/widgets/Radio.vue";
10000
+ script$k.__file = "src/widgets/Radio.vue";
10000
10001
 
10001
- var script$i = {
10002
+ var script$j = {
10002
10003
  name: 'w-switch',
10003
10004
  pubParentName: 'w-checkboxgroup',
10004
- mixins: [script$B],
10005
+ mixins: [script$C],
10005
10006
  props: ['checkedText', 'uncheckedText', 'checkedValue', 'uncheckedValue'],
10006
10007
  inject: ['providePubParent'],
10007
10008
  methods: {
@@ -10049,7 +10050,7 @@ var script$i = {
10049
10050
  }
10050
10051
  };
10051
10052
 
10052
- script$i.__file = "src/widgets/Switch.vue";
10053
+ script$j.__file = "src/widgets/Switch.vue";
10053
10054
 
10054
10055
  const mimes = {
10055
10056
  ".323": "text/h323",
@@ -10580,9 +10581,9 @@ const suffixHooks = {
10580
10581
  'T' ? 1024 * 1024 * 1024 * 1024 : 1)
10581
10582
  };
10582
10583
 
10583
- var script$h = {
10584
+ var script$i = {
10584
10585
  name: 'w-fileupload',
10585
- mixins: [script$B],
10586
+ mixins: [script$C],
10586
10587
  props: ['uploadSrc', 'thumbnailSrc', 'downloadSrc', 'uploadLimit', 'sizeLimit', 'maxFileSize', 'minFileSize',
10587
10588
  'fileTypes', 'filter', 'success', 'error', 'itemWidth', 'align', 'vertical', 'gap', 'checkFile'
10588
10589
  ],
@@ -10786,7 +10787,7 @@ const suffixHooks = {
10786
10787
  onclick: e => this.remove(item)
10787
10788
  })];
10788
10789
  if (value && this.$slots.menu) {
10789
- button.push(h(script$10, null, {
10790
+ button.push(h(script$11, null, {
10790
10791
  target: () => h('div', {
10791
10792
  class: 'w-fileupload-value-menu f-i f-i-ellipsis',
10792
10793
  title: $$1.loc.more,
@@ -10838,14 +10839,14 @@ const suffixHooks = {
10838
10839
  },
10839
10840
  html_input_button() {
10840
10841
  return h('div', {}, [
10841
- h(script$L, {
10842
+ h(script$M, {
10842
10843
  ref: 'uploadbbr',
10843
10844
  class: 'w-fileupload-bbr',
10844
10845
  gap: 10,
10845
10846
  }, {
10846
10847
  default: () => [
10847
10848
  this.$slots.button ? this.$slots.button(this) :
10848
- h(script$11, {
10849
+ h(script$12, {
10849
10850
  text: '选择文件',
10850
10851
  icon: '.f-i .f-i-upload',
10851
10852
  class: 'w-fileupload-button',
@@ -10920,9 +10921,9 @@ const suffixHooks = {
10920
10921
  }
10921
10922
  };
10922
10923
 
10923
- script$h.__file = "src/widgets/FileUpload.vue";
10924
+ script$i.__file = "src/widgets/FileUpload.vue";
10924
10925
 
10925
- var script$g = {
10926
+ var script$h = {
10926
10927
  props: ['item'],
10927
10928
  inject: ['provideUpload'],
10928
10929
  data() {
@@ -11101,12 +11102,12 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
11101
11102
  ]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "src", "data-url", "width", "img-width", "img-height", "tip", "onClick"]))
11102
11103
  }
11103
11104
 
11104
- script$g.render = render$2;
11105
- script$g.__file = "src/widgets/MediaUploadItem.vue";
11105
+ script$h.render = render$2;
11106
+ script$h.__file = "src/widgets/MediaUploadItem.vue";
11106
11107
 
11107
- var script$f = {
11108
+ var script$g = {
11108
11109
  name: 'w-mediaupload',
11109
- mixins: [script$h],
11110
+ mixins: [script$i],
11110
11111
  props: ['thumbnailWidth', 'thumbnailHeight', 'showFileName'],
11111
11112
  provide() {
11112
11113
  return {
@@ -11127,17 +11128,17 @@ var script$f = {
11127
11128
  return this.list.map((item, index) => {
11128
11129
  let key = item.value ? item.value.id : item.key;
11129
11130
  if (!key) {item.key = key = $$1.uid();}
11130
- return h(script$g, {item, index, key})
11131
+ return h(script$h, {item, index, key})
11131
11132
  })
11132
11133
  },
11133
11134
  html_input_button() {
11134
11135
  return h('div', {}, [
11135
- h(script$L, {
11136
+ h(script$M, {
11136
11137
  ref: 'uploadbbr',
11137
11138
  class: 'w-fileupload-bbr'
11138
11139
  }, {
11139
11140
  default: () => [
11140
- this.$slots.button ? this.$slots.button(this) : h(script$11, {
11141
+ this.$slots.button ? this.$slots.button(this) : h(script$12, {
11141
11142
  ref: 'uploadbutton',
11142
11143
  title: $$1.loc.form.choose_image,
11143
11144
  icon: '.f-i .f-i-plus',
@@ -11155,7 +11156,7 @@ var script$f = {
11155
11156
  ])
11156
11157
  },
11157
11158
  html_input() {
11158
- return this.html_input_form().concat(h(script$1f, {
11159
+ return this.html_input_form().concat(h(script$1g, {
11159
11160
  width: '*',
11160
11161
  class: 'w-mediaupload-list',
11161
11162
  align: this.x.align,
@@ -11174,11 +11175,11 @@ var script$f = {
11174
11175
  }
11175
11176
  };
11176
11177
 
11177
- script$f.__file = "src/widgets/MediaUpload.vue";
11178
+ script$g.__file = "src/widgets/MediaUpload.vue";
11178
11179
 
11179
- var script$e = {
11180
+ var script$f = {
11180
11181
  name: 'w-imageupload',
11181
- mixins: [script$f],
11182
+ mixins: [script$g],
11182
11183
  methods: {
11183
11184
  x_default() {
11184
11185
  return {
@@ -11197,11 +11198,11 @@ var script$e = {
11197
11198
  },
11198
11199
  };
11199
11200
 
11200
- script$e.__file = "src/widgets/ImageUpload.vue";
11201
+ script$f.__file = "src/widgets/ImageUpload.vue";
11201
11202
 
11202
- var script$d = {
11203
+ var script$e = {
11203
11204
  name: 'w-option',
11204
- mixins: [script$1i],
11205
+ mixins: [script$1j],
11205
11206
  props: ['value', 'text', 'disabled'],
11206
11207
  inject: ['provideOptionParent'],
11207
11208
  methods: {
@@ -11246,12 +11247,12 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
11246
11247
  ], 16 /* FULL_PROPS */, _hoisted_1$1))
11247
11248
  }
11248
11249
 
11249
- script$d.render = render$1;
11250
- script$d.__file = "src/widgets/Option.vue";
11250
+ script$e.render = render$1;
11251
+ script$e.__file = "src/widgets/Option.vue";
11251
11252
 
11252
- var script$c = {
11253
+ var script$d = {
11253
11254
  name: 'w-spinner',
11254
- mixins: [script$n],
11255
+ mixins: [script$o],
11255
11256
  inject: ['provideRangeParent'],
11256
11257
  props: ['decimal', 'format', 'showButton', 'buttonPosition', 'step', 'autoFix', 'compare', 'minValue', 'maxValue'],
11257
11258
  mounted() {
@@ -11472,11 +11473,11 @@ var script$c = {
11472
11473
  }
11473
11474
  };
11474
11475
 
11475
- script$c.__file = "src/widgets/Spinner.vue";
11476
+ script$d.__file = "src/widgets/Spinner.vue";
11476
11477
 
11477
- var script$b = {
11478
+ var script$c = {
11478
11479
  name: 'w-datepicker',
11479
- mixins: [script$n],
11480
+ mixins: [script$o],
11480
11481
  inject: ['provideRangeParent'],
11481
11482
  props: ['showButton', 'multiple', 'format', 'autoFix', 'compare', 'minValue', 'maxValue', 'dropProps', 'enableHour', 'enableMinute', 'enableSecond',
11482
11483
  'defaultHour', 'defaultMinute', 'defaultSecond'],
@@ -11628,8 +11629,8 @@ var script$b = {
11628
11629
  indent: 1
11629
11630
  };
11630
11631
  dropProps = this.mergeDropProps(dropProps);
11631
- r.push(h(script$1b, dropProps, {
11632
- default: () => h(script$s, {
11632
+ r.push(h(script$1c, dropProps, {
11633
+ default: () => h(script$t, {
11633
11634
  height: '*',
11634
11635
  pad: true,
11635
11636
  current: this.currentDate || this.x.modelValue || '',
@@ -11740,11 +11741,11 @@ var script$b = {
11740
11741
  }
11741
11742
  };
11742
11743
 
11743
- script$b.__file = "src/widgets/DatePicker.vue";
11744
+ script$c.__file = "src/widgets/DatePicker.vue";
11744
11745
 
11745
- var script$a = {
11746
+ var script$b = {
11746
11747
  name: 'w-dropbox',
11747
- mixins: [script$B],
11748
+ mixins: [script$C],
11748
11749
  provide() {
11749
11750
  return {
11750
11751
  provideOptionParent: this,
@@ -11816,7 +11817,7 @@ var script$a = {
11816
11817
  scrollView: '.z-on'
11817
11818
  };
11818
11819
  dropProps = this.mergeDropProps(dropProps);
11819
- r.push(h(script$1b, dropProps, this.$slots));
11820
+ r.push(h(script$1c, dropProps, this.$slots));
11820
11821
  }
11821
11822
  return r
11822
11823
  },
@@ -11859,11 +11860,11 @@ var script$a = {
11859
11860
  }
11860
11861
  };
11861
11862
 
11862
- script$a.__file = "src/widgets/DropBox.vue";
11863
+ script$b.__file = "src/widgets/DropBox.vue";
11863
11864
 
11864
- var script$9 = {
11865
+ var script$a = {
11865
11866
  name: 'w-pickbox',
11866
- mixins: [script$a],
11867
+ mixins: [script$b],
11867
11868
  props: ['picker'],
11868
11869
  methods: {
11869
11870
  // implement
@@ -11933,11 +11934,11 @@ var script$9 = {
11933
11934
  }
11934
11935
  };
11935
11936
 
11936
- script$9.__file = "src/widgets/PickBox.vue";
11937
+ script$a.__file = "src/widgets/PickBox.vue";
11937
11938
 
11938
- var script$8 = {
11939
+ var script$9 = {
11939
11940
  name: 'w-password',
11940
- mixins: [script$n],
11941
+ mixins: [script$o],
11941
11942
  props: ['compare'],
11942
11943
  methods: {
11943
11944
  getCompareError(v, r) {
@@ -11967,11 +11968,11 @@ var script$8 = {
11967
11968
  }
11968
11969
  };
11969
11970
 
11970
- script$8.__file = "src/widgets/Password.vue";
11971
+ script$9.__file = "src/widgets/Password.vue";
11971
11972
 
11972
- var script$7 = {
11973
+ var script$8 = {
11973
11974
  name: 'w-range',
11974
- mixins: [script$B],
11975
+ mixins: [script$C],
11975
11976
  provide() {
11976
11977
  return {
11977
11978
  provideRangeParent: this
@@ -12007,11 +12008,11 @@ var script$7 = {
12007
12008
  }
12008
12009
  };
12009
12010
 
12010
- script$7.__file = "src/widgets/Range.vue";
12011
+ script$8.__file = "src/widgets/Range.vue";
12011
12012
 
12012
- var script$6 = {
12013
+ var script$7 = {
12013
12014
  name: 'w-combobox',
12014
- mixins: [script$B],
12015
+ mixins: [script$C],
12015
12016
  props: ['multiple', 'strict', 'dropper', 'picker', 'dropProps', 'br', 'clearable'],
12016
12017
  emits: ['input', 'click:item', 'blur', 'focus', 'clear'],
12017
12018
  data() {
@@ -12257,7 +12258,7 @@ var script$6 = {
12257
12258
  scrollY: true
12258
12259
  };
12259
12260
  dropProps = this.mergeDropProps(dropProps);
12260
- r.push(h(script$1b, dropProps, this.$slots));
12261
+ r.push(h(script$1c, dropProps, this.$slots));
12261
12262
  }
12262
12263
  return [
12263
12264
  this.html_input_hidden(),
@@ -12325,6 +12326,7 @@ var script$6 = {
12325
12326
  'z-val': this.hasVal || this.sensor_text,
12326
12327
  'z-droppable': this.x.dropper,
12327
12328
  'z-clearable': this.x.clearable,
12329
+ 'z-on': this.isFocus,
12328
12330
  }
12329
12331
  },
12330
12332
  form_prop() {
@@ -12344,11 +12346,11 @@ var script$6 = {
12344
12346
  }
12345
12347
  };
12346
12348
 
12347
- script$6.__file = "src/widgets/ComboBox.vue";
12349
+ script$7.__file = "src/widgets/ComboBox.vue";
12348
12350
 
12349
- var script$5 = {
12351
+ var script$6 = {
12350
12352
  name: 'w-linkbox',
12351
- mixins: [script$B],
12353
+ mixins: [script$C],
12352
12354
  props: ['multiple', 'picker', 'dropProps', 'separator', 'strict', 'br', 'clearable'],
12353
12355
  emits: ['input', 'dblclick:item', 'clear'],
12354
12356
  created() {
@@ -12729,7 +12731,7 @@ var script$5 = {
12729
12731
  scrollY: true
12730
12732
  };
12731
12733
  dropProps = this.mergeDropProps(dropProps);
12732
- r.push(h(script$1b, dropProps, this.$slots));
12734
+ r.push(h(script$1c, dropProps, this.$slots));
12733
12735
  }
12734
12736
  return [
12735
12737
  this.html_input_hidden(),
@@ -12806,9 +12808,9 @@ var script$5 = {
12806
12808
  }
12807
12809
  };
12808
12810
 
12809
- script$5.__file = "src/widgets/LinkBox.vue";
12811
+ script$6.__file = "src/widgets/LinkBox.vue";
12810
12812
 
12811
- var script$4 = {
12813
+ var script$5 = {
12812
12814
  props: ['width', 'height', 'context'],
12813
12815
  data() {
12814
12816
  return {
@@ -12886,14 +12888,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
12886
12888
  }, 8 /* PROPS */, ["width", "height", "context"]))
12887
12889
  }
12888
12890
 
12889
- script$4.render = render;
12890
- script$4.__file = "src/template/TemplateJigsaw.vue";
12891
+ script$5.render = render;
12892
+ script$5.__file = "src/template/TemplateJigsaw.vue";
12891
12893
 
12892
12894
  const init_text = $$1.loc.form.jigsaw_drag_right;
12893
12895
 
12894
- var script$3 = {
12896
+ var script$4 = {
12895
12897
  name: 'w-jigsaw',
12896
- mixins: [script$B],
12898
+ mixins: [script$C],
12897
12899
  emits: ['drop', 'click:refresh'],
12898
12900
  props: ['big', 'small', 'dropWidth'],
12899
12901
  data() {
@@ -13036,7 +13038,7 @@ const init_text = $$1.loc.form.jigsaw_drag_right;
13036
13038
  if (this.showDrop) {
13037
13039
  let width = Math.max($$1.number(this.x.dropWidth), $$1.bcr(this.el('form')).width);
13038
13040
  let height = Math.ceil(width * (this.x.big.height / this.x.big.width));
13039
- r.push(h(script$4, {
13041
+ r.push(h(script$5, {
13040
13042
  ownproperty: true,
13041
13043
  width,
13042
13044
  height,
@@ -13074,11 +13076,11 @@ const init_text = $$1.loc.form.jigsaw_drag_right;
13074
13076
  }
13075
13077
  };
13076
13078
 
13077
- script$3.__file = "src/widgets/Jigsaw.vue";
13079
+ script$4.__file = "src/widgets/Jigsaw.vue";
13078
13080
 
13079
- var script$2 = {
13081
+ var script$3 = {
13080
13082
  name: 'w-form',
13081
- mixins: [script$B],
13083
+ mixins: [script$C],
13082
13084
  props: ['vertical'],
13083
13085
  methods: {
13084
13086
  getInputValue(mv) {
@@ -13120,11 +13122,60 @@ var script$2 = {
13120
13122
  },
13121
13123
  };
13122
13124
 
13123
- script$2.__file = "src/widgets/Form.vue";
13125
+ script$3.__file = "src/widgets/Form.vue";
13126
+
13127
+ var script$2 = {
13128
+ name: 'w-formgroup',
13129
+ mixins: [script$C],
13130
+ props: ['columns', 'rows', 'gap', 'defaultColspan'],
13131
+ methods: {
13132
+ x_default() {
13133
+ return {
13134
+ columns: 12,
13135
+ gap: 0,
13136
+ }
13137
+ },
13138
+ getInputValue(mv) {
13139
+ return mv == null ? '' : typeof mv === 'object' ? JSON.stringify(mv) : mv
13140
+ },
13141
+ html_input() {
13142
+ return [
13143
+ this.html_input_hidden(),
13144
+ this.$slots.default && this.$slots.default()
13145
+ ]
13146
+ },
13147
+ },
13148
+ computed: {
13149
+ validHooks() {
13150
+ return {
13151
+ ...this.pubValidHooks
13152
+ }
13153
+ },
13154
+ html_style() {
13155
+ let cols = this.x.columns;
13156
+ if ($$1.isNumber(cols)) cols = `repeat(${cols}, 1fr)`;
13157
+ let rows = this.x.rows;
13158
+ if ($$1.isNumber(rows)) rows = `repeat(${rows}, 1fr)`;
13159
+ this.x.defaultColspan;
13160
+ return {
13161
+ '--w-fromgroup-template-columns': cols,
13162
+ '--w-fromgroup-template-rows': rows,
13163
+ '--w-grid-gap': this.x.gap ? $$1.unitSize(this.x.gap) : '',
13164
+ }
13165
+ },
13166
+ form_prop() {
13167
+ return this.name && {
13168
+ onclick: e => this.warn(false)
13169
+ }
13170
+ }
13171
+ },
13172
+ };
13173
+
13174
+ script$2.__file = "src/widgets/FormGroup.vue";
13124
13175
 
13125
13176
  var script$1 = {
13126
13177
  name: 'w-rate',
13127
- mixins: [script$B],
13178
+ mixins: [script$C],
13128
13179
  props: ['allowHalf', 'cancelable', 'sum', 'count', 'text'],
13129
13180
  data() {
13130
13181
  return {
@@ -13148,7 +13199,7 @@ var script$1 = {
13148
13199
  this.x.modelValue = this.x.cancelable && this.x.modelValue == i ? '' : i;
13149
13200
  },
13150
13201
  html_star(i) {
13151
- return h(script$14, {
13202
+ return h(script$15, {
13152
13203
  class: ['w-rate-star-icon', {'z-hv': this.hoverWrap && i <= this.hoverIndex, 'z-on': !this.hoverWrap && i <= this.x.modelValue}],
13153
13204
  src: '.f-i .f-i-star-full',
13154
13205
  onMouseenter: e => this.hoverItem(e, i),
@@ -13199,26 +13250,23 @@ script$1.__file = "src/widgets/Rate.vue";
13199
13250
  minimumFractionDigits: 0,
13200
13251
  maximumFractionDigits: 20 // 限制精度防止溢出
13201
13252
  });
13202
-
13203
13253
  // Step 2: 处理科学计数法(如 0.0000001 → 1e-7)
13204
13254
  if (numStr.includes('e')) {
13205
13255
  const [sig, exp] = numStr.split('e');
13206
- const exponent = parseInt(exp, 10);
13207
- numStr = Number(num).toFixed(Math.abs(exponent) + (sig.split('.')?.length || 0));
13256
+ const exponent = parseInt(exp, 10);
13257
+ numStr = Number(num).toFixed(Math.abs(exponent) + (sig.split('.').length || 0));
13208
13258
  }
13209
-
13210
13259
  // Step 3: 分割整数和小数部分
13211
13260
  const [integer, decimal] = numStr.split('.');
13212
- if (!decimal) return 0;
13213
-
13261
+ if (!decimal) return 0
13214
13262
  // Step 4: 可选去除末尾零
13215
13263
  const trimmed = trimZeros ? decimal.replace(/0+$/, '') : decimal;
13216
- return trimmed.length;
13264
+ return trimmed.length
13217
13265
  }
13218
13266
 
13219
13267
  var script = {
13220
13268
  name: 'w-slider',
13221
- mixins: [script$B],
13269
+ mixins: [script$C],
13222
13270
  props: ['minValue', 'maxValue', 'step'],
13223
13271
  emits: ['drop'],
13224
13272
  data() {
@@ -13301,11 +13349,11 @@ script$1.__file = "src/widgets/Rate.vue";
13301
13349
  script.__file = "src/widgets/Slider.vue";
13302
13350
 
13303
13351
  const components = [
13304
- script$1j, script$1d, script$1b, script$19, script$17, script$15, script$10, script$$,
13305
- 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,
13306
- 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,
13307
- 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,
13308
- script$c, script$b, script$a, script$9, script$8, script$7, script$6, script$5, script$3, script$2, script$1, script
13352
+ script$1k, script$1e, script$1c, script$1a, script$18, script$16, script$11, script$10,
13353
+ 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,
13354
+ 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,
13355
+ 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,
13356
+ 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
13309
13357
  ];
13310
13358
 
13311
13359
  //每个组件从这里曝露,以便在某些特殊需求情境下,业务可以修改源码