dfish-widget 1.0.45 → 1.0.47

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();
@@ -851,7 +851,7 @@ const snap = function(a, b, c, d, e, f, u) {
851
851
  c = c.originalEvent || c;
852
852
  c = {left: c.clientX, right: c.clientX, top: c.clientY, bottom: c.clientY};
853
853
  }
854
- var t = [], l = [], g, h, k = -1, f = number(f), ew = cvs.clientWidth, eh = cvs.clientHeight,
854
+ var t = [], l = [], g, h, k = -1, ew = cvs.clientWidth, eh = cvs.clientHeight,
855
855
  s = d ? (_snaptype[d] || ('' + d).split(',')) : _snaptype.a;
856
856
  if (/[1-4]/.test(s[0])) {// 1-4是边角对齐 .
857
857
  for (var i = 0, o, p, m, n = 0; i < s.length; i ++) {
@@ -909,11 +909,19 @@ const snap = function(a, b, c, d, e, f, u) {
909
909
  _snapMag.mag.t[y] && (o.mag_t = T$1, o.mag = 't');
910
910
  _snapMag.inner[y] && (o.inner = T$1);
911
911
  if (f && o.mag) {
912
- if (o.inner) {
913
- o.mag_t ? (o.top -= f, o.bottom += f) : o.mag_b ? (o.top += f, o.bottom -= f) : o.mag_r ? (o.left += f, o.right -= f) : (o.left -= f, o.right += f);
914
- } else {
915
- o.mag_t ? (o.top += f, o.bottom -= f) : o.mag_b ? (o.top -= f, o.bottom += f) : o.mag_r ? (o.left -= f, o.right += f) : (o.left += f, o.right -= f);
916
- }
912
+ var i = f.indent || number(f);
913
+ if (i) {
914
+ i = i / (window.devicePixelRatio || 1);
915
+ if (o.inner) {
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);
917
+ } else {
918
+ 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);
919
+ }
920
+ }
921
+ f.top && (o.top -= f.top);
922
+ f.bottom && (o.bottom -= f.bottom);
923
+ f.left && (o.left -= f.left);
924
+ f.right && (o.right -= f.right);
917
925
  }
918
926
  if (e) {// 自适应位置
919
927
  var l = o.left, r = o.right, b = o.bottom, t = o.top;
@@ -1804,7 +1812,7 @@ function directive(Vue) {
1804
1812
 
1805
1813
  const bindCache = {};
1806
1814
 
1807
- var script$1k = {
1815
+ var script$1m = {
1808
1816
  props: ['data', 'width', 'height', 'colspan', 'rowspan', 'ownproperty', 'orientUid'],
1809
1817
  data() {
1810
1818
  return {
@@ -2069,9 +2077,9 @@ const bindCache = {};
2069
2077
  }
2070
2078
  };
2071
2079
 
2072
- script$1k.__file = "src/widgets/WidgetAbs.vue";
2080
+ script$1m.__file = "src/widgets/WidgetAbs.vue";
2073
2081
 
2074
- var script$1j = {
2082
+ var script$1l = {
2075
2083
  props: ['src', 'children', 'parentItem'],
2076
2084
  data() {
2077
2085
  return {
@@ -2088,14 +2096,14 @@ var script$1j = {
2088
2096
  if (src && !this.loading) {
2089
2097
  this.showLoading(true);
2090
2098
  if (typeof src === 'function') {
2091
- src(this).then(res => {
2099
+ return src(this).then(res => {
2092
2100
  this.showLoading(false);
2093
2101
  this.loaded = true;
2094
2102
  fn && fn();
2095
2103
  }).catch(ex => {
2096
2104
  this.showLoading(false);
2097
2105
  this.loaded = true;
2098
- });
2106
+ })
2099
2107
  }
2100
2108
  }
2101
2109
  },
@@ -2105,11 +2113,11 @@ var script$1j = {
2105
2113
  }
2106
2114
  };
2107
2115
 
2108
- script$1j.__file = "src/widgets/SrcParent.vue";
2116
+ script$1l.__file = "src/widgets/SrcParent.vue";
2109
2117
 
2110
- var script$1i = {
2118
+ var script$1k = {
2111
2119
  name: 'w-view',
2112
- mixins: [script$1j],
2120
+ mixins: [script$1l],
2113
2121
  provide() {
2114
2122
  return {
2115
2123
  provideView: this
@@ -2126,9 +2134,6 @@ var script$1i = {
2126
2134
  this.popCommanders = {};
2127
2135
  },
2128
2136
  methods: {
2129
- reload() {
2130
- this.request();
2131
- },
2132
2137
  find(a) {
2133
2138
  const b = this.el().querySelectorAll(`[w-key="${a}"]`);
2134
2139
  for (let c of b) {
@@ -2308,20 +2313,20 @@ var script$1i = {
2308
2313
  }
2309
2314
  };
2310
2315
 
2311
- script$1i.__file = "src/widgets/ViewAbs.vue";
2316
+ script$1k.__file = "src/widgets/ViewAbs.vue";
2312
2317
 
2313
- var script$1h = {
2318
+ var script$1j = {
2314
2319
  name: 'w-svg-loading'
2315
2320
  };
2316
2321
 
2317
- const _hoisted_1$9 = {
2322
+ const _hoisted_1$a = {
2318
2323
  style: {"display":"none","width":"0","height":"0"},
2319
2324
  width: "0",
2320
2325
  height: "0",
2321
2326
  focusable: "false",
2322
2327
  "aria-hidden": "true"
2323
2328
  };
2324
- 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);
2325
2330
  const _hoisted_5$2 = /*#__PURE__*/createElementVNode("symbol", {
2326
2331
  id: "f-svg-loading-3",
2327
2332
  viewBox: "0 0 1024 1024"
@@ -2332,18 +2337,18 @@ const _hoisted_5$2 = /*#__PURE__*/createElementVNode("symbol", {
2332
2337
  })
2333
2338
  ], -1 /* HOISTED */);
2334
2339
  const _hoisted_6$2 = [
2335
- _hoisted_2$7,
2340
+ _hoisted_2$8,
2336
2341
  _hoisted_5$2
2337
2342
  ];
2338
2343
 
2339
2344
  function render$8(_ctx, _cache, $props, $setup, $data, $options) {
2340
- return (openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_6$2))
2345
+ return (openBlock(), createElementBlock("svg", _hoisted_1$a, _hoisted_6$2))
2341
2346
  }
2342
2347
 
2343
- script$1h.render = render$8;
2344
- script$1h.__file = "src/assets/SVGIcon.vue";
2348
+ script$1j.render = render$8;
2349
+ script$1j.__file = "src/assets/SVGIcon.vue";
2345
2350
 
2346
- var script$1g = {
2351
+ var script$1i = {
2347
2352
  props: ['data'],
2348
2353
  data() {
2349
2354
  return {
@@ -2384,10 +2389,10 @@ var script$1g = {
2384
2389
  }
2385
2390
  };
2386
2391
 
2387
- const _hoisted_1$8 = { class: "f-height f-rel f-oh" };
2388
- const _hoisted_2$6 = ["src"];
2389
- const _hoisted_3$4 = { class: "_rotate" };
2390
- 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 */);
2391
2396
 
2392
2397
  function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2393
2398
  const _component_w_swiper_item = resolveComponent("w-swiper-item");
@@ -2418,11 +2423,11 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2418
2423
  (openBlock(true), createElementBlock(Fragment, null, renderList($props.data.imgs, (item, index) => {
2419
2424
  return (openBlock(), createBlock(_component_w_swiper_item, { key: index }, {
2420
2425
  default: withCtx(() => [
2421
- createElementVNode("div", _hoisted_1$8, [
2426
+ createElementVNode("div", _hoisted_1$9, [
2422
2427
  createElementVNode("img", {
2423
2428
  class: "_img",
2424
2429
  src: item
2425
- }, null, 8 /* PROPS */, _hoisted_2$6)
2430
+ }, null, 8 /* PROPS */, _hoisted_2$7)
2426
2431
  ])
2427
2432
  ]),
2428
2433
  _: 2 /* DYNAMIC */
@@ -2431,12 +2436,12 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2431
2436
  ]),
2432
2437
  _: 1 /* STABLE */
2433
2438
  }, 8 /* PROPS */, ["current", "arrow", "indicator-dots"]),
2434
- createElementVNode("div", _hoisted_3$4, [
2439
+ createElementVNode("div", _hoisted_3$5, [
2435
2440
  createElementVNode("a", {
2436
2441
  class: "_l",
2437
2442
  onClick: _cache[0] || (_cache[0] = $event => ($options.rot(-1)))
2438
2443
  }, toDisplayString($options.loc.rotate_left), 1 /* TEXT */),
2439
- _hoisted_4$2,
2444
+ _hoisted_4$3,
2440
2445
  createElementVNode("a", {
2441
2446
  class: "_r",
2442
2447
  onClick: _cache[1] || (_cache[1] = $event => ($options.rot(1)))
@@ -2457,10 +2462,10 @@ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
2457
2462
  }))
2458
2463
  }
2459
2464
 
2460
- script$1g.render = render$7;
2461
- script$1g.__file = "src/template/TemplatePreviewMedia.vue";
2465
+ script$1i.render = render$7;
2466
+ script$1i.__file = "src/template/TemplatePreviewMedia.vue";
2462
2467
 
2463
- var script$1f = {
2468
+ var script$1h = {
2464
2469
  props: ['data'],
2465
2470
  data() {
2466
2471
  let f = this.data.format || 'yyyy-MM-dd';
@@ -2961,12 +2966,12 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
2961
2966
  }))
2962
2967
  }
2963
2968
 
2964
- script$1f.render = render$6;
2965
- script$1f.__file = "src/template/TemplateDateSheet.vue";
2969
+ script$1h.render = render$6;
2970
+ script$1h.__file = "src/template/TemplateDateSheet.vue";
2966
2971
 
2967
- var script$1e = {
2972
+ var script$1g = {
2968
2973
  name: 'w-docview',
2969
- mixins: [script$1k, script$1i],
2974
+ mixins: [script$1m, script$1k],
2970
2975
  provide() {
2971
2976
  return {
2972
2977
  providePubParent: null,
@@ -2988,15 +2993,15 @@ var script$1e = {
2988
2993
  return null
2989
2994
  },
2990
2995
  previewVideo(src) {
2991
- this.pop(script$1g, {data: {type: 'video', src}});
2996
+ this.pop(script$1i, {data: {type: 'video', src}});
2992
2997
  },
2993
2998
  previewImage(imgs, options) {
2994
- this.pop(script$1g, {data: {type: 'image', imgs, options}});
2999
+ this.pop(script$1i, {data: {type: 'image', imgs, options}});
2995
3000
  },
2996
3001
  //dateOptions: {value, format, minValue, maxValue, success}
2997
3002
  dateSheet(dateOptions, dialogOptions) {
2998
- this.pop(script$1f, {
2999
- template: script$1f,
3003
+ this.pop(script$1h, {
3004
+ template: script$1h,
3000
3005
  width: '100%',
3001
3006
  height: '55%',
3002
3007
  position: 'b',
@@ -3012,20 +3017,20 @@ var script$1e = {
3012
3017
  return [
3013
3018
  this.$slots.default && this.$slots.default(),
3014
3019
  this.html_pops(),
3015
- h(script$1h),
3020
+ h(script$1j),
3016
3021
  ]
3017
3022
  }
3018
3023
  }
3019
3024
  };
3020
3025
 
3021
- script$1e.__file = "src/widgets/DocView.vue";
3026
+ script$1g.__file = "src/widgets/DocView.vue";
3022
3027
 
3023
- var script$1d = {
3024
- mixins: [script$1k],
3028
+ var script$1f = {
3029
+ mixins: [script$1m],
3025
3030
  inject: ['provideView']
3026
3031
  };
3027
3032
 
3028
- script$1d.__file = "src/widgets/WidgetBase.vue";
3033
+ script$1f.__file = "src/widgets/WidgetBase.vue";
3029
3034
 
3030
3035
  const onScroll = function(e) {
3031
3036
  if (this.wScrollPercentX) {
@@ -3066,8 +3071,8 @@ const onScroll = function(e) {
3066
3071
  }, dnEv);
3067
3072
  };
3068
3073
 
3069
- var script$1c = {
3070
- mixins: [script$1d],
3074
+ var script$1e = {
3075
+ mixins: [script$1f],
3071
3076
  props: ['scrollX', 'scrollY', 'scrollView', 'scrollFlex'],
3072
3077
  data() {
3073
3078
  return {
@@ -3353,9 +3358,9 @@ const onScroll = function(e) {
3353
3358
  }
3354
3359
  };
3355
3360
 
3356
- script$1c.__file = "src/widgets/Scroll.vue";
3361
+ script$1e.__file = "src/widgets/Scroll.vue";
3357
3362
 
3358
- var script$1b = {
3363
+ var script$1d = {
3359
3364
  props: ['align', 'valign', 'gap'],
3360
3365
  computed: {
3361
3366
  dir() {
@@ -3370,11 +3375,11 @@ var script$1b = {
3370
3375
  }
3371
3376
  };
3372
3377
 
3373
- script$1b.__file = "src/widgets/AlignParent.vue";
3378
+ script$1d.__file = "src/widgets/AlignParent.vue";
3374
3379
 
3375
- var script$1a = {
3380
+ var script$1c = {
3376
3381
  name: 'w-horizontal',
3377
- mixins: [script$1c, script$1b],
3382
+ mixins: [script$1e, script$1d],
3378
3383
  props: ['br', 'reverse'],
3379
3384
  provide() {
3380
3385
  return {
@@ -3426,11 +3431,11 @@ var script$1a = {
3426
3431
  }
3427
3432
  };
3428
3433
 
3429
- script$1a.__file = "src/widgets/Horizontal.vue";
3434
+ script$1c.__file = "src/widgets/Horizontal.vue";
3430
3435
 
3431
- var script$19 = {
3436
+ var script$1b = {
3432
3437
  name: 'w-vertical',
3433
- mixins: [script$1a],
3438
+ mixins: [script$1c],
3434
3439
  computed: {
3435
3440
  dir() {
3436
3441
  return 'v'
@@ -3438,11 +3443,11 @@ var script$19 = {
3438
3443
  }
3439
3444
  };
3440
3445
 
3441
- script$19.__file = "src/widgets/Vertical.vue";
3446
+ script$1b.__file = "src/widgets/Vertical.vue";
3442
3447
 
3443
- var script$18 = {
3448
+ var script$1a = {
3444
3449
  name: 'w-view',
3445
- mixins: [script$19, script$1i],
3450
+ mixins: [script$1b, script$1k],
3446
3451
  inject: ['provideView'],
3447
3452
  methods: {
3448
3453
  html_slots() {
@@ -3459,7 +3464,7 @@ var script$18 = {
3459
3464
  }
3460
3465
  };
3461
3466
 
3462
- script$18.__file = "src/widgets/View.vue";
3467
+ script$1a.__file = "src/widgets/View.vue";
3463
3468
 
3464
3469
  const O = {},
3465
3470
  T = true,
@@ -3476,11 +3481,11 @@ const O = {},
3476
3481
  return typeof a === 'string' && a.split(',').map(v => positionHooks[v] || v).join()
3477
3482
  };
3478
3483
 
3479
- var script$17 = {
3484
+ var script$19 = {
3480
3485
  name: 'w-dialog',
3481
- mixins: [script$18],
3486
+ mixins: [script$1a],
3482
3487
  props: ['title', 'autoHide', 'context', 'prong', 'independent', 'timeout',
3483
- 'cover', 'position', 'snap', 'indent', 'local', 'fullScreen', 'hoverShowDrop', 'visible',
3488
+ 'cover', 'position', 'snap', 'indent', 'offsetRange', 'local', 'fullScreen', 'hoverShowDrop', 'visible',
3484
3489
  ...boundary
3485
3490
  ],
3486
3491
  emits: ['close', 'click:cover', 'update:visible'],
@@ -3853,12 +3858,12 @@ const O = {},
3853
3858
  }
3854
3859
  };
3855
3860
 
3856
- script$17.__file = "src/widgets/Dialog.vue";
3861
+ script$19.__file = "src/widgets/Dialog.vue";
3857
3862
 
3858
- 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 */);
3859
3864
 
3860
3865
 
3861
- var script$16 = {
3866
+ var script$18 = {
3862
3867
  __name: 'TemplateAlert',
3863
3868
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
3864
3869
  emits: ['save', 'close'],
@@ -3926,7 +3931,7 @@ return (_ctx, _cache) => {
3926
3931
  onClick: close
3927
3932
  }, {
3928
3933
  default: withCtx(() => [
3929
- _hoisted_1$7
3934
+ _hoisted_1$8
3930
3935
  ]),
3931
3936
  _: 1 /* STABLE */
3932
3937
  })
@@ -3991,11 +3996,11 @@ return (_ctx, _cache) => {
3991
3996
 
3992
3997
  };
3993
3998
 
3994
- script$16.__file = "src/template/TemplateAlert.vue";
3999
+ script$18.__file = "src/template/TemplateAlert.vue";
3995
4000
 
3996
- var script$15 = {
4001
+ var script$17 = {
3997
4002
  name: 'w-alert',
3998
- mixins: [script$17],
4003
+ mixins: [script$19],
3999
4004
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4000
4005
  methods: {
4001
4006
  x_default() {
@@ -4013,7 +4018,7 @@ var script$15 = {
4013
4018
  },
4014
4019
  html_slots_default() {
4015
4020
  return h(
4016
- script$16,
4021
+ script$18,
4017
4022
  {
4018
4023
  text: this.x.text,
4019
4024
  title: this.x.title,
@@ -4029,12 +4034,12 @@ var script$15 = {
4029
4034
  }
4030
4035
  };
4031
4036
 
4032
- script$15.__file = "src/widgets/Alert.vue";
4037
+ script$17.__file = "src/widgets/Alert.vue";
4033
4038
 
4034
- 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 */);
4035
4040
 
4036
4041
 
4037
- var script$14 = {
4042
+ var script$16 = {
4038
4043
  __name: 'TemplateConfirm',
4039
4044
  props: ['text', 'escape', 'title', 'icon', 'showButton'],
4040
4045
  emits: ['save', 'close'],
@@ -4102,7 +4107,7 @@ return (_ctx, _cache) => {
4102
4107
  onClick: close
4103
4108
  }, {
4104
4109
  default: withCtx(() => [
4105
- _hoisted_1$6
4110
+ _hoisted_1$7
4106
4111
  ]),
4107
4112
  _: 1 /* STABLE */
4108
4113
  })
@@ -4174,11 +4179,11 @@ return (_ctx, _cache) => {
4174
4179
 
4175
4180
  };
4176
4181
 
4177
- script$14.__file = "src/template/TemplateConfirm.vue";
4182
+ script$16.__file = "src/template/TemplateConfirm.vue";
4178
4183
 
4179
- var script$13 = {
4184
+ var script$15 = {
4180
4185
  name: 'w-confirm',
4181
- mixins: [script$17],
4186
+ mixins: [script$19],
4182
4187
  props: ['text', 'title', 'escape', 'yes', 'no', 'showButton'],
4183
4188
  methods: {
4184
4189
  x_default() {
@@ -4197,7 +4202,7 @@ var script$13 = {
4197
4202
  },
4198
4203
  html_slots_default() {
4199
4204
  return h(
4200
- script$14,
4205
+ script$16,
4201
4206
  {
4202
4207
  text: this.x.text,
4203
4208
  title: this.x.title,
@@ -4213,17 +4218,17 @@ var script$13 = {
4213
4218
  }
4214
4219
  };
4215
4220
 
4216
- script$13.__file = "src/widgets/Confirm.vue";
4221
+ script$15.__file = "src/widgets/Confirm.vue";
4217
4222
 
4218
- const _hoisted_1$5 = { class: "w-tip-body" };
4219
- const _hoisted_2$5 = {
4223
+ const _hoisted_1$6 = { class: "w-tip-body" };
4224
+ const _hoisted_2$6 = {
4220
4225
  key: 0,
4221
4226
  class: "w-tip-text"
4222
4227
  };
4223
- const _hoisted_3$3 = ["innerHTML"];
4228
+ const _hoisted_3$4 = ["innerHTML"];
4224
4229
 
4225
4230
 
4226
- var script$12 = {
4231
+ var script$14 = {
4227
4232
  __name: 'TemplateTip',
4228
4233
  props: ['text', 'escape'],
4229
4234
  setup(__props) {
@@ -4231,15 +4236,15 @@ var script$12 = {
4231
4236
 
4232
4237
 
4233
4238
  return (_ctx, _cache) => {
4234
- return (openBlock(), createElementBlock("div", _hoisted_1$5, [
4239
+ return (openBlock(), createElementBlock("div", _hoisted_1$6, [
4235
4240
  renderSlot(_ctx.$slots, "text", {}, () => [
4236
4241
  (__props.escape)
4237
- ? (openBlock(), createElementBlock("div", _hoisted_2$5, toDisplayString(__props.text), 1 /* TEXT */))
4242
+ ? (openBlock(), createElementBlock("div", _hoisted_2$6, toDisplayString(__props.text), 1 /* TEXT */))
4238
4243
  : (openBlock(), createElementBlock("div", {
4239
4244
  key: 1,
4240
4245
  class: "w-tip-text",
4241
4246
  innerHTML: __props.text
4242
- }, null, 8 /* PROPS */, _hoisted_3$3))
4247
+ }, null, 8 /* PROPS */, _hoisted_3$4))
4243
4248
  ])
4244
4249
  ]))
4245
4250
  }
@@ -4247,16 +4252,16 @@ return (_ctx, _cache) => {
4247
4252
 
4248
4253
  };
4249
4254
 
4250
- script$12.__file = "src/template/TemplateTip.vue";
4255
+ script$14.__file = "src/template/TemplateTip.vue";
4251
4256
 
4252
4257
  let inst$1 = null;
4253
4258
  let tipCache = {
4254
4259
  time: new Date().getTime()
4255
4260
  };
4256
4261
 
4257
- var script$11 = {
4262
+ var script$13 = {
4258
4263
  name: 'w-tip',
4259
- mixins: [script$17],
4264
+ mixins: [script$19],
4260
4265
  props: ['face', 'text', 'escape'],
4261
4266
  methods: {
4262
4267
  x_default() {
@@ -4268,7 +4273,7 @@ let inst$1 = null;
4268
4273
  }
4269
4274
  },
4270
4275
  html_slots_default() {
4271
- 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)
4272
4277
  }
4273
4278
  },
4274
4279
  computed: {
@@ -4293,12 +4298,12 @@ let inst$1 = null;
4293
4298
  }
4294
4299
  };
4295
4300
 
4296
- script$11.__file = "src/widgets/Tip.vue";
4301
+ script$13.__file = "src/widgets/Tip.vue";
4297
4302
 
4298
- var script$10 = {
4303
+ var script$12 = {
4299
4304
  name: 'w-img',
4300
4305
  pubParentName: 'w-album',
4301
- mixins: [script$1d],
4306
+ mixins: [script$1f],
4302
4307
  inject: ['providePubParent'],
4303
4308
  props: ['src', 'text', 'square', 'imgWidth', 'imgHeight', 'dataUrl', 'vertical', 'disabled'],
4304
4309
  data() {
@@ -4344,7 +4349,7 @@ var script$10 = {
4344
4349
  class: 'w-img-cover f-abs-full'
4345
4350
  }, this.$slots.cover())
4346
4351
  ]),
4347
- cont && h(script$19, {
4352
+ cont && h(script$1b, {
4348
4353
  class: 'w-img-description'
4349
4354
  }, cont)
4350
4355
  ]
@@ -4378,11 +4383,11 @@ var script$10 = {
4378
4383
  }
4379
4384
  };
4380
4385
 
4381
- script$10.__file = "src/widgets/Img.vue";
4386
+ script$12.__file = "src/widgets/Img.vue";
4382
4387
 
4383
- var script$$ = {
4388
+ var script$11 = {
4384
4389
  pubParentName: 'w-buttonbar',
4385
- mixins: [script$1d],
4390
+ mixins: [script$1f],
4386
4391
  props: ['text', 'icon', 'focusIcon', 'face', 'target', 'closable', 'loading', 'disabled', 'vertical', 'hoverShowDrop', 'dropProps', 'dropIcon', 'showDropIcon'],
4387
4392
  inject: ['providePubParent', 'provideMenu_w'],
4388
4393
  emits: ['click:close', 'dropClose'],
@@ -4471,7 +4476,7 @@ var script$$ = {
4471
4476
  if (this.x.loading) {
4472
4477
  r.push(h('div', {
4473
4478
  class: 'w-button-loading f-abs-full f-flex-center'
4474
- }, h(script$10, {
4479
+ }, h(script$12, {
4475
4480
  src: '#f-svg-loading'
4476
4481
  })));
4477
4482
  }
@@ -4486,7 +4491,7 @@ var script$$ = {
4486
4491
  }, h('span', {class: 'w-button-text-line f-line-1', title}, t)));
4487
4492
  }
4488
4493
  if (this.isMore && this.x.showDropIcon) {
4489
- r.push(h(script$10, {
4494
+ r.push(h(script$12, {
4490
4495
  class: 'w-button-more f-flex-center f-height',
4491
4496
  src: this.x.dropIcon || '.f-i .f-i-caret-down'
4492
4497
  }));
@@ -4504,7 +4509,7 @@ var script$$ = {
4504
4509
  class: 'w-button-main f-oh f-height',
4505
4510
  ...(this.isCombo && !this.isDisabled && this.mouses),
4506
4511
  }, r),
4507
- this.isCombo && h(script$10, {
4512
+ this.isCombo && h(script$12, {
4508
4513
  class: 'w-button-drop f-flex-center f-height',
4509
4514
  src: this.x.dropIcon || '.f-i .f-i-caret-down',
4510
4515
  ...(!this.isDisabled && this.mouses),
@@ -4555,11 +4560,11 @@ var script$$ = {
4555
4560
  }
4556
4561
  };
4557
4562
 
4558
- script$$.__file = "src/widgets/ButtonAbs.vue";
4563
+ script$11.__file = "src/widgets/ButtonAbs.vue";
4559
4564
 
4560
- var script$_ = {
4565
+ var script$10 = {
4561
4566
  name: 'w-menubutton',
4562
- mixins: [script$$],
4567
+ mixins: [script$11],
4563
4568
  methods: {
4564
4569
  ajax(...args) {
4565
4570
  return this.parentMenu.rootCommander.ajax(...args)
@@ -4622,7 +4627,7 @@ var script$_ = {
4622
4627
  onclick: this.clickClose
4623
4628
  })));
4624
4629
  }
4625
- r.push(h(script$10, {
4630
+ r.push(h(script$12, {
4626
4631
  class: 'w-menubutton-drop f-flex-center f-height',
4627
4632
  src: this.isMore ? (this.x.dropIcon || '.f-i .f-i-caret-right') : ''
4628
4633
  }));
@@ -4633,7 +4638,7 @@ var script$_ = {
4633
4638
  ownproperty: true,
4634
4639
  snap: () => this.el(),
4635
4640
  position: '21,12',
4636
- indent: 1,
4641
+ indent: {top: 1, bottom: 1},
4637
4642
  onClose: () => this.showDrop = null
4638
4643
  };
4639
4644
  if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
@@ -4662,7 +4667,8 @@ var script$_ = {
4662
4667
  disabled: this.x.disabled,
4663
4668
  class: {
4664
4669
  'z-on': this.isCurrent,
4665
- 'z-ds': this.x.disabled
4670
+ 'z-ds': this.x.disabled,
4671
+ 'z-drop': this.showDrop,
4666
4672
  },
4667
4673
  onmouseenter: this.onmouseenter,
4668
4674
  onmouseleave: !this.x.disabled && (e => e.currentTarget.classList.remove('z-hv')),
@@ -4672,11 +4678,11 @@ var script$_ = {
4672
4678
  },
4673
4679
  };
4674
4680
 
4675
- script$_.__file = "src/widgets/MenuButton.vue";
4681
+ script$10.__file = "src/widgets/MenuButton.vue";
4676
4682
 
4677
- var script$Z = {
4683
+ var script$$ = {
4678
4684
  name: 'w-button',
4679
- mixins: [script$$],
4685
+ mixins: [script$11],
4680
4686
  props: ['autoMenuButton'],
4681
4687
  methods: {
4682
4688
  x_default() {
@@ -4688,14 +4694,14 @@ var script$Z = {
4688
4694
  },
4689
4695
  render() {
4690
4696
  if (this.provideMenu_w && this.x.autoMenuButton) {
4691
- return h(script$_, this.$props, this.$slots)
4697
+ return h(script$10, this.$props, this.$slots)
4692
4698
  } else {
4693
4699
  return this.html()
4694
4700
  }
4695
4701
  }
4696
4702
  };
4697
4703
 
4698
- script$Z.__file = "src/widgets/Button.vue";
4704
+ script$$.__file = "src/widgets/Button.vue";
4699
4705
 
4700
4706
  let inst = null;
4701
4707
 
@@ -4710,9 +4716,9 @@ let inst = null;
4710
4716
  return inst && (ctx.hasBubble(inst.context) || inst.hasBubble(ctx))
4711
4717
  }
4712
4718
 
4713
- var script$Y = {
4719
+ var script$_ = {
4714
4720
  name: 'w-menu',
4715
- mixins: [script$17],
4721
+ mixins: [script$19],
4716
4722
  provide() {
4717
4723
  return {
4718
4724
  provideMenu_w: this
@@ -4781,7 +4787,7 @@ let inst = null;
4781
4787
  }, h('i', {
4782
4788
  class: 'f-i f-i-caret-up'
4783
4789
  })),
4784
- h(script$19, {
4790
+ h(script$1b, {
4785
4791
  class: 'w-menu-bbr',
4786
4792
  height: '*',
4787
4793
  ref: 'bbr',
@@ -4836,11 +4842,11 @@ let inst = null;
4836
4842
  }
4837
4843
  };
4838
4844
 
4839
- script$Y.__file = "src/widgets/Menu.vue";
4845
+ script$_.__file = "src/widgets/Menu.vue";
4840
4846
 
4841
- var script$X = {
4847
+ var script$Z = {
4842
4848
  name: 'w-loading',
4843
- mixins: [script$17],
4849
+ mixins: [script$19],
4844
4850
  props: ['text', 'icon'],
4845
4851
  methods: {
4846
4852
  x_default() {
@@ -4849,7 +4855,7 @@ var script$X = {
4849
4855
  }
4850
4856
  },
4851
4857
  html_slots() {
4852
- return h(script$10, {
4858
+ return h(script$12, {
4853
4859
  src: this.x.icon !== undefined ? this.x.icon : '#f-svg-loading',
4854
4860
  text: this.x.text !== undefined ? this.x.text : $$1.loc.loading
4855
4861
  })
@@ -4862,11 +4868,11 @@ var script$X = {
4862
4868
  }
4863
4869
  };
4864
4870
 
4865
- script$X.__file = "src/widgets/Loading.vue";
4871
+ script$Z.__file = "src/widgets/Loading.vue";
4866
4872
 
4867
- var script$W = {
4873
+ var script$Y = {
4868
4874
  name: 'w-table',
4869
- mixins: [script$1d],
4875
+ mixins: [script$1f],
4870
4876
  props: ['face', 'scroll-x', 'scroll-y'],
4871
4877
  provide() {
4872
4878
  return {
@@ -4943,22 +4949,22 @@ var script$W = {
4943
4949
  }
4944
4950
  };
4945
4951
 
4946
- script$W.__file = "src/widgets/Table.vue";
4952
+ script$Y.__file = "src/widgets/Table.vue";
4947
4953
 
4948
- var script$V = {
4954
+ var script$X = {
4949
4955
  name: 'w-columns'
4950
4956
  };
4951
4957
 
4952
- script$V.__file = "src/widgets/TableColumns.vue";
4958
+ script$X.__file = "src/widgets/TableColumns.vue";
4953
4959
 
4954
- var script$U = {
4960
+ var script$W = {
4955
4961
  name: 'w-column',
4956
4962
  props: ['width', 'minWidth'],
4957
4963
  };
4958
4964
 
4959
- script$U.__file = "src/widgets/TableColumn.vue";
4965
+ script$W.__file = "src/widgets/TableColumn.vue";
4960
4966
 
4961
- var script$T = {
4967
+ var script$V = {
4962
4968
  props: ['pub', 'current'],
4963
4969
  provide() {
4964
4970
  return {
@@ -4989,21 +4995,21 @@ var script$T = {
4989
4995
  }
4990
4996
  };
4991
4997
 
4992
- script$T.__file = "src/widgets/PubParent.vue";
4998
+ script$V.__file = "src/widgets/PubParent.vue";
4993
4999
 
4994
5000
  function render$5(_ctx, _cache) {
4995
5001
  return renderSlot(_ctx.$slots, "default")
4996
5002
  }
4997
5003
 
4998
- const script$S = {};
5004
+ const script$U = {};
4999
5005
 
5000
5006
 
5001
- script$S.render = render$5;
5002
- script$S.__file = "src/widgets/SlotDefault.vue";
5007
+ script$U.render = render$5;
5008
+ script$U.__file = "src/widgets/SlotDefault.vue";
5003
5009
 
5004
- var script$R = {
5010
+ var script$T = {
5005
5011
  name: 'w-thead',
5006
- mixins: [script$1d, script$T],
5012
+ mixins: [script$1f, script$V],
5007
5013
  props: ['br', 'sort'],
5008
5014
  inject: ['_provideTable'],
5009
5015
  provide() {
@@ -5040,7 +5046,7 @@ var script$R = {
5040
5046
  return t
5041
5047
  });
5042
5048
  if (key) {
5043
- return h(script$S, {key}, {default: () => row})
5049
+ return h(script$U, {key}, {default: () => row})
5044
5050
  } else {
5045
5051
  return row
5046
5052
  }
@@ -5096,11 +5102,11 @@ var script$R = {
5096
5102
  }
5097
5103
  };
5098
5104
 
5099
- script$R.__file = "src/widgets/TableTHead.vue";
5105
+ script$T.__file = "src/widgets/TableTHead.vue";
5100
5106
 
5101
- var script$Q = {
5107
+ var script$S = {
5102
5108
  name: 'w-tbody',
5103
- mixins: [script$R, script$1c],
5109
+ mixins: [script$T, script$1e],
5104
5110
  inject: ['_provideTable'],
5105
5111
  props: ['children'],
5106
5112
  provide() {
@@ -5168,12 +5174,12 @@ var script$Q = {
5168
5174
  }
5169
5175
  };
5170
5176
 
5171
- script$Q.__file = "src/widgets/TableTBody.vue";
5177
+ script$S.__file = "src/widgets/TableTBody.vue";
5172
5178
 
5173
- var script$P = {
5179
+ var script$R = {
5174
5180
  name: 'w-tr',
5175
5181
  pubParentName: 'w-tbody,w-thead',
5176
- mixins: [script$1d, script$1j],
5182
+ mixins: [script$1f, script$1l],
5177
5183
  props: ['rowIndex', 'expanded', 'children'],
5178
5184
  inject: ['_provideTable', 'providePubParent', 'provideInBody', '_provideTBody', 'provideLevel', 'provideParentTR'],
5179
5185
  provide() {
@@ -5257,7 +5263,7 @@ var script$P = {
5257
5263
  }
5258
5264
  }
5259
5265
  if (key) {
5260
- return h(script$S, {key}, {default: () => row})
5266
+ return h(script$U, {key}, {default: () => row})
5261
5267
  } else {
5262
5268
  return row
5263
5269
  }
@@ -5301,9 +5307,9 @@ var script$P = {
5301
5307
 
5302
5308
  };
5303
5309
 
5304
- script$P.__file = "src/widgets/TableTR.vue";
5310
+ script$R.__file = "src/widgets/TableTR.vue";
5305
5311
 
5306
- var script$O = {
5312
+ var script$Q = {
5307
5313
  name: 'w-td',
5308
5314
  props: ['colspan', 'rowspan', 'align', 'valign', 'data'],
5309
5315
  inject: ['_provideTable', 'provideInBody'],
@@ -5340,11 +5346,11 @@ var script$O = {
5340
5346
  }
5341
5347
  };
5342
5348
 
5343
- script$O.__file = "src/widgets/TableTD.vue";
5349
+ script$Q.__file = "src/widgets/TableTD.vue";
5344
5350
 
5345
- var script$N = {
5351
+ var script$P = {
5346
5352
  name: 'w-th',
5347
- mixins: [script$O, script$1d],
5353
+ mixins: [script$Q, script$1f],
5348
5354
  props: ['sortable', 'sortOrders', 'sortOrderDefault'],
5349
5355
  inject: ['_provideThead'],
5350
5356
  emits: ['click:sort'],
@@ -5379,7 +5385,7 @@ var script$N = {
5379
5385
  this.$emit('click:sort', e, o);
5380
5386
  },
5381
5387
  html_slots() {
5382
- 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: () => [
5383
5389
  h('div', {class: 'w-th-title'}, this.$slots),
5384
5390
  this.x.sortable ? h('div', {class: 'w-th-sort f-flex-column f-flex-center f-oh'}, [
5385
5391
  h('i', {class: 'f-i f-i-caret-up f-oh w-th-sort-up', onClick: e => this.clickSort(e, 'asc')}),
@@ -5404,11 +5410,11 @@ var script$N = {
5404
5410
  }
5405
5411
  };
5406
5412
 
5407
- script$N.__file = "src/widgets/TableTH.vue";
5413
+ script$P.__file = "src/widgets/TableTH.vue";
5408
5414
 
5409
- var script$M = {
5415
+ var script$O = {
5410
5416
  name: 'w-grid',
5411
- mixins: [script$1c],
5417
+ mixins: [script$1e],
5412
5418
  props: ['columns', 'rows', 'gap', 'defaultColspan', 'face', 'labelWidth'],
5413
5419
  methods: {
5414
5420
  x_default() {
@@ -5450,13 +5456,13 @@ var script$M = {
5450
5456
  }
5451
5457
  };
5452
5458
 
5453
- script$M.__file = "src/widgets/Grid.vue";
5459
+ script$O.__file = "src/widgets/Grid.vue";
5454
5460
 
5455
- var script$L = {
5461
+ var script$N = {
5456
5462
  name: 'w-swiper-item',
5457
5463
  pubParentName: 'w-swiper',
5458
5464
  inject: ['providePubParent'],
5459
- mixins: [script$1d],
5465
+ mixins: [script$1f],
5460
5466
  props: ['lazy'],
5461
5467
  data() {
5462
5468
  return {
@@ -5489,11 +5495,11 @@ var script$L = {
5489
5495
  }
5490
5496
  };
5491
5497
 
5492
- script$L.__file = "src/widgets/SwiperItem.vue";
5498
+ script$N.__file = "src/widgets/SwiperItem.vue";
5493
5499
 
5494
- var script$K = {
5500
+ var script$M = {
5495
5501
  name: 'w-swiper',
5496
- mixins: [script$1d, script$T],
5502
+ mixins: [script$1f, script$V],
5497
5503
  props: ['arrow', 'indicatorDots', 'duration'],
5498
5504
  data() {
5499
5505
  return {
@@ -5578,11 +5584,11 @@ var script$K = {
5578
5584
  }
5579
5585
  };
5580
5586
 
5581
- script$K.__file = "src/widgets/Swiper.vue";
5587
+ script$M.__file = "src/widgets/Swiper.vue";
5582
5588
 
5583
- var script$J = {
5589
+ var script$L = {
5584
5590
  name: 'w-buttonbar',
5585
- mixins: [script$1a, script$T],
5591
+ mixins: [script$1c, script$V],
5586
5592
  props: ['vertical'],
5587
5593
  emits: ['click:item'],
5588
5594
  methods: {
@@ -5614,11 +5620,11 @@ var script$J = {
5614
5620
  }
5615
5621
  };
5616
5622
 
5617
- script$J.__file = "src/widgets/ButtonBar.vue";
5623
+ script$L.__file = "src/widgets/ButtonBar.vue";
5618
5624
 
5619
- var script$I = {
5625
+ var script$K = {
5620
5626
  name: 'w-tabbar',
5621
- mixins: [script$J],
5627
+ mixins: [script$L],
5622
5628
  props: ['vertical', 'arrow', 'quickCloseButton', 'flexSize', 'buttons'],
5623
5629
  emits: ['click:item', 'click:quickCloseButton'],
5624
5630
  data() {
@@ -5695,7 +5701,7 @@ var script$I = {
5695
5701
  },
5696
5702
  html_slots() {
5697
5703
  let group = h(TransitionGroup, {name: 'w-tabbar', onBeforeEnter: this.onBeforeEnter, onAfterEnter: this.onAfterEnter, onBeforeLeave: this.onBeforeLeave, onAfterLeave: this.onAfterLeave}, {default: () => this.buttons});
5698
- 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})];
5699
5705
  if (this.x.arrow) {
5700
5706
  gut.unshift(h('div', {class: 'w-tabbar-arrow-start', onClick: () => this.clickArrow(-1)}, h('i', {class: 'f-i f-i-caret-left'})));
5701
5707
  gut.push(h('div', {class: 'w-tabbar-arrow-end', onClick: () => this.clickArrow(1)}, h('i', {class: 'f-i f-i-caret-right'})));
@@ -5703,7 +5709,7 @@ var script$I = {
5703
5709
  if (this.x.quickCloseButton) {
5704
5710
  let closeAllDisabled = !this.buttons.find(c => c.props.closable);
5705
5711
  if (this.buttons.length) {
5706
- gut.push(h(script$Z, {
5712
+ gut.push(h(script$$, {
5707
5713
  ref: 'quickCloseButton',
5708
5714
  data: {isQuickCloseButton: true},
5709
5715
  showDropIcon: false,
@@ -5712,7 +5718,7 @@ var script$I = {
5712
5718
  onDropClose: this.onMouseleave
5713
5719
  }, {
5714
5720
  default: () => [
5715
- h(script$Z, {text: '关闭全部标签', onClick: this.closeAll, disabled: closeAllDisabled})
5721
+ h(script$$, {text: '关闭全部标签', onClick: this.closeAll, disabled: closeAllDisabled})
5716
5722
  ]
5717
5723
  }));
5718
5724
  }
@@ -5814,12 +5820,12 @@ var script$I = {
5814
5820
  }
5815
5821
  };
5816
5822
 
5817
- script$I.__file = "src/widgets/TabBar.vue";
5823
+ script$K.__file = "src/widgets/TabBar.vue";
5818
5824
 
5819
- var script$H = {
5825
+ var script$J = {
5820
5826
  name: 'w-tabbutton',
5821
5827
  pubParentName: 'w-tabbar',
5822
- mixins: [script$Z],
5828
+ mixins: [script$$],
5823
5829
  methods: {
5824
5830
  vis() {
5825
5831
  let add = [20, 20];
@@ -5839,11 +5845,11 @@ var script$H = {
5839
5845
  }
5840
5846
  };
5841
5847
 
5842
- script$H.__file = "src/widgets/TabButton.vue";
5848
+ script$J.__file = "src/widgets/TabButton.vue";
5843
5849
 
5844
- var script$G = {
5850
+ var script$I = {
5845
5851
  name: 'w-tabs',
5846
- mixins: [script$1d],
5852
+ mixins: [script$1f],
5847
5853
  props: ['current', 'position', 'gap', 'face', 'quickCloseButton', 'flexSize'],
5848
5854
  emits: ['click:quickCloseButton'],
5849
5855
  methods: {
@@ -5871,11 +5877,11 @@ var script$G = {
5871
5877
  if (!v.props || v.props.key == null) {
5872
5878
  $$1.lodash.set(v, 'props.key', i);
5873
5879
  }
5874
- buttons.push(h(script$H, v.props));
5875
- 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));
5876
5882
  });
5877
5883
  return [
5878
- h(script$I, {
5884
+ h(script$K, {
5879
5885
  ref: 'tabBar',
5880
5886
  class: 'w-tabs-buttonbar',
5881
5887
  current: this.x.current,
@@ -5888,7 +5894,7 @@ var script$G = {
5888
5894
  'onClick:quickCloseButton': this.clickQuickCloseButton,
5889
5895
  buttons,
5890
5896
  }),
5891
- 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}),
5892
5898
  ]
5893
5899
  }
5894
5900
  },
@@ -5900,17 +5906,17 @@ var script$G = {
5900
5906
  }
5901
5907
  };
5902
5908
 
5903
- script$G.__file = "src/widgets/Tabs.vue";
5909
+ script$I.__file = "src/widgets/Tabs.vue";
5904
5910
 
5905
- var script$F = {
5911
+ var script$H = {
5906
5912
  name: 'w-tab',
5907
5913
  };
5908
5914
 
5909
- script$F.__file = "src/widgets/Tab.vue";
5915
+ script$H.__file = "src/widgets/Tab.vue";
5910
5916
 
5911
- var script$E = {
5917
+ var script$G = {
5912
5918
  name: 'w-album',
5913
- mixins: [script$1a, script$T],
5919
+ mixins: [script$1c, script$V],
5914
5920
  methods: {
5915
5921
  x_default() {
5916
5922
  return {
@@ -5927,11 +5933,11 @@ var script$E = {
5927
5933
  }
5928
5934
  };
5929
5935
 
5930
- script$E.__file = "src/widgets/Album.vue";
5936
+ script$G.__file = "src/widgets/Album.vue";
5931
5937
 
5932
- var script$D = {
5938
+ var script$F = {
5933
5939
  name: 'w-html',
5934
- mixins: [script$1d, script$1b],
5940
+ mixins: [script$1f, script$1d],
5935
5941
  props: ['line'],
5936
5942
  computed: {
5937
5943
  html_props() {
@@ -5950,11 +5956,11 @@ var script$D = {
5950
5956
  }
5951
5957
  };
5952
5958
 
5953
- script$D.__file = "src/widgets/Html.vue";
5959
+ script$F.__file = "src/widgets/Html.vue";
5954
5960
 
5955
- var script$C = {
5961
+ var script$E = {
5956
5962
  name: 'w-tree',
5957
- mixins: [script$1c, script$T, script$1j],
5963
+ mixins: [script$1e, script$V, script$1l],
5958
5964
  emits: ['click:item'],
5959
5965
  provide() {
5960
5966
  return {
@@ -5964,6 +5970,9 @@ var script$C = {
5964
5970
  }
5965
5971
  },
5966
5972
  methods: {
5973
+ load() {
5974
+ return this.request()
5975
+ },
5967
5976
  getCurrent() {
5968
5977
  const leaf = $$1.q('.w-leaf.z-on', this.el())[0];
5969
5978
  return leaf && $$1(leaf)
@@ -5979,25 +5988,32 @@ var script$C = {
5979
5988
  },
5980
5989
  html_slots() {
5981
5990
  let r;
5982
- let chd = this.x.children;
5983
- if (this.$slots.default) {
5984
- if (Array.isArray(chd)) {
5985
- r = chd.map((item, index) => {
5986
- let key;
5987
- const leaf = this.$slots.default({item, index});
5988
- for (let f of leaf) {
5989
- if (!key) {
5990
- 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
+ }
5991
6007
  }
5992
- }
5993
- if (key) {
5994
- return h(script$S, {key}, {default: () => leaf})
5995
- } else {
5996
- return leaf
5997
- }
5998
- });
5999
- } else {
6000
- r = [];
6008
+ if (key) {
6009
+ return h(script$U, {key}, {default: () => leaf})
6010
+ } else {
6011
+ return leaf
6012
+ }
6013
+ });
6014
+ } else {
6015
+ r = [];
6016
+ }
6001
6017
  }
6002
6018
  }
6003
6019
  return this.html_scroll_slots(r)
@@ -6014,15 +6030,325 @@ var script$C = {
6014
6030
  }
6015
6031
  },
6016
6032
  mounted() {
6017
- if (!this.x.children) this.request();
6033
+ if (!this.x.children || !this.x.children.length) this.request();
6034
+ }
6035
+ };
6036
+
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
+ },
6018
6046
  }
6019
6047
  };
6020
6048
 
6021
- script$C.__file = "src/widgets/Tree.vue";
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";
6022
6348
 
6023
6349
  var script$B = {
6024
6350
  name: 'w-label',
6025
- mixins: [script$1d, script$1b],
6351
+ mixins: [script$1f, script$1d],
6026
6352
  props: ['text', 'suffix', 'vertical'],
6027
6353
  methods: {
6028
6354
  html_slots() {
@@ -6047,7 +6373,7 @@ var script$B = {
6047
6373
  script$B.__file = "src/widgets/Label.vue";
6048
6374
 
6049
6375
  var script$A = {
6050
- mixins: [script$1d, script$1b],
6376
+ mixins: [script$1f, script$1d],
6051
6377
  props: ['name', 'value', 'modelValue', 'placeholder', 'label', 'readonly', 'readonlyValidate', 'disabled', 'required',
6052
6378
  'validateDefault', 'validateHandler', 'inputWidth', 'inputHeight' ],
6053
6379
  emits: ['update:modelValue', 'change', 'blur', 'focus'],
@@ -6641,7 +6967,7 @@ var script$z = {
6641
6967
  }, this.html_input())
6642
6968
  },
6643
6969
  html_target() {
6644
- return this.$slots.default ? h(script$1a, {
6970
+ return this.$slots.default ? h(script$1c, {
6645
6971
  class: this.$options.name + '-target',
6646
6972
  ref: 'target'
6647
6973
  }, this.$slots) : []
@@ -6817,7 +7143,7 @@ script$y.__file = "src/widgets/TripleBox.vue";
6817
7143
  var script$x = {
6818
7144
  name: 'w-leaf',
6819
7145
  pubParentName: 'w-tree',
6820
- mixins: [script$1d, script$1j],
7146
+ mixins: [script$1f, script$1l],
6821
7147
  props: ['text', 'expanded', 'expandedIcon', 'collapsedIcon', 'icon', 'boxSync', 'src', 'disabled'],
6822
7148
  inject: ['providePubParent', 'provideLevel', 'provideParentLeaf', 'provideParentTR'],
6823
7149
  provide() {
@@ -6917,7 +7243,7 @@ var script$x = {
6917
7243
  let ico = this.isFolder() ? (exp ? this.x.expandedIcon : this.x.collapsedIcon) : this.x.icon;
6918
7244
  return h('div', mergeProps(this.html_attrs, this.html_props, this.$attrs), [
6919
7245
  this.loading ?
6920
- h(script$10, {
7246
+ h(script$12, {
6921
7247
  src: '#f-svg-loading',
6922
7248
  class: 'w-leaf-loading'
6923
7249
  }) :
@@ -6929,7 +7255,7 @@ var script$x = {
6929
7255
  }
6930
7256
  }),
6931
7257
  this.$slots.box && this.$slots.box(),
6932
- ico && h(script$10, {
7258
+ ico && h(script$12, {
6933
7259
  src: ico,
6934
7260
  class: 'w-leaf-icon'
6935
7261
  }),
@@ -6953,7 +7279,7 @@ var script$x = {
6953
7279
  }
6954
7280
  }
6955
7281
  if (key) {
6956
- return h(script$S, {key}, {default: () => leaf})
7282
+ return h(script$U, {key}, {default: () => leaf})
6957
7283
  } else {
6958
7284
  return leaf
6959
7285
  }
@@ -7022,7 +7348,7 @@ script$x.__file = "src/widgets/Leaf.vue";
7022
7348
 
7023
7349
  var script$w = {
7024
7350
  name: 'w-pagebar',
7025
- mixins: [script$J],
7351
+ mixins: [script$L],
7026
7352
  emits: ['click:item'],
7027
7353
  props: ['limit', 'size', 'offset', 'buttonCount', 'noFirstLast', 'face', 'jump'],
7028
7354
  data() {
@@ -7074,13 +7400,13 @@ var script$w = {
7074
7400
  this.html_face_normal()
7075
7401
  },
7076
7402
  html_buttons() {
7077
- return [h(script$Z, {
7403
+ return [h(script$$, {
7078
7404
  class: 'w-pagebar-button w-pagebar-prev',
7079
7405
  icon: '.f-i .f-i-angle-left',
7080
7406
  disabled: this.currentPage == 1,
7081
7407
  title: $$1.loc.page_text.prev,
7082
7408
  onclick: e => this.clickItem(e, this.currentPage - 1)
7083
- }), h(script$Z, {
7409
+ }), h(script$$, {
7084
7410
  class: 'w-pagebar-button w-pagebar-next',
7085
7411
  icon: '.f-i .f-i-angle-right',
7086
7412
  disabled: this.currentPage == this.sumPage,
@@ -7091,7 +7417,7 @@ var script$w = {
7091
7417
  html_drop() {
7092
7418
  let s = [];
7093
7419
  if (this.x.buttonCount) {
7094
- s.push(h(script$Z, {
7420
+ s.push(h(script$$, {
7095
7421
  class: 'w-pagebar-button w-pagebar-button-count w-pagebar-prev',
7096
7422
  ref: 'drop',
7097
7423
  text: this.currentPage + '/' + this.sumPage,
@@ -7100,8 +7426,8 @@ var script$w = {
7100
7426
  }
7101
7427
  if (this.showDrop) {
7102
7428
  let b = [];
7103
- for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$Z, {text: i, onClick: e => this.clickItem(e, i)}));
7104
- s.push(h(script$Y, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
7429
+ for (let i = 1, sp = this.sumPage; i <= sp; i ++) b.push(h(script$$, {text: i, onClick: e => this.clickItem(e, i)}));
7430
+ s.push(h(script$_, {snap: () => this.$refs.drop, position: 'v', indent: 1, onClose: () => this.showDrop = false}, {default: () => b}));
7105
7431
  }
7106
7432
  return s
7107
7433
  },
@@ -7203,7 +7529,7 @@ script$w.__file = "src/widgets/PageBar.vue";
7203
7529
 
7204
7530
  var script$v = {
7205
7531
  name: 'w-split',
7206
- mixins: [script$1d],
7532
+ mixins: [script$1f],
7207
7533
  props: ['collapsedIcon', 'expandedIcon', 'movable', 'range', 'toNext', 'expanded'],
7208
7534
  inject: ['provideLayout'],
7209
7535
  created() {
@@ -7304,7 +7630,7 @@ script$v.__file = "src/widgets/Split.vue";
7304
7630
 
7305
7631
  var script$u = {
7306
7632
  name: 'w-toggle',
7307
- mixins: [script$1d, script$1b],
7633
+ mixins: [script$1f, script$1d],
7308
7634
  props: ['collapsedIcon', 'expandedIcon', 'expanded', 'align', 'valign'],
7309
7635
  methods: {
7310
7636
  x_default() {
@@ -7321,7 +7647,7 @@ var script$u = {
7321
7647
  html_slots() {
7322
7648
  let exp = this.x.expanded;
7323
7649
  let ico = exp ? this.x.expandedIcon : this.x.collapsedIcon;
7324
- return [ico && h(script$10, {
7650
+ return [ico && h(script$12, {
7325
7651
  src: ico,
7326
7652
  class: 'w-toggle-icon',
7327
7653
  }), h('div', {class: 'w-toggle-main'}, this.$slots.default())]
@@ -7352,7 +7678,7 @@ script$u.__file = "src/widgets/Toggle.vue";
7352
7678
 
7353
7679
  var script$t = {
7354
7680
  name: 'w-video',
7355
- mixins: [script$1d],
7681
+ mixins: [script$1f],
7356
7682
  props: ['src', 'poster'],
7357
7683
  data() {
7358
7684
  return {
@@ -7404,7 +7730,7 @@ script$t.__file = "src/widgets/Video.vue";
7404
7730
 
7405
7731
  var script$s = {
7406
7732
  name: 'w-progress',
7407
- mixins: [script$1d],
7733
+ mixins: [script$1f],
7408
7734
  props: ['percent', 'range', 'text'],
7409
7735
  methods: {
7410
7736
  html_slots() {
@@ -7449,7 +7775,7 @@ script$s.__file = "src/widgets/Progress.vue";
7449
7775
 
7450
7776
  var script$r = {
7451
7777
  name: 'w-calendar',
7452
- mixins: [script$1d],
7778
+ mixins: [script$1f],
7453
7779
  emits: ['click:item', 'change'],
7454
7780
  props: ['value', 'minValue', 'maxValue', 'current', 'pad', 'face', 'format', 'success', 'cg', 'start',
7455
7781
  'enableHour', 'enableMinute', 'enableSecond', 'defaultHour', 'defaultMinute', 'defaultSecond'
@@ -8195,7 +8521,7 @@ script$r.__file = "src/widgets/Calendar.vue";
8195
8521
 
8196
8522
  var script$q = {
8197
8523
  name: 'w-timeline',
8198
- mixins: [script$1c, script$T],
8524
+ mixins: [script$1e, script$V],
8199
8525
  props: ['face', 'vertical'],
8200
8526
  methods: {
8201
8527
  indent() {
@@ -8328,7 +8654,7 @@ script$q.__file = "src/widgets/Timeline.vue";
8328
8654
  var script$p = {
8329
8655
  name: 'w-timeline-item',
8330
8656
  pubParentName: 'w-timeline',
8331
- mixins: [script$1d],
8657
+ mixins: [script$1f],
8332
8658
  inject: ['providePubParent'],
8333
8659
  props: ['position', 'index'],
8334
8660
  methods: {
@@ -8365,7 +8691,7 @@ script$p.__file = "src/widgets/TimelineItem.vue";
8365
8691
 
8366
8692
  var script$o = {
8367
8693
  name: 'w-slidepicker',
8368
- mixins: [script$1d],
8694
+ mixins: [script$1f],
8369
8695
  provide() {
8370
8696
  return {
8371
8697
  provideOptionParent: this,
@@ -9528,7 +9854,7 @@ const suffixHooks = {
9528
9854
  onclick: e => this.remove(item)
9529
9855
  })];
9530
9856
  if (value && this.$slots.menu) {
9531
- button.push(h(script$Y, null, {
9857
+ button.push(h(script$_, null, {
9532
9858
  target: () => h('div', {
9533
9859
  class: 'w-fileupload-value-menu f-i f-i-ellipsis',
9534
9860
  title: $$1.loc.more,
@@ -9580,14 +9906,14 @@ const suffixHooks = {
9580
9906
  },
9581
9907
  html_input_button() {
9582
9908
  return h('div', {}, [
9583
- h(script$J, {
9909
+ h(script$L, {
9584
9910
  ref: 'uploadbbr',
9585
9911
  class: 'w-fileupload-bbr',
9586
9912
  gap: 10,
9587
9913
  }, {
9588
9914
  default: () => [
9589
9915
  this.$slots.button ? this.$slots.button(this) :
9590
- h(script$Z, {
9916
+ h(script$$, {
9591
9917
  text: '选择文件',
9592
9918
  icon: '.f-i .f-i-upload',
9593
9919
  class: 'w-fileupload-button',
@@ -9876,12 +10202,12 @@ var script$e = {
9876
10202
  },
9877
10203
  html_input_button() {
9878
10204
  return h('div', {}, [
9879
- h(script$J, {
10205
+ h(script$L, {
9880
10206
  ref: 'uploadbbr',
9881
10207
  class: 'w-fileupload-bbr'
9882
10208
  }, {
9883
10209
  default: () => [
9884
- this.$slots.button ? this.$slots.button(this) : h(script$Z, {
10210
+ this.$slots.button ? this.$slots.button(this) : h(script$$, {
9885
10211
  ref: 'uploadbutton',
9886
10212
  title: $$1.loc.form.choose_image,
9887
10213
  icon: '.f-i .f-i-plus',
@@ -9942,7 +10268,7 @@ script$d.__file = "src/widgets/ImageUpload.vue";
9942
10268
 
9943
10269
  var script$c = {
9944
10270
  name: 'w-option',
9945
- mixins: [script$1d],
10271
+ mixins: [script$1f],
9946
10272
  props: ['value', 'text', 'disabled'],
9947
10273
  inject: ['provideOptionParent'],
9948
10274
  methods: {
@@ -10352,7 +10678,7 @@ var script$a = {
10352
10678
  onClose: this.onclose
10353
10679
  };
10354
10680
  if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
10355
- r.push(h(script$17, dropProps, {
10681
+ r.push(h(script$19, dropProps, {
10356
10682
  default: () => h(script$r, {
10357
10683
  height: '*',
10358
10684
  pad: true,
@@ -10512,7 +10838,7 @@ var script$9 = {
10512
10838
  onClose: () => this.showDrop = false
10513
10839
  };
10514
10840
  if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
10515
- r.push(h(script$17, dropProps, {default: () => h(script$19, {height: '*', scrollY: true, scrollView: '.z-on'}, this.$slots)}));
10841
+ r.push(h(script$19, dropProps, {default: () => h(script$1b, {height: '*', scrollY: true, scrollView: '.z-on'}, this.$slots)}));
10516
10842
  }
10517
10843
  return r
10518
10844
  },
@@ -10911,7 +11237,7 @@ var script$5 = {
10911
11237
  onClose: () => this.showSuggest = false
10912
11238
  };
10913
11239
  if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
10914
- r.push(h(script$17, dropProps, {default: () => h(script$19, {height: '*', scrollY: true}, this.$slots)}));
11240
+ r.push(h(script$19, dropProps, {default: () => h(script$1b, {height: '*', scrollY: true}, this.$slots)}));
10915
11241
  }
10916
11242
  return [
10917
11243
  this.html_input_hidden(),
@@ -11367,7 +11693,7 @@ var script$4 = {
11367
11693
  onClose: () => this.showSuggest = false
11368
11694
  };
11369
11695
  if (this.x.dropProps) dropProps = mergeProps(dropProps, this.x.dropProps);
11370
- r.push(h(script$17, dropProps, {default: () => h(script$19, {height: '*', scrollY: true}, this.$slots)}));
11696
+ r.push(h(script$19, dropProps, {default: () => h(script$1b, {height: '*', scrollY: true}, this.$slots)}));
11371
11697
  }
11372
11698
  return [
11373
11699
  this.html_input_hidden(),
@@ -11790,7 +12116,7 @@ var script = {
11790
12116
  this.x.modelValue = this.x.cancelable && this.x.modelValue == i ? '' : i;
11791
12117
  },
11792
12118
  html_star(i) {
11793
- return h(script$10, {
12119
+ return h(script$12, {
11794
12120
  class: ['w-rate-star-icon', {'z-hv': this.hoverWrap && i <= this.hoverIndex, 'z-on': !this.hoverWrap && i <= this.x.modelValue}],
11795
12121
  src: '.f-i .f-i-star-full',
11796
12122
  onMouseenter: e => this.hoverItem(e, i),
@@ -11834,9 +12160,9 @@ var script = {
11834
12160
  script.__file = "src/widgets/Rate.vue";
11835
12161
 
11836
12162
  const components = [
11837
- script$1e, script$18, script$17, script$15, script$13, script$11, script$Y, script$X,
11838
- 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,
11839
- 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,
12163
+ script$1g, script$1a, script$19, script$17, script$15, script$13, script$_, script$Z,
12164
+ 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,
12165
+ 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,
11840
12166
  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,
11841
12167
  script$b, script$a, script$9, script$8, script$7, script$6, script$5, script$4, script$2, script$1, script
11842
12168
  ];