tsv2-library 1.1.0-dev-alpha.25 → 1.1.0-staging-local.0
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 +30 -29
- package/dist/tsv2-library.umd.js +3 -3
- package/package.json +2 -1
package/dist/tsv2-library.es.js
CHANGED
|
@@ -6895,7 +6895,7 @@ const useToast = () => {
|
|
|
6895
6895
|
return toastMethod;
|
|
6896
6896
|
};
|
|
6897
6897
|
const buildFileURL = (name, width2, height) => {
|
|
6898
|
-
const BASE_URL2 = new URL("https://
|
|
6898
|
+
const BASE_URL2 = new URL("https://staging-api.tagsamurai.local").origin;
|
|
6899
6899
|
let url = (name == null ? void 0 : name.startsWith("http")) ? name : `${BASE_URL2}/file-storage/api/file/${name == null ? void 0 : name.replace(/^\/+/, "")}`;
|
|
6900
6900
|
if (width2 || height) {
|
|
6901
6901
|
const params = new URLSearchParams();
|
|
@@ -8188,8 +8188,8 @@ const unListenSidebarChanges = (type, callback) => {
|
|
|
8188
8188
|
const getBaseURL$2 = (env) => {
|
|
8189
8189
|
if (window.Cypress) {
|
|
8190
8190
|
return Cypress.env("CY_" + env);
|
|
8191
|
-
} else if ({ "VITE_APP_TAGSAMURAI_API": "https://
|
|
8192
|
-
return { "VITE_APP_TAGSAMURAI_API": "https://
|
|
8191
|
+
} else if ({ "VITE_APP_TAGSAMURAI_API": "https://staging-api.tagsamurai.local", "VITE_APP_ASSETS_URL": "https://assets.tagsamurai.com", "VITE_GOOGLE_MAPS_API_KEY": "AIzaSyDVIruh-_m2OSyt3-dtgrztj6laUaUABKc", "VITE_APP_WSS_RFID_READER_API": "https://staging-api-local.tagsamurai.com/fam/rfid-reader/", "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true, "SSR": false }) {
|
|
8192
|
+
return { "VITE_APP_TAGSAMURAI_API": "https://staging-api.tagsamurai.local", "VITE_APP_ASSETS_URL": "https://assets.tagsamurai.com", "VITE_GOOGLE_MAPS_API_KEY": "AIzaSyDVIruh-_m2OSyt3-dtgrztj6laUaUABKc", "VITE_APP_WSS_RFID_READER_API": "https://staging-api-local.tagsamurai.com/fam/rfid-reader/", "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true, "SSR": false }["VITE_" + env];
|
|
8193
8193
|
}
|
|
8194
8194
|
return process.env["VUE_" + env];
|
|
8195
8195
|
};
|
|
@@ -13131,7 +13131,7 @@ const getSeverityByAssetStatus = (status) => {
|
|
|
13131
13131
|
return severity;
|
|
13132
13132
|
};
|
|
13133
13133
|
const api$1 = ({ headers = {}, params = {} } = {}) => {
|
|
13134
|
-
const BASE_URL2 = "https://
|
|
13134
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
13135
13135
|
const instance = axios.create({
|
|
13136
13136
|
baseURL: `${BASE_URL2}/fam/settings-user-role/v2/auth`,
|
|
13137
13137
|
headers: {
|
|
@@ -13266,7 +13266,7 @@ const formatCurrencyField = (value) => {
|
|
|
13266
13266
|
const getUser$1 = () => JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
13267
13267
|
const API$i = ({ headers = {}, params = {} } = {}) => {
|
|
13268
13268
|
const user = getUser$1();
|
|
13269
|
-
const BASE_URL2 = "https://
|
|
13269
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
13270
13270
|
const instance = axios.create({
|
|
13271
13271
|
baseURL: `${BASE_URL2}/global-settings`,
|
|
13272
13272
|
headers: {
|
|
@@ -13403,7 +13403,7 @@ const API$h = ({
|
|
|
13403
13403
|
usePrefix = true
|
|
13404
13404
|
} = {}) => {
|
|
13405
13405
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
13406
|
-
const BASE_URL2 = "https://
|
|
13406
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
13407
13407
|
const instance = axios.create({
|
|
13408
13408
|
baseURL: `${BASE_URL2}/fam/assets/v2${usePrefix ? "/assets" : ""}`,
|
|
13409
13409
|
headers: {
|
|
@@ -13494,7 +13494,7 @@ const API$g = ({
|
|
|
13494
13494
|
params = {}
|
|
13495
13495
|
} = {}) => {
|
|
13496
13496
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
13497
|
-
const BASE_URL2 = "https://
|
|
13497
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
13498
13498
|
const instance = axios.create({
|
|
13499
13499
|
baseURL: `${BASE_URL2}/fam/settings-attribute/v2/asset-name`,
|
|
13500
13500
|
headers: {
|
|
@@ -13542,7 +13542,7 @@ const API$f = ({
|
|
|
13542
13542
|
params = {}
|
|
13543
13543
|
} = {}) => {
|
|
13544
13544
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
13545
|
-
const BASE_URL2 = "https://
|
|
13545
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
13546
13546
|
const instance = axios.create({
|
|
13547
13547
|
baseURL: `${BASE_URL2}/fam/settings-attribute/v2/brands`,
|
|
13548
13548
|
headers: {
|
|
@@ -13586,7 +13586,7 @@ const DataLockService = {
|
|
|
13586
13586
|
};
|
|
13587
13587
|
const API$d = ({ headers = {}, params = {} } = {}) => {
|
|
13588
13588
|
const user = JSON.parse(localStorage.getItem("user")) ?? {};
|
|
13589
|
-
const BASE_URL2 = "https://
|
|
13589
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
13590
13590
|
const instance = axios.create({
|
|
13591
13591
|
baseURL: `${BASE_URL2}/fam/disposal/v2`,
|
|
13592
13592
|
headers: {
|
|
@@ -13615,7 +13615,7 @@ const API$c = ({
|
|
|
13615
13615
|
params = {}
|
|
13616
13616
|
} = {}) => {
|
|
13617
13617
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
13618
|
-
const BASE_URL2 = "https://
|
|
13618
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
13619
13619
|
const instance = axios.create({
|
|
13620
13620
|
baseURL: `${BASE_URL2}/fam/settings-attribute/v2/`,
|
|
13621
13621
|
headers: {
|
|
@@ -13640,7 +13640,7 @@ const TreeServices = {
|
|
|
13640
13640
|
const API$b = ({ headers = {}, params = {} } = {}) => {
|
|
13641
13641
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
13642
13642
|
const instance = axios.create({
|
|
13643
|
-
baseURL: "https://
|
|
13643
|
+
baseURL: "https://staging-api.tagsamurai.local/fam/routine/v2/",
|
|
13644
13644
|
headers: {
|
|
13645
13645
|
"Content-type": "application/json",
|
|
13646
13646
|
"Authorization": `Bearer ${user.token}`,
|
|
@@ -26340,7 +26340,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
26340
26340
|
});
|
|
26341
26341
|
const API$a = ({ headers = {}, params = {} } = {}) => {
|
|
26342
26342
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
26343
|
-
const BASE_URL2 = "https://
|
|
26343
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
26344
26344
|
const instance = axios.create({
|
|
26345
26345
|
baseURL: `${BASE_URL2}/fam/settings-attribute/v2`,
|
|
26346
26346
|
headers: {
|
|
@@ -30950,7 +30950,7 @@ const parseAssetStaticFilter = (filter4) => {
|
|
|
30950
30950
|
});
|
|
30951
30951
|
return parsedFilter;
|
|
30952
30952
|
};
|
|
30953
|
-
const apiEnv = "https://
|
|
30953
|
+
const apiEnv = "https://staging-api.tagsamurai.local";
|
|
30954
30954
|
const BASE_URL = window.Cypress ? "https://localhost:9080" : apiEnv;
|
|
30955
30955
|
const api = ({ headers = {}, params = {} } = {}) => {
|
|
30956
30956
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
@@ -31277,8 +31277,8 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
31277
31277
|
const getBaseURL$1 = (env) => {
|
|
31278
31278
|
if (window.Cypress) {
|
|
31279
31279
|
return Cypress.env("CY_" + env);
|
|
31280
|
-
} else if ({ "VITE_APP_TAGSAMURAI_API": "https://
|
|
31281
|
-
return { "VITE_APP_TAGSAMURAI_API": "https://
|
|
31280
|
+
} else if ({ "VITE_APP_TAGSAMURAI_API": "https://staging-api.tagsamurai.local", "VITE_APP_ASSETS_URL": "https://assets.tagsamurai.com", "VITE_GOOGLE_MAPS_API_KEY": "AIzaSyDVIruh-_m2OSyt3-dtgrztj6laUaUABKc", "VITE_APP_WSS_RFID_READER_API": "https://staging-api-local.tagsamurai.com/fam/rfid-reader/", "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true, "SSR": false }) {
|
|
31281
|
+
return { "VITE_APP_TAGSAMURAI_API": "https://staging-api.tagsamurai.local", "VITE_APP_ASSETS_URL": "https://assets.tagsamurai.com", "VITE_GOOGLE_MAPS_API_KEY": "AIzaSyDVIruh-_m2OSyt3-dtgrztj6laUaUABKc", "VITE_APP_WSS_RFID_READER_API": "https://staging-api-local.tagsamurai.com/fam/rfid-reader/", "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true, "SSR": false }["VITE_" + env];
|
|
31282
31282
|
}
|
|
31283
31283
|
return process.env["VUE_" + env];
|
|
31284
31284
|
};
|
|
@@ -31529,8 +31529,8 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
31529
31529
|
const getBaseURL = (env) => {
|
|
31530
31530
|
if (window.Cypress) {
|
|
31531
31531
|
return Cypress.env("CY_" + env);
|
|
31532
|
-
} else if ({ "VITE_APP_TAGSAMURAI_API": "https://
|
|
31533
|
-
return { "VITE_APP_TAGSAMURAI_API": "https://
|
|
31532
|
+
} else if ({ "VITE_APP_TAGSAMURAI_API": "https://staging-api.tagsamurai.local", "VITE_APP_ASSETS_URL": "https://assets.tagsamurai.com", "VITE_GOOGLE_MAPS_API_KEY": "AIzaSyDVIruh-_m2OSyt3-dtgrztj6laUaUABKc", "VITE_APP_WSS_RFID_READER_API": "https://staging-api-local.tagsamurai.com/fam/rfid-reader/", "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true, "SSR": false }) {
|
|
31533
|
+
return { "VITE_APP_TAGSAMURAI_API": "https://staging-api.tagsamurai.local", "VITE_APP_ASSETS_URL": "https://assets.tagsamurai.com", "VITE_GOOGLE_MAPS_API_KEY": "AIzaSyDVIruh-_m2OSyt3-dtgrztj6laUaUABKc", "VITE_APP_WSS_RFID_READER_API": "https://staging-api-local.tagsamurai.com/fam/rfid-reader/", "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true, "SSR": false }["VITE_" + env];
|
|
31534
31534
|
}
|
|
31535
31535
|
return process.env["VUE_" + env];
|
|
31536
31536
|
};
|
|
@@ -38474,7 +38474,7 @@ const getErrorCode = (error) => {
|
|
|
38474
38474
|
};
|
|
38475
38475
|
const API$7 = ({ headers = {}, params = {} } = {}) => {
|
|
38476
38476
|
const user = JSON.parse(localStorage.getItem("user")) ?? {};
|
|
38477
|
-
const BASE_URL2 = "https://
|
|
38477
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
38478
38478
|
const instance = axios.create({
|
|
38479
38479
|
baseURL: `${BASE_URL2}/fam/iot/v2`,
|
|
38480
38480
|
headers: {
|
|
@@ -38502,7 +38502,7 @@ const DeviceIOTServices = {
|
|
|
38502
38502
|
}).get("/reader/validate-serial-number");
|
|
38503
38503
|
}
|
|
38504
38504
|
};
|
|
38505
|
-
const encodedJs = "
|
|
38505
|
+
const encodedJs = "IWZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBlLHMsbz1udWxsLG49bnVsbCxhPSIiO3NlbGYub25tZXNzYWdlPWU9Pntjb25zdCBvPWUuZGF0YTtzd2l0Y2gocz1vLmNvbXBhbnlDb2RlLG8uY29tbWFuZCl7Y2FzZSJzeW5jIjpkKG8pO2JyZWFrO2Nhc2UiY29ubmVjdCI6aShvKTticmVhaztjYXNlInNjYW4iOnUobyk7YnJlYWs7Y2FzZSJzdG9wc2NhbiI6cChvKX19O2NvbnN0IHQ9ZT0+e2xldCBzPSJlc3RhYmxpc2hlZCI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Sl9LG9uZXJyb3I6ZT0+e3Bvc3RNZXNzYWdlKHtzdGF0dXM6InNjYW5fZXJyb3IiLGVycm9yOmV9KX19KX0scD0oe3VzZXJJZDplfSk9PntvJiZvLnJlYWR5U3RhdGU9PT1XZWJTb2NrZXQuT1BFTiYmKG8uc2VuZChKU09OLnN0cmluZ2lmeSh7ZGF0YTp7Y29tbWFuZDoic3RvcHNjYW4iLHVzZXJJZDplLHNvdXJjZToiYXBwIixzZXNzaW9uSWQ6YSxjb21wYW55Q29kZTpzfSxldmVudDoicmVhZGVyIn0pKSxwb3N0TWVzc2FnZSh7c3RhdHVzOiJzY2FuX3N0b3BwZWQifSksY29uc29sZS5pbmZvKCJTY2FuIFByb2Nlc3MgU3RvcHBlZCEiKSl9fSgpOwo=";
|
|
38506
38506
|
const blob = typeof window !== "undefined" && window.Blob && new Blob([atob(encodedJs)], { type: "text/javascript;charset=utf-8" });
|
|
38507
38507
|
function WorkerWrapper() {
|
|
38508
38508
|
let objURL;
|
|
@@ -38851,7 +38851,7 @@ const API$6 = ({
|
|
|
38851
38851
|
params = {}
|
|
38852
38852
|
} = {}) => {
|
|
38853
38853
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
38854
|
-
const BASE_URL2 = "https://
|
|
38854
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
38855
38855
|
const instance = axios.create({
|
|
38856
38856
|
baseURL: `${BASE_URL2}/fam/tag/v2/scan-log`,
|
|
38857
38857
|
headers: {
|
|
@@ -42466,7 +42466,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
42466
42466
|
class: "flex flex-col grow text-body-medium break-all"
|
|
42467
42467
|
}, [
|
|
42468
42468
|
createElementVNode("span", null, toDisplayString$1(node2.name), 1),
|
|
42469
|
-
showAvailableQuota.value && node2.fixedAssetQuota && node2.key != "0" ? (openBlock(), createElementBlock("span", _hoisted_2$12, " Available Quota: " + toDisplayString$1(node2.fixedAssetQuota.available), 1)) : createCommentVNode("", true)
|
|
42469
|
+
showAvailableQuota.value && node2.fixedAssetQuota && node2.key != "0" ? (openBlock(), createElementBlock("span", _hoisted_2$12, " Available Quota: " + toDisplayString$1(node2.fixedAssetQuota.available - (node2.assetOnTransferCount ?? 0)), 1)) : createCommentVNode("", true)
|
|
42470
42470
|
], 8, _hoisted_1$1o),
|
|
42471
42471
|
node2.isDisposable && showDisposableGroups.value ? (openBlock(), createBlock(_sfc_main$1O, {
|
|
42472
42472
|
key: 0,
|
|
@@ -42583,11 +42583,12 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
42583
42583
|
() => !props.allowEmptySelection || !!props.validateQuota
|
|
42584
42584
|
);
|
|
42585
42585
|
const onButtonSelectClicked = (close4 = true) => {
|
|
42586
|
-
var _a, _b;
|
|
42586
|
+
var _a, _b, _c;
|
|
42587
42587
|
selectedTreeKeys.value = temporarySelectedTreeKeys.value;
|
|
42588
42588
|
selectedNode.value = temporarySelectedNode.value;
|
|
42589
42589
|
if (Object.keys(selectedTreeKeys.value ?? {}).length) {
|
|
42590
|
-
|
|
42590
|
+
const remainingQuota = (((_b = (_a = selectedNode.value) == null ? void 0 : _a.fixedAssetQuota) == null ? void 0 : _b.available) ?? 0) - (((_c = selectedNode.value) == null ? void 0 : _c.assetOnTransferCount) ?? 0);
|
|
42591
|
+
if (props.validateQuota && props.validateQuota.assetQuantity > remainingQuota) {
|
|
42591
42592
|
invalidSelectionMessage.value = "Group quota is exceeded";
|
|
42592
42593
|
return;
|
|
42593
42594
|
}
|
|
@@ -71395,7 +71396,7 @@ const API$5 = ({
|
|
|
71395
71396
|
params = {}
|
|
71396
71397
|
} = {}) => {
|
|
71397
71398
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
71398
|
-
const BASE_URL2 = "https://
|
|
71399
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
71399
71400
|
const instance = axios.create({
|
|
71400
71401
|
baseURL: `${BASE_URL2}/fam/tag/v2/qr`,
|
|
71401
71402
|
headers: {
|
|
@@ -71813,7 +71814,7 @@ const API$4 = ({
|
|
|
71813
71814
|
params = {}
|
|
71814
71815
|
} = {}) => {
|
|
71815
71816
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
71816
|
-
const BASE_URL2 = "https://
|
|
71817
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
71817
71818
|
const instance = axios.create({
|
|
71818
71819
|
baseURL: `${BASE_URL2}/fam/damage-repair-ticketing/v2/damage`,
|
|
71819
71820
|
headers: {
|
|
@@ -72119,7 +72120,7 @@ const API$3 = ({
|
|
|
72119
72120
|
params = {}
|
|
72120
72121
|
} = {}) => {
|
|
72121
72122
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
72122
|
-
const BASE_URL2 = "https://
|
|
72123
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
72123
72124
|
const instance = axios.create({
|
|
72124
72125
|
baseURL: `${BASE_URL2}/fam/missing-tracking/v2/missing`,
|
|
72125
72126
|
headers: {
|
|
@@ -72142,7 +72143,7 @@ const API$2 = ({
|
|
|
72142
72143
|
params = {}
|
|
72143
72144
|
} = {}) => {
|
|
72144
72145
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
72145
|
-
const BASE_URL2 = "https://
|
|
72146
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
72146
72147
|
const instance = axios.create({
|
|
72147
72148
|
baseURL: `${BASE_URL2}/fam/missing-tracking/v2/tracking`,
|
|
72148
72149
|
headers: {
|
|
@@ -72302,7 +72303,7 @@ const API$1 = ({
|
|
|
72302
72303
|
params = {}
|
|
72303
72304
|
} = {}) => {
|
|
72304
72305
|
const user = JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
72305
|
-
const BASE_URL2 = "https://
|
|
72306
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
72306
72307
|
const instance = axios.create({
|
|
72307
72308
|
baseURL: `${BASE_URL2}/fam/tag/v2/tag-transaction`,
|
|
72308
72309
|
headers: {
|
|
@@ -72473,7 +72474,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
72473
72474
|
const getUser = () => JSON.parse(localStorage.getItem("user") ?? "{}");
|
|
72474
72475
|
const API = ({ headers = {}, params = {} } = {}) => {
|
|
72475
72476
|
const user = getUser();
|
|
72476
|
-
const BASE_URL2 = "https://
|
|
72477
|
+
const BASE_URL2 = "https://staging-api.tagsamurai.local";
|
|
72477
72478
|
const instance = axios.create({
|
|
72478
72479
|
baseURL: `${BASE_URL2}/global-settings`,
|
|
72479
72480
|
headers: {
|