@bsgoal/common 2.16.2 → 2.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -6262,7 +6262,7 @@ const up = { class: "bsgoal-base-button" }, Ti = Object.assign({
6262
6262
  return A;
6263
6263
  }), b = $e(() => {
6264
6264
  const { mode: p = "", icon: A = "" } = s;
6265
- if (console.log("icon", A), A !== !1)
6265
+ if (A !== !1)
6266
6266
  switch (p) {
6267
6267
  case "delete":
6268
6268
  return xo;
@@ -6807,6 +6807,65 @@ const Sp = { class: "bsgoal-base-time" }, Tp = Object.assign({
6807
6807
  format: {
6808
6808
  type: [String],
6809
6809
  default: "HH:mm"
6810
+ },
6811
+ /**
6812
+ * 箭头进行选择
6813
+ */
6814
+ arrowControl: {
6815
+ type: [Boolean],
6816
+ default: !1
6817
+ },
6818
+ /**
6819
+ * 禁止选择部分小时选项
6820
+ */
6821
+ disabledHours: {
6822
+ type: [Function],
6823
+ default: () => {
6824
+ }
6825
+ },
6826
+ /**
6827
+ * 禁止选择部分分钟选项
6828
+ */
6829
+ disabledMinutes: {
6830
+ type: [Function],
6831
+ default: () => {
6832
+ }
6833
+ },
6834
+ /**
6835
+ * 禁止选择部分秒选项
6836
+ */
6837
+ disabledSeconds: {
6838
+ type: [Function],
6839
+ default: () => {
6840
+ }
6841
+ },
6842
+ /**
6843
+ * 完全只读
6844
+ */
6845
+ readonly: {
6846
+ type: [Boolean],
6847
+ default: !1
6848
+ },
6849
+ /**
6850
+ * 禁用
6851
+ */
6852
+ disabled: {
6853
+ type: [Boolean],
6854
+ default: !1
6855
+ },
6856
+ /**
6857
+ * 文本框可输入
6858
+ */
6859
+ editable: {
6860
+ type: [Boolean],
6861
+ default: !1
6862
+ },
6863
+ /**
6864
+ * 是否显示清除按钮
6865
+ */
6866
+ clearable: {
6867
+ type: [Boolean],
6868
+ default: !1
6810
6869
  }
6811
6870
  },
6812
6871
  emits: ["update:modelValue"],
@@ -6829,18 +6888,25 @@ const Sp = { class: "bsgoal-base-time" }, Tp = Object.assign({
6829
6888
  modelValue: h.value,
6830
6889
  "onUpdate:modelValue": A[0] || (A[0] = (H) => h.value = H),
6831
6890
  class: "base_time",
6891
+ "arrow-control": u.arrowControl,
6832
6892
  format: u.format,
6833
- clearable: !1,
6893
+ clearable: u.clearable,
6894
+ readonly: u.readonly,
6895
+ disabled: u.disabled,
6896
+ editable: u.editable,
6834
6897
  placeholder: u.placeholder,
6898
+ "disabled-hours": u.disabledHours,
6899
+ "disabled-minutes": u.disabledMinutes,
6900
+ "disabled-seconds": u.disabledSeconds,
6835
6901
  onChange: g
6836
- }, null, 8, ["modelValue", "format", "placeholder"])
6902
+ }, null, 8, ["modelValue", "arrow-control", "format", "clearable", "readonly", "disabled", "editable", "placeholder", "disabled-hours", "disabled-minutes", "disabled-seconds"])
6837
6903
  ]),
6838
6904
  _: 1
6839
6905
  }, 8, ["locale"])
6840
6906
  ]);
6841
6907
  };
6842
6908
  }
6843
- }), Ip = /* @__PURE__ */ An(Tp, [["__scopeId", "data-v-7019b806"]]);
6909
+ }), Ip = /* @__PURE__ */ An(Tp, [["__scopeId", "data-v-68fa182f"]]);
6844
6910
  const Cp = { class: "bsgoal-base-time-range" }, Mp = Object.assign({
6845
6911
  name: "BsgoalBaseTimeRange"
6846
6912
  }, {