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.cjs.js CHANGED
@@ -237,7 +237,7 @@ function deepAssign(to, from) {
237
237
  });
238
238
  return to;
239
239
  }
240
- var stdin_default$21 = {
240
+ var stdin_default$22 = {
241
241
  name: "姓名",
242
242
  tel: "电话",
243
243
  save: "保存",
@@ -302,7 +302,7 @@ var stdin_default$21 = {
302
302
  };
303
303
  const lang = vue.ref("zh-CN");
304
304
  const messages = vue.reactive({
305
- "zh-CN": stdin_default$21
305
+ "zh-CN": stdin_default$22
306
306
  });
307
307
  const Locale = {
308
308
  messages() {
@@ -316,11 +316,11 @@ const Locale = {
316
316
  deepAssign(messages, newMessages);
317
317
  }
318
318
  };
319
- var stdin_default$20 = Locale;
319
+ var stdin_default$21 = Locale;
320
320
  function createTranslate(name2) {
321
321
  const prefix = camelize(name2) + ".";
322
322
  return (path, ...args) => {
323
- const messages2 = stdin_default$20.messages();
323
+ const messages2 = stdin_default$21.messages();
324
324
  const message = get(messages2, prefix + path) || get(messages2, path);
325
325
  return isFunction(message) ? message(...args) : message;
326
326
  };
@@ -440,20 +440,20 @@ function usePlaceholder(contentRef, bem2) {
440
440
  }
441
441
  }, [renderContent()]);
442
442
  }
443
- const [name$1S, bem$1O] = createNamespace("action-bar");
444
- const ACTION_BAR_KEY = Symbol(name$1S);
443
+ const [name$1T, bem$1P] = createNamespace("action-bar");
444
+ const ACTION_BAR_KEY = Symbol(name$1T);
445
445
  const actionBarProps = {
446
446
  placeholder: Boolean,
447
447
  safeAreaInsetBottom: truthProp
448
448
  };
449
- var stdin_default$1$ = vue.defineComponent({
450
- name: name$1S,
449
+ var stdin_default$20 = vue.defineComponent({
450
+ name: name$1T,
451
451
  props: actionBarProps,
452
452
  setup(props2, {
453
453
  slots
454
454
  }) {
455
455
  const root = vue.ref();
456
- const renderPlaceholder = usePlaceholder(root, bem$1O);
456
+ const renderPlaceholder = usePlaceholder(root, bem$1P);
457
457
  const {
458
458
  linkChildren
459
459
  } = use.useChildren(ACTION_BAR_KEY);
@@ -462,7 +462,7 @@ var stdin_default$1$ = vue.defineComponent({
462
462
  var _a;
463
463
  return vue.createVNode("div", {
464
464
  "ref": root,
465
- "class": [bem$1O(), {
465
+ "class": [bem$1P(), {
466
466
  "van-safe-area-bottom": props2.safeAreaInsetBottom
467
467
  }]
468
468
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -475,7 +475,7 @@ var stdin_default$1$ = vue.defineComponent({
475
475
  };
476
476
  }
477
477
  });
478
- const ActionBar = withInstall(stdin_default$1$);
478
+ const ActionBar = withInstall(stdin_default$20);
479
479
  function useExpose(apis) {
480
480
  const instance2 = vue.getCurrentInstance();
481
481
  if (instance2) {
@@ -503,7 +503,7 @@ function useRoute() {
503
503
  const vm = vue.getCurrentInstance().proxy;
504
504
  return () => route(vm);
505
505
  }
506
- const [name$1R, bem$1N] = createNamespace("badge");
506
+ const [name$1S, bem$1O] = createNamespace("badge");
507
507
  const badgeProps = {
508
508
  dot: Boolean,
509
509
  max: numericProp,
@@ -514,8 +514,8 @@ const badgeProps = {
514
514
  showZero: truthProp,
515
515
  position: makeStringProp("top-right")
516
516
  };
517
- var stdin_default$1_ = vue.defineComponent({
518
- name: name$1R,
517
+ var stdin_default$1$ = vue.defineComponent({
518
+ name: name$1S,
519
519
  props: badgeProps,
520
520
  setup(props2, {
521
521
  slots
@@ -569,7 +569,7 @@ var stdin_default$1_ = vue.defineComponent({
569
569
  const renderBadge = () => {
570
570
  if (hasContent() || props2.dot) {
571
571
  return vue.createVNode("div", {
572
- "class": bem$1N([props2.position, {
572
+ "class": bem$1O([props2.position, {
573
573
  dot: props2.dot,
574
574
  fixed: !!slots.default
575
575
  }]),
@@ -583,7 +583,7 @@ var stdin_default$1_ = vue.defineComponent({
583
583
  tag
584
584
  } = props2;
585
585
  return vue.createVNode(tag, {
586
- "class": bem$1N("wrapper")
586
+ "class": bem$1O("wrapper")
587
587
  }, {
588
588
  default: () => [slots.default(), renderBadge()]
589
589
  });
@@ -592,14 +592,14 @@ var stdin_default$1_ = vue.defineComponent({
592
592
  };
593
593
  }
594
594
  });
595
- const Badge = withInstall(stdin_default$1_);
595
+ const Badge = withInstall(stdin_default$1$);
596
596
  let globalZIndex = 2e3;
597
597
  const useGlobalZIndex = () => ++globalZIndex;
598
598
  const setGlobalZIndex = (val) => {
599
599
  globalZIndex = val;
600
600
  };
601
- const [name$1Q, bem$1M] = createNamespace("config-provider");
602
- const CONFIG_PROVIDER_KEY = Symbol(name$1Q);
601
+ const [name$1R, bem$1N] = createNamespace("config-provider");
602
+ const CONFIG_PROVIDER_KEY = Symbol(name$1R);
603
603
  const configProviderProps = {
604
604
  tag: makeStringProp("div"),
605
605
  zIndex: Number,
@@ -614,8 +614,8 @@ function mapThemeVarsToCSSVars(themeVars) {
614
614
  });
615
615
  return cssVars;
616
616
  }
617
- var stdin_default$1Z = vue.defineComponent({
618
- name: name$1Q,
617
+ var stdin_default$1_ = vue.defineComponent({
618
+ name: name$1R,
619
619
  props: configProviderProps,
620
620
  setup(props2, {
621
621
  slots
@@ -632,7 +632,7 @@ var stdin_default$1Z = vue.defineComponent({
632
632
  }
633
633
  });
634
634
  return () => vue.createVNode(props2.tag, {
635
- "class": bem$1M(),
635
+ "class": bem$1N(),
636
636
  "style": style.value
637
637
  }, {
638
638
  default: () => {
@@ -642,7 +642,7 @@ var stdin_default$1Z = vue.defineComponent({
642
642
  });
643
643
  }
644
644
  });
645
- const [name$1P, bem$1L] = createNamespace("icon");
645
+ const [name$1Q, bem$1M] = createNamespace("icon");
646
646
  const isImage = (name2) => name2 == null ? void 0 : name2.includes("/");
647
647
  const iconProps = {
648
648
  dot: Boolean,
@@ -654,14 +654,14 @@ const iconProps = {
654
654
  badgeProps: Object,
655
655
  classPrefix: String
656
656
  };
657
- var stdin_default$1Y = vue.defineComponent({
658
- name: name$1P,
657
+ var stdin_default$1Z = vue.defineComponent({
658
+ name: name$1Q,
659
659
  props: iconProps,
660
660
  setup(props2, {
661
661
  slots
662
662
  }) {
663
663
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
664
- const classPrefix = vue.computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1L());
664
+ const classPrefix = vue.computed(() => props2.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1M());
665
665
  return () => {
666
666
  const {
667
667
  tag,
@@ -685,7 +685,7 @@ var stdin_default$1Y = vue.defineComponent({
685
685
  default: () => {
686
686
  var _a;
687
687
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
688
- "class": bem$1L("image"),
688
+ "class": bem$1M("image"),
689
689
  "src": name2
690
690
  }, null)];
691
691
  }
@@ -693,14 +693,14 @@ var stdin_default$1Y = vue.defineComponent({
693
693
  };
694
694
  }
695
695
  });
696
- const Icon = withInstall(stdin_default$1Y);
697
- var stdin_default$1X = Icon;
698
- const [name$1O, bem$1K] = createNamespace("loading");
696
+ const Icon = withInstall(stdin_default$1Z);
697
+ var stdin_default$1Y = Icon;
698
+ const [name$1P, bem$1L] = createNamespace("loading");
699
699
  const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
700
- "class": bem$1K("line", String(index + 1))
700
+ "class": bem$1L("line", String(index + 1))
701
701
  }, null));
702
702
  const CircularIcon = vue.createVNode("svg", {
703
- "class": bem$1K("circular"),
703
+ "class": bem$1L("circular"),
704
704
  "viewBox": "25 25 50 50"
705
705
  }, [vue.createVNode("circle", {
706
706
  "cx": "50",
@@ -708,6 +708,37 @@ const CircularIcon = vue.createVNode("svg", {
708
708
  "r": "20",
709
709
  "fill": "none"
710
710
  }, null)]);
711
+ const IllustrationIcon = vue.createVNode("svg", {
712
+ "class": bem$1L("illustration"),
713
+ "viewBox": "0 0 120 120",
714
+ "fill": "none",
715
+ "aria-hidden": "true"
716
+ }, [vue.createVNode("rect", {
717
+ "x": "18",
718
+ "y": "24",
719
+ "width": "84",
720
+ "height": "78",
721
+ "rx": "12",
722
+ "fill": "currentColor",
723
+ "opacity": "0.16"
724
+ }, null), vue.createVNode("path", {
725
+ "d": "M35 98V48c0-5.5 4.5-10 10-10h30c5.5 0 10 4.5 10 10v50",
726
+ "fill": "currentColor",
727
+ "opacity": "0.72"
728
+ }, null), vue.createVNode("path", {
729
+ "d": "M48 54h8v11h-8zm16 0h8v11h-8zm-16 22h8v11h-8zm16 0h8v11h-8z",
730
+ "fill": "white"
731
+ }, null), vue.createVNode("path", {
732
+ "d": "M56 98V78h8v20",
733
+ "fill": "white",
734
+ "opacity": "0.92"
735
+ }, null), vue.createVNode("circle", {
736
+ "cx": "94",
737
+ "cy": "31",
738
+ "r": "9",
739
+ "fill": "currentColor",
740
+ "opacity": "0.9"
741
+ }, null)]);
711
742
  const loadingProps = {
712
743
  size: numericProp,
713
744
  type: makeStringProp("circular"),
@@ -716,20 +747,24 @@ const loadingProps = {
716
747
  textSize: numericProp,
717
748
  textColor: String
718
749
  };
719
- var stdin_default$1W = vue.defineComponent({
720
- name: name$1O,
750
+ var stdin_default$1X = vue.defineComponent({
751
+ name: name$1P,
721
752
  props: loadingProps,
722
753
  setup(props2, {
723
754
  slots
724
755
  }) {
725
- const spinnerStyle = vue.computed(() => extend({
726
- color: props2.color
727
- }, getSizeStyle(props2.size)));
756
+ const spinnerStyle = vue.computed(() => {
757
+ var _a;
758
+ const size = (_a = props2.size) != null ? _a : props2.type === "illustration" ? 100 : void 0;
759
+ return extend({
760
+ color: props2.color
761
+ }, getSizeStyle(size));
762
+ });
728
763
  const renderText = () => {
729
764
  var _a;
730
765
  if (slots.default) {
731
766
  return vue.createVNode("span", {
732
- "class": bem$1K("text"),
767
+ "class": bem$1L("text"),
733
768
  "style": {
734
769
  fontSize: addUnit(props2.textSize),
735
770
  color: (_a = props2.textColor) != null ? _a : props2.color
@@ -742,21 +777,22 @@ var stdin_default$1W = vue.defineComponent({
742
777
  type,
743
778
  vertical
744
779
  } = props2;
780
+ const isIllustration = type === "illustration";
745
781
  return vue.createVNode("div", {
746
- "class": bem$1K([type, {
782
+ "class": bem$1L([type, {
747
783
  vertical
748
784
  }]),
749
785
  "aria-live": "polite",
750
786
  "aria-busy": true
751
787
  }, [vue.createVNode("span", {
752
- "class": bem$1K("spinner", type),
788
+ "class": bem$1L("spinner", type),
753
789
  "style": spinnerStyle.value
754
- }, [type === "spinner" ? SpinIcon : CircularIcon]), renderText()]);
790
+ }, [isIllustration ? IllustrationIcon : type === "spinner" ? SpinIcon : CircularIcon]), renderText()]);
755
791
  };
756
792
  }
757
793
  });
758
- const Loading = withInstall(stdin_default$1W);
759
- const [name$1N, bem$1J] = createNamespace("button");
794
+ const Loading = withInstall(stdin_default$1X);
795
+ const [name$1O, bem$1K] = createNamespace("button");
760
796
  const buttonIconSizes = {
761
797
  large: "var(--van-font-size-xl)",
762
798
  normal: "var(--van-font-size-lg)",
@@ -785,8 +821,8 @@ const buttonProps = extend({}, routeProps, {
785
821
  loadingType: String,
786
822
  iconPosition: makeStringProp("left")
787
823
  });
788
- var stdin_default$1V = vue.defineComponent({
789
- name: name$1N,
824
+ var stdin_default$1W = vue.defineComponent({
825
+ name: name$1O,
790
826
  props: buttonProps,
791
827
  emits: ["click"],
792
828
  setup(props2, {
@@ -801,7 +837,7 @@ var stdin_default$1V = vue.defineComponent({
801
837
  return vue.createVNode(Loading, {
802
838
  "size": props2.loadingSize,
803
839
  "type": props2.loadingType,
804
- "class": bem$1J("loading")
840
+ "class": bem$1K("loading")
805
841
  }, null);
806
842
  };
807
843
  const renderIcon = () => {
@@ -811,14 +847,14 @@ var stdin_default$1V = vue.defineComponent({
811
847
  }
812
848
  if (slots.icon) {
813
849
  return vue.createVNode("div", {
814
- "class": bem$1J("icon")
850
+ "class": bem$1K("icon")
815
851
  }, [slots.icon()]);
816
852
  }
817
853
  if (props2.icon) {
818
854
  return vue.createVNode(Icon, {
819
855
  "size": (_a = props2.iconSize) != null ? _a : buttonIconSizes[props2.size],
820
856
  "name": props2.icon,
821
- "class": bem$1J("icon"),
857
+ "class": bem$1K("icon"),
822
858
  "classPrefix": props2.iconPrefix
823
859
  }, null);
824
860
  }
@@ -832,7 +868,7 @@ var stdin_default$1V = vue.defineComponent({
832
868
  }
833
869
  if (text) {
834
870
  return vue.createVNode("span", {
835
- "class": bem$1J("text")
871
+ "class": bem$1K("text")
836
872
  }, [text]);
837
873
  }
838
874
  };
@@ -879,7 +915,7 @@ var stdin_default$1V = vue.defineComponent({
879
915
  nativeType,
880
916
  iconPosition
881
917
  } = props2;
882
- const classes = [bem$1J([type, size, {
918
+ const classes = [bem$1K([type, size, {
883
919
  plain,
884
920
  block,
885
921
  round,
@@ -898,14 +934,14 @@ var stdin_default$1V = vue.defineComponent({
898
934
  "onClick": onClick
899
935
  }, {
900
936
  default: () => [vue.createVNode("div", {
901
- "class": bem$1J("content")
937
+ "class": bem$1K("content")
902
938
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
903
939
  });
904
940
  };
905
941
  }
906
942
  });
907
- const Button = withInstall(stdin_default$1V);
908
- const [name$1M, bem$1I] = createNamespace("action-bar-button");
943
+ const Button = withInstall(stdin_default$1W);
944
+ const [name$1N, bem$1J] = createNamespace("action-bar-button");
909
945
  const actionBarButtonProps = extend({}, routeProps, {
910
946
  type: String,
911
947
  text: String,
@@ -914,8 +950,8 @@ const actionBarButtonProps = extend({}, routeProps, {
914
950
  loading: Boolean,
915
951
  disabled: Boolean
916
952
  });
917
- var stdin_default$1U = vue.defineComponent({
918
- name: name$1M,
953
+ var stdin_default$1V = vue.defineComponent({
954
+ name: name$1N,
919
955
  props: actionBarButtonProps,
920
956
  setup(props2, {
921
957
  slots
@@ -950,7 +986,7 @@ var stdin_default$1U = vue.defineComponent({
950
986
  disabled
951
987
  } = props2;
952
988
  return vue.createVNode(Button, {
953
- "class": bem$1I([type, {
989
+ "class": bem$1J([type, {
954
990
  last: isLast.value,
955
991
  first: isFirst.value
956
992
  }]),
@@ -967,8 +1003,8 @@ var stdin_default$1U = vue.defineComponent({
967
1003
  };
968
1004
  }
969
1005
  });
970
- const ActionBarButton = withInstall(stdin_default$1U);
971
- const [name$1L, bem$1H] = createNamespace("action-bar-icon");
1006
+ const ActionBarButton = withInstall(stdin_default$1V);
1007
+ const [name$1M, bem$1I] = createNamespace("action-bar-icon");
972
1008
  const actionBarIconProps = extend({}, routeProps, {
973
1009
  dot: Boolean,
974
1010
  text: String,
@@ -979,8 +1015,8 @@ const actionBarIconProps = extend({}, routeProps, {
979
1015
  badgeProps: Object,
980
1016
  iconPrefix: String
981
1017
  });
982
- var stdin_default$1T = vue.defineComponent({
983
- name: name$1L,
1018
+ var stdin_default$1U = vue.defineComponent({
1019
+ name: name$1M,
984
1020
  props: actionBarIconProps,
985
1021
  setup(props2, {
986
1022
  slots
@@ -1000,7 +1036,7 @@ var stdin_default$1T = vue.defineComponent({
1000
1036
  if (slots.icon) {
1001
1037
  return vue.createVNode(Badge, vue.mergeProps({
1002
1038
  "dot": dot,
1003
- "class": bem$1H("icon"),
1039
+ "class": bem$1I("icon"),
1004
1040
  "content": badge
1005
1041
  }, badgeProps2), {
1006
1042
  default: slots.icon
@@ -1012,20 +1048,20 @@ var stdin_default$1T = vue.defineComponent({
1012
1048
  "name": icon,
1013
1049
  "badge": badge,
1014
1050
  "color": color,
1015
- "class": [bem$1H("icon"), iconClass],
1051
+ "class": [bem$1I("icon"), iconClass],
1016
1052
  "badgeProps": badgeProps2,
1017
1053
  "classPrefix": iconPrefix
1018
1054
  }, null);
1019
1055
  };
1020
1056
  return () => vue.createVNode("div", {
1021
1057
  "role": "button",
1022
- "class": bem$1H(),
1058
+ "class": bem$1I(),
1023
1059
  "tabindex": 0,
1024
1060
  "onClick": route2
1025
1061
  }, [renderIcon(), slots.default ? slots.default() : props2.text]);
1026
1062
  }
1027
1063
  });
1028
- const ActionBarIcon = withInstall(stdin_default$1T);
1064
+ const ActionBarIcon = withInstall(stdin_default$1U);
1029
1065
  const popupSharedProps = {
1030
1066
  // whether to show popup
1031
1067
  show: Boolean,
@@ -1176,7 +1212,7 @@ function useLazyRender(show) {
1176
1212
  );
1177
1213
  return (render) => () => inited.value ? render() : null;
1178
1214
  }
1179
- const [name$1K, bem$1G] = createNamespace("overlay");
1215
+ const [name$1L, bem$1H] = createNamespace("overlay");
1180
1216
  const overlayProps = {
1181
1217
  show: Boolean,
1182
1218
  zIndex: numericProp,
@@ -1186,8 +1222,8 @@ const overlayProps = {
1186
1222
  lazyRender: truthProp,
1187
1223
  customStyle: Object
1188
1224
  };
1189
- var stdin_default$1S = vue.defineComponent({
1190
- name: name$1K,
1225
+ var stdin_default$1T = vue.defineComponent({
1226
+ name: name$1L,
1191
1227
  props: overlayProps,
1192
1228
  setup(props2, {
1193
1229
  slots
@@ -1208,7 +1244,7 @@ var stdin_default$1S = vue.defineComponent({
1208
1244
  return vue.withDirectives(vue.createVNode("div", {
1209
1245
  "ref": root,
1210
1246
  "style": style,
1211
- "class": [bem$1G(), props2.className]
1247
+ "class": [bem$1H(), props2.className]
1212
1248
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props2.show]]);
1213
1249
  });
1214
1250
  use.useEventListener("touchmove", onTouchMove, {
@@ -1222,7 +1258,7 @@ var stdin_default$1S = vue.defineComponent({
1222
1258
  });
1223
1259
  }
1224
1260
  });
1225
- const Overlay = withInstall(stdin_default$1S);
1261
+ const Overlay = withInstall(stdin_default$1T);
1226
1262
  const popupProps$3 = extend({}, popupSharedProps, {
1227
1263
  round: Boolean,
1228
1264
  position: makeStringProp("center"),
@@ -1235,9 +1271,9 @@ const popupProps$3 = extend({}, popupSharedProps, {
1235
1271
  safeAreaInsetTop: Boolean,
1236
1272
  safeAreaInsetBottom: Boolean
1237
1273
  });
1238
- const [name$1J, bem$1F] = createNamespace("popup");
1239
- var stdin_default$1R = vue.defineComponent({
1240
- name: name$1J,
1274
+ const [name$1K, bem$1G] = createNamespace("popup");
1275
+ var stdin_default$1S = vue.defineComponent({
1276
+ name: name$1K,
1241
1277
  inheritAttrs: false,
1242
1278
  props: popupProps$3,
1243
1279
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "click-overlay", "click-close-icon"],
@@ -1311,7 +1347,7 @@ var stdin_default$1R = vue.defineComponent({
1311
1347
  "role": "button",
1312
1348
  "tabindex": 0,
1313
1349
  "name": props2.closeIcon,
1314
- "class": [bem$1F("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1350
+ "class": [bem$1G("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
1315
1351
  "classPrefix": props2.iconPrefix,
1316
1352
  "onClick": onClickCloseIcon
1317
1353
  }, null);
@@ -1333,7 +1369,7 @@ var stdin_default$1R = vue.defineComponent({
1333
1369
  "style": style.value,
1334
1370
  "role": "dialog",
1335
1371
  "tabindex": 0,
1336
- "class": [bem$1F({
1372
+ "class": [bem$1G({
1337
1373
  round,
1338
1374
  [position]: position
1339
1375
  }), {
@@ -1414,8 +1450,8 @@ var stdin_default$1R = vue.defineComponent({
1414
1450
  };
1415
1451
  }
1416
1452
  });
1417
- const Popup = withInstall(stdin_default$1R);
1418
- const [name$1I, bem$1E] = createNamespace("action-sheet");
1453
+ const Popup = withInstall(stdin_default$1S);
1454
+ const [name$1J, bem$1F] = createNamespace("action-sheet");
1419
1455
  const actionSheetProps = extend({}, popupSharedProps, {
1420
1456
  title: String,
1421
1457
  round: truthProp,
@@ -1429,8 +1465,8 @@ const actionSheetProps = extend({}, popupSharedProps, {
1429
1465
  safeAreaInsetBottom: truthProp
1430
1466
  });
1431
1467
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1432
- var stdin_default$1Q = vue.defineComponent({
1433
- name: name$1I,
1468
+ var stdin_default$1R = vue.defineComponent({
1469
+ name: name$1J,
1434
1470
  props: actionSheetProps,
1435
1471
  emits: ["select", "cancel", "update:show"],
1436
1472
  setup(props2, {
@@ -1445,10 +1481,10 @@ var stdin_default$1Q = vue.defineComponent({
1445
1481
  const renderHeader = () => {
1446
1482
  if (props2.title) {
1447
1483
  return vue.createVNode("div", {
1448
- "class": bem$1E("header")
1484
+ "class": bem$1F("header")
1449
1485
  }, [props2.title, props2.closeable && vue.createVNode(Icon, {
1450
1486
  "name": props2.closeIcon,
1451
- "class": [bem$1E("close"), HAPTICS_FEEDBACK],
1487
+ "class": [bem$1F("close"), HAPTICS_FEEDBACK],
1452
1488
  "onClick": onCancel
1453
1489
  }, null)]);
1454
1490
  }
@@ -1456,10 +1492,10 @@ var stdin_default$1Q = vue.defineComponent({
1456
1492
  const renderCancel = () => {
1457
1493
  if (slots.cancel || props2.cancelText) {
1458
1494
  return [vue.createVNode("div", {
1459
- "class": bem$1E("gap")
1495
+ "class": bem$1F("gap")
1460
1496
  }, null), vue.createVNode("button", {
1461
1497
  "type": "button",
1462
- "class": bem$1E("cancel"),
1498
+ "class": bem$1F("cancel"),
1463
1499
  "onClick": onCancel
1464
1500
  }, [slots.cancel ? slots.cancel() : props2.cancelText])];
1465
1501
  }
@@ -1467,7 +1503,7 @@ var stdin_default$1Q = vue.defineComponent({
1467
1503
  const renderActionContent = (action, index) => {
1468
1504
  if (action.loading) {
1469
1505
  return vue.createVNode(Loading, {
1470
- "class": bem$1E("loading-icon")
1506
+ "class": bem$1F("loading-icon")
1471
1507
  }, null);
1472
1508
  }
1473
1509
  if (slots.action) {
@@ -1477,9 +1513,9 @@ var stdin_default$1Q = vue.defineComponent({
1477
1513
  });
1478
1514
  }
1479
1515
  return [vue.createVNode("span", {
1480
- "class": bem$1E("name")
1516
+ "class": bem$1F("name")
1481
1517
  }, [action.name]), action.subname && vue.createVNode("div", {
1482
- "class": bem$1E("subname")
1518
+ "class": bem$1F("subname")
1483
1519
  }, [action.subname])];
1484
1520
  };
1485
1521
  const renderAction = (action, index) => {
@@ -1507,7 +1543,7 @@ var stdin_default$1Q = vue.defineComponent({
1507
1543
  "style": {
1508
1544
  color
1509
1545
  },
1510
- "class": [bem$1E("item", {
1546
+ "class": [bem$1F("item", {
1511
1547
  loading,
1512
1548
  disabled
1513
1549
  }), className],
@@ -1518,25 +1554,25 @@ var stdin_default$1Q = vue.defineComponent({
1518
1554
  if (props2.description || slots.description) {
1519
1555
  const content = slots.description ? slots.description() : props2.description;
1520
1556
  return vue.createVNode("div", {
1521
- "class": bem$1E("description")
1557
+ "class": bem$1F("description")
1522
1558
  }, [content]);
1523
1559
  }
1524
1560
  };
1525
1561
  return () => vue.createVNode(Popup, vue.mergeProps({
1526
- "class": bem$1E(),
1562
+ "class": bem$1F(),
1527
1563
  "position": "bottom",
1528
1564
  "onUpdate:show": updateShow
1529
1565
  }, pick(props2, popupInheritKeys$2)), {
1530
1566
  default: () => {
1531
1567
  var _a;
1532
1568
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1533
- "class": bem$1E("content")
1569
+ "class": bem$1F("content")
1534
1570
  }, [props2.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1535
1571
  }
1536
1572
  });
1537
1573
  }
1538
1574
  });
1539
- const ActionSheet = withInstall(stdin_default$1Q);
1575
+ const ActionSheet = withInstall(stdin_default$1R);
1540
1576
  function deepClone(obj) {
1541
1577
  if (!isDef(obj)) {
1542
1578
  return obj;
@@ -1556,7 +1592,7 @@ function deepClone(obj) {
1556
1592
  const DEFAULT_DURATION = 200;
1557
1593
  const MOMENTUM_LIMIT_TIME = 300;
1558
1594
  const MOMENTUM_LIMIT_DISTANCE = 15;
1559
- const [name$1H, bem$1D] = createNamespace("picker-column");
1595
+ const [name$1I, bem$1E] = createNamespace("picker-column");
1560
1596
  function getElementTranslateY(element) {
1561
1597
  const {
1562
1598
  transform
@@ -1564,10 +1600,10 @@ function getElementTranslateY(element) {
1564
1600
  const translateY = transform.slice(7, transform.length - 1).split(", ")[5];
1565
1601
  return Number(translateY);
1566
1602
  }
1567
- const PICKER_KEY = Symbol(name$1H);
1603
+ const PICKER_KEY = Symbol(name$1I);
1568
1604
  const isOptionDisabled = (option) => isObject(option) && option.disabled;
1569
- var stdin_default$1P = vue.defineComponent({
1570
- name: name$1H,
1605
+ var stdin_default$1Q = vue.defineComponent({
1606
+ name: name$1I,
1571
1607
  props: {
1572
1608
  textKey: makeRequiredProp(String),
1573
1609
  readonly: Boolean,
@@ -1742,7 +1778,7 @@ var stdin_default$1P = vue.defineComponent({
1742
1778
  role: "button",
1743
1779
  style: optionStyle,
1744
1780
  tabindex: disabled ? -1 : 0,
1745
- class: bem$1D("item", {
1781
+ class: bem$1E("item", {
1746
1782
  disabled,
1747
1783
  selected: index === state.index
1748
1784
  }),
@@ -1785,7 +1821,7 @@ var stdin_default$1P = vue.defineComponent({
1785
1821
  });
1786
1822
  return () => vue.createVNode("div", {
1787
1823
  "ref": root,
1788
- "class": [bem$1D(), props2.className],
1824
+ "class": [bem$1E(), props2.className],
1789
1825
  "onTouchstartPassive": onTouchStart,
1790
1826
  "onTouchend": onTouchEnd,
1791
1827
  "onTouchcancel": onTouchEnd
@@ -1796,12 +1832,12 @@ var stdin_default$1P = vue.defineComponent({
1796
1832
  transitionDuration: `${state.duration}ms`,
1797
1833
  transitionProperty: state.duration ? "all" : "none"
1798
1834
  },
1799
- "class": bem$1D("wrapper"),
1835
+ "class": bem$1E("wrapper"),
1800
1836
  "onTransitionend": stopMomentum
1801
1837
  }, [renderOptions()])]);
1802
1838
  }
1803
1839
  });
1804
- const [name$1G, bem$1C, t$j] = createNamespace("picker");
1840
+ const [name$1H, bem$1D, t$j] = createNamespace("picker");
1805
1841
  const pickerSharedProps = {
1806
1842
  title: String,
1807
1843
  loading: Boolean,
@@ -1824,8 +1860,8 @@ const pickerProps = extend({}, pickerSharedProps, {
1824
1860
  toolbarPosition: makeStringProp("top"),
1825
1861
  columnsFieldNames: Object
1826
1862
  });
1827
- var stdin_default$1O = vue.defineComponent({
1828
- name: name$1G,
1863
+ var stdin_default$1P = vue.defineComponent({
1864
+ name: name$1H,
1829
1865
  props: pickerProps,
1830
1866
  emits: ["confirm", "cancel", "change"],
1831
1867
  setup(props2, {
@@ -2010,7 +2046,7 @@ var stdin_default$1O = vue.defineComponent({
2010
2046
  }
2011
2047
  if (props2.title) {
2012
2048
  return vue.createVNode("div", {
2013
- "class": [bem$1C("title"), "van-ellipsis"]
2049
+ "class": [bem$1D("title"), "van-ellipsis"]
2014
2050
  }, [props2.title]);
2015
2051
  }
2016
2052
  };
@@ -2018,7 +2054,7 @@ var stdin_default$1O = vue.defineComponent({
2018
2054
  const text = props2.cancelButtonText || t$j("cancel");
2019
2055
  return vue.createVNode("button", {
2020
2056
  "type": "button",
2021
- "class": [bem$1C("cancel"), HAPTICS_FEEDBACK],
2057
+ "class": [bem$1D("cancel"), HAPTICS_FEEDBACK],
2022
2058
  "onClick": cancel
2023
2059
  }, [slots.cancel ? slots.cancel() : text]);
2024
2060
  };
@@ -2026,7 +2062,7 @@ var stdin_default$1O = vue.defineComponent({
2026
2062
  const text = props2.confirmButtonText || t$j("confirm");
2027
2063
  return vue.createVNode("button", {
2028
2064
  "type": "button",
2029
- "class": [bem$1C("confirm"), HAPTICS_FEEDBACK],
2065
+ "class": [bem$1D("confirm"), HAPTICS_FEEDBACK],
2030
2066
  "onClick": confirm
2031
2067
  }, [slots.confirm ? slots.confirm() : text]);
2032
2068
  };
@@ -2034,13 +2070,13 @@ var stdin_default$1O = vue.defineComponent({
2034
2070
  if (props2.showToolbar) {
2035
2071
  const slot = slots.toolbar || slots.default;
2036
2072
  return vue.createVNode("div", {
2037
- "class": bem$1C("toolbar")
2073
+ "class": bem$1D("toolbar")
2038
2074
  }, [slot ? slot() : [renderCancel(), renderTitle(), renderConfirm()]]);
2039
2075
  }
2040
2076
  };
2041
2077
  const renderColumnItems = () => formattedColumns.value.map((item, columnIndex) => {
2042
2078
  var _a;
2043
- return vue.createVNode(stdin_default$1P, {
2079
+ return vue.createVNode(stdin_default$1Q, {
2044
2080
  "textKey": columnsFieldNames.value.text,
2045
2081
  "readonly": props2.readonly,
2046
2082
  "allowHtml": props2.allowHtml,
@@ -2065,10 +2101,10 @@ var stdin_default$1O = vue.defineComponent({
2065
2101
  backgroundSize: `100% ${(wrapHeight - itemHeight.value) / 2}px`
2066
2102
  };
2067
2103
  return [vue.createVNode("div", {
2068
- "class": bem$1C("mask"),
2104
+ "class": bem$1D("mask"),
2069
2105
  "style": maskStyle
2070
2106
  }, null), vue.createVNode("div", {
2071
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1C("frame")],
2107
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1D("frame")],
2072
2108
  "style": frameStyle
2073
2109
  }, null)];
2074
2110
  }
@@ -2080,7 +2116,7 @@ var stdin_default$1O = vue.defineComponent({
2080
2116
  };
2081
2117
  return vue.createVNode("div", {
2082
2118
  "ref": columnsRef,
2083
- "class": bem$1C("columns"),
2119
+ "class": bem$1D("columns"),
2084
2120
  "style": columnsStyle
2085
2121
  }, [renderColumnItems(), renderMask(wrapHeight)]);
2086
2122
  };
@@ -2106,15 +2142,15 @@ var stdin_default$1O = vue.defineComponent({
2106
2142
  return () => {
2107
2143
  var _a, _b;
2108
2144
  return vue.createVNode("div", {
2109
- "class": bem$1C()
2145
+ "class": bem$1D()
2110
2146
  }, [props2.toolbarPosition === "top" ? renderToolbar() : null, props2.loading ? vue.createVNode(Loading, {
2111
- "class": bem$1C("loading")
2147
+ "class": bem$1D("loading")
2112
2148
  }, 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]);
2113
2149
  };
2114
2150
  }
2115
2151
  });
2116
- const Picker = withInstall(stdin_default$1O);
2117
- const [name$1F, bem$1B] = createNamespace("area");
2152
+ const Picker = withInstall(stdin_default$1P);
2153
+ const [name$1G, bem$1C] = createNamespace("area");
2118
2154
  const EMPTY_CODE = "000000";
2119
2155
  const INHERIT_SLOTS = ["title", "cancel", "confirm", "toolbar", "columns-top", "columns-bottom"];
2120
2156
  const INHERIT_PROPS = ["title", "loading", "readonly", "itemHeight", "swipeDuration", "visibleItemCount", "cancelButtonText", "confirmButtonText"];
@@ -2132,8 +2168,8 @@ const areaProps = extend({}, pickerSharedProps, {
2132
2168
  default: isOverseaCode
2133
2169
  }
2134
2170
  });
2135
- var stdin_default$1N = vue.defineComponent({
2136
- name: name$1F,
2171
+ var stdin_default$1O = vue.defineComponent({
2172
+ name: name$1G,
2137
2173
  props: areaProps,
2138
2174
  emits: ["change", "confirm", "cancel"],
2139
2175
  setup(props2, {
@@ -2333,7 +2369,7 @@ var stdin_default$1N = vue.defineComponent({
2333
2369
  const columns = state.columns.slice(0, +props2.columnsNum);
2334
2370
  return vue.createVNode(Picker, vue.mergeProps({
2335
2371
  "ref": pickerRef,
2336
- "class": bem$1B(),
2372
+ "class": bem$1C(),
2337
2373
  "columns": columns,
2338
2374
  "columnsFieldNames": {
2339
2375
  text: "name"
@@ -2345,8 +2381,8 @@ var stdin_default$1N = vue.defineComponent({
2345
2381
  };
2346
2382
  }
2347
2383
  });
2348
- const Area = withInstall(stdin_default$1N);
2349
- const [name$1E, bem$1A] = createNamespace("checkbox-group");
2384
+ const Area = withInstall(stdin_default$1O);
2385
+ const [name$1F, bem$1B] = createNamespace("checkbox-group");
2350
2386
  const checkboxGroupProps = {
2351
2387
  max: numericProp,
2352
2388
  disabled: Boolean,
@@ -2357,9 +2393,9 @@ const checkboxGroupProps = {
2357
2393
  modelValue: makeArrayProp(),
2358
2394
  checkedColor: String
2359
2395
  };
2360
- const CHECKBOX_GROUP_KEY = Symbol(name$1E);
2361
- var stdin_default$1M = vue.defineComponent({
2362
- name: name$1E,
2396
+ const CHECKBOX_GROUP_KEY = Symbol(name$1F);
2397
+ var stdin_default$1N = vue.defineComponent({
2398
+ name: name$1F,
2363
2399
  props: checkboxGroupProps,
2364
2400
  emits: ["change", "update:modelValue"],
2365
2401
  setup(props2, {
@@ -2405,7 +2441,7 @@ var stdin_default$1M = vue.defineComponent({
2405
2441
  return () => {
2406
2442
  var _a;
2407
2443
  return vue.createVNode("div", {
2408
- "class": bem$1A([props2.direction])
2444
+ "class": bem$1B([props2.direction])
2409
2445
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
2410
2446
  };
2411
2447
  }
@@ -2423,7 +2459,7 @@ const checkerProps = {
2423
2459
  labelDisabled: Boolean,
2424
2460
  allowUncheck: Boolean
2425
2461
  };
2426
- var stdin_default$1L = vue.defineComponent({
2462
+ var stdin_default$1M = vue.defineComponent({
2427
2463
  props: extend({}, checkerProps, {
2428
2464
  bem: makeRequiredProp(Function),
2429
2465
  role: String,
@@ -2529,12 +2565,12 @@ var stdin_default$1L = vue.defineComponent({
2529
2565
  };
2530
2566
  }
2531
2567
  });
2532
- const [name$1D, bem$1z] = createNamespace("checkbox");
2568
+ const [name$1E, bem$1A] = createNamespace("checkbox");
2533
2569
  const checkboxProps = extend({}, checkerProps, {
2534
2570
  bindGroup: truthProp
2535
2571
  });
2536
- var stdin_default$1K = vue.defineComponent({
2537
- name: name$1D,
2572
+ var stdin_default$1L = vue.defineComponent({
2573
+ name: name$1E,
2538
2574
  props: checkboxProps,
2539
2575
  emits: ["change", "update:modelValue"],
2540
2576
  setup(props2, {
@@ -2591,8 +2627,8 @@ var stdin_default$1K = vue.defineComponent({
2591
2627
  checked
2592
2628
  });
2593
2629
  use.useCustomFieldValue(() => props2.modelValue);
2594
- return () => vue.createVNode(stdin_default$1L, vue.mergeProps({
2595
- "bem": bem$1z,
2630
+ return () => vue.createVNode(stdin_default$1M, vue.mergeProps({
2631
+ "bem": bem$1A,
2596
2632
  "role": "checkbox",
2597
2633
  "parent": parent,
2598
2634
  "checked": checked.value,
@@ -2600,8 +2636,8 @@ var stdin_default$1K = vue.defineComponent({
2600
2636
  }, props2), pick(slots, ["default", "icon"]));
2601
2637
  }
2602
2638
  });
2603
- const Checkbox = withInstall(stdin_default$1K);
2604
- const [name$1C, bem$1y] = createNamespace("radio-group");
2639
+ const Checkbox = withInstall(stdin_default$1L);
2640
+ const [name$1D, bem$1z] = createNamespace("radio-group");
2605
2641
  const radioGroupProps = {
2606
2642
  disabled: Boolean,
2607
2643
  iconSize: numericProp,
@@ -2612,9 +2648,9 @@ const radioGroupProps = {
2612
2648
  checkedColor: String,
2613
2649
  allowUncheck: Boolean
2614
2650
  };
2615
- const RADIO_KEY = Symbol(name$1C);
2616
- var stdin_default$1J = vue.defineComponent({
2617
- name: name$1C,
2651
+ const RADIO_KEY = Symbol(name$1D);
2652
+ var stdin_default$1K = vue.defineComponent({
2653
+ name: name$1D,
2618
2654
  props: radioGroupProps,
2619
2655
  emits: ["change", "update:modelValue"],
2620
2656
  setup(props2, {
@@ -2634,15 +2670,15 @@ var stdin_default$1J = vue.defineComponent({
2634
2670
  return () => {
2635
2671
  var _a;
2636
2672
  return vue.createVNode("div", {
2637
- "class": bem$1y([props2.direction]),
2673
+ "class": bem$1z([props2.direction]),
2638
2674
  "role": "radiogroup"
2639
2675
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
2640
2676
  };
2641
2677
  }
2642
2678
  });
2643
- const [name$1B, bem$1x] = createNamespace("radio");
2644
- var stdin_default$1I = vue.defineComponent({
2645
- name: name$1B,
2679
+ const [name$1C, bem$1y] = createNamespace("radio");
2680
+ var stdin_default$1J = vue.defineComponent({
2681
+ name: name$1C,
2646
2682
  props: checkerProps,
2647
2683
  emits: ["update:modelValue"],
2648
2684
  setup(props2, {
@@ -2671,8 +2707,8 @@ var stdin_default$1I = vue.defineComponent({
2671
2707
  emit("update:modelValue", val);
2672
2708
  }
2673
2709
  };
2674
- return () => vue.createVNode(stdin_default$1L, vue.mergeProps({
2675
- "bem": bem$1x,
2710
+ return () => vue.createVNode(stdin_default$1M, vue.mergeProps({
2711
+ "bem": bem$1y,
2676
2712
  "role": "radio",
2677
2713
  "parent": parent,
2678
2714
  "checked": checked(),
@@ -2682,8 +2718,8 @@ var stdin_default$1I = vue.defineComponent({
2682
2718
  }, props2), pick(slots, ["default", "icon"]));
2683
2719
  }
2684
2720
  });
2685
- const Radio = withInstall(stdin_default$1I);
2686
- const [name$1A, bem$1w] = createNamespace("cell");
2721
+ const Radio = withInstall(stdin_default$1J);
2722
+ const [name$1B, bem$1x] = createNamespace("cell");
2687
2723
  const cellSharedProps = {
2688
2724
  icon: String,
2689
2725
  size: String,
@@ -2727,8 +2763,8 @@ const cellSharedProps = {
2727
2763
  }
2728
2764
  };
2729
2765
  const cellProps = extend({}, cellSharedProps, routeProps);
2730
- var stdin_default$1H = vue.defineComponent({
2731
- name: name$1A,
2766
+ var stdin_default$1I = vue.defineComponent({
2767
+ name: name$1B,
2732
2768
  props: cellProps,
2733
2769
  emits: ["click", "update:leftSelect", "update:rightSelect"],
2734
2770
  setup(props2, {
@@ -2774,17 +2810,17 @@ var stdin_default$1H = vue.defineComponent({
2774
2810
  const showLabel = slots.label || isDef(props2.label);
2775
2811
  if (showLabel) {
2776
2812
  return vue.createVNode("div", {
2777
- "class": [bem$1w("label"), props2.labelClass]
2813
+ "class": [bem$1x("label"), props2.labelClass]
2778
2814
  }, [slots.label ? slots.label() : props2.label]);
2779
2815
  }
2780
2816
  };
2781
2817
  const renderTitle = () => {
2782
2818
  if (slots.title || isDef(props2.title)) {
2783
2819
  return vue.createVNode("div", {
2784
- "class": [bem$1w("title"), props2.titleClass],
2820
+ "class": [bem$1x("title"), props2.titleClass],
2785
2821
  "style": props2.titleStyle
2786
2822
  }, [vue.createVNode("div", {
2787
- "class": bem$1w("title-row")
2823
+ "class": bem$1x("title-row")
2788
2824
  }, [slots.title ? slots.title() : vue.createVNode("span", null, [props2.title]), renderTags(), renderTitleIcon()]), renderLabel()]);
2789
2825
  }
2790
2826
  };
@@ -2794,7 +2830,7 @@ var stdin_default$1H = vue.defineComponent({
2794
2830
  if (hasValue) {
2795
2831
  const hasTitle = slots.title || isDef(props2.title);
2796
2832
  return vue.createVNode("div", {
2797
- "class": [bem$1w("value", {
2833
+ "class": [bem$1x("value", {
2798
2834
  alone: !hasTitle
2799
2835
  }), props2.valueClass]
2800
2836
  }, [slot ? slot() : vue.createVNode("span", null, [props2.value])]);
@@ -2807,7 +2843,7 @@ var stdin_default$1H = vue.defineComponent({
2807
2843
  if (props2.icon) {
2808
2844
  return vue.createVNode(Icon, {
2809
2845
  "name": props2.icon,
2810
- "class": bem$1w("left-icon"),
2846
+ "class": bem$1x("left-icon"),
2811
2847
  "classPrefix": props2.iconPrefix
2812
2848
  }, null);
2813
2849
  }
@@ -2818,13 +2854,13 @@ var stdin_default$1H = vue.defineComponent({
2818
2854
  const selected = getSelectState(position);
2819
2855
  if (slot) {
2820
2856
  return vue.createVNode("div", {
2821
- "class": bem$1w(`${position}-select`)
2857
+ "class": bem$1x(`${position}-select`)
2822
2858
  }, [slot()]);
2823
2859
  }
2824
2860
  if (hasSelect(position)) {
2825
2861
  const checkboxSize = (_b2 = (_a2 = props2.size) != null ? _a2 : config == null ? void 0 : config.cellSize) != null ? _b2 : "normal";
2826
2862
  return vue.createVNode("div", {
2827
- "class": bem$1w(`${position}-select`),
2863
+ "class": bem$1x(`${position}-select`),
2828
2864
  "onClick": (event) => event.stopPropagation()
2829
2865
  }, [props2.selectType === "radio" ? vue.createVNode(Radio, {
2830
2866
  "modelValue": selected ? "selected" : "",
@@ -2845,12 +2881,12 @@ var stdin_default$1H = vue.defineComponent({
2845
2881
  const avatar = position === "left" ? props2.avatar : props2.rightAvatar;
2846
2882
  if (slot) {
2847
2883
  return vue.createVNode("div", {
2848
- "class": bem$1w(`${position}-avatar`)
2884
+ "class": bem$1x(`${position}-avatar`)
2849
2885
  }, [slot()]);
2850
2886
  }
2851
2887
  if (avatar) {
2852
2888
  return vue.createVNode("img", {
2853
- "class": bem$1w(`${position}-avatar`),
2889
+ "class": bem$1x(`${position}-avatar`),
2854
2890
  "src": avatar,
2855
2891
  "alt": ""
2856
2892
  }, null);
@@ -2859,12 +2895,12 @@ var stdin_default$1H = vue.defineComponent({
2859
2895
  const renderBlueMark = () => {
2860
2896
  if (slots["blue-mark"]) {
2861
2897
  return vue.createVNode("div", {
2862
- "class": bem$1w("blue-mark")
2898
+ "class": bem$1x("blue-mark")
2863
2899
  }, [slots["blue-mark"]()]);
2864
2900
  }
2865
2901
  if (props2.blueMark) {
2866
2902
  return vue.createVNode("span", {
2867
- "class": bem$1w("blue-mark")
2903
+ "class": bem$1x("blue-mark")
2868
2904
  }, null);
2869
2905
  }
2870
2906
  };
@@ -2872,52 +2908,52 @@ var stdin_default$1H = vue.defineComponent({
2872
2908
  var _a2;
2873
2909
  if (slots.tags) {
2874
2910
  return vue.createVNode("div", {
2875
- "class": bem$1w("tags")
2911
+ "class": bem$1x("tags")
2876
2912
  }, [slots.tags()]);
2877
2913
  }
2878
2914
  if ((_a2 = props2.tags) == null ? void 0 : _a2.length) {
2879
2915
  return vue.createVNode("div", {
2880
- "class": bem$1w("tags")
2916
+ "class": bem$1x("tags")
2881
2917
  }, [props2.tags.map((tag, index) => vue.createVNode("span", {
2882
2918
  "key": `${tag}-${index}`,
2883
- "class": bem$1w("tag")
2919
+ "class": bem$1x("tag")
2884
2920
  }, [tag]))]);
2885
2921
  }
2886
2922
  };
2887
2923
  const renderTitleIcon = () => {
2888
2924
  if (slots["title-icon"]) {
2889
2925
  return vue.createVNode("div", {
2890
- "class": bem$1w("title-icon")
2926
+ "class": bem$1x("title-icon")
2891
2927
  }, [slots["title-icon"]()]);
2892
2928
  }
2893
2929
  if (props2.titleIcon) {
2894
2930
  return vue.createVNode(Icon, {
2895
2931
  "name": props2.titleIcon,
2896
- "class": bem$1w("title-icon")
2932
+ "class": bem$1x("title-icon")
2897
2933
  }, null);
2898
2934
  }
2899
2935
  };
2900
2936
  const renderNote = () => {
2901
2937
  if (slots.note) {
2902
2938
  return vue.createVNode("div", {
2903
- "class": bem$1w("note")
2939
+ "class": bem$1x("note")
2904
2940
  }, [slots.note()]);
2905
2941
  }
2906
2942
  if (isDef(props2.note)) {
2907
2943
  return vue.createVNode("div", {
2908
- "class": bem$1w("note")
2944
+ "class": bem$1x("note")
2909
2945
  }, [props2.note]);
2910
2946
  }
2911
2947
  };
2912
2948
  const renderBadge = () => {
2913
2949
  if (slots.badge) {
2914
2950
  return vue.createVNode("div", {
2915
- "class": bem$1w("badge")
2951
+ "class": bem$1x("badge")
2916
2952
  }, [slots.badge()]);
2917
2953
  }
2918
2954
  if (isDef(props2.badge)) {
2919
2955
  return vue.createVNode("div", {
2920
- "class": bem$1w("badge")
2956
+ "class": bem$1x("badge")
2921
2957
  }, [vue.createVNode(Badge, {
2922
2958
  "content": props2.badge,
2923
2959
  "showZero": true
@@ -2931,14 +2967,14 @@ var stdin_default$1H = vue.defineComponent({
2931
2967
  if (props2.rightIcon) {
2932
2968
  return vue.createVNode(Icon, {
2933
2969
  "name": props2.rightIcon,
2934
- "class": bem$1w("right-icon")
2970
+ "class": bem$1x("right-icon")
2935
2971
  }, null);
2936
2972
  }
2937
2973
  if (props2.isLink) {
2938
2974
  const name2 = props2.arrowDirection && props2.arrowDirection !== "right" ? `arrow-${props2.arrowDirection}` : "arrow";
2939
2975
  return vue.createVNode(Icon, {
2940
2976
  "name": name2,
2941
- "class": bem$1w("right-icon")
2977
+ "class": bem$1x("right-icon")
2942
2978
  }, null);
2943
2979
  }
2944
2980
  };
@@ -2970,7 +3006,7 @@ var stdin_default$1H = vue.defineComponent({
2970
3006
  }
2971
3007
  };
2972
3008
  return vue.createVNode("div", {
2973
- "class": [bem$1w(classes), props2.errorBorder ? "van-cell-error-border" : ""],
3009
+ "class": [bem$1x(classes), props2.errorBorder ? "van-cell-error-border" : ""],
2974
3010
  "role": clickable ? "button" : void 0,
2975
3011
  "tabindex": clickable ? 0 : void 0,
2976
3012
  "onClick": onClick
@@ -2978,8 +3014,8 @@ var stdin_default$1H = vue.defineComponent({
2978
3014
  };
2979
3015
  }
2980
3016
  });
2981
- const Cell = withInstall(stdin_default$1H);
2982
- const [name$1z, bem$1v] = createNamespace("form");
3017
+ const Cell = withInstall(stdin_default$1I);
3018
+ const [name$1A, bem$1w] = createNamespace("form");
2983
3019
  const formProps = {
2984
3020
  colon: Boolean,
2985
3021
  disabled: Boolean,
@@ -2998,8 +3034,8 @@ const formProps = {
2998
3034
  default: "onBlur"
2999
3035
  }
3000
3036
  };
3001
- var stdin_default$1G = vue.defineComponent({
3002
- name: name$1z,
3037
+ var stdin_default$1H = vue.defineComponent({
3038
+ name: name$1A,
3003
3039
  props: formProps,
3004
3040
  emits: ["submit", "failed"],
3005
3041
  setup(props2, {
@@ -3123,13 +3159,13 @@ var stdin_default$1G = vue.defineComponent({
3123
3159
  return () => {
3124
3160
  var _a;
3125
3161
  return vue.createVNode("form", {
3126
- "class": bem$1v(),
3162
+ "class": bem$1w(),
3127
3163
  "onSubmit": onSubmit
3128
3164
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
3129
3165
  };
3130
3166
  }
3131
3167
  });
3132
- const Form = withInstall(stdin_default$1G);
3168
+ const Form = withInstall(stdin_default$1H);
3133
3169
  function isEmptyValue(value) {
3134
3170
  if (Array.isArray(value)) {
3135
3171
  return !value.length;
@@ -3227,7 +3263,7 @@ function useId() {
3227
3263
  }
3228
3264
  return `${name2}-${++current}`;
3229
3265
  }
3230
- const [name$1y, bem$1u] = createNamespace("field");
3266
+ const [name$1z, bem$1v] = createNamespace("field");
3231
3267
  const fieldSharedProps = {
3232
3268
  id: String,
3233
3269
  name: String,
@@ -3280,8 +3316,8 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
3280
3316
  default: false
3281
3317
  }
3282
3318
  });
3283
- var stdin_default$1F = vue.defineComponent({
3284
- name: name$1y,
3319
+ var stdin_default$1G = vue.defineComponent({
3320
+ name: name$1z,
3285
3321
  props: fieldProps,
3286
3322
  emits: ["blur", "focus", "clear", "keypress", "click-input", "end-validate", "start-validate", "click-left-icon", "click-right-icon", "update:modelValue"],
3287
3323
  setup(props2, {
@@ -3553,7 +3589,7 @@ var stdin_default$1F = vue.defineComponent({
3553
3589
  const getInputId = () => props2.id || `${id}-input`;
3554
3590
  const getValidationStatus = () => state.status;
3555
3591
  const renderInput = () => {
3556
- const controlClass = bem$1u("control", [getProp("inputAlign"), {
3592
+ const controlClass = bem$1v("control", [getProp("inputAlign"), {
3557
3593
  error: showError.value,
3558
3594
  custom: !!slots.input,
3559
3595
  "min-height": props2.type === "textarea" && !props2.autosize
@@ -3595,7 +3631,7 @@ var stdin_default$1F = vue.defineComponent({
3595
3631
  const leftIconSlot = slots["left-icon"];
3596
3632
  if (props2.leftIcon || leftIconSlot) {
3597
3633
  return vue.createVNode("div", {
3598
- "class": bem$1u("left-icon"),
3634
+ "class": bem$1v("left-icon"),
3599
3635
  "onClick": onClickLeftIcon
3600
3636
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
3601
3637
  "name": props2.leftIcon,
@@ -3607,7 +3643,7 @@ var stdin_default$1F = vue.defineComponent({
3607
3643
  const rightIconSlot = slots["right-icon"];
3608
3644
  if (props2.rightIcon || rightIconSlot) {
3609
3645
  return vue.createVNode("div", {
3610
- "class": bem$1u("right-icon"),
3646
+ "class": bem$1v("right-icon"),
3611
3647
  "onClick": onClickRightIcon
3612
3648
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
3613
3649
  "name": props2.rightIcon,
@@ -3619,9 +3655,9 @@ var stdin_default$1F = vue.defineComponent({
3619
3655
  if (props2.showWordLimit && props2.maxlength) {
3620
3656
  const count = getStringLength(getModelValue());
3621
3657
  return vue.createVNode("div", {
3622
- "class": bem$1u("word-limit")
3658
+ "class": bem$1v("word-limit")
3623
3659
  }, [vue.createVNode("span", {
3624
- "class": bem$1u("word-num")
3660
+ "class": bem$1v("word-num")
3625
3661
  }, [count]), vue.createTextVNode("/"), props2.maxlength]);
3626
3662
  }
3627
3663
  };
@@ -3634,7 +3670,7 @@ var stdin_default$1F = vue.defineComponent({
3634
3670
  const slot = slots["error-message"];
3635
3671
  const errorMessageAlign = getProp("errorMessageAlign");
3636
3672
  return vue.createVNode("div", {
3637
- "class": bem$1u("error-message", errorMessageAlign)
3673
+ "class": bem$1v("error-message", errorMessageAlign)
3638
3674
  }, [slot ? slot({
3639
3675
  message
3640
3676
  }) : message]);
@@ -3653,13 +3689,13 @@ var stdin_default$1F = vue.defineComponent({
3653
3689
  }
3654
3690
  };
3655
3691
  const renderFieldBody = () => [vue.createVNode("div", {
3656
- "class": bem$1u("body")
3692
+ "class": bem$1v("body")
3657
3693
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
3658
3694
  "ref": clearIconRef,
3659
3695
  "name": props2.clearIcon,
3660
- "class": bem$1u("clear")
3696
+ "class": bem$1v("clear")
3661
3697
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
3662
- "class": bem$1u("button")
3698
+ "class": bem$1v("button")
3663
3699
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
3664
3700
  useExpose({
3665
3701
  blur,
@@ -3698,7 +3734,7 @@ var stdin_default$1F = vue.defineComponent({
3698
3734
  return vue.createVNode(Cell, {
3699
3735
  "size": props2.size,
3700
3736
  "icon": props2.leftIcon,
3701
- "class": bem$1u({
3737
+ "class": bem$1v({
3702
3738
  error: showError.value,
3703
3739
  disabled,
3704
3740
  [`label-${labelAlign}`]: labelAlign,
@@ -3710,8 +3746,8 @@ var stdin_default$1F = vue.defineComponent({
3710
3746
  "isLink": props2.isLink,
3711
3747
  "clickable": props2.clickable,
3712
3748
  "titleStyle": labelStyle.value,
3713
- "valueClass": bem$1u("value"),
3714
- "titleClass": [bem$1u("label", [labelAlign, {
3749
+ "valueClass": bem$1v("value"),
3750
+ "titleClass": [bem$1v("label", [labelAlign, {
3715
3751
  required: props2.required
3716
3752
  }]), props2.labelClass],
3717
3753
  "arrowDirection": props2.arrowDirection
@@ -3724,7 +3760,7 @@ var stdin_default$1F = vue.defineComponent({
3724
3760
  };
3725
3761
  }
3726
3762
  });
3727
- const Field = withInstall(stdin_default$1F);
3763
+ const Field = withInstall(stdin_default$1G);
3728
3764
  function usePopupState() {
3729
3765
  const state = vue.reactive({
3730
3766
  show: false
@@ -3771,7 +3807,7 @@ function lockClick(lock) {
3771
3807
  }
3772
3808
  }
3773
3809
  }
3774
- const [name$1x, bem$1t] = createNamespace("toast");
3810
+ const [name$1y, bem$1u] = createNamespace("toast");
3775
3811
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
3776
3812
  const toastProps = {
3777
3813
  icon: String,
@@ -3793,8 +3829,8 @@ const toastProps = {
3793
3829
  closeOnClick: Boolean,
3794
3830
  closeOnClickOverlay: Boolean
3795
3831
  };
3796
- var stdin_default$1E = vue.defineComponent({
3797
- name: name$1x,
3832
+ var stdin_default$1F = vue.defineComponent({
3833
+ name: name$1y,
3798
3834
  props: toastProps,
3799
3835
  emits: ["update:show"],
3800
3836
  setup(props2, {
@@ -3829,13 +3865,13 @@ var stdin_default$1E = vue.defineComponent({
3829
3865
  return vue.createVNode(Icon, {
3830
3866
  "name": icon || type,
3831
3867
  "size": iconSize,
3832
- "class": bem$1t("icon"),
3868
+ "class": bem$1u("icon"),
3833
3869
  "classPrefix": iconPrefix
3834
3870
  }, null);
3835
3871
  }
3836
3872
  if (type === "loading") {
3837
3873
  return vue.createVNode(Loading, {
3838
- "class": bem$1t("loading"),
3874
+ "class": bem$1u("loading"),
3839
3875
  "size": iconSize,
3840
3876
  "type": loadingType
3841
3877
  }, null);
@@ -3849,10 +3885,10 @@ var stdin_default$1E = vue.defineComponent({
3849
3885
  if (isDef(message) && message !== "") {
3850
3886
  return type === "html" ? vue.createVNode("div", {
3851
3887
  "key": 0,
3852
- "class": bem$1t("text"),
3888
+ "class": bem$1u("text"),
3853
3889
  "innerHTML": String(message)
3854
3890
  }, null) : vue.createVNode("div", {
3855
- "class": bem$1t("text")
3891
+ "class": bem$1u("text")
3856
3892
  }, [message]);
3857
3893
  }
3858
3894
  };
@@ -3868,7 +3904,7 @@ var stdin_default$1E = vue.defineComponent({
3868
3904
  vue.onMounted(toggleClickable);
3869
3905
  vue.onUnmounted(toggleClickable);
3870
3906
  return () => vue.createVNode(Popup, vue.mergeProps({
3871
- "class": [bem$1t([props2.position, {
3907
+ "class": [bem$1u([props2.position, {
3872
3908
  [props2.type]: !props2.icon
3873
3909
  }]), props2.className],
3874
3910
  "lockScroll": false,
@@ -3937,7 +3973,7 @@ function createInstance() {
3937
3973
  onClosed,
3938
3974
  "onUpdate:show": toggle
3939
3975
  };
3940
- return vue.createVNode(stdin_default$1E, vue.mergeProps(state, attrs), null);
3976
+ return vue.createVNode(stdin_default$1F, vue.mergeProps(state, attrs), null);
3941
3977
  };
3942
3978
  vue.watch(message, (val) => {
3943
3979
  state.message = val;
@@ -4009,10 +4045,10 @@ Toast.allowMultiple = (value = true) => {
4009
4045
  allowMultiple = value;
4010
4046
  };
4011
4047
  Toast.install = (app) => {
4012
- app.use(withInstall(stdin_default$1E));
4048
+ app.use(withInstall(stdin_default$1F));
4013
4049
  app.config.globalProperties.$toast = Toast;
4014
4050
  };
4015
- const [name$1w, bem$1s] = createNamespace("switch");
4051
+ const [name$1x, bem$1t] = createNamespace("switch");
4016
4052
  const switchProps = {
4017
4053
  size: numericProp,
4018
4054
  loading: Boolean,
@@ -4029,8 +4065,8 @@ const switchProps = {
4029
4065
  default: false
4030
4066
  }
4031
4067
  };
4032
- var stdin_default$1D = vue.defineComponent({
4033
- name: name$1w,
4068
+ var stdin_default$1E = vue.defineComponent({
4069
+ name: name$1x,
4034
4070
  props: switchProps,
4035
4071
  emits: ["change", "update:modelValue"],
4036
4072
  setup(props2, {
@@ -4049,7 +4085,7 @@ var stdin_default$1D = vue.defineComponent({
4049
4085
  if (props2.loading) {
4050
4086
  const color = isChecked() ? props2.activeColor : props2.inactiveColor;
4051
4087
  return vue.createVNode(Loading, {
4052
- "class": bem$1s("loading"),
4088
+ "class": bem$1t("loading"),
4053
4089
  "color": color
4054
4090
  }, null);
4055
4091
  }
@@ -4074,7 +4110,7 @@ var stdin_default$1D = vue.defineComponent({
4074
4110
  };
4075
4111
  return vue.createVNode("div", {
4076
4112
  "role": "switch",
4077
- "class": bem$1s({
4113
+ "class": bem$1t({
4078
4114
  on: checked,
4079
4115
  loading,
4080
4116
  disabled
@@ -4084,16 +4120,16 @@ var stdin_default$1D = vue.defineComponent({
4084
4120
  "aria-checked": checked,
4085
4121
  "onClick": onClick
4086
4122
  }, [vue.createVNode("div", {
4087
- "class": bem$1s("node")
4123
+ "class": bem$1t("node")
4088
4124
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
4089
4125
  };
4090
4126
  }
4091
4127
  });
4092
- const Switch = withInstall(stdin_default$1D);
4093
- const [name$1v, bem$1r] = createNamespace("address-edit-detail");
4128
+ const Switch = withInstall(stdin_default$1E);
4129
+ const [name$1w, bem$1s] = createNamespace("address-edit-detail");
4094
4130
  const t$i = createNamespace("address-edit")[2];
4095
- var stdin_default$1C = vue.defineComponent({
4096
- name: name$1v,
4131
+ var stdin_default$1D = vue.defineComponent({
4132
+ name: name$1w,
4097
4133
  props: {
4098
4134
  show: Boolean,
4099
4135
  rows: numericProp,
@@ -4116,7 +4152,7 @@ var stdin_default$1C = vue.defineComponent({
4116
4152
  };
4117
4153
  const renderSearchTitle = (express) => {
4118
4154
  if (express.name) {
4119
- const text = express.name.replace(props2.value, `<span class=${bem$1r("keyword")}>${props2.value}</span>`);
4155
+ const text = express.name.replace(props2.value, `<span class=${bem$1s("keyword")}>${props2.value}</span>`);
4120
4156
  return vue.createVNode("div", {
4121
4157
  "innerHTML": text
4122
4158
  }, null);
@@ -4134,7 +4170,7 @@ var stdin_default$1C = vue.defineComponent({
4134
4170
  "key": express.name + express.address,
4135
4171
  "icon": "location-o",
4136
4172
  "label": express.address,
4137
- "class": bem$1r("search-item"),
4173
+ "class": bem$1s("search-item"),
4138
4174
  "border": false,
4139
4175
  "onClick": () => onSelect(express)
4140
4176
  }, {
@@ -4150,7 +4186,7 @@ var stdin_default$1C = vue.defineComponent({
4150
4186
  "autosize": true,
4151
4187
  "clearable": true,
4152
4188
  "ref": field,
4153
- "class": bem$1r(),
4189
+ "class": bem$1s(),
4154
4190
  "rows": props2.rows,
4155
4191
  "type": "textarea",
4156
4192
  "rules": props2.rules,
@@ -4167,7 +4203,7 @@ var stdin_default$1C = vue.defineComponent({
4167
4203
  };
4168
4204
  }
4169
4205
  });
4170
- const [name$1u, bem$1q, t$h] = createNamespace("address-edit");
4206
+ const [name$1v, bem$1r, t$h] = createNamespace("address-edit");
4171
4207
  const DEFAULT_DATA = {
4172
4208
  name: "",
4173
4209
  tel: "",
@@ -4214,8 +4250,8 @@ const addressEditProps = {
4214
4250
  default: isPostal
4215
4251
  }
4216
4252
  };
4217
- var stdin_default$1B = vue.defineComponent({
4218
- name: name$1u,
4253
+ var stdin_default$1C = vue.defineComponent({
4254
+ name: name$1v,
4219
4255
  props: addressEditProps,
4220
4256
  emits: ["save", "focus", "delete", "click-area", "change-area", "change-detail", "select-search", "change-default"],
4221
4257
  setup(props2, {
@@ -4341,7 +4377,7 @@ var stdin_default$1B = vue.defineComponent({
4341
4377
  return vue.withDirectives(vue.createVNode(Cell, {
4342
4378
  "center": true,
4343
4379
  "title": t$h("defaultAddress"),
4344
- "class": bem$1q("default")
4380
+ "class": bem$1r("default")
4345
4381
  }, slots2), [[vue.vShow, !hideBottomFields.value]]);
4346
4382
  }
4347
4383
  };
@@ -4363,13 +4399,13 @@ var stdin_default$1B = vue.defineComponent({
4363
4399
  disableArea
4364
4400
  } = props2;
4365
4401
  return vue.createVNode(Form, {
4366
- "class": bem$1q(),
4402
+ "class": bem$1r(),
4367
4403
  "onSubmit": onSave
4368
4404
  }, {
4369
4405
  default: () => {
4370
4406
  var _a;
4371
4407
  return [vue.createVNode("div", {
4372
- "class": bem$1q("fields")
4408
+ "class": bem$1r("fields")
4373
4409
  }, [vue.createVNode(Field, {
4374
4410
  "modelValue": data.name,
4375
4411
  "onUpdate:modelValue": ($event) => data.name = $event,
@@ -4400,7 +4436,7 @@ var stdin_default$1B = vue.defineComponent({
4400
4436
  emit("click-area");
4401
4437
  showAreaPopup.value = !disableArea;
4402
4438
  }
4403
- }, null), [[vue.vShow, props2.showArea]]), vue.createVNode(stdin_default$1C, {
4439
+ }, null), [[vue.vShow, props2.showArea]]), vue.createVNode(stdin_default$1D, {
4404
4440
  "show": props2.showDetail,
4405
4441
  "rows": props2.detailRows,
4406
4442
  "rules": rules.value.addressDetail,
@@ -4423,19 +4459,19 @@ var stdin_default$1B = vue.defineComponent({
4423
4459
  "placeholder": t$h("postal"),
4424
4460
  "onFocus": () => onFocus("postalCode")
4425
4461
  }, null), [[vue.vShow, !hideBottomFields.value]]), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), vue.withDirectives(vue.createVNode("div", {
4426
- "class": bem$1q("buttons")
4462
+ "class": bem$1r("buttons")
4427
4463
  }, [vue.createVNode(Button, {
4428
4464
  "block": true,
4429
4465
  "round": true,
4430
4466
  "type": "primary",
4431
4467
  "text": props2.saveButtonText || t$h("save"),
4432
- "class": bem$1q("button"),
4468
+ "class": bem$1r("button"),
4433
4469
  "loading": props2.isSaving,
4434
4470
  "nativeType": "submit"
4435
4471
  }, null), props2.showDelete && vue.createVNode(Button, {
4436
4472
  "block": true,
4437
4473
  "round": true,
4438
- "class": bem$1q("button"),
4474
+ "class": bem$1r("button"),
4439
4475
  "loading": props2.isDeleting,
4440
4476
  "text": props2.deleteButtonText || t$h("delete"),
4441
4477
  "onClick": onDelete
@@ -4464,22 +4500,22 @@ var stdin_default$1B = vue.defineComponent({
4464
4500
  };
4465
4501
  }
4466
4502
  });
4467
- const AddressEdit = withInstall(stdin_default$1B);
4468
- const RadioGroup = withInstall(stdin_default$1J);
4469
- const [name$1t, bem$1p] = createNamespace("tag");
4503
+ const AddressEdit = withInstall(stdin_default$1C);
4504
+ const RadioGroup = withInstall(stdin_default$1K);
4505
+ const [name$1u, bem$1q] = createNamespace("tag");
4470
4506
  const tagProps = {
4471
4507
  size: makeStringProp("medium"),
4472
4508
  mark: Boolean,
4473
4509
  show: truthProp,
4474
- type: makeStringProp("default"),
4510
+ type: makeStringProp("gray"),
4475
4511
  color: String,
4476
4512
  plain: Boolean,
4477
4513
  round: Boolean,
4478
4514
  textColor: String,
4479
4515
  closeable: Boolean
4480
4516
  };
4481
- var stdin_default$1A = vue.defineComponent({
4482
- name: name$1t,
4517
+ var stdin_default$1B = vue.defineComponent({
4518
+ name: name$1u,
4483
4519
  props: tagProps,
4484
4520
  emits: ["close"],
4485
4521
  setup(props2, {
@@ -4522,12 +4558,12 @@ var stdin_default$1A = vue.defineComponent({
4522
4558
  }
4523
4559
  const CloseIcon = closeable && vue.createVNode(Icon, {
4524
4560
  "name": "cross",
4525
- "class": [bem$1p("close"), HAPTICS_FEEDBACK],
4561
+ "class": [bem$1q("close"), HAPTICS_FEEDBACK],
4526
4562
  "onClick": onClose
4527
4563
  }, null);
4528
4564
  return vue.createVNode("span", {
4529
4565
  "style": getStyle(),
4530
- "class": bem$1p([classes, type])
4566
+ "class": bem$1q([classes, type])
4531
4567
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
4532
4568
  };
4533
4569
  return () => vue.createVNode(vue.Transition, {
@@ -4537,10 +4573,10 @@ var stdin_default$1A = vue.defineComponent({
4537
4573
  });
4538
4574
  }
4539
4575
  });
4540
- const Tag = withInstall(stdin_default$1A);
4541
- const [name$1s, bem$1o] = createNamespace("address-item");
4542
- var stdin_default$1z = vue.defineComponent({
4543
- name: name$1s,
4576
+ const Tag = withInstall(stdin_default$1B);
4577
+ const [name$1t, bem$1p] = createNamespace("address-item");
4578
+ var stdin_default$1A = vue.defineComponent({
4579
+ name: name$1t,
4544
4580
  props: {
4545
4581
  address: makeRequiredProp(Object),
4546
4582
  disabled: Boolean,
@@ -4560,7 +4596,7 @@ var stdin_default$1z = vue.defineComponent({
4560
4596
  };
4561
4597
  const renderRightIcon = () => vue.createVNode(Icon, {
4562
4598
  "name": "edit",
4563
- "class": bem$1o("edit"),
4599
+ "class": bem$1p("edit"),
4564
4600
  "onClick": (event) => {
4565
4601
  event.stopPropagation();
4566
4602
  emit("edit");
@@ -4575,7 +4611,7 @@ var stdin_default$1z = vue.defineComponent({
4575
4611
  return vue.createVNode(Tag, {
4576
4612
  "type": "danger",
4577
4613
  "round": true,
4578
- "class": bem$1o("tag")
4614
+ "class": bem$1p("tag")
4579
4615
  }, {
4580
4616
  default: () => [props2.defaultTagText]
4581
4617
  });
@@ -4588,9 +4624,9 @@ var stdin_default$1z = vue.defineComponent({
4588
4624
  switchable
4589
4625
  } = props2;
4590
4626
  const Info = [vue.createVNode("div", {
4591
- "class": bem$1o("name")
4627
+ "class": bem$1p("name")
4592
4628
  }, [`${address.name} ${address.tel}`, renderTag()]), vue.createVNode("div", {
4593
- "class": bem$1o("address")
4629
+ "class": bem$1p("address")
4594
4630
  }, [address.address])];
4595
4631
  if (switchable && !disabled) {
4596
4632
  return vue.createVNode(Radio, {
@@ -4608,13 +4644,13 @@ var stdin_default$1z = vue.defineComponent({
4608
4644
  disabled
4609
4645
  } = props2;
4610
4646
  return vue.createVNode("div", {
4611
- "class": bem$1o({
4647
+ "class": bem$1p({
4612
4648
  disabled
4613
4649
  }),
4614
4650
  "onClick": onClick
4615
4651
  }, [vue.createVNode(Cell, {
4616
4652
  "border": false,
4617
- "valueClass": bem$1o("value")
4653
+ "valueClass": bem$1p("value")
4618
4654
  }, {
4619
4655
  value: renderContent,
4620
4656
  "right-icon": renderRightIcon
@@ -4624,7 +4660,7 @@ var stdin_default$1z = vue.defineComponent({
4624
4660
  };
4625
4661
  }
4626
4662
  });
4627
- const [name$1r, bem$1n, t$g] = createNamespace("address-list");
4663
+ const [name$1s, bem$1o, t$g] = createNamespace("address-list");
4628
4664
  const addressListProps = {
4629
4665
  list: makeArrayProp(),
4630
4666
  modelValue: numericProp,
@@ -4634,8 +4670,8 @@ const addressListProps = {
4634
4670
  addButtonText: String,
4635
4671
  defaultTagText: String
4636
4672
  };
4637
- var stdin_default$1y = vue.defineComponent({
4638
- name: name$1r,
4673
+ var stdin_default$1z = vue.defineComponent({
4674
+ name: name$1s,
4639
4675
  props: addressListProps,
4640
4676
  emits: ["add", "edit", "select", "click-item", "edit-disabled", "select-disabled", "update:modelValue"],
4641
4677
  setup(props2, {
@@ -4651,7 +4687,7 @@ var stdin_default$1y = vue.defineComponent({
4651
4687
  emit("update:modelValue", item.id);
4652
4688
  }
4653
4689
  };
4654
- return vue.createVNode(stdin_default$1z, {
4690
+ return vue.createVNode(stdin_default$1A, {
4655
4691
  "key": item.id,
4656
4692
  "address": item,
4657
4693
  "disabled": disabled,
@@ -4671,13 +4707,13 @@ var stdin_default$1y = vue.defineComponent({
4671
4707
  }
4672
4708
  };
4673
4709
  const renderBottom = () => vue.createVNode("div", {
4674
- "class": [bem$1n("bottom"), "van-safe-area-bottom"]
4710
+ "class": [bem$1o("bottom"), "van-safe-area-bottom"]
4675
4711
  }, [vue.createVNode(Button, {
4676
4712
  "round": true,
4677
4713
  "block": true,
4678
4714
  "type": "primary",
4679
4715
  "text": props2.addButtonText || t$g("add"),
4680
- "class": bem$1n("add"),
4716
+ "class": bem$1o("add"),
4681
4717
  "onClick": () => emit("add")
4682
4718
  }, null)]);
4683
4719
  return () => {
@@ -4685,10 +4721,10 @@ var stdin_default$1y = vue.defineComponent({
4685
4721
  const List2 = renderList(props2.list);
4686
4722
  const DisabledList = renderList(props2.disabledList, true);
4687
4723
  const DisabledText = props2.disabledText && vue.createVNode("div", {
4688
- "class": bem$1n("disabled-text")
4724
+ "class": bem$1o("disabled-text")
4689
4725
  }, [props2.disabledText]);
4690
4726
  return vue.createVNode("div", {
4691
- "class": bem$1n()
4727
+ "class": bem$1o()
4692
4728
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), vue.createVNode(RadioGroup, {
4693
4729
  "modelValue": props2.modelValue
4694
4730
  }, {
@@ -4697,13 +4733,13 @@ var stdin_default$1y = vue.defineComponent({
4697
4733
  };
4698
4734
  }
4699
4735
  });
4700
- const AddressList = withInstall(stdin_default$1y);
4701
- const [name$1q, bem$1m] = createNamespace("background");
4736
+ const AddressList = withInstall(stdin_default$1z);
4737
+ const [name$1r, bem$1n] = createNamespace("background");
4702
4738
  const backgroundProps = {
4703
4739
  theme: makeStringProp("default")
4704
4740
  };
4705
- var stdin_default$1x = vue.defineComponent({
4706
- name: name$1q,
4741
+ var stdin_default$1y = vue.defineComponent({
4742
+ name: name$1r,
4707
4743
  props: backgroundProps,
4708
4744
  setup(props2, {
4709
4745
  slots
@@ -4711,13 +4747,13 @@ var stdin_default$1x = vue.defineComponent({
4711
4747
  return () => {
4712
4748
  var _a;
4713
4749
  return vue.createVNode("div", {
4714
- "class": bem$1m([props2.theme])
4750
+ "class": bem$1n([props2.theme])
4715
4751
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4716
4752
  };
4717
4753
  }
4718
4754
  });
4719
- const Background = withInstall(stdin_default$1x);
4720
- const [name$1p, bem$1l] = createNamespace("blue-mark");
4755
+ const Background = withInstall(stdin_default$1y);
4756
+ const [name$1q, bem$1m] = createNamespace("blue-mark");
4721
4757
  const blueMarkProps = {
4722
4758
  size: {
4723
4759
  type: String,
@@ -4731,8 +4767,8 @@ const blueMarkProps = {
4731
4767
  gap: numericProp,
4732
4768
  isLink: Boolean
4733
4769
  };
4734
- var stdin_default$1w = vue.defineComponent({
4735
- name: name$1p,
4770
+ var stdin_default$1x = vue.defineComponent({
4771
+ name: name$1q,
4736
4772
  props: blueMarkProps,
4737
4773
  emits: ["click"],
4738
4774
  setup(props2, {
@@ -4750,25 +4786,52 @@ var stdin_default$1w = vue.defineComponent({
4750
4786
  return () => {
4751
4787
  var _a;
4752
4788
  return vue.createVNode("span", {
4753
- "class": [name$1p, props2.size === "normal" ? "" : `${name$1p}--${props2.size}`, props2.isLink ? `${name$1p}--link` : ""],
4789
+ "class": [name$1q, props2.size === "normal" ? "" : `${name$1q}--${props2.size}`, props2.isLink ? `${name$1q}--link` : ""],
4754
4790
  "style": style.value,
4755
4791
  "onClick": props2.isLink ? (event) => emit("click", event) : void 0
4756
4792
  }, [vue.createVNode("span", {
4757
- "class": bem$1l("main")
4793
+ "class": bem$1m("main")
4758
4794
  }, [vue.createVNode("span", {
4759
- "class": bem$1l("mark")
4795
+ "class": bem$1m("mark")
4760
4796
  }, null), vue.createVNode("span", {
4761
- "class": bem$1l("content")
4762
- }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), props2.isLink && vue.createVNode(stdin_default$1X, {
4797
+ "class": bem$1m("content")
4798
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), props2.isLink && vue.createVNode(stdin_default$1Y, {
4763
4799
  "name": "arrow",
4764
- "class": bem$1l("arrow")
4800
+ "class": bem$1m("arrow")
4765
4801
  }, null)]);
4766
4802
  };
4767
4803
  }
4768
4804
  });
4805
+ const [name$1p, bem$1l] = createNamespace("divider");
4806
+ const dividerProps = {
4807
+ dashed: Boolean,
4808
+ hairline: truthProp,
4809
+ contentPosition: makeStringProp("center")
4810
+ };
4811
+ var stdin_default$1w = vue.defineComponent({
4812
+ name: name$1p,
4813
+ props: dividerProps,
4814
+ setup(props2, {
4815
+ slots
4816
+ }) {
4817
+ return () => {
4818
+ var _a;
4819
+ return vue.createVNode("div", {
4820
+ "role": "separator",
4821
+ "class": bem$1l({
4822
+ dashed: props2.dashed,
4823
+ hairline: props2.hairline,
4824
+ [`content-${props2.contentPosition}`]: !!slots.default
4825
+ })
4826
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
4827
+ };
4828
+ }
4829
+ });
4830
+ const Divider = withInstall(stdin_default$1w);
4769
4831
  const [name$1o, bem$1k] = createNamespace("collapse-toggle");
4770
4832
  const collapseToggleProps = {
4771
4833
  modelValue: Boolean,
4834
+ divider: Boolean,
4772
4835
  expandText: makeStringProp("展开"),
4773
4836
  collapseText: makeStringProp("收起")
4774
4837
  };
@@ -4786,7 +4849,7 @@ var stdin_default$1v = vue.defineComponent({
4786
4849
  emit("update:modelValue", value);
4787
4850
  emit("change", value);
4788
4851
  };
4789
- return () => {
4852
+ const renderToggle = () => {
4790
4853
  var _a;
4791
4854
  const expanded = props2.modelValue;
4792
4855
  const text = expanded ? props2.collapseText : props2.expandText;
@@ -4805,6 +4868,14 @@ var stdin_default$1v = vue.defineComponent({
4805
4868
  "class": bem$1k("icon")
4806
4869
  }, null)]);
4807
4870
  };
4871
+ return () => {
4872
+ if (props2.divider) {
4873
+ return vue.createVNode("div", {
4874
+ "class": bem$1k("divider")
4875
+ }, [vue.createVNode(Divider, null, null), renderToggle(), vue.createVNode(Divider, null, null)]);
4876
+ }
4877
+ return renderToggle();
4878
+ };
4808
4879
  }
4809
4880
  });
4810
4881
  const [name$1n, bem$1j] = createNamespace("blue-mark-header");
@@ -4857,7 +4928,7 @@ var stdin_default$1u = vue.defineComponent({
4857
4928
  "onKeydown": onHeaderKeydown
4858
4929
  }, [vue.createVNode("div", {
4859
4930
  "class": bem$1j("main")
4860
- }, [vue.createVNode(stdin_default$1w, {
4931
+ }, [vue.createVNode(stdin_default$1x, {
4861
4932
  "size": props2.size,
4862
4933
  "class": bem$1j("title")
4863
4934
  }, {
@@ -4883,7 +4954,7 @@ var stdin_default$1u = vue.defineComponent({
4883
4954
  };
4884
4955
  }
4885
4956
  });
4886
- const BlueMark = withInstall(stdin_default$1w);
4957
+ const BlueMark = withInstall(stdin_default$1x);
4887
4958
  const BlueMarkHeader = withInstall(stdin_default$1u);
4888
4959
  const CollapseToggle = withInstall(stdin_default$1v);
4889
4960
  const [name$1m, bem$1i] = createNamespace("popover");
@@ -7917,7 +7988,7 @@ var stdin_default$1d = vue.defineComponent({
7917
7988
  }
7918
7989
  });
7919
7990
  const CellGroup = withInstall(stdin_default$1d);
7920
- const CheckboxGroup = withInstall(stdin_default$1M);
7991
+ const CheckboxGroup = withInstall(stdin_default$1N);
7921
7992
  const [name$15, bem$14] = createNamespace("nav-bar");
7922
7993
  const navBarProps = {
7923
7994
  title: String,
@@ -8667,7 +8738,7 @@ var stdin_default$16 = vue.defineComponent({
8667
8738
  }
8668
8739
  });
8669
8740
  const CollapseItem = withInstall(stdin_default$16);
8670
- const ConfigProvider = withInstall(stdin_default$1Z);
8741
+ const ConfigProvider = withInstall(stdin_default$1_);
8671
8742
  const [name$_, bem$Z, t$d] = createNamespace("contact-card");
8672
8743
  const contactCardProps = {
8673
8744
  tel: String,
@@ -10201,33 +10272,7 @@ Dialog.install = (app) => {
10201
10272
  app.use(Dialog.Component);
10202
10273
  app.config.globalProperties.$dialog = Dialog;
10203
10274
  };
10204
- const [name$N, bem$O] = createNamespace("divider");
10205
- const dividerProps = {
10206
- dashed: Boolean,
10207
- hairline: truthProp,
10208
- contentPosition: makeStringProp("center")
10209
- };
10210
- var stdin_default$U = vue.defineComponent({
10211
- name: name$N,
10212
- props: dividerProps,
10213
- setup(props2, {
10214
- slots
10215
- }) {
10216
- return () => {
10217
- var _a;
10218
- return vue.createVNode("div", {
10219
- "role": "separator",
10220
- "class": bem$O({
10221
- dashed: props2.dashed,
10222
- hairline: props2.hairline,
10223
- [`content-${props2.contentPosition}`]: !!slots.default
10224
- })
10225
- }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
10226
- };
10227
- }
10228
- });
10229
- const Divider = withInstall(stdin_default$U);
10230
- const [name$M, bem$N] = createNamespace("dropdown-menu");
10275
+ const [name$N, bem$O] = createNamespace("dropdown-menu");
10231
10276
  const dropdownMenuProps = {
10232
10277
  overlay: truthProp,
10233
10278
  zIndex: numericProp,
@@ -10239,9 +10284,9 @@ const dropdownMenuProps = {
10239
10284
  closeOnClickOutside: truthProp,
10240
10285
  closeOnClickOverlay: truthProp
10241
10286
  };
10242
- const DROPDOWN_KEY = Symbol(name$M);
10243
- var stdin_default$T = vue.defineComponent({
10244
- name: name$M,
10287
+ const DROPDOWN_KEY = Symbol(name$N);
10288
+ var stdin_default$U = vue.defineComponent({
10289
+ name: name$N,
10245
10290
  props: dropdownMenuProps,
10246
10291
  setup(props2, {
10247
10292
  slots
@@ -10313,7 +10358,7 @@ var stdin_default$T = vue.defineComponent({
10313
10358
  "id": `${id}-${index}`,
10314
10359
  "role": "button",
10315
10360
  "tabindex": disabled ? void 0 : 0,
10316
- "class": [bem$N("item", {
10361
+ "class": [bem$O("item", {
10317
10362
  disabled
10318
10363
  }), {
10319
10364
  [HAPTICS_FEEDBACK]: !disabled
@@ -10324,7 +10369,7 @@ var stdin_default$T = vue.defineComponent({
10324
10369
  }
10325
10370
  }
10326
10371
  }, [vue.createVNode("span", {
10327
- "class": [bem$N("title", {
10372
+ "class": [bem$O("title", {
10328
10373
  down: showPopup === (props2.direction === "down"),
10329
10374
  active: showPopup
10330
10375
  }), titleClass],
@@ -10349,18 +10394,18 @@ var stdin_default$T = vue.defineComponent({
10349
10394
  var _a;
10350
10395
  return vue.createVNode("div", {
10351
10396
  "ref": root,
10352
- "class": bem$N()
10397
+ "class": bem$O()
10353
10398
  }, [props2.showBar && vue.createVNode("div", {
10354
10399
  "ref": barRef,
10355
10400
  "style": barStyle.value,
10356
- "class": bem$N("bar", {
10401
+ "class": bem$O("bar", {
10357
10402
  opened: opened.value
10358
10403
  })
10359
10404
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
10360
10405
  };
10361
10406
  }
10362
10407
  });
10363
- const [name$L, bem$M] = createNamespace("dropdown-item");
10408
+ const [name$M, bem$N] = createNamespace("dropdown-item");
10364
10409
  const dropdownItemProps = {
10365
10410
  title: String,
10366
10411
  options: makeArrayProp(),
@@ -10370,8 +10415,8 @@ const dropdownItemProps = {
10370
10415
  modelValue: unknownProp,
10371
10416
  titleClass: unknownProp
10372
10417
  };
10373
- var stdin_default$S = vue.defineComponent({
10374
- name: name$L,
10418
+ var stdin_default$T = vue.defineComponent({
10419
+ name: name$M,
10375
10420
  props: dropdownItemProps,
10376
10421
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
10377
10422
  setup(props2, {
@@ -10441,7 +10486,7 @@ var stdin_default$S = vue.defineComponent({
10441
10486
  const renderIcon = () => {
10442
10487
  if (active) {
10443
10488
  return vue.createVNode(Icon, {
10444
- "class": bem$M("icon"),
10489
+ "class": bem$N("icon"),
10445
10490
  "color": activeColor,
10446
10491
  "name": "success"
10447
10492
  }, null);
@@ -10452,7 +10497,7 @@ var stdin_default$S = vue.defineComponent({
10452
10497
  "key": option.value,
10453
10498
  "icon": option.icon,
10454
10499
  "title": option.text,
10455
- "class": bem$M("option", {
10500
+ "class": bem$N("option", {
10456
10501
  active
10457
10502
  }),
10458
10503
  "style": {
@@ -10484,13 +10529,13 @@ var stdin_default$S = vue.defineComponent({
10484
10529
  }
10485
10530
  return vue.withDirectives(vue.createVNode("div", {
10486
10531
  "style": style,
10487
- "class": bem$M([direction]),
10532
+ "class": bem$N([direction]),
10488
10533
  "onClick": onClickWrapper
10489
10534
  }, [vue.createVNode(Popup, {
10490
10535
  "show": state.showPopup,
10491
10536
  "onUpdate:show": ($event) => state.showPopup = $event,
10492
10537
  "role": "menu",
10493
- "class": bem$M("content"),
10538
+ "class": bem$N("content"),
10494
10539
  "overlay": overlay,
10495
10540
  "position": direction === "down" ? "top" : "bottom",
10496
10541
  "duration": state.transition ? duration : 0,
@@ -10528,15 +10573,15 @@ var stdin_default$S = vue.defineComponent({
10528
10573
  };
10529
10574
  }
10530
10575
  });
10531
- const DropdownItem = withInstall(stdin_default$S);
10532
- const DropdownMenu = withInstall(stdin_default$T);
10533
- const [name$K, bem$L] = createNamespace("sidebar");
10534
- const SIDEBAR_KEY = Symbol(name$K);
10576
+ const DropdownItem = withInstall(stdin_default$T);
10577
+ const DropdownMenu = withInstall(stdin_default$U);
10578
+ const [name$L, bem$M] = createNamespace("sidebar");
10579
+ const SIDEBAR_KEY = Symbol(name$L);
10535
10580
  const sidebarProps = {
10536
10581
  modelValue: makeNumericProp(0)
10537
10582
  };
10538
- var stdin_default$R = vue.defineComponent({
10539
- name: name$K,
10583
+ var stdin_default$S = vue.defineComponent({
10584
+ name: name$L,
10540
10585
  props: sidebarProps,
10541
10586
  emits: ["change", "update:modelValue"],
10542
10587
  setup(props2, {
@@ -10561,13 +10606,13 @@ var stdin_default$R = vue.defineComponent({
10561
10606
  var _a;
10562
10607
  return vue.createVNode("div", {
10563
10608
  "role": "tablist",
10564
- "class": bem$L()
10609
+ "class": bem$M()
10565
10610
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
10566
10611
  };
10567
10612
  }
10568
10613
  });
10569
- const Sidebar = withInstall(stdin_default$R);
10570
- const [name$J, bem$K] = createNamespace("sidebar-item");
10614
+ const Sidebar = withInstall(stdin_default$S);
10615
+ const [name$K, bem$L] = createNamespace("sidebar-item");
10571
10616
  const sidebarItemProps = extend({}, routeProps, {
10572
10617
  dot: Boolean,
10573
10618
  title: String,
@@ -10575,8 +10620,8 @@ const sidebarItemProps = extend({}, routeProps, {
10575
10620
  disabled: Boolean,
10576
10621
  badgeProps: Object
10577
10622
  });
10578
- var stdin_default$Q = vue.defineComponent({
10579
- name: name$J,
10623
+ var stdin_default$R = vue.defineComponent({
10624
+ name: name$K,
10580
10625
  props: sidebarItemProps,
10581
10626
  emits: ["click"],
10582
10627
  setup(props2, {
@@ -10612,7 +10657,7 @@ var stdin_default$Q = vue.defineComponent({
10612
10657
  const selected = index.value === parent.getActive();
10613
10658
  return vue.createVNode("div", {
10614
10659
  "role": "tab",
10615
- "class": bem$K({
10660
+ "class": bem$L({
10616
10661
  select: selected,
10617
10662
  disabled
10618
10663
  }),
@@ -10621,7 +10666,7 @@ var stdin_default$Q = vue.defineComponent({
10621
10666
  "onClick": onClick
10622
10667
  }, [vue.createVNode(Badge, vue.mergeProps({
10623
10668
  "dot": dot,
10624
- "class": bem$K("text"),
10669
+ "class": bem$L("text"),
10625
10670
  "content": badge
10626
10671
  }, props2.badgeProps), {
10627
10672
  default: () => [slots.title ? slots.title() : title]
@@ -10629,8 +10674,8 @@ var stdin_default$Q = vue.defineComponent({
10629
10674
  };
10630
10675
  }
10631
10676
  });
10632
- const SidebarItem = withInstall(stdin_default$Q);
10633
- const [name$I, bem$J] = createNamespace("floor-select");
10677
+ const SidebarItem = withInstall(stdin_default$R);
10678
+ const [name$J, bem$K] = createNamespace("floor-select");
10634
10679
  const defaultBuildings = [{
10635
10680
  id: "building-a",
10636
10681
  text: "建筑A座",
@@ -10745,8 +10790,8 @@ const floorSelectProps = {
10745
10790
  },
10746
10791
  more: Boolean
10747
10792
  };
10748
- var stdin_default$P = vue.defineComponent({
10749
- name: name$I,
10793
+ var stdin_default$Q = vue.defineComponent({
10794
+ name: name$J,
10750
10795
  props: floorSelectProps,
10751
10796
  emits: ["change", "update:activeBuilding", "update:modelValue"],
10752
10797
  setup(props2, {
@@ -10804,7 +10849,7 @@ var stdin_default$P = vue.defineComponent({
10804
10849
  });
10805
10850
  return vue.createVNode("div", {
10806
10851
  "key": item.id,
10807
- "class": bem$J("cell")
10852
+ "class": bem$K("cell")
10808
10853
  }, [cell || vue.createVNode(Cell, {
10809
10854
  "title": item.text,
10810
10855
  "border": index < spaces.value.length - 1,
@@ -10816,14 +10861,14 @@ var stdin_default$P = vue.defineComponent({
10816
10861
  }, null)]);
10817
10862
  };
10818
10863
  return () => vue.createVNode("div", {
10819
- "class": bem$J()
10864
+ "class": bem$K()
10820
10865
  }, [vue.createVNode(Tabs, {
10821
10866
  "active": activeBuilding.value,
10822
10867
  "type": "filter",
10823
10868
  "shrink": true,
10824
10869
  "more": props2.more,
10825
10870
  "showMore": showMore.value,
10826
- "class": bem$J("tabs"),
10871
+ "class": bem$K("tabs"),
10827
10872
  "onUpdate:active": selectBuilding,
10828
10873
  "onUpdate:showMore": (value) => {
10829
10874
  showMore.value = value;
@@ -10835,10 +10880,10 @@ var stdin_default$P = vue.defineComponent({
10835
10880
  "title": building.text
10836
10881
  }, null))]
10837
10882
  }), vue.createVNode("div", {
10838
- "class": bem$J("content")
10883
+ "class": bem$K("content")
10839
10884
  }, [vue.createVNode(Sidebar, {
10840
10885
  "modelValue": activeFloor.value,
10841
- "class": bem$J("sidebar"),
10886
+ "class": bem$K("sidebar"),
10842
10887
  "onUpdate:modelValue": (value) => {
10843
10888
  activeFloor.value = +value;
10844
10889
  }
@@ -10853,19 +10898,19 @@ var stdin_default$P = vue.defineComponent({
10853
10898
  "disabled": floor.disabled
10854
10899
  }, null))]
10855
10900
  }), vue.createVNode("div", {
10856
- "class": bem$J("cells")
10901
+ "class": bem$K("cells")
10857
10902
  }, [spaces.value.map(renderCell)])])]);
10858
10903
  }
10859
10904
  });
10860
- const FloorSelect = withInstall(stdin_default$P);
10861
- const [name$H, bem$I] = createNamespace("form-panel");
10905
+ const FloorSelect = withInstall(stdin_default$Q);
10906
+ const [name$I, bem$J] = createNamespace("form-panel");
10862
10907
  const formPanelProps = {
10863
10908
  show: Boolean,
10864
10909
  title: String,
10865
10910
  confirmText: makeStringProp("确定")
10866
10911
  };
10867
- var stdin_default$O = vue.defineComponent({
10868
- name: name$H,
10912
+ var stdin_default$P = vue.defineComponent({
10913
+ name: name$I,
10869
10914
  props: formPanelProps,
10870
10915
  emits: ["update:show", "confirm"],
10871
10916
  setup(props2, {
@@ -10879,19 +10924,19 @@ var stdin_default$O = vue.defineComponent({
10879
10924
  };
10880
10925
  return () => vue.createVNode(ActionSheet, {
10881
10926
  "show": props2.show,
10882
- "class": bem$I(),
10927
+ "class": bem$J(),
10883
10928
  "onUpdate:show": (show) => emit("update:show", show)
10884
10929
  }, {
10885
10930
  default: () => {
10886
10931
  var _a;
10887
10932
  return [vue.createVNode("div", {
10888
- "class": bem$I("content")
10933
+ "class": bem$J("content")
10889
10934
  }, [vue.createVNode("div", {
10890
- "class": bem$I("nav-wrapper")
10935
+ "class": bem$J("nav-wrapper")
10891
10936
  }, [vue.createVNode(NavBar, {
10892
10937
  "title": props2.title,
10893
10938
  "border": false,
10894
- "class": bem$I("nav")
10939
+ "class": bem$J("nav")
10895
10940
  }, {
10896
10941
  left: () => vue.createVNode(Icon, {
10897
10942
  "name": "cross",
@@ -10899,9 +10944,9 @@ var stdin_default$O = vue.defineComponent({
10899
10944
  "onClick": close
10900
10945
  }, null)
10901
10946
  })]), vue.createVNode("div", {
10902
- "class": bem$I("body")
10947
+ "class": bem$J("body")
10903
10948
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), vue.createVNode("div", {
10904
- "class": bem$I("footer")
10949
+ "class": bem$J("footer")
10905
10950
  }, [vue.createVNode(Button, {
10906
10951
  "block": true,
10907
10952
  "type": "primary",
@@ -10913,8 +10958,8 @@ var stdin_default$O = vue.defineComponent({
10913
10958
  });
10914
10959
  }
10915
10960
  });
10916
- const FormPanel = withInstall(stdin_default$O);
10917
- const [name$G, bem$H] = createNamespace("friendly-tip");
10961
+ const FormPanel = withInstall(stdin_default$P);
10962
+ const [name$H, bem$I] = createNamespace("friendly-tip");
10918
10963
  const friendlyTipProps = {
10919
10964
  show: truthProp,
10920
10965
  message: String,
@@ -10931,8 +10976,8 @@ const friendlyTipProps = {
10931
10976
  default: "body"
10932
10977
  }
10933
10978
  };
10934
- var stdin_default$N = vue.defineComponent({
10935
- name: name$G,
10979
+ var stdin_default$O = vue.defineComponent({
10980
+ name: name$H,
10936
10981
  props: friendlyTipProps,
10937
10982
  emits: ["update:show"],
10938
10983
  setup(props2, {
@@ -10943,7 +10988,7 @@ var stdin_default$N = vue.defineComponent({
10943
10988
  return () => vue.createVNode(Popover, {
10944
10989
  "show": props2.show,
10945
10990
  "trigger": "manual",
10946
- "class": bem$H("popover"),
10991
+ "class": bem$I("popover"),
10947
10992
  "placement": props2.placement,
10948
10993
  "showArrow": props2.showArrow,
10949
10994
  "iconPrefix": props2.iconPrefix,
@@ -10956,19 +11001,19 @@ var stdin_default$N = vue.defineComponent({
10956
11001
  return (_a = slots.reference) == null ? void 0 : _a.call(slots);
10957
11002
  },
10958
11003
  default: () => vue.createVNode("div", {
10959
- "class": bem$H()
11004
+ "class": bem$I()
10960
11005
  }, [props2.icon && vue.createVNode(Icon, {
10961
11006
  "name": props2.icon,
10962
- "class": bem$H("icon"),
11007
+ "class": bem$I("icon"),
10963
11008
  "classPrefix": props2.iconPrefix
10964
11009
  }, null), vue.createVNode("span", {
10965
- "class": bem$H("message")
11010
+ "class": bem$I("message")
10966
11011
  }, [slots.default ? slots.default() : props2.message])])
10967
11012
  });
10968
11013
  }
10969
11014
  });
10970
- const FriendlyTip = withInstall(stdin_default$N);
10971
- const [name$F, bem$G] = createNamespace("grid");
11015
+ const FriendlyTip = withInstall(stdin_default$O);
11016
+ const [name$G, bem$H] = createNamespace("grid");
10972
11017
  const gridProps = {
10973
11018
  square: Boolean,
10974
11019
  center: truthProp,
@@ -10980,9 +11025,9 @@ const gridProps = {
10980
11025
  clickable: Boolean,
10981
11026
  columnNum: makeNumericProp(4)
10982
11027
  };
10983
- const GRID_KEY = Symbol(name$F);
10984
- var stdin_default$M = vue.defineComponent({
10985
- name: name$F,
11028
+ const GRID_KEY = Symbol(name$G);
11029
+ var stdin_default$N = vue.defineComponent({
11030
+ name: name$G,
10986
11031
  props: gridProps,
10987
11032
  setup(props2, {
10988
11033
  slots
@@ -10999,15 +11044,15 @@ var stdin_default$M = vue.defineComponent({
10999
11044
  "style": {
11000
11045
  paddingLeft: addUnit(props2.gutter)
11001
11046
  },
11002
- "class": [bem$G(), {
11047
+ "class": [bem$H(), {
11003
11048
  [BORDER_TOP]: props2.border && !props2.gutter
11004
11049
  }]
11005
11050
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
11006
11051
  };
11007
11052
  }
11008
11053
  });
11009
- const Grid = withInstall(stdin_default$M);
11010
- const [name$E, bem$F] = createNamespace("grid-item");
11054
+ const Grid = withInstall(stdin_default$N);
11055
+ const [name$F, bem$G] = createNamespace("grid-item");
11011
11056
  const gridItemProps = extend({}, routeProps, {
11012
11057
  dot: Boolean,
11013
11058
  text: String,
@@ -11017,8 +11062,8 @@ const gridItemProps = extend({}, routeProps, {
11017
11062
  iconPrefix: String,
11018
11063
  badgeProps: Object
11019
11064
  });
11020
- var stdin_default$L = vue.defineComponent({
11021
- name: name$E,
11065
+ var stdin_default$M = vue.defineComponent({
11066
+ name: name$F,
11022
11067
  props: gridItemProps,
11023
11068
  setup(props2, {
11024
11069
  slots
@@ -11084,7 +11129,7 @@ var stdin_default$L = vue.defineComponent({
11084
11129
  "name": props2.icon,
11085
11130
  "size": parent.props.iconSize,
11086
11131
  "badge": props2.badge,
11087
- "class": bem$F("icon"),
11132
+ "class": bem$G("icon"),
11088
11133
  "color": props2.iconColor,
11089
11134
  "badgeProps": props2.badgeProps,
11090
11135
  "classPrefix": props2.iconPrefix
@@ -11097,7 +11142,7 @@ var stdin_default$L = vue.defineComponent({
11097
11142
  }
11098
11143
  if (props2.text) {
11099
11144
  return vue.createVNode("span", {
11100
- "class": bem$F("text")
11145
+ "class": bem$G("text")
11101
11146
  }, [props2.text]);
11102
11147
  }
11103
11148
  };
@@ -11117,7 +11162,7 @@ var stdin_default$L = vue.defineComponent({
11117
11162
  direction,
11118
11163
  clickable
11119
11164
  } = parent.props;
11120
- const classes = [bem$F("content", [direction, {
11165
+ const classes = [bem$G("content", [direction, {
11121
11166
  center,
11122
11167
  square,
11123
11168
  reverse,
@@ -11127,7 +11172,7 @@ var stdin_default$L = vue.defineComponent({
11127
11172
  [BORDER]: border
11128
11173
  }];
11129
11174
  return vue.createVNode("div", {
11130
- "class": [bem$F({
11175
+ "class": [bem$G({
11131
11176
  square
11132
11177
  })],
11133
11178
  "style": rootStyle.value
@@ -11141,10 +11186,10 @@ var stdin_default$L = vue.defineComponent({
11141
11186
  };
11142
11187
  }
11143
11188
  });
11144
- const GridItem = withInstall(stdin_default$L);
11189
+ const GridItem = withInstall(stdin_default$M);
11145
11190
  const getDistance = (touches) => Math.sqrt((touches[0].clientX - touches[1].clientX) ** 2 + (touches[0].clientY - touches[1].clientY) ** 2);
11146
- const bem$E = createNamespace("image-preview")[1];
11147
- var stdin_default$K = vue.defineComponent({
11191
+ const bem$F = createNamespace("image-preview")[1];
11192
+ var stdin_default$L = vue.defineComponent({
11148
11193
  props: {
11149
11194
  src: String,
11150
11195
  show: Boolean,
@@ -11370,19 +11415,19 @@ var stdin_default$K = vue.defineComponent({
11370
11415
  };
11371
11416
  return vue.createVNode(SwipeItem, {
11372
11417
  "ref": swipeItem,
11373
- "class": bem$E("swipe-item"),
11418
+ "class": bem$F("swipe-item"),
11374
11419
  "onTouchstartPassive": onTouchStart,
11375
11420
  "onTouchend": onTouchEnd,
11376
11421
  "onTouchcancel": onTouchEnd
11377
11422
  }, {
11378
11423
  default: () => [slots.image ? vue.createVNode("div", {
11379
- "class": bem$E("image-wrap")
11424
+ "class": bem$F("image-wrap")
11380
11425
  }, [slots.image({
11381
11426
  src: props2.src
11382
11427
  })]) : vue.createVNode(Image$1, {
11383
11428
  "src": props2.src,
11384
11429
  "fit": "contain",
11385
- "class": bem$E("image", {
11430
+ "class": bem$F("image", {
11386
11431
  vertical: vertical.value
11387
11432
  }),
11388
11433
  "style": imageStyle.value,
@@ -11392,7 +11437,7 @@ var stdin_default$K = vue.defineComponent({
11392
11437
  };
11393
11438
  }
11394
11439
  });
11395
- const [name$D, bem$D] = createNamespace("image-preview");
11440
+ const [name$E, bem$E] = createNamespace("image-preview");
11396
11441
  const popupProps$1 = ["show", "transition", "overlayStyle", "closeOnPopstate"];
11397
11442
  const imagePreviewProps = {
11398
11443
  show: Boolean,
@@ -11415,8 +11460,8 @@ const imagePreviewProps = {
11415
11460
  closeOnPopstate: truthProp,
11416
11461
  closeIconPosition: makeStringProp("top-right")
11417
11462
  };
11418
- var stdin_default$J = vue.defineComponent({
11419
- name: name$D,
11463
+ var stdin_default$K = vue.defineComponent({
11464
+ name: name$E,
11420
11465
  props: imagePreviewProps,
11421
11466
  emits: ["scale", "close", "closed", "change", "update:show"],
11422
11467
  setup(props2, {
@@ -11454,7 +11499,7 @@ var stdin_default$J = vue.defineComponent({
11454
11499
  const renderIndex = () => {
11455
11500
  if (props2.showIndex) {
11456
11501
  return vue.createVNode("div", {
11457
- "class": bem$D("index")
11502
+ "class": bem$E("index")
11458
11503
  }, [slots.index ? slots.index({
11459
11504
  index: state.active
11460
11505
  }) : `${state.active + 1} / ${props2.images.length}`]);
@@ -11463,7 +11508,7 @@ var stdin_default$J = vue.defineComponent({
11463
11508
  const renderCover = () => {
11464
11509
  if (slots.cover) {
11465
11510
  return vue.createVNode("div", {
11466
- "class": bem$D("cover")
11511
+ "class": bem$E("cover")
11467
11512
  }, [slots.cover()]);
11468
11513
  }
11469
11514
  };
@@ -11471,14 +11516,14 @@ var stdin_default$J = vue.defineComponent({
11471
11516
  "ref": swipeRef,
11472
11517
  "lazyRender": true,
11473
11518
  "loop": props2.loop,
11474
- "class": bem$D("swipe"),
11519
+ "class": bem$E("swipe"),
11475
11520
  "duration": props2.swipeDuration,
11476
11521
  "initialSwipe": props2.startPosition,
11477
11522
  "showIndicators": props2.showIndicators,
11478
11523
  "indicatorColor": "white",
11479
11524
  "onChange": setActive
11480
11525
  }, {
11481
- default: () => [props2.images.map((image) => vue.createVNode(stdin_default$K, {
11526
+ default: () => [props2.images.map((image) => vue.createVNode(stdin_default$L, {
11482
11527
  "src": image,
11483
11528
  "show": props2.show,
11484
11529
  "active": state.active,
@@ -11497,7 +11542,7 @@ var stdin_default$J = vue.defineComponent({
11497
11542
  return vue.createVNode(Icon, {
11498
11543
  "role": "button",
11499
11544
  "name": props2.closeIcon,
11500
- "class": [bem$D("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
11545
+ "class": [bem$E("close-icon", props2.closeIconPosition), HAPTICS_FEEDBACK],
11501
11546
  "onClick": emitClose
11502
11547
  }, null);
11503
11548
  }
@@ -11534,8 +11579,8 @@ var stdin_default$J = vue.defineComponent({
11534
11579
  }
11535
11580
  });
11536
11581
  return () => vue.createVNode(Popup, vue.mergeProps({
11537
- "class": [bem$D(), props2.className],
11538
- "overlayClass": [bem$D("overlay"), props2.overlayClass],
11582
+ "class": [bem$E(), props2.className],
11583
+ "overlayClass": [bem$E("overlay"), props2.overlayClass],
11539
11584
  "onClosed": onClosed,
11540
11585
  "onUpdate:show": updateShow
11541
11586
  }, pick(props2, popupProps$1)), {
@@ -11579,7 +11624,7 @@ function initInstance$2() {
11579
11624
  const onClosed = () => {
11580
11625
  state.images = [];
11581
11626
  };
11582
- return () => vue.createVNode(stdin_default$J, vue.mergeProps(state, {
11627
+ return () => vue.createVNode(stdin_default$K, vue.mergeProps(state, {
11583
11628
  "onClosed": onClosed,
11584
11629
  "onUpdate:show": toggle
11585
11630
  }), null);
@@ -11600,7 +11645,7 @@ const ImagePreview = (options, startPosition = 0) => {
11600
11645
  instance$2.open(extend({}, defaultConfig$1, options));
11601
11646
  return instance$2;
11602
11647
  };
11603
- ImagePreview.Component = withInstall(stdin_default$J);
11648
+ ImagePreview.Component = withInstall(stdin_default$K);
11604
11649
  ImagePreview.install = (app) => {
11605
11650
  app.use(ImagePreview.Component);
11606
11651
  };
@@ -11609,7 +11654,7 @@ function genAlphabet() {
11609
11654
  const indexList = Array(26).fill("").map((_, i) => String.fromCharCode(charCodeOfA + i));
11610
11655
  return indexList;
11611
11656
  }
11612
- const [name$C, bem$C] = createNamespace("index-bar");
11657
+ const [name$D, bem$D] = createNamespace("index-bar");
11613
11658
  const indexBarProps = {
11614
11659
  sticky: truthProp,
11615
11660
  zIndex: numericProp,
@@ -11621,9 +11666,9 @@ const indexBarProps = {
11621
11666
  default: genAlphabet
11622
11667
  }
11623
11668
  };
11624
- const INDEX_BAR_KEY = Symbol(name$C);
11625
- var stdin_default$I = vue.defineComponent({
11626
- name: name$C,
11669
+ const INDEX_BAR_KEY = Symbol(name$D);
11670
+ var stdin_default$J = vue.defineComponent({
11671
+ name: name$D,
11627
11672
  props: indexBarProps,
11628
11673
  emits: ["select", "change"],
11629
11674
  setup(props2, {
@@ -11735,7 +11780,7 @@ var stdin_default$I = vue.defineComponent({
11735
11780
  const renderIndexes = () => props2.indexList.map((index) => {
11736
11781
  const active = index === activeAnchor.value;
11737
11782
  return vue.createVNode("span", {
11738
- "class": bem$C("index", {
11783
+ "class": bem$D("index", {
11739
11784
  active
11740
11785
  }),
11741
11786
  "style": active ? highlightStyle.value : void 0,
@@ -11796,7 +11841,7 @@ var stdin_default$I = vue.defineComponent({
11796
11841
  };
11797
11842
  const renderSidebar = () => vue.createVNode("div", {
11798
11843
  "ref": sidebar,
11799
- "class": bem$C("sidebar"),
11844
+ "class": bem$D("sidebar"),
11800
11845
  "style": sidebarStyle.value,
11801
11846
  "onClick": onClickSidebar,
11802
11847
  "onTouchstartPassive": touch.start
@@ -11812,7 +11857,7 @@ var stdin_default$I = vue.defineComponent({
11812
11857
  var _a;
11813
11858
  return vue.createVNode("div", {
11814
11859
  "ref": root,
11815
- "class": bem$C()
11860
+ "class": bem$D()
11816
11861
  }, [props2.teleport ? vue.createVNode(vue.Teleport, {
11817
11862
  "to": props2.teleport
11818
11863
  }, {
@@ -11821,12 +11866,12 @@ var stdin_default$I = vue.defineComponent({
11821
11866
  };
11822
11867
  }
11823
11868
  });
11824
- const [name$B, bem$B] = createNamespace("index-anchor");
11869
+ const [name$C, bem$C] = createNamespace("index-anchor");
11825
11870
  const indexAnchorProps = {
11826
11871
  index: numericProp
11827
11872
  };
11828
- var stdin_default$H = vue.defineComponent({
11829
- name: name$B,
11873
+ var stdin_default$I = vue.defineComponent({
11874
+ name: name$C,
11830
11875
  props: indexAnchorProps,
11831
11876
  setup(props2, {
11832
11877
  slots
@@ -11889,7 +11934,7 @@ var stdin_default$H = vue.defineComponent({
11889
11934
  }
11890
11935
  }, [vue.createVNode("div", {
11891
11936
  "style": anchorStyle.value,
11892
- "class": [bem$B({
11937
+ "class": [bem$C({
11893
11938
  sticky
11894
11939
  }), {
11895
11940
  [BORDER_BOTTOM]: sticky
@@ -11898,15 +11943,16 @@ var stdin_default$H = vue.defineComponent({
11898
11943
  };
11899
11944
  }
11900
11945
  });
11901
- const IndexAnchor = withInstall(stdin_default$H);
11902
- const IndexBar = withInstall(stdin_default$I);
11903
- const [name$A, bem$A] = createNamespace("label");
11946
+ const IndexAnchor = withInstall(stdin_default$I);
11947
+ const IndexBar = withInstall(stdin_default$J);
11948
+ const [name$B, bem$B] = createNamespace("label");
11904
11949
  const labelProps = {
11905
11950
  label: makeStringProp(""),
11906
11951
  content: makeStringProp(""),
11907
11952
  type: makeStringProp("default"),
11908
11953
  vertical: Boolean,
11909
11954
  href: String,
11955
+ location: String,
11910
11956
  tags: {
11911
11957
  type: Array,
11912
11958
  default: () => []
@@ -11916,8 +11962,8 @@ const labelProps = {
11916
11962
  default: () => []
11917
11963
  }
11918
11964
  };
11919
- var stdin_default$G = vue.defineComponent({
11920
- name: name$A,
11965
+ var stdin_default$H = vue.defineComponent({
11966
+ name: name$B,
11921
11967
  props: labelProps,
11922
11968
  emits: ["click", "click-media"],
11923
11969
  setup(props2, {
@@ -11925,26 +11971,27 @@ var stdin_default$G = vue.defineComponent({
11925
11971
  emit
11926
11972
  }) {
11927
11973
  const vertical = vue.computed(() => props2.vertical || props2.type === "media");
11974
+ const showLocation = vue.computed(() => props2.vertical && (props2.type === "bold" || props2.type === "link") && !!props2.location);
11928
11975
  const renderText = () => {
11929
11976
  var _a;
11930
11977
  const content = ((_a = slots.default) == null ? void 0 : _a.call(slots)) || props2.content;
11931
11978
  if (props2.type === "link") {
11932
11979
  return props2.href ? vue.createVNode("a", {
11933
- "class": bem$A("link"),
11980
+ "class": bem$B("link"),
11934
11981
  "href": props2.href,
11935
11982
  "onClick": (event) => emit("click", event)
11936
11983
  }, [content]) : vue.createVNode("button", {
11937
- "class": bem$A("link"),
11984
+ "class": bem$B("link"),
11938
11985
  "type": "button",
11939
11986
  "onClick": (event) => emit("click", event)
11940
11987
  }, [content]);
11941
11988
  }
11942
11989
  return vue.createVNode("span", {
11943
- "class": bem$A("text")
11990
+ "class": bem$B("text")
11944
11991
  }, [content]);
11945
11992
  };
11946
11993
  const renderTags = () => vue.createVNode("div", {
11947
- "class": bem$A("tags")
11994
+ "class": bem$B("tags")
11948
11995
  }, [props2.tags.map((tag) => vue.createVNode(Tag, {
11949
11996
  "key": tag,
11950
11997
  "type": "gray"
@@ -11952,10 +11999,10 @@ var stdin_default$G = vue.defineComponent({
11952
11999
  default: () => [tag]
11953
12000
  }))]);
11954
12001
  const renderMedia = () => vue.createVNode("div", {
11955
- "class": bem$A("media")
12002
+ "class": bem$B("media")
11956
12003
  }, [props2.media.map((item, index) => vue.createVNode("button", {
11957
12004
  "key": `${item.url}-${index}`,
11958
- "class": bem$A("media-item"),
12005
+ "class": bem$B("media-item"),
11959
12006
  "type": "button",
11960
12007
  "onClick": (event) => emit("click-media", item, index, event)
11961
12008
  }, [vue.createVNode(Image$1, {
@@ -11967,7 +12014,7 @@ var stdin_default$G = vue.defineComponent({
11967
12014
  "fit": "cover"
11968
12015
  }, null), item.type === "video" && vue.createVNode(Icon, {
11969
12016
  "name": "play-circle-o",
11970
- "class": bem$A("play")
12017
+ "class": bem$B("play")
11971
12018
  }, null)]))]);
11972
12019
  const renderContent = () => {
11973
12020
  if (props2.type === "tag")
@@ -11977,17 +12024,99 @@ var stdin_default$G = vue.defineComponent({
11977
12024
  return renderText();
11978
12025
  };
11979
12026
  return () => vue.createVNode("div", {
11980
- "class": bem$A([props2.type, {
11981
- vertical: vertical.value
12027
+ "class": bem$B([props2.type, {
12028
+ vertical: vertical.value,
12029
+ location: showLocation.value
11982
12030
  }])
11983
12031
  }, [vue.createVNode("span", {
11984
- "class": bem$A("label")
12032
+ "class": bem$B("label")
11985
12033
  }, [props2.label]), vue.createVNode("div", {
11986
- "class": bem$A("value")
11987
- }, [renderContent()])]);
12034
+ "class": bem$B("value")
12035
+ }, [renderContent(), showLocation.value && vue.createVNode("div", {
12036
+ "class": bem$B("location")
12037
+ }, [vue.createVNode(Icon, {
12038
+ "name": "location-o"
12039
+ }, null), vue.createVNode("span", null, [props2.location])])])]);
12040
+ }
12041
+ });
12042
+ const Label = withInstall(stdin_default$H);
12043
+ const [name$A, bem$A] = createNamespace("info-card");
12044
+ const infoCardProps = {
12045
+ title: makeStringProp(""),
12046
+ showTitle: truthProp,
12047
+ fields: {
12048
+ type: Array,
12049
+ default: () => []
12050
+ },
12051
+ extraFields: {
12052
+ type: Array,
12053
+ default: () => []
12054
+ },
12055
+ modelValue: Boolean,
12056
+ collapsible: Boolean,
12057
+ showCollapse: truthProp,
12058
+ divider: Boolean,
12059
+ expandText: makeStringProp("查看更多"),
12060
+ collapseText: makeStringProp("收起")
12061
+ };
12062
+ var stdin_default$G = vue.defineComponent({
12063
+ name: name$A,
12064
+ props: infoCardProps,
12065
+ emits: ["update:modelValue", "change", "click", "click-media"],
12066
+ setup(props2, {
12067
+ slots,
12068
+ emit
12069
+ }) {
12070
+ const visibleFields = vue.computed(() => props2.fields.filter((field) => field.visible !== false));
12071
+ const visibleExtraFields = vue.computed(() => props2.extraFields.filter((field) => field.visible !== false));
12072
+ const hasExtra = vue.computed(() => visibleExtraFields.value.length > 0 || !!slots.extra);
12073
+ const showCollapse = vue.computed(() => props2.collapsible && props2.showCollapse);
12074
+ const showExtra = vue.computed(() => !showCollapse.value || props2.modelValue);
12075
+ const renderField = (field, index) => vue.createVNode(Label, {
12076
+ "key": `${field.label}-${index}`,
12077
+ "label": field.label,
12078
+ "content": field.content,
12079
+ "type": field.type,
12080
+ "vertical": field.vertical,
12081
+ "href": field.href,
12082
+ "tags": field.tags,
12083
+ "media": field.media,
12084
+ "onClick": (event) => emit("click", field, index, event),
12085
+ "onClick-media": (item, mediaIndex, event) => emit("click-media", item, mediaIndex, field, index, event)
12086
+ }, null);
12087
+ const renderExtra = () => {
12088
+ var _a;
12089
+ if (!hasExtra.value)
12090
+ return;
12091
+ const extraSlot = (_a = slots.extra) == null ? void 0 : _a.call(slots);
12092
+ return vue.createVNode(vue.Transition, {
12093
+ "name": "van-info-card-expand"
12094
+ }, {
12095
+ default: () => [showExtra.value && vue.createVNode("div", {
12096
+ "class": bem$A("extra")
12097
+ }, [visibleExtraFields.value.map(renderField), extraSlot])]
12098
+ });
12099
+ };
12100
+ return () => {
12101
+ var _a, _b;
12102
+ return vue.createVNode("section", {
12103
+ "class": bem$A()
12104
+ }, [props2.showTitle && (slots.title || props2.title) && vue.createVNode("div", {
12105
+ "class": bem$A("title")
12106
+ }, [((_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 && vue.createVNode(CollapseToggle, {
12107
+ "modelValue": props2.modelValue,
12108
+ "divider": true,
12109
+ "expandText": props2.expandText,
12110
+ "collapseText": props2.collapseText,
12111
+ "onUpdate:modelValue": (value) => emit("update:modelValue", value),
12112
+ "onChange": (value) => emit("change", value)
12113
+ }, null), hasExtra.value && !showCollapse.value && props2.divider && vue.createVNode(Divider, {
12114
+ "class": bem$A("divider")
12115
+ }, null), renderExtra()]);
12116
+ };
11988
12117
  }
11989
12118
  });
11990
- const Label = withInstall(stdin_default$G);
12119
+ const InfoCard = withInstall(stdin_default$G);
11991
12120
  const [name$z, bem$z, t$6] = createNamespace("list");
11992
12121
  const listProps = {
11993
12122
  error: Boolean,
@@ -19672,7 +19801,7 @@ const Lazyload = {
19672
19801
  });
19673
19802
  }
19674
19803
  };
19675
- const version = "0.0.28";
19804
+ const version = "0.0.30";
19676
19805
  function install(app) {
19677
19806
  const components = [
19678
19807
  ActionBar,
@@ -19726,6 +19855,7 @@ function install(app) {
19726
19855
  ImagePreview,
19727
19856
  IndexAnchor,
19728
19857
  IndexBar,
19858
+ InfoCard,
19729
19859
  Label,
19730
19860
  List,
19731
19861
  Loading,
@@ -19847,6 +19977,7 @@ exports.Image = Image$1;
19847
19977
  exports.ImagePreview = ImagePreview;
19848
19978
  exports.IndexAnchor = IndexAnchor;
19849
19979
  exports.IndexBar = IndexBar;
19980
+ exports.InfoCard = InfoCard;
19850
19981
  exports.Label = Label;
19851
19982
  exports.Lazyload = Lazyload;
19852
19983
  exports.List = List;