persagy-vant 0.0.28 → 0.0.30

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.
Files changed (107) hide show
  1. package/es/blue-mark/CollapseToggle.d.ts +4 -0
  2. package/es/blue-mark/CollapseToggle.mjs +11 -1
  3. package/es/blue-mark/index.css +1 -1
  4. package/es/blue-mark/index.d.ts +3 -0
  5. package/es/blue-mark/index.less +25 -0
  6. package/es/blue-mark/style/index.mjs +1 -0
  7. package/es/blue-mark/style/less.mjs +1 -0
  8. package/es/collapse-toggle/index.css +1 -0
  9. package/es/collapse-toggle/index.d.ts +2 -0
  10. package/es/collapse-toggle/index.less +1 -0
  11. package/es/collapse-toggle/index.mjs +4 -0
  12. package/es/index.d.ts +2 -1
  13. package/es/index.mjs +4 -1
  14. package/es/info-card/InfoCard.d.ts +128 -0
  15. package/es/info-card/InfoCard.mjs +84 -0
  16. package/es/info-card/index.css +1 -0
  17. package/es/info-card/index.d.ts +88 -0
  18. package/es/info-card/index.less +60 -0
  19. package/es/info-card/index.mjs +8 -0
  20. package/es/info-card/style/index.mjs +8 -0
  21. package/es/info-card/style/less.mjs +8 -0
  22. package/es/info-card/var.css +0 -0
  23. package/es/info-card/var.less +7 -0
  24. package/es/label/Label.d.ts +3 -0
  25. package/es/label/Label.mjs +9 -2
  26. package/es/label/index.css +1 -1
  27. package/es/label/index.d.ts +2 -0
  28. package/es/label/index.less +35 -0
  29. package/es/label/var.less +5 -0
  30. package/es/loading/Loading.d.ts +1 -1
  31. package/es/loading/Loading.mjs +40 -4
  32. package/es/loading/assets/building.gif +0 -0
  33. package/es/loading/index.css +1 -1
  34. package/es/loading/index.less +14 -0
  35. package/es/material-add/style/index.mjs +2 -1
  36. package/es/material-add/style/less.mjs +2 -1
  37. package/es/multi-person-select/style/index.mjs +2 -1
  38. package/es/multi-person-select/style/less.mjs +2 -1
  39. package/es/object-select/style/index.mjs +2 -1
  40. package/es/object-select/style/less.mjs +2 -1
  41. package/es/single-person-select/style/index.mjs +2 -1
  42. package/es/single-person-select/style/less.mjs +2 -1
  43. package/es/tag/Tag.mjs +1 -1
  44. package/es/vue-sfc-shim.d.ts +5 -0
  45. package/es/work-order-filter/style/index.mjs +2 -1
  46. package/es/work-order-filter/style/less.mjs +2 -1
  47. package/lib/blue-mark/CollapseToggle.d.ts +4 -0
  48. package/lib/blue-mark/CollapseToggle.js +11 -1
  49. package/lib/blue-mark/index.css +1 -1
  50. package/lib/blue-mark/index.d.ts +3 -0
  51. package/lib/blue-mark/index.less +25 -0
  52. package/lib/blue-mark/style/index.js +1 -0
  53. package/lib/blue-mark/style/less.js +1 -0
  54. package/lib/collapse-toggle/index.css +1 -0
  55. package/lib/collapse-toggle/index.d.ts +2 -0
  56. package/lib/collapse-toggle/index.js +23 -0
  57. package/lib/collapse-toggle/index.less +1 -0
  58. package/lib/index.css +1 -1
  59. package/lib/index.d.ts +2 -1
  60. package/lib/index.js +4 -1
  61. package/lib/index.less +7 -6
  62. package/lib/info-card/InfoCard.d.ts +128 -0
  63. package/lib/info-card/InfoCard.js +113 -0
  64. package/lib/info-card/index.css +1 -0
  65. package/lib/info-card/index.d.ts +88 -0
  66. package/lib/info-card/index.js +37 -0
  67. package/lib/info-card/index.less +60 -0
  68. package/lib/info-card/style/index.js +8 -0
  69. package/lib/info-card/style/less.js +8 -0
  70. package/lib/info-card/var.css +0 -0
  71. package/lib/info-card/var.less +7 -0
  72. package/lib/label/Label.d.ts +3 -0
  73. package/lib/label/Label.js +9 -2
  74. package/lib/label/index.css +1 -1
  75. package/lib/label/index.d.ts +2 -0
  76. package/lib/label/index.less +35 -0
  77. package/lib/label/var.less +5 -0
  78. package/lib/loading/Loading.d.ts +1 -1
  79. package/lib/loading/Loading.js +40 -4
  80. package/lib/loading/assets/building.gif +0 -0
  81. package/lib/loading/index.css +1 -1
  82. package/lib/loading/index.less +14 -0
  83. package/lib/material-add/style/index.js +2 -1
  84. package/lib/material-add/style/less.js +2 -1
  85. package/lib/multi-person-select/style/index.js +2 -1
  86. package/lib/multi-person-select/style/less.js +2 -1
  87. package/lib/object-select/style/index.js +2 -1
  88. package/lib/object-select/style/less.js +2 -1
  89. package/lib/single-person-select/style/index.js +2 -1
  90. package/lib/single-person-select/style/less.js +2 -1
  91. package/lib/tag/Tag.js +1 -1
  92. package/lib/vant.cjs.js +541 -410
  93. package/lib/vant.es.js +541 -410
  94. package/lib/vant.js +541 -410
  95. package/lib/vant.min.js +1 -1
  96. package/lib/vue-sfc-shim.d.ts +5 -0
  97. package/lib/web-types.json +1 -1
  98. package/lib/work-order-filter/style/index.js +2 -1
  99. package/lib/work-order-filter/style/less.js +2 -1
  100. package/package.json +2 -1
  101. package/skills/use-persagy-vant/SKILL.md +2 -2
  102. package/skills/use-persagy-vant/agents/openai.yaml +1 -1
  103. package/skills/use-persagy-vant/references/business-component-catalog.md +3 -1
  104. package/skills/use-persagy-vant/references/component-catalog.md +7 -2
  105. package/skills/use-persagy-vant/references/component-documentation.md +45 -0
  106. package/skills/use-persagy-vant/references/design-interaction-baseline.md +4 -3
  107. package/skills/use-persagy-vant/references/page-recipes.md +10 -7
package/lib/vant.es.js CHANGED
@@ -235,7 +235,7 @@ function deepAssign(to, from) {
235
235
  });
236
236
  return to;
237
237
  }
