@overmap-ai/core 1.0.74-updates.3 → 1.0.74-updates.4
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/overmap-core.js +139 -142
- package/dist/overmap-core.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/overmap-core.js
CHANGED
|
@@ -14,7 +14,7 @@ import { openDB as Ka } from "idb";
|
|
|
14
14
|
import { RESET_STATE as Ya } from "@redux-offline/redux-offline/lib/constants";
|
|
15
15
|
import Ja from "jwt-decode";
|
|
16
16
|
const Qa = Object.freeze([]), Xa = Object.freeze({});
|
|
17
|
-
var
|
|
17
|
+
var zi = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(zi || {}), Ui = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(Ui || {}), d = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(d || {}), Za = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(Za || {}), $i = /* @__PURE__ */ ((t) => (t[t.LOWEST = 0] = "LOWEST", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 6] = "HIGH", t[t.HIGHEST = 8] = "HIGHEST", t))($i || {}), Vi = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.SELECTED = 2] = "SELECTED", t[t.DONE = 4] = "DONE", t))(Vi || {}), w = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.CATEGORY = "category", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(w || {}), ec = /* @__PURE__ */ ((t) => (t.COMPLETED = "checkout.completed", t.CLOSED = "checkout.closed", t))(ec || {}), tc = /* @__PURE__ */ ((t) => (t[t.PRO = 0] = "PRO", t))(tc || {}), sc = /* @__PURE__ */ ((t) => (t[t.ACTIVE = 0] = "ACTIVE", t[t.PAUSED = 2] = "PAUSED", t[t.CANCELLED = 4] = "CANCELLED", t[t.INACTIVE = 6] = "INACTIVE", t[t.PAST_DUE = 8] = "PAST_DUE", t))(sc || {});
|
|
18
18
|
const Bh = Vi.BACKLOG, Nh = $i.MEDIUM, ic = 6e4;
|
|
19
19
|
function _(t) {
|
|
20
20
|
return {
|
|
@@ -68,11 +68,11 @@ function _(t) {
|
|
|
68
68
|
})
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
var
|
|
72
|
-
|
|
71
|
+
var xi;
|
|
72
|
+
xi = Symbol.toStringTag;
|
|
73
73
|
class nc {
|
|
74
74
|
constructor() {
|
|
75
|
-
y(this,
|
|
75
|
+
y(this, xi, "Promise");
|
|
76
76
|
y(this, "_promise");
|
|
77
77
|
y(this, "_resolve");
|
|
78
78
|
y(this, "_reject");
|
|
@@ -138,7 +138,7 @@ function Jh(t, e) {
|
|
|
138
138
|
if (t[s] !== e[s]) return !1;
|
|
139
139
|
return !0;
|
|
140
140
|
}
|
|
141
|
-
const b = (t) => t.length === 0 ? Qa : t,
|
|
141
|
+
const b = (t) => t.length === 0 ? Qa : t, ze = (t) => Object.keys(t).length === 0 ? Xa : t, cc = Gi((t) => {
|
|
142
142
|
if (!t) return "";
|
|
143
143
|
const e = new Date(t), s = e.getFullYear() === St.getFullYear(), i = { day: "numeric", month: "short" };
|
|
144
144
|
return s || (i.year = "numeric"), e.toLocaleDateString([], i);
|
|
@@ -295,7 +295,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
295
295
|
deleteAssetAttachments: C.deleteMany
|
|
296
296
|
}
|
|
297
297
|
}), {
|
|
298
|
-
initializeAssetAttachments:
|
|
298
|
+
initializeAssetAttachments: xt,
|
|
299
299
|
addAssetAttachment: mm,
|
|
300
300
|
addAssetAttachments: Hi,
|
|
301
301
|
setAssetAttachment: Sc,
|
|
@@ -314,10 +314,10 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
314
314
|
)
|
|
315
315
|
), Pc = Ni.reducer, D = _(
|
|
316
316
|
(t) => t.uuid
|
|
317
|
-
),
|
|
317
|
+
), zt = D.getInitialState({}), Ki = T({
|
|
318
318
|
name: "assetProcedureFieldsAttachments",
|
|
319
|
-
initialState:
|
|
320
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
319
|
+
initialState: zt,
|
|
320
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, zt)),
|
|
321
321
|
reducers: {
|
|
322
322
|
initializeAssetProcedureFieldsAttachments: D.initialize,
|
|
323
323
|
addAssetProcedureFieldsAttachment: D.addOne,
|
|
@@ -344,20 +344,20 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
344
344
|
(t) => Object.values(t)
|
|
345
345
|
), Tm = A(
|
|
346
346
|
p([jc, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
347
|
-
), Rm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], Mc = Ki.reducer,
|
|
347
|
+
), Rm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], Mc = Ki.reducer, x = _((t) => t.uuid), Ut = x.getInitialState({}), Yi = T({
|
|
348
348
|
name: "assetProcedureFields",
|
|
349
349
|
initialState: Ut,
|
|
350
350
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ut)),
|
|
351
351
|
reducers: {
|
|
352
|
-
initializeAssetProcedureFields:
|
|
353
|
-
addAssetProcedureFields:
|
|
354
|
-
addAssetProcedureFieldsMany:
|
|
355
|
-
setAssetProcedureFields:
|
|
356
|
-
setAssetProcedureFieldsMany:
|
|
357
|
-
updateAssetProcedureFields:
|
|
358
|
-
updateAssetProcedureFieldsMany:
|
|
359
|
-
deleteAssetProcedureFields:
|
|
360
|
-
deleteAssetProcedureFieldsMany:
|
|
352
|
+
initializeAssetProcedureFields: x.initialize,
|
|
353
|
+
addAssetProcedureFields: x.addOne,
|
|
354
|
+
addAssetProcedureFieldsMany: x.addMany,
|
|
355
|
+
setAssetProcedureFields: x.setOne,
|
|
356
|
+
setAssetProcedureFieldsMany: x.setMany,
|
|
357
|
+
updateAssetProcedureFields: x.updateOne,
|
|
358
|
+
updateAssetProcedureFieldsMany: x.updateMany,
|
|
359
|
+
deleteAssetProcedureFields: x.deleteOne,
|
|
360
|
+
deleteAssetProcedureFieldsMany: x.deleteMany
|
|
361
361
|
}
|
|
362
362
|
}), {
|
|
363
363
|
initializeAssetProcedureFields: Cc,
|
|
@@ -365,9 +365,9 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
365
365
|
addAssetProcedureFieldsMany: _m,
|
|
366
366
|
setAssetProcedureFields: Om,
|
|
367
367
|
setAssetProcedureFieldsMany: Im,
|
|
368
|
-
updateAssetProcedureFields:
|
|
368
|
+
updateAssetProcedureFields: xc,
|
|
369
369
|
updateAssetProcedureFieldsMany: Fm,
|
|
370
|
-
deleteAssetProcedureFields:
|
|
370
|
+
deleteAssetProcedureFields: zc,
|
|
371
371
|
deleteAssetProcedureFieldsMany: Pm
|
|
372
372
|
} = Yi.actions, Uc = (t) => t.assetProcedureFieldsReducer.instances, Ji = p([Uc], (t) => Object.values(t)), vm = A(
|
|
373
373
|
p(
|
|
@@ -376,22 +376,22 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
376
376
|
)
|
|
377
377
|
), wm = A(
|
|
378
378
|
p([Ji, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
379
|
-
), Em = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], $c = Yi.reducer,
|
|
379
|
+
), Em = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], $c = Yi.reducer, z = _(
|
|
380
380
|
(t) => t.uuid
|
|
381
|
-
), $t =
|
|
381
|
+
), $t = z.getInitialState({}), Qi = T({
|
|
382
382
|
name: "assetProcedureFieldValuesAttachments",
|
|
383
383
|
initialState: $t,
|
|
384
384
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, $t)),
|
|
385
385
|
reducers: {
|
|
386
|
-
initializeAssetProcedureFieldValuesAttachments:
|
|
387
|
-
addAssetProcedureFieldValuesAttachment:
|
|
388
|
-
addAssetProcedureFieldValuesAttachments:
|
|
389
|
-
setAssetProcedureFieldValuesAttachment:
|
|
390
|
-
setAssetProcedureFieldValuesAttachments:
|
|
391
|
-
updateAssetProcedureFieldValuesAttachment:
|
|
392
|
-
updateAssetProcedureFieldValuesAttachments:
|
|
393
|
-
deleteAssetProcedureFieldValuesAttachment:
|
|
394
|
-
deleteAssetProcedureFieldValuesAttachments:
|
|
386
|
+
initializeAssetProcedureFieldValuesAttachments: z.initialize,
|
|
387
|
+
addAssetProcedureFieldValuesAttachment: z.addOne,
|
|
388
|
+
addAssetProcedureFieldValuesAttachments: z.addMany,
|
|
389
|
+
setAssetProcedureFieldValuesAttachment: z.setOne,
|
|
390
|
+
setAssetProcedureFieldValuesAttachments: z.setMany,
|
|
391
|
+
updateAssetProcedureFieldValuesAttachment: z.updateOne,
|
|
392
|
+
updateAssetProcedureFieldValuesAttachments: z.updateMany,
|
|
393
|
+
deleteAssetProcedureFieldValuesAttachment: z.deleteOne,
|
|
394
|
+
deleteAssetProcedureFieldValuesAttachments: z.deleteMany
|
|
395
395
|
}
|
|
396
396
|
}), {
|
|
397
397
|
initializeAssetProcedureFieldValuesAttachments: Vc,
|
|
@@ -443,8 +443,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
443
443
|
initializeAssetProcedureFieldValues: Wc,
|
|
444
444
|
addAssetProcedureFieldValues: Gt,
|
|
445
445
|
addAssetProcedureFieldValuesMany: Kc,
|
|
446
|
-
setAssetProcedureFieldValues:
|
|
447
|
-
setAssetProcedureFieldValuesMany:
|
|
446
|
+
setAssetProcedureFieldValues: xm,
|
|
447
|
+
setAssetProcedureFieldValuesMany: zm,
|
|
448
448
|
updateAssetProcedureFieldValues: Ge,
|
|
449
449
|
updateAssetProcedureFieldValuesMany: Yc,
|
|
450
450
|
deleteAssetProcedureFieldValues: Lt,
|
|
@@ -664,7 +664,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
664
664
|
const s = {};
|
|
665
665
|
for (const [i, n] of Object.entries(t))
|
|
666
666
|
n.asset_procedure === e && (s[i] = n);
|
|
667
|
-
return
|
|
667
|
+
return ze(s);
|
|
668
668
|
})
|
|
669
669
|
), dp = A(
|
|
670
670
|
p([Tr, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
@@ -742,7 +742,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
742
742
|
(t) => Object.values(t)
|
|
743
743
|
), bp = A(
|
|
744
744
|
p([Dr, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
745
|
-
), gp = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t],
|
|
745
|
+
), gp = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], xr = An.reducer, H = _((t) => t.uuid), fs = H.getInitialState({}), bn = T({
|
|
746
746
|
name: "assetTypeFields",
|
|
747
747
|
initialState: fs,
|
|
748
748
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, fs)),
|
|
@@ -758,7 +758,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
758
758
|
deleteAssetTypeFieldsMany: H.deleteMany
|
|
759
759
|
}
|
|
760
760
|
}), {
|
|
761
|
-
initializeAssetTypeFields:
|
|
761
|
+
initializeAssetTypeFields: zr,
|
|
762
762
|
addAssetTypeFields: Ur,
|
|
763
763
|
addAssetTypeFieldsMany: Sp,
|
|
764
764
|
setAssetTypeFields: Tp,
|
|
@@ -843,7 +843,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
843
843
|
deleteAssetTypeFieldValuesMany: Zr
|
|
844
844
|
} = Tn.actions, eo = (t) => t.assetTypeFieldValuesReducer.instances, Rn = p([eo], (t) => Object.values(t)), Dp = A(
|
|
845
845
|
p([Rn, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
846
|
-
),
|
|
846
|
+
), xp = A(
|
|
847
847
|
p(
|
|
848
848
|
[Rt, Rn, (t, e) => e],
|
|
849
849
|
(t, e, s) => {
|
|
@@ -870,7 +870,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
870
870
|
}
|
|
871
871
|
}), {
|
|
872
872
|
initializeAssetTypes: so,
|
|
873
|
-
setAssetType:
|
|
873
|
+
setAssetType: zp,
|
|
874
874
|
setAssetTypes: Up,
|
|
875
875
|
addAssetType: Rs,
|
|
876
876
|
addAssetTypes: $p,
|
|
@@ -1161,7 +1161,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1161
1161
|
const i = (/* @__PURE__ */ new Date()).getTime();
|
|
1162
1162
|
if (!((s.exp ?? i) - i < En))
|
|
1163
1163
|
return s;
|
|
1164
|
-
},
|
|
1164
|
+
}, xo = kn.reducer, Q = _(
|
|
1165
1165
|
(t) => t.uuid
|
|
1166
1166
|
), js = Q.getInitialState({}), qn = T({
|
|
1167
1167
|
name: "formRevisionAttachments",
|
|
@@ -1179,7 +1179,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1179
1179
|
deleteFormRevisionAttachments: Q.deleteMany
|
|
1180
1180
|
}
|
|
1181
1181
|
}), {
|
|
1182
|
-
initializeFormRevisionAttachments:
|
|
1182
|
+
initializeFormRevisionAttachments: zo,
|
|
1183
1183
|
addFormRevisionAttachment: rf,
|
|
1184
1184
|
addFormRevisionAttachments: Uo,
|
|
1185
1185
|
setFormRevisionAttachment: of,
|
|
@@ -1247,12 +1247,12 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1247
1247
|
updateForm: be.updateOne,
|
|
1248
1248
|
deleteForm: be.deleteOne
|
|
1249
1249
|
}
|
|
1250
|
-
}), { initializeForms: Xo, setForm: ff, addForm: Ds, addForms: yf, updateForm: Af, deleteForm:
|
|
1250
|
+
}), { initializeForms: Xo, setForm: ff, addForm: Ds, addForms: yf, updateForm: Af, deleteForm: xs } = Dn.actions, Zo = Dn.reducer, ed = (t) => t.formReducer.instances, bf = p([ed], (t) => Object.values(t)), td = (t) => (e) => e.formReducer.instances[t], X = _(
|
|
1251
1251
|
(t) => t.uuid
|
|
1252
|
-
),
|
|
1252
|
+
), zs = X.getInitialState({}), xn = T({
|
|
1253
1253
|
name: "formSubmissionAttachments",
|
|
1254
|
-
initialState:
|
|
1255
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1254
|
+
initialState: zs,
|
|
1255
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, zs)),
|
|
1256
1256
|
reducers: {
|
|
1257
1257
|
initializeFormSubmissionAttachments: X.initialize,
|
|
1258
1258
|
addFormSubmissionAttachment: X.addOne,
|
|
@@ -1274,10 +1274,10 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1274
1274
|
updateFormSubmissionAttachments: id,
|
|
1275
1275
|
deleteFormSubmissionAttachment: _f,
|
|
1276
1276
|
deleteFormSubmissionAttachments: At
|
|
1277
|
-
} =
|
|
1277
|
+
} = xn.actions, zn = (t) => t.formSubmissionAttachmentReducer.instances, nd = A(
|
|
1278
1278
|
p(
|
|
1279
1279
|
[
|
|
1280
|
-
|
|
1280
|
+
zn,
|
|
1281
1281
|
(t, e) => e
|
|
1282
1282
|
],
|
|
1283
1283
|
(t, e) => {
|
|
@@ -1289,12 +1289,12 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1289
1289
|
)
|
|
1290
1290
|
), ad = A(
|
|
1291
1291
|
p(
|
|
1292
|
-
[
|
|
1292
|
+
[zn, (t, e) => e],
|
|
1293
1293
|
(t, e) => b(
|
|
1294
1294
|
Object.values(t).filter((s) => s.form_submission === e)
|
|
1295
1295
|
)
|
|
1296
1296
|
)
|
|
1297
|
-
), cd =
|
|
1297
|
+
), cd = xn.reducer, Z = _((t) => t.uuid), Us = Z.getInitialState({}), Un = T({
|
|
1298
1298
|
name: "formSubmissions",
|
|
1299
1299
|
initialState: Us,
|
|
1300
1300
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Us)),
|
|
@@ -1474,17 +1474,17 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1474
1474
|
}), {
|
|
1475
1475
|
initializeIssueCommentAttachments: Xs,
|
|
1476
1476
|
addIssueCommentAttachment: Cf,
|
|
1477
|
-
addIssueCommentAttachments:
|
|
1478
|
-
setIssueCommentAttachment:
|
|
1477
|
+
addIssueCommentAttachments: xd,
|
|
1478
|
+
setIssueCommentAttachment: zd,
|
|
1479
1479
|
setIssueCommentAttachments: Df,
|
|
1480
|
-
updateIssueCommentAttachment:
|
|
1480
|
+
updateIssueCommentAttachment: xf,
|
|
1481
1481
|
updateIssueCommentAttachments: Ud,
|
|
1482
1482
|
deleteIssueCommentAttachment: $d,
|
|
1483
1483
|
deleteIssueCommentAttachments: Vd
|
|
1484
1484
|
} = Yn.actions, Gd = (t) => t.issueCommentAttachmentReducer.instances, Ld = p(
|
|
1485
1485
|
[Gd],
|
|
1486
1486
|
(t) => Object.values(t)
|
|
1487
|
-
), Bd = (t) => (e) => e.issueCommentAttachmentReducer.instances[t],
|
|
1487
|
+
), Bd = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], zf = A(
|
|
1488
1488
|
p(
|
|
1489
1489
|
[
|
|
1490
1490
|
Ld,
|
|
@@ -1771,9 +1771,9 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1771
1771
|
deleteIssueUpdates: Te.deleteMany
|
|
1772
1772
|
}
|
|
1773
1773
|
}), {
|
|
1774
|
-
initializeIssueUpdates:
|
|
1774
|
+
initializeIssueUpdates: xu,
|
|
1775
1775
|
setIssueUpdate: Oy,
|
|
1776
|
-
addIssueUpdate:
|
|
1776
|
+
addIssueUpdate: zu,
|
|
1777
1777
|
addIssueUpdates: Uu,
|
|
1778
1778
|
deleteIssueUpdate: $u,
|
|
1779
1779
|
deleteIssueUpdates: Vu
|
|
@@ -1796,7 +1796,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1796
1796
|
(t) => b(Object.values(t).filter((e) => e.is_active))
|
|
1797
1797
|
), vy = p(
|
|
1798
1798
|
[vt],
|
|
1799
|
-
(t) =>
|
|
1799
|
+
(t) => ze(
|
|
1800
1800
|
Object.values(t).filter((e) => e.project).reduce((e, s) => ({ ...e, [s.project]: s }), {})
|
|
1801
1801
|
)
|
|
1802
1802
|
), Wu = oa.reducer, q = _((t) => t.uuid), Ri = q.getInitialState({
|
|
@@ -1840,8 +1840,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1840
1840
|
deleteUser: Cy,
|
|
1841
1841
|
deleteUsers: Dy,
|
|
1842
1842
|
removeUser: Yu,
|
|
1843
|
-
setCurrentUser:
|
|
1844
|
-
setProfilePicture:
|
|
1843
|
+
setCurrentUser: xy,
|
|
1844
|
+
setProfilePicture: zy
|
|
1845
1845
|
} = da.actions, Ju = da.reducer, wt = (t) => t.userReducer.currentUser, Et = (t) => t.userReducer.instances, Uy = (t) => (e) => e.userReducer.instances[t], $y = A(
|
|
1846
1846
|
p([Et, (t, e) => e], (t, e) => {
|
|
1847
1847
|
const s = [];
|
|
@@ -1873,7 +1873,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1873
1873
|
const e = {};
|
|
1874
1874
|
for (const s of Object.values(t.organizationAccessReducer.instances))
|
|
1875
1875
|
e[s.user] = s;
|
|
1876
|
-
return
|
|
1876
|
+
return ze(e);
|
|
1877
1877
|
}, tl = ua.reducer, je = _((t) => t.uuid), Oi = je.getInitialState({}), ha = T({
|
|
1878
1878
|
name: "projectAccess",
|
|
1879
1879
|
initialState: Oi,
|
|
@@ -1893,7 +1893,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1893
1893
|
const e = {};
|
|
1894
1894
|
for (const s of Object.values(t.projectAccessReducer.instances))
|
|
1895
1895
|
e[s.user] = s;
|
|
1896
|
-
return
|
|
1896
|
+
return ze(e);
|
|
1897
1897
|
}, rl = ha.reducer, de = _((t) => t.uuid), Ii = de.getInitialState({}), fa = T({
|
|
1898
1898
|
name: "projects",
|
|
1899
1899
|
initialState: Ii,
|
|
@@ -1941,7 +1941,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1941
1941
|
if (n.uuid === (t == null ? void 0 : t.uuid))
|
|
1942
1942
|
return 1;
|
|
1943
1943
|
const a = s[i.uuid], c = s[n.uuid];
|
|
1944
|
-
return (a == null ? void 0 : a.access_level) === (c == null ? void 0 : c.access_level) ? i.username.localeCompare(n.username) : (a == null ? void 0 : a.access_level) ===
|
|
1944
|
+
return (a == null ? void 0 : a.access_level) === (c == null ? void 0 : c.access_level) ? i.username.localeCompare(n.username) : (a == null ? void 0 : a.access_level) === zi.ADMIN ? -1 : 1;
|
|
1945
1945
|
})
|
|
1946
1946
|
)
|
|
1947
1947
|
), ue = _((t) => t.uuid), Fi = ue.getInitialState({}), ya = T({
|
|
@@ -1993,7 +1993,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1993
1993
|
)
|
|
1994
1994
|
), gl = p(
|
|
1995
1995
|
[bl, Et],
|
|
1996
|
-
(t, e) =>
|
|
1996
|
+
(t, e) => ze(
|
|
1997
1997
|
t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
1998
1998
|
)
|
|
1999
1999
|
), mA = p(
|
|
@@ -2128,11 +2128,11 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
2128
2128
|
}
|
|
2129
2129
|
}
|
|
2130
2130
|
}), {
|
|
2131
|
-
initializeProjectFiles:
|
|
2131
|
+
initializeProjectFiles: xl,
|
|
2132
2132
|
setProjectFile: gA,
|
|
2133
2133
|
setProjectFiles: SA,
|
|
2134
2134
|
addProjectFile: TA,
|
|
2135
|
-
addProjectFiles:
|
|
2135
|
+
addProjectFiles: zl,
|
|
2136
2136
|
updateProjectFile: Ei,
|
|
2137
2137
|
updateProjectFiles: RA,
|
|
2138
2138
|
deleteProjectFile: Ul,
|
|
@@ -2224,7 +2224,7 @@ const wa = "versioning", Ea = () => qa.length - 1, ka = (t) => (t[wa] = { versio
|
|
|
2224
2224
|
}, qa = [ka, Mi, Mi, nh], ch = Object.fromEntries(qa.map((t, e) => [e, ah(t)])), ja = "versioning", rh = {
|
|
2225
2225
|
// TODO: attachmentReducer,
|
|
2226
2226
|
[ja]: eh,
|
|
2227
|
-
fileReducer:
|
|
2227
|
+
fileReducer: xo,
|
|
2228
2228
|
authReducer: ao,
|
|
2229
2229
|
categoryReducer: uo,
|
|
2230
2230
|
assetReducer: ur,
|
|
@@ -2268,7 +2268,7 @@ const wa = "versioning", Ea = () => qa.length - 1, ka = (t) => (t[wa] = { versio
|
|
|
2268
2268
|
issueTypeFieldValuesAttachmentReducer: Eu,
|
|
2269
2269
|
assetTypeFieldsReducer: Lr,
|
|
2270
2270
|
assetTypeFieldValuesReducer: to,
|
|
2271
|
-
assetTypeFieldsAttachmentReducer:
|
|
2271
|
+
assetTypeFieldsAttachmentReducer: xr,
|
|
2272
2272
|
assetTypeFieldValuesAttachmentReducer: Yr,
|
|
2273
2273
|
assetProcedureReducer: cr,
|
|
2274
2274
|
assetProcedureInstanceReducer: ir,
|
|
@@ -2311,7 +2311,7 @@ const mh = {
|
|
|
2311
2311
|
effect: hh,
|
|
2312
2312
|
// Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
|
|
2313
2313
|
// but redux-offline does not know this.
|
|
2314
|
-
discard:
|
|
2314
|
+
discard: xa,
|
|
2315
2315
|
returnPromises: !0,
|
|
2316
2316
|
persistCallback: dh,
|
|
2317
2317
|
retry: Rh,
|
|
@@ -2371,7 +2371,7 @@ async function Ma(t, e) {
|
|
|
2371
2371
|
return v.set("x-amz-checksum-sha1", ve).field({ ...o, ...M.fields }).attach("file", F);
|
|
2372
2372
|
}
|
|
2373
2373
|
return v.send(o);
|
|
2374
|
-
},
|
|
2374
|
+
}, za = {
|
|
2375
2375
|
[d.GET]: () => S ? Oe.get(g.toString()).responseType("blob") : Oe.get(g.toString()),
|
|
2376
2376
|
[d.POST]: () => {
|
|
2377
2377
|
const v = Oe.post(g.toString());
|
|
@@ -2390,7 +2390,7 @@ async function Ma(t, e) {
|
|
|
2390
2390
|
return k(v);
|
|
2391
2391
|
}
|
|
2392
2392
|
}[r];
|
|
2393
|
-
let fe =
|
|
2393
|
+
let fe = za();
|
|
2394
2394
|
if (f && i) {
|
|
2395
2395
|
const v = s.auth.getAuthHeader();
|
|
2396
2396
|
fe = fe.set("Authorization", v);
|
|
@@ -2456,7 +2456,7 @@ function Sh(t) {
|
|
|
2456
2456
|
return (e = gh[0]) == null ? void 0 : e.run(t);
|
|
2457
2457
|
}
|
|
2458
2458
|
const Da = [400, 409, 403, 404, 405, 500];
|
|
2459
|
-
function
|
|
2459
|
+
function xa(t, e, s = 0) {
|
|
2460
2460
|
var r;
|
|
2461
2461
|
if (console.debug(
|
|
2462
2462
|
"Considering discarding request due to error:",
|
|
@@ -2512,7 +2512,7 @@ function Th(t, e, s) {
|
|
|
2512
2512
|
function Rh(t, e) {
|
|
2513
2513
|
return Ue().dispatch(Ol((/* @__PURE__ */ new Date()).getTime())), ic;
|
|
2514
2514
|
}
|
|
2515
|
-
const
|
|
2515
|
+
const xe = "An unknown error occurred", _h = 500, Di = ["non_field_errors", "detail"];
|
|
2516
2516
|
function Oh(t, e) {
|
|
2517
2517
|
let s;
|
|
2518
2518
|
if (t != null && t.body)
|
|
@@ -2533,18 +2533,18 @@ function Oh(t, e) {
|
|
|
2533
2533
|
}
|
|
2534
2534
|
} else typeof t.body == "string" && (s = t.body);
|
|
2535
2535
|
else t != null && t.text ? s = t.text : e instanceof Error && (s = e.message);
|
|
2536
|
-
return !s || s.length > _h ?
|
|
2536
|
+
return !s || s.length > _h ? xe : s;
|
|
2537
2537
|
}
|
|
2538
2538
|
class j extends Error {
|
|
2539
2539
|
constructor(s) {
|
|
2540
|
-
super(
|
|
2540
|
+
super(xe);
|
|
2541
2541
|
// NOTE: Needs to conform to NetworkError in @redux-offline/redux-offline, which has `status` and `response`.
|
|
2542
2542
|
y(this, "status");
|
|
2543
2543
|
y(this, "response");
|
|
2544
2544
|
y(this, "message");
|
|
2545
2545
|
y(this, "options");
|
|
2546
2546
|
const { response: i, innerError: n } = s;
|
|
2547
|
-
this.message = s.message ?? Oh(i, n) ??
|
|
2547
|
+
this.message = s.message ?? Oh(i, n) ?? xe, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, s.discard = s.discard ?? !1, this.options = s;
|
|
2548
2548
|
}
|
|
2549
2549
|
}
|
|
2550
2550
|
class MA {
|
|
@@ -2583,7 +2583,7 @@ class MA {
|
|
|
2583
2583
|
Ma(o, this).then((l) => {
|
|
2584
2584
|
n.resolve(l.body);
|
|
2585
2585
|
}).catch((l) => {
|
|
2586
|
-
|
|
2586
|
+
xa(l, o), l instanceof Error ? n.reject(l) : n.reject(new Error((l ?? xe).toString()));
|
|
2587
2587
|
});
|
|
2588
2588
|
} else {
|
|
2589
2589
|
const c = this.store.dispatch(
|
|
@@ -2955,12 +2955,12 @@ class _e extends E {
|
|
|
2955
2955
|
}), n;
|
|
2956
2956
|
}
|
|
2957
2957
|
}
|
|
2958
|
-
class
|
|
2958
|
+
class xA extends _e {
|
|
2959
2959
|
constructor() {
|
|
2960
2960
|
super(...arguments);
|
|
2961
2961
|
y(this, "name", "Asset Attachment");
|
|
2962
2962
|
y(this, "url", "/asset-attachments");
|
|
2963
|
-
y(this, "initializeAttachments",
|
|
2963
|
+
y(this, "initializeAttachments", xt);
|
|
2964
2964
|
y(this, "addAttachments", Hi);
|
|
2965
2965
|
y(this, "updateAttachments", Tc);
|
|
2966
2966
|
y(this, "removeAttachments", Wi);
|
|
@@ -3003,10 +3003,10 @@ class zA extends _e {
|
|
|
3003
3003
|
blocks: [],
|
|
3004
3004
|
blockers: []
|
|
3005
3005
|
});
|
|
3006
|
-
this.dispatch(
|
|
3006
|
+
this.dispatch(xt(i));
|
|
3007
3007
|
}
|
|
3008
3008
|
}
|
|
3009
|
-
class
|
|
3009
|
+
class zA extends E {
|
|
3010
3010
|
async bulkAdd(e) {
|
|
3011
3011
|
var l;
|
|
3012
3012
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
|
|
@@ -3089,9 +3089,9 @@ class UA extends I {
|
|
|
3089
3089
|
blocks: [a.uuid]
|
|
3090
3090
|
});
|
|
3091
3091
|
return c.then((l) => {
|
|
3092
|
-
this.dispatch(
|
|
3092
|
+
this.dispatch(xc(l));
|
|
3093
3093
|
}).catch((l) => {
|
|
3094
|
-
throw this.dispatch(
|
|
3094
|
+
throw this.dispatch(zc(a.uuid)), l;
|
|
3095
3095
|
}), [a, c];
|
|
3096
3096
|
}
|
|
3097
3097
|
async refreshStore(e) {
|
|
@@ -4037,7 +4037,7 @@ class JA extends I {
|
|
|
4037
4037
|
blockers: [],
|
|
4038
4038
|
blocks: []
|
|
4039
4039
|
});
|
|
4040
|
-
this.dispatch(
|
|
4040
|
+
this.dispatch(zr(s));
|
|
4041
4041
|
}
|
|
4042
4042
|
}
|
|
4043
4043
|
class QA extends E {
|
|
@@ -4346,7 +4346,7 @@ class eb extends I {
|
|
|
4346
4346
|
method: d.POST,
|
|
4347
4347
|
url: "/categories/",
|
|
4348
4348
|
payload: P(a),
|
|
4349
|
-
blockers: [e.project
|
|
4349
|
+
blockers: [e.project],
|
|
4350
4350
|
blocks: [a.uuid]
|
|
4351
4351
|
});
|
|
4352
4352
|
return [a, c];
|
|
@@ -4904,7 +4904,7 @@ class cb extends E {
|
|
|
4904
4904
|
blockers: [e],
|
|
4905
4905
|
blocks: []
|
|
4906
4906
|
});
|
|
4907
|
-
this.dispatch(
|
|
4907
|
+
this.dispatch(zo(s));
|
|
4908
4908
|
}
|
|
4909
4909
|
}
|
|
4910
4910
|
class rb extends E {
|
|
@@ -5000,7 +5000,7 @@ class db extends E {
|
|
|
5000
5000
|
blocks: [c.uuid, o.uuid]
|
|
5001
5001
|
});
|
|
5002
5002
|
return l.catch((u) => {
|
|
5003
|
-
throw this.dispatch(
|
|
5003
|
+
throw this.dispatch(xs(c.uuid)), this.dispatch(Cn(o.uuid)), u;
|
|
5004
5004
|
}), [c, o, l];
|
|
5005
5005
|
}
|
|
5006
5006
|
async delete(e) {
|
|
@@ -5010,7 +5010,7 @@ class db extends E {
|
|
|
5010
5010
|
const a = dd(e)(i);
|
|
5011
5011
|
a.length > 0 && this.dispatch(Ft(a.map(({ uuid: o }) => o)));
|
|
5012
5012
|
const c = Jo(e)(i);
|
|
5013
|
-
c.length > 0 && this.dispatch(Ko(c.map(({ uuid: o }) => o))), this.dispatch(
|
|
5013
|
+
c.length > 0 && this.dispatch(Ko(c.map(({ uuid: o }) => o))), this.dispatch(xs(e));
|
|
5014
5014
|
try {
|
|
5015
5015
|
return await this.enqueueRequest({
|
|
5016
5016
|
description: "Delete form",
|
|
@@ -5148,8 +5148,8 @@ class lb extends E {
|
|
|
5148
5148
|
original_date: r.original_date,
|
|
5149
5149
|
file: l
|
|
5150
5150
|
},
|
|
5151
|
-
blocks: [o
|
|
5152
|
-
blockers: [o
|
|
5151
|
+
blocks: [o],
|
|
5152
|
+
blockers: [o]
|
|
5153
5153
|
});
|
|
5154
5154
|
return u.then((m) => {
|
|
5155
5155
|
this.processPresignedUrls(m.presigned_urls), this.dispatch(Ke(m.geo_image));
|
|
@@ -5195,7 +5195,7 @@ class lb extends E {
|
|
|
5195
5195
|
geo_images: l,
|
|
5196
5196
|
files: Object.values(r)
|
|
5197
5197
|
},
|
|
5198
|
-
blocks: [s
|
|
5198
|
+
blocks: [s],
|
|
5199
5199
|
blockers: o
|
|
5200
5200
|
});
|
|
5201
5201
|
return u.then((m) => {
|
|
@@ -5363,11 +5363,11 @@ class pb extends _e {
|
|
|
5363
5363
|
y(this, "name", "Issue Comment Attachment");
|
|
5364
5364
|
y(this, "url", "/issue-comment-attachments");
|
|
5365
5365
|
y(this, "initializeAttachments", Xs);
|
|
5366
|
-
y(this, "addAttachments",
|
|
5366
|
+
y(this, "addAttachments", xd);
|
|
5367
5367
|
y(this, "updateAttachments", Ud);
|
|
5368
5368
|
y(this, "removeAttachments", Vd);
|
|
5369
5369
|
y(this, "removeAttachment", $d);
|
|
5370
|
-
y(this, "setAttachment",
|
|
5370
|
+
y(this, "setAttachment", zd);
|
|
5371
5371
|
y(this, "selectAttachment", Bd);
|
|
5372
5372
|
}
|
|
5373
5373
|
buildOfflineAttachment(s) {
|
|
@@ -5572,7 +5572,7 @@ class yb extends I {
|
|
|
5572
5572
|
issue: i.uuid,
|
|
5573
5573
|
changes: a
|
|
5574
5574
|
});
|
|
5575
|
-
this.dispatch(
|
|
5575
|
+
this.dispatch(zu(c));
|
|
5576
5576
|
const o = this.enqueueRequest({
|
|
5577
5577
|
description: "Edit issue",
|
|
5578
5578
|
method: d.PATCH,
|
|
@@ -6019,7 +6019,7 @@ class _b extends I {
|
|
|
6019
6019
|
blockers: [],
|
|
6020
6020
|
blocks: []
|
|
6021
6021
|
});
|
|
6022
|
-
this.dispatch(
|
|
6022
|
+
this.dispatch(xu(s));
|
|
6023
6023
|
}
|
|
6024
6024
|
}
|
|
6025
6025
|
class Ph extends va {
|
|
@@ -6115,7 +6115,7 @@ class Ob extends Ph {
|
|
|
6115
6115
|
try {
|
|
6116
6116
|
await this.renewTokens();
|
|
6117
6117
|
} catch (s) {
|
|
6118
|
-
return s instanceof j && this.clearAuth(), s instanceof Error ? Promise.reject(s) : Promise.reject(new Error((s ??
|
|
6118
|
+
return s instanceof j && this.clearAuth(), s instanceof Error ? Promise.reject(s) : Promise.reject(new Error((s ?? xe).toString()));
|
|
6119
6119
|
}
|
|
6120
6120
|
}
|
|
6121
6121
|
}
|
|
@@ -6162,7 +6162,7 @@ class Ib extends I {
|
|
|
6162
6162
|
method: d.GET,
|
|
6163
6163
|
url: `/billing/${e.uuid}/`,
|
|
6164
6164
|
isAuthNeeded: !0,
|
|
6165
|
-
blockers: [e.organization_owner
|
|
6165
|
+
blockers: [e.organization_owner],
|
|
6166
6166
|
blocks: []
|
|
6167
6167
|
});
|
|
6168
6168
|
return this.dispatch(pe(s)), s;
|
|
@@ -6173,7 +6173,7 @@ class Ib extends I {
|
|
|
6173
6173
|
method: d.DELETE,
|
|
6174
6174
|
url: `/billing/${e.uuid}/suspend/`,
|
|
6175
6175
|
isAuthNeeded: !0,
|
|
6176
|
-
blockers: [e.organization_owner
|
|
6176
|
+
blockers: [e.organization_owner],
|
|
6177
6177
|
blocks: []
|
|
6178
6178
|
});
|
|
6179
6179
|
return this.dispatch(pe(s)), s;
|
|
@@ -6184,7 +6184,7 @@ class Ib extends I {
|
|
|
6184
6184
|
method: d.PATCH,
|
|
6185
6185
|
url: `/billing/${e.uuid}/suspend/`,
|
|
6186
6186
|
isAuthNeeded: !0,
|
|
6187
|
-
blockers: [e.organization_owner
|
|
6187
|
+
blockers: [e.organization_owner],
|
|
6188
6188
|
blocks: []
|
|
6189
6189
|
});
|
|
6190
6190
|
return this.dispatch(pe(s)), s;
|
|
@@ -6195,7 +6195,7 @@ class Ib extends I {
|
|
|
6195
6195
|
method: d.DELETE,
|
|
6196
6196
|
url: `/billing/${e.uuid}/`,
|
|
6197
6197
|
isAuthNeeded: !0,
|
|
6198
|
-
blockers: [e.organization_owner
|
|
6198
|
+
blockers: [e.organization_owner],
|
|
6199
6199
|
blocks: []
|
|
6200
6200
|
});
|
|
6201
6201
|
return this.dispatch(pe(s)), s;
|
|
@@ -6207,10 +6207,7 @@ class Ib extends I {
|
|
|
6207
6207
|
url: `/billing/${e.uuid}/project/`,
|
|
6208
6208
|
isAuthNeeded: !0,
|
|
6209
6209
|
payload: { project: s.uuid },
|
|
6210
|
-
blockers: [
|
|
6211
|
-
e.organization_owner ? e.organization_owner.toString() : "",
|
|
6212
|
-
s.uuid ? s.uuid.toString() : ""
|
|
6213
|
-
],
|
|
6210
|
+
blockers: [e.organization_owner, s.uuid],
|
|
6214
6211
|
blocks: ["add-issue", "add-form-entry", "change-access-level", "add-workspace"]
|
|
6215
6212
|
});
|
|
6216
6213
|
return this.dispatch(pe(i)), i;
|
|
@@ -6221,7 +6218,7 @@ class Ib extends I {
|
|
|
6221
6218
|
method: d.DELETE,
|
|
6222
6219
|
url: `/billing/${e.uuid}/project/`,
|
|
6223
6220
|
isAuthNeeded: !0,
|
|
6224
|
-
blockers: [e.organization_owner
|
|
6221
|
+
blockers: [e.organization_owner],
|
|
6225
6222
|
blocks: ["add-issue", "add-form-entry", "change-access-level", "add-workspace"]
|
|
6226
6223
|
});
|
|
6227
6224
|
return this.dispatch(pe(s)), s;
|
|
@@ -6311,8 +6308,8 @@ class Pb extends I {
|
|
|
6311
6308
|
method: d.PATCH,
|
|
6312
6309
|
url: `/organizations/${e.uuid}/`,
|
|
6313
6310
|
payload: e,
|
|
6314
|
-
blockers: [`add-org-${e.name}`, e.uuid
|
|
6315
|
-
blocks: [e.uuid
|
|
6311
|
+
blockers: [`add-org-${e.name}`, e.uuid],
|
|
6312
|
+
blocks: [e.uuid]
|
|
6316
6313
|
});
|
|
6317
6314
|
}
|
|
6318
6315
|
async invite(e, s) {
|
|
@@ -6504,7 +6501,7 @@ class Eb extends I {
|
|
|
6504
6501
|
blockers: [],
|
|
6505
6502
|
blocks: []
|
|
6506
6503
|
});
|
|
6507
|
-
this.dispatch(
|
|
6504
|
+
this.dispatch(xl(s));
|
|
6508
6505
|
}
|
|
6509
6506
|
}
|
|
6510
6507
|
class kb extends I {
|
|
@@ -6535,8 +6532,8 @@ class kb extends I {
|
|
|
6535
6532
|
name: e.name,
|
|
6536
6533
|
bounds: e.bounds
|
|
6537
6534
|
},
|
|
6538
|
-
blockers: [e.uuid
|
|
6539
|
-
blocks: [e.uuid
|
|
6535
|
+
blockers: [e.uuid],
|
|
6536
|
+
blocks: [e.uuid]
|
|
6540
6537
|
});
|
|
6541
6538
|
}
|
|
6542
6539
|
async delete(e) {
|
|
@@ -6556,11 +6553,11 @@ class kb extends I {
|
|
|
6556
6553
|
description: "Delete project",
|
|
6557
6554
|
method: d.DELETE,
|
|
6558
6555
|
url: `/projects/${e}/`,
|
|
6559
|
-
blockers: [e
|
|
6556
|
+
blockers: [e],
|
|
6560
6557
|
blocks: []
|
|
6561
6558
|
}), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 });
|
|
6562
6559
|
} catch (u) {
|
|
6563
|
-
throw this.dispatch(ol(Object.values(n))), this.dispatch(ma(Object.values(l))), this.dispatch(
|
|
6560
|
+
throw this.dispatch(ol(Object.values(n))), this.dispatch(ma(Object.values(l))), this.dispatch(zl(c)), this.dispatch(wl(o)), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }), r && this.dispatch(pe({ ...r, project: a.uuid })), u;
|
|
6564
6561
|
}
|
|
6565
6562
|
}
|
|
6566
6563
|
invite(e, s) {
|
|
@@ -6591,8 +6588,8 @@ class kb extends I {
|
|
|
6591
6588
|
description: "Accept project invite",
|
|
6592
6589
|
method: d.PATCH,
|
|
6593
6590
|
url: `/projects/${e}/accept-invite/`,
|
|
6594
|
-
blockers: [e
|
|
6595
|
-
blocks: [e
|
|
6591
|
+
blockers: [e],
|
|
6592
|
+
blocks: [e]
|
|
6596
6593
|
}).then(() => {
|
|
6597
6594
|
this.dispatch(ll(e));
|
|
6598
6595
|
});
|
|
@@ -6735,10 +6732,10 @@ var Eh = /* @__PURE__ */ ((t) => (t[t.USER_REGISTRATION = 0] = "USER_REGISTRATIO
|
|
|
6735
6732
|
export {
|
|
6736
6733
|
j as APIError,
|
|
6737
6734
|
DA as AgentService,
|
|
6738
|
-
|
|
6735
|
+
xA as AssetAttachmentService,
|
|
6739
6736
|
$A as AssetProcedureFieldValuesAttachmentService,
|
|
6740
6737
|
GA as AssetProcedureFieldValuesService,
|
|
6741
|
-
|
|
6738
|
+
zA as AssetProcedureFieldsAttachmentService,
|
|
6742
6739
|
UA as AssetProcedureFieldsService,
|
|
6743
6740
|
LA as AssetProcedureInstanceService,
|
|
6744
6741
|
BA as AssetProcedureService,
|
|
@@ -6798,13 +6795,13 @@ export {
|
|
|
6798
6795
|
Pb as OrganizationService,
|
|
6799
6796
|
Me as OutboxCoordinator,
|
|
6800
6797
|
ec as PaddleCheckoutEvent,
|
|
6801
|
-
|
|
6798
|
+
zi as ProjectAccessLevel,
|
|
6802
6799
|
vb as ProjectAccessService,
|
|
6803
6800
|
wb as ProjectAttachmentService,
|
|
6804
6801
|
Eb as ProjectFileService,
|
|
6805
6802
|
kb as ProjectService,
|
|
6806
6803
|
qb as TeamService,
|
|
6807
|
-
|
|
6804
|
+
xe as UNKNOWN_ERROR_MESSAGE,
|
|
6808
6805
|
jb as UserService,
|
|
6809
6806
|
ja as VERSION_REDUCER_KEY,
|
|
6810
6807
|
Eh as VerificationCodeType,
|
|
@@ -6867,7 +6864,7 @@ export {
|
|
|
6867
6864
|
Wn as addIssueAttachments,
|
|
6868
6865
|
ti as addIssueComment,
|
|
6869
6866
|
Cf as addIssueCommentAttachment,
|
|
6870
|
-
|
|
6867
|
+
xd as addIssueCommentAttachments,
|
|
6871
6868
|
Uf as addIssueComments,
|
|
6872
6869
|
qu as addIssueType,
|
|
6873
6870
|
Lf as addIssueTypeAttachment,
|
|
@@ -6880,7 +6877,7 @@ export {
|
|
|
6880
6877
|
Wf as addIssueTypeFieldsAttachment,
|
|
6881
6878
|
uu as addIssueTypeFieldsAttachments,
|
|
6882
6879
|
cy as addIssueTypeFieldsMany,
|
|
6883
|
-
|
|
6880
|
+
zu as addIssueUpdate,
|
|
6884
6881
|
Uu as addIssueUpdates,
|
|
6885
6882
|
Jd as addIssues,
|
|
6886
6883
|
Iy as addLicenses,
|
|
@@ -6890,7 +6887,7 @@ export {
|
|
|
6890
6887
|
AA as addProjectAttachment,
|
|
6891
6888
|
Pl as addProjectAttachments,
|
|
6892
6889
|
TA as addProjectFile,
|
|
6893
|
-
|
|
6890
|
+
zl as addProjectFiles,
|
|
6894
6891
|
Ky as addProjects,
|
|
6895
6892
|
Jl as addTeam,
|
|
6896
6893
|
qy as addUser,
|
|
@@ -6924,7 +6921,7 @@ export {
|
|
|
6924
6921
|
gn as assetTypeFieldValuesAttachmentSlice,
|
|
6925
6922
|
to as assetTypeFieldValuesReducer,
|
|
6926
6923
|
Tn as assetTypeFieldValuesSlice,
|
|
6927
|
-
|
|
6924
|
+
xr as assetTypeFieldsAttachmentReducer,
|
|
6928
6925
|
An as assetTypeFieldsAttachmentSlice,
|
|
6929
6926
|
Lr as assetTypeFieldsReducer,
|
|
6930
6927
|
bn as assetTypeFieldsSlice,
|
|
@@ -6951,7 +6948,7 @@ export {
|
|
|
6951
6948
|
Cm as deleteAssetProcedureFieldValuesAttachment,
|
|
6952
6949
|
mt as deleteAssetProcedureFieldValuesAttachments,
|
|
6953
6950
|
Jc as deleteAssetProcedureFieldValuesMany,
|
|
6954
|
-
|
|
6951
|
+
zc as deleteAssetProcedureFields,
|
|
6955
6952
|
Sm as deleteAssetProcedureFieldsAttachment,
|
|
6956
6953
|
kc as deleteAssetProcedureFieldsAttachments,
|
|
6957
6954
|
Pm as deleteAssetProcedureFieldsMany,
|
|
@@ -6979,7 +6976,7 @@ export {
|
|
|
6979
6976
|
fo as deleteDocumentAttachment,
|
|
6980
6977
|
yo as deleteDocumentAttachments,
|
|
6981
6978
|
Eo as deleteEmailDomain,
|
|
6982
|
-
|
|
6979
|
+
xs as deleteForm,
|
|
6983
6980
|
Cn as deleteFormRevision,
|
|
6984
6981
|
lf as deleteFormRevisionAttachment,
|
|
6985
6982
|
Vo as deleteFormRevisionAttachments,
|
|
@@ -7027,7 +7024,7 @@ export {
|
|
|
7027
7024
|
Cy as deleteUser,
|
|
7028
7025
|
Dy as deleteUsers,
|
|
7029
7026
|
lh as dequeue,
|
|
7030
|
-
|
|
7027
|
+
xa as discard,
|
|
7031
7028
|
So as documentAttachmentReducer,
|
|
7032
7029
|
Pn as documentAttachmentSlice,
|
|
7033
7030
|
vn as documentSlice,
|
|
@@ -7040,8 +7037,8 @@ export {
|
|
|
7040
7037
|
uh as enqueue,
|
|
7041
7038
|
Rl as enqueueRequest,
|
|
7042
7039
|
b as fallbackToEmptyArray,
|
|
7043
|
-
|
|
7044
|
-
|
|
7040
|
+
ze as fallbackToEmptyObject,
|
|
7041
|
+
xo as fileReducer,
|
|
7045
7042
|
kn as fileSlice,
|
|
7046
7043
|
lc as fileToBlob,
|
|
7047
7044
|
Zo as formReducer,
|
|
@@ -7051,7 +7048,7 @@ export {
|
|
|
7051
7048
|
jn as formRevisionsSlice,
|
|
7052
7049
|
Dn as formSlice,
|
|
7053
7050
|
cd as formSubmissionAttachmentReducer,
|
|
7054
|
-
|
|
7051
|
+
xn as formSubmissionAttachmentSlice,
|
|
7055
7052
|
hd as formSubmissionReducer,
|
|
7056
7053
|
Un as formSubmissionSlice,
|
|
7057
7054
|
Td as geoImageReducer,
|
|
@@ -7064,7 +7061,7 @@ export {
|
|
|
7064
7061
|
uc as getRenamedFile,
|
|
7065
7062
|
Ce as hashFile,
|
|
7066
7063
|
CA as initSDK,
|
|
7067
|
-
|
|
7064
|
+
xt as initializeAssetAttachments,
|
|
7068
7065
|
Wc as initializeAssetProcedureFieldValues,
|
|
7069
7066
|
Vc as initializeAssetProcedureFieldValuesAttachments,
|
|
7070
7067
|
Cc as initializeAssetProcedureFields,
|
|
@@ -7076,7 +7073,7 @@ export {
|
|
|
7076
7073
|
Rr as initializeAssetTypeAttachments,
|
|
7077
7074
|
Jr as initializeAssetTypeFieldValues,
|
|
7078
7075
|
Br as initializeAssetTypeFieldValuesAttachments,
|
|
7079
|
-
|
|
7076
|
+
zr as initializeAssetTypeFields,
|
|
7080
7077
|
kr as initializeAssetTypeFieldsAttachments,
|
|
7081
7078
|
so as initializeAssetTypes,
|
|
7082
7079
|
rr as initializeAssets,
|
|
@@ -7084,7 +7081,7 @@ export {
|
|
|
7084
7081
|
fc as initializeConversations,
|
|
7085
7082
|
lo as initializeDocumentAttachments,
|
|
7086
7083
|
vo as initializeEmailDomains,
|
|
7087
|
-
|
|
7084
|
+
zo as initializeFormRevisionAttachments,
|
|
7088
7085
|
Ho as initializeFormRevisions,
|
|
7089
7086
|
sd as initializeFormSubmissionAttachments,
|
|
7090
7087
|
rd as initializeFormSubmissions,
|
|
@@ -7099,14 +7096,14 @@ export {
|
|
|
7099
7096
|
gu as initializeIssueTypeFields,
|
|
7100
7097
|
du as initializeIssueTypeFieldsAttachments,
|
|
7101
7098
|
ku as initializeIssueTypes,
|
|
7102
|
-
|
|
7099
|
+
xu as initializeIssueUpdates,
|
|
7103
7100
|
Yd as initializeIssues,
|
|
7104
7101
|
Nu as initializeLicences,
|
|
7105
7102
|
Qu as initializeOrganizationAccesses,
|
|
7106
7103
|
tA as initializeOrganizations,
|
|
7107
7104
|
ma as initializeProjectAccesses,
|
|
7108
7105
|
Fl as initializeProjectAttachments,
|
|
7109
|
-
|
|
7106
|
+
xl as initializeProjectFiles,
|
|
7110
7107
|
Hy as initializeProjects,
|
|
7111
7108
|
Yl as initializeTeams,
|
|
7112
7109
|
wy as initializeUsers,
|
|
@@ -7237,7 +7234,7 @@ export {
|
|
|
7237
7234
|
Pp as selectAssetTypeFieldsById,
|
|
7238
7235
|
Gr as selectAssetTypeFieldsMapping,
|
|
7239
7236
|
Ip as selectAssetTypeFieldsOfAssetType,
|
|
7240
|
-
|
|
7237
|
+
xp as selectAssetTypeValuesOfAssetType,
|
|
7241
7238
|
Lp as selectAssetTypes,
|
|
7242
7239
|
Bp as selectAssetTypesByIds,
|
|
7243
7240
|
On as selectAssetTypesMapping,
|
|
@@ -7255,7 +7252,7 @@ export {
|
|
|
7255
7252
|
hf as selectAttachmentsOfFormRevision,
|
|
7256
7253
|
ad as selectAttachmentsOfFormSubmission,
|
|
7257
7254
|
Md as selectAttachmentsOfIssue,
|
|
7258
|
-
|
|
7255
|
+
zf as selectAttachmentsOfIssueComment,
|
|
7259
7256
|
Hf as selectAttachmentsOfIssueType,
|
|
7260
7257
|
wu as selectAttachmentsOfIssueTypeFieldValues,
|
|
7261
7258
|
Xf as selectAttachmentsOfIssueTypeFields,
|
|
@@ -7288,7 +7285,7 @@ export {
|
|
|
7288
7285
|
Yo as selectFormRevisions,
|
|
7289
7286
|
Jo as selectFormRevisionsOfForm,
|
|
7290
7287
|
nd as selectFormSubmissionAttachemntsByIds,
|
|
7291
|
-
|
|
7288
|
+
zn as selectFormSubmissionAttachmentsMapping,
|
|
7292
7289
|
Gs as selectFormSubmissionById,
|
|
7293
7290
|
Vn as selectFormSubmissions,
|
|
7294
7291
|
$n as selectFormSubmissionsMapping,
|
|
@@ -7407,10 +7404,10 @@ export {
|
|
|
7407
7404
|
Sc as setAssetAttachment,
|
|
7408
7405
|
pm as setAssetAttachments,
|
|
7409
7406
|
Ym as setAssetProcedure,
|
|
7410
|
-
|
|
7407
|
+
xm as setAssetProcedureFieldValues,
|
|
7411
7408
|
qm as setAssetProcedureFieldValuesAttachment,
|
|
7412
7409
|
jm as setAssetProcedureFieldValuesAttachments,
|
|
7413
|
-
|
|
7410
|
+
zm as setAssetProcedureFieldValuesMany,
|
|
7414
7411
|
Om as setAssetProcedureFields,
|
|
7415
7412
|
Am as setAssetProcedureFieldsAttachment,
|
|
7416
7413
|
bm as setAssetProcedureFieldsAttachments,
|
|
@@ -7420,7 +7417,7 @@ export {
|
|
|
7420
7417
|
Jm as setAssetProcedures,
|
|
7421
7418
|
br as setAssetStage,
|
|
7422
7419
|
ap as setAssetStages,
|
|
7423
|
-
|
|
7420
|
+
zp as setAssetType,
|
|
7424
7421
|
_r as setAssetTypeAttachment,
|
|
7425
7422
|
lp as setAssetTypeAttachments,
|
|
7426
7423
|
Mp as setAssetTypeFieldValues,
|
|
@@ -7434,7 +7431,7 @@ export {
|
|
|
7434
7431
|
Up as setAssetTypes,
|
|
7435
7432
|
tp as setAssets,
|
|
7436
7433
|
Ac as setConversation,
|
|
7437
|
-
|
|
7434
|
+
xy as setCurrentUser,
|
|
7438
7435
|
mo as setDocumentAttachment,
|
|
7439
7436
|
Zp as setDocumentAttachments,
|
|
7440
7437
|
To as setDocuments,
|
|
@@ -7454,7 +7451,7 @@ export {
|
|
|
7454
7451
|
wd as setIssueAttachment,
|
|
7455
7452
|
jf as setIssueAttachments,
|
|
7456
7453
|
ei as setIssueComment,
|
|
7457
|
-
|
|
7454
|
+
zd as setIssueCommentAttachment,
|
|
7458
7455
|
Df as setIssueCommentAttachments,
|
|
7459
7456
|
Hd as setIssueComments,
|
|
7460
7457
|
Je as setIssueType,
|
|
@@ -7472,7 +7469,7 @@ export {
|
|
|
7472
7469
|
no as setLoggedIn,
|
|
7473
7470
|
sA as setOrganization,
|
|
7474
7471
|
fl as setOrganizations,
|
|
7475
|
-
|
|
7472
|
+
zy as setProfilePicture,
|
|
7476
7473
|
Wy as setProject,
|
|
7477
7474
|
vl as setProjectAttachment,
|
|
7478
7475
|
wl as setProjectAttachments,
|
|
@@ -7501,7 +7498,7 @@ export {
|
|
|
7501
7498
|
Mm as updateAssetProcedureFieldValuesAttachment,
|
|
7502
7499
|
Gc as updateAssetProcedureFieldValuesAttachments,
|
|
7503
7500
|
Yc as updateAssetProcedureFieldValuesMany,
|
|
7504
|
-
|
|
7501
|
+
xc as updateAssetProcedureFields,
|
|
7505
7502
|
gm as updateAssetProcedureFieldsAttachment,
|
|
7506
7503
|
Ec as updateAssetProcedureFieldsAttachments,
|
|
7507
7504
|
Fm as updateAssetProcedureFieldsMany,
|
|
@@ -7544,7 +7541,7 @@ export {
|
|
|
7544
7541
|
Ef as updateIssueAssociations,
|
|
7545
7542
|
Mf as updateIssueAttachment,
|
|
7546
7543
|
Ed as updateIssueAttachments,
|
|
7547
|
-
|
|
7544
|
+
xf as updateIssueCommentAttachment,
|
|
7548
7545
|
Ud as updateIssueCommentAttachments,
|
|
7549
7546
|
ju as updateIssueType,
|
|
7550
7547
|
Nf as updateIssueTypeAttachment,
|