v-uni-app-ui 1.1.1 → 1.1.2

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.
@@ -1,4 +1,4 @@
1
- import { ref as C, computed as _, watch as R, onUnmounted as ie, defineComponent as M, openBlock as g, createElementBlock as h, unref as c, normalizeStyle as B, normalizeClass as I, renderSlot as V, createCommentVNode as N, createElementVNode as y, onMounted as se, withDirectives as ue, toDisplayString as P, vShow as ce, useSlots as At, createVNode as D, pushScopeId as de, popScopeId as fe, useCssVars as L, inject as O, resolveComponent as q, withCtx as K, Fragment as X, renderList as ee, createBlock as re, createTextVNode as G, withModifiers as ye, reactive as Ce, isRef as Lt, nextTick as ge, createSlots as Dt, provide as $e, watchEffect as Be, getCurrentInstance as Ne, mergeProps as jt } from "vue";
1
+ import { ref as C, computed as _, watch as R, onUnmounted as ie, defineComponent as M, openBlock as g, createElementBlock as h, unref as c, normalizeStyle as B, normalizeClass as I, renderSlot as V, createCommentVNode as N, createElementVNode as y, onMounted as se, withDirectives as ue, toDisplayString as P, vShow as ce, useSlots as At, createVNode as D, pushScopeId as de, popScopeId as fe, useCssVars as L, inject as O, resolveComponent as q, withCtx as Y, Fragment as Z, renderList as ee, createBlock as re, createTextVNode as X, withModifiers as ye, reactive as Ce, isRef as Lt, nextTick as ge, createSlots as Dt, provide as $e, watchEffect as Be, getCurrentInstance as Ne, mergeProps as jt } from "vue";
2
2
  const Wt = {
3
3
  id: {
4
4
  type: String,
@@ -271,7 +271,7 @@ const E = {
271
271
  accessibility: {}
272
272
  }
273
273
  }
274
- ), S = {
274
+ ), x = {
275
275
  // 基础样式配置
276
276
  basic: {
277
277
  // 背景颜色 - 按功能分类
@@ -460,14 +460,14 @@ const E = {
460
460
  disabled: {
461
461
  target: "status",
462
462
  transform: (t, l) => t ? l.status && l.status.disabled ? l.status.disabled : {
463
- opacity: S.basic.opacity.disabled,
463
+ opacity: x.basic.opacity.disabled,
464
464
  cursor: "not-allowed"
465
465
  } : null
466
466
  },
467
467
  loading: {
468
468
  target: "status",
469
469
  transform: (t, l) => t ? l.status && l.status.loading ? l.status.loading : {
470
- opacity: S.basic.opacity.disabled,
470
+ opacity: x.basic.opacity.disabled,
471
471
  cursor: "progress"
472
472
  } : null
473
473
  },
@@ -622,177 +622,177 @@ class Qt {
622
622
  const eo = {
623
623
  size: {
624
624
  small: {
625
- height: S.components.VButton.height.small,
626
- padding: S.components.VButton.padding.small,
627
- fontSize: S.basic.fontSize.smallText
625
+ height: x.components.VButton.height.small,
626
+ padding: x.components.VButton.padding.small,
627
+ fontSize: x.basic.fontSize.smallText
628
628
  },
629
629
  medium: {
630
- height: S.components.VButton.height.medium,
631
- padding: S.components.VButton.padding.medium,
632
- fontSize: S.basic.fontSize.mediumText
630
+ height: x.components.VButton.height.medium,
631
+ padding: x.components.VButton.padding.medium,
632
+ fontSize: x.basic.fontSize.mediumText
633
633
  },
634
634
  large: {
635
- height: S.components.VButton.height.large,
636
- padding: S.components.VButton.padding.large,
637
- fontSize: S.basic.fontSize.largeText
635
+ height: x.components.VButton.height.large,
636
+ padding: x.components.VButton.padding.large,
637
+ fontSize: x.basic.fontSize.largeText
638
638
  }
639
639
  },
640
640
  type: {
641
641
  default: {
642
- backgroundColor: S.basic.backgroundColor.default,
643
- color: S.basic.fontColor.reversal,
644
- borderColor: S.basic.border.color.default
642
+ backgroundColor: x.basic.backgroundColor.default,
643
+ color: x.basic.fontColor.reversal,
644
+ borderColor: x.basic.border.color.default
645
645
  },
646
646
  success: {
647
- backgroundColor: S.basic.backgroundColor.success,
648
- color: S.basic.fontColor.reversal,
649
- borderColor: S.basic.border.color.success
647
+ backgroundColor: x.basic.backgroundColor.success,
648
+ color: x.basic.fontColor.reversal,
649
+ borderColor: x.basic.border.color.success
650
650
  },
651
651
  warning: {
652
- backgroundColor: S.basic.backgroundColor.warning,
653
- color: S.basic.fontColor.reversal,
654
- borderColor: S.basic.border.color.warning
652
+ backgroundColor: x.basic.backgroundColor.warning,
653
+ color: x.basic.fontColor.reversal,
654
+ borderColor: x.basic.border.color.warning
655
655
  },
656
656
  info: {
657
- backgroundColor: S.basic.backgroundColor.info,
658
- color: S.basic.fontColor.reversal,
659
- borderColor: S.basic.border.color.info
657
+ backgroundColor: x.basic.backgroundColor.info,
658
+ color: x.basic.fontColor.reversal,
659
+ borderColor: x.basic.border.color.info
660
660
  },
661
661
  delete: {
662
- backgroundColor: S.basic.backgroundColor.delete,
663
- color: S.basic.fontColor.reversal,
664
- borderColor: S.basic.border.color.delete
662
+ backgroundColor: x.basic.backgroundColor.delete,
663
+ color: x.basic.fontColor.reversal,
664
+ borderColor: x.basic.border.color.delete
665
665
  },
666
666
  // 镂空类型
667
667
  "default-plain": {
668
- backgroundColor: S.components.VButton.plain.backgroundColor,
669
- color: S.basic.fontColor.default,
670
- borderColor: S.basic.border.color.default,
671
- borderWidth: S.components.VButton.plain.borderWidth
668
+ backgroundColor: x.components.VButton.plain.backgroundColor,
669
+ color: x.basic.fontColor.default,
670
+ borderColor: x.basic.border.color.default,
671
+ borderWidth: x.components.VButton.plain.borderWidth
672
672
  },
673
673
  "success-plain": {
674
- backgroundColor: S.components.VButton.plain.backgroundColor,
675
- color: S.basic.fontColor.success,
676
- borderColor: S.basic.border.color.success,
677
- borderWidth: S.components.VButton.plain.borderWidth
674
+ backgroundColor: x.components.VButton.plain.backgroundColor,
675
+ color: x.basic.fontColor.success,
676
+ borderColor: x.basic.border.color.success,
677
+ borderWidth: x.components.VButton.plain.borderWidth
678
678
  },
679
679
  "warning-plain": {
680
- backgroundColor: S.components.VButton.plain.backgroundColor,
681
- color: S.basic.fontColor.warning,
682
- borderColor: S.basic.border.color.warning,
683
- borderWidth: S.components.VButton.plain.borderWidth
680
+ backgroundColor: x.components.VButton.plain.backgroundColor,
681
+ color: x.basic.fontColor.warning,
682
+ borderColor: x.basic.border.color.warning,
683
+ borderWidth: x.components.VButton.plain.borderWidth
684
684
  },
685
685
  "delete-plain": {
686
- backgroundColor: S.components.VButton.plain.backgroundColor,
687
- color: S.basic.fontColor.delete,
688
- borderColor: S.basic.border.color.delete,
689
- borderWidth: S.components.VButton.plain.borderWidth
686
+ backgroundColor: x.components.VButton.plain.backgroundColor,
687
+ color: x.basic.fontColor.delete,
688
+ borderColor: x.basic.border.color.delete,
689
+ borderWidth: x.components.VButton.plain.borderWidth
690
690
  },
691
691
  "info-plain": {
692
- backgroundColor: S.components.VButton.plain.backgroundColor,
693
- color: S.basic.fontColor.info,
694
- borderColor: S.basic.border.color.info,
695
- borderWidth: S.components.VButton.plain.borderWidth
692
+ backgroundColor: x.components.VButton.plain.backgroundColor,
693
+ color: x.basic.fontColor.info,
694
+ borderColor: x.basic.border.color.info,
695
+ borderWidth: x.components.VButton.plain.borderWidth
696
696
  },
697
697
  //文本
698
698
  "default-text": {
699
- backgroundColor: S.components.VButton.text.backgroundColor,
700
- color: S.basic.fontColor.default,
701
- borderColor: S.basic.border.color.default,
702
- borderWidth: S.components.VButton.text.borderWidth
699
+ backgroundColor: x.components.VButton.text.backgroundColor,
700
+ color: x.basic.fontColor.default,
701
+ borderColor: x.basic.border.color.default,
702
+ borderWidth: x.components.VButton.text.borderWidth
703
703
  },
704
704
  "success-text": {
705
- backgroundColor: S.components.VButton.text.backgroundColor,
706
- color: S.basic.fontColor.success,
707
- borderColor: S.basic.border.color.success,
708
- borderWidth: S.components.VButton.text.borderWidth
705
+ backgroundColor: x.components.VButton.text.backgroundColor,
706
+ color: x.basic.fontColor.success,
707
+ borderColor: x.basic.border.color.success,
708
+ borderWidth: x.components.VButton.text.borderWidth
709
709
  },
710
710
  "warning-text": {
711
- backgroundColor: S.components.VButton.text.backgroundColor,
712
- color: S.basic.fontColor.warning,
713
- borderColor: S.basic.border.color.warning,
714
- borderWidth: S.components.VButton.text.borderWidth
711
+ backgroundColor: x.components.VButton.text.backgroundColor,
712
+ color: x.basic.fontColor.warning,
713
+ borderColor: x.basic.border.color.warning,
714
+ borderWidth: x.components.VButton.text.borderWidth
715
715
  },
716
716
  "delete-text": {
717
- backgroundColor: S.components.VButton.text.backgroundColor,
718
- color: S.basic.fontColor.delete,
719
- borderColor: S.basic.border.color.delete,
720
- borderWidth: S.components.VButton.text.borderWidth
717
+ backgroundColor: x.components.VButton.text.backgroundColor,
718
+ color: x.basic.fontColor.delete,
719
+ borderColor: x.basic.border.color.delete,
720
+ borderWidth: x.components.VButton.text.borderWidth
721
721
  },
722
722
  "info-text": {
723
- backgroundColor: S.components.VButton.text.backgroundColor,
724
- color: S.basic.fontColor.info,
725
- borderColor: S.basic.border.color.info,
726
- borderWidth: S.components.VButton.text.borderWidth
723
+ backgroundColor: x.components.VButton.text.backgroundColor,
724
+ color: x.basic.fontColor.info,
725
+ borderColor: x.basic.border.color.info,
726
+ borderWidth: x.components.VButton.text.borderWidth
727
727
  }
728
728
  },
729
729
  shape: {
730
730
  default: {
731
- borderWidth: S.components.VButton.shape.default.width,
732
- borderStyle: S.components.VButton.shape.default.style,
733
- borderRadius: S.basic.borderRadius.default
731
+ borderWidth: x.components.VButton.shape.default.width,
732
+ borderStyle: x.components.VButton.shape.default.style,
733
+ borderRadius: x.basic.borderRadius.default
734
734
  },
735
735
  none: {
736
- borderWidth: S.components.VButton.shape.none.width,
737
- borderStyle: S.components.VButton.shape.none.style,
738
- borderRadius: S.basic.borderRadius.none
736
+ borderWidth: x.components.VButton.shape.none.width,
737
+ borderStyle: x.components.VButton.shape.none.style,
738
+ borderRadius: x.basic.borderRadius.none
739
739
  },
740
740
  circle: {
741
- borderWidth: S.components.VButton.shape.circle.width,
742
- borderStyle: S.components.VButton.shape.circle.style,
743
- borderRadius: S.basic.borderRadius.circle
741
+ borderWidth: x.components.VButton.shape.circle.width,
742
+ borderStyle: x.components.VButton.shape.circle.style,
743
+ borderRadius: x.basic.borderRadius.circle
744
744
  }
745
745
  },
746
746
  default: {
747
747
  cursor: "pointer",
748
- transition: S.basic.animation.transition.default,
748
+ transition: x.basic.animation.transition.default,
749
749
  display: "inline-flex",
750
750
  alignItems: "center",
751
751
  justifyContent: "center",
752
752
  _pseudo: {
753
753
  "--hover": {
754
- opacity: S.basic.opacity.hover,
754
+ opacity: x.basic.opacity.hover,
755
755
  boxShadow: {
756
- text: S.basic.shadow.none,
756
+ text: x.basic.shadow.none,
757
757
  type: {
758
- default: S.basic.shadow.default,
759
- success: S.basic.shadow.success,
760
- warning: S.basic.shadow.warning,
761
- info: S.basic.shadow.info,
762
- delete: S.basic.shadow.delete
758
+ default: x.basic.shadow.default,
759
+ success: x.basic.shadow.success,
760
+ warning: x.basic.shadow.warning,
761
+ info: x.basic.shadow.info,
762
+ delete: x.basic.shadow.delete
763
763
  }
764
764
  }
765
765
  },
766
766
  "--active": {
767
- opacity: S.basic.opacity.active,
768
- boxShadow: S.basic.shadow.none
767
+ opacity: x.basic.opacity.active,
768
+ boxShadow: x.basic.shadow.none
769
769
  }
770
770
  }
771
771
  }
772
772
  }, to = {
773
773
  size: {
774
774
  small: {
775
- height: S.components.VInput.height.small
775
+ height: x.components.VInput.height.small
776
776
  },
777
777
  medium: {
778
- height: S.components.VInput.height.medium
778
+ height: x.components.VInput.height.medium
779
779
  },
780
780
  large: {
781
- height: S.components.VInput.height.large
781
+ height: x.components.VInput.height.large
782
782
  }
783
783
  },
784
784
  default: {
785
- borderColor: S.basic.border.color.primary,
786
- borderRadius: S.basic.borderRadius.default,
787
- borderWidth: S.basic.border.width.primary,
788
- borderStyle: S.basic.border.style.solid,
789
- transition: S.basic.animation.transition.default,
785
+ borderColor: x.basic.border.color.primary,
786
+ borderRadius: x.basic.borderRadius.default,
787
+ borderWidth: x.basic.border.width.primary,
788
+ borderStyle: x.basic.border.style.solid,
789
+ transition: x.basic.animation.transition.default,
790
790
  display: "flex",
791
791
  position: "relative",
792
792
  _pseudo: {
793
793
  "--focus": {
794
- borderColor: S.basic.border.color.default,
795
- boxShadow: S.basic.shadow.default
794
+ borderColor: x.basic.border.color.default,
795
+ boxShadow: x.basic.shadow.default
796
796
  }
797
797
  },
798
798
  son: {
@@ -810,7 +810,7 @@ const eo = {
810
810
  width: "-webkit-fill-available",
811
811
  height: "85%",
812
812
  margin: "auto 10rpx",
813
- color: S.basic.fontColor.primary
813
+ color: x.basic.fontColor.primary
814
814
  }
815
815
  },
816
816
  rightSlot: {
@@ -823,7 +823,7 @@ const eo = {
823
823
  },
824
824
  placeholder: {
825
825
  default: {
826
- color: S.basic.fontColor.placeholder
826
+ color: x.basic.fontColor.placeholder
827
827
  }
828
828
  },
829
829
  icon: {
@@ -840,20 +840,20 @@ const eo = {
840
840
  width: "1px",
841
841
  height: "100%",
842
842
  marginLeft: "10rpx",
843
- borderRightColor: S.basic.border.color.primary,
844
- borderRightStyle: S.basic.border.style.solid,
845
- borderRightWidth: S.basic.border.width.primary
843
+ borderRightColor: x.basic.border.color.primary,
844
+ borderRightStyle: x.basic.border.style.solid,
845
+ borderRightWidth: x.basic.border.width.primary
846
846
  },
847
847
  _pseudo: {
848
848
  "--focus": {
849
- borderRightColor: S.basic.border.color.default
849
+ borderRightColor: x.basic.border.color.default
850
850
  }
851
851
  }
852
852
  },
853
853
  wordCounter: {
854
854
  default: {
855
- fontSize: S.basic.fontSize.hint,
856
- color: S.basic.fontColor.tertiary,
855
+ fontSize: x.basic.fontSize.hint,
856
+ color: x.basic.fontColor.tertiary,
857
857
  display: "flex",
858
858
  "align-items": "self-end",
859
859
  "white-space": "nowrap",
@@ -877,13 +877,13 @@ const eo = {
877
877
  h5PlaceholderInput: {
878
878
  size: {
879
879
  small: {
880
- fontSize: S.basic.fontSize.smallText
880
+ fontSize: x.basic.fontSize.smallText
881
881
  },
882
882
  medium: {
883
- fontSize: S.basic.fontSize.mediumText
883
+ fontSize: x.basic.fontSize.mediumText
884
884
  },
885
885
  large: {
886
- fontSize: S.basic.fontSize.largeText
886
+ fontSize: x.basic.fontSize.largeText
887
887
  }
888
888
  },
889
889
  textPosition: {
@@ -901,13 +901,13 @@ const eo = {
901
901
  h5Input: {
902
902
  size: {
903
903
  small: {
904
- fontSize: S.basic.fontSize.smallText
904
+ fontSize: x.basic.fontSize.smallText
905
905
  },
906
906
  medium: {
907
- fontSize: S.basic.fontSize.mediumText
907
+ fontSize: x.basic.fontSize.mediumText
908
908
  },
909
909
  large: {
910
- fontSize: S.basic.fontSize.largeText
910
+ fontSize: x.basic.fontSize.largeText
911
911
  }
912
912
  },
913
913
  textPosition: {
@@ -925,13 +925,13 @@ const eo = {
925
925
  uniInput: {
926
926
  size: {
927
927
  small: {
928
- fontSize: S.basic.fontSize.smallText
928
+ fontSize: x.basic.fontSize.smallText
929
929
  },
930
930
  medium: {
931
- fontSize: S.basic.fontSize.mediumText
931
+ fontSize: x.basic.fontSize.mediumText
932
932
  },
933
933
  large: {
934
- fontSize: S.basic.fontSize.largeText
934
+ fontSize: x.basic.fontSize.largeText
935
935
  }
936
936
  },
937
937
  textPosition: {
@@ -1348,7 +1348,7 @@ const le = {
1348
1348
  };
1349
1349
  function _e(t, l, e = {}) {
1350
1350
  const o = C(!1), n = C(!1), a = C(!1), i = C(!1), s = _(() => le.generateSeparatedInlineStyle(t, l, e)), r = _(() => le.getSeparatedPseudoStyles(t, e)), d = _(() => {
1351
- let x = {
1351
+ let S = {
1352
1352
  parent: {
1353
1353
  ...s.value.parent
1354
1354
  },
@@ -1356,56 +1356,56 @@ function _e(t, l, e = {}) {
1356
1356
  ...s.value.son
1357
1357
  }
1358
1358
  };
1359
- return i.value && (x = le.mergeSeparatedPseudo(
1360
- x,
1359
+ return i.value && (S = le.mergeSeparatedPseudo(
1360
+ S,
1361
1361
  r.value,
1362
1362
  "--disabled",
1363
1363
  !0,
1364
1364
  l
1365
- )), n.value && (x = le.mergeSeparatedPseudo(
1366
- x,
1365
+ )), n.value && (S = le.mergeSeparatedPseudo(
1366
+ S,
1367
1367
  r.value,
1368
1368
  "--focus",
1369
1369
  !0,
1370
1370
  l
1371
- )), o.value && !i.value && (x = le.mergeSeparatedPseudo(
1372
- x,
1371
+ )), o.value && !i.value && (S = le.mergeSeparatedPseudo(
1372
+ S,
1373
1373
  r.value,
1374
1374
  "--hover",
1375
1375
  !0,
1376
1376
  l
1377
- )), a.value && (x = le.mergeSeparatedPseudo(
1378
- x,
1377
+ )), a.value && (S = le.mergeSeparatedPseudo(
1378
+ S,
1379
1379
  r.value,
1380
1380
  "--active",
1381
1381
  !0,
1382
1382
  l
1383
- )), x;
1383
+ )), S;
1384
1384
  }), p = _(() => {
1385
1385
  const {
1386
- son: x,
1386
+ son: S,
1387
1387
  ...W
1388
1388
  } = d.value.parent;
1389
1389
  return W;
1390
1390
  }), v = _(() => d.value.son), u = _(() => {
1391
- const x = le.generateClassNames(t, l);
1392
- return o.value && x.push(`${t}--hover`), n.value && x.push(`${t}--focus`), a.value && x.push(`${t}--active`), i.value && x.push(`${t}--disabled`), x;
1391
+ const S = le.generateClassNames(t, l);
1392
+ return o.value && S.push(`${t}--hover`), n.value && S.push(`${t}--focus`), a.value && S.push(`${t}--active`), i.value && S.push(`${t}--disabled`), S;
1393
1393
  }), f = _(() => le.toCSS(p.value)), m = _(() => le.pseudoToScssVariables(r.value.parent)), b = _(() => le.generatePseudoScss(r.value.parent)), $ = R(
1394
1394
  () => l.style,
1395
- (x) => {
1396
- Object.assign(s.value.parent, x);
1395
+ (S) => {
1396
+ Object.assign(s.value.parent, S);
1397
1397
  },
1398
1398
  {
1399
1399
  deep: !0,
1400
1400
  immediate: !0
1401
1401
  }
1402
1402
  );
1403
- return R(() => l.sonStyle, (x) => {
1404
- x && Object.assign(s.value.son, x);
1403
+ return R(() => l.sonStyle, (S) => {
1404
+ S && Object.assign(s.value.son, S);
1405
1405
  }, {
1406
1406
  immediate: !0
1407
- }), R(() => l.disabled, (x) => {
1408
- i.value = x;
1407
+ }), R(() => l.disabled, (S) => {
1408
+ i.value = S;
1409
1409
  }, {
1410
1410
  immediate: !0
1411
1411
  }), ie($), {
@@ -1422,17 +1422,17 @@ function _e(t, l, e = {}) {
1422
1422
  scssCode: b,
1423
1423
  stopWatchStyle: $,
1424
1424
  // 伪类状态控制函数
1425
- hover: (x) => {
1426
- o.value = x;
1425
+ hover: (S) => {
1426
+ o.value = S;
1427
1427
  },
1428
- focus: (x) => {
1429
- n.value = x;
1428
+ focus: (S) => {
1429
+ n.value = S;
1430
1430
  },
1431
- active: (x) => {
1432
- a.value = x;
1431
+ active: (S) => {
1432
+ a.value = S;
1433
1433
  },
1434
- disabled: (x) => {
1435
- i.value = x;
1434
+ disabled: (S) => {
1435
+ i.value = S;
1436
1436
  },
1437
1437
  resetPseudoStates: () => {
1438
1438
  o.value = !1, n.value = !1, a.value = !1;
@@ -1445,13 +1445,13 @@ function _e(t, l, e = {}) {
1445
1445
  disabled: i
1446
1446
  },
1447
1447
  // 原始生成器方法
1448
- generateStyle: (x = {}) => le.generateSeparatedStyle(t, {
1448
+ generateStyle: (S = {}) => le.generateSeparatedStyle(t, {
1449
1449
  ...l,
1450
- ...x
1450
+ ...S
1451
1451
  }, e),
1452
- generateCSS: (x = {}) => le.generateCSS(t, {
1452
+ generateCSS: (S = {}) => le.generateCSS(t, {
1453
1453
  ...l,
1454
- ...x
1454
+ ...S
1455
1455
  }, e),
1456
1456
  // 伪类样式相关方法
1457
1457
  getPseudoStyles: () => le.getSeparatedPseudoStyles(t, e),
@@ -1592,13 +1592,13 @@ function pe(t, l, e, o) {
1592
1592
  let s = [], r = !1;
1593
1593
  const d = () => {
1594
1594
  s.length && (s.forEach((f) => f()), s = []), i.forEach((f) => {
1595
- const { propertyName: m, onChange: b, emitEvent: $, enabled: x, ...W } = f;
1596
- if (!(x ? x.value : !0))
1595
+ const { propertyName: m, onChange: b, emitEvent: $, enabled: S, ...W } = f;
1596
+ if (!(S ? S.value : !0))
1597
1597
  return;
1598
1598
  const T = vo(f) ? f.source : () => t[m], k = R(
1599
1599
  T,
1600
- (U, Y) => {
1601
- b == null || b(U, Y), a($ ?? `update:${m}`, U);
1600
+ (K, G) => {
1601
+ b == null || b(K, G), a($ ?? `update:${m}`, K);
1602
1602
  },
1603
1603
  W
1604
1604
  );
@@ -1626,9 +1626,9 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
1626
1626
  props: fo,
1627
1627
  emits: ["input", "blur", "focus", "update:value", "update:placeholderConfig", "update:disabled"],
1628
1628
  setup(t, { emit: l }) {
1629
- const e = t, { style: o, sonStyle: n } = _e("uniInput", e), a = ($) => n.value[$] || {}, i = _(() => Object.assign(a("h5Input"), e.fontStyle)), s = _(() => Object.assign(a("uniInput"), e.fontStyle)), r = _(() => Object.assign(a("h5PlaceholderInput"), e.placeholderStyle)), d = l, p = C(null);
1630
- let v = C(e.value);
1631
- const u = _(() => {
1629
+ const e = t, { style: o, sonStyle: n } = _e("uniInput", e), a = (S) => n.value[S] || {}, i = _(() => Object.assign(a("h5Input"), e.fontStyle)), s = _(() => Object.assign(a("uniInput"), e.fontStyle)), r = _(() => Object.assign(a("h5PlaceholderInput"), e.placeholderStyle)), d = l, p = C(null);
1630
+ let v = C(e.value), u = C("h5");
1631
+ const f = _(() => {
1632
1632
  if (e.autocomplete)
1633
1633
  switch (e.type) {
1634
1634
  case "email":
@@ -1641,31 +1641,37 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
1641
1641
  return "off";
1642
1642
  });
1643
1643
  se(() => {
1644
+ if (typeof uni < "u" && uni.getSystemInfoSync) {
1645
+ const S = uni.getSystemInfoSync();
1646
+ u.value = S.uniPlatform || S.platform;
1647
+ } else
1648
+ u.value = "h5";
1644
1649
  e.focus && p.value && p.value.focus();
1645
1650
  });
1646
- const f = ($) => {
1647
- var W;
1648
- const x = ((W = $.detail) == null ? void 0 : W.value) || "";
1649
- v.value = x, d("update:value", x);
1650
- }, m = ($) => {
1651
- d("focus", $);
1652
- }, b = ($) => {
1653
- d("blur", $);
1651
+ const m = (S) => {
1652
+ var U;
1653
+ const W = ((U = S.detail) == null ? void 0 : U.value) || "";
1654
+ v.value = W, d("update:value", W);
1655
+ }, b = (S) => {
1656
+ d("focus", S);
1657
+ }, $ = (S) => {
1658
+ d("blur", S);
1654
1659
  };
1655
1660
  return pe({ source: v, propertyName: "value" }, d), pe(
1656
1661
  {
1657
1662
  source: () => e.value,
1658
1663
  propertyName: "value",
1659
- onChange: ($) => {
1660
- v.value = $;
1664
+ onChange: (S) => {
1665
+ v.value = S;
1661
1666
  },
1662
1667
  immediate: !0
1663
1668
  },
1664
1669
  d
1665
- ), ($, x) => (g(), h("view", {
1670
+ ), (S, W) => (g(), h("view", {
1666
1671
  style: B(c(o))
1667
1672
  }, [
1668
- y("view", {
1673
+ c(u) === "h5" ? (g(), h("view", {
1674
+ key: 0,
1669
1675
  class: "uni-input-input",
1670
1676
  style: B(a("uniInput"))
1671
1677
  }, [
@@ -1681,18 +1687,18 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
1681
1687
  type: e.type,
1682
1688
  maxlength: e.maxlength,
1683
1689
  disabled: e.disabled,
1684
- autocomplete: u.value,
1690
+ autocomplete: f.value,
1685
1691
  style: B(i.value),
1686
1692
  class: "uni-input-input",
1687
- onFocus: m,
1688
- onBlur: b,
1689
- onInput: f,
1693
+ onFocus: b,
1694
+ onBlur: $,
1695
+ onInput: m,
1690
1696
  ref_key: "h5InputRef",
1691
1697
  ref: p
1692
1698
  }, null, 44, po)
1693
1699
  ])
1694
- ], 4),
1695
- y("input", {
1700
+ ], 4)) : (g(), h("input", {
1701
+ key: 1,
1696
1702
  value: c(v),
1697
1703
  type: e.type,
1698
1704
  placeholder: e.placeholder,
@@ -1704,10 +1710,10 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
1704
1710
  style: B(s.value),
1705
1711
  "auto-complete": e.autocomplete,
1706
1712
  focus: e.focus,
1707
- onFocus: m,
1708
- onBlur: b,
1709
- onInput: f
1710
- }, null, 44, go)
1713
+ onFocus: b,
1714
+ onBlur: $,
1715
+ onInput: m
1716
+ }, null, 44, go))
1711
1717
  ], 4));
1712
1718
  }
1713
1719
  }), ho = Me(
@@ -1812,10 +1818,10 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
1812
1818
  d(!1), n("blur", H), o.validateTrigger === "blur" && oe(v.value);
1813
1819
  }, m = (H) => {
1814
1820
  v.value = H, n("input", H), n("update:value", H);
1815
- }, b = (H) => r.value[H] || {}, $ = _(() => b("input")), x = _(() => {
1821
+ }, b = (H) => r.value[H] || {}, $ = _(() => b("input")), S = _(() => {
1816
1822
  const { maxWidth: H, width: F, height: Q, margin: Ve, padding: Te, ...Ot } = $.value;
1817
1823
  return Ot;
1818
- }), W = _(() => b("leftSlot")), Z = _(() => b("rightSlot")), T = _(() => b("icon")), k = _(() => b("iconFill")), U = _(() => b("wordCounter")), Y = _(() => ({
1824
+ }), W = _(() => b("leftSlot")), U = _(() => b("rightSlot")), T = _(() => b("icon")), k = _(() => b("iconFill")), K = _(() => b("wordCounter")), G = _(() => ({
1819
1825
  text: "text",
1820
1826
  id: "idcard",
1821
1827
  password: "text",
@@ -1940,7 +1946,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
1940
1946
  D(Oe, {
1941
1947
  value: v.value,
1942
1948
  "onUpdate:value": F[0] || (F[0] = (Q) => v.value = Q),
1943
- type: Y.value,
1949
+ type: G.value,
1944
1950
  placeholder: z.value,
1945
1951
  "placeholder-style": H.placeholderStyle,
1946
1952
  size: o.size,
@@ -1949,7 +1955,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
1949
1955
  "text-position": o.textPosition,
1950
1956
  maxlength: o.maxlength,
1951
1957
  focus: o.focus,
1952
- "font-style": x.value,
1958
+ "font-style": S.value,
1953
1959
  onFocus: u,
1954
1960
  onBlur: f,
1955
1961
  onInput: m
@@ -1957,13 +1963,13 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
1957
1963
  ], 4),
1958
1964
  c(e).right || o.isWordCounter ? (g(), h("view", {
1959
1965
  key: 1,
1960
- style: B(Z.value),
1966
+ style: B(U.value),
1961
1967
  class: "right-slot"
1962
1968
  }, [
1963
1969
  V(H.$slots, "right", {}, () => [
1964
1970
  y("view", {
1965
1971
  class: "word-counter",
1966
- style: B(U.value)
1972
+ style: B(K.value)
1967
1973
  }, P(v.value.length) + " / " + P(H.maxlength), 5)
1968
1974
  ], !0)
1969
1975
  ], 4)) : N("", !0)
@@ -2036,10 +2042,10 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
2036
2042
  onClose: d,
2037
2043
  onConfirm: v
2038
2044
  }, {
2039
- default: K(() => [
2045
+ default: Y(() => [
2040
2046
  y("view", xo, [
2041
- (g(!0), h(X, null, ee(a.value, ($, x) => (g(), h("view", {
2042
- key: x,
2047
+ (g(!0), h(Z, null, ee(a.value, ($, S) => (g(), h("view", {
2048
+ key: S,
2043
2049
  class: I(["picker-item", { active: $.value === i.value }]),
2044
2050
  onClick: (W) => p($)
2045
2051
  }, P($.label), 11, Co))), 128)),
@@ -2096,20 +2102,20 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
2096
2102
  }, v = () => {
2097
2103
  const b = [];
2098
2104
  let $ = [...d.value];
2099
- for (let x = 0; x < s.value.length; x++) {
2100
- const W = s.value[x];
2101
- if (x === 0)
2105
+ for (let S = 0; S < s.value.length; S++) {
2106
+ const W = s.value[S];
2107
+ if (S === 0)
2102
2108
  b.push($);
2103
- else if (b[x - 1] && b[x - 1].length > 0) {
2104
- const Z = b[x - 1], T = Z.findIndex((k) => k.value === s.value[x - 1]);
2105
- if (T !== -1 && Z[T].children)
2106
- $ = Z[T].children, b.push($);
2109
+ else if (b[S - 1] && b[S - 1].length > 0) {
2110
+ const U = b[S - 1], T = U.findIndex((k) => k.value === s.value[S - 1]);
2111
+ if (T !== -1 && U[T].children)
2112
+ $ = U[T].children, b.push($);
2107
2113
  else
2108
2114
  break;
2109
2115
  } else
2110
2116
  break;
2111
2117
  if (W && $.length && $.findIndex((T) => T.value === W) === -1) {
2112
- s.value = s.value.map((T, k) => k <= x ? s.value[k] : "");
2118
+ s.value = s.value.map((T, k) => k <= S ? s.value[k] : "");
2113
2119
  break;
2114
2120
  }
2115
2121
  }
@@ -2136,31 +2142,31 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
2136
2142
  const u = () => {
2137
2143
  a.value = !1, i.value = !1, o("update:value", !1), o("close", !1);
2138
2144
  }, f = (b, $) => {
2139
- const x = [...s.value];
2140
- if (x[$] = b.value, $ < x.length - 1)
2141
- for (let W = $ + 1; W < x.length; W++)
2142
- x[W] = "";
2143
- s.value = x, o("select", x[$]), v();
2145
+ const S = [...s.value];
2146
+ if (S[$] = b.value, $ < S.length - 1)
2147
+ for (let W = $ + 1; W < S.length; W++)
2148
+ S[W] = "";
2149
+ s.value = S, o("select", S[$]), v();
2144
2150
  }, m = () => {
2145
2151
  const b = [];
2146
- r.value.forEach(($, x) => {
2147
- const W = s.value[x], Z = $.find((T) => T.value === W);
2148
- Z && b.push(Z);
2152
+ r.value.forEach(($, S) => {
2153
+ const W = s.value[S], U = $.find((T) => T.value === W);
2154
+ U && b.push(U);
2149
2155
  }), a.value = !1, a.value = !1, i.value = !1, o("update:value", !1), o("confirm", b);
2150
2156
  };
2151
2157
  return (b, $) => {
2152
- const x = q("v-null"), W = q("v-popup");
2158
+ const S = q("v-null"), W = q("v-popup");
2153
2159
  return g(), re(W, {
2154
2160
  value: a.value,
2155
- "onUpdate:value": $[0] || ($[0] = (Z) => a.value = Z),
2161
+ "onUpdate:value": $[0] || ($[0] = (U) => a.value = U),
2156
2162
  title: t.title,
2157
2163
  scrollHeight: t.scrollHeight,
2158
2164
  onClose: u,
2159
2165
  onConfirm: m
2160
2166
  }, {
2161
- default: K(() => [
2167
+ default: Y(() => [
2162
2168
  y("view", $o, [
2163
- (g(!0), h(X, null, ee(r.value, (Z, T) => (g(), h("view", {
2169
+ (g(!0), h(Z, null, ee(r.value, (U, T) => (g(), h("view", {
2164
2170
  key: T,
2165
2171
  class: "series-picker-column"
2166
2172
  }, [
@@ -2169,16 +2175,16 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
2169
2175
  "scroll-y": "",
2170
2176
  style: B({ height: t.scrollHeight + "rpx" })
2171
2177
  }, [
2172
- (g(!0), h(X, null, ee(Z, (k, U) => (g(), h("view", {
2173
- key: U,
2178
+ (g(!0), h(Z, null, ee(U, (k, K) => (g(), h("view", {
2179
+ key: K,
2174
2180
  class: I(["series-picker-item", { active: k.value === s.value[T] }]),
2175
- onClick: (Y) => f(k, T)
2181
+ onClick: (G) => f(k, T)
2176
2182
  }, P(k.label), 11, _o))), 128))
2177
2183
  ], 4)
2178
2184
  ]))), 128)),
2179
2185
  ue(y("view", null, [
2180
2186
  V(b.$slots, "is-null", {}, () => [
2181
- D(x, { text: "暂无数据" })
2187
+ D(S, { text: "暂无数据" })
2182
2188
  ], !0)
2183
2189
  ], 512), [
2184
2190
  [ce, d.value.length === 0]
@@ -2228,7 +2234,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
2228
2234
  ]),
2229
2235
  y("span", Io, [
2230
2236
  V(d.$slots, "default", {}, () => [
2231
- G(P(t.item.label), 1)
2237
+ X(P(t.item.label), 1)
2232
2238
  ], !0)
2233
2239
  ])
2234
2240
  ], 2));
@@ -2297,7 +2303,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
2297
2303
  ]),
2298
2304
  y("span", No, [
2299
2305
  V(p.$slots, "default", {}, () => [
2300
- G(P(t.item.label), 1)
2306
+ X(P(t.item.label), 1)
2301
2307
  ], !0)
2302
2308
  ])
2303
2309
  ], 2));
@@ -2474,7 +2480,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
2474
2480
  }, "×")) : N("", !0),
2475
2481
  y("text", Lo, [
2476
2482
  V(p.$slots, "default", {}, () => [
2477
- G(P(t.content), 1)
2483
+ X(P(t.content), 1)
2478
2484
  ], !0)
2479
2485
  ])
2480
2486
  ], 6)), [
@@ -2623,7 +2629,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
2623
2629
  style: B(n.value)
2624
2630
  }, [
2625
2631
  o.value ? N("", !0) : V(a.$slots, "default", { key: 0 }, () => [
2626
- G(P(o.value), 1)
2632
+ X(P(o.value), 1)
2627
2633
  ], !0),
2628
2634
  D(s, { nodes: o.value }, null, 8, ["nodes"])
2629
2635
  ], 6);
@@ -2946,14 +2952,14 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
2946
2952
  type: "info",
2947
2953
  onClick: s
2948
2954
  }, {
2949
- default: K(() => [
2950
- G("取消")
2955
+ default: Y(() => [
2956
+ X("取消")
2951
2957
  ]),
2952
2958
  _: 1
2953
2959
  }),
2954
2960
  D(u, { onClick: r }, {
2955
- default: K(() => [
2956
- G("确定")
2961
+ default: Y(() => [
2962
+ X("确定")
2957
2963
  ]),
2958
2964
  _: 1
2959
2965
  })
@@ -3275,7 +3281,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
3275
3281
  const b = a.value[m];
3276
3282
  if (!b)
3277
3283
  return;
3278
- const $ = uni.getSystemInfoSync(), x = b.width, W = b.left, Z = $.windowWidth / 2, T = W + x / 2, k = Math.max(0, T - Z);
3284
+ const $ = uni.getSystemInfoSync(), S = b.width, W = b.left, U = $.windowWidth / 2, T = W + S / 2, k = Math.max(0, T - U);
3279
3285
  requestAnimationFrame(() => {
3280
3286
  i.value = k;
3281
3287
  });
@@ -3296,15 +3302,15 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
3296
3302
  "scroll-with-animation": !0
3297
3303
  }, [
3298
3304
  y("view", xl, [
3299
- (g(!0), h(X, null, ee(t.tabs, ($, x) => (g(), h("view", {
3300
- key: $.key || x,
3301
- class: I(["tab-item", [{ active: x === n.value }, t.hoverClass]]),
3305
+ (g(!0), h(Z, null, ee(t.tabs, ($, S) => (g(), h("view", {
3306
+ key: $.key || S,
3307
+ class: I(["tab-item", [{ active: S === n.value }, t.hoverClass]]),
3302
3308
  style: B({
3303
3309
  minWidth: `${t.minTabWidth}rpx`,
3304
3310
  padding: `0 ${t.itemPadding}rpx`
3305
3311
  }),
3306
- onClick: (W) => v(x),
3307
- id: `tab_${x}`
3312
+ onClick: (W) => v(S),
3313
+ id: `tab_${S}`
3308
3314
  }, [
3309
3315
  y("text", $l, P($.title), 1)
3310
3316
  ], 14, Cl))), 128)),
@@ -3388,7 +3394,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
3388
3394
  onChange: r,
3389
3395
  class: "swiper-box"
3390
3396
  }, [
3391
- (g(!0), h(X, null, ee(t.items, (f, m) => (g(), h("swiper-item", {
3397
+ (g(!0), h(Z, null, ee(t.items, (f, m) => (g(), h("swiper-item", {
3392
3398
  key: m,
3393
3399
  class: "carousel-item"
3394
3400
  }, [
@@ -3499,7 +3505,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
3499
3505
  }, Dt({ _: 2 }, [
3500
3506
  ee(t.items, (f, m) => ({
3501
3507
  name: `item-${m}`,
3502
- fn: K(() => [
3508
+ fn: Y(() => [
3503
3509
  V(r.$slots, `content-${m}`, {
3504
3510
  item: f,
3505
3511
  index: m
@@ -3572,12 +3578,12 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
3572
3578
  onClick: d[0] || (d[0] = (v) => s(t.currentPage - 1)),
3573
3579
  size: "small"
3574
3580
  }, {
3575
- default: K(() => [
3576
- G("上一页")
3581
+ default: Y(() => [
3582
+ X("上一页")
3577
3583
  ]),
3578
3584
  _: 1
3579
3585
  }, 8, ["disabled"]),
3580
- (g(!0), h(X, null, ee(i.value, (v, u) => (g(), h(X, { key: u }, [
3586
+ (g(!0), h(Z, null, ee(i.value, (v, u) => (g(), h(Z, { key: u }, [
3581
3587
  v === "..." ? (g(), h("view", {
3582
3588
  key: 0,
3583
3589
  class: I(["page-item", { active: t.currentPage === v }]),
@@ -3593,8 +3599,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
3593
3599
  onClick: d[1] || (d[1] = (v) => s(t.currentPage + 1)),
3594
3600
  size: "small"
3595
3601
  }, {
3596
- default: K(() => [
3597
- G("下一页")
3602
+ default: Y(() => [
3603
+ X("下一页")
3598
3604
  ]),
3599
3605
  _: 1
3600
3606
  }, 8, ["disabled"])
@@ -3652,8 +3658,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
3652
3658
  const l = t, e = O("config"), o = C(!1), n = C(0), a = C(!0), i = C(0), r = ((f, m) => {
3653
3659
  let b = 0;
3654
3660
  return function(...$) {
3655
- const x = Date.now();
3656
- x - b >= m && (f.apply(this, $), b = x);
3661
+ const S = Date.now();
3662
+ S - b >= m && (f.apply(this, $), b = S);
3657
3663
  };
3658
3664
  })((f) => {
3659
3665
  const { scrollTop: m, scrollHeight: b } = f.detail;
@@ -3929,7 +3935,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
3929
3935
  !s.value && !r.value ? V(f.$slots, "default", { key: 0 }, () => [
3930
3936
  Fl,
3931
3937
  y("view", El, P(t.buttonText), 1)
3932
- ], !0) : (g(), h(X, { key: 1 }, [
3938
+ ], !0) : (g(), h(Z, { key: 1 }, [
3933
3939
  s.value ? (g(), h("view", ql, [
3934
3940
  V(f.$slots, "loading", { progress: i.value }, () => [
3935
3941
  y("view", Ul, [
@@ -4069,7 +4075,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4069
4075
  onClick: p,
4070
4076
  size: t.buttonSize
4071
4077
  }, {
4072
- default: K(() => [
4078
+ default: Y(() => [
4073
4079
  r.value ? (g(), h("text", en, "提交中...")) : (g(), h("text", Ql, P(t.submitText), 1))
4074
4080
  ]),
4075
4081
  _: 1
@@ -4080,8 +4086,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4080
4086
  onClick: v,
4081
4087
  size: t.buttonSize
4082
4088
  }, {
4083
- default: K(() => [
4084
- G("重置")
4089
+ default: Y(() => [
4090
+ X("重置")
4085
4091
  ]),
4086
4092
  _: 1
4087
4093
  }, 8, ["size"])) : N("", !0)
@@ -4210,8 +4216,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4210
4216
  y("view", tn, [
4211
4217
  t.requiredPosition == "left" ? (g(), h("view", on, [
4212
4218
  a.value ? (g(), re(f, { key: 0 }, {
4213
- default: K(() => [
4214
- G("*")
4219
+ default: Y(() => [
4220
+ X("*")
4215
4221
  ]),
4216
4222
  _: 1
4217
4223
  })) : N("", !0)
@@ -4219,8 +4225,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4219
4225
  t.label ? (g(), h("view", ln, P(t.label), 1)) : N("", !0),
4220
4226
  t.requiredPosition == "right" ? (g(), h("view", nn, [
4221
4227
  a.value ? (g(), re(f, { key: 0 }, {
4222
- default: K(() => [
4223
- G("*")
4228
+ default: Y(() => [
4229
+ X("*")
4224
4230
  ]),
4225
4231
  _: 1
4226
4232
  })) : N("", !0)
@@ -4233,8 +4239,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4233
4239
  key: 0,
4234
4240
  type: "danger"
4235
4241
  }, {
4236
- default: K(() => [
4237
- G(P(n.value), 1)
4242
+ default: Y(() => [
4243
+ X(P(n.value), 1)
4238
4244
  ]),
4239
4245
  _: 1
4240
4246
  })) : N("", !0)
@@ -4306,13 +4312,13 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4306
4312
  d.value = !1;
4307
4313
  const j = e.slideAxis === "x" ? w - s.value : z - r.value;
4308
4314
  j > Pe ? u() : j < -Pe && v();
4309
- }, x = (w) => m(w.touches[0].clientX, w.touches[0].clientY), W = (w) => {
4315
+ }, S = (w) => m(w.touches[0].clientX, w.touches[0].clientY), W = (w) => {
4310
4316
  var z;
4311
4317
  e.isSlide && (b(w.touches[0].clientX, w.touches[0].clientY), (z = w.preventDefault) == null || z.call(w));
4312
- }, Z = (w) => $(w.changedTouches[0].clientX, w.changedTouches[0].clientY), T = (w) => m(w.clientX, w.clientY), k = (w) => {
4318
+ }, U = (w) => $(w.changedTouches[0].clientX, w.changedTouches[0].clientY), T = (w) => m(w.clientX, w.clientY), k = (w) => {
4313
4319
  var z;
4314
4320
  d.value && (b(w.clientX, w.clientY), (z = w.preventDefault) == null || z.call(w));
4315
- }, U = (w) => $(w.clientX, w.clientY);
4321
+ }, K = (w) => $(w.clientX, w.clientY);
4316
4322
  return R(
4317
4323
  () => e.value,
4318
4324
  (w) => {
@@ -4326,22 +4332,22 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4326
4332
  ref_key: "rootRef",
4327
4333
  ref: i,
4328
4334
  class: I(["v-menu-container", [`v-menu-container--position--${t.menuPosition}`, { "v-slide-x": t.slideAxis === "x" }, { "v-slide-y": t.slideAxis === "y" }]]),
4329
- onTouchstart: x,
4335
+ onTouchstart: S,
4330
4336
  onTouchmove: W,
4331
- onTouchend: Z,
4337
+ onTouchend: U,
4332
4338
  onMousedown: T,
4333
4339
  onMousemove: k,
4334
- onMouseup: U
4340
+ onMouseup: K
4335
4341
  }, [
4336
4342
  y("view", un, [
4337
- (g(!0), h(X, null, ee(t.menuItems, (j) => (g(), h("view", {
4343
+ (g(!0), h(Z, null, ee(t.menuItems, (j) => (g(), h("view", {
4338
4344
  key: j.id,
4339
4345
  class: I(["menu-item", { active: a.value === j.id }]),
4340
4346
  onClick: (te) => f(j.id, j)
4341
4347
  }, P(j.title), 11, cn))), 128))
4342
4348
  ]),
4343
4349
  y("view", dn, [
4344
- (g(!0), h(X, null, ee(t.menuItems, (j, te) => ue((g(), h("view", {
4350
+ (g(!0), h(Z, null, ee(t.menuItems, (j, te) => ue((g(), h("view", {
4345
4351
  key: j.id
4346
4352
  }, [
4347
4353
  V(w.$slots, `content-${te}`, { item: j }, void 0, !0)
@@ -4432,7 +4438,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4432
4438
  y("view", {
4433
4439
  class: I(["menu-header", `menu-header--${t.direction}`])
4434
4440
  }, [
4435
- (g(!0), h(X, null, ee(r.value, (m, b) => (g(), h("view", {
4441
+ (g(!0), h(Z, null, ee(r.value, (m, b) => (g(), h("view", {
4436
4442
  key: b,
4437
4443
  class: I(["menu-item", { "menu-item--active": n.value === b }]),
4438
4444
  onClick: ($) => p(b)
@@ -4459,7 +4465,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4459
4465
  onChange: v,
4460
4466
  class: "menu-content-swiper"
4461
4467
  }, [
4462
- (g(!0), h(X, null, ee(d.value, (m, b) => (g(), h("swiper-item", { key: b }, [
4468
+ (g(!0), h(Z, null, ee(d.value, (m, b) => (g(), h("swiper-item", { key: b }, [
4463
4469
  y("view", hn, [
4464
4470
  V(u.$slots, "content", {
4465
4471
  item: m,
@@ -4557,8 +4563,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4557
4563
  onClick: s,
4558
4564
  model: "circle"
4559
4565
  }, {
4560
- default: K(() => [
4561
- G("确定")
4566
+ default: Y(() => [
4567
+ X("确定")
4562
4568
  ]),
4563
4569
  _: 1
4564
4570
  })
@@ -4632,7 +4638,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4632
4638
  class: "v-grid",
4633
4639
  style: B(s.value)
4634
4640
  }, [
4635
- (g(!0), h(X, null, ee(t.items, (m, b) => (g(), h("view", {
4641
+ (g(!0), h(Z, null, ee(t.items, (m, b) => (g(), h("view", {
4636
4642
  key: b,
4637
4643
  class: "grid-item",
4638
4644
  style: B(r.value),
@@ -4762,7 +4768,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4762
4768
  class: "icon-grid",
4763
4769
  style: B({ "grid-template-columns": `repeat(${i.value}, 1fr)` })
4764
4770
  }, [
4765
- (g(!0), h(X, null, ee(t.icons, (u, f) => (g(), h("view", {
4771
+ (g(!0), h(Z, null, ee(t.icons, (u, f) => (g(), h("view", {
4766
4772
  key: f,
4767
4773
  class: I(["icon-item", { "icon-item-active": a.value === f }]),
4768
4774
  onClick: (m) => r(f),
@@ -4838,11 +4844,11 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4838
4844
  o();
4839
4845
  }
4840
4846
  ), (n, a) => (g(), h("view", Hn, [
4841
- (g(!0), h(X, null, ee(e.value, (i, s) => (g(), h("view", {
4847
+ (g(!0), h(Z, null, ee(e.value, (i, s) => (g(), h("view", {
4842
4848
  key: s,
4843
4849
  class: "column"
4844
4850
  }, [
4845
- (g(!0), h(X, null, ee(i, (r, d) => (g(), h("view", {
4851
+ (g(!0), h(Z, null, ee(i, (r, d) => (g(), h("view", {
4846
4852
  key: d,
4847
4853
  class: "waterfall-item"
4848
4854
  }, [
@@ -4971,12 +4977,12 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4971
4977
  class: "v-table-header",
4972
4978
  onClick: a
4973
4979
  }, [
4974
- (g(!0), h(X, null, ee(t.columns, (r, d) => (g(), h("view", {
4980
+ (g(!0), h(Z, null, ee(t.columns, (r, d) => (g(), h("view", {
4975
4981
  class: "v-table-header-cell",
4976
4982
  key: d,
4977
4983
  style: B({ width: r.width, flex: "1 1 0%" })
4978
4984
  }, [
4979
- G(P(r.label) + " ", 1),
4985
+ X(P(r.label) + " ", 1),
4980
4986
  r.prop && t.sortable ? (g(), h("view", Un, [
4981
4987
  y("text", {
4982
4988
  class: I(["arrow-up", { active: r.prop === o.value.prop && o.value.order === "asc" }])
@@ -4990,14 +4996,14 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
4990
4996
  y("view", Kn, [
4991
4997
  t.data.length ? N("", !0) : (g(), h("view", Yn, [
4992
4998
  V(i.$slots, "empty", {}, () => [
4993
- G("暂无数据")
4999
+ X("暂无数据")
4994
5000
  ], !0)
4995
5001
  ])),
4996
- (g(!0), h(X, null, ee(n.value, (r, d) => (g(), h("view", {
5002
+ (g(!0), h(Z, null, ee(n.value, (r, d) => (g(), h("view", {
4997
5003
  class: "v-table-row",
4998
5004
  key: d
4999
5005
  }, [
5000
- (g(!0), h(X, null, ee(t.columns, (p, v) => (g(), h("view", {
5006
+ (g(!0), h(Z, null, ee(t.columns, (p, v) => (g(), h("view", {
5001
5007
  class: "v-table-cell",
5002
5008
  key: v,
5003
5009
  style: B({ width: p.width, flex: "1 1 0%" })
@@ -5007,7 +5013,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5007
5013
  column: p,
5008
5014
  index: d
5009
5015
  }, () => [
5010
- G(P(r[p.prop]), 1)
5016
+ X(P(r[p.prop]), 1)
5011
5017
  ], !0)
5012
5018
  ], 4))), 128))
5013
5019
  ]))), 128))
@@ -5256,17 +5262,17 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5256
5262
  },
5257
5263
  emits: ["refresh"],
5258
5264
  setup(t, { emit: l }) {
5259
- L((x) => ({
5265
+ L((S) => ({
5260
5266
  "487f263e": c(n).backgroundColor.reversal,
5261
5267
  "0addf3d2": c(n).fontColor.mainText,
5262
5268
  "41a208d0": c(n).border.color
5263
5269
  }));
5264
5270
  const e = t, o = l, n = O("config"), a = C("100%"), i = C(0), s = C(!1), r = C(!1);
5265
5271
  let d = 0, p = 0, v = 0;
5266
- const u = (x) => {
5267
- d = x.touches[0].pageY;
5268
- }, f = (x) => {
5269
- r.value || (p = x.touches[0].pageY, v = p - d, v > 0 && (s.value = !0, i.value = v));
5272
+ const u = (S) => {
5273
+ d = S.touches[0].pageY;
5274
+ }, f = (S) => {
5275
+ r.value || (p = S.touches[0].pageY, v = p - d, v > 0 && (s.value = !0, i.value = v));
5270
5276
  }, m = () => {
5271
5277
  r.value || (s.value && v > e.refreshHeight ? b() : (i.value = 0, s.value = !1));
5272
5278
  }, b = () => {
@@ -5279,25 +5285,25 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5279
5285
  });
5280
5286
  };
5281
5287
  return se(() => {
5282
- const x = document.querySelector(".v-pull-up-refresh");
5283
- x && (x.addEventListener("touchstart", u), x.addEventListener("touchmove", f), x.addEventListener("touchend", m));
5288
+ const S = document.querySelector(".v-pull-up-refresh");
5289
+ S && (S.addEventListener("touchstart", u), S.addEventListener("touchmove", f), S.addEventListener("touchend", m));
5284
5290
  }), ie(() => {
5285
- const x = document.querySelector(".v-pull-up-refresh");
5286
- x && (x.removeEventListener("touchstart", u), x.removeEventListener("touchmove", f), x.removeEventListener("touchend", m));
5287
- }), (x, W) => {
5288
- const Z = q("v-min-loading");
5291
+ const S = document.querySelector(".v-pull-up-refresh");
5292
+ S && (S.removeEventListener("touchstart", u), S.removeEventListener("touchmove", f), S.removeEventListener("touchend", m));
5293
+ }), (S, W) => {
5294
+ const U = q("v-min-loading");
5289
5295
  return g(), h("view", {
5290
5296
  class: "v-pull-up-refresh",
5291
5297
  style: B({ height: a.value })
5292
5298
  }, [
5293
5299
  s.value || r.value ? (g(), h("view", oa, [
5294
- V(x.$slots, "pull-up-refresh", {
5300
+ V(S.$slots, "pull-up-refresh", {
5295
5301
  pullingDown: s.value,
5296
5302
  refreshing: r.value
5297
5303
  }, () => [
5298
5304
  y("view", la, [
5299
5305
  r.value ? N("", !0) : (g(), h("view", na)),
5300
- D(Z, {
5306
+ D(U, {
5301
5307
  value: r.value,
5302
5308
  "onUpdate:value": W[0] || (W[0] = (T) => r.value = T),
5303
5309
  type: "info"
@@ -5310,7 +5316,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5310
5316
  class: "pull-up-refresh-content",
5311
5317
  style: B({ transform: `translateY(${i.value}px)` })
5312
5318
  }, [
5313
- V(x.$slots, "default", {}, void 0, !0)
5319
+ V(S.$slots, "default", {}, void 0, !0)
5314
5320
  ], 4)
5315
5321
  ], 4);
5316
5322
  };
@@ -5423,31 +5429,31 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5423
5429
  }));
5424
5430
  const e = t, o = l, n = C(e.show), a = O("config");
5425
5431
  function i(T, k) {
5426
- const U = [];
5427
- for (let Y = T; Y >= k; Y--)
5428
- U.push({
5429
- value: Y,
5430
- label: `${Y}`
5432
+ const K = [];
5433
+ for (let G = T; G >= k; G--)
5434
+ K.push({
5435
+ value: G,
5436
+ label: `${G}`
5431
5437
  });
5432
- return U;
5438
+ return K;
5433
5439
  }
5434
5440
  function s(T, k) {
5435
- const U = [];
5436
- for (let Y = T + 1; Y > k; Y--)
5437
- U.push({
5438
- value: Y,
5439
- label: `${Y}`
5441
+ const K = [];
5442
+ for (let G = T + 1; G > k; G--)
5443
+ K.push({
5444
+ value: G,
5445
+ label: `${G}`
5440
5446
  });
5441
- return U;
5447
+ return K;
5442
5448
  }
5443
5449
  function r(T, k) {
5444
- const U = [], Y = new Date(e.value.getFullYear(), e.value.getMonth() + 1, 0).getDate(), ae = Math.min(T, Y);
5450
+ const K = [], G = new Date(e.value.getFullYear(), e.value.getMonth() + 1, 0).getDate(), ae = Math.min(T, G);
5445
5451
  for (let w = ae; w >= k; w--)
5446
- U.push({
5452
+ K.push({
5447
5453
  value: w,
5448
5454
  label: `${w}`
5449
5455
  });
5450
- return U;
5456
+ return K;
5451
5457
  }
5452
5458
  function d() {
5453
5459
  const T = [];
@@ -5493,7 +5499,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5493
5499
  e.value.setHours(T), o("handleValueChangeHours", T);
5494
5500
  }, $ = (T) => {
5495
5501
  e.value.setMinutes(T), o("handleValueChangeMinutes", T);
5496
- }, x = (T) => {
5502
+ }, S = (T) => {
5497
5503
  e.value.setSeconds(T), o("handleValueChangeSeconds", T);
5498
5504
  };
5499
5505
  R(
@@ -5504,11 +5510,11 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5504
5510
  );
5505
5511
  const W = () => {
5506
5512
  n.value = !1, o("update:show", !1), o("close", !1);
5507
- }, Z = () => {
5513
+ }, U = () => {
5508
5514
  n.value = !1, o("update:show", !1), o("confirm", e.value);
5509
5515
  };
5510
5516
  return (T, k) => {
5511
- const U = q("v-scroll-list"), Y = q("v-text"), ae = q("v-popup");
5517
+ const K = q("v-scroll-list"), G = q("v-text"), ae = q("v-popup");
5512
5518
  return g(), re(ae, {
5513
5519
  value: n.value,
5514
5520
  "onUpdate:value": k[6] || (k[6] = (w) => n.value = w),
@@ -5516,76 +5522,76 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5516
5522
  scrollHeight: t.scrollHeight,
5517
5523
  model: "semicircle",
5518
5524
  onClose: W,
5519
- onConfirm: Z
5525
+ onConfirm: U
5520
5526
  }, {
5521
- default: K(() => [
5527
+ default: Y(() => [
5522
5528
  y("view", va, [
5523
5529
  y("view", ma, [
5524
- D(U, {
5530
+ D(K, {
5525
5531
  value: t.value.getFullYear(),
5526
5532
  options: i(e.maxDateTime.getFullYear(), e.minDateTime.getFullYear()),
5527
5533
  scrollHeight: t.scrollHeight,
5528
5534
  "onUpdate:value": k[0] || (k[0] = (w) => u(w))
5529
5535
  }, null, 8, ["value", "options", "scrollHeight"]),
5530
- D(Y, { class: "separate-symbol" }, {
5531
- default: K(() => [
5532
- G(":")
5536
+ D(G, { class: "separate-symbol" }, {
5537
+ default: Y(() => [
5538
+ X(":")
5533
5539
  ]),
5534
5540
  _: 1
5535
5541
  }),
5536
- D(U, {
5542
+ D(K, {
5537
5543
  value: t.value.getMonth() + 1,
5538
5544
  options: s(e.maxDateTime.getMonth(), e.minDateTime.getMonth()),
5539
5545
  scrollHeight: t.scrollHeight,
5540
5546
  "onUpdate:value": k[1] || (k[1] = (w) => f(w))
5541
5547
  }, null, 8, ["value", "options", "scrollHeight"]),
5542
- D(Y, { class: "separate-symbol" }, {
5543
- default: K(() => [
5544
- G(":")
5548
+ D(G, { class: "separate-symbol" }, {
5549
+ default: Y(() => [
5550
+ X(":")
5545
5551
  ]),
5546
5552
  _: 1
5547
5553
  }),
5548
- D(U, {
5554
+ D(K, {
5549
5555
  value: t.value.getDate(),
5550
5556
  options: r(e.maxDateTime.getDate(), e.minDateTime.getDate()),
5551
5557
  scrollHeight: t.scrollHeight,
5552
5558
  "onUpdate:value": k[2] || (k[2] = (w) => m(w))
5553
5559
  }, null, 8, ["value", "options", "scrollHeight"]),
5554
- D(Y, { class: "separate-symbol" }, {
5555
- default: K(() => [
5556
- G(":")
5560
+ D(G, { class: "separate-symbol" }, {
5561
+ default: Y(() => [
5562
+ X(":")
5557
5563
  ]),
5558
5564
  _: 1
5559
5565
  }),
5560
- D(U, {
5566
+ D(K, {
5561
5567
  value: t.hoursSystem ? t.value.getHours() || 24 : t.value.getHours() % 12 || 12,
5562
5568
  options: d(e.maxDateTime.getHours(), e.minDateTime.getHours()),
5563
5569
  scrollHeight: t.scrollHeight,
5564
5570
  "onUpdate:value": k[3] || (k[3] = (w) => b(w))
5565
5571
  }, null, 8, ["value", "options", "scrollHeight"]),
5566
- D(Y, { class: "separate-symbol" }, {
5567
- default: K(() => [
5568
- G(":")
5572
+ D(G, { class: "separate-symbol" }, {
5573
+ default: Y(() => [
5574
+ X(":")
5569
5575
  ]),
5570
5576
  _: 1
5571
5577
  }),
5572
- D(U, {
5578
+ D(K, {
5573
5579
  value: t.value.getMinutes(),
5574
5580
  options: p(e.maxDateTime.getMinutes(), e.minDateTime.getMinutes()),
5575
5581
  scrollHeight: t.scrollHeight,
5576
5582
  "onUpdate:value": k[4] || (k[4] = (w) => $(w))
5577
5583
  }, null, 8, ["value", "options", "scrollHeight"]),
5578
- D(Y, { class: "separate-symbol" }, {
5579
- default: K(() => [
5580
- G(":")
5584
+ D(G, { class: "separate-symbol" }, {
5585
+ default: Y(() => [
5586
+ X(":")
5581
5587
  ]),
5582
5588
  _: 1
5583
5589
  }),
5584
- D(U, {
5590
+ D(K, {
5585
5591
  value: t.value.getSeconds(),
5586
5592
  options: v(e.maxDateTime.getSeconds(), e.minDateTime.getSeconds()),
5587
5593
  scrollHeight: t.scrollHeight,
5588
- "onUpdate:value": k[5] || (k[5] = (w) => x(w))
5594
+ "onUpdate:value": k[5] || (k[5] = (w) => S(w))
5589
5595
  }, null, 8, ["value", "options", "scrollHeight"])
5590
5596
  ])
5591
5597
  ])
@@ -5648,7 +5654,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5648
5654
  model: "square",
5649
5655
  onClose: i
5650
5656
  }, {
5651
- default: K(() => [
5657
+ default: Y(() => [
5652
5658
  y("view", ga, [
5653
5659
  y("view", ha, [
5654
5660
  D(p, {
@@ -5724,7 +5730,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5724
5730
  }),
5725
5731
  onScroll: v
5726
5732
  }, [
5727
- (g(!0), h(X, null, ee(t.options, (m, b) => (g(), h("view", {
5733
+ (g(!0), h(Z, null, ee(t.options, (m, b) => (g(), h("view", {
5728
5734
  key: b,
5729
5735
  id: `item_${m.value}`,
5730
5736
  class: I(["v-scroll-list-item", { "v-scroll-list-item-active": m.value === a.value }]),
@@ -5802,16 +5808,16 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5802
5808
  class: "input-box",
5803
5809
  style: B({ width: `${t.inputWidth * t.length + (t.length - 1) * 20}px`, height: `${t.inputHeight}px` })
5804
5810
  }, [
5805
- (g(!0), h(X, null, ee(t.length, (b, $) => (g(), h("input", {
5811
+ (g(!0), h(Z, null, ee(t.length, (b, $) => (g(), h("input", {
5806
5812
  key: $,
5807
5813
  type: "text",
5808
5814
  class: I(["input-item", { "input-focus": a.value === $ }]),
5809
5815
  maxlength: 1,
5810
5816
  placeholder: t.placeholder,
5811
- onInput: (x) => r($, x),
5812
- onFocus: (x) => p($),
5813
- onBlur: (x) => v($),
5814
- onKeydown: (x) => d($, x),
5817
+ onInput: (S) => r($, S),
5818
+ onFocus: (S) => p($),
5819
+ onBlur: (S) => v($),
5820
+ onKeydown: (S) => d($, S),
5815
5821
  focus: i.value[$],
5816
5822
  blur: s.value[$]
5817
5823
  }, null, 42, $a))), 128))
@@ -5869,7 +5875,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5869
5875
  o("update:activeIndex", p), o("change", p);
5870
5876
  };
5871
5877
  return (r, d) => (g(), h("view", ka, [
5872
- (g(!0), h(X, null, ee(a.value, (p, v) => (g(), h("view", {
5878
+ (g(!0), h(Z, null, ee(a.value, (p, v) => (g(), h("view", {
5873
5879
  key: v,
5874
5880
  class: I(["collapse-item", { expanded: p.expanded }])
5875
5881
  }, [
@@ -5887,7 +5893,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5887
5893
  y("view", za, [
5888
5894
  y("view", Pa, [
5889
5895
  V(r.$slots, "content", { item: p }, () => [
5890
- G(P(p.content), 1)
5896
+ X(P(p.content), 1)
5891
5897
  ], !0)
5892
5898
  ])
5893
5899
  ])
@@ -5942,7 +5948,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
5942
5948
  return (n, a) => (g(), h("view", {
5943
5949
  class: I(["v-steps", [t.direction]])
5944
5950
  }, [
5945
- (g(!0), h(X, null, ee(t.steps, (i, s) => (g(), h("view", {
5951
+ (g(!0), h(Z, null, ee(t.steps, (i, s) => (g(), h("view", {
5946
5952
  key: s,
5947
5953
  class: I(["step-item", [o(s), { "last-item": s === t.steps.length - 1 }]])
5948
5954
  }, [
@@ -6100,9 +6106,9 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6100
6106
  let p = null;
6101
6107
  const v = C(0), u = C(e.retryCount), f = C(!1), m = (w) => /^https?:\/\//.test(w), b = _(() => e.src ? m(e.src) ? e.src : n.VImage.prefix + e.src : ""), $ = _(() => e.src ? m(e.src) ? e.src : n.VImage.prefix + e.src : "");
6102
6108
  se(() => {
6103
- process.env.VUE_APP_PLATFORM === "app-plus" ? f.value = !0 : f.value = !1, e.lazy && e.src && window ? (window.addEventListener("scroll", x), x()) : d.value = b.value;
6109
+ process.env.VUE_APP_PLATFORM === "app-plus" ? f.value = !0 : f.value = !1, e.lazy && e.src && window ? (window.addEventListener("scroll", S), S()) : d.value = b.value;
6104
6110
  });
6105
- const x = () => {
6111
+ const S = () => {
6106
6112
  if (!e.lazy || !e.src || !r.value)
6107
6113
  return;
6108
6114
  const w = r.value.getBoundingClientRect();
@@ -6111,15 +6117,15 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6111
6117
  clearTimeout(p), p = setTimeout(() => {
6112
6118
  d.value = b.value, d.value && d.value.trim() && (i.value = !1, s.value = !1);
6113
6119
  }, e.delay);
6114
- }, Z = () => {
6120
+ }, U = () => {
6115
6121
  i.value = !1, o("handleLoading"), v.value = 0;
6116
6122
  }, T = () => {
6117
6123
  v.value < u.value && (v.value++, d.value = null, i.value = !0, s.value = !1, W()), o("handError", v.value);
6118
6124
  }, k = () => {
6119
6125
  i.value = !1, s.value = !0, T();
6120
- }, U = () => {
6126
+ }, K = () => {
6121
6127
  e.enablePreview && e.src && !e.disabled && (a.value = !0);
6122
- }, Y = () => {
6128
+ }, G = () => {
6123
6129
  o("click");
6124
6130
  }, ae = () => {
6125
6131
  a.value = !1;
@@ -6140,23 +6146,23 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6140
6146
  e.lazy ? r.value && window && W() : (d.value = b.value, w && (i.value = !0, s.value = !1));
6141
6147
  }
6142
6148
  ), ie(() => {
6143
- clearTimeout(p), window && window.removeEventListener("scroll", x);
6149
+ clearTimeout(p), window && window.removeEventListener("scroll", S);
6144
6150
  }), (w, z) => {
6145
6151
  const j = q("v-loading"), te = q("v-overlay");
6146
- return g(), h(X, null, [
6152
+ return g(), h(Z, null, [
6147
6153
  y("view", {
6148
6154
  class: "v-image-container",
6149
- onClick: Y
6155
+ onClick: G
6150
6156
  }, [
6151
- s.value ? N("", !0) : (g(), h(X, { key: 0 }, [
6157
+ s.value ? N("", !0) : (g(), h(Z, { key: 0 }, [
6152
6158
  f.value ? (g(), h("image", {
6153
6159
  key: 0,
6154
6160
  ref_key: "imgElement",
6155
6161
  ref: r,
6156
6162
  src: b.value,
6157
6163
  class: I(["v-image", `v-image--${t.model}`, { "v-image--loading": i.value, "v-image--disabled": t.disabled }]),
6158
- onClick: U,
6159
- onLoad: Z,
6164
+ onClick: K,
6165
+ onLoad: U,
6160
6166
  onError: k
6161
6167
  }, null, 42, qa)) : (g(), h("img", {
6162
6168
  key: 1,
@@ -6164,8 +6170,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6164
6170
  ref: r,
6165
6171
  src: b.value,
6166
6172
  class: I(["v-image", `v-image--${t.model}`, { "v-image--loading": i.value, "v-image--disabled": t.disabled }]),
6167
- onClick: U,
6168
- onLoad: Z,
6173
+ onClick: K,
6174
+ onLoad: U,
6169
6175
  onError: k
6170
6176
  }, null, 42, Ua))
6171
6177
  ], 64)),
@@ -6187,7 +6193,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6187
6193
  "onUpdate:value": z[2] || (z[2] = (oe) => a.value = oe),
6188
6194
  onClick: ae
6189
6195
  }, {
6190
- default: K(() => [
6196
+ default: Y(() => [
6191
6197
  f.value ? (g(), h("image", {
6192
6198
  key: 0,
6193
6199
  src: $.value,
@@ -6391,7 +6397,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6391
6397
  return ie(() => {
6392
6398
  a();
6393
6399
  }), l({ show: o, clearAll: a }), (i, s) => e.value.length > 0 ? (g(), h("view", Ja, [
6394
- (g(!0), h(X, null, ee(e.value, (r, d) => (g(), h("view", {
6400
+ (g(!0), h(Z, null, ee(e.value, (r, d) => (g(), h("view", {
6395
6401
  key: d,
6396
6402
  class: "toast-content-wrapper",
6397
6403
  style: B({ top: `${20 + d * 10}%` })
@@ -6459,10 +6465,10 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6459
6465
  onBlur: r[1] || (r[1] = (p) => o("blur", p)),
6460
6466
  onConfirm: r[2] || (r[2] = (p) => o("confirm", p))
6461
6467
  }), {
6462
- left: K(() => [
6468
+ left: Y(() => [
6463
6469
  V(s.$slots, "left", {}, void 0, !0)
6464
6470
  ]),
6465
- right: K(() => [
6471
+ right: Y(() => [
6466
6472
  V(s.$slots, "right", {}, void 0, !0)
6467
6473
  ]),
6468
6474
  _: 3
@@ -6478,7 +6484,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6478
6484
  }, ys = ["onLongpress"], me = "v-console-logs", ws = {
6479
6485
  __name: "v-console",
6480
6486
  setup(t) {
6481
- var Y, ae;
6487
+ var G, ae;
6482
6488
  const l = C(!1), e = () => l.value = !l.value, o = C(!1), n = () => o.value = !o.value, a = C([]), i = C(""), s = C(0), r = [
6483
6489
  { label: "全部", value: 0 },
6484
6490
  { label: "log", value: 1 },
@@ -6502,12 +6508,12 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6502
6508
  console.error("[Global Error]", w, `${z}:${j}:${te}`, oe == null ? void 0 : oe.stack);
6503
6509
  }, window.onunhandledrejection = (w) => {
6504
6510
  console.error("[Unhandled Promise]", w.reason);
6505
- }) : ((Y = wx.onError) == null || Y.call(wx, (w) => console.error("[wx Error]", w)), (ae = wx.onUnhandledRejection) == null || ae.call(wx, (w) => console.error("[wx Promise]", w.reason))), ["log", "info", "warn", "error", "debug"].forEach((w) => {
6511
+ }) : ((G = wx.onError) == null || G.call(wx, (w) => console.error("[wx Error]", w)), (ae = wx.onUnhandledRejection) == null || ae.call(wx, (w) => console.error("[wx Promise]", w.reason))), ["log", "info", "warn", "error", "debug"].forEach((w) => {
6506
6512
  const z = console[w];
6507
6513
  console[w] = (...j) => {
6508
6514
  z.apply(console, j);
6509
6515
  const te = (/* @__PURE__ */ new Date()).toLocaleTimeString(), oe = j.map((F) => typeof F == "object" ? JSON.stringify(F) : String(F)).join(" "), H = { type: w, msg: oe, time: te, blockLines: 2 };
6510
- a.value.unshift(H), x();
6516
+ a.value.unshift(H), S();
6511
6517
  };
6512
6518
  });
6513
6519
  const $ = _(() => {
@@ -6517,7 +6523,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6517
6523
  w = w.filter((j) => j.msg.toLowerCase().includes(z));
6518
6524
  }
6519
6525
  return w.blockLines = 2, w;
6520
- }), x = () => {
6526
+ }), S = () => {
6521
6527
  try {
6522
6528
  sessionStorage.setItem(me, JSON.stringify(a.value)), uni.setStorageSync(me, a.value);
6523
6529
  } catch {
@@ -6528,7 +6534,7 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6528
6534
  w = JSON.parse(sessionStorage.getItem(me) || "[]"), w = uni.getStorageSync(me) || [], a.value = w;
6529
6535
  } catch {
6530
6536
  }
6531
- }, Z = () => {
6537
+ }, U = () => {
6532
6538
  a.value = [];
6533
6539
  try {
6534
6540
  sessionStorage.removeItem(me), uni.removeStorageSync(me);
@@ -6539,12 +6545,12 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6539
6545
  z.value = w, document.body.appendChild(z), z.select(), document.execCommand("copy"), document.body.removeChild(z), uni.showToast({ title: "已复制", icon: "none" }), uni.setClipboardData({ data: w, showToast: !1 }), uni.showToast({ title: "已复制", icon: "none" });
6540
6546
  }, k = (w) => {
6541
6547
  console.log(w), i.value = w;
6542
- }, U = (w) => {
6548
+ }, K = (w) => {
6543
6549
  s.value = w;
6544
6550
  };
6545
6551
  return (w, z) => {
6546
6552
  const j = q("v-button"), te = q("v-text-button"), oe = q("v-input"), H = q("v-select-picker"), F = q("v-text");
6547
- return g(), h(X, null, [
6553
+ return g(), h(Z, null, [
6548
6554
  l.value ? N("", !0) : (g(), h("view", {
6549
6555
  key: 0,
6550
6556
  class: "console-toggle",
@@ -6558,8 +6564,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6558
6564
  onClick: e
6559
6565
  }, [
6560
6566
  D(j, null, {
6561
- default: K(() => [
6562
- G("控制台")
6567
+ default: Y(() => [
6568
+ X("控制台")
6563
6569
  ]),
6564
6570
  _: 1
6565
6571
  })
@@ -6574,8 +6580,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6574
6580
  size: "medium",
6575
6581
  onClick: e
6576
6582
  }, {
6577
- default: K(() => [
6578
- G("关闭")
6583
+ default: Y(() => [
6584
+ X("关闭")
6579
6585
  ]),
6580
6586
  _: 1
6581
6587
  }),
@@ -6583,17 +6589,17 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6583
6589
  size: "medium",
6584
6590
  onClick: n
6585
6591
  }, {
6586
- default: K(() => [
6587
- G(P(o.value ? "收起" : "展开"), 1)
6592
+ default: Y(() => [
6593
+ X(P(o.value ? "收起" : "展开"), 1)
6588
6594
  ]),
6589
6595
  _: 1
6590
6596
  }),
6591
6597
  D(te, {
6592
6598
  size: "medium",
6593
- onClick: Z
6599
+ onClick: U
6594
6600
  }, {
6595
- default: K(() => [
6596
- G("清空")
6601
+ default: Y(() => [
6602
+ X("清空")
6597
6603
  ]),
6598
6604
  _: 1
6599
6605
  })
@@ -6609,13 +6615,13 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6609
6615
  D(H, {
6610
6616
  options: r,
6611
6617
  value: s.value,
6612
- onConfirm: U,
6618
+ onConfirm: K,
6613
6619
  class: "level"
6614
6620
  }, null, 8, ["value"])
6615
6621
  ])
6616
6622
  ]),
6617
6623
  y("scroll-view", hs, [
6618
- (g(!0), h(X, null, ee($.value, (Q, Ve) => (g(), h("view", {
6624
+ (g(!0), h(Z, null, ee($.value, (Q, Ve) => (g(), h("view", {
6619
6625
  key: Ve,
6620
6626
  class: I("log " + Q.type)
6621
6627
  }, [
@@ -6627,8 +6633,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6627
6633
  D(F, {
6628
6634
  lines: Q.blockLines
6629
6635
  }, {
6630
- default: K(() => [
6631
- G(P(Q.msg), 1)
6636
+ default: Y(() => [
6637
+ X(P(Q.msg), 1)
6632
6638
  ]),
6633
6639
  _: 2
6634
6640
  }, 1032, ["lines"])
@@ -6637,8 +6643,8 @@ const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "
6637
6643
  class: "detail-info",
6638
6644
  onClick: (Te) => Q.blockLines == 2 ? Q.blockLines = 999 : Q.blockLines = 2
6639
6645
  }, {
6640
- default: K(() => [
6641
- G(P(Q.blockLines == 2 ? "详细" : "简略"), 1)
6646
+ default: Y(() => [
6647
+ X(P(Q.blockLines == 2 ? "详细" : "简略"), 1)
6642
6648
  ]),
6643
6649
  _: 2
6644
6650
  }, 1032, ["onClick"])