238
- var stdin_default$21 = {
238
+ var stdin_default$22 = {
239
239
  name: "姓名",
240
240
  tel: "电话",
241
241
  save: "保存",
@@ -300,7 +300,7 @@ var stdin_default$21 = {
300
300
  };
301
301
  const lang = ref("zh-CN");
302
302
  const messages = reactive({
303
- "zh-CN": stdin_default$21
303
+ "zh-CN": stdin_default$22
304
304
  });
305
305
  const Locale = {
306
306
  messages() {
@@ -314,11 +314,11 @@ const Locale = {
314
314
  deepAssign(messages, newMessages);
315
315
  }
316
316
  };
317
- var stdin_default$20 = Locale;
317
+ var stdin_default$21 = Locale;
318
318
  function createTranslate(name2) {
319
319
  const prefix = camelize(name2) + ".";
320
320
  return (path, ...args) => {
321
- const messages2 = stdin_default$20.messages();
321
+ const messages2 = stdin_default$21.messages();
322
322
  const message = get(messages2, prefix + path) || get(messages2, path);
323
323
  return isFunction(message) ? message(...args) : message;
324
324
  };
@@ -438,20 +438,20 @@ function usePlaceholder(contentRef, bem2) {
438
438
  }
439
439
  }, [renderContent()]);
440
440
  }
441
- const [name$1S, bem$1O] = createNamespace("action-bar");
442
- const ACTION_BAR_KEY = Symbol(name$1S);
441
+ const [name$1T, bem$1P] = createNamespace("action-bar");
442
+ const ACTION_BAR_KEY = Symbol(name$1T);
443
443
  const actionBarProps = {
444
444
  placeholder: Boolean,
445
445
  safeAreaInsetBottom: truthProp
446
446
  };
447
- var stdin_default$1$ = defineComponent({
448
- name: name$1S,
447
+ var stdin_default$20 = defineComponent({
448
+ name: name$1T,
449
449
  props: actionBarProps,
450
450
  setup(props2, {
451
451
  slots
452
452
  }) {
453
453
  const root = ref();
454
- const renderPlaceholder = usePlaceholder(root, bem$1O);
454
+ const renderPlaceholder = usePlaceholder(root, bem$1P);
455
455
  const {
456
456
  linkChildren
457
457
  } = useChildren(ACTION_BAR_KEY);
@@ -460,7 +460,7 @@ var stdin_default$1$ = defineComponent({
460
460
  var _a;
461
461
  return createVNode("div", {
462
462
  "ref": root,
463
- "class": [bem$1O(), {
463
+ "class": [bem$1P(), {
464
464
  "van-safe-area-bottom": props2.safeAreaInsetBottom
465
465
  }]
466
466
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -473,7 +473,7 @@ var stdin_default$1$ = defineComponent({
473
473
  };
474
474
  }
475
475
  });
476
- const ActionBar = withInstall(stdin_default$1$);
476
+ const ActionBar = withInstall(stdin_default$20);
477
477
  function useExpose(apis) {
478
478
  const instance2 = getCurrentInstance();
479
479
  if (instance2) {
@@ -501,7 +501,7 @@ function useRoute() {
501
501
  const vm = getCurrentInstance().proxy;
502
502
  return () => route(vm);
503
503
  }
504
- const [name$1R, bem$1N] = createNamespace("badge");
504
+ const [name$1S, bem$1O] = createNamespace("badge");
505
505
  const badgeProps = {
506
506
  dot: Boolean,
507
507
  max: numericProp,
@@ -512,8 +512,8 @@ const badgeProps = {
512
512
  showZero: truthProp,
513
513
  position: makeStringProp("top-right")
514
514
  };
515
- var stdin_default$1_ = defineComponent({
516
- name: name$1R,
515
+ var stdin_default$1$ = defineComponent({
516
+ name: name$1S,
517
517
  props: badgeProps,
518
518
  setup(props2, {
519
519
  slots
@@ -567,7 +567,7 @@ var stdin_default$1_ = defineComponent({
567
567
  const renderBadge = () => {
568
568
  if (hasContent() || props2.dot) {
569
569
  return createVNode("div", {
570
- "class": bem$1N([props2.position, {
570
+ "class": bem$1O([props2.position, {
571
571
  dot: props2.dot,
572
572
  fixed: !!slots.default
573
573
  }]),
@@ -581,7 +581,7 @@ var stdin_default$1_ = defineComponent({
581
581
  tag
582
582
  } = props2;
583
583
  return createVNode(tag, {
584
- "class": bem$1N("wrapper")
584
+ "class": bem$1O("wrapper")
585
585
  }, {
586
586
  default: () => [slots.default(), renderBadge()]
587
587
  });
@@ -590,14 +590,14 @@ var stdin_default$1_ = defineComponent({
590
590
  };
591
591
  }
592
592
  });
593
- const Badge = withInstall(stdin_default$1_);
593
+ const Badge = withInstall(stdin_default$1$);
594
594
  let globalZIndex = 2e3;
595
595
  const useGlobalZIndex = () => ++globalZIndex;
596
596
  const setGlobalZIndex = (val) => {
597
597
  globalZIndex = val;
598
598
  };
599
- const [name$1Q, bem$1M] = createNamespace("config-provider");
600
- const CONFIG_PROVIDER_KEY = Symbol(name$1Q);
599
+ const [name$1R, bem$1N] = createNamespace("config-provider");
600
+ const CONFIG_PROVIDER_KEY = Symbol(name$1R);
601
601
  const configProviderProps = {
602
602
  tag: makeStringProp("div"),
603
603
  zIndex: Number,
@@ -612,8 +612,8 @@ function mapThemeVarsToCSSVars(themeVars) {
612
612
  });
613
613
  return cssVars;
614
614
  }
615
- var stdin_default$1Z = defineComponent({
616
- name: name$1Q,
615
+ var stdin_default$1_ = defineComponent({
616
+ name: name$1R,
617
617
  props: configProviderProps,
618
618
  setup(props2, {
619
619
  slots
@@ -630,7 +630,7 @@ var stdin_default$1Z = defineComponent({
630
630
  }
631
631
  });
632
632
  return () => createVNode(props2.tag, {
633
- "class": bem$1M(),
633
+ "class": bem$1N(),
634
634
  "style": style.value
635
635
  }, {
636
636
  default: () => {
@@ -640,7 +640,7 @@ var stdin_default$1Z = defineComponent({
640
640
  });
641
641
  }
642
642
  });
643
- const [name$1P, bem$1L] = createNamespace("icon");
643
+ const [name$1Q, bem$1M] = createNamespace("icon");
644
644
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
645
645
  const iconProps = {
646
646
  dot: Boolean,
@@ -652,14 +652,14 @@ const iconProps = {
652
652
  badgeProps: Object,
653
653
  classPrefix: String
654
654
  };
655
- var stdin_default$1Y = defineComponent({
656
- name: name$1P,
655
+ var stdin_default$1Z = defineComponent({
656
+ name: name$1Q,
657
657
  props: iconProps,
658
658
  setup(props2, {
659
659
  slots
660
660
  }) {
661
661
  const config = inject(CONFIG_PROVIDER_KEY, null);
662
- const classPrefix = computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1L());
662
+ const classPrefix = computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1M());
663
663
  return () => {
664
664
  const {
665
665
  tag,
@@ -683,7 +683,7 @@ var stdin_default$1Y = defineComponent({
683
683
  default: () => {
684
684
  var _a;
685
685
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && createVNode("img", {
686
- "class": bem$1L("image"),
686
+ "class": bem$1M("image"),
687
687
  "src": name2
688
688
  }, null)];
689
689
  }
@@ -691,14 +691,14 @@ var stdin_default$1Y = defineComponent({
691
691
  };
692
692
  }
693
693
  });
694
- const Icon = withInstall(stdin_default$1Y);
695
- var stdin_default$1X = Icon;
696
- const [name$1O, bem$1K] = createNamespace("loading");
694
+ const Icon = withInstall(stdin_default$1Z);
695
+ var stdin_default$1Y = Icon;
696
+ const [name$1P, bem$1L] = createNamespace("loading");
697
697
  const SpinIcon = Array(12).fill(null).map((_, index) => createVNode("i", {
698
- "class": bem$1K("line", String(index + 1))
698
+ "class": bem$1L("line", String(index + 1))
699
699
  }, null));
700
700
  const CircularIcon = createVNode("svg", {
701
- "class": bem$1K("circular"),
701
+ "class": bem$1L("circular"),
702
702
  "viewBox": "25 25 50 50"
703
703
  }, [createVNode("circle", {
704
704
  "cx": "50",
@@ -706,6 +706,37 @@ const CircularIcon = createVNode("svg", {
706
706
  "r": "20",
707
707
  "fill": "none"
708
708
  }, null)]);
709
+ const IllustrationIcon = createVNode("svg", {
710
+ "class": bem$1L("illustration"),
711
+ "viewBox": "0 0 120 120",
712
+ "fill": "none",
713
+ "aria-hidden": "true"
714
+ }, [createVNode("rect", {
715
+ "x": "18",
716
+ "y": "24",
717
+ "width": "84",
718
+ "height": "78",
719
+ "rx": "12",
720
+ "fill": "currentColor",
721
+ "opacity": "0.16"
722
+ }, null), createVNode("path", {
723
+ "d": "M35 98V48c0-5.5 4.5-10 10-10h30c5.5 0 10 4.5 10 10v50",
724
+ "fill": "currentColor",
725
+ "opacity": "0.72"
726
+ }, null), createVNode("path", {
727
+ "d": "M48 54h8v11h-8zm16 0h8v11h-8zm-16 22h8v11h-8zm16 0h8v11h-8z",
728
+ "fill": "white"
729
+ }, null), createVNode("path", {
730
+ "d": "M56 98V78h8v20",
731
+ "fill": "white",
732
+ "opacity": "0.92"
733
+ }, null), createVNode("circle", {
734
+ "cx": "94",
735
+ "cy": "31",
736
+ "r": "9",
737
+ "fill": "currentColor",
738
+ "opacity": "0.9"
739
+ }, null)]);
709
740
  const loadingProps = {
710
741
  size: numericProp,
711
742
  type: makeStringProp("circular"),
@@ -714,20 +745,24 @@ const loadingProps = {
714
745
  textSize: numericProp,
715
746
  textColor: String
716
747
  };
717
- var stdin_default$1W = defineComponent({
718
- name: name$1O,
748
+ var stdin_default$1X = defineComponent({
749
+ name: name$1P,
719
750
  props: loadingProps,
720
751
  setup(props2, {
721
752
  slots
722
753
  }) {
723
- const spinnerStyle = computed(() => extend({
724
- color: props2.color
725
- }, getSizeStyle(props2.size)));
754
+ const spinnerStyle = computed(() => {
755
+ var _a;
756
+ const size = (_a = props2.size) != null ? _a : props2.type === "illustration" ? 100 : void 0;
757
+ return extend({
758
+ color: props2.color
759
+ }, getSizeStyle(size));
760
+ });
726
761
  const renderText = () => {
727
762
  var _a;
728
763
  if (slots.default) {
729
764
  return createVNode("span", {
730
- "class": bem$1K("text"),
765
+ "class": bem$1L("text"),
731
766
  "style": {
732
767
  fontSize: addUnit(props2.textSize),
733
768
  color: (_a = props2.textColor) != null ? _a : props2.color
@@ -740,21 +775,22 @@ var stdin_default$1W = defineComponent({
740
775
  type,
741
776
  vertical
742
777
  } = props2;
778
+ const isIllustration = type === "illustration";
743
779
  return createVNode("div", {
744
- "class": bem$1K([type, {
780
+ "class": bem$1L([type, {
745
781
  vertical
746
782
  }]),
747
783
  "aria-live": "polite",
748
784
  "aria-busy": true
749
785
  }, [createVNode("span", {
750
- "class": bem$1K("spinner", type),
786
+ "class": bem$1L("spinner", type),
751
787
  "style": spinnerStyle.value
752
- }, [type === "spinner" ? SpinIcon : CircularIcon]), renderText()]);
788
+ }, [isIllustration ? IllustrationIcon : type === "spinner" ? SpinIcon : CircularIcon]), renderText()]);
753
789
  };
754
790
  }
755
791
  });
756
- const Loading = withInstall(stdin_default$1W);
757
- const [name$1N, bem$1J] = createNamespace("button");
792
+ const Loading = withInstall(stdin_default$1X);
793
+ const [name$1O, bem$1K] = createNamespace("button");
758
794
  const buttonIconSizes = {
759
795
  large: "var(--van-font-size-xl)",
760
796
  normal: "var(--van-font-size-lg)",
@@ -783,8 +819,8 @@ const buttonProps = extend({}, routeProps, {
783
819
  loadingType: String,
784
820
  iconPosition: makeStringProp("left")
785
821
  });
786
- var stdin_default$1V = defineComponent({
787
- name: name$1N,
822
+ var stdin_default$1W = defineComponent({
823
+ name: name$1O,
788
824
  props: buttonProps,
789
825
  emits: ["click"],
790
826
  setup(props2, {
@@ -799,7 +835,7 @@ var stdin_default$1V = defineComponent({
799
835
  return createVNode(Loading, {
800
836
  "size": props2.loadingSize,
801
837
  "type": props2.loadingType,
802
- "class": bem$1J("loading")
838
+ "class": bem$1K("loading")
803
839
  }, null);
804
840
  };
805
841
  const renderIcon = () => {
@@ -809,14 +845,14 @@ var stdin_default$1V = defineComponent({
809
845
  }
810
846
  if (slots.icon) {
811
847
  return createVNode("div", {
812
- "class": bem$1J("icon")
848
+ "class": bem$1K("icon")
813
849
  }, [slots.icon()]);
814
850
  }
815
851
  if (props2.icon) {
816
852
  return createVNode(Icon, {
817
853
  "size": (_a = props2.iconSize) != null ? _a : buttonIconSizes[props2.size],
818
854
  "name": props2.icon,
819
- "class": bem$1J("icon"),
855
+ "class": bem$1K("icon"),
820
856
  "classPrefix": props2.iconPrefix
821
857
  }, null);
822
858
  }
@@ -830,7 +866,7 @@ var stdin_default$1V = defineComponent({
830
866
  }
831
867
  if (text) {
832
868
  return createVNode("span", {
833
- "class": bem$1J("text")
869
+ "class": bem$1K("text")
834
870
  }, [text]);
835
871
  }
836
872
  };
@@ -877,7 +913,7 @@ var stdin_default$1V = defineComponent({
877
913
  nativeType,
878
914
  iconPosition
879
915
  } = props2;
880
- const classes = [bem$1J([type, size, {
916
+ const classes = [bem$1K([type, size, {
881
917
  plain,
882
918
  block,
883
919
  round,
@@ -896,14 +932,14 @@ var stdin_default$1V = defineComponent({
896
932
  "onClick": onClick
897
933
  }, {
898
934
  default: () => [createVNode("div", {
899
- "class": bem$1J("content")
935
+ "class": bem$1K("content")
900
936
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
901
937
  });
902
938
  };
903
939
  }
904
940
  });
905
- const Button = withInstall(stdin_default$1V);
906
- const [name$1M, bem$1I] = createNamespace("action-bar-button");
941
+ const Button = withInstall(stdin_default$1W);
942
+ const [name$1N, bem$1J] = createNamespace("action-bar-button");
907
943
  const actionBarButtonProps = extend({}, routeProps, {
908
944
  type: String,
909
945
  text: String,
@@ -912,8 +948,8 @@ const actionBarButtonProps = extend({}, routeProps, {
912
948
  loading: Boolean,
913
949
  disabled: Boolean
914
950
  });
915
- var stdin_default$1U = defineComponent({
916
- name: name$1M,
951
+ var stdin_default$1V = defineComponent({
952
+ name: name$1N,
917
953
  props: actionBarButtonProps,
918
954
  setup(props2, {
919
955
  slots
@@ -948,7 +984,7 @@ var stdin_default$1U = defineComponent({
948
984
  disabled
949
985
  } = props2;
950
986
  return createVNode(Button, {
951
- "class": bem$1I([type, {
987
+ "class": bem$1J([type, {
952
988
  last: isLast.value,
953
989
  first: isFirst.value
954
990
  }]),
@@ -965,8 +1001,8 @@ var stdin_default$1U = defineComponent({
965
1001
  };
966
1002
  }
967
1003
  });
968
- const ActionBarButton = withInstall(stdin_default$1U);
969
- const [name$1L, bem$1H] = createNamespace("action-bar-icon");
1004
+ const ActionBarButton = withInstall(stdin_default$1V);
1005
+ const [name$1M, bem$1I] = createNamespace("action-bar-icon");
970
1006
  const actionBarIconProps = extend({}, routeProps, {
971
1007
  dot: Boolean,
972
1008
  text: String,
@@ -977,8 +1013,8 @@ const actionBarIconProps = extend({}, routeProps, {
977
1013
  badgeProps: Object,
978
1014
  iconPrefix: String
979
1015
  });
980
- var stdin_default$1T = defineComponent({
981
- name: name$1L,
1016
+ var stdin_default$1U = defineComponent({
1017
+ name: name$1M,
982
1018
  props: actionBarIconProps,
983
1019
  setup(props2, {
984
1020
  slots
@@ -998,7 +1034,7 @@ var stdin_default$1T = defineComponent({
998
1034
  if (slots.icon) {
999
1035
  return createVNode(Badge, mergeProps({
1000
1036
  "dot": dot,
1001
- "class": bem$1H("icon"),
1037
+ "class": bem$1I("icon"),
1002
1038
  "content": badge
1003
1039
  }, badgeProps2), {
1004
1040
  default: slots.icon
@@ -1010,20 +1046,20 @@ var stdin_default$1T = defineComponent({
1010
1046
  "name": icon,
1011
1047
  "badge": badge,
1012
1048
  "color": color,
1013
- "class": [bem$1H("icon"), iconClass],
1049
+ "class": [bem$1I("icon"), iconClass],
1014
1050
  "badgeProps": badgeProps2,
1015
1051
  "classPrefix": iconPrefix
1016
1052
  }, null);
1017
1053
  };
1018
1054
  return () => createVNode("div", {
1019
1055
  "role": "button",
1020
- "class": bem$1H(),
1056
+ "class": bem$1I(),
1021
1057
  "tabindex": 0,
1022
1058
  "onClick": route2
1023
1059
  }, [renderIcon(), slots.default ? slots.default() : props2.text]);
1024
1060
  }
1025
1061
  });
1026
- const ActionBarIcon = withInstall(stdin_default$1T);
1062
+ const ActionBarIcon = withInstall(stdin_default$1U);
1027
1063
  const popupSharedProps = {
1028
1064
  // whether to show popup
1029
1065
  show: Boolean,
@@ -1174,7 +1210,7 @@ function useLazyRender(show) {
1174
1210
  );
1175
1211
  return (render) => () => inited.value ? render() : null;
1176
1212
  }
1177
- const [name$1K, bem$1G] = createNamespace("overlay");
1213
+ const [name$1L, bem$1H] = createNamespace("overlay");
1178
1214
  const overlayProps = {
1179
1215
  show: Boolean,
1180
1216
  zIndex: numericProp,
@@ -1184,8 +1220,8 @@ const overlayProps = {
1184
1220
  lazyRender: truthProp,
1185
1221
  customStyle: Object
1186
1222
  };
1187
- var stdin_default$1S = defineComponent({
1188
- name: name$1K,
1223
+ var stdin_default$1T = defineComponent({
1224
+ name: name$1L,
1189
1225
  props: overlayProps,
1190
1226
  setup(props2, {
1191
1227
  slots
@@ -1206,7 +1242,7 @@ var stdin_default$1S = defineComponent({
1206
1242
  return withDirectives(createVNode("div", {
1207
1243
  "ref": root,
1208
1244
  "style": style,
1209
- "class": [bem$1G(), props2.className]
1245
+ "class": [bem$1H(), props2.className]
1210
1246
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vShow, props2.show]]);
1211
1247
  });
1212
1248
  useEventListener("touchmove", onTouchMove, {
@@ -1220,7 +1256,7 @@ var stdin_default$1S = defineComponent({
1220
1256
  });
1221
1257
  }
1222
1258
  });
1223
- const Overlay = withInstall(stdin_default$1S);
1259
+ const Overlay = withInstall(stdin_default$1T);
1224
1260
  const popupProps$3 = extend({}, popupSharedProps, {
1225
1261
  round: Boolean,
1226
1262
  position: makeStringProp("center"),
@@ -1233,9 +1269,9 @@ const popupProps$3 = extend({}, popupSharedProps, {
1233
1269
  safeAreaInsetTop: Boolean,
1234
1270
  safeAreaInsetBottom: Boolean
1235
1271
  });
1236
- const [name$1J, bem$1F] = createNamespace("popup");
1237
- var stdin_default$1R = defineComponent({
1238
- name: name$1J,
1272
+ const [name$1K, bem$1G] = createNamespace("popup");
1273
+ var stdin_default$1S = defineComponent({
1274
+ name: name$1K,
1239
1275
  inheritAttrs: false,
1240
1276
  props: popupProps$3,
1241
1277
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "click-overlay", "click-close-icon"],
@@ -1309,7 +1345,7 @@ var stdin_default$1R = defineComponent({
1309
1345
  "role": "button",
1310
1346
  "tabindex": 0,
1311
1347
  "name": props2.closeIcon,
1312
- "class": [bem$1F("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1348
+ "class": [bem$1G("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1313
1349
  "classPrefix": props2.iconPrefix,
1314
1350
  "onClick": onClickCloseIcon
1315
1351
  }, null);
@@ -1331,7 +1367,7 @@ var stdin_default$1R = defineComponent({
1331
1367
  "style": style.value,
1332
1368
  "role": "dialog",
1333
1369
  "tabindex": 0,
1334
- "class": [bem$1F({
1370
+ "class": [bem$1G({
1335
1371
  round,
1336
1372
  [position]: position
1337
1373
  }), {
@@ -1412,8 +1448,8 @@ var stdin_default$1R = defineComponent({
1412
1448
  };
1413
1449
  }
1414
1450
  });
1415
- const Popup = withInstall(stdin_default$1R);
1416
- const [name$1I, bem$1E] = createNamespace("action-sheet");
1451
+ const Popup = withInstall(stdin_default$1S);
1452
+ const [name$1J, bem$1F] = createNamespace("action-sheet");
1417
1453
  const actionSheetProps = extend({}, popupSharedProps, {
1418
1454
  title: String,
1419
1455
  round: truthProp,
@@ -1427,8 +1463,8 @@ const actionSheetProps = extend({}, popupSharedProps, {
1427
1463
  safeAreaInsetBottom: truthProp
1428
1464
  });
1429
1465
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1430
- var stdin_default$1Q = defineComponent({
1431
- name: name$1I,
1466
+ var stdin_default$1R = defineComponent({
1467
+ name: name$1J,
1432
1468
  props: actionSheetProps,
1433
1469
  emits: ["select", "cancel", "update:show"],
1434
1470
  setup(props2, {
@@ -1443,10 +1479,10 @@ var stdin_default$1Q = defineComponent({
1443
1479
  const renderHeader = () => {
1444
1480
  if (props2.title) {
1445
1481
  return createVNode("div", {
1446
- "class": bem$1E("header")
1482
+ "class": bem$1F("header")
1447
1483
  }, [props2.title, props2.closeable && createVNode(Icon, {
1448
1484
  "name": props2.closeIcon,
1449
- "class": [bem$1E("close"), HAPTICS_FEEDBACK],
1485
+ "class": [bem$1F("close"), HAPTICS_FEEDBACK],
1450
1486
  "onClick": onCancel
1451
1487
  }, null)]);
1452
1488
  }
@@ -1454,10 +1490,10 @@ var stdin_default$1Q = defineComponent({
1454
1490
  const renderCancel = () => {
1455
1491
  if (slots.cancel || props2.cancelText) {
1456
1492
  return [createVNode("div", {
1457
- "class": bem$1E("gap")
1493
+ "class": bem$1F("gap")
1458
1494
  }, null), createVNode("button", {
1459
1495
  "type": "button",
1460
- "class": bem$1E("cancel"),
1496
+ "class": bem$1F("cancel"),
1461
1497
  "onClick": onCancel
1462
1498
  }, [slots.cancel ? slots.cancel() : props2.cancelText])];
1463
1499
  }
@@ -1465,7 +1501,7 @@ var stdin_default$1Q = defineComponent({
1465
1501
  const renderActionContent = (action, index) => {
1466
1502
  if (action.loading) {
1467
1503
  return createVNode(Loading, {
1468
- "class": bem$1E("loading-icon")
1504
+ "class": bem$1F("loading-icon")
1469
1505
  }, null);
1470
1506
  }
1471
1507
  if (slots.action) {
@@ -1475,9 +1511,9 @@ var stdin_default$1Q = defineComponent({
1475
1511
  });
1476
1512
  }
1477
1513
  return [createVNode("span", {
1478
- "class": bem$1E("name")
1514
+ "class": bem$1F("name")
1479
1515
  }, [action.name]), action.subname && createVNode("div", {
1480
- "class": bem$1E("subname")
1516
+ "class": bem$1F("subname")
1481
1517
  }, [action.subname])];
1482
1518
  };
1483
1519
  const renderAction = (action, index) => {
@@ -1505,7 +1541,7 @@ var stdin_default$1Q = defineComponent({
1505
1541
  "style": {
1506
1542
  color
1507
1543
  },
1508
- "class": [bem$1E("item", {
1544
+ "class": [bem$1F("item", {
1509
1545
  loading,
1510
1546
  disabled
1511
1547
  }), className],
@@ -1516,25 +1552,25 @@ var stdin_default$1Q = defineComponent({
1516
1552
  if (props2.description || slots.description) {
1517
1553
  const content = slots.description ? slots.description() : props2.description;
1518
1554
  return createVNode("div", {
1519
- "class": bem$1E("description")
1555
+ "class": bem$1F("description")
1520
1556
  }, [content]);
1521
1557
  }
1522
1558
  };
1523
1559
  return () => createVNode(Popup, mergeProps({
1524
- "class": bem$1E(),
1560
+ "class": bem$1F(),
1525
1561
  "position": "bottom",
1526
1562
  "onUpdate:show": updateShow
1527
1563
  }, pick(props2, popupInheritKeys$2)), {
1528
1564
  default: () => {
1529
1565
  var _a;
1530
1566
  return [renderHeader(), renderDescription(), createVNode("div", {
1531
- "class": bem$1E("content")
1567
+ "class": bem$1F("content")
1532
1568
  }, [props2.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1533
1569
  }
1534
1570
  });
1535
1571
  }
1536
1572
  });
1537
- const ActionSheet = withInstall(stdin_default$1Q);
1573
+ const ActionSheet = withInstall(stdin_default$1R);
1538
1574
  function deepClone(obj) {
1539
1575
  if (!isDef(obj)) {
1540
1576
  return obj;
@@ -1554,7 +1590,7 @@ function deepClone(obj) {
1554
1590
  const DEFAULT_DURATION = 200;
1555
1591
  const MOMENTUM_LIMIT_TIME = 300;
1556
1592
  const MOMENTUM_LIMIT_DISTANCE = 15;
1557
- const [name$1H, bem$1D] = createNamespace("picker-column");
1593
+ const [name$1I, bem$1E] = createNamespace("picker-column");
1558
1594
  function getElementTranslateY(element) {
1559
1595
  const {
1560
1596
  transform
@@ -1562,10 +1598,10 @@ function getElementTranslateY(element) {
1562
1598
  const translateY = transform.slice(7, transform.length - 1).split(", ")[5];
1563
1599
  return Number(translateY);
1564
1600
  }
1565
- const PICKER_KEY = Symbol(name$1H);
1601
+ const PICKER_KEY = Symbol(name$1I);
1566
1602
  const isOptionDisabled = (option) => isObject(option) && option.disabled;
1567
- var stdin_default$1P = defineComponent({
1568
- name: name$1H,
1603
+ var stdin_default$1Q = defineComponent({
1604
+ name: name$1I,
1569
1605
  props: {
1570
1606
  textKey: makeRequiredProp(String),
1571
1607
  readonly: Boolean,
@@ -1740,7 +1776,7 @@ var stdin_default$1P = defineComponent({
1740
1776
  role: "button",
1741
1777
  style: optionStyle,
1742
1778
  tabindex: disabled ? -1 : 0,
1743
- class: bem$1D("item", {
1779
+ class: bem$1E("item", {
1744
1780
  disabled,
1745
1781
  selected: index === state.index
1746
1782
  }),
@@ -1783,7 +1819,7 @@ var stdin_default$1P = defineComponent({
1783
1819
  });
1784
1820
  return () => createVNode("div", {
1785
1821
  "ref": root,
1786
- "class": [bem$1D(), props2.className],
1822
+ "class": [bem$1E(), props2.className],
1787
1823
  "onTouchstartPassive": onTouchStart,
1788
1824
  "onTouchend": onTouchEnd,
1789
1825
  "onTouchcancel": onTouchEnd
@@ -1794,12 +1830,12 @@ var stdin_default$1P = defineComponent({
1794
1830
  transitionDuration: `${state.duration}ms`,
1795
1831
  transitionProperty: state.duration ? "all" : "none"
1796
1832
  },
1797
- "class": bem$1D("wrapper"),
1833
+ "class": bem$1E("wrapper"),
1798
1834
  "onTransitionend": stopMomentum
1799
1835
  }, [renderOptions()])]);
1800
1836
  }
1801
1837
  });
1802
- const [name$1G, bem$1C, t$j] = createNamespace("picker");
1838
+ const [name$1H, bem$1D, t$j] = createNamespace("picker");
1803
1839
  const pickerSharedProps = {
1804
1840
  title: String,
1805
1841
  loading: Boolean,
@@ -1822,8 +1858,8 @@ const pickerProps = extend({}, pickerSharedProps, {
1822
1858
  toolbarPosition: makeStringProp("top"),
1823
1859
  columnsFieldNames: Object
1824
1860
  });
1825
- var stdin_default$1O = defineComponent({
1826
- name: name$1G,
1861
+ var stdin_default$1P = defineComponent({
1862
+ name: name$1H,
1827
1863
  props: pickerProps,
1828
1864
  emits: ["confirm", "cancel", "change"],
1829
1865
  setup(props2, {
@@ -2008,7 +2044,7 @@ var stdin_default$1O = defineComponent({
2008
2044
  }
2009
2045
  if (props2.title) {
2010
2046
  return createVNode("div", {
2011
- "class": [bem$1C("title"), "van-ellipsis"]
2047
+ "class": [bem$1D("title"), "van-ellipsis"]
2012
2048
  }, [props2.title]);
2013
2049
  }
2014
2050
  };
@@ -2016,7 +2052,7 @@ var stdin_default$1O = defineComponent({
2016
2052
  const text = props2.cancelButtonText || t$j("cancel");
2017
2053
  return createVNode("button", {
2018
2054
  "type": "button",
2019
- "class": [bem$1C("cancel"), HAPTICS_FEEDBACK],
2055
+ "class": [bem$1D("cancel"), HAPTICS_FEEDBACK],
2020
2056
  "onClick": cancel
2021
2057
  }, [slots.cancel ? slots.cancel() : text]);
2022
2058
  };
@@ -2024,7 +2060,7 @@ var stdin_default$1O = defineComponent({
2024
2060
  const text = props2.confirmButtonText || t$j("confirm");
2025
2061
  return createVNode("button", {
2026
2062
  "type": "button",
2027
- "class": [bem$1C("confirm"), HAPTICS_FEEDBACK],
2063
+ "class": [bem$1D("confirm"), HAPTICS_FEEDBACK],
2028
2064
  "onClick": confirm
2029
2065
  }, [slots.confirm ? slots.confirm() : text]);
2030
2066
  };
@@ -2032,13 +2068,13 @@ var stdin_default$1O = defineComponent({
2032
2068
  if (props2.showToolbar) {
2033
2069
  const slot = slots.toolbar || slots.default;
2034
2070
  return createVNode("div", {
2035
- "class": bem$1C("toolbar")
2071
+ "class": bem$1D("toolbar")
2036
2072
  }, [slot ? slot() : [renderCancel(), renderTitle(), renderConfirm()]]);
2037
2073
  }
2038
2074
  };
2039
2075
  const renderColumnItems = () => formattedColumns.value.map((item, columnIndex) => {
2040
2076
  var _a;
2041
- return createVNode(stdin_default$1P, {
2077
+ return createVNode(stdin_default$1Q, {
2042
2078
  "textKey": columnsFieldNames.value.text,
2043
2079
  "readonly": props2.readonly,
2044
2080
  "allowHtml": props2.allowHtml,
@@ -2063,10 +2099,10 @@ var stdin_default$1O = defineComponent({
2063
2099
  backgroundSize: `100% ${(wrapHeight - itemHeight.value) / 2}px`
2064
2100
  };
2065
2101
  return [createVNode("div", {
2066
- "class": bem$1C("mask"),
2102
+ "class": bem$1D("mask"),
2067
2103
  "style": maskStyle
2068
2104
  }, null), createVNode("div", {
2069
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1C("frame")],
2105
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1D("frame")],
2070
2106
  "style": frameStyle
2071
2107
  }, null)];
2072
2108
  }
@@ -2078,7 +2114,7 @@ var stdin_default$1O = defineComponent({
2078
2114
  };
2079
2115
  return createVNode("div", {
2080
2116
  "ref": columnsRef,
2081
- "class": bem$1C("columns"),
2117
+ "class": bem$1D("columns"),
2082
2118
  "style": columnsStyle
2083
2119
  }, [renderColumnItems(), renderMask(wrapHeight)]);
2084
2120
  };
@@ -2104,15 +2140,15 @@ var stdin_default$1O = defineComponent({
2104
2140
  return () => {
2105
2141
  var _a, _b;
2106
2142
  return createVNode("div", {
2107
- "class": bem$1C()
2143
+ "class": bem$1D()
2108
2144
  }, [props2.toolbarPosition === "top" ? renderToolbar() : null, props2.loading ? createVNode(Loading, {
2109
- "class": bem$1C("loading")
2145
+ "class": bem$1D("loading")
2110
2146
  }, null) : null, (_a = slots["columns-top"]) == null ? void 0 : _a.call(slots), renderColumns(), (_b = slots["columns-bottom"]) == null ? void 0 : _b.call(slots), props2.toolbarPosition === "bottom" ? renderToolbar() : null]);
2111
2147
  };
2112
2148
  }
2113
2149
  });
2114
- const Picker = withInstall(stdin_default$1O);
2115
- const [name$1F, bem$1B] = createNamespace("area");
2150
+ const Picker = withInstall(stdin_default$1P);
2151
+ const [name$1G, bem$1C] = createNamespace("area");
2116
2152
  const EMPTY_CODE = "000000";
2117
2153
  const INHERIT_SLOTS = ["title", "cancel", "confirm", "toolbar", "columns-top", "columns-bottom"];
2118
2154
  const INHERIT_PROPS = ["title", "loading", "readonly", "itemHeight", "swipeDuration", "visibleItemCount", "cancelButtonText", "confirmButtonText"];
@@ -2130,8 +2166,8 @@ const areaProps = extend({}, pickerSharedProps, {
2130
2166
  default: isOverseaCode
2131
2167
  }
2132
2168
  });
2133
- var stdin_default$1N = defineComponent({
2134
- name: name$1F,
2169
+ var stdin_default$1O = defineComponent({
2170
+ name: name$1G,
2135
2171
  props: areaProps,
2136
2172
  emits: ["change", "confirm", "cancel"],
2137
2173
  setup(props2, {
@@ -2331,7 +2367,7 @@ var stdin_default$1N = defineComponent({
2331
2367
  const columns = state.columns.slice(0, +props2.columnsNum);
2332
2368
  return createVNode(Picker, mergeProps({
2333
2369
  "ref": pickerRef,
2334
- "class": bem$1B(),
2370
+ "class": bem$1C(),
2335
2371
  "columns": columns,
2336
2372
  "columnsFieldNames": {
2337
2373
  text: "name"
@@ -2343,8 +2379,8 @@ var stdin_default$1N = defineComponent({
2343
2379
  };
2344
2380
  }
2345
2381
  });
2346
- const Area = withInstall(stdin_default$1N);
2347
- const [name$1E, bem$1A] = createNamespace("checkbox-group");
2382
+ const Area = withInstall(stdin_default$1O);
2383
+ const [name$1F, bem$1B] = createNamespace("checkbox-group");
2348
2384
  const checkboxGroupProps = {
2349
2385
  max: numericProp,
2350
2386
  disabled: Boolean,
@@ -2355,9 +2391,9 @@ const checkboxGroupProps = {
2355
2391
  modelValue: makeArrayProp(),
2356
2392
  checkedColor: String
2357
2393
  };
2358
- const CHECKBOX_GROUP_KEY = Symbol(name$1E);
2359
- var stdin_default$1M = defineComponent({
2360
- name: name$1E,
2394
+ const CHECKBOX_GROUP_KEY = Symbol(name$1F);
2395
+ var stdin_default$1N = defineComponent({
2396
+ name: name$1F,
2361
2397
  props: checkboxGroupProps,
2362
2398
  emits: ["change", "update:modelValue"],
2363
2399
  setup(props2, {
@@ -2403,7 +2439,7 @@ var stdin_default$1M = defineComponent({
2403
2439
  return () => {
2404
2440
  var _a;
2405
2441
  return createVNode("div", {
2406
- "class": bem$1A([props2.direction])
2442
+ "class": bem$1B([props2.direction])
2407
2443
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
2408
2444
  };
2409
2445
  }
@@ -2421,7 +2457,7 @@ const checkerProps = {
2421
2457
  labelDisabled: Boolean,
2422
2458
  allowUncheck: Boolean
2423
2459
  };
2424
- var stdin_default$1L = defineComponent({
2460
+ var stdin_default$1M = defineComponent({
2425
2461
  props: extend({}, checkerProps, {
2426
2462
  bem: makeRequiredProp(Function),
2427
2463
  role: String,
@@ -2527,12 +2563,12 @@ var stdin_default$1L = defineComponent({
2527
2563
  };
2528
2564
  }
2529
2565
  });
2530
- const [name$1D, bem$1z] = createNamespace("checkbox");
2566
+ const [name$1E, bem$1A] = createNamespace("checkbox");
2531
2567
  const checkboxProps = extend({}, checkerProps, {
2532
2568
  bindGroup: truthProp
2533
2569
  });
2534
- var stdin_default$1K = defineComponent({
2535
- name: name$1D,
2570
+ var stdin_default$1L = defineComponent({
2571
+ name: name$1E,
2536
2572
  props: checkboxProps,
2537
2573
  emits: ["change", "update:modelValue"],
2538
2574
  setup(props2, {
@@ -2589,8 +2625,8 @@ var stdin_default$1K = defineComponent({
2589
2625
  checked
2590
2626
  });
2591
2627
  useCustomFieldValue(() => props2.modelValue);
2592
- return () => createVNode(stdin_default$1L, mergeProps({
2593
- "bem": bem$1z,
2628
+ return () => createVNode(stdin_default$1M, mergeProps({
2629
+ "bem": bem$1A,
2594
2630
  "role": "checkbox",
2595
2631
  "parent": parent,
2596
2632
  "checked": checked.value,
@@ -2598,8 +2634,8 @@ var stdin_default$1K = defineComponent({
2598
2634
  }, props2), pick(slots, ["default", "icon"]));
2599
2635
  }
2600
2636
  });
2601
- const Checkbox = withInstall(stdin_default$1K);
2602
- const [name$1C, bem$1y] = createNamespace("radio-group");
2637
+ const Checkbox = withInstall(stdin_default$1L);
2638
+ const [name$1D, bem$1z] = createNamespace("radio-group");
2603
2639
  const radioGroupProps = {
2604
2640
  disabled: Boolean,
2605
2641
  iconSize: numericProp,
@@ -2610,9 +2646,9 @@ const radioGroupProps = {
2610
2646
  checkedColor: String,
2611
2647
  allowUncheck: Boolean
2612
2648
  };
2613
- const RADIO_KEY = Symbol(name$1C);
2614
- var stdin_default$1J = defineComponent({
2615
- name: name$1C,
2649
+ const RADIO_KEY = Symbol(name$1D);
2650
+ var stdin_default$1K = defineComponent({
2651
+ name: name$1D,
2616
2652
  props: radioGroupProps,
2617
2653
  emits: ["change", "update:modelValue"],
2618
2654
  setup(props2, {
@@ -2632,15 +2668,15 @@ var stdin_default$1J = defineComponent({
2632
2668
  return () => {
2633
2669
  var _a;
2634
2670
  return createVNode("div", {
2635
- "class": bem$1y([props2.direction]),
2671
+ "class": bem$1z([props2.direction]),
2636
2672
  "role": "radiogroup"
2637
2673
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
2638
2674
  };
2639
2675
  }
2640
2676
  });
2641
- const [name$1B, bem$1x] = createNamespace("radio");
2642
- var stdin_default$1I = defineComponent({
2643
- name: name$1B,
2677
+ const [name$1C, bem$1y] = createNamespace("radio");
2678
+ var stdin_default$1J = defineComponent({
2679
+ name: name$1C,
2644
2680
  props: checkerProps,
2645
2681
  emits: ["update:modelValue"],
2646
2682
  setup(props2, {
@@ -2669,8 +2705,8 @@ var stdin_default$1I = defineComponent({
2669
2705
  emit("update:modelValue", val);
2670
2706
  }
2671
2707
  };
2672
- return () => createVNode(stdin_default$1L, mergeProps({
2673
- "bem": bem$1x,
2708
+ return () => createVNode(stdin_default$1M, mergeProps({
2709
+ "bem": bem$1y,
2674
2710
  "role": "radio",
2675
2711
  "parent": parent,
2676
2712
  "checked": checked(),
@@ -2680,8 +2716,8 @@ var stdin_default$1I = defineComponent({
2680
2716
  }, props2), pick(slots, ["default", "icon"]));
2681
2717
  }
2682
2718
  });
2683
- const Radio = withInstall(stdin_default$1I);
2684
- const [name$1A, bem$1w] = createNamespace("cell");
2719
+ const Radio = withInstall(stdin_default$1J);
2720
+ const [name$1B, bem$1x] = createNamespace("cell");
2685
2721
  const cellSharedProps = {
2686
2722
  icon: String,
2687
2723
  size: String,
@@ -2725,8 +2761,8 @@ const cellSharedProps = {
2725
2761
  }
2726
2762
  };
2727
2763
  const cellProps = extend({}, cellSharedProps, routeProps);
2728
- var stdin_default$1H = defineComponent({
2729
- name: name$1A,
2764
+ var stdin_default$1I = defineComponent({
2765
+ name: name$1B,
2730
2766
  props: cellProps,
2731
2767
  emits: ["click", "update:leftSelect", "update:rightSelect"],
2732
2768
  setup(props2, {
@@ -2772,17 +2808,17 @@ var stdin_default$1H = defineComponent({
2772
2808
  const showLabel = slots.label || isDef(props2.label);
2773
2809
  if (showLabel) {
2774
2810
  return createVNode("div", {
2775
- "class": [bem$1w("label"), props2.labelClass]
2811
+ "class": [bem$1x("label"), props2.labelClass]
2776
2812
  }, [slots.label ? slots.label() : props2.label]);
2777
2813
  }
2778
2814
  };
2779
2815
  const renderTitle = () => {
2780
2816
  if (slots.title || isDef(props2.title)) {
2781
2817
  return createVNode("div", {
2782
- "class": [bem$1w("title"), props2.titleClass],
2818
+ "class": [bem$1x("title"), props2.titleClass],
2783
2819
  "style": props2.titleStyle
2784
2820
  }, [createVNode("div", {
2785
- "class": bem$1w("title-row")
2821
+ "class": bem$1x("title-row")
2786
2822
  }, [slots.title ? slots.title() : createVNode("span", null, [props2.title]), renderTags(), renderTitleIcon()]), renderLabel()]);
2787
2823
  }
2788
2824
  };
@@ -2792,7 +2828,7 @@ var stdin_default$1H = defineComponent({
2792
2828
  if (hasValue) {
2793
2829
  const hasTitle = slots.title || isDef(props2.title);
2794
2830
  return createVNode("div", {
2795
- "class": [bem$1w("value", {
2831
+ "class": [bem$1x("value", {
2796
2832
  alone: !hasTitle
2797
2833
  }), props2.valueClass]
2798
2834
  }, [slot ? slot() : createVNode("span", null, [props2.value])]);
@@ -2805,7 +2841,7 @@ var stdin_default$1H = defineComponent({
2805
2841
  if (props2.icon) {
2806
2842
  return createVNode(Icon, {
2807
2843
  "name": props2.icon,
2808
- "class": bem$1w("left-icon"),
2844
+ "class": bem$1x("left-icon"),
2809
2845
  "classPrefix": props2.iconPrefix
2810
2846
  }, null);
2811
2847
  }
@@ -2816,13 +2852,13 @@ var stdin_default$1H = defineComponent({
2816
2852
  const selected = getSelectState(position);
2817
2853
  if (slot) {
2818
2854
  return createVNode("div", {
2819
- "class": bem$1w(`${position}-select`)
2855
+ "class": bem$1x(`${position}-select`)
2820
2856
  }, [slot()]);
2821
2857
  }
2822
2858
  if (hasSelect(position)) {
2823
2859
  const checkboxSize = (_b2 = (_a2 = props2.size) != null ? _a2 : config == null ? void 0 : config.cellSize) != null ? _b2 : "normal";
2824
2860
  return createVNode("div", {
2825
- "class": bem$1w(`${position}-select`),
2861
+ "class": bem$1x(`${position}-select`),
2826
2862
  "onClick": (event) => event.stopPropagation()
2827
2863
  }, [props2.selectType === "radio" ? createVNode(Radio, {
2828
2864
  "modelValue": selected ? "selected" : "",
@@ -2843,12 +2879,12 @@ var stdin_default$1H = defineComponent({
2843
2879
  const avatar = position === "left" ? props2.avatar : props2.rightAvatar;
2844
2880
  if (slot) {
2845
2881
  return createVNode("div", {
2846
- "class": bem$1w(`${position}-avatar`)
2882
+ "class": bem$1x(`${position}-avatar`)
2847
2883
  }, [slot()]);
2848
2884
  }
2849
2885
  if (avatar) {
2850
2886
  return createVNode("img", {
2851
- "class": bem$1w(`${position}-avatar`),
2887
+ "class": bem$1x(`${position}-avatar`),
2852
2888
  "src": avatar,
2853
2889
  "alt": ""
2854
2890
  }, null);
@@ -2857,12 +2893,12 @@ var stdin_default$1H = defineComponent({
2857
2893
  const renderBlueMark = () => {
2858
2894
  if (slots["blue-mark"]) {
2859
2895
  return createVNode("div", {
2860
- "class": bem$1w("blue-mark")
2896
+ "class": bem$1x("blue-mark")
2861
2897
  }, [slots["blue-mark"]()]);
2862
2898
  }
2863
2899
  if (props2.blueMark) {
2864
2900
  return createVNode("span", {
2865
- "class": bem$1w("blue-mark")
2901
+ "class": bem$1x("blue-mark")
2866
2902
  }, null);
2867
2903
  }
2868
2904
  };
@@ -2870,52 +2906,52 @@ var stdin_default$1H = defineComponent({
2870
2906
  var _a2;
2871
2907
  if (slots.tags) {
2872
2908
  return createVNode("div", {
2873
- "class": bem$1w("tags")
2909
+ "class": bem$1x("tags")
2874
2910
  }, [slots.tags()]);
2875
2911
  }
2876
2912
  if ((_a2 = props2.tags) == null ? void 0 : _a2.length) {
2877
2913
  return createVNode("div", {
2878
- "class": bem$1w("tags")
2914
+ "class": bem$1x("tags")
2879
2915
  }, [props2.tags.map((tag, index) => createVNode("span", {
2880
2916
  "key": `${tag}-${index}`,
2881
- "class": bem$1w("tag")
2917
+ "class": bem$1x("tag")
2882
2918
  }, [tag]))]);
2883
2919
  }
2884
2920
  };
2885
2921
  const renderTitleIcon = () => {
2886
2922
  if (slots["title-icon"]) {
2887
2923
  return createVNode("div", {
2888
- "class": bem$1w("title-icon")
2924
+ "class": bem$1x("title-icon")
2889
2925
  }, [slots["title-icon"]()]);
2890
2926
  }
2891
2927
  if (props2.titleIcon) {
2892
2928
  return createVNode(Icon, {
2893
2929
  "name": props2.titleIcon,
2894
- "class": bem$1w("title-icon")
2930
+ "class": bem$1x("title-icon")
2895
2931
  }, null);
2896
2932
  }
2897
2933
  };
2898
2934
  const renderNote = () => {
2899
2935
  if (slots.note) {
2900
2936
  return createVNode("div", {
2901
- "class": bem$1w("note")
2937
+ "class": bem$1x("note")
2902
2938
  }, [slots.note()]);
2903
2939
  }
2904
2940
  if (isDef(props2.note)) {
2905
2941
  return createVNode("div", {
2906
- "class": bem$1w("note")
2942
+ "class": bem$1x("note")
2907
2943
  }, [props2.note]);
2908
2944
  }
2909
2945
  };
2910
2946
  const renderBadge = () => {
2911
2947
  if (slots.badge) {
2912
2948
  return createVNode("div", {
2913
- "class": bem$1w("badge")
2949
+ "class": bem$1x("badge")
2914
2950
  }, [slots.badge()]);
2915
2951
  }
2916
2952
  if (isDef(props2.badge)) {
2917
2953
  return createVNode("div", {
2918
- "class": bem$1w("badge")
2954
+ "class": bem$1x("badge")
2919
2955
  }, [createVNode(Badge, {
2920
2956
  "content": props2.badge,
2921
2957
  "showZero": true
@@ -2929,14 +2965,14 @@ var stdin_default$1H = defineComponent({
2929
2965
  if (props2.rightIcon) {
2930
2966
  return createVNode(Icon, {
2931
2967
  "name": props2.rightIcon,
2932
- "class": bem$1w("right-icon")
2968
+ "class": bem$1x("right-icon")
2933
2969
  }, null);
2934
2970
  }
2935
2971
  if (props2.isLink) {
2936
2972
  const name2 = props2.arrowDirection && props2.arrowDirection !== "right" ? `arrow-${props2.arrowDirection}` : "arrow";
2937
2973
  return createVNode(Icon, {
2938
2974
  "name": name2,
2939
- "class": bem$1w("right-icon")
2975
+ "class": bem$1x("right-icon")
2940
2976
  }, null);
2941
2977
  }
2942
2978
  };
@@ -2968,7 +3004,7 @@ var stdin_default$1H = defineComponent({
2968
3004
  }
2969
3005
  };
2970
3006
  return createVNode("div", {
2971
- "class": [bem$1w(classes), props2.errorBorder ? "van-cell-error-border" : ""],
3007
+ "class": [bem$1x(classes), props2.errorBorder ? "van-cell-error-border" : ""],
2972
3008
  "role": clickable ? "button" : void 0,
2973
3009
  "tabindex": clickable ? 0 : void 0,
2974
3010
  "onClick": onClick
@@ -2976,8 +3012,8 @@ var stdin_default$1H = defineComponent({
2976
3012
  };
2977
3013
  }
2978
3014
  });
2979
- const Cell = withInstall(stdin_default$1H);
2980
- const [name$1z, bem$1v] = createNamespace("form");
3015
+ const Cell = withInstall(stdin_default$1I);
3016
+ const [name$1A, bem$1w] = createNamespace("form");
2981
3017
  const formProps = {
2982
3018
  colon: Boolean,
2983
3019
  disabled: Boolean,
@@ -2996,8 +3032,8 @@ const formProps = {
2996
3032
  default: "onBlur"
2997
3033
  }
2998
3034
  };
2999
- var stdin_default$1G = defineComponent({
3000
- name: name$1z,
3035
+ var stdin_default$1H = defineComponent({
3036
+ name: name$1A,
3001
3037
  props: formProps,
3002
3038
  emits: ["submit", "failed"],
3003
3039
  setup(props2, {
@@ -3121,13 +3157,13 @@ var stdin_default$1G = defineComponent({
3121
3157
  return () => {
3122
3158
  var _a;
3123
3159
  return createVNode("form", {
3124
- "class": bem$1v(),
3160
+ "class": bem$1w(),
3125
3161
  "onSubmit": onSubmit
3126
3162
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
3127
3163
  };
3128
3164
  }
3129
3165
  });
3130
- const Form = withInstall(stdin_default$1G);
3166
+ const Form = withInstall(stdin_default$1H);
3131
3167
  function isEmptyValue(value) {
3132
3168
  if (Array.isArray(value)) {
3133
3169
  return !value.length;
@@ -3225,7 +3261,7 @@ function useId() {
3225
3261
  }
3226
3262
  return `${name2}-${++current}`;
3227
3263
  }
3228
- const [name$1y, bem$1u] = createNamespace("field");
3264
+ const [name$1z, bem$1v] = createNamespace("field");
3229
3265
  const fieldSharedProps = {
3230
3266
  id: String,
3231
3267
  name: String,
@@ -3278,8 +3314,8 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
3278
3314
  default: false
3279
3315
  }
3280
3316
  });
3281
- var stdin_default$1F = defineComponent({
3282
- name: name$1y,
3317
+ var stdin_default$1G = defineComponent({
3318
+ name: name$1z,
3283
3319
  props: fieldProps,
3284
3320
  emits: ["blur", "focus", "clear", "keypress", "click-input", "end-validate", "start-validate", "click-left-icon", "click-right-icon", "update:modelValue"],
3285
3321
  setup(props2, {
@@ -3551,7 +3587,7 @@ var stdin_default$1F = defineComponent({
3551
3587
  const getInputId = () => props2.id || `${id}-input`;
3552
3588
  const getValidationStatus = () => state.status;
3553
3589
  const renderInput = () => {
3554
- const controlClass = bem$1u("control", [getProp("inputAlign"), {
3590
+ const controlClass = bem$1v("control", [getProp("inputAlign"), {
3555
3591
  error: showError.value,
3556
3592
  custom: !!slots.input,
3557
3593
  "min-height": props2.type === "textarea" && !props2.autosize
@@ -3593,7 +3629,7 @@ var stdin_default$1F = defineComponent({
3593
3629
  const leftIconSlot = slots["left-icon"];
3594
3630
  if (props2.leftIcon || leftIconSlot) {
3595
3631
  return createVNode("div", {
3596
- "class": bem$1u("left-icon"),
3632
+ "class": bem$1v("left-icon"),
3597
3633
  "onClick": onClickLeftIcon
3598
3634
  }, [leftIconSlot ? leftIconSlot() : createVNode(Icon, {
3599
3635
  "name": props2.leftIcon,
@@ -3605,7 +3641,7 @@ var stdin_default$1F = defineComponent({
3605
3641
  const rightIconSlot = slots["right-icon"];
3606
3642
  if (props2.rightIcon || rightIconSlot) {
3607
3643
  return createVNode("div", {
3608
- "class": bem$1u("right-icon"),
3644
+ "class": bem$1v("right-icon"),
3609
3645
  "onClick": onClickRightIcon
3610
3646
  }, [rightIconSlot ? rightIconSlot() : createVNode(Icon, {
3611
3647
  "name": props2.rightIcon,
@@ -3617,9 +3653,9 @@ var stdin_default$1F = defineComponent({
3617
3653
  if (props2.showWordLimit && props2.maxlength) {
3618
3654
  const count = getStringLength(getModelValue());
3619
3655
  return createVNode("div", {
3620
- "class": bem$1u("word-limit")
3656
+ "class": bem$1v("word-limit")
3621
3657
  }, [createVNode("span", {
3622
- "class": bem$1u("word-num")
3658
+ "class": bem$1v("word-num")
3623
3659
  }, [count]), createTextVNode("/"), props2.maxlength]);
3624
3660
  }
3625
3661
  };
@@ -3632,7 +3668,7 @@ var stdin_default$1F = defineComponent({
3632
3668
  const slot = slots["error-message"];
3633
3669
  const errorMessageAlign = getProp("errorMessageAlign");
3634
3670
  return createVNode("div", {
3635
- "class": bem$1u("error-message", errorMessageAlign)
3671
+ "class": bem$1v("error-message", errorMessageAlign)
3636
3672
  }, [slot ? slot({
3637
3673
  message
3638
3674
  }) : message]);
@@ -3651,13 +3687,13 @@ var stdin_default$1F = defineComponent({
3651
3687
  }
3652
3688
  };
3653
3689
  const renderFieldBody = () => [createVNode("div", {
3654
- "class": bem$1u("body")
3690
+ "class": bem$1v("body")
3655
3691
  }, [renderInput(), showClear.value && createVNode(Icon, {
3656
3692
  "ref": clearIconRef,
3657
3693
  "name": props2.clearIcon,
3658
- "class": bem$1u("clear")
3694
+ "class": bem$1v("clear")
3659
3695
  }, null), renderRightIcon(), slots.button && createVNode("div", {
3660
- "class": bem$1u("button")
3696
+ "class": bem$1v("button")
3661
3697
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
3662
3698
  useExpose({
3663
3699
  blur,
@@ -3696,7 +3732,7 @@ var stdin_default$1F = defineComponent({
3696
3732
  return createVNode(Cell, {
3697
3733
  "size": props2.size,
3698
3734
  "icon": props2.leftIcon,
3699
- "class": bem$1u({
3735
+ "class": bem$1v({
3700
3736
  error: showError.value,
3701
3737
  disabled,
3702
3738
  [`label-${labelAlign}`]: labelAlign,
@@ -3708,8 +3744,8 @@ var stdin_default$1F = defineComponent({
3708
3744
  "isLink": props2.isLink,
3709
3745
  "clickable": props2.clickable,
3710
3746
  "titleStyle": labelStyle.value,
3711
- "valueClass": bem$1u("value"),
3712
- "titleClass": [bem$1u("label", [labelAlign, {
3747
+ "valueClass": bem$1v("value"),
3748
+ "titleClass": [bem$1v("label", [labelAlign, {
3713
3749
  required: props2.required
3714
3750
  }]), props2.labelClass],
3715
3751
  "arrowDirection": props2.arrowDirection
@@ -3722,7 +3758,7 @@ var stdin_default$1F = defineComponent({
3722
3758
  };
3723
3759
  }
3724
3760
  });
3725
- const Field = withInstall(stdin_default$1F);
3761
+ const Field = withInstall(stdin_default$1G);
3726
3762
  function usePopupState() {
3727
3763
  const state = reactive({
3728
3764
  show: false
@@ -3769,7 +3805,7 @@ function lockClick(lock) {
3769
3805
  }
3770
3806
  }
3771
3807
  }
3772
- const [name$1x, bem$1t] = createNamespace("toast");
3808
+ const [name$1y, bem$1u] = createNamespace("toast");
3773
3809
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
3774
3810
  const toastProps = {
3775
3811
  icon: String,
@@ -3791,8 +3827,8 @@ const toastProps = {
3791
3827
  closeOnClick: Boolean,
3792
3828
  closeOnClickOverlay: Boolean
3793
3829
  };
3794
- var stdin_default$1E = defineComponent({
3795
- name: name$1x,
3830
+ var stdin_default$1F = defineComponent({
3831
+ name: name$1y,
3796
3832
  props: toastProps,
3797
3833
  emits: ["update:show"],
3798
3834
  setup(props2, {
@@ -3827,13 +3863,13 @@ var stdin_default$1E = defineComponent({
3827
3863
  return createVNode(Icon, {
3828
3864
  "name": icon || type,
3829
3865
  "size": iconSize,
3830
- "class": bem$1t("icon"),
3866
+ "class": bem$1u("icon"),
3831
3867
  "classPrefix": iconPrefix
3832
3868
  }, null);
3833
3869
  }
3834
3870
  if (type === "loading") {
3835
3871
  return createVNode(Loading, {
3836
- "class": bem$1t("loading"),
3872
+ "class": bem$1u("loading"),
3837
3873
  "size": iconSize,
3838
3874
  "type": loadingType
3839
3875
  }, null);
@@ -3847,10 +3883,10 @@ var stdin_default$1E = defineComponent({
3847
3883
  if (isDef(message) && message !== "") {
3848
3884
  return type === "html" ? createVNode("div", {
3849
3885
  "key": 0,
3850
- "class": bem$1t("text"),
3886
+ "class": bem$1u("text"),
3851
3887
  "innerHTML": String(message)
3852
3888
  }, null) : createVNode("div", {
3853
- "class": bem$1t("text")
3889
+ "class": bem$1u("text")
3854
3890
  }, [message]);
3855
3891
  }
3856
3892
  };
@@ -3866,7 +3902,7 @@ var stdin_default$1E = defineComponent({
3866
3902
  onMounted(toggleClickable);
3867
3903
  onUnmounted(toggleClickable);
3868
3904
  return () => createVNode(Popup, mergeProps({
3869
- "class": [bem$1t([props2.position, {
3905
+ "class": [bem$1u([props2.position, {
3870
3906
  [props2.type]: !props2.icon
3871
3907
  }]), props2.className],
3872
3908
  "lockScroll": false,
@@ -3935,7 +3971,7 @@ function createInstance() {
3935
3971
  onClosed,
3936
3972
  "onUpdate:show": toggle
3937
3973
  };
3938
- return createVNode(stdin_default$1E, mergeProps(state, attrs), null);
3974
+ return createVNode(stdin_default$1F, mergeProps(state, attrs), null);
3939
3975
  };
3940
3976
  watch(message, (val) => {
3941
3977
  state.message = val;
@@ -4007,10 +4043,10 @@ Toast.allowMultiple = (value = true) => {
4007
4043
  allowMultiple = value;
4008
4044
  };
4009
4045
  Toast.install = (app) => {
4010
- app.use(withInstall(stdin_default$1E));
4046
+ app.use(withInstall(stdin_default$1F));
4011
4047
  app.config.globalProperties.$toast = Toast;
4012
4048
  };
4013
- const [name$1w, bem$1s] = createNamespace("switch");
4049
+ const [name$1x, bem$1t] = createNamespace("switch");
4014
4050
  const switchProps = {
4015
4051
  size: numericProp,
4016
4052
  loading: Boolean,
@@ -4027,8 +4063,8 @@ const switchProps = {
4027
4063
  default: false
4028
4064
  }
4029
4065
  };
4030
- var stdin_default$1D = defineComponent({
4031
- name: name$1w,
4066
+ var stdin_default$1E = defineComponent({
4067
+ name: name$1x,
4032
4068
  props: switchProps,
4033
4069
  emits: ["change", "update:modelValue"],
4034
4070
  setup(props2, {
@@ -4047,7 +4083,7 @@ var stdin_default$1D = defineComponent({
4047
4083
  if (props2.loading) {
4048
4084
  const color = isChecked() ? props2.activeColor : props2.inactiveColor;
4049
4085
  return createVNode(Loading, {
4050
- "class": bem$1s("loading"),
4086
+ "class": bem$1t("loading"),
4051
4087
  "color": color
4052
4088
  }, null);
4053
4089
  }
@@ -4072,7 +4108,7 @@ var stdin_default$1D = defineComponent({
4072
4108
  };
4073
4109
  return createVNode("div", {
4074
4110
  "role": "switch",
4075
- "class": bem$1s({
4111
+ "class": bem$1t({
4076
4112
  on: checked,
4077
4113
  loading,
4078
4114
  disabled
@@ -4082,16 +4118,16 @@ var stdin_default$1D = defineComponent({
4082
4118
  "aria-checked": checked,
4083
4119
  "onClick": onClick
4084
4120
  }, [createVNode("div", {
4085
- "class": bem$1s("node")
4121
+ "class": bem$1t("node")
4086
4122
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
4087
4123
  };
4088
4124
  }
4089
4125
  });
4090
- const Switch = withInstall(stdin_default$1D);
4091
- const [name$1v, bem$1r] = createNamespace("address-edit-detail");
4126
+ const Switch = withInstall(stdin_default$1E);
4127
+ const [name$1w, bem$1s] = createNamespace("address-edit-detail");
4092
4128
  const t$i = createNamespace("address-edit")[2];
4093
- var stdin_default$1C = defineComponent({
4094
- name: name$1v,
4129
+ var stdin_default$1D = defineComponent({
4130
+ name: name$1w,
4095
4131
  props: {
4096
4132
  show: Boolean,
4097
4133
  rows: numericProp,
@@ -4114,7 +4150,7 @@ var stdin_default$1C = defineComponent({
4114
4150
  };
4115
4151
  const renderSearchTitle = (express) => {
4116
4152
  if (express.name) {
4117
- const text = express.name.replace(props2.value, `<span class=${bem$1r("keyword")}>${props2.value}</span>`);
4153
+ const text = express.name.replace(props2.value, `<span class=${bem$1s("keyword")}>${props2.value}</span>`);
4118
4154
  return createVNode("div", {
4119
4155
  "innerHTML": text
4120
4156
  }, null);
@@ -4132,7 +4168,7 @@ var stdin_default$1C = defineComponent({
4132
4168
  "key": express.name + express.address,
4133
4169
  "icon": "location-o",
4134
4170
  "label": express.address,
4135
- "class": bem$1r("search-item"),
4171
+ "class": bem$1s("search-item"),
4136
4172
  "border": false,
4137
4173
  "onClick": () => onSelect(express)
4138
4174
  }, {
@@ -4148,7 +4184,7 @@ var stdin_default$1C = defineComponent({
4148
4184
  "autosize": true,
4149
4185
  "clearable": true,
4150
4186
  "ref": field,
4151
- "class": bem$1r(),
4187
+ "class": bem$1s(),
4152
4188
  "rows": props2.rows,
4153
4189
  "type": "textarea",
4154
4190
  "rules": props2.rules,
@@ -4165,7 +4201,7 @@ var stdin_default$1C = defineComponent({
4165
4201
  };
4166
4202
  }
4167
4203
  });
4168
- const [name$1u, bem$1q, t$h] = createNamespace("address-edit");
4204
+ const [name$1v, bem$1r, t$h] = createNamespace("address-edit");
4169
4205
  const DEFAULT_DATA = {
4170
4206
  name: "",
4171
4207
  tel: "",
@@ -4212,8 +4248,8 @@ const addressEditProps = {
4212
4248
  default: isPostal
4213
4249
  }
4214
4250
  };
4215
- var stdin_default$1B = defineComponent({
4216
- name: name$1u,
4251
+ var stdin_default$1C = defineComponent({
4252
+ name: name$1v,
4217
4253
  props: addressEditProps,
4218
4254
  emits: ["save", "focus", "delete", "click-area", "change-area", "change-detail", "select-search", "change-default"],
4219
4255
  setup(props2, {
@@ -4339,7 +4375,7 @@ var stdin_default$1B = defineComponent({
4339
4375
  return withDirectives(createVNode(Cell, {
4340
4376
  "center": true,
4341
4377
  "title": t$h("defaultAddress"),
4342
- "class": bem$1q("default")
4378
+ "class": bem$1r("default")
4343
4379
  }, slots2), [[vShow, !hideBottomFields.value]]);
4344
4380
  }
4345
4381
  };
@@ -4361,13 +4397,13 @@ var stdin_default$1B = defineComponent({
4361
4397
  disableArea
4362
4398
  } = props2;
4363
4399
  return createVNode(Form, {
4364
- "class": bem$1q(),
4400
+ "class": bem$1r(),
4365
4401
  "onSubmit": onSave
4366
4402
  }, {
4367
4403
  default: () => {
4368
4404
  var _a;
4369
4405
  return [createVNode("div", {
4370
- "class": bem$1q("fields")
4406
+ "class": bem$1r("fields")
4371
4407
  }, [createVNode(Field, {
4372
4408
  "modelValue": data.name,
4373
4409
  "onUpdate:modelValue": ($event) => data.name = $event,
@@ -4398,7 +4434,7 @@ var stdin_default$1B = defineComponent({
4398
4434
  emit("click-area");
4399
4435
  showAreaPopup.value = !disableArea;
4400
4436
  }
4401
- }, null), [[vShow, props2.showArea]]), createVNode(stdin_default$1C, {
4437
+ }, null), [[vShow, props2.showArea]]), createVNode(stdin_default$1D, {
4402
4438
  "show": props2.showDetail,
4403
4439
  "rows": props2.detailRows,
4404
4440
  "rules": rules.value.addressDetail,
@@ -4421,19 +4457,19 @@ var stdin_default$1B = defineComponent({
4421
4457
  "placeholder": t$h("postal"),
4422
4458
  "onFocus": () => onFocus("postalCode")
4423
4459
  }, null), [[vShow, !hideBottomFields.value]]), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), withDirectives(createVNode("div", {
4424
- "class": bem$1q("buttons")
4460
+ "class": bem$1r("buttons")
4425
4461
  }, [createVNode(Button, {
4426
4462
  "block": true,
4427
4463
  "round": true,
4428
4464
  "type": "primary",
4429
4465
  "text": props2.saveButtonText || t$h("save"),
4430
- "class": bem$1q("button"),
4466
+ "class": bem$1r("button"),
4431
4467
  "loading": props2.isSaving,
4432
4468
  "nativeType": "submit"
4433
4469
  }, null), props2.showDelete && createVNode(Button, {
4434
4470
  "block": true,
4435
4471
  "round": true,
4436
- "class": bem$1q("button"),
4472
+ "class": bem$1r("button"),
4437
4473
  "loading": props2.isDeleting,
4438
4474
  "text": props2.deleteButtonText || t$h("delete"),
4439
4475
  "onClick": onDelete
@@ -4462,22 +4498,22 @@ var stdin_default$1B = defineComponent({
4462
4498
  };
4463
4499
  }
4464
4500
  });
4465
- const AddressEdit = withInstall(stdin_default$1B);
4466
- const RadioGroup = withInstall(stdin_default$1J);
4467
- const [name$1t, bem$1p] = createNamespace("tag");
4501
+ const AddressEdit = withInstall(stdin_default$1C);
4502
+ const RadioGroup = withInstall(stdin_default$1K);
4503
+ const [name$1u, bem$1q] = createNamespace("tag");
4468
4504
  const tagProps = {
4469
4505
  size: makeStringProp("medium"),
4470
4506
  mark: Boolean,
4471
4507
  show: truthProp,
4472
- type: makeStringProp("default"),
4508
+ type: makeStringProp("gray"),
4473
4509
  color: String,
4474
4510
  plain: Boolean,
4475
4511
  round: Boolean,
4476
4512
  textColor: String,
4477
4513
  closeable: Boolean
4478
4514
  };
4479
- var stdin_default$1A = defineComponent({
4480
- name: name$1t,
4515
+ var stdin_default$1B = defineComponent({
4516
+ name: name$1u,
4481
4517
  props: tagProps,
4482
4518
  emits: ["close"],
4483
4519
  setup(props2, {
@@ -4520,12 +4556,12 @@ var stdin_default$1A = defineComponent({
4520
4556
  }
4521
4557
  const CloseIcon = closeable && createVNode(Icon, {
4522
4558
  "name": "cross",
4523
- "class": [bem$1p("close"), HAPTICS_FEEDBACK],
4559
+ "class": [bem$1q("close"), HAPTICS_FEEDBACK],
4524
4560
  "onClick": onClose
4525
4561
  }, null);
4526
4562
  return createVNode("span", {
4527
4563
  "style": getStyle(),
4528
- "class": bem$1p([classes, type])
4564
+ "class": bem$1q([classes, type])
4529
4565
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
4530
4566
  };
4531
4567
  return () => createVNode(Transition, {
@@ -4535,10 +4571,10 @@ var stdin_default$1A = defineComponent({
4535
4571
  });
4536
4572
  }
4537
4573
  });
4538
- const Tag = withInstall(stdin_default$1A);
4539
- const [name$1s, bem$1o] = createNamespace("address-item");
4540
- var stdin_default$1z = defineComponent({
4541
- name: name$1s,
4574
+ const Tag = withInstall(stdin_default$1B);
4575
+ const [name$1t, bem$1p] = createNamespace("address-item");
4576
+ var stdin_default$1A = defineComponent({
4577
+ name: name$1t,
4542
4578
  props: {
4543
4579
  address: makeRequiredProp(Object),
4544
4580
  disabled: Boolean,
@@ -4558,7 +4594,7 @@ var stdin_default$1z = defineComponent({
4558
4594
  };
4559
4595
  const renderRightIcon = () => createVNode(Icon, {
4560
4596
  "name": "edit",
4561
- "class": bem$1o("edit"),
4597
+ "class": bem$1p("edit"),
4562
4598
  "onClick": (event) => {
4563
4599
  event.stopPropagation();
4564
4600
  emit("edit");
@@ -4573,7 +4609,7 @@ var stdin_default$1z = defineComponent({
4573
4609
  return createVNode(Tag, {
4574
4610
  "type": "danger",
4575
4611
  "round": true,
4576
- "class": bem$1o("tag")
4612
+ "class": bem$1p("tag")
4577
4613
  }, {
4578
4614
  default: () => [props2.defaultTagText]
4579
4615
  });
@@ -4586,9 +4622,9 @@ var stdin_default$1z = defineComponent({
4586
4622
  switchable
4587
4623
  } = props2;
4588
4624
  const Info = [createVNode("div", {
4589
- "class": bem$1o("name")
4625
+ "class": bem$1p("name")
4590
4626
  }, [`${address.name} ${address.tel}`, renderTag()]), createVNode("div", {
4591
- "class": bem$1o("address")
4627
+ "class": bem$1p("address")
4592
4628
  }, [address.address])];
4593
4629
  if (switchable && !disabled) {
4594
4630
  return createVNode(Radio, {
@@ -4606,13 +4642,13 @@ var stdin_default$1z = defineComponent({
4606
4642
  disabled
4607
4643
  } = props2;
4608
4644
  return createVNode("div", {
4609
- "class": bem$1o({
4645
+ "class": bem$1p({
4610
4646
  disabled
4611
4647
  }),
4612
4648
  "onClick": onClick
4613
4649
  }, [createVNode(Cell, {
4614
4650
  "border": false,
4615
- "valueClass": bem$1o("value")
4651
+ "valueClass": bem$1p("value")
4616
4652
  }, {
4617
4653
  value: renderContent,
4618
4654
  "right-icon": renderRightIcon
@@ -4622,7 +4658,7 @@ var stdin_default$1z = defineComponent({
4622
4658
  };
4623
4659
  }
4624
4660
  });
4625
- const [name$1r, bem$1n, t$g] = createNamespace("address-list");
4661
+ const [name$1s, bem$1o, t$g] = createNamespace("address-list");
4626
4662
  const addressListProps = {
4627
4663
  list: makeArrayProp(),
4628
4664
  modelValue: numericProp,
@@ -4632,8 +4668,8 @@ const addressListProps = {
4632
4668
  addButtonText: String,
4633
4669
  defaultTagText: String
4634
4670
  };
4635
- var stdin_default$1y = defineComponent({
4636
- name: name$1r,
4671
+ var stdin_default$1z = defineComponent({
4672
+ name: name$1s,
4637
4673
  props: addressListProps,
4638
4674
  emits: ["add", "edit", "select", "click-item", "edit-disabled", "select-disabled", "update:modelValue"],
4639
4675
  setup(props2, {
@@ -4649,7 +4685,7 @@ var stdin_default$1y = defineComponent({
4649
4685
  emit("update:modelValue", item.id);
4650
4686
  }
4651
4687
  };
4652
- return createVNode(stdin_default$1z, {
4688
+ return createVNode(stdin_default$1A, {
4653
4689
  "key": item.id,
4654
4690
  "address": item,
4655
4691
  "disabled": disabled,
@@ -4669,13 +4705,13 @@ var stdin_default$1y = defineComponent({
4669
4705
  }
4670
4706
  };
4671
4707
  const renderBottom = () => createVNode("div", {
4672
- "class": [bem$1n("bottom"), "van-safe-area-bottom"]
4708
+ "class": [bem$1o("bottom"), "van-safe-area-bottom"]
4673
4709
  }, [createVNode(Button, {
4674
4710
  "round": true,
4675
4711
  "block": true,
4676
4712
  "type": "primary",
4677
4713
  "text": props2.addButtonText || t$g("add"),
4678
- "class": bem$1n("add"),
4714
+ "class": bem$1o("add"),
4679
4715
  "onClick": () => emit("add")
4680
4716
  }, null)]);
4681
4717
  return () => {
@@ -4683,10 +4719,10 @@ var stdin_default$1y = defineComponent({
4683
4719
  const List2 = renderList(props2.list);
4684
4720
  const DisabledList = renderList(props2.disabledList, true);
4685
4721
  const DisabledText = props2.disabledText && createVNode("div", {
4686
- "class": bem$1n("disabled-text")
4722
+ "class": bem$1o("disabled-text")
4687
4723
  }, [props2.disabledText]);
4688
4724
  return createVNode("div", {
4689
- "class": bem$1n()
4725
+ "class": bem$1o()
4690
4726
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), createVNode(RadioGroup, {
4691
4727
  "modelValue": props2.modelValue
4692
4728
  }, {
@@ -4695,13 +4731,13 @@ var stdin_default$1y = defineComponent({
4695
4731
  };
4696
4732
  }
4697
4733
  });
4698
- const AddressList = withInstall(stdin_default$1y);
4699
- const [name$1q, bem$1m] = createNamespace("background");
4734
+ const AddressList = withInstall(stdin_default$1z);
4735
+ const [name$1r, bem$1n] = createNamespace("background");
4700
4736
  const backgroundProps = {
4701
4737
  theme: makeStringProp("default")
4702
4738
  };
4703
- var stdin_default$1x = defineComponent({
4704
- name: name$1q,
4739
+ var stdin_default$1y = defineComponent({
4740
+ name: name$1r,
4705
4741
  props: backgroundProps,
4706
4742
  setup(props2, {
4707
4743
  slots
@@ -4709,13 +4745,13 @@ var stdin_default$1x = defineComponent({
4709
4745
  return () => {
4710
4746
  var _a;
4711
4747
  return createVNode("div", {
4712
- "class": bem$1m([props2.theme])
4748
+ "class": bem$1n([props2.theme])
4713
4749
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4714
4750
  };
4715
4751
  }
4716
4752
  });
4717
- const Background = withInstall(stdin_default$1x);
4718
- const [name$1p, bem$1l] = createNamespace("blue-mark");
4753
+ const Background = withInstall(stdin_default$1y);
4754
+ const [name$1q, bem$1m] = createNamespace("blue-mark");
4719
4755
  const blueMarkProps = {
4720
4756
  size: {
4721
4757
  type: String,
@@ -4729,8 +4765,8 @@ const blueMarkProps = {
4729
4765
  gap: numericProp,
4730
4766
  isLink: Boolean
4731
4767
  };
4732
- var stdin_default$1w = defineComponent({
4733
- name: name$1p,
4768
+ var stdin_default$1x = defineComponent({
4769
+ name: name$1q,
4734
4770
  props: blueMarkProps,
4735
4771
  emits: ["click"],
4736
4772
  setup(props2, {
@@ -4748,25 +4784,52 @@ var stdin_default$1w = defineComponent({
4748
4784
  return () => {
4749
4785
  var _a;
4750
4786
  return createVNode("span", {
4751
- "class": [name$1p, props2.size === "normal" ? "" : `${name$1p}--${props2.size}`, props2.isLink ? `${name$1p}--link` : ""],
4787
+ "class": [name$1q, props2.size === "normal" ? "" : `${name$1q}--${props2.size}`, props2.isLink ? `${name$1q}--link` : ""],
4752
4788
  "style": style.value,
4753
4789
  "onClick": props2.isLink ? (event) => emit("click", event) : void 0
4754
4790
  }, [createVNode("span", {
4755
- "class": bem$1l("main")
4791
+ "class": bem$1m("main")
4756
4792
  }, [createVNode("span", {
4757
- "class": bem$1l("mark")
4793
+ "class": bem$1m("mark")
4758
4794
  }, null), createVNode("span", {
4759
- "class": bem$1l("content")
4760
- }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), props2.isLink && createVNode(stdin_default$1X, {
4795
+ "class": bem$1m("content")
4796
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), props2.isLink && createVNode(stdin_default$1Y, {
4761
4797
  "name": "arrow",
4762
- "class": bem$1l("arrow")
4798
+ "class": bem$1m("arrow")
4763
4799
  }, null)]);
4764
4800
  };
4765
4801
  }
4766
4802
  });
4803
+ const [name$1p, bem$1l] = createNamespace("divider");
4804
+ const dividerProps = {
4805
+ dashed: Boolean,
4806
+ hairline: truthProp,
4807
+ contentPosition: makeStringProp("center")
4808
+ };
4809
+ var stdin_default$1w = defineComponent({
4810
+ name: name$1p,
4811
+ props: dividerProps,
4812
+ setup(props2, {
4813
+ slots
4814
+ }) {
4815
+ return () => {
4816
+ var _a;
4817
+ return createVNode("div", {
4818
+ "role": "separator",
4819
+ "class": bem$1l({
4820
+ dashed: props2.dashed,
4821
+ hairline: props2.hairline,
4822
+ [`content-${props2.contentPosition}`]: !!slots.default
4823
+ })
4824
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4825
+ };
4826
+ }
4827
+ });
4828
+ const Divider = withInstall(stdin_default$1w);
4767
4829
  const [name$1o, bem$1k] = createNamespace("collapse-toggle");
4768
4830
  const collapseToggleProps = {
4769
4831
  modelValue: Boolean,
4832
+ divider: Boolean,
4770
4833
  expandText: makeStringProp("展开"),
4771
4834
  collapseText: makeStringProp("收起")
4772
4835
  };
@@ -4784,7 +4847,7 @@ var stdin_default$1v = defineComponent({
4784
4847
  emit("update:modelValue", value);
4785
4848
  emit("change", value);
4786
4849
  };
4787
- return () => {
4850
+ const renderToggle = () => {
4788
4851
  var _a;
4789
4852
  const expanded = props2.modelValue;
4790
4853
  const text = expanded ? props2.collapseText : props2.expandText;
@@ -4803,6 +4866,14 @@ var stdin_default$1v = defineComponent({
4803
4866
  "class": bem$1k("icon")
4804
4867
  }, null)]);
4805
4868
  };
4869
+ return () => {
4870
+ if (props2.divider) {
4871
+ return createVNode("div", {
4872
+ "class": bem$1k("divider")
4873
+ }, [createVNode(Divider, null, null), renderToggle(), createVNode(Divider, null, null)]);
4874
+ }
4875
+ return renderToggle();
4876
+ };
4806
4877
  }
4807
4878
  });
4808
4879
  const [name$1n, bem$1j] = createNamespace("blue-mark-header");
@@ -4855,7 +4926,7 @@ var stdin_default$1u = defineComponent({
4855
4926
  "onKeydown": onHeaderKeydown
4856
4927
  }, [createVNode("div", {
4857
4928
  "class": bem$1j("main")
4858
- }, [createVNode(stdin_default$1w, {
4929
+ }, [createVNode(stdin_default$1x, {
4859
4930
  "size": props2.size,
4860
4931
  "class": bem$1j("title")
4861
4932
  }, {
@@ -4881,7 +4952,7 @@ var stdin_default$1u = defineComponent({
4881
4952
  };
4882
4953
  }
4883
4954
  });
4884
- const BlueMark = withInstall(stdin_default$1w);
4955
+ const BlueMark = withInstall(stdin_default$1x);
4885
4956
  const BlueMarkHeader = withInstall(stdin_default$1u);
4886
4957
  const CollapseToggle = withInstall(stdin_default$1v);
4887
4958
  const [name$1m, bem$1i] = createNamespace("popover");
@@ -7915,7 +7986,7 @@ var stdin_default$1d = defineComponent({
7915
7986
  }
7916
7987
  });
7917
7988
  const CellGroup = withInstall(stdin_default$1d);
7918
- const CheckboxGroup = withInstall(stdin_default$1M);
7989
+ const CheckboxGroup = withInstall(stdin_default$1N);
7919
7990
  const [name$15, bem$14] = createNamespace("nav-bar");
7920
7991
  const navBarProps = {
7921
7992
  title: String,
@@ -8665,7 +8736,7 @@ var stdin_default$16 = defineComponent({
8665
8736
  }
8666
8737
  });
8667
8738
  const CollapseItem = withInstall(stdin_default$16);
8668
- const ConfigProvider = withInstall(stdin_default$1Z);
8739
+ const ConfigProvider = withInstall(stdin_default$1_);
8669
8740
  const [name$_, bem$Z, t$d] = createNamespace("contact-card");
8670
8741
  const contactCardProps = {
8671
8742
  tel: String,
@@ -10199,33 +10270,7 @@ Dialog.install = (app) => {
10199
10270
  app.use(Dialog.Component);
10200
10271
  app.config.globalProperties.$dialog = Dialog;
10201
10272
  };
10202
- const [name$N, bem$O] = createNamespace("divider");
10203
- const dividerProps = {
10204
- dashed: Boolean,
10205
- hairline: truthProp,
10206
- contentPosition: makeStringProp("center")
10207
- };
10208
- var stdin_default$U = defineComponent({
10209
- name: name$N,
10210
- props: dividerProps,
10211
- setup(props2, {
10212
- slots
10213
- }) {
10214
- return () => {
10215
- var _a;
10216
- return createVNode("div", {
10217
- "role": "separator",
10218
- "class": bem$O({
10219
- dashed: props2.dashed,
10220
- hairline: props2.hairline,
10221
- [`content-${props2.contentPosition}`]: !!slots.default
10222
- })
10223
- }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
10224
- };
10225
- }
10226
- });
10227
- const Divider = withInstall(stdin_default$U);
10228
- const [name$M, bem$N] = createNamespace("dropdown-menu");
10273
+ const [name$N, bem$O] = createNamespace("dropdown-menu");
10229
10274
  const dropdownMenuProps = {
10230
10275
  overlay: truthProp,
10231
10276
  zIndex: numericProp,
@@ -10237,9 +10282,9 @@ const dropdownMenuProps = {
10237
10282
  closeOnClickOutside: truthProp,
10238
10283
  closeOnClickOverlay: truthProp
10239
10284
  };
10240
- const DROPDOWN_KEY = Symbol(name$M);
10241
- var stdin_default$T = defineComponent({
10242
- name: name$M,
10285
+ const DROPDOWN_KEY = Symbol(name$N);
10286
+ var stdin_default$U = defineComponent({
10287
+ name: name$N,
10243
10288
  props: dropdownMenuProps,
10244
10289
  setup(props2, {
10245
10290
  slots
@@ -10311,7 +10356,7 @@ var stdin_default$T = defineComponent({
10311
10356
  "id": `${id}-${index}`,
10312
10357
  "role": "button",
10313
10358
  "tabindex": disabled ? void 0 : 0,
10314
- "class": [bem$N("item", {
10359
+ "class": [bem$O("item", {
10315
10360
  disabled
10316
10361
  }), {
10317
10362
  [HAPTICS_FEEDBACK]: !disabled
@@ -10322,7 +10367,7 @@ var stdin_default$T = defineComponent({
10322
10367
  }
10323
10368
  }
10324
10369
  }, [createVNode("span", {
10325
- "class": [bem$N("title", {
10370
+ "class": [bem$O("title", {
10326
10371
  down: showPopup === (props2.direction === "down"),
10327
10372
  active: showPopup
10328
10373
  }), titleClass],
@@ -10347,18 +10392,18 @@ var stdin_default$T = defineComponent({
10347
10392
  var _a;
10348
10393
  return createVNode("div", {
10349
10394
  "ref": root,
10350
- "class": bem$N()
10395
+ "class": bem$O()
10351
10396
  }, [props2.showBar && createVNode("div", {
10352
10397
  "ref": barRef,
10353
10398
  "style": barStyle.value,
10354
- "class": bem$N("bar", {
10399
+ "class": bem$O("bar", {
10355
10400
  opened: opened.value
10356
10401
  })
10357
10402
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
10358
10403
  };
10359
10404
  }
10360
10405
  });
10361
- const [name$L, bem$M] = createNamespace("dropdown-item");
10406
+ const [name$M, bem$N] = createNamespace("dropdown-item");
10362
10407
  const dropdownItemProps = {
10363
10408
  title: String,
10364
10409
  options: makeArrayProp(),
@@ -10368,8 +10413,8 @@ const dropdownItemProps = {
10368
10413
  modelValue: unknownProp,
10369
10414
  titleClass: unknownProp
10370
10415
  };
10371
- var stdin_default$S = defineComponent({
10372
- name: name$L,
10416
+ var stdin_default$T = defineComponent({
10417
+ name: name$M,
10373
10418
  props: dropdownItemProps,
10374
10419
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
10375
10420
  setup(props2, {
@@ -10439,7 +10484,7 @@ var stdin_default$S = defineComponent({
10439
10484
  const renderIcon = () => {
10440
10485
  if (active) {
10441
10486
  return createVNode(Icon, {
10442
- "class": bem$M("icon"),
10487
+ "class": bem$N("icon"),
10443
10488
  "color": activeColor,
10444
10489
  "name": "success"
10445
10490
  }, null);
@@ -10450,7 +10495,7 @@ var stdin_default$S = defineComponent({
10450
10495
  "key": option.value,
10451
10496
  "icon": option.icon,
10452
10497
  "title": option.text,
10453
- "class": bem$M("option", {
10498
+ "class": bem$N("option", {
10454
10499
  active
10455
10500
  }),
10456
10501
  "style": {
@@ -10482,13 +10527,13 @@ var stdin_default$S = defineComponent({
10482
10527
  }
10483
10528
  return withDirectives(createVNode("div", {
10484
10529
  "style": style,
10485
- "class": bem$M([direction]),
10530
+ "class": bem$N([direction]),
10486
10531
  "onClick": onClickWrapper
10487
10532
  }, [createVNode(Popup, {
10488
10533
  "show": state.showPopup,
10489
10534
  "onUpdate:show": ($event) => state.showPopup = $event,
10490
10535
  "role": "menu",
10491
- "class": bem$M("content"),
10536
+ "class": bem$N("content"),
10492
10537
  "overlay": overlay,
10493
10538
  "position": direction === "down" ? "top" : "bottom",
10494
10539
  "duration": state.transition ? duration : 0,
@@ -10526,15 +10571,15 @@ var stdin_default$S = defineComponent({
10526
10571
  };
10527
10572
  }
10528
10573
  });
10529
- const DropdownItem = withInstall(stdin_default$S);
10530
- const DropdownMenu = withInstall(stdin_default$T);
10531
- const [name$K, bem$L] = createNamespace("sidebar");
10532
- const SIDEBAR_KEY = Symbol(name$K);
10574
+ const DropdownItem = withInstall(stdin_default$T);
10575
+ const DropdownMenu = withInstall(stdin_default$U);
10576
+ const [name$L, bem$M] = createNamespace("sidebar");
10577
+ const SIDEBAR_KEY = Symbol(name$L);
10533
10578
  const sidebarProps = {
10534
10579
  modelValue: makeNumericProp(0)
10535
10580
  };
10536
- var stdin_default$R = defineComponent({
10537
- name: name$K,
10581
+ var stdin_default$S = defineComponent({
10582
+ name: name$L,
10538
10583
  props: sidebarProps,
10539
10584
  emits: ["change", "update:modelValue"],
10540
10585
  setup(props2, {
@@ -10559,13 +10604,13 @@ var stdin_default$R = defineComponent({
10559
10604
  var _a;
10560
10605
  return createVNode("div", {
10561
10606
  "role": "tablist",
10562
- "class": bem$L()
10607
+ "class": bem$M()
10563
10608
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
10564
10609
  };
10565
10610
  }
10566
10611
  });
10567
- const Sidebar = withInstall(stdin_default$R);
10568
- const [name$J, bem$K] = createNamespace("sidebar-item");
10612
+ const Sidebar = withInstall(stdin_default$S);
10613
+ const [name$K, bem$L] = createNamespace("sidebar-item");
10569
10614
  const sidebarItemProps = extend({}, routeProps, {
10570
10615
  dot: Boolean,
10571
10616
  title: String,
@@ -10573,8 +10618,8 @@ const sidebarItemProps = extend({}, routeProps, {
10573
10618
  disabled: Boolean,
10574
10619
  badgeProps: Object
10575
10620
  });
10576
- var stdin_default$Q = defineComponent({
10577
- name: name$J,
10621
+ var stdin_default$R = defineComponent({
10622
+ name: name$K,
10578
10623
  props: sidebarItemProps,
10579
10624
  emits: ["click"],
10580
10625
  setup(props2, {
@@ -10610,7 +10655,7 @@ var stdin_default$Q = defineComponent({
10610
10655
  const selected = index.value === parent.getActive();
10611
10656
  return createVNode("div", {
10612
10657
  "role": "tab",
10613
- "class": bem$K({
10658
+ "class": bem$L({
10614
10659
  select: selected,
10615
10660
  disabled
10616
10661
  }),
@@ -10619,7 +10664,7 @@ var stdin_default$Q = defineComponent({
10619
10664
  "onClick": onClick
10620
10665
  }, [createVNode(Badge, mergeProps({
10621
10666
  "dot": dot,
10622
- "class": bem$K("text"),
10667
+ "class": bem$L("text"),
10623
10668
  "content": badge
10624
10669
  }, props2.badgeProps), {
10625
10670
  default: () => [slots.title ? slots.title() : title]
@@ -10627,8 +10672,8 @@ var stdin_default$Q = defineComponent({
10627
10672
  };
10628
10673
  }
10629
10674
  });
10630
- const SidebarItem = withInstall(stdin_default$Q);
10631
- const [name$I, bem$J] = createNamespace("floor-select");
10675
+ const SidebarItem = withInstall(stdin_default$R);
10676
+ const [name$J, bem$K] = createNamespace("floor-select");
10632
10677
  const defaultBuildings = [{
10633
10678
  id: "building-a",
10634
10679
  text: "建筑A座",
@@ -10743,8 +10788,8 @@ const floorSelectProps = {
10743
10788
  },
10744
10789
  more: Boolean
10745
10790
  };
10746
- var stdin_default$P = defineComponent({
10747
- name: name$I,
10791
+ var stdin_default$Q = defineComponent({
10792
+ name: name$J,
10748
10793
  props: floorSelectProps,
10749
10794
  emits: ["change", "update:activeBuilding", "update:modelValue"],
10750
10795
  setup(props2, {
@@ -10802,7 +10847,7 @@ var stdin_default$P = defineComponent({
10802
10847
  });
10803
10848
  return createVNode("div", {
10804
10849
  "key": item.id,
10805
- "class": bem$J("cell")
10850
+ "class": bem$K("cell")
10806
10851
  }, [cell || createVNode(Cell, {
10807
10852
  "title": item.text,
10808
10853
  "border": index < spaces.value.length - 1,
@@ -10814,14 +10859,14 @@ var stdin_default$P = defineComponent({
10814
10859
  }, null)]);
10815
10860
  };
10816
10861
  return () => createVNode("div", {
10817
- "class": bem$J()
10862
+ "class": bem$K()
10818
10863
  }, [createVNode(Tabs, {
10819
10864
  "active": activeBuilding.value,
10820
10865
  "type": "filter",
10821
10866
  "shrink": true,
10822
10867
  "more": props2.more,
10823
10868
  "showMore": showMore.value,
10824
- "class": bem$J("tabs"),
10869
+ "class": bem$K("tabs"),
10825
10870
  "onUpdate:active": selectBuilding,
10826
10871
  "onUpdate:showMore": (value) => {
10827
10872
  showMore.value = value;
@@ -10833,10 +10878,10 @@ var stdin_default$P = defineComponent({
10833
10878
  "title": building.text
10834
10879
  }, null))]
10835
10880
  }), createVNode("div", {
10836
- "class": bem$J("content")
10881
+ "class": bem$K("content")
10837
10882
  }, [createVNode(Sidebar, {
10838
10883
  "modelValue": activeFloor.value,
10839
- "class": bem$J("sidebar"),
10884
+ "class": bem$K("sidebar"),
10840
10885
  "onUpdate:modelValue": (value) => {
10841
10886
  activeFloor.value = +value;
10842
10887
  }
@@ -10851,19 +10896,19 @@ var stdin_default$P = defineComponent({
10851
10896
  "disabled": floor.disabled
10852
10897
  }, null))]
10853
10898
  }), createVNode("div", {
10854
- "class": bem$J("cells")
10899
+ "class": bem$K("cells")
10855
10900
  }, [spaces.value.map(renderCell)])])]);
10856
10901
  }
10857
10902
  });
10858
- const FloorSelect = withInstall(stdin_default$P);
10859
- const [name$H, bem$I] = createNamespace("form-panel");
10903
+ const FloorSelect = withInstall(stdin_default$Q);
10904
+ const [name$I, bem$J] = createNamespace("form-panel");
10860
10905
  const formPanelProps = {
10861
10906
  show: Boolean,
10862
10907
  title: String,
10863
10908
  confirmText: makeStringProp("确定")
10864
10909
  };
10865
- var stdin_default$O = defineComponent({
10866
- name: name$H,
10910
+ var stdin_default$P = defineComponent({
10911
+ name: name$I,
10867
10912
  props: formPanelProps,
10868
10913
  emits: ["update:show", "confirm"],
10869
10914
  setup(props2, {
@@ -10877,19 +10922,19 @@ var stdin_default$O = defineComponent({
10877
10922
  };
10878
10923
  return () => createVNode(ActionSheet, {
10879
10924
  "show": props2.show,
10880
- "class": bem$I(),
10925
+ "class": bem$J(),
10881
10926
  "onUpdate:show": (show) => emit("update:show", show)
10882
10927
  }, {
10883
10928
  default: () => {
10884
10929
  var _a;
10885
10930
  return [createVNode("div", {
10886
- "class": bem$I("content")
10931
+ "class": bem$J("content")
10887
10932
  }, [createVNode("div", {
10888
- "class": bem$I("nav-wrapper")
10933
+ "class": bem$J("nav-wrapper")
10889
10934
  }, [createVNode(NavBar, {
10890
10935
  "title": props2.title,
10891
10936
  "border": false,
10892
- "class": bem$I("nav")
10937
+ "class": bem$J("nav")
10893
10938
  }, {
10894
10939
  left: () => createVNode(Icon, {
10895
10940
  "name": "cross",
@@ -10897,9 +10942,9 @@ var stdin_default$O = defineComponent({
10897
10942
  "onClick": close
10898
10943
  }, null)
10899
10944
  })]), createVNode("div", {
10900
- "class": bem$I("body")
10945
+ "class": bem$J("body")
10901
10946
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), createVNode("div", {
10902
- "class": bem$I("footer")
10947
+ "class": bem$J("footer")
10903
10948
  }, [createVNode(Button, {
10904
10949
  "block": true,
10905
10950
  "type": "primary",
@@ -10911,8 +10956,8 @@ var stdin_default$O = defineComponent({
10911
10956
  });
10912
10957
  }
10913
10958
  });
10914
- const FormPanel = withInstall(stdin_default$O);
10915
- const [name$G, bem$H] = createNamespace("friendly-tip");
10959
+ const FormPanel = withInstall(stdin_default$P);
10960
+ const [name$H, bem$I] = createNamespace("friendly-tip");
10916
10961
  const friendlyTipProps = {
10917
10962
  show: truthProp,
10918
10963
  message: String,
@@ -10929,8 +10974,8 @@ const friendlyTipProps = {
10929
10974
  default: "body"
10930
10975
  }
10931
10976
  };
10932
- var stdin_default$N = defineComponent({
10933
- name: name$G,
10977
+ var stdin_default$O = defineComponent({
10978
+ name: name$H,
10934
10979
  props: friendlyTipProps,
10935
10980
  emits: ["update:show"],
10936
10981
  setup(props2, {
@@ -10941,7 +10986,7 @@ var stdin_default$N = defineComponent({
10941
10986
  return () => createVNode(Popover, {
10942
10987
  "show": props2.show,
10943
10988
  "trigger": "manual",
10944
- "class": bem$H("popover"),
10989
+ "class": bem$I("popover"),
10945
10990
  "placement": props2.placement,
10946
10991
  "showArrow": props2.showArrow,
10947
10992
  "iconPrefix": props2.iconPrefix,
@@ -10954,19 +10999,19 @@ var stdin_default$N = defineComponent({
10954
10999
  return (_a = slots.reference) == null ? void 0 : _a.call(slots);
10955
11000
  },
10956
11001
  default: () => createVNode("div", {
10957
- "class": bem$H()
11002
+ "class": bem$I()
10958
11003
  }, [props2.icon && createVNode(Icon, {
10959
11004
  "name": props2.icon,
10960
- "class": bem$H("icon"),
11005
+ "class": bem$I("icon"),
10961
11006
  "classPrefix": props2.iconPrefix
10962
11007
  }, null), createVNode("span", {
10963
- "class": bem$H("message")
11008
+ "class": bem$I("message")
10964
11009
  }, [slots.default ? slots.default() : props2.message])])
10965
11010
  });
10966
11011
  }
10967
11012
  });
10968
- const FriendlyTip = withInstall(stdin_default$N);
10969
- const [name$F, bem$G] = createNamespace("grid");
11013
+ const FriendlyTip = withInstall(stdin_default$O);
11014
+ const [name$G, bem$H] = createNamespace("grid");
10970
11015
  const gridProps = {
10971
11016
  square: Boolean,
10972
11017
  center: truthProp,
@@ -10978,9 +11023,9 @@ const gridProps = {
10978
11023
  clickable: Boolean,
10979
11024
  columnNum: makeNumericProp(4)
10980
11025
  };
10981
- const GRID_KEY = Symbol(name$F);
10982
- var stdin_default$M = defineComponent({
10983
- name: name$F,
11026
+ const GRID_KEY = Symbol(name$G);
11027
+ var stdin_default$N = defineComponent({
11028
+ name: name$G,
10984
11029
  props: gridProps,
10985
11030
  setup(props2, {
10986
11031
  slots
@@ -10997,15 +11042,15 @@ var stdin_default$M = defineComponent({
10997
11042
  "style": {
10998
11043
  paddingLeft: addUnit(props2.gutter)
10999
11044
  },
11000
- "class": [bem$G(), {
11045
+ "class": [bem$H(), {
11001
11046
  [BORDER_TOP]: props2.border && !props2.gutter
11002
11047
  }]
11003
11048
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
11004
11049
  };
11005
11050
  }
11006
11051
  });
11007
- const Grid = withInstall(stdin_default$M);
11008
- const [name$E, bem$F] = createNamespace("grid-item");
11052
+ const Grid = withInstall(stdin_default$N);
11053
+ const [name$F, bem$G] = createNamespace("grid-item");
11009
11054
  const gridItemProps = extend({}, routeProps, {
11010
11055
  dot: Boolean,
11011
11056
  text: String,
@@ -11015,8 +11060,8 @@ const gridItemProps = extend({}, routeProps, {
11015
11060
  iconPrefix: String,
11016
11061
  badgeProps: Object
11017
11062
  });
11018
- var stdin_default$L = defineComponent({
11019
- name: name$E,
11063
+ var stdin_default$M = defineComponent({
11064
+ name: name$F,
11020
11065
  props: gridItemProps,
11021
11066
  setup(props2, {
11022
11067
  slots
@@ -11082,7 +11127,7 @@ var stdin_default$L = defineComponent({
11082
11127
  "name": props2.icon,
11083
11128
  "size": parent.props.iconSize,
11084
11129
  "badge": props2.badge,
11085
- "class": bem$F("icon"),
11130
+ "class": bem$G("icon"),
11086
11131
  "color": props2.iconColor,
11087
11132
  "badgeProps": props2.badgeProps,
11088
11133
  "classPrefix": props2.iconPrefix
@@ -11095,7 +11140,7 @@ var stdin_default$L = defineComponent({
11095
11140
  }
11096
11141
  if (props2.text) {
11097
11142
  return createVNode("span", {
11098
- "class": bem$F("text")
11143
+ "class": bem$G("text")
11099
11144
  }, [props2.text]);
11100
11145
  }
11101
11146
  };
@@ -11115,7 +11160,7 @@ var stdin_default$L = defineComponent({
11115
11160
  direction,
11116
11161
  clickable
11117
11162
  } = parent.props;
11118
- const classes = [bem$F("content", [direction, {
11163
+ const classes = [bem$G("content", [direction, {
11119
11164
  center,
11120
11165
  square,
11121
11166
  reverse,
@@ -11125,7 +11170,7 @@ var stdin_default$L = defineComponent({
11125
11170
  [BORDER]: border
11126
11171
  }];
11127
11172
  return createVNode("div", {
11128
- "class": [bem$F({
11173
+ "class": [bem$G({
11129
11174
  square
11130
11175
  })],
11131
11176
  "style": rootStyle.value
@@ -11139,10 +11184,10 @@ var stdin_default$L = defineComponent({
11139
11184
  };
11140
11185
  }
11141
11186
  });
11142
- const GridItem = withInstall(stdin_default$L);
11187
+ const GridItem = withInstall(stdin_default$M);
11143
11188
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
11144
- const bem$E = createNamespace("image-preview")[1];
11145
- var stdin_default$K = defineComponent({
11189
+ const bem$F = createNamespace("image-preview")[1];
11190
+ var stdin_default$L = defineComponent({
11146
11191
  props: {
11147
11192
  src: String,
11148
11193
  show: Boolean,
@@ -11368,19 +11413,19 @@ var stdin_default$K = defineComponent({
11368
11413
  };
11369
11414
  return createVNode(SwipeItem, {
11370
11415
  "ref": swipeItem,
11371
- "class": bem$E("swipe-item"),
11416
+ "class": bem$F("swipe-item"),
11372
11417
  "onTouchstartPassive": onTouchStart,
11373
11418
  "onTouchend": onTouchEnd,
11374
11419
  "onTouchcancel": onTouchEnd
11375
11420
  }, {
11376
11421
  default: () => [slots.image ? createVNode("div", {
11377
- "class": bem$E("image-wrap")
11422
+ "class": bem$F("image-wrap")
11378
11423
  }, [slots.image({
11379
11424
  src: props2.src
11380
11425
  })]) : createVNode(Image$1, {
11381
11426
  "src": props2.src,
11382
11427
  "fit": "contain",
11383
- "class": bem$E("image", {
11428
+ "class": bem$F("image", {
11384
11429
  vertical: vertical.value
11385
11430
  }),
11386
11431
  "style": imageStyle.value,
@@ -11390,7 +11435,7 @@ var stdin_default$K = defineComponent({
11390
11435
  };
11391
11436
  }
11392
11437
  });
11393
- const [name$D, bem$D] = createNamespace("image-preview");
11438
+ const [name$E, bem$E] = createNamespace("image-preview");
11394
11439
  const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate"];
11395
11440
  const imagePreviewProps = {
11396
11441
  show: Boolean,
@@ -11413,8 +11458,8 @@ const imagePreviewProps = {
11413
11458
  closeOnPopstate: truthProp,
11414
11459
  closeIconPosition: makeStringProp("top-right")
11415
11460
  };
11416
- var stdin_default$J = defineComponent({
11417
- name: name$D,
11461
+ var stdin_default$K = defineComponent({
11462
+ name: name$E,
11418
11463
  props: imagePreviewProps,
11419
11464
  emits: ["scale", "close", "closed", "change", "update:show"],
11420
11465
  setup(props2, {
@@ -11452,7 +11497,7 @@ var stdin_default$J = defineComponent({
11452
11497
  const renderIndex = () => {
11453
11498
  if (props2.showIndex) {
11454
11499
  return createVNode("div", {
11455
- "class": bem$D("index")
11500
+ "class": bem$E("index")
11456
11501
  }, [slots.index ? slots.index({
11457
11502
  index: state.active
11458
11503
  }) : `${state.active + 1} / ${props2.images.length}`]);
@@ -11461,7 +11506,7 @@ var stdin_default$J = defineComponent({
11461
11506
  const renderCover = () => {
11462
11507
  if (slots.cover) {
11463
11508
  return createVNode("div", {
11464
- "class": bem$D("cover")
11509
+ "class": bem$E("cover")
11465
11510
  }, [slots.cover()]);
11466
11511
  }
11467
11512
  };
@@ -11469,14 +11514,14 @@ var stdin_default$J = defineComponent({
11469
11514
  "ref": swipeRef,
11470
11515
  "lazyRender": true,
11471
11516
  "loop": props2.loop,
11472
- "class": bem$D("swipe"),
11517
+ "class": bem$E("swipe"),
11473
11518
  "duration": props2.swipeDuration,
11474
11519
  "initialSwipe": props2.startPosition,
11475
11520
  "showIndicators": props2.showIndicators,
11476
11521
  "indicatorColor": "white",
11477
11522
  "onChange": setActive
11478
11523
  }, {
11479
- default: () => [props2.images.map((image) => createVNode(stdin_default$K, {
11524
+ default: () => [props2.images.map((image) => createVNode(stdin_default$L, {
11480
11525
  "src": image,
11481
11526
  "show": props2.show,
11482
11527
  "active": state.active,
@@ -11495,7 +11540,7 @@ var stdin_default$J = defineComponent({
11495
11540
  return createVNode(Icon, {
11496
11541
  "role": "button",
11497
11542
  "name": props2.closeIcon,
11498
- "class": [bem$D("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
11543
+ "class": [bem$E("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
11499
11544
  "onClick": emitClose
11500
11545
  }, null);
11501
11546
  }
@@ -11532,8 +11577,8 @@ var stdin_default$J = defineComponent({
11532
11577
  }
11533
11578
  });
11534
11579
  return () => createVNode(Popup, mergeProps({
11535
- "class": [bem$D(), props2.className],
11536
- "overlayClass": [bem$D("overlay"), props2.overlayClass],
11580
+ "class": [bem$E(), props2.className],
11581
+ "overlayClass": [bem$E("overlay"), props2.overlayClass],
11537
11582
  "onClosed": onClosed,
11538
11583
  "onUpdate:show": updateShow
11539
11584
  }, pick(props2, popupProps$1)), {
@@ -11577,7 +11622,7 @@ function initInstance$2() {
11577
11622
  const onClosed = () => {
11578
11623
  state.images = [];
11579
11624
  };
11580
- return () => createVNode(stdin_default$J, mergeProps(state, {
11625
+ return () => createVNode(stdin_default$K, mergeProps(state, {
11581
11626
  "onClosed": onClosed,
11582
11627
  "onUpdate:show": toggle
11583
11628
  }), null);
@@ -11598,7 +11643,7 @@ const ImagePreview = (options, startPosition = 0) => {
11598
11643
  instance$2.open(extend({}, defaultConfig$1, options));
11599
11644
  return instance$2;
11600
11645
  };
11601
- ImagePreview.Component = withInstall(stdin_default$J);
11646
+ ImagePreview.Component = withInstall(stdin_default$K);
11602
11647
  ImagePreview.install = (app) => {
11603
11648
  app.use(ImagePreview.Component);
11604
11649
  };
@@ -11607,7 +11652,7 @@ function genAlphabet() {
11607
11652
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
11608
11653
  return indexList;
11609
11654
  }
11610
- const [name$C, bem$C] = createNamespace("index-bar");
11655
+ const [name$D, bem$D] = createNamespace("index-bar");
11611
11656
  const indexBarProps = {
11612
11657
  sticky: truthProp,
11613
11658
  zIndex: numericProp,
@@ -11619,9 +11664,9 @@ const indexBarProps = {
11619
11664
  default: genAlphabet
11620
11665
  }
11621
11666
  };
11622
- const INDEX_BAR_KEY = Symbol(name$C);
11623
- var stdin_default$I = defineComponent({
11624
- name: name$C,
11667
+ const INDEX_BAR_KEY = Symbol(name$D);
11668
+ var stdin_default$J = defineComponent({
11669
+ name: name$D,
11625
11670
  props: indexBarProps,
11626
11671
  emits: ["select", "change"],
11627
11672
  setup(props2, {
@@ -11733,7 +11778,7 @@ var stdin_default$I = defineComponent({
11733
11778
  const renderIndexes = () => props2.indexList.map((index) => {
11734
11779
  const active = index === activeAnchor.value;
11735
11780
  return createVNode("span", {
11736
- "class": bem$C("index", {
11781
+ "class": bem$D("index", {
11737
11782
  active
11738
11783
  }),
11739
11784
  "style": active ? highlightStyle.value : void 0,
@@ -11794,7 +11839,7 @@ var stdin_default$I = defineComponent({
11794
11839
  };
11795
11840
  const renderSidebar = () => createVNode("div", {
11796
11841
  "ref": sidebar,
11797
- "class": bem$C("sidebar"),
11842
+ "class": bem$D("sidebar"),
11798
11843
  "style": sidebarStyle.value,
11799
11844
  "onClick": onClickSidebar,
11800
11845
  "onTouchstartPassive": touch.start
@@ -11810,7 +11855,7 @@ var stdin_default$I = defineComponent({
11810
11855
  var _a;
11811
11856
  return createVNode("div", {
11812
11857
  "ref": root,
11813
- "class": bem$C()
11858
+ "class": bem$D()
11814
11859
  }, [props2.teleport ? createVNode(Teleport, {
11815
11860
  "to": props2.teleport
11816
11861
  }, {
@@ -11819,12 +11864,12 @@ var stdin_default$I = defineComponent({
11819
11864
  };
11820
11865
  }
11821
11866
  });
11822
- const [name$B, bem$B] = createNamespace("index-anchor");
11867
+ const [name$C, bem$C] = createNamespace("index-anchor");
11823
11868
  const indexAnchorProps = {
11824
11869
  index: numericProp
11825
11870
  };
11826
- var stdin_default$H = defineComponent({
11827
- name: name$B,
11871
+ var stdin_default$I = defineComponent({
11872
+ name: name$C,
11828
11873
  props: indexAnchorProps,
11829
11874
  setup(props2, {
11830
11875
  slots
@@ -11887,7 +11932,7 @@ var stdin_default$H = defineComponent({
11887
11932
  }
11888
11933
  }, [createVNode("div", {
11889
11934
  "style": anchorStyle.value,
11890
- "class": [bem$B({
11935
+ "class": [bem$C({
11891
11936
  sticky
11892
11937
  }), {
11893
11938
  [BORDER_BOTTOM]: sticky
@@ -11896,15 +11941,16 @@ var stdin_default$H = defineComponent({
11896
11941
  };
11897
11942
  }
11898
11943
  });
11899
- const IndexAnchor = withInstall(stdin_default$H);
11900
- const IndexBar = withInstall(stdin_default$I);
11901
- const [name$A, bem$A] = createNamespace("label");
11944
+ const IndexAnchor = withInstall(stdin_default$I);
11945
+ const IndexBar = withInstall(stdin_default$J);
11946
+ const [name$B, bem$B] = createNamespace("label");
11902
11947
  const labelProps = {
11903
11948
  label: makeStringProp(""),
11904
11949
  content: makeStringProp(""),
11905
11950
  type: makeStringProp("default"),
11906
11951
  vertical: Boolean,
11907
11952
  href: String,
11953
+ location: String,
11908
11954
  tags: {
11909
11955
  type: Array,
11910
11956
  default: () => []
@@ -11914,8 +11960,8 @@ const labelProps = {
11914
11960
  default: () => []
11915
11961
  }
11916
11962
  };
11917
- var stdin_default$G = defineComponent({
11918
- name: name$A,
11963
+ var stdin_default$H = defineComponent({
11964
+ name: name$B,
11919
11965
  props: labelProps,
11920
11966
  emits: ["click", "click-media"],
11921
11967
  setup(props2, {
@@ -11923,26 +11969,27 @@ var stdin_default$G = defineComponent({
11923
11969
  emit
11924
11970
  }) {
11925
11971
  const vertical = computed(() => props2.vertical || props2.type === "media");
11972
+ const showLocation = computed(() => props2.vertical && (props2.type === "bold" || props2.type === "link") && !!props2.location);
11926
11973
  const renderText = () => {
11927
11974
  var _a;
11928
11975
  const content = ((_a = slots.default) == null ? void 0 : _a.call(slots)) || props2.content;
11929
11976
  if (props2.type === "link") {
11930
11977
  return props2.href ? createVNode("a", {
11931
- "class": bem$A("link"),
11978
+ "class": bem$B("link"),
11932
11979
  "href": props2.href,
11933
11980
  "onClick": (event) => emit("click", event)
11934
11981
  }, [content]) : createVNode("button", {
11935
- "class": bem$A("link"),
11982
+ "class": bem$B("link"),
11936
11983
  "type": "button",
11937
11984
  "onClick": (event) => emit("click", event)
11938
11985
  }, [content]);
11939
11986
  }
11940
11987
  return createVNode("span", {
11941
- "class": bem$A("text")
11988
+ "class": bem$B("text")
11942
11989
  }, [content]);
11943
11990
  };
11944
11991
  const renderTags = () => createVNode("div", {
11945
- "class": bem$A("tags")
11992
+ "class": bem$B("tags")
11946
11993
  }, [props2.tags.map((tag) => createVNode(Tag, {
11947
11994
  "key": tag,
11948
11995
  "type": "gray"
@@ -11950,10 +11997,10 @@ var stdin_default$G = defineComponent({
11950
11997
  default: () => [tag]
11951
11998
  }))]);
11952
11999
  const renderMedia = () => createVNode("div", {
11953
- "class": bem$A("media")
12000
+ "class": bem$B("media")
11954
12001
  }, [props2.media.map((item, index) => createVNode("button", {
11955
12002
  "key": `${item.url}-${index}`,
11956
- "class": bem$A("media-item"),
12003
+ "class": bem$B("media-item"),
11957
12004
  "type": "button",
11958
12005
  "onClick": (event) => emit("click-media", item, index, event)
11959
12006
  }, [createVNode(Image$1, {
@@ -11965,7 +12012,7 @@ var stdin_default$G = defineComponent({
11965
12012
  "fit": "cover"
11966
12013
  }, null), item.type === "video" && createVNode(Icon, {
11967
12014
  "name": "play-circle-o",
11968
- "class": bem$A("play")
12015
+ "class": bem$B("play")
11969
12016
  }, null)]))]);
11970
12017
  const renderContent = () => {
11971
12018
  if (props2.type === "tag")
@@ -11975,17 +12022,99 @@ var stdin_default$G = defineComponent({
11975
12022
  return renderText();
11976
12023
  };
11977
12024
  return () => createVNode("div", {
11978
- "class": bem$A([props2.type, {
11979
- vertical: vertical.value
12025
+ "class": bem$B([props2.type, {
12026
+ vertical: vertical.value,
12027
+ location: showLocation.value
11980
12028
  }])
11981
12029
  }, [createVNode("span", {
11982
- "class": bem$A("label")
12030
+ "class": bem$B("label")
11983
12031
  }, [props2.label]), createVNode("div", {
11984
- "class": bem$A("value")
11985
- }, [renderContent()])]);
12032
+ "class": bem$B("value")
12033
+ }, [renderContent(), showLocation.value && createVNode("div", {
12034
+ "class": bem$B("location")
12035
+ }, [createVNode(Icon, {
12036
+ "name": "location-o"
12037
+ }, null), createVNode("span", null, [props2.location])])])]);
12038
+ }
12039
+ });
12040
+ const Label = withInstall(stdin_default$H);
12041
+ const [name$A, bem$A] = createNamespace("info-card");
12042
+ const infoCardProps = {
12043
+ title: makeStringProp(""),
12044
+ showTitle: truthProp,
12045
+ fields: {
12046
+ type: Array,
12047
+ default: () => []
12048
+ },
12049
+ extraFields: {
12050
+ type: Array,
12051
+ default: () => []
12052
+ },
12053
+ modelValue: Boolean,
12054
+ collapsible: Boolean,
12055
+ showCollapse: truthProp,
12056
+ divider: Boolean,
12057
+ expandText: makeStringProp("查看更多"),
12058
+ collapseText: makeStringProp("收起")
12059
+ };
12060
+ var stdin_default$G = defineComponent({
12061
+ name: name$A,
12062
+ props: infoCardProps,
12063
+ emits: ["update:modelValue", "change", "click", "click-media"],
12064
+ setup(props2, {
12065
+ slots,
12066
+ emit
12067
+ }) {
12068
+ const visibleFields = computed(() => props2.fields.filter((field) => field.visible !== false));
12069
+ const visibleExtraFields = computed(() => props2.extraFields.filter((field) => field.visible !== false));
12070
+ const hasExtra = computed(() => visibleExtraFields.value.length > 0 || !!slots.extra);
12071
+ const showCollapse = computed(() => props2.collapsible && props2.showCollapse);
12072
+ const showExtra = computed(() => !showCollapse.value || props2.modelValue);
12073
+ const renderField = (field, index) => createVNode(Label, {
12074
+ "key": `${field.label}-${index}`,
12075
+ "label": field.label,
12076
+ "content": field.content,
12077
+ "type": field.type,
12078
+ "vertical": field.vertical,
12079
+ "href": field.href,
12080
+ "tags": field.tags,
12081
+ "media": field.media,
12082
+ "onClick": (event) => emit("click", field, index, event),
12083
+ "onClick-media": (item, mediaIndex, event) => emit("click-media", item, mediaIndex, field, index, event)
12084
+ }, null);
12085
+ const renderExtra = () => {
12086
+ var _a;
12087
+ if (!hasExtra.value)
12088
+ return;
12089
+ const extraSlot = (_a = slots.extra) == null ? void 0 : _a.call(slots);
12090
+ return createVNode(Transition, {
12091
+ "name": "van-info-card-expand"
12092
+ }, {
12093
+ default: () => [showExtra.value && createVNode("div", {
12094
+ "class": bem$A("extra")
12095
+ }, [visibleExtraFields.value.map(renderField), extraSlot])]
12096
+ });
12097
+ };
12098
+ return () => {
12099
+ var _a, _b;
12100
+ return createVNode("section", {
12101
+ "class": bem$A()
12102
+ }, [props2.showTitle && (slots.title || props2.title) && createVNode("div", {
12103
+ "class": bem$A("title")
12104
+ }, [((_a = slots.title) == null ? void 0 : _a.call(slots)) || props2.title]), visibleFields.value.map(renderField), (_b = slots.default) == null ? void 0 : _b.call(slots), hasExtra.value && showCollapse.value && createVNode(CollapseToggle, {
12105
+ "modelValue": props2.modelValue,
12106
+ "divider": true,
12107
+ "expandText": props2.expandText,
12108
+ "collapseText": props2.collapseText,
12109
+ "onUpdate:modelValue": (value) => emit("update:modelValue", value),
12110
+ "onChange": (value) => emit("change", value)
12111
+ }, null), hasExtra.value && !showCollapse.value && props2.divider && createVNode(Divider, {
12112
+ "class": bem$A("divider")
12113
+ }, null), renderExtra()]);
12114
+ };
11986
12115
  }
11987
12116
  });
11988
- const Label = withInstall(stdin_default$G);
12117
+ const InfoCard = withInstall(stdin_default$G);
11989
12118
  const [name$z, bem$z, t$6] = createNamespace("list");
11990
12119
  const listProps = {
11991
12120
  error: Boolean,
@@ -19670,7 +19799,7 @@ const Lazyload = {
19670
19799
  });
19671
19800
  }
19672
19801
  };
19673
- const version = "0.0.28";
19802
+ const version = "0.0.30";
19674
19803
  function install(app) {
19675
19804
  const components = [
19676
19805
  ActionBar,
@@ -19724,6 +19853,7 @@ function install(app) {
19724
19853
  ImagePreview,
19725
19854
  IndexAnchor,
19726
19855
  IndexBar,
19856
+ InfoCard,
19727
19857
  Label,
19728
19858
  List,
19729
19859
  Loading,
@@ -19846,6 +19976,7 @@ export {
19846
19976
  ImagePreview,
19847
19977
  IndexAnchor,
19848
19978
  IndexBar,
19979
+ InfoCard,
19849
19980
  Label,
19850
19981
  Lazyload,
19851
19982
  List,