@linker-design-plus/tiny-peony 1.4.15 → 1.4.17

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
@@ -5695,10 +5695,6 @@ const uB = /* @__PURE__ */ JA(mn, [["render", Kn]]), [xA] = zA("editor-container
5695
5695
  type: String,
5696
5696
  default: "00:00:00"
5697
5697
  },
5698
- realTime: {
5699
- type: String,
5700
- default: "00:00:00"
5701
- },
5702
5698
  textCount: {
5703
5699
  type: Number,
5704
5700
  default: 0
@@ -5761,6 +5757,11 @@ const uB = /* @__PURE__ */ JA(mn, [["render", Kn]]), [xA] = zA("editor-container
5761
5757
  editorHeight: {
5762
5758
  type: [Number, String],
5763
5759
  default: "calc(100% - 62px)"
5760
+ },
5761
+ // 是否显示预计时长
5762
+ showPreTime: {
5763
+ type: Boolean,
5764
+ default: !1
5764
5765
  }
5765
5766
  },
5766
5767
  emits: {
@@ -5961,11 +5962,11 @@ const uB = /* @__PURE__ */ JA(mn, [["render", Kn]]), [xA] = zA("editor-container
5961
5962
  default: () => [Ag("清空")]
5962
5963
  })), R("div", {
5963
5964
  class: xA("status-info")
5964
- }, [I.simple ? null : R(cg, null, [R("label", {
5965
+ }, [I.simple ? I.showPreTime ? R("label", {
5965
5966
  class: xA("status-info-label")
5966
- }, [R("span", null, [Ag("预计时长:")]), R("span", null, [I.preTime || "00:00:00"])]), R("label", {
5967
+ }, [R("span", null, [Ag("预计时长:")]), R("span", null, [I.preTime || "00:00:00"])]) : null : R(cg, null, [R("label", {
5967
5968
  class: xA("status-info-label")
5968
- }, [R("span", null, [Ag("实际时长:")]), R("span", null, [I.realTime || "00:00:00"])])]), I.showWordLimit ? R("label", {
5969
+ }, [R("span", null, [Ag("预计时长:")]), R("span", null, [I.preTime || "00:00:00"])])]), I.showWordLimit ? R("label", {
5969
5970
  class: xA("status-info-length")
5970
5971
  }, [R("span", null, [i.value <= I.maxLength ? i.value : I.maxLength]), R("span", null, [Ag(" / ")]), R("span", null, [I.maxLength, I.simple ? "" : "字"])]) : null])]);
5971
5972
  }, dA = fA();