@deskhero/dh_ui 2.12.0 → 2.13.1

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.
@@ -16,6 +16,7 @@ declare const _default: import("vue").DefineComponent<{
16
16
  tooltipText: {
17
17
  type: StringConstructor;
18
18
  required: true;
19
+ default: () => string;
19
20
  };
20
21
  }, unknown, {
21
22
  show: boolean;
@@ -39,8 +40,10 @@ declare const _default: import("vue").DefineComponent<{
39
40
  tooltipText: {
40
41
  type: StringConstructor;
41
42
  required: true;
43
+ default: () => string;
42
44
  };
43
45
  }>>, {
44
46
  placement: "bottom" | "left" | "right" | "top";
47
+ tooltipText: string;
45
48
  }, {}>;
46
49
  export default _default;
package/dist/dh_ui.es.js CHANGED
@@ -17428,7 +17428,7 @@ const Yy = /* @__PURE__ */ ht(qO, [["__scopeId", "data-v-5455ff32"]]), eE = Ye({
17428
17428
  default: () => "bottom",
17429
17429
  required: !1
17430
17430
  },
17431
- tooltipText: { type: String, required: !0 }
17431
+ tooltipText: { type: String, required: !0, default: () => "" }
17432
17432
  },
17433
17433
  data() {
17434
17434
  return {
@@ -17449,7 +17449,7 @@ function oE(i, e, t, n, o, r) {
17449
17449
  return C(), U("div", {
17450
17450
  id: "main-contain",
17451
17451
  ref: "main",
17452
- class: "dh-tooltip-container tooltip",
17452
+ class: ne(["dh-tooltip-container tooltip", i.tooltipText.length === 0 ? "no-text" : ""]),
17453
17453
  placement: i.placement,
17454
17454
  target: i.target,
17455
17455
  tooltipText: i.tooltipText,
@@ -17465,7 +17465,7 @@ function oE(i, e, t, n, o, r) {
17465
17465
  }, [
17466
17466
  Q("span", nE, re(i.tooltipText), 1)
17467
17467
  ], 10, iE)
17468
- ], 40, tE);
17468
+ ], 42, tE);
17469
17469
  }
17470
17470
  const rE = /* @__PURE__ */ ht(eE, [["render", oE]]);
17471
17471
  const aE = { class: "copy__text" }, sE = ["readonly"], t3 = {