tsv2-library 1.1.0-dev-alpha.51 → 1.1.0-dev-alpha.53
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 +10 -4
- package/dist/tsv2-library.umd.js +2 -2
- package/package.json +1 -1
package/dist/tsv2-library.es.js
CHANGED
|
@@ -42729,9 +42729,15 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
42729
42729
|
selectedNode.value = temporarySelectedNode.value;
|
|
42730
42730
|
if (Object.keys(selectedTreeKeys.value ?? {}).length) {
|
|
42731
42731
|
const remainingQuota = ((_a = props.validateQuota) == null ? void 0 : _a.countAvailableQuota) ? (_b = props.validateQuota) == null ? void 0 : _b.countAvailableQuota(selectedNode.value) : (((_d = (_c = selectedNode.value) == null ? void 0 : _c.fixedAssetQuota) == null ? void 0 : _d.available) ?? 0) - (((_e = selectedNode.value) == null ? void 0 : _e.assetOnTransferCount) ?? 0);
|
|
42732
|
-
if (props.validateQuota
|
|
42733
|
-
|
|
42734
|
-
|
|
42732
|
+
if (props.validateQuota) {
|
|
42733
|
+
if (remainingQuota < 1) {
|
|
42734
|
+
invalidSelectionMessage.value = "Group quota is exceeded";
|
|
42735
|
+
return;
|
|
42736
|
+
}
|
|
42737
|
+
if (props.validateQuota.assetQuantity > remainingQuota) {
|
|
42738
|
+
invalidSelectionMessage.value = "Group quota is exceeded";
|
|
42739
|
+
return;
|
|
42740
|
+
}
|
|
42735
42741
|
}
|
|
42736
42742
|
emit("select", {
|
|
42737
42743
|
keys: selectedTreeKeys.value,
|
|
@@ -78342,7 +78348,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
78342
78348
|
};
|
|
78343
78349
|
const checkForAvailability = debounce$1(async () => {
|
|
78344
78350
|
var _a2, _b, _c, _d, _e, _f, _g;
|
|
78345
|
-
if (((_a2 = field2.value) == null ? void 0 : _a2.trim()) != ((_b = props.value) == null ? void 0 : _b.trim())) {
|
|
78351
|
+
if (((_a2 = field2.value) == null ? void 0 : _a2.trim().toLowerCase()) != ((_b = props.value) == null ? void 0 : _b.trim().toLowerCase())) {
|
|
78346
78352
|
if ((_c = field2.value) == null ? void 0 : _c.trim().length) {
|
|
78347
78353
|
const available = await ((_e = props.checkAvailability) == null ? void 0 : _e.call(props, (_d = field2.value) == null ? void 0 : _d.trim()));
|
|
78348
78354
|
if (!available) {
|