hcui-package 2.0.16 → 2.0.19

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.
@@ -33693,6 +33693,22 @@ const c8 = {
33693
33693
  type: {
33694
33694
  type: String,
33695
33695
  default: "1"
33696
+ },
33697
+ startPlaceholder: {
33698
+ type: String,
33699
+ default: "开始时间"
33700
+ },
33701
+ endPlaceholder: {
33702
+ type: String,
33703
+ default: "结束时间"
33704
+ },
33705
+ startClearable: {
33706
+ type: Boolean,
33707
+ default: !0
33708
+ },
33709
+ endClearable: {
33710
+ type: Boolean,
33711
+ default: !0
33696
33712
  }
33697
33713
  },
33698
33714
  emits: ["update:startDate", "update:endDate"],
@@ -33730,10 +33746,10 @@ const c8 = {
33730
33746
  x[1] || (x[1] = (v) => d("startDate"))
33731
33747
  ],
33732
33748
  type: e.datetype,
33733
- clearable: "",
33734
- placeholder: "开始时间",
33749
+ clearable: e.startClearable,
33750
+ placeholder: e.startPlaceholder,
33735
33751
  "is-date-disabled": p
33736
- }, null, 8, ["value", "type"]),
33752
+ }, null, 8, ["value", "type", "clearable", "placeholder"]),
33737
33753
  Hn(Bn(XC), {
33738
33754
  value: l.value,
33739
33755
  "onUpdate:value": [
@@ -33741,10 +33757,10 @@ const c8 = {
33741
33757
  x[3] || (x[3] = (v) => d("endDate"))
33742
33758
  ],
33743
33759
  type: e.datetype,
33744
- clearable: "",
33745
- placeholder: "结束时间",
33760
+ clearable: e.endClearable,
33761
+ placeholder: e.endPlaceholder,
33746
33762
  "is-date-disabled": m
33747
- }, null, 8, ["value", "type"]),
33763
+ }, null, 8, ["value", "type", "clearable", "placeholder"]),
33748
33764
  Hn(Bn(Hp), {
33749
33765
  value: s.value,
33750
33766
  "onUpdate:value": [
@@ -78922,7 +78938,9 @@ function uee(e = {}, t, n, o) {
78922
78938
  typeof S.formData[R] == "string" && (S.formData[R] = S.formData[R].trim()), !S.formData[R] && S.formData[R] !== 0 && S.formData[R] !== !1 && delete S.formData[R];
78923
78939
  g.value = !0;
78924
78940
  const D = await t(S).finally(() => {
78925
- g.value = !1;
78941
+ setTimeout(() => {
78942
+ g.value = !1;
78943
+ }, 200);
78926
78944
  });
78927
78945
  D && D[s] ? (m.value = D[s], x.itemCount = Number(D[c])) : m.value = D || [];
78928
78946
  }, x = rn({