dfish-widget 1.0.46 → 1.0.48

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
@@ -2,7 +2,7 @@ import lodash from 'lodash';
2
2
  import jquery from 'jquery';
3
3
  import http from 'axios';
4
4
  import Qs from 'qs';
5
- import { nextTick, h, mergeProps, toRaw, resolveComponent, openBlock, createElementBlock, createStaticVNode, createElementVNode, createBlock, withCtx, Fragment, createVNode, renderList, toDisplayString, createTextVNode, createCommentVNode, Teleport, computed, resolveDirective, withDirectives, unref, renderSlot, TransitionGroup, normalizeClass, getCurrentInstance, ref, onMounted, watch, createSlots, resolveDynamicComponent, normalizeStyle, withModifiers } from 'vue';
5
+ import { nextTick, h, mergeProps, toRaw, resolveComponent, openBlock, createElementBlock, createStaticVNode, createElementVNode, createBlock, withCtx, Fragment, createVNode, renderList, toDisplayString, createTextVNode, createCommentVNode, Teleport, computed, resolveDirective, withDirectives, unref, renderSlot, TransitionGroup, ref, onMounted, watch, normalizeStyle, normalizeClass, getCurrentInstance, createSlots, resolveDynamicComponent, withModifiers } from 'vue';
6
6
  import ResizeObserver$1 from 'resize-observer-polyfill';
7
7
 
8
8
  let u = navigator.userAgent.toLowerCase();
