tsv2-library 1.1.5 → 1.1.7

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.
@@ -26280,7 +26280,12 @@ const useLoadingStore = () => {
26280
26280
  };
26281
26281
  };
26282
26282
  const _hoisted_1$2g = { key: 1 };
26283
- const _hoisted_2$1N = ["href"];
26283
+ const _hoisted_2$1N = {
26284
+ key: 1,
26285
+ class: "text-general-800 text-body-medium break-words max-w-[85%]",
26286
+ "data-ts-section": "field-value"
26287
+ };
26288
+ const _hoisted_3$Q = ["href"];
26284
26289
  const _sfc_main$1P = /* @__PURE__ */ defineComponent({
26285
26290
  __name: "UrlFormat",
26286
26291
  props: {
@@ -26329,13 +26334,13 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
26329
26334
  "data-ts-section": "field-value",
26330
26335
  href: "#"
26331
26336
  }, " View Document ")) : (openBlock(), createElementBlock("span", _hoisted_1$2g, "-"))
26332
- ], 64)) : (openBlock(), createElementBlock("a", {
26333
- key: 1,
26337
+ ], 64)) : value.value === "-" ? (openBlock(), createElementBlock("span", _hoisted_2$1N, toDisplayString$1(value.value), 1)) : (openBlock(), createElementBlock("a", {
26338
+ key: 2,
26334
26339
  href: _ctx.dataType === "URL" ? ((_a = value.value) == null ? void 0 : _a.startsWith("http")) ? value.value : `http://${value.value}` : `mailto:${value.value}`,
26335
26340
  class: "text-primary text-body-medium break-words max-w-[85%]",
26336
26341
  "data-ts-section": "field-value",
26337
26342
  target: "_blank"
26338
- }, toDisplayString$1(_ctx.dataType === "URL" ? (_b = value.value) == null ? void 0 : _b.slice(0, 60).concat("...") : value.value), 9, _hoisted_2$1N));
26343
+ }, toDisplayString$1(_ctx.dataType === "URL" ? (_b = value.value) == null ? void 0 : _b.slice(0, 60).concat("...") : value.value), 9, _hoisted_3$Q));
26339
26344
  };
26340
26345
  }
26341
26346
  });
@@ -26405,7 +26410,7 @@ const getBodyTemplate = (customField) => {
26405
26410
  case "Datetime":
26406
26411
  formattedValue2 = formatDate(
26407
26412
  dataValue,
26408
- customField.dataType === "Datetime"
26413
+ customField.dataType === "Datetime" ? true : void 0
26409
26414
  );
26410
26415
  break;
26411
26416
  case "MultiDropdown":