tsv2-library 1.1.1-dev-alpha.1 → 1.1.1-dev-alpha.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/tsv2-library.es.js +16 -9
- package/dist/tsv2-library.umd.js +3 -3
- package/package.json +1 -1
package/dist/tsv2-library.es.js
CHANGED
|
@@ -26280,7 +26280,12 @@ const useLoadingStore = () => {
|
|
|
26280
26280
|
};
|
|
26281
26281
|
};
|
|
26282
26282
|
const _hoisted_1$2g = { key: 1 };
|
|
26283
|
-
const _hoisted_2$1N =
|
|
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:
|
|
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,
|
|
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":
|
|
@@ -26435,7 +26440,7 @@ const getBodyComponent = (customField) => {
|
|
|
26435
26440
|
component: _sfc_main$1P,
|
|
26436
26441
|
props: {
|
|
26437
26442
|
dataType: customField.dataType,
|
|
26438
|
-
|
|
26443
|
+
rawValue: dataValue
|
|
26439
26444
|
}
|
|
26440
26445
|
};
|
|
26441
26446
|
};
|
|
@@ -38162,6 +38167,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
38162
38167
|
invalid: invalidInput.value,
|
|
38163
38168
|
options: visibleOptions3.value,
|
|
38164
38169
|
placeholder: dropdownPlaceholder.value,
|
|
38170
|
+
"virtual-scroller-options": visibleOptions3.value.length > 10 ? { itemSize: 32 } : void 0,
|
|
38165
38171
|
onChange: updateFieldValue,
|
|
38166
38172
|
onHide: _cache[1] || (_cache[1] = ($event) => isShowOverlay.value = false),
|
|
38167
38173
|
onShow: _cache[2] || (_cache[2] = ($event) => (_ctx.$emit("show"), isShowOverlay.value = true)),
|
|
@@ -38214,7 +38220,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
38214
38220
|
]),
|
|
38215
38221
|
key: "2"
|
|
38216
38222
|
} : void 0
|
|
38217
|
-
]), 1040, ["modelValue", "aria-describedby", "invalid", "options", "placeholder"]),
|
|
38223
|
+
]), 1040, ["modelValue", "aria-describedby", "invalid", "options", "placeholder", "virtual-scroller-options"]),
|
|
38218
38224
|
_ctx.$slots["addon-right"] ? (openBlock(), createBlock(unref(script$L), {
|
|
38219
38225
|
key: 1,
|
|
38220
38226
|
class: normalizeClass({
|
|
@@ -39274,7 +39280,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
39274
39280
|
const isDev = window.location.hostname.includes("dev");
|
|
39275
39281
|
const isStaging = window.location.hostname.includes("staging");
|
|
39276
39282
|
const isLocal = window.location.hostname.includes("localhost");
|
|
39277
|
-
const isCompanyProdTest = companyId === "
|
|
39283
|
+
const isCompanyProdTest = companyId === "2083038253983731712";
|
|
39278
39284
|
if (isTest && (isLocal || isDev || isStaging || isCompanyProdTest)) {
|
|
39279
39285
|
startScanForTest();
|
|
39280
39286
|
} else {
|
|
@@ -57641,6 +57647,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
57641
57647
|
placeholder: multiSelectPlaceholder.value,
|
|
57642
57648
|
"selected-items-label": props.selectedItemsLabel,
|
|
57643
57649
|
"show-toggle-all": props.filter,
|
|
57650
|
+
"virtual-scroller-options": visibleOptions3.value.length > 10 ? { itemSize: 32 } : void 0,
|
|
57644
57651
|
onHide: _cache[1] || (_cache[1] = ($event) => (isShowOverlay.value = false, _ctx.$emit("hide"))),
|
|
57645
57652
|
onShow: _cache[2] || (_cache[2] = ($event) => (_ctx.$emit("show"), isShowOverlay.value = true))
|
|
57646
57653
|
}), createSlots({
|
|
@@ -57681,7 +57688,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
57681
57688
|
]),
|
|
57682
57689
|
key: "0"
|
|
57683
57690
|
} : void 0
|
|
57684
|
-
]), 1040, ["modelValue", "aria-describedby", "class", "display", "max-selected-labels", "options", "placeholder", "selected-items-label", "show-toggle-all"]),
|
|
57691
|
+
]), 1040, ["modelValue", "aria-describedby", "class", "display", "max-selected-labels", "options", "placeholder", "selected-items-label", "show-toggle-all", "virtual-scroller-options"]),
|
|
57685
57692
|
renderSlot(_ctx.$slots, "trigger", {
|
|
57686
57693
|
disabled: props.disabled
|
|
57687
57694
|
}, () => [
|