@@ -911,6 +911,7 @@ const snap = function(a, b, c, d, e, f, u) {
911
911
  if (f && o.mag) {
912
912
  var i = f.indent || number(f);
913
913
  if (i) {
914
+ i = i / (window.devicePixelRatio || 1);
914
915
  if (o.inner) {
915
916
  o.mag_t ? (o.top -= i, o.bottom += i) : o.mag_b ? (o.top += i, o.bottom -= i) : o.mag_r ? (o.left += i, o.right -= i) : (o.left -= i, o.right += i);
916
917
  } else {
@@ -1811,7 +1812,7 @@ function directive(Vue) {
1811
1812
 
1812
1813
  const bindCache = {};
1813
1814
 
1814
- var script$1k = {
1815
+ var script$1m = {
1815
1816
  props: ['data', 'width', 'height', 'colspan', 'rowspan', 'ownproperty', 'orientUid'],
1816
1817
  data() {
1817
1818
  return {
@@ -2076,9 +2077,9 @@ const bindCache = {};
2076
2077
  }
2077
2078
  };
2078
2079
 
2079
- script$1k.__file = "src/widgets/WidgetAbs.vue";
2080
+ script$1m.__file = "src/widgets/WidgetAbs.vue";
2080
2081
 
2081
- var script$1j = {
2082
+ var script$1l = {
2082
2083
  props: ['src', 'children', 'parentItem'],
2083
2084
  data() {
2084
2085
  return {
@@ -2095,14 +2096,14 @@ var script$1j = {
2095
2096
  if (src && !this.loading) {
2096
2097
  this.showLoading(true);
2097
2098
  if (typeof src === 'function') {
2098
- src(this).then(res => {
2099
+ return src(this).then(res => {
2099
2100
  this.showLoading(false);
2100
2101
  this.loaded = true;
2101
2102
  fn && fn();
2102
2103
  }).catch(ex => {
2103
2104
  this.showLoading(false);
2104
2105
  this.loaded = true;
2105
- });
2106
+ })
2106
2107
  }
2107
2108
  }
2108
2109
  },
@@ -2112,11 +2113,11 @@ var script$1j = {
2112
2113
  }
2113
2114
  };
2114
2115
 
2115
- script$1j.__file = "src/widgets/SrcParent.vue";
2116
+ script$1l.__file = "src/widgets/SrcParent.vue";
2116
2117
 
2117
- var script$1i = {
2118
+ var script$1k = {
2118
2119
  name: 'w-view',
2119
- mixins: [script$1j],
2120
+ mixins: [script$1l],
2120
2121
  provide() {
2121
2122
  return {
2122
2123
  provideView: this
@@ -2133,9 +2134,6 @@ var script$1i = {
2133
2134
  this.popCommanders = {};
2134
2135
  },
2135
2136
  methods: {
2136
- reload() {
2137
- this.request();
2138
- },
2139
2137
  find(a) {
2140
2138
  const b = this.el().querySelectorAll(`[w-key="${a}"]`);
2141
2139
  for (let c of b) {
@@ -2315,20 +2313,20 @@ var script$1i = {
2315
2313
  }
2316
2314
  };
2317
2315
 
2318
- script$1i.__file = "src/widgets/ViewAbs.vue";
2316
+ script$1k.__file = "src/widgets/ViewAbs.vue";
2319
2317
 
2320
- var script$1h = {
2318
+ var script$1j = {
2321
2319
  name: 'w-svg-loading'
2322
2320
  };
2323
2321
 
2324
- const _hoisted_1$9 = {
2322
+ const _hoisted_1$a = {
2325
2323
  style: {"display":"none","width":"0","height":"0"},
2326
2324
  width: "0",
2327
2325
  height: "0",
2328
2326
  focusable: "false",
2329
2327
  "aria-hidden": "true"
2330
2328
  };
2331
- const _hoisted_2$7 = /*#__PURE__*/createStaticVNode("<symbol id=\"f-svg-loading\" viewBox=\"0 0 50 50\"><path d=\"M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z\" transform=\"rotate(86.9154 25 25)\"></path></symbol><symbol id=\"f-svg-loading-1\" viewBox=\"10 10 80 80\"><circle cx=\"50\" cy=\"50\" r=\"30\"></circle></symbol><symbol id=\"f-svg-loading-2\" viewBox=\"0 0 24 30\"><rect x=\"0\" y=\"8.66115\" width=\"4\" height=\"12.6777\" opacity=\"0.2\"><animate attributeName=\"opacity\" values=\"0.2; 1; .2\" begin=\"0s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"height\" values=\"10; 20; 10\" begin=\"0s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"y\" values=\"10; 5; 10\" begin=\"0s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate></rect><rect x=\"8\" y=\"6.16115\" width=\"4\" height=\"17.6777\" opacity=\"0.2\"><animate attributeName=\"opacity\" values=\"0.2; 1; .2\" begin=\"0.15s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"height\" values=\"10; 20; 10\" begin=\"0.15s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"y\" values=\"10; 5; 10\" begin=\"0.15s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate></rect><rect x=\"16\" y=\"6.33885\" width=\"4\" height=\"17.3223\" opacity=\"0.2\"><animate attributeName=\"opacity\" values=\"0.2; 1; .2\" begin=\"0.3s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"height\" values=\"10; 20; 10\" begin=\"0.3s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"y\" values=\"10; 5; 10\" begin=\"0.3s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate></rect></symbol>", 3);
2329
+ const _hoisted_2$8 = /*#__PURE__*/createStaticVNode("<symbol id=\"f-svg-loading\" viewBox=\"0 0 50 50\"><path d=\"M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z\" transform=\"rotate(86.9154 25 25)\"></path></symbol><symbol id=\"f-svg-loading-1\" viewBox=\"0 0 50 50\"><circle cx=\"25\" cy=\"25\" r=\"20\"></circle></symbol><symbol id=\"f-svg-loading-2\" viewBox=\"0 0 24 30\"><rect x=\"0\" y=\"8.66115\" width=\"4\" height=\"12.6777\" opacity=\"0.2\"><animate attributeName=\"opacity\" values=\"0.2; 1; .2\" begin=\"0s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"height\" values=\"10; 20; 10\" begin=\"0s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"y\" values=\"10; 5; 10\" begin=\"0s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate></rect><rect x=\"8\" y=\"6.16115\" width=\"4\" height=\"17.6777\" opacity=\"0.2\"><animate attributeName=\"opacity\" values=\"0.2; 1; .2\" begin=\"0.15s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"height\" values=\"10; 20; 10\" begin=\"0.15s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"y\" values=\"10; 5; 10\" begin=\"0.15s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate></rect><rect x=\"16\" y=\"6.33885\" width=\"4\" height=\"17.3223\" opacity=\"0.2\"><animate attributeName=\"opacity\" values=\"0.2; 1; .2\" begin=\"0.3s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"height\" values=\"10; 20; 10\" begin=\"0.3s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate><animate attributeName=\"y\" values=\"10; 5; 10\" begin=\"0.3s\" dur=\"0.6s\" repeatCount=\"indefinite\"></animate></rect></symbol>", 3);
2332
2330
  const _hoisted_5$2 = /*#__PURE__*/createElementVNode("symbol", {
2333
2331
  id: "f-svg-loading-3",
2334
2332
  viewBox: "0 0 1024 1024"
@@ -2339,18 +2337,18 @@ const _hoisted_5$2 = /*#__PURE__*/createElementVNode("symbol", {
2339
2337
  })
2340
2338
  ], -1 /* HOISTED */);
2341
2339
  const _hoisted_6$2 = [
2342
- _hoisted_2$7,
2340
+ _hoisted_2$8,
2343
2341
  _hoisted_5$2
2344
2342
  ];
2345
2343
 
2346
2344
  function render$8(_ctx, _cache, $props, $setup, $data, $options) {
2347
- return (openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_6$2))
2345
+ return (openBlock(), createElementBlock("svg", _hoisted_1$a, _hoisted_6$2))
2348
2346
  }
2349
2347
 
2350
- script$1h.render = render$8;
2351
- script$1h.__file = "src/assets/SVGIcon.vue";
2348
+ script$1j.render = render$8;
2349
+ script$1j.__file = "src/assets/SVGIcon.vue";
2352
2350
 
2353
- var script$1g = {
2351
+ var script$1i = {
2354
2352
  props: ['data'],
2355
2353
  data() {
2356
2354
  return {
@@ -2391,10 +2389,10 @@ var script$1g = {
2391
2389
  }
2392
2390
  };
2393
2391
 
2394
- const _hoisted_1$8 = { class: "f-height f-rel f-oh" };
2395
- const _hoisted_2$6 = ["src"];
2396
- const _hoisted_3$4 = { class: "_rotate" };
2397
- const _hoisted_4$2 = /*#__PURE__*/createElementVNode("span", { class: "_s" }, "|", -1 /* HOISTED */);
2392
+ const _hoisted_1$9 = { class: "f-height f-rel f-oh" };
2393
+ const _hoisted_2$7 = ["src"];
2394
+ const _hoisted_3$5 = { class: "_rotate" };
2395
+ const _hoisted_4$3 = /*#__PURE__*/createElementVNode("span", { class: "_s" }, "|", -1 /* HOISTED */);
2398
2396
 
2399
2397
  function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2400
2398
  const _component_w_swiper_item = resolveComponent("w-swiper-item");
@@ -2425,11 +2423,11 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2425
2423
  (openBlock(true), createElementBlock(Fragment, null, renderList($props.data.imgs, (item, index) => {
2426
2424
  return (openBlock(), createBlock(_component_w_swiper_item, { key: index }, {
2427
2425
  default: withCtx(() => [
2428
- createElementVNode("div", _hoisted_1$8, [
2426
+ createElementVNode("div", _hoisted_1$9, [
2429
2427
  createElementVNode("img", {
2430
2428
  class: "_img",
2431
2429
  src: item
2432
- }, null, 8 /* PROPS */, _hoisted_2$6)
2430
+ }, null, 8 /* PROPS */, _hoisted_2$7)
2433
2431
  ])
2434
2432
  ]),
2435
2433
  _: 2 /* DYNAMIC */
@@ -2438,12 +2436,12 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2438
2436
  ]),
2439
2437
  _: 1 /* STABLE */
2440
2438
  }, 8 /* PROPS */, ["current", "arrow", "indicator-dots"]),
2441
- createElementVNode("div", _hoisted_3$4, [
2439
+ createElementVNode("div", _hoisted_3$5, [
2442
2440
  createElementVNode("a", {
2443
2441
  class: "_l",
2444
2442
  onClick: _cache[0] || (_cache[0] = $event => ($options.rot(-1)))
2445
2443
  }, toDisplayString($options.loc.rotate_left), 1 /* TEXT */),
2446
- _hoisted_4$2,
2444
+ _hoisted_4$3,
2447
2445
  createElementVNode("a", {
2448
2446
  class: "_r",
2449
2447
  onClick: _cache[1] || (_cache[1] = $event => ($options.rot(1)))
@@ -2464,10 +2462,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2464
2462
  }))
2465
2463
  }
2466
2464
 
2467
- script$1g.render = render$7;
2468
- script$1g.__file = "src/template/TemplatePreviewMedia.vue";
2465
+ script$1i.render = render$7;
2466
+ script$1i.__file = "src/template/TemplatePreviewMedia.vue";
2469
2467
 
2470
- var script$1f = {
2468
+ var script$1h = {
2471
2469
  props: ['data'],
2472
2470
  data() {
2473
2471
  let f = this.data.format || 'yyyy-MM-dd';
@@ -2968,12 +2966,12 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
2968
2966
  }))
2969
2967
  }
2970
2968
 
2971
- script$1f.render = render$6;
2972
- script$1f.__file = "src/template/TemplateDateSheet.vue";
2969
+ script$1h.render = render$6;
2970
+ script$1h.__file = "src/template/TemplateDateSheet.vue";
2973
2971
 
2974
- var script$1e = {
2972
+ var script$1g = {
2975
2973
  name: 'w-docview',
2976
- mixins: [script$1k, script$1i],
2974
+ mixins: [script$1m, script$1k],
2977
2975
  provide() {
2978
2976
  return {
2979
2977
  providePubParent: null,
@@ -2995,15 +2993,15 @@ var script$1e = {
2995
2993
  return null
2996
2994
  },
2997
2995
  previewVideo(src) {
2998
- this.pop(script$1g, {data: {type: 'video', src}});
2996
+ this.pop(script$1i, {data: {type: 'video', src}});
2999
2997
  },
3000
2998
  previewImage(imgs, options) {
3001
- this.pop(script$1g, {data: {type: 'image', imgs, options}});
2999
+ this.pop(script$1i, {data: {type: 'image', imgs, options}});
3002
3000
  },
3003
3001
  //dateOptions: {value, format, minValue, maxValue, success}
3004
3002
  dateSheet(dateOptions, dialogOptions) {
3005
- this.pop(script$1f, {
3006
- template: script$1f,
3003
+ this.pop(script$1h, {
3004
+ template: script$1h,
3007
3005
  width: '100%',
3008
3006
  height: '55%',
3009
3007
  position: 'b',
@@ -3019,20 +3017,20 @@ var script$1e = {
3019
3017
  return [
3020
3018
  this.$slots.default && this.$slots.default(),
3021
3019
  this.html_pops(),
3022
- h(script$1h),
3020
+ h(script$1j),
3023
3021
  ]
3024
3022
  }
3025
3023
  }
3026
3024
  };
3027
3025
 
3028
- script$1e.__file = "src/widgets/DocView.vue";
3026
+ script$1g.__file = "src/widgets/DocView.vue";
3029
3027
 
3030
- var script$1d = {
3031
- mixins: [script$1k],
3028
+ var script$1f = {
3029
+ mixins: [script$1m],
3032
3030
  inject: ['provideView']
3033
3031
  };
3034
3032
 
3035
- script$1d.__file = "src/widgets/WidgetBase.vue";
3033
+ script$1f.__file = "src/widgets/WidgetBase.vue";
3036
3034
 
3037
3035
  const onScroll = function(e) {
3038
3036
  if (this.wScrollPercentX) {
@@ -3073,8 +3071,8 @@ const onScroll = function(e) {
3073
3071
  }, dnEv);
3074
3072
  };
3075
3073
 
3076
- var script$1c = {
3077
- mixins: [script$1d],
3074
+ var script$1e = {
3075
+ mixins: [script$1f],
3078
3076
  props: ['scrollX', 'scrollY', 'scrollView', 'scrollFlex'],
3079
3077
  data() {
3080
3078
  return {
@@ -3360,9 +3358,9 @@ const onScroll = function(e) {
3360
3358
  }
3361
3359
  };
3362
3360
 
3363
- script$1c.__file = "src/widgets/Scroll.vue";
3361
+ script$1e.__file = "src/widgets/Scroll.vue";
3364
3362
 
3365
- var script$1b = {
3363
+ var script$1d = {
3366
3364
  props: ['align', 'valign', 'gap'],
3367
3365
  computed: {
3368
3366
  dir() {
@@ -3377,11 +3375,11 @@ var script$1b = {
3377
3375
  }
3378
3376
  };
3379
3377
 
3380
- script$1b.__file = "src/widgets/AlignParent.vue";
3378
+ script$1d.__file = "src/widgets/AlignParent.vue";
3381
3379
 
3382
- var script$1a = {
3380
+ var script$1c = {
3383
3381
  name: 'w-horizontal',
3384
- mixins: [script$1c, script$1b],
3382
+ mixins: [script$1e, script$1d],
3385
3383
  props: ['br', 'reverse'],
3386
3384
  provide() {
3387
3385
  return {
@@ -3433,11 +3431,11 @@ var script$1a = {
3433
3431
  }
3434
3432
  };
3435
3433
 
3436
- script$1a.__file = "src/widgets/Horizontal.vue";
3434
+ script$1c.__file = "src/widgets/Horizontal.vue";
3437
3435
 
3438
- var script$19 = {
3436
+ var script$1b = {
3439
3437
  name: 'w-vertical',
3440
- mixins: [script$1a],
3438
+ mixins: [script$1c],
3441
3439
  computed: {
3442
3440
  dir() {
3443
3441
  return 'v'
@@ -3445,11 +3443,11 @@ var script$19 = {
3445
3443
  }
3446
3444
  };
3447
3445
 
3448
- script$19.__file = "src/widgets/Vertical.vue";
3446
+ script$1b.__file = "src/widgets/Vertical.vue";
3449
3447
 
3450
- var script$18 = {
3448
+ var script$1a = {
3451
3449
  name: 'w-view',
3452
- mixins: [script$19, script$1i],
3450
+ mixins: [script$1b, script$1k],
3453
3451
  inject: ['provideView'],
3454
3452
  methods: {
3455
3453
  html_slots() {
@@ -3466,7 +3464,7 @@ var script$18 = {
3466
3464
  }
3467
3465
  };
3468
3466
 
3469
- script$18.__file = "src/widgets/View.vue";
3467
+ script$1a.__file = "src/widgets/View.vue";
3470
3468
 
3471
3469
  const O = {},
3472
3470
  T = true,
@@ -3483,9 +3481,9 @@ const O = {},
3483
3481
  return typeof a === 'string' && a.split(',').map(v => positionHooks[v] || v).join()
3484
3482
  };
3485
3483
 
3486
- var script$17 = {
3484
+ var script$19 = {
3487
3485
  name: 'w-dialog',
3488
- mixins: [script$18],
3486
+ mixins: [script$1a],
3489
3487
  props: ['title', 'autoHide', 'context', 'prong', 'independent', 'timeout',
3490
3488
  'cover', 'position', 'snap', 'indent', 'offsetRange', 'local', 'fullScreen', 'hoverShowDrop', 'visible',
3491
3489
  ...boundary
@@ -3860,12 +3858,12 @@ const O = {},
3860
3858
  }
3861
3859
  };
3862
3860
 
3863
- script$17.__file = "src/widgets/Dialog.vue";
3861
+ script$19.__file = "src/widgets/Dialog.vue";
3864
3862
 
3865
- const _hoisted_1$7 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
3863
+ const _hoisted_1$8 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
3866
3864
 
3867
3865
 
3868
- var script$16 = {
3866
+ var script$18 = {
3869
3867
  __name: 'TemplateAlert',
3870
3868
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
3871
3869
  emits: ['save', 'close'],
@@ -3933,7 +3931,7 @@ return (_ctx, _cache) => {
3933
3931
  onClick: close
3934
3932
  }, {
3935
3933
  default: withCtx(() => [
3936
- _hoisted_1$7
3934
+ _hoisted_1$8
3937
3935
  ]),
3938
3936
  _: 1 /* STABLE */
3939
3937
  })
@@ -3998,11 +3996,11 @@ return (_ctx, _cache) => {
3998
3996
 
3999
3997
  };
4000
3998
 
4001
- script$16.__file = "src/template/TemplateAlert.vue";
3999
+ script$18.__file = "src/template/TemplateAlert.vue";
4002
4000
 
4003
- var script$15 = {
4001
+ var script$17 = {
4004
4002
  name: 'w-alert',
4005
- mixins: [script$17],
4003
+ mixins: [script$19],
4006
4004
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4007
4005
  methods: {
4008
4006
  x_default() {
@@ -4020,7 +4018,7 @@ var script$15 = {
4020
4018
  },
4021
4019
  html_slots_default() {
4022
4020
  return h(
4023
- script$16,
4021
+ script$18,
4024
4022
  {
4025
4023
  text: this.x.text,
4026
4024
  title: this.x.title,
@@ -4036,12 +4034,12 @@ var script$15 = {
4036
4034
  }
4037
4035
  };
4038
4036
 
4039
- script$15.__file = "src/widgets/Alert.vue";
4037
+ script$17.__file = "src/widgets/Alert.vue";
4040
4038
 
4041
- const _hoisted_1$6 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
4039
+ const _hoisted_1$7 = /*#__PURE__*/createElementVNode("i", { class: "w-alert-close-icon f-i f-i-close" }, null, -1 /* HOISTED */);
4042
4040
 
4043
4041
 
4044
- var script$14 = {
4042
+ var script$16 = {
4045
4043
  __name: 'TemplateConfirm',
4046
4044
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
4047
4045
  emits: ['save', 'close'],
@@ -4109,7 +4107,7 @@ return (_ctx, _cache) => {
4109
4107
  onClick: close
4110
4108
  }, {
4111
4109
  default: withCtx(() => [
4112
- _hoisted_1$6
4110
+ _hoisted_1$7
4113
4111
  ]),
4114
4112
  _: 1 /* STABLE */
4115
4113
  })
@@ -4181,11 +4179,11 @@ return (_ctx, _cache) => {
4181
4179
 
4182
4180
  };
4183
4181
 
4184
- script$14.__file = "src/template/TemplateConfirm.vue";
4182
+ script$16.__file = "src/template/TemplateConfirm.vue";
4185
4183
 
4186
- var script$13 = {
4184
+ var script$15 = {
4187
4185
  name: 'w-confirm',
4188
- mixins: [script$17],
4186
+ mixins: [script$19],
4189
4187
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4190
4188
  methods: {
4191
4189
  x_default() {
@@ -4204,7 +4202,7 @@ var script$13 = {
4204
4202
  },
4205
4203
  html_slots_default() {
4206
4204
  return h(
4207
- script$14,
4205
+ script$16,
4208
4206
  {
4209
4207
  text: this.x.text,
4210
4208
  title: this.x.title,
@@ -4220,17 +4218,17 @@ var script$13 = {
4220
4218
  }
4221
4219
  };
4222
4220
 
4223
- script$13.__file = "src/widgets/Confirm.vue";
4221
+ script$15.__file = "src/widgets/Confirm.vue";
4224
4222
 
4225
- const _hoisted_1$5 = { class: "w-tip-body" };
4226
- const _hoisted_2$5 = {
4223
+ const _hoisted_1$6 = { class: "w-tip-body" };
4224
+ const _hoisted_2$6 = {
4227
4225
  key: 0,
4228
4226
  class: "w-tip-text"
4229
4227
  };
4230
- const _hoisted_3$3 = ["innerHTML"];
4228
+ const _hoisted_3$4 = ["innerHTML"];
4231
4229
 
4232
4230
 
4233
- var script$12 = {
4231
+ var script$14 = {
4234
4232
  __name: 'TemplateTip',
4235
4233
  props: ['text', 'escape'],
4236
4234
  setup(__props) {
@@ -4238,15 +4236,15 @@ var script$12 = {
4238
4236
 
4239
4237
 
4240
4238
  return (_ctx, _cache) => {
4241
- return (openBlock(), createElementBlock("div", _hoisted_1$5, [
4239
+ return (openBlock(), createElementBlock("div", _hoisted_1$6, [
4242
4240
  renderSlot(_ctx.$slots, "text", {}, () => [
4243
4241
  (__props.escape)
4244
- ? (openBlock(), createElementBlock("div", _hoisted_2$5, toDisplayString(__props.text), 1 /* TEXT */))
4242
+ ? (openBlock(), createElementBlock("div", _hoisted_2$6, toDisplayString(__props.text), 1 /* TEXT */))
4245
4243
  : (openBlock(), createElementBlock("div", {
4246
4244
  key: 1,
4247
4245
  class: "w-tip-text",
4248
4246
  innerHTML: __props.text
4249
- }, null, 8 /* PROPS */, _hoisted_3$3))
4247
+ }, null, 8 /* PROPS */, _hoisted_3$4))
4250
4248
  ])
4251
4249
  ]))
4252
4250
  }
@@ -4254,16 +4252,16 @@ return (_ctx, _cache) => {
4254
4252
 
4255
4253
  };
4256
4254
 
4257
- script$12.__file = "src/template/TemplateTip.vue";
4255
+ script$14.__file = "src/template/TemplateTip.vue";
4258
4256
 
4259
4257
  let inst$1 = null;
4260
4258
  let tipCache = {
4261
4259
  time: new Date().getTime()
4262
4260
  };
4263
4261
 
4264
- var script$11 = {
4262
+ var script$13 = {
4265
4263
  name: 'w-tip',
4266
- mixins: [script$17],
4264
+ mixins: [script$19],
4267
4265
  props: ['face', 'text', 'escape'],
4268
4266
  methods: {
4269
4267
  x_default() {
@@ -4275,7 +4273,7 @@ let inst$1 = null;
4275
4273
  }
4276
4274
  },
4277
4275
  html_slots_default() {
4278
- return h(script$12, {text: this.x.text, escape: this.x.escape}, this.$slots)
4276
+ return h(script$14, {text: this.x.text, escape: this.x.escape}, this.$slots)
4279
4277
  }
4280
4278
  },
4281
4279
  computed: {
@@ -4300,12 +4298,12 @@ let inst$1 = null;
4300
4298
  }
4301
4299
  };
4302
4300
 
4303
- script$11.__file = "src/widgets/Tip.vue";
4301
+ script$13.__file = "src/widgets/Tip.vue";
4304
4302
 
4305
- var script$10 = {
4303
+ var script$12 = {
4306
4304
  name: 'w-img',
4307
4305
  pubParentName: 'w-album',
4308
- mixins: [script$1d],
4306
+ mixins: [script$1f],
4309
4307
  inject: ['providePubParent'],
4310
4308
  props: ['src', 'text', 'square', 'imgWidth', 'imgHeight', 'dataUrl', 'vertical', 'disabled'],
4311
4309
  data() {
@@ -4351,7 +4349,7 @@ var script$10 = {
4351
4349
  class: 'w-img-cover f-abs-full'
4352
4350
  }, this.$slots.cover())
4353
4351
  ]),
4354
- cont && h(script$19, {
4352
+ cont && h(script$1b, {
4355
4353
  class: 'w-img-description'
4356
4354
  }, cont)
4357
4355
  ]
@@ -4385,11 +4383,11 @@ var script$10 = {
4385
4383
  }
4386
4384
  };
4387
4385
 
4388
- script$10.__file = "src/widgets/Img.vue";
4386
+ script$12.__file = "src/widgets/Img.vue";
4389
4387
 
4390
- var script$$ = {
4388
+ var script$11 = {
4391
4389
  pubParentName: 'w-buttonbar',
4392
- mixins: [script$1d],
4390
+ mixins: [script$1f],
4393
4391
  props: ['text', 'icon', 'focusIcon', 'face', 'target', 'closable', 'loading', 'disabled', 'vertical', 'hoverShowDrop', 'dropProps', 'dropIcon', 'showDropIcon'],
4394
4392
  inject: ['providePubParent', 'provideMenu_w'],
4395
4393
  emits: ['click:close', 'dropClose'],
@@ -4478,7 +4476,7 @@ var script$$ = {
4478
4476
  if (this.x.loading) {
4479
4477
  r.push(h('div', {
4480
4478
  class: 'w-button-loading f-abs-full f-flex-center'
4481
- }, h(script$10, {
4479
+ }, h(script$12, {
4482
4480
  src: '#f-svg-loading'
4483
4481
  })));
4484
4482
  }
@@ -4493,7 +4491,7 @@ var script$$ = {
4493
4491
  }, h('span', {class: 'w-button-text-line f-line-1', title}, t)));
4494
4492
  }
4495
4493
  if (this.isMore && this.x.showDropIcon) {
4496
- r.push(h(script$10, {
4494
+ r.push(h(script$12, {
4497
4495
  class: 'w-button-more f-flex-center f-height',
4498
4496
  src: this.x.dropIcon || '.f-i .f-i-caret-down'
4499
4497
  }));
@@ -4511,7 +4509,7 @@ var script$$ = {
4511
4509
  class: 'w-button-main f-oh f-height',
4512
4510
  ...(this.isCombo && !this.isDisabled && this.mouses),
4513
4511
  }, r),
4514
- this.isCombo && h(script$10, {
4512
+ this.isCombo && h(script$12, {
4515
4513
  class: 'w-button-drop f-flex-center f-height',
4516
4514
  src: this.x.dropIcon || '.f-i .f-i-caret-down',
4517
4515
  ...(!this.isDisabled && this.mouses),
@@ -4562,11 +4560,11 @@ var script$$ = {
4562
4560
  }
4563
4561
  };
4564
4562
 
4565
- script$$.__file = "src/widgets/ButtonAbs.vue";
4563
+ script$11.__file = "src/widgets/ButtonAbs.vue";
4566
4564
 
4567
- var script$_ = {
4565
+ var script$10 = {
4568
4566
  name: 'w-menubutton',
4569
- mixins: [script$$],
4567
+ mixins: [script$11],
4570
4568
  methods: {
4571
4569
  ajax(...args) {
4572
4570
  return this.parentMenu.rootCommander.ajax(...args)
@@ -4629,7 +4627,7 @@ var script$_ = {
4629
4627
  onclick: this.clickClose
4630
4628
  })));
4631
4629
  }
4632
- r.push(h(script$10, {
4630
+ r.push(h(script$12, {
4633
4631
  class: 'w-menubutton-drop f-flex-center f-height',
4634
4632
  src: this.isMore ? (this.x.dropIcon || '.f-i .f-i-caret-right') : ''
4635
4633
  }));
@@ -4680,11 +4678,11 @@ var script$_ = {
4680
4678
  },
4681
4679
  };
4682
4680
 
4683
- script$_.__file = "src/widgets/MenuButton.vue";
4681
+ script$10.__file = "src/widgets/MenuButton.vue";
4684
4682
 
4685
- var script$Z = {
4683
+ var script$$ = {
4686
4684
  name: 'w-button',
4687
- mixins: [script$$],
4685
+ mixins: [script$11],
4688
4686
  props: ['autoMenuButton'],
4689
4687
  methods: {
4690
4688
  x_default() {
@@ -4696,14 +4694,14 @@ var script$Z = {
4696
4694
  },
4697
4695
  render() {
4698
4696
  if (this.provideMenu_w && this.x.autoMenuButton) {
4699
- return h(script$_, this.$props, this.$slots)
4697
+ return h(script$10, this.$props, this.$slots)
4700
4698
  } else {
4701
4699
  return this.html()
4702
4700
  }
4703
4701
  }
4704
4702
  };
4705
4703
 
4706
- script$Z.__file = "src/widgets/Button.vue";
4704
+ script$$.__file = "src/widgets/Button.vue";
4707
4705
 
4708
4706
  let inst = null;
4709
4707
 
@@ -4718,9 +4716,9 @@ let inst = null;
4718
4716
  return inst && (ctx.hasBubble(inst.context) || inst.hasBubble(ctx))
4719
4717
  }
4720
4718
 
4721
- var script$Y = {
4719
+ var script$_ = {
4722
4720
  name: 'w-menu',
4723
- mixins: [script$17],
4721
+ mixins: [script$19],
4724
4722
  provide() {
4725
4723
  return {
4726
4724
  provideMenu_w: this
@@ -4789,7 +4787,7 @@ let inst = null;
4789
4787
  }, h('i', {
4790
4788
  class: 'f-i f-i-caret-up'
4791
4789
  })),
4792
- h(script$19, {
4790
+ h(script$1b, {
4793
4791
  class: 'w-menu-bbr',
4794
4792
  height: '*',
4795
4793
  ref: 'bbr',
@@ -4844,11 +4842,11 @@ let inst = null;
4844
4842
  }
4845
4843
  };
4846
4844
 
4847
- script$Y.__file = "src/widgets/Menu.vue";
4845
+ script$_.__file = "src/widgets/Menu.vue";
4848
4846
 
4849
- var script$X = {
4847
+ var script$Z = {
4850
4848
  name: 'w-loading',
4851
- mixins: [script$17],
4849
+ mixins: [script$19],
4852
4850
  props: ['text', 'icon'],
4853
4851
  methods: {
4854
4852
  x_default() {
@@ -4857,7 +4855,7 @@ var script$X = {
4857
4855
  }
4858
4856
  },
4859
4857
  html_slots() {
4860
- return h(script$10, {
4858
+ return h(script$12, {
4861
4859
  src: this.x.icon !== undefined ? this.x.icon : '#f-svg-loading',
4862
4860
  text: this.x.text !== undefined ? this.x.text : $$1.loc.loading
4863
4861
  })
@@ -4870,11 +4868,11 @@ var script$X = {
4870
4868
  }
4871
4869
  };
4872
4870
 
4873
- script$X.__file = "src/widgets/Loading.vue";
4871
+ script$Z.__file = "src/widgets/Loading.vue";
4874
4872
 
4875
- var script$W = {
4873
+ var script$Y = {
4876
4874
  name: 'w-table',
4877
- mixins: [script$1d],
4875
+ mixins: [script$1f],
4878
4876
  props: ['face', 'scroll-x', 'scroll-y'],
4879
4877
  provide() {
4880
4878
  return {
@@ -4951,22 +4949,22 @@ var script$W = {
4951
4949
  }
4952
4950
  };
4953
4951
 
4954
- script$W.__file = "src/widgets/Table.vue";
4952
+ script$Y.__file = "src/widgets/Table.vue";
4955
4953
 
4956
- var script$V = {
4954
+ var script$X = {
4957
4955
  name: 'w-columns'
4958
4956
  };
4959
4957
 
4960
- script$V.__file = "src/widgets/TableColumns.vue";
4958
+ script$X.__file = "src/widgets/TableColumns.vue";
4961
4959
 
4962
- var script$U = {
4960
+ var script$W = {
4963
4961
  name: 'w-column',
4964
4962
  props: ['width', 'minWidth'],
4965
4963
  };
4966
4964
 
4967
- script$U.__file = "src/widgets/TableColumn.vue";
4965
+ script$W.__file = "src/widgets/TableColumn.vue";
4968
4966
 
4969
- var script$T = {
4967
+ var script$V = {
4970
4968
  props: ['pub', 'current'],
4971
4969
  provide() {
4972
4970
  return {
@@ -4997,21 +4995,21 @@ var script$T = {
4997
4995
  }
4998
4996
  };
4999
4997
 
5000
- script$T.__file = "src/widgets/PubParent.vue";
4998
+ script$V.__file = "src/widgets/PubParent.vue";
5001
4999
 
5002
5000
  function render$5(_ctx, _cache) {
5003
5001
  return renderSlot(_ctx.$slots, "default")
5004
5002
  }
5005
5003
 
5006
- const script$S = {};
5004
+ const script$U = {};
5007
5005
 
5008
5006
 
5009
- script$S.render = render$5;
5010
- script$S.__file = "src/widgets/SlotDefault.vue";
5007
+ script$U.render = render$5;
5008
+ script$U.__file = "src/widgets/SlotDefault.vue";
5011
5009
 
5012
- var script$R = {
5010
+ var script$T = {
5013
5011
  name: 'w-thead',
5014
- mixins: [script$1d, script$T],
5012
+ mixins: [script$1f, script$V],
5015
5013
  props: ['br', 'sort'],
5016
5014
  inject: ['_provideTable'],
5017
5015
  provide() {
@@ -5048,7 +5046,7 @@ var script$R = {
5048
5046
  return t
5049
5047
  });
5050
5048
  if (key) {
5051
- return h(script$S, {key}, {default: () => row})
5049
+ return h(script$U, {key}, {default: () => row})
5052
5050
  } else {
5053
5051
  return row
5054
5052
  }
@@ -5104,11 +5102,11 @@ var script$R = {
5104
5102
  }
5105
5103
  };
5106
5104
 
5107
- script$R.__file = "src/widgets/TableTHead.vue";
5105
+ script$T.__file = "src/widgets/TableTHead.vue";
5108
5106
 
5109
- var script$Q = {
5107
+ var script$S = {
5110
5108
  name: 'w-tbody',
5111
- mixins: [script$R, script$1c],
5109
+ mixins: [script$T, script$1e],
5112
5110
  inject: ['_provideTable'],
5113
5111
  props: ['children'],
5114
5112
  provide() {
@@ -5176,12 +5174,12 @@ var script$Q = {
5176
5174
  }
5177
5175
  };
5178
5176
 
5179
- script$Q.__file = "src/widgets/TableTBody.vue";
5177
+ script$S.__file = "src/widgets/TableTBody.vue";
5180
5178
 
5181
- var script$P = {
5179
+ var script$R = {
5182
5180
  name: 'w-tr',
5183
5181
  pubParentName: 'w-tbody,w-thead',
5184
- mixins: [script$1d, script$1j],
5182
+ mixins: [script$1f, script$1l],
5185
5183
  props: ['rowIndex', 'expanded', 'children'],
5186
5184
  inject: ['_provideTable', 'providePubParent', 'provideInBody', '_provideTBody', 'provideLevel', 'provideParentTR'],
5187
5185
  provide() {
@@ -5265,7 +5263,7 @@ var script$P = {
5265
5263
  }
5266
5264
  }
5267
5265
  if (key) {
5268
- return h(script$S, {key}, {default: () => row})
5266
+ return h(script$U, {key}, {default: () => row})
5269
5267
  } else {
5270
5268
  return row
5271
5269
  }
@@ -5309,9 +5307,9 @@ var script$P = {
5309
5307
 
5310
5308
  };
5311
5309
 
5312
- script$P.__file = "src/widgets/TableTR.vue";
5310
+ script$R.__file = "src/widgets/TableTR.vue";
5313
5311
 
5314
- var script$O = {
5312
+ var script$Q = {
5315
5313
  name: 'w-td',
5316
5314
  props: ['colspan', 'rowspan', 'align', 'valign', 'data'],
5317
5315
  inject: ['_provideTable', 'provideInBody'],
@@ -5348,11 +5346,11 @@ var script$O = {
5348
5346
  }
5349
5347
  };
5350
5348
 
5351
- script$O.__file = "src/widgets/TableTD.vue";
5349
+ script$Q.__file = "src/widgets/TableTD.vue";
5352
5350
 
5353
- var script$N = {
5351
+ var script$P = {
5354
5352
  name: 'w-th',
5355
- mixins: [script$O, script$1d],
5353
+ mixins: [script$Q, script$1f],
5356
5354
  props: ['sortable', 'sortOrders', 'sortOrderDefault'],
5357
5355
  inject: ['_provideThead'],
5358
5356
  emits: ['click:sort'],
@@ -5387,7 +5385,7 @@ var script$N = {
5387
5385
  this.$emit('click:sort', e, o);
5388
5386
  },
5389
5387
  html_slots() {
5390
- return h(script$1a, {class: 'w-th-wrap', valign: 'middle', align: this.align || this.col.align}, {default: () => [
5388
+ return h(script$1c, {class: 'w-th-wrap', valign: 'middle', align: this.align || this.col.align}, {default: () => [
5391
5389
  h('div', {class: 'w-th-title'}, this.$slots),
5392
5390
  this.x.sortable ? h('div', {class: 'w-th-sort f-flex-column f-flex-center f-oh'}, [
5393
5391
  h('i', {class: 'f-i f-i-caret-up f-oh w-th-sort-up', onClick: e => this.clickSort(e, 'asc')}),
@@ -5412,11 +5410,11 @@ var script$N = {
5412
5410
  }
5413
5411
  };
5414
5412
 
5415
- script$N.__file = "src/widgets/TableTH.vue";
5413
+ script$P.__file = "src/widgets/TableTH.vue";
5416
5414
 
5417
- var script$M = {
5415
+ var script$O = {
5418
5416
  name: 'w-grid',
5419
- mixins: [script$1c],
5417
+ mixins: [script$1e],
5420
5418
  props: ['columns', 'rows', 'gap', 'defaultColspan', 'face', 'labelWidth'],
5421
5419
  methods: {
5422
5420
  x_default() {
@@ -5458,13 +5456,13 @@ var script$M = {
5458
5456
  }
5459
5457
  };
5460
5458
 
5461
- script$M.__file = "src/widgets/Grid.vue";
5459
+ script$O.__file = "src/widgets/Grid.vue";
5462
5460
 
5463
- var script$L = {
5461
+ var script$N = {
5464
5462
  name: 'w-swiper-item',
5465
5463
  pubParentName: 'w-swiper',
5466
5464
  inject: ['providePubParent'],
5467
- mixins: [script$1d],
5465
+ mixins: [script$1f],
5468
5466
  props: ['lazy'],
5469
5467
  data() {
5470
5468
  return {
@@ -5497,11 +5495,11 @@ var script$L = {
5497
5495
  }
5498
5496
  };
5499
5497
 
5500
- script$L.__file = "src/widgets/SwiperItem.vue";
5498
+ script$N.__file = "src/widgets/SwiperItem.vue";
5501
5499
 
5502
- var script$K = {
5500
+ var script$M = {
5503
5501
  name: 'w-swiper',
5504
- mixins: [script$1d, script$T],
5502
+ mixins: [script$1f, script$V],
5505
5503
  props: ['arrow', 'indicatorDots', 'duration'],
5506
5504
  data() {
5507
5505
  return {
@@ -5586,11 +5584,11 @@ var script$K = {
5586
5584
  }
5587
5585
  };
5588
5586
 
5589
- script$K.__file = "src/widgets/Swiper.vue";
5587
+ script$M.__file = "src/widgets/Swiper.vue";
5590
5588
 
5591
- var script$J = {
5589
+ var script$L = {
5592
5590
  name: 'w-buttonbar',
5593
- mixins: [script$1a, script$T],
5591
+ mixins: [script$1c, script$V],
5594
5592
  props: ['vertical'],
5595
5593
  emits: ['click:item'],
5596
5594
  methods: {
@@ -5622,11 +5620,11 @@ var script$J = {
5622
5620
  }
5623
5621
  };
5624
5622
 
5625
- script$J.__file = "src/widgets/ButtonBar.vue";
5623
+ script$L.__file = "src/widgets/ButtonBar.vue";
5626
5624
 
5627
- var script$I = {
5625
+ var script$K = {
5628
5626
  name: 'w-tabbar',
5629
- mixins: [script$J],
5627
+ mixins: [script$L],
5630
5628
  props: ['vertical', 'arrow', 'quickCloseButton', 'flexSize', 'buttons'],
5631
5629
  emits: ['click:item', 'click:quickCloseButton'],
5632
5630
  data() {
@@ -5703,7 +5701,7 @@ var script$I = {
5703
5701
  },
5704
5702
  html_slots() {
5705
5703
  let group = h(TransitionGroup, {name: 'w-tabbar', onBeforeEnter: this.onBeforeEnter, onAfterEnter: this.onAfterEnter, onBeforeLeave: this.onBeforeLeave, onAfterLeave: this.onAfterLeave}, {default: () => this.buttons});
5706
- let gut = [h(this.x.vertical ? script$19 : script$1a, {ref: 'gut', class: 'w-tabbar-gut', gap: this.x.gap, align: this.x.align, valign: this.x.valign}, {default: () => group})];
5704
+ let gut = [h(this.x.vertical ? script$1b : script$1c, {ref: 'gut', class: 'w-tabbar-gut', gap: this.x.gap, align: this.x.align, valign: this.x.valign}, {default: () => group})];
5707
5705
  if (this.x.arrow) {
5708
5706
  gut.unshift(h('div', {class: 'w-tabbar-arrow-start', onClick: () => this.clickArrow(-1)}, h('i', {class: 'f-i f-i-caret-left'})));
5709
5707
  gut.push(h('div', {class: 'w-tabbar-arrow-end', onClick: () => this.clickArrow(1)}, h('i', {class: 'f-i f-i-caret-right'})));
@@ -5711,7 +5709,7 @@ var script$I = {
5711
5709
  if (this.x.quickCloseButton) {
5712
5710
  let closeAllDisabled = !this.buttons.find(c => c.props.closable);
5713
5711
  if (this.buttons.length) {
5714
- gut.push(h(script$Z, {
5712
+ gut.push(h(script$$, {
5715
5713
  ref: 'quickCloseButton',
5716
5714
  data: {isQuickCloseButton: true},
5717
5715
  showDropIcon: false,
@@ -5720,7 +5718,7 @@ var script$I = {
5720
5718
  onDropClose: this.onMouseleave
5721
5719
  }, {
5722
5720
  default: () => [
5723
- h(script$Z, {text: '关闭全部标签', onClick: this.closeAll, disabled: closeAllDisabled})
5721
+ h(script$$, {text: '关闭全部标签', onClick: this.closeAll, disabled: closeAllDisabled})
5724
5722
  ]
5725
5723
  }));
5726
5724
  }
@@ -5822,12 +5820,12 @@ var script$I = {
5822
5820
  }
5823
5821
  };
5824
5822
 
5825
- script$I.__file = "src/widgets/TabBar.vue";
5823
+ script$K.__file = "src/widgets/TabBar.vue";
5826
5824
 
5827
- var script$H = {
5825
+ var script$J = {
5828
5826
  name: 'w-tabbutton',
5829
5827
  pubParentName: 'w-tabbar',
5830
- mixins: [script$Z],
5828
+ mixins: [script$$],
5831
5829
  methods: {
5832
5830
  vis() {
5833
5831
  let add = [20, 20];
@@ -5847,11 +5845,11 @@ var script$H = {
5847
5845
  }
5848
5846
  };
5849
5847
 
5850
- script$H.__file = "src/widgets/TabButton.vue";
5848
+ script$J.__file = "src/widgets/TabButton.vue";
5851
5849
 
5852
- var script$G = {
5850
+ var script$I = {
5853
5851
  name: 'w-tabs',
5854
- mixins: [script$1d],
5852
+ mixins: [script$1f],
5855
5853
  props: ['current', 'position', 'gap', 'face', 'quickCloseButton', 'flexSize'],
5856
5854
  emits: ['click:quickCloseButton'],
5857
5855
  methods: {
@@ -5879,11 +5877,11 @@ var script$G = {
5879
5877
  if (!v.props || v.props.key == null) {
5880
5878
  $$1.lodash.set(v, 'props.key', i);
5881
5879
  }
5882
- buttons.push(h(script$H, v.props));
5883
- pages.push(h(script$L, {lazy: v.props.lazy == null ? true : v.props.lazy, key: v.props.key}, v.children));
5880
+ buttons.push(h(script$J, v.props));
5881
+ pages.push(h(script$N, {lazy: v.props.lazy == null ? true : v.props.lazy, key: v.props.key}, v.children));
5884
5882
  });
5885
5883
  return [
5886
- h(script$I, {
5884
+ h(script$K, {
5887
5885
  ref: 'tabBar',
5888
5886
  class: 'w-tabs-buttonbar',
5889
5887
  current: this.x.current,
@@ -5896,7 +5894,7 @@ var script$G = {
5896
5894
  'onClick:quickCloseButton': this.clickQuickCloseButton,
5897
5895
  buttons,
5898
5896
  }),
5899
- h(script$K, {class: 'w-tabs-swiper f-flex-1 f-oh', current: this.x.current}, {default: () => pages}),
5897
+ h(script$M, {class: 'w-tabs-swiper f-flex-1 f-oh', current: this.x.current}, {default: () => pages}),
5900
5898
  ]
5901
5899
  }
5902
5900
  },
@@ -5908,17 +5906,17 @@ var script$G = {
5908
5906
  }
5909
5907
  };
5910
5908
 
5911
- script$G.__file = "src/widgets/Tabs.vue";
5909
+ script$I.__file = "src/widgets/Tabs.vue";
5912
5910
 
5913
- var script$F = {
5911
+ var script$H = {
5914
5912
  name: 'w-tab',
5915
5913
  };
5916
5914
 
5917
- script$F.__file = "src/widgets/Tab.vue";
5915
+ script$H.__file = "src/widgets/Tab.vue";
5918
5916
 
5919
- var script$E = {
5917
+ var script$G = {
5920
5918
  name: 'w-album',
5921
- mixins: [script$1a, script$T],
5919
+ mixins: [script$1c, script$V],
5922
5920
  methods: {
5923
5921
  x_default() {
5924
5922
  return {
@@ -5935,11 +5933,11 @@ var script$E = {
5935
5933
  }
5936
5934
  };
5937
5935
 
5938
- script$E.__file = "src/widgets/Album.vue";
5936
+ script$G.__file = "src/widgets/Album.vue";
5939
5937
 
5940
- var script$D = {
5938
+ var script$F = {
5941
5939
  name: 'w-html',
5942
- mixins: [script$1d, script$1b],
5940
+ mixins: [script$1f, script$1d],
5943
5941
  props: ['line'],
5944
5942
  computed: {
5945
5943
  html_props() {
@@ -5958,11 +5956,11 @@ var script$D = {
5958
5956
  }
5959
5957
  };
5960
5958
 
5961
- script$D.__file = "src/widgets/Html.vue";
5959
+ script$F.__file = "src/widgets/Html.vue";
5962
5960
 
5963
- var script$C = {
5961
+ var script$E = {
5964
5962
  name: 'w-tree',
5965
- mixins: [script$1c, script$T, script$1j],
5963
+ mixins: [script$1e, script$V, script$1l],
5966
5964
  emits: ['click:item'],
5967
5965
  provide() {
5968
5966
  return {
@@ -5972,6 +5970,9 @@ var script$C = {
5972
5970
  }
5973
5971
  },
5974
5972
  methods: {
5973
+ load() {
5974
+ return this.request()
5975
+ },
5975
5976
  getCurrent() {
5976
5977
  const leaf = $$1.q('.w-leaf.z-on', this.el())[0];
5977
5978
  return leaf && $$1(leaf)
@@ -5987,25 +5988,32 @@ var script$C = {
5987
5988
  },
5988
5989
  html_slots() {
5989
5990
  let r;
5990
- let chd = this.x.children;
5991
- if (this.$slots.default) {
5992
- if (Array.isArray(chd)) {
5993
- r = chd.map((item, index) => {
5994
- let key;
5995
- const leaf = this.$slots.default({item, index});
5996
- for (let f of leaf) {
5997
- if (!key) {
5998
- key = f.key;
5991
+ if (this.loading) {
5992
+ const sl = this.slot('loading');
5993
+ r = sl && sl.length ? sl : h('div', {
5994
+ class: 'w-tree-loading'
5995
+ }, h(script$12, {src: '#f-svg-loading-1', width: 30, height: 30}));
5996
+ } else {
5997
+ let chd = this.x.children;
5998
+ if (this.$slots.default) {
5999
+ if (Array.isArray(chd)) {
6000
+ r = chd.map((item, index) => {
6001
+ let key;
6002
+ const leaf = this.$slots.default({item, index});
6003
+ for (let f of leaf) {
6004
+ if (!key) {
6005
+ key = f.key;
6006
+ }
5999
6007
  }
6000
- }
6001
- if (key) {
6002
- return h(script$S, {key}, {default: () => leaf})
6003
- } else {
6004
- return leaf
6005
- }
6006
- });
6007
- } else {
6008
- r = [];
6008
+ if (key) {
6009
+ return h(script$U, {key}, {default: () => leaf})
6010
+ } else {
6011
+ return leaf
6012
+ }
6013
+ });
6014
+ } else {
6015
+ r = [];
6016
+ }
6009
6017
  }
6010
6018
  }
6011
6019
  return this.html_scroll_slots(r)
@@ -6022,15 +6030,325 @@ var script$C = {
6022
6030
  }
6023
6031
  },
6024
6032
  mounted() {
6025
- if (!this.x.children) this.request();
6033
+ if (!this.x.children || !this.x.children.length) this.request();
6026
6034
  }
6027
6035
  };
6028
6036
 
6029
- script$C.__file = "src/widgets/Tree.vue";
6037
+ script$E.__file = "src/widgets/Tree.vue";
6038
+
6039
+ var script$D = {
6040
+ mixins: [script$1b],
6041
+ emits: ['scroll'],
6042
+ methods: {
6043
+ onScroll(e) {
6044
+ this.$emit('scroll', e);
6045
+ },
6046
+ }
6047
+ };
6048
+
6049
+ script$D.__file = "src/widgets/TreeV2Wrap.vue";
6050
+
6051
+ const _hoisted_1$5 = { class: "w-tree-loading" };
6052
+ const _hoisted_2$5 = ["onClick"];
6053
+ const _hoisted_3$3 = ["onClick"];
6054
+ const _hoisted_4$2 = ["title"];
6055
+
6056
+
6057
+ const __default__ = {
6058
+ name: 'w-tree-v2'
6059
+ };
6060
+
6061
+ var script$C = /*#__PURE__*/Object.assign(__default__, {
6062
+ props: {
6063
+ alias: {
6064
+ type: Object,
6065
+ default() {
6066
+ return {}
6067
+ }
6068
+ },
6069
+ children: {
6070
+ type: Array,
6071
+ default() {
6072
+ return []
6073
+ }
6074
+ },
6075
+ current: {
6076
+ type: [String, Number]
6077
+ },
6078
+ itemHeight: {
6079
+ type: [String, Number],
6080
+ default: 32
6081
+ },
6082
+ src: {
6083
+ type: Function
6084
+ },
6085
+ },
6086
+ emits: ['click:item'],
6087
+ setup(__props, { emit: emits }) {
6088
+
6089
+ const props = __props;
6090
+
6091
+
6092
+
6093
+
6094
+
6095
+ const {alias, itemHeight} = props;
6096
+
6097
+ const propValue = alias.value || 'id';
6098
+ const propText = alias.text || 'text';
6099
+ const propChildren = alias.children || 'children';
6100
+
6101
+ const leafSymbol = Symbol('leaf');
6102
+ const showCount = ref(0);
6103
+ const scrollTop = ref(0);
6104
+ const flatList = ref([]);
6105
+ const root = ref();
6106
+ const flow = ref();
6107
+ const loading = ref(false);
6108
+
6109
+ const wrapStyle = computed(() => {
6110
+ return {
6111
+ height: `${flatList.value.length * itemHeight}px`
6112
+ }
6113
+ });
6114
+
6115
+ const itemStyle = (item) => {
6116
+ return {
6117
+ top: `${item[leafSymbol].showIndex * itemHeight}px`,
6118
+ paddingLeft: `${item[leafSymbol].level * 16}px`
6119
+ }
6120
+ };
6121
+
6122
+ const itemIcon = (item) => {
6123
+ return isFolder(item) ? (item.expanded ? item.expandedIcon : item.collapsedIcon) : item.icon
6124
+ };
6125
+
6126
+ const isItemLoading = (item) => {
6127
+ return item[leafSymbol].loading
6128
+ };
6129
+
6130
+ const isFolder = (item) => {
6131
+ return (item[propChildren] && item[propChildren].length) || (item[leafSymbol].src && !item[leafSymbol].loaded)
6132
+ };
6133
+
6134
+ const isCurrent = (item) => {
6135
+ return props.current === item[propValue]
6136
+ };
6137
+
6138
+ const clickItem = (e, item) => {
6139
+ emits('click:item', e, item);
6140
+ };
6141
+
6142
+ const clickToggle = (e, item) => {
6143
+ e.stopPropagation();
6144
+ toggle(item);
6145
+ };
6146
+
6147
+ const toggle = (item, expanded) => {
6148
+ const leaf = item[leafSymbol];
6149
+ if (leaf.loading) return
6150
+ item.expanded = expanded != null ? expanded : !item.expanded;
6151
+ const i = flatList.value.indexOf(item);
6152
+ if (item.expanded) {
6153
+ if (item[propChildren]) {
6154
+ const cs = toFlat(item[propChildren], item);
6155
+ const prev = flatList.value.slice(0, i + 1);
6156
+ const next = flatList.value.slice(i + 1);
6157
+ flatList.value = prev.concat(cs, next);
6158
+ } else if (leaf.src && !leaf.loaded) {
6159
+ leaf.loading = true;
6160
+ const stop = watch(() => item[propChildren], () => {
6161
+ leaf.loading = false;
6162
+ leaf.loaded = true;
6163
+ stop();
6164
+ toggle(item, item.expanded);
6165
+ });
6166
+ leaf.src();
6167
+ }
6168
+ } else {
6169
+ const count = desCount(item[propChildren]);
6170
+ const prev = flatList.value.slice(0, i + 1);
6171
+ const next = flatList.value.slice(i + 1 + count);
6172
+ flatList.value = prev.concat(next);
6173
+ }
6174
+ };
6175
+
6176
+ const onScroll = (e) => {
6177
+ if (scrollTop.value !== e.target.scrollTop)
6178
+ scrollTop.value = e.target.scrollTop;
6179
+ };
6180
+
6181
+ const toFlat = (children, parent) => {
6182
+ let r = [];
6183
+ if (children) {
6184
+ children.forEach(item => {
6185
+ r.push(item);
6186
+ const leaf = item[leafSymbol];
6187
+ if (!leaf) {
6188
+ item[leafSymbol] = {level: parent ? parent[leafSymbol].level + 1 : 0, parent, src: props.src && props.src(item)};
6189
+ }
6190
+ if (item[propChildren]) {
6191
+ if (item.expanded) {
6192
+ const c = toFlat(item[propChildren], item);
6193
+ if (c && c.length) r = r.concat(c);
6194
+ } else if (!leaf) {
6195
+ toFlat(item[propChildren], item);
6196
+ }
6197
+ }
6198
+ });
6199
+ }
6200
+ return r
6201
+ };
6202
+
6203
+ const desCount = (children) => {
6204
+ let count = 0;
6205
+ for (let item of children) {
6206
+ count ++;
6207
+ if (item[propChildren] && item.expanded) {
6208
+ count += desCount(item[propChildren]);
6209
+ }
6210
+ }
6211
+ return count
6212
+ };
6213
+
6214
+ const find = (id, children) => {
6215
+ if (!children) children = props.children;
6216
+ for (let item of children) {
6217
+ if (item[propValue] === id) return item
6218
+ if (item[propChildren] && item[propChildren].length) {
6219
+ const r = find(id, item[propChildren]);
6220
+ if (r) return r
6221
+ }
6222
+ }
6223
+ };
6224
+
6225
+ const expandTo = (id) => {
6226
+ const item = find(id);
6227
+ if (item) {
6228
+ let p = item;
6229
+ let a = p;
6230
+ while (p = p[leafSymbol].parent) {
6231
+ if (!p.expanded) {
6232
+ p.expanded = true;
6233
+ a = p;
6234
+ }
6235
+ }
6236
+ a && toggle(a, true);
6237
+ return item
6238
+ }
6239
+ };
6240
+
6241
+ const showList = computed(() => {
6242
+ const topCount = Math.floor(scrollTop.value / itemHeight);
6243
+ const r = flatList.value.slice(topCount, topCount + showCount.value).map((item, index) => {
6244
+ item[leafSymbol].showIndex = index + topCount;
6245
+ return item
6246
+ });
6247
+ return r
6248
+ });
6249
+
6250
+ const initShowCount = () => {
6251
+ flow.value = root.value.$refs.wScrollOverflow.getBoundingClientRect();
6252
+ showCount.value = Math.ceil(flow.value.height / itemHeight);
6253
+ };
6254
+
6255
+ onMounted(async () => {
6256
+ watch(() => root.value.wScrollSizeY, (ssy) => {
6257
+ initShowCount();
6258
+ }, {immediate: true});
6259
+ watch(() => props.children, (children) => {
6260
+ flatList.value = toFlat(children);
6261
+ }, {immediate: true});
6262
+ watch(() => props.current, (current) => {
6263
+ if (!showList.value.find(n => n[propValue] === current)) {
6264
+ const item = expandTo(current);
6265
+ const i = flatList.value.indexOf(item);
6266
+ if (i > -1) {
6267
+ nextTick(() => {
6268
+ root.value.scrollToY(((i + 1) * itemHeight) - (flow.value.height / 2));
6269
+ });
6270
+ }
6271
+ }
6272
+ });
6273
+ const src = props.src && props.src();
6274
+ if (src) {
6275
+ loading.value = true;
6276
+ await src();
6277
+ loading.value = false;
6278
+ }
6279
+ });
6280
+
6281
+
6282
+ return (_ctx, _cache) => {
6283
+ const _component_w_img = resolveComponent("w-img");
6284
+
6285
+ return (openBlock(), createBlock(script$D, {
6286
+ ref_key: "root",
6287
+ ref: root,
6288
+ class: "w-tree w-tree-v2",
6289
+ "scroll-y": true,
6290
+ onScroll: onScroll
6291
+ }, {
6292
+ default: withCtx(() => [
6293
+ (loading.value)
6294
+ ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
6295
+ createElementVNode("div", _hoisted_1$5, [
6296
+ createVNode(_component_w_img, {
6297
+ src: "#f-svg-loading-1",
6298
+ width: "30"
6299
+ })
6300
+ ])
6301
+ ])
6302
+ : (openBlock(), createElementBlock("div", {
6303
+ key: 1,
6304
+ class: "w-tree-v2-wrap",
6305
+ style: normalizeStyle(unref(wrapStyle))
6306
+ }, [
6307
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(showList), (item, index) => {
6308
+ return (openBlock(), createElementBlock("div", {
6309
+ key: index,
6310
+ class: normalizeClass(['w-leaf w-leaf-v2', {'z-folder': isFolder(item), 'z-on': isCurrent(item)}]),
6311
+ style: normalizeStyle(itemStyle(item)),
6312
+ onClick: $event => (clickItem($event, item))
6313
+ }, [
6314
+ (isItemLoading(item))
6315
+ ? (openBlock(), createBlock(_component_w_img, {
6316
+ key: 0,
6317
+ src: "#f-svg-loading",
6318
+ class: "w-leaf-loading"
6319
+ }))
6320
+ : (openBlock(), createElementBlock("div", {
6321
+ key: 1,
6322
+ class: normalizeClass(['w-leaf-toggle f-i', item.expanded ? 'f-i-caret-down' : 'f-i-caret-right']),
6323
+ onClick: $event => (clickToggle($event, item))
6324
+ }, null, 10 /* CLASS, PROPS */, _hoisted_3$3)),
6325
+ (itemIcon(item))
6326
+ ? (openBlock(), createBlock(_component_w_img, {
6327
+ key: 2,
6328
+ src: itemIcon(item),
6329
+ class: "w-leaf-icon"
6330
+ }, null, 8 /* PROPS */, ["src"]))
6331
+ : createCommentVNode("v-if", true),
6332
+ createElementVNode("div", {
6333
+ class: "f-line-1",
6334
+ title: item[unref(propText)]
6335
+ }, toDisplayString(item[unref(propText)]), 9 /* TEXT, PROPS */, _hoisted_4$2)
6336
+ ], 14 /* CLASS, STYLE, PROPS */, _hoisted_2$5))
6337
+ }), 128 /* KEYED_FRAGMENT */))
6338
+ ], 4 /* STYLE */))
6339
+ ]),
6340
+ _: 3 /* FORWARDED */
6341
+ }, 512 /* NEED_PATCH */))
6342
+ }
6343
+ }
6344
+
6345
+ });
6346
+
6347
+ script$C.__file = "src/widgets/TreeV2.vue";
6030
6348
 
6031
6349
  var script$B = {
6032
6350
  name: 'w-label',
6033
- mixins: [script$1d, script$1b],
6351
+ mixins: [script$1f, script$1d],
6034
6352
  props: ['text', 'suffix', 'vertical'],
6035
6353
  methods: {
6036
6354
  html_slots() {
@@ -6055,7 +6373,7 @@ var script$B = {
6055
6373
  script$B.__file = "src/widgets/Label.vue";
6056
6374
 
6057
6375
  var script$A = {
6058
- mixins: [script$1d, script$1b],
6376
+ mixins: [script$1f, script$1d],
6059
6377
  props: ['name', 'value', 'modelValue', 'placeholder', 'label', 'readonly', 'readonlyValidate', 'disabled', 'required',
6060
6378
  'validateDefault', 'validateHandler', 'inputWidth', 'inputHeight' ],
6061
6379
  emits: ['update:modelValue', 'change', 'blur', 'focus'],
@@ -6535,7 +6853,7 @@ var script$z = {
6535
6853
  }
6536
6854
  this.$emit('update:modelValue', mv);
6537
6855
  this.trigger(event, mv);
6538
- this.pubParent && this.pubParent.trigger(event, mv);
6856
+ this.parentTrigger('change', mv);
6539
6857
  },
6540
6858
  formVal() {
6541
6859
  return !this.isDisabled && this.isChecked ? this.x.value : ''
@@ -6554,10 +6872,13 @@ var script$z = {
6554
6872
  watchModelValue(v, ov) {
6555
6873
  if (ov != v) {
6556
6874
  this.trigger('change', v);
6557
- if (this.pubParent && this.pubParent.watchValue != v) {
6558
- this.pubParent.watchValue = v;
6559
- this.pubParent.trigger('change', v);
6560
- }
6875
+ this.parentTrigger('change', v);
6876
+ }
6877
+ },
6878
+ parentTrigger(e, v) {
6879
+ if (this.pubParent && this.pubParent.watchValue != v) {
6880
+ this.pubParent.watchValue = v;
6881
+ this.pubParent.trigger(e, v);
6561
6882
  }
6562
6883
  },
6563
6884
  check(a) {
@@ -6649,7 +6970,7 @@ var script$z = {
6649
6970
  }, this.html_input())
6650
6971
  },
6651
6972
  html_target() {
6652
- return this.$slots.default ? h(script$1a, {
6973
+ return this.$slots.default ? h(script$1c, {
6653
6974
  class: this.$options.name + '-target',
6654
6975
  ref: 'target'
6655
6976
  }, this.$slots) : []
@@ -6825,7 +7146,7 @@ script$y.__file = "src/widgets/TripleBox.vue";
6825
7146
  var script$x = {
6826
7147
  name: 'w-leaf',
6827
7148
  pubParentName: 'w-tree',
6828
- mixins: [script$1d, script$1j],
7149
+ mixins: [script$1f, script$1l],
6829
7150
  props: ['text', 'expanded', 'expandedIcon', 'collapsedIcon', 'icon', 'boxSync', 'src', 'disabled'],
6830
7151
  inject: ['providePubParent', 'provideLevel', 'provideParentLeaf', 'provideParentTR'],
6831
7152
  provide() {
@@ -6925,7 +7246,7 @@ var script$x = {
6925
7246
  let ico = this.isFolder() ? (exp ? this.x.expandedIcon : this.x.collapsedIcon) : this.x.icon;
6926
7247
  return h('div', mergeProps(this.html_attrs, this.html_props, this.$attrs), [
6927
7248
  this.loading ?
6928
- h(script$10, {
7249
+ h(script$12, {
6929
7250
  src: '#f-svg-loading',
6930
7251
  class: 'w-leaf-loading'
6931
7252
  }) :
@@ -6937,7 +7258,7 @@ var script$x = {
6937
7258
  }
6938
7259
  }),
6939
7260
  this.$slots.box && this.$slots.box(),
6940
- ico && h(script$10, {
7261
+ ico && h(script$12, {
6941
7262
  src: ico,
6942
7263
  class: 'w-leaf-icon'
6943
7264
  }),
@@ -6961,7 +7282,7 @@ var script$x = {
6961
7282
  }
6962
7283
  }
6963
7284
  if (key) {
6964
- return h(script$S, {key}, {default: () => leaf})
7285
+ return h(script$U, {key}, {default: () => leaf})
6965
7286
  } else {
6966
7287
  return leaf
6967
7288
  }
@@ -7030,7 +7351,7 @@ script$x.__file = "src/widgets/Leaf.vue";
7030
7351
 
7031
7352
  var script$w = {
7032
7353
  name: 'w-pagebar',
7033
- mixins: [script$J],
7354
+ mixins: [script$L],
7034
7355
  emits: ['click:item'],
7035
7356
  props: ['limit', 'size', 'offset', 'buttonCount', 'noFirstLast', 'face', 'jump'],
7036
7357
  data() {
@@ -7082,13 +7403,13 @@ var script$w = {
7082
7403
  this.html_face_normal()
7083
7404
  },
7084
7405
  html_buttons() {
7085
- return [h(script$Z, {
7406
+ return [h(script$$, {
7086
7407
  class: 'w-pagebar-button w-pagebar-prev',
7087
7408
  icon: '.f-i .f-i-angle-left',
7088
7409
  disabled: this.currentPage == 1,
7089
7410
  title: $$1.loc.page_text.prev,
7090
7411
  onclick: e => this.clickItem(e, this.currentPage - 1)
7091
- }), h(script$Z, {
7412
+ }), h(script$$, {
7092
7413
  class: 'w-pagebar-button w-pagebar-next',
7093
7414
  icon: '.f-i .f-i-angle-right',
7094
7415
  disabled: this.currentPage == this.sumPage,
@@ -7099,7 +7420,7 @@ var script$w = {
7099
7420
  html_drop() {
7100
7421
  let s = [];
7101
7422
  if (this.x.buttonCount) {
7102
- s.push(h(script$Z, {
7423
+ s.push(h(script$$, {
7103
7424
  class: 'w-pagebar-button w-pagebar-button-count w-pagebar-prev',
7104
7425
  ref: 'drop',
7105
7426
  text: this.currentPage + '/' + this.sumPage,
@@ -7108,8 +7429,8 @@ var script$w = {
7108
7429
  }
7109
7430
  if (this.showDrop) {
7110
7431
  let b = [];
7111
- for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$Z, {text: i, onClick: e => this.clickItem(e, i)}));
7112
- s.push(h(script$Y, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
7432
+ for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$$, {text: i, onClick: e => this.clickItem(e, i)}));
7433
+ s.push(h(script$_, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
7113
7434
  }
7114
7435
  return s
7115
7436
  },
@@ -7211,7 +7532,7 @@ script$w.__file = "src/widgets/PageBar.vue";
7211
7532
 
7212
7533
  var script$v = {
7213
7534
  name: 'w-split',
7214
- mixins: [script$1d],
7535
+ mixins: [script$1f],
7215
7536
  props: ['collapsedIcon', 'expandedIcon', 'movable', 'range', 'toNext', 'expanded'],
7216
7537
  inject: ['provideLayout'],
7217
7538
  created() {
@@ -7312,7 +7633,7 @@ script$v.__file = "src/widgets/Split.vue";
7312
7633
 
7313
7634
  var script$u = {
7314
7635
  name: 'w-toggle',
7315
- mixins: [script$1d, script$1b],
7636
+ mixins: [script$1f, script$1d],
7316
7637
  props: ['collapsedIcon', 'expandedIcon', 'expanded', 'align', 'valign'],
7317
7638
  methods: {
7318
7639
  x_default() {
@@ -7329,7 +7650,7 @@ var script$u = {
7329
7650
  html_slots() {
7330
7651
  let exp = this.x.expanded;
7331
7652
  let ico = exp ? this.x.expandedIcon : this.x.collapsedIcon;
7332
- return [ico && h(script$10, {
7653
+ return [ico && h(script$12, {
7333
7654
  src: ico,
7334
7655
  class: 'w-toggle-icon',
7335
7656
  }), h('div', {class: 'w-toggle-main'}, this.$slots.default())]
@@ -7360,7 +7681,7 @@ script$u.__file = "src/widgets/Toggle.vue";
7360
7681
 
7361
7682
  var script$t = {
7362
7683
  name: 'w-video',
7363
- mixins: [script$1d],
7684
+ mixins: [script$1f],
7364
7685
  props: ['src', 'poster'],
7365
7686
  data() {
7366
7687
  return {
@@ -7412,7 +7733,7 @@ script$t.__file = "src/widgets/Video.vue";
7412
7733
 
7413
7734
  var script$s = {
7414
7735
  name: 'w-progress',
7415
- mixins: [script$1d],
7736
+ mixins: [script$1f],
7416
7737
  props: ['percent', 'range', 'text'],
7417
7738
  methods: {
7418
7739
  html_slots() {
@@ -7457,7 +7778,7 @@ script$s.__file = "src/widgets/Progress.vue";
7457
7778
 
7458
7779
  var script$r = {
7459
7780
  name: 'w-calendar',
7460
- mixins: [script$1d],
7781
+ mixins: [script$1f],
7461
7782
  emits: ['click:item', 'change'],
7462
7783
  props: ['value', 'minValue', 'maxValue', 'current', 'pad', 'face', 'format', 'success', 'cg', 'start',
7463
7784
  'enableHour', 'enableMinute', 'enableSecond', 'defaultHour', 'defaultMinute', 'defaultSecond'
@@ -8203,7 +8524,7 @@ script$r.__file = "src/widgets/Calendar.vue";
8203
8524
 
8204
8525
  var script$q = {
8205
8526
  name: 'w-timeline',
8206
- mixins: [script$1c, script$T],
8527
+ mixins: [script$1e, script$V],
8207
8528
  props: ['face', 'vertical'],
8208
8529
  methods: {
8209
8530
  indent() {
@@ -8336,7 +8657,7 @@ script$q.__file = "src/widgets/Timeline.vue";
8336
8657
  var script$p = {
8337
8658
  name: 'w-timeline-item',
8338
8659
  pubParentName: 'w-timeline',
8339
- mixins: [script$1d],
8660
+ mixins: [script$1f],
8340
8661
  inject: ['providePubParent'],
8341
8662
  props: ['position', 'index'],
8342
8663
  methods: {
@@ -8373,7 +8694,7 @@ script$p.__file = "src/widgets/TimelineItem.vue";
8373
8694
 
8374
8695
  var script$o = {
8375
8696
  name: 'w-slidepicker',
8376
- mixins: [script$1d],
8697
+ mixins: [script$1f],
8377
8698
  provide() {
8378
8699
  return {
8379
8700
  provideOptionParent: this,
@@ -8698,7 +9019,7 @@ var script$k = {
8698
9019
  },
8699
9020
  data() {
8700
9021
  return {
8701
- watchValue: ''
9022
+ watchValue: null
8702
9023
  }
8703
9024
  },
8704
9025
  methods: {
@@ -8707,6 +9028,9 @@ var script$k = {
8707
9028
  gap: 15
8708
9029
  }
8709
9030
  },
9031
+ watchModelValue(v, ov) {
9032
+ // not do
9033
+ },
8710
9034
  html_form_slot() {
8711
9035
  return this.x.vertical ? h('div', {class: 'w-boxgroup-grid'}, this.$slots) : this.$slots
8712
9036
  },
@@ -9536,7 +9860,7 @@ const suffixHooks = {
9536
9860
  onclick: e => this.remove(item)
9537
9861
  })];
9538
9862
  if (value && this.$slots.menu) {
9539
- button.push(h(script$Y, null, {
9863
+ button.push(h(script$_, null, {
9540
9864
  target: () => h('div', {
9541
9865
  class: 'w-fileupload-value-menu f-i f-i-ellipsis',
9542
9866
  title: $$1.loc.more,
@@ -9588,14 +9912,14 @@ const suffixHooks = {
9588
9912
  },
9589
9913
  html_input_button() {
9590
9914
  return h('div', {}, [
9591
- h(script$J, {
9915
+ h(script$L, {
9592
9916
  ref: 'uploadbbr',
9593
9917
  class: 'w-fileupload-bbr',
9594
9918
  gap: 10,
9595
9919
  }, {
9596
9920
  default: () => [
9597
9921
  this.$slots.button ? this.$slots.button(this) :
9598
- h(script$Z, {
9922
+ h(script$$, {
9599
9923
  text: '选择文件',
9600
9924
  icon: '.f-i .f-i-upload',
9601
9925
  class: 'w-fileupload-button',
@@ -9884,12 +10208,12 @@ var script$e = {
9884
10208
  },
9885
10209
  html_input_button() {
9886
10210
  return h('div', {}, [
9887
- h(script$J, {
10211
+ h(script$L, {
9888
10212
  ref: 'uploadbbr',
9889
10213
  class: 'w-fileupload-bbr'
9890
10214
  }, {
9891
10215
  default: () => [
9892
- this.$slots.button ? this.$slots.button(this) : h(script$Z, {
10216
+ this.$slots.button ? this.$slots.button(this) : h(script$$, {
9893
10217
  ref: 'uploadbutton',
9894
10218
  title: $$1.loc.form.choose_image,
9895
10219
  icon: '.f-i .f-i-plus',
@@ -9950,7 +10274,7 @@ script$d.__file = "src/widgets/ImageUpload.vue";
9950
10274
 
9951
10275
  var script$c = {
9952
10276
  name: 'w-option',
9953
- mixins: [script$1d],
10277
+ mixins: [script$1f],
9954
10278
  props: ['value', 'text', 'disabled'],
9955
10279
  inject: ['provideOptionParent'],
9956
10280
  methods: {
@@ -10360,7 +10684,7 @@ var script$a = {
10360
10684
  onClose: this.onclose
10361
10685
  };
10362
10686
  if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
10363
- r.push(h(script$17, dropProps, {
10687
+ r.push(h(script$19, dropProps, {
10364
10688
  default: () => h(script$r, {
10365
10689
  height: '*',
10366
10690
  pad: true,
@@ -10520,7 +10844,7 @@ var script$9 = {
10520
10844
  onClose: () => this.showDrop = false
10521
10845
  };
10522
10846
  if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
10523
- r.push(h(script$17, dropProps, {default: () => h(script$19, {height: '*', scrollY: true, scrollView: '.z-on'}, this.$slots)}));
10847
+ r.push(h(script$19, dropProps, {default: () => h(script$1b, {height: '*', scrollY: true, scrollView: '.z-on'}, this.$slots)}));
10524
10848
  }
10525
10849
  return r
10526
10850
  },
@@ -10919,7 +11243,7 @@ var script$5 = {
10919
11243
  onClose: () => this.showSuggest = false
10920
11244
  };
10921
11245
  if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
10922
- r.push(h(script$17, dropProps, {default: () => h(script$19, {height: '*', scrollY: true}, this.$slots)}));
11246
+ r.push(h(script$19, dropProps, {default: () => h(script$1b, {height: '*', scrollY: true}, this.$slots)}));
10923
11247
  }
10924
11248
  return [
10925
11249
  this.html_input_hidden(),
@@ -11375,7 +11699,7 @@ var script$4 = {
11375
11699
  onClose: () => this.showSuggest = false
11376
11700
  };
11377
11701
  if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
11378
- r.push(h(script$17, dropProps, {default: () => h(script$19, {height: '*', scrollY: true}, this.$slots)}));
11702
+ r.push(h(script$19, dropProps, {default: () => h(script$1b, {height: '*', scrollY: true}, this.$slots)}));
11379
11703
  }
11380
11704
  return [
11381
11705
  this.html_input_hidden(),
@@ -11798,7 +12122,7 @@ var script = {
11798
12122
  this.x.modelValue = this.x.cancelable && this.x.modelValue == i ? '' : i;
11799
12123
  },
11800
12124
  html_star(i) {
11801
- return h(script$10, {
12125
+ return h(script$12, {
11802
12126
  class: ['w-rate-star-icon', {'z-hv': this.hoverWrap && i <= this.hoverIndex, 'z-on': !this.hoverWrap && i <= this.x.modelValue}],
11803
12127
  src: '.f-i .f-i-star-full',
11804
12128
  onMouseenter: e => this.hoverItem(e, i),
@@ -11842,9 +12166,9 @@ var script = {
11842
12166
  script.__file = "src/widgets/Rate.vue";
11843
12167
 
11844
12168
  const components = [
11845
- script$1e, script$18, script$17, script$15, script$13, script$11, script$Y, script$X,
11846
- script$M, script$19, script$1a, script$W, script$V, script$U, script$Q, script$R, script$P, script$O, script$N, script$K, script$L, script$G, script$F,
11847
- script$E, script$10, script$J, script$Z, script$_, script$D, script$C, script$x, script$w, script$v, script$u, script$t, script$s, script$r, script$q, script$p, script$o,
12169
+ script$1g, script$1a, script$19, script$17, script$15, script$13, script$_, script$Z,
12170
+ script$O, script$1b, script$1c, script$Y, script$X, script$W, script$S, script$T, script$R, script$Q, script$P, script$M, script$N, script$I, script$H,
12171
+ script$G, script$12, script$L, script$$, script$10, script$F, script$E, script$x, script$C, script$w, script$v, script$u, script$t, script$s, script$r, script$q, script$p, script$o,
11848
12172
  script$B, script$n, script$m, script$l, script$k, script$z, script$j, script$i, script$y, script$h, script$g, script$e, script$d, script$c,
11849
12173
  script$b, script$a, script$9, script$8, script$7, script$6, script$5, script$4, script$2, script$1, script
11850
12174
  ];