@overmap-ai/core 1.0.78-session-auth.1 → 1.0.78-session-auth.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/overmap-core.js +1063 -1050
- package/dist/overmap-core.umd.cjs +6 -6
- package/dist/sdk/services/BaseService.d.ts +1 -1
- package/dist/sdk/services/FileService.d.ts +1 -1
- package/dist/sdk/services/JWTAuthService.d.ts +2 -2
- package/dist/sdk/services/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/overmap-core.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var A = (t, e, s) =>
|
|
1
|
+
var _c = Object.defineProperty;
|
|
2
|
+
var Rc = (t, e, s) => e in t ? _c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
|
+
var A = (t, e, s) => Rc(t, typeof e != "symbol" ? e + "" : e, s);
|
|
4
4
|
import "@redux-offline/redux-offline/lib/types";
|
|
5
|
-
import { createSlice as P, createSelector as m, combineReducers as pn, compose as
|
|
5
|
+
import { createSlice as P, createSelector as m, combineReducers as pn, compose as Fc } from "@reduxjs/toolkit";
|
|
6
6
|
import qe from "superagent";
|
|
7
7
|
import { v4 as Ee } from "uuid";
|
|
8
|
-
import { saveAs as
|
|
9
|
-
import { offline as
|
|
8
|
+
import { saveAs as Oc } from "file-saver";
|
|
9
|
+
import { offline as Ic } from "@redux-offline/redux-offline";
|
|
10
10
|
import Ht from "@redux-offline/redux-offline/lib/defaults";
|
|
11
11
|
import "buffer";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { RESET_STATE as
|
|
12
|
+
import vc from "localforage";
|
|
13
|
+
import wc from "redux-persist-migrate";
|
|
14
|
+
import { RESET_STATE as Ec } from "@redux-offline/redux-offline/lib/constants";
|
|
15
15
|
import "@overmap-ai/forms";
|
|
16
|
-
import { openDB as
|
|
17
|
-
import
|
|
18
|
-
import { DepGraph as
|
|
16
|
+
import { openDB as kc } from "idb";
|
|
17
|
+
import qc from "jwt-decode";
|
|
18
|
+
import { DepGraph as jc } from "dependency-graph";
|
|
19
19
|
import "@tiptap/core";
|
|
20
|
-
const
|
|
21
|
-
var mn = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(mn || {}), fn = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(fn || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}),
|
|
22
|
-
const hm = yn.BACKLOG, pm = An.MEDIUM,
|
|
20
|
+
const Mc = Object.freeze([]), Dc = Object.freeze({});
|
|
21
|
+
var mn = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(mn || {}), fn = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(fn || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), Cc = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(Cc || {}), An = /* @__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))(An || {}), yn = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.SELECTED = 2] = "SELECTED", t[t.DONE = 4] = "DONE", t))(yn || {}), v = /* @__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))(v || {}), xc = /* @__PURE__ */ ((t) => (t.COMPLETED = "checkout.completed", t.CLOSED = "checkout.closed", t))(xc || {}), zc = /* @__PURE__ */ ((t) => (t[t.PRO = 0] = "PRO", t))(zc || {}), Vc = /* @__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))(Vc || {});
|
|
22
|
+
const hm = yn.BACKLOG, pm = An.MEDIUM, Uc = 6e4;
|
|
23
23
|
function T(t) {
|
|
24
24
|
return {
|
|
25
25
|
addOne: (h, p) => {
|
|
@@ -112,10 +112,10 @@ function mm() {
|
|
|
112
112
|
})
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
const ut = "versioning",
|
|
115
|
+
const ut = "versioning", $c = "RESET";
|
|
116
116
|
var hn;
|
|
117
117
|
hn = Symbol.toStringTag;
|
|
118
|
-
class
|
|
118
|
+
class Gc {
|
|
119
119
|
constructor() {
|
|
120
120
|
A(this, hn, "Promise");
|
|
121
121
|
A(this, "_promise");
|
|
@@ -155,8 +155,8 @@ const fm = (t) => ({
|
|
|
155
155
|
coordinates: t
|
|
156
156
|
}), ym = (t, e) => t[0] === e[0] && t[1] === e[1];
|
|
157
157
|
let gt = !1;
|
|
158
|
-
const
|
|
159
|
-
["true", "1"].includes(
|
|
158
|
+
const Bc = "";
|
|
159
|
+
["true", "1"].includes(Bc.toLowerCase()) && (gt = !0);
|
|
160
160
|
function bm(t, e) {
|
|
161
161
|
if (t === e) return !0;
|
|
162
162
|
if (typeof t != typeof e)
|
|
@@ -183,15 +183,15 @@ function Sm(t, e) {
|
|
|
183
183
|
if (t[s] !== e[s]) return !1;
|
|
184
184
|
return !0;
|
|
185
185
|
}
|
|
186
|
-
const b = (t) => t.length === 0 ?
|
|
186
|
+
const b = (t) => t.length === 0 ? Mc : t, Ce = (t) => Object.keys(t).length === 0 ? Dc : t, Lc = bn((t) => {
|
|
187
187
|
if (!t) return "";
|
|
188
188
|
const e = new Date(t), s = e.getFullYear() === qt.getFullYear(), i = { day: "numeric", month: "short" };
|
|
189
189
|
return s || (i.year = "numeric"), e.toLocaleDateString([], i);
|
|
190
|
-
}),
|
|
191
|
-
const i = Math.round((new Date(t).getTime() - qt.getTime()) /
|
|
192
|
-
return i < e || i > s ?
|
|
190
|
+
}), Nc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Hc = 1e3 * 86400, qt = /* @__PURE__ */ new Date(), gm = (t) => new Date(t).toDateString() === qt.toDateString(), Pm = bn((t, e, s) => {
|
|
191
|
+
const i = Math.round((new Date(t).getTime() - qt.getTime()) / Hc);
|
|
192
|
+
return i < e || i > s ? Lc(t) : Nc.format(i, "days");
|
|
193
193
|
});
|
|
194
|
-
function
|
|
194
|
+
function Wc(t) {
|
|
195
195
|
return new Uint8Array(t).reduce((s, i) => s + i.toString(16).padStart(2, "0"), "");
|
|
196
196
|
}
|
|
197
197
|
const Wt = async (t, e) => {
|
|
@@ -211,7 +211,7 @@ function Le(t) {
|
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
213
|
crypto.subtle.digest("SHA-1", n).then((a) => {
|
|
214
|
-
const c =
|
|
214
|
+
const c = Wc(a);
|
|
215
215
|
e(c);
|
|
216
216
|
});
|
|
217
217
|
}, i.readAsArrayBuffer(t);
|
|
@@ -224,7 +224,7 @@ function Tm(t) {
|
|
|
224
224
|
}
|
|
225
225
|
return `${t.name}&${t.type}${t.size}`;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Kc(t, e) {
|
|
228
228
|
return new File([t], e, { type: t.type });
|
|
229
229
|
}
|
|
230
230
|
function _m(t, e) {
|
|
@@ -243,7 +243,7 @@ const Rm = async (t) => {
|
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
245
|
return Object.values(e);
|
|
246
|
-
},
|
|
246
|
+
}, Yc = async (t) => (await fetch(t)).blob(), Fm = (t) => new Promise((e, s) => {
|
|
247
247
|
const i = new FileReader();
|
|
248
248
|
i.onloadend = () => {
|
|
249
249
|
var n;
|
|
@@ -252,7 +252,7 @@ const Rm = async (t) => {
|
|
|
252
252
|
});
|
|
253
253
|
function Om(t) {
|
|
254
254
|
const e = new Blob([t]);
|
|
255
|
-
|
|
255
|
+
Oc(e, t.name);
|
|
256
256
|
}
|
|
257
257
|
const Kt = {};
|
|
258
258
|
function Im(t, e, s, ...i) {
|
|
@@ -260,11 +260,11 @@ function Im(t, e, s, ...i) {
|
|
|
260
260
|
let a = !1;
|
|
261
261
|
n ? n[e] || (n[e] = !0, a = !0) : (Kt[t] = { [e]: !0 }, a = !0), a && console[s](...i);
|
|
262
262
|
}
|
|
263
|
-
const
|
|
263
|
+
const Jc = ["created_at", "updated_at", "index", "revision"];
|
|
264
264
|
function _(t) {
|
|
265
265
|
return { ...t, uuid: Ee() };
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Qc(t) {
|
|
268
268
|
const e = {};
|
|
269
269
|
for (const s of t)
|
|
270
270
|
e[s.uuid] = s;
|
|
@@ -293,7 +293,7 @@ function km(t, e) {
|
|
|
293
293
|
return s.slice(0, s.lastIndexOf(" ")) + "…";
|
|
294
294
|
}
|
|
295
295
|
const y = (t) => (e) => (s) => t(s, e);
|
|
296
|
-
function
|
|
296
|
+
function Xc(t, e, s) {
|
|
297
297
|
return s.findIndex((i) => i.uuid === t.uuid) === e;
|
|
298
298
|
}
|
|
299
299
|
function qm(t, e, s) {
|
|
@@ -302,7 +302,7 @@ function qm(t, e, s) {
|
|
|
302
302
|
const jm = /^.+@.+\..+$/;
|
|
303
303
|
function I(t) {
|
|
304
304
|
const e = { ...t };
|
|
305
|
-
for (const s of [...
|
|
305
|
+
for (const s of [...Jc, "created_by"])
|
|
306
306
|
s in e && delete e[s];
|
|
307
307
|
return e;
|
|
308
308
|
}
|
|
@@ -318,7 +318,7 @@ const Ue = T(
|
|
|
318
318
|
setConversation: Ue.setOne,
|
|
319
319
|
updateConversation: Ue.updateOne
|
|
320
320
|
}
|
|
321
|
-
}), { initializeConversations:
|
|
321
|
+
}), { initializeConversations: Zc, addConversation: er, setConversation: tr, updateConversation: sr } = Sn.actions, gn = (t) => t.agentsReducer.instances, Mm = m(
|
|
322
322
|
[gn],
|
|
323
323
|
(t) => Object.values(t)
|
|
324
324
|
), Dm = y(
|
|
@@ -326,7 +326,7 @@ const Ue = T(
|
|
|
326
326
|
[gn, (t, e) => e],
|
|
327
327
|
(t, e) => t[e]
|
|
328
328
|
)
|
|
329
|
-
),
|
|
329
|
+
), ir = Sn.reducer, C = T(
|
|
330
330
|
(t) => t.uuid
|
|
331
331
|
), Jt = C.getInitialState({}), Pn = P({
|
|
332
332
|
name: "assetAttachments",
|
|
@@ -347,21 +347,21 @@ const Ue = T(
|
|
|
347
347
|
initializeAssetAttachments: Qt,
|
|
348
348
|
addAssetAttachment: Cm,
|
|
349
349
|
addAssetAttachments: Tn,
|
|
350
|
-
setAssetAttachment:
|
|
350
|
+
setAssetAttachment: nr,
|
|
351
351
|
setAssetAttachments: xm,
|
|
352
352
|
updateAssetAttachment: zm,
|
|
353
|
-
updateAssetAttachments:
|
|
354
|
-
deleteAssetAttachment:
|
|
353
|
+
updateAssetAttachments: ar,
|
|
354
|
+
deleteAssetAttachment: cr,
|
|
355
355
|
deleteAssetAttachments: _n
|
|
356
|
-
} = Pn.actions,
|
|
357
|
-
[
|
|
356
|
+
} = Pn.actions, rr = (t) => t.assetAttachmentReducer.instances, or = m(
|
|
357
|
+
[rr],
|
|
358
358
|
(t) => Object.values(t)
|
|
359
|
-
),
|
|
359
|
+
), dr = (t) => (e) => e.assetAttachmentReducer.instances[t], ur = y(
|
|
360
360
|
m(
|
|
361
|
-
[
|
|
361
|
+
[or, (t, e) => e],
|
|
362
362
|
(t, e) => b(t.filter(({ asset: s }) => e === s))
|
|
363
363
|
)
|
|
364
|
-
),
|
|
364
|
+
), lr = Pn.reducer, x = T((t) => t.uuid), Xt = x.getInitialState({}), Rn = P({
|
|
365
365
|
name: "assetProcedureAttachments",
|
|
366
366
|
initialState: Xt,
|
|
367
367
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Xt)),
|
|
@@ -377,29 +377,29 @@ const Ue = T(
|
|
|
377
377
|
deleteAssetProcedureAttachments: x.deleteMany
|
|
378
378
|
}
|
|
379
379
|
}), {
|
|
380
|
-
initializeAssetProcedureAttachments:
|
|
380
|
+
initializeAssetProcedureAttachments: hr,
|
|
381
381
|
addAssetProcedureAttachment: Vm,
|
|
382
|
-
addAssetProcedureAttachments:
|
|
383
|
-
setAssetProcedureAttachment:
|
|
382
|
+
addAssetProcedureAttachments: pr,
|
|
383
|
+
setAssetProcedureAttachment: mr,
|
|
384
384
|
setAssetProcedureAttachments: Um,
|
|
385
385
|
updateAssetProcedureAttachment: $m,
|
|
386
|
-
updateAssetProcedureAttachments:
|
|
387
|
-
deleteAssetProcedureAttachment:
|
|
388
|
-
deleteAssetProcedureAttachments:
|
|
389
|
-
} = Rn.actions,
|
|
390
|
-
[
|
|
386
|
+
updateAssetProcedureAttachments: fr,
|
|
387
|
+
deleteAssetProcedureAttachment: Ar,
|
|
388
|
+
deleteAssetProcedureAttachments: yr
|
|
389
|
+
} = Rn.actions, br = (t) => t.assetProcedureAttachmentReducer.instances, Sr = m(
|
|
390
|
+
[br],
|
|
391
391
|
(t) => Object.values(t)
|
|
392
|
-
),
|
|
392
|
+
), gr = (t) => (e) => e.assetProcedureAttachmentReducer.instances[t], Gm = y(
|
|
393
393
|
m(
|
|
394
394
|
[
|
|
395
|
-
|
|
395
|
+
Sr,
|
|
396
396
|
(t, e) => e
|
|
397
397
|
],
|
|
398
398
|
(t, e) => b(
|
|
399
399
|
t.filter(({ asset_procedure: s }) => e === s)
|
|
400
400
|
)
|
|
401
401
|
)
|
|
402
|
-
),
|
|
402
|
+
), Pr = Rn.reducer, z = T((t) => t.uuid), Zt = z.getInitialState({}), Fn = P({
|
|
403
403
|
name: "assetProcedureFieldsAttachments",
|
|
404
404
|
initialState: Zt,
|
|
405
405
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zt)),
|
|
@@ -415,21 +415,21 @@ const Ue = T(
|
|
|
415
415
|
deleteAssetProcedureFieldsAttachments: z.deleteMany
|
|
416
416
|
}
|
|
417
417
|
}), {
|
|
418
|
-
initializeAssetProcedureFieldsAttachments:
|
|
418
|
+
initializeAssetProcedureFieldsAttachments: Tr,
|
|
419
419
|
addAssetProcedureFieldsAttachment: Bm,
|
|
420
|
-
addAssetProcedureFieldsAttachments:
|
|
420
|
+
addAssetProcedureFieldsAttachments: _r,
|
|
421
421
|
setAssetProcedureFieldsAttachment: Lm,
|
|
422
422
|
setAssetProcedureFieldsAttachments: Nm,
|
|
423
423
|
updateAssetProcedureFieldsAttachment: Hm,
|
|
424
|
-
updateAssetProcedureFieldsAttachments:
|
|
424
|
+
updateAssetProcedureFieldsAttachments: Rr,
|
|
425
425
|
deleteAssetProcedureFieldsAttachment: Wm,
|
|
426
|
-
deleteAssetProcedureFieldsAttachments:
|
|
427
|
-
} = Fn.actions,
|
|
428
|
-
[
|
|
426
|
+
deleteAssetProcedureFieldsAttachments: Fr
|
|
427
|
+
} = Fn.actions, Or = (t) => t.assetProcedureFieldsAttachmentReducer.instances, Ir = m(
|
|
428
|
+
[Or],
|
|
429
429
|
(t) => Object.values(t)
|
|
430
430
|
), Km = y(
|
|
431
|
-
m([
|
|
432
|
-
), Ym = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t],
|
|
431
|
+
m([Ir, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
432
|
+
), Ym = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], vr = Fn.reducer, V = T(
|
|
433
433
|
(t) => t.uuid
|
|
434
434
|
), es = V.getInitialState({}), On = P({
|
|
435
435
|
name: "assetProcedureFields",
|
|
@@ -447,23 +447,23 @@ const Ue = T(
|
|
|
447
447
|
deleteAssetProcedureFieldsMany: V.deleteMany
|
|
448
448
|
}
|
|
449
449
|
}), {
|
|
450
|
-
initializeAssetProcedureFields:
|
|
451
|
-
addAssetProcedureFields:
|
|
450
|
+
initializeAssetProcedureFields: wr,
|
|
451
|
+
addAssetProcedureFields: Er,
|
|
452
452
|
addAssetProcedureFieldsMany: Jm,
|
|
453
453
|
setAssetProcedureFields: Qm,
|
|
454
454
|
setAssetProcedureFieldsMany: Xm,
|
|
455
|
-
updateAssetProcedureFields:
|
|
455
|
+
updateAssetProcedureFields: kr,
|
|
456
456
|
updateAssetProcedureFieldsMany: Zm,
|
|
457
|
-
deleteAssetProcedureFields:
|
|
457
|
+
deleteAssetProcedureFields: qr,
|
|
458
458
|
deleteAssetProcedureFieldsMany: ef
|
|
459
|
-
} = On.actions,
|
|
459
|
+
} = On.actions, jr = (t) => t.assetProcedureFieldsReducer.instances, In = m([jr], (t) => Object.values(t)), tf = y(
|
|
460
460
|
m(
|
|
461
461
|
[In, (t, e) => e],
|
|
462
462
|
(t, e) => b(t.filter((s) => s.asset_procedure === e))
|
|
463
463
|
)
|
|
464
464
|
), sf = y(
|
|
465
465
|
m([In, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
466
|
-
), nf = (t) => (e) => e.assetProcedureFieldsReducer.instances[t],
|
|
466
|
+
), nf = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], Mr = On.reducer, U = T((t) => t.uuid), ts = U.getInitialState({}), vn = P({
|
|
467
467
|
name: "assetProcedureFieldValuesAttachments",
|
|
468
468
|
initialState: ts,
|
|
469
469
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ts)),
|
|
@@ -479,19 +479,19 @@ const Ue = T(
|
|
|
479
479
|
deleteAssetProcedureFieldValuesAttachments: U.deleteMany
|
|
480
480
|
}
|
|
481
481
|
}), {
|
|
482
|
-
initializeAssetProcedureFieldValuesAttachments:
|
|
482
|
+
initializeAssetProcedureFieldValuesAttachments: Dr,
|
|
483
483
|
addAssetProcedureFieldValuesAttachment: af,
|
|
484
484
|
addAssetProcedureFieldValuesAttachments: Pt,
|
|
485
485
|
setAssetProcedureFieldValuesAttachment: cf,
|
|
486
486
|
setAssetProcedureFieldValuesAttachments: rf,
|
|
487
487
|
updateAssetProcedureFieldValuesAttachment: of,
|
|
488
|
-
updateAssetProcedureFieldValuesAttachments:
|
|
488
|
+
updateAssetProcedureFieldValuesAttachments: Cr,
|
|
489
489
|
deleteAssetProcedureFieldValuesAttachment: df,
|
|
490
490
|
deleteAssetProcedureFieldValuesAttachments: Tt
|
|
491
|
-
} = vn.actions, wn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances,
|
|
491
|
+
} = vn.actions, wn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, xr = m(
|
|
492
492
|
[wn],
|
|
493
493
|
(t) => Object.values(t)
|
|
494
|
-
), uf = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t],
|
|
494
|
+
), uf = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], zr = y(
|
|
495
495
|
m(
|
|
496
496
|
[
|
|
497
497
|
wn,
|
|
@@ -502,12 +502,12 @@ const Ue = T(
|
|
|
502
502
|
return b(Object.values(t).filter((i) => s.has(i.uuid)));
|
|
503
503
|
}
|
|
504
504
|
)
|
|
505
|
-
),
|
|
505
|
+
), Vr = y(
|
|
506
506
|
m(
|
|
507
|
-
[
|
|
507
|
+
[xr, (t, e) => e],
|
|
508
508
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
509
509
|
)
|
|
510
|
-
),
|
|
510
|
+
), Ur = vn.reducer, $ = T((t) => t.uuid), ss = $.getInitialState({}), En = P({
|
|
511
511
|
name: "assetProcedureFieldValues",
|
|
512
512
|
initialState: ss,
|
|
513
513
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ss)),
|
|
@@ -523,23 +523,23 @@ const Ue = T(
|
|
|
523
523
|
deleteAssetProcedureFieldValuesMany: $.deleteMany
|
|
524
524
|
}
|
|
525
525
|
}), {
|
|
526
|
-
initializeAssetProcedureFieldValues:
|
|
526
|
+
initializeAssetProcedureFieldValues: $r,
|
|
527
527
|
addAssetProcedureFieldValues: is,
|
|
528
|
-
addAssetProcedureFieldValuesMany:
|
|
528
|
+
addAssetProcedureFieldValuesMany: Gr,
|
|
529
529
|
setAssetProcedureFieldValues: lf,
|
|
530
530
|
setAssetProcedureFieldValuesMany: hf,
|
|
531
531
|
updateAssetProcedureFieldValues: Ke,
|
|
532
|
-
updateAssetProcedureFieldValuesMany:
|
|
532
|
+
updateAssetProcedureFieldValuesMany: Br,
|
|
533
533
|
deleteAssetProcedureFieldValues: ns,
|
|
534
|
-
deleteAssetProcedureFieldValuesMany:
|
|
535
|
-
} = En.actions,
|
|
536
|
-
[
|
|
534
|
+
deleteAssetProcedureFieldValuesMany: Lr
|
|
535
|
+
} = En.actions, Nr = (t) => t.assetProcedureFieldValuesReducer.instances, kn = m(
|
|
536
|
+
[Nr],
|
|
537
537
|
(t) => Object.values(t)
|
|
538
538
|
), pf = y(
|
|
539
539
|
m([kn, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
540
540
|
), mf = y(
|
|
541
541
|
m([kn, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
542
|
-
), as = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t],
|
|
542
|
+
), as = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t], Hr = En.reducer, G = T((t) => t.uuid), cs = G.getInitialState({}), qn = P({
|
|
543
543
|
name: "assetProcedureInstances",
|
|
544
544
|
initialState: cs,
|
|
545
545
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, cs)),
|
|
@@ -555,19 +555,19 @@ const Ue = T(
|
|
|
555
555
|
deleteAssetProcedureInstances: G.deleteMany
|
|
556
556
|
}
|
|
557
557
|
}), {
|
|
558
|
-
initializeAssetProcedureInstances:
|
|
558
|
+
initializeAssetProcedureInstances: Wr,
|
|
559
559
|
addAssetProcedureInstance: rs,
|
|
560
|
-
addAssetProcedureInstances:
|
|
560
|
+
addAssetProcedureInstances: Kr,
|
|
561
561
|
updateAssetProcedureInstance: Ye,
|
|
562
562
|
updateAssetProcedureInstances: ff,
|
|
563
563
|
deleteAssetProcedureInstance: os,
|
|
564
|
-
deleteAssetProcedureInstances:
|
|
564
|
+
deleteAssetProcedureInstances: Yr,
|
|
565
565
|
setAssetProcedureInstance: Af,
|
|
566
566
|
setAssetProcedureInstances: yf
|
|
567
567
|
} = qn.actions, jn = (t) => t.assetProcedureInstanceReducer.instances, Mn = m(
|
|
568
568
|
[jn],
|
|
569
569
|
(t) => Object.values(t)
|
|
570
|
-
),
|
|
570
|
+
), Jr = y(
|
|
571
571
|
m(
|
|
572
572
|
[Mn, (t, e) => e],
|
|
573
573
|
(t, e) => b(
|
|
@@ -597,7 +597,7 @@ const Ue = T(
|
|
|
597
597
|
return b(s);
|
|
598
598
|
}
|
|
599
599
|
)
|
|
600
|
-
),
|
|
600
|
+
), Qr = qn.reducer, B = T(
|
|
601
601
|
(t) => t.uuid
|
|
602
602
|
), us = B.getInitialState({}), Dn = P({
|
|
603
603
|
name: "assetProcedures",
|
|
@@ -615,7 +615,7 @@ const Ue = T(
|
|
|
615
615
|
deleteAssetProcedures: B.deleteMany
|
|
616
616
|
}
|
|
617
617
|
}), {
|
|
618
|
-
initializeAssetProcedures:
|
|
618
|
+
initializeAssetProcedures: Xr,
|
|
619
619
|
addAssetProcedure: ls,
|
|
620
620
|
addAssetProcedures: gf,
|
|
621
621
|
updateAssetProcedure: Je,
|
|
@@ -624,9 +624,9 @@ const Ue = T(
|
|
|
624
624
|
deleteAssetProcedures: Tf,
|
|
625
625
|
setAssetProcedure: _f,
|
|
626
626
|
setAssetProcedures: Rf
|
|
627
|
-
} = Dn.actions, Cn = (t) => t.assetProcedureReducer.instances,
|
|
627
|
+
} = Dn.actions, Cn = (t) => t.assetProcedureReducer.instances, Zr = m([Cn], (t) => Object.values(t)), Ff = y(
|
|
628
628
|
m(
|
|
629
|
-
[
|
|
629
|
+
[Zr, (t, e) => e],
|
|
630
630
|
(t, e) => b(
|
|
631
631
|
t.filter((s) => s.organization === e)
|
|
632
632
|
)
|
|
@@ -643,7 +643,7 @@ const Ue = T(
|
|
|
643
643
|
return b(s);
|
|
644
644
|
}
|
|
645
645
|
)
|
|
646
|
-
),
|
|
646
|
+
), eo = Dn.reducer, L = T((t) => t.uuid), ms = L.getInitialState(
|
|
647
647
|
{}
|
|
648
648
|
), xn = P({
|
|
649
649
|
name: "assetProcedureStepFieldsAttachments",
|
|
@@ -661,21 +661,21 @@ const Ue = T(
|
|
|
661
661
|
deleteAssetProcedureStepFieldsAttachments: L.deleteMany
|
|
662
662
|
}
|
|
663
663
|
}), {
|
|
664
|
-
initializeAssetProcedureStepFieldsAttachments:
|
|
664
|
+
initializeAssetProcedureStepFieldsAttachments: to,
|
|
665
665
|
addAssetProcedureStepFieldsAttachment: If,
|
|
666
|
-
addAssetProcedureStepFieldsAttachments:
|
|
666
|
+
addAssetProcedureStepFieldsAttachments: so,
|
|
667
667
|
setAssetProcedureStepFieldsAttachment: vf,
|
|
668
668
|
setAssetProcedureStepFieldsAttachments: wf,
|
|
669
669
|
updateAssetProcedureStepFieldsAttachment: Ef,
|
|
670
|
-
updateAssetProcedureStepFieldsAttachments:
|
|
670
|
+
updateAssetProcedureStepFieldsAttachments: io,
|
|
671
671
|
deleteAssetProcedureStepFieldsAttachment: kf,
|
|
672
|
-
deleteAssetProcedureStepFieldsAttachments:
|
|
673
|
-
} = xn.actions,
|
|
674
|
-
[
|
|
672
|
+
deleteAssetProcedureStepFieldsAttachments: no
|
|
673
|
+
} = xn.actions, ao = (t) => t.assetProcedureStepFieldsAttachmentReducer.instances, co = m(
|
|
674
|
+
[ao],
|
|
675
675
|
(t) => Object.values(t)
|
|
676
676
|
), qf = y(
|
|
677
|
-
m([
|
|
678
|
-
), jf = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t],
|
|
677
|
+
m([co, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
678
|
+
), jf = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t], ro = xn.reducer, N = T((t) => t.uuid), fs = N.getInitialState({}), zn = P({
|
|
679
679
|
name: "assetProcedureStepFields",
|
|
680
680
|
initialState: fs,
|
|
681
681
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, fs)),
|
|
@@ -691,7 +691,7 @@ const Ue = T(
|
|
|
691
691
|
deleteAssetProcedureStepFieldsMany: N.deleteMany
|
|
692
692
|
}
|
|
693
693
|
}), {
|
|
694
|
-
initializeAssetProcedureStepFields:
|
|
694
|
+
initializeAssetProcedureStepFields: oo,
|
|
695
695
|
addAssetProcedureStepFields: As,
|
|
696
696
|
addAssetProcedureStepFieldsMany: Mf,
|
|
697
697
|
setAssetProcedureStepFields: Df,
|
|
@@ -720,7 +720,7 @@ const Ue = T(
|
|
|
720
720
|
}
|
|
721
721
|
return e;
|
|
722
722
|
}
|
|
723
|
-
), Gf = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t],
|
|
723
|
+
), Gf = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t], uo = zn.reducer, H = T((t) => t.uuid), bs = H.getInitialState({}), $n = P({
|
|
724
724
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
725
725
|
initialState: bs,
|
|
726
726
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, bs)),
|
|
@@ -736,19 +736,19 @@ const Ue = T(
|
|
|
736
736
|
deleteAssetProcedureStepFieldValuesAttachments: H.deleteMany
|
|
737
737
|
}
|
|
738
738
|
}), {
|
|
739
|
-
initializeAssetProcedureStepFieldValuesAttachments:
|
|
739
|
+
initializeAssetProcedureStepFieldValuesAttachments: lo,
|
|
740
740
|
addAssetProcedureStepFieldValuesAttachment: Bf,
|
|
741
741
|
addAssetProcedureStepFieldValuesAttachments: _t,
|
|
742
742
|
setAssetProcedureStepFieldValuesAttachment: Lf,
|
|
743
743
|
setAssetProcedureStepFieldValuesAttachments: Nf,
|
|
744
744
|
updateAssetProcedureStepFieldValuesAttachment: Hf,
|
|
745
|
-
updateAssetProcedureStepFieldValuesAttachments:
|
|
745
|
+
updateAssetProcedureStepFieldValuesAttachments: ho,
|
|
746
746
|
deleteAssetProcedureStepFieldValuesAttachment: Wf,
|
|
747
747
|
deleteAssetProcedureStepFieldValuesAttachments: Rt
|
|
748
|
-
} = $n.actions, Gn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances,
|
|
748
|
+
} = $n.actions, Gn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, po = m(
|
|
749
749
|
[Gn],
|
|
750
750
|
(t) => Object.values(t)
|
|
751
|
-
), Kf = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t],
|
|
751
|
+
), Kf = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t], mo = y(
|
|
752
752
|
m(
|
|
753
753
|
[
|
|
754
754
|
Gn,
|
|
@@ -759,12 +759,12 @@ const Ue = T(
|
|
|
759
759
|
return b(Object.values(t).filter((i) => s.has(i.uuid)));
|
|
760
760
|
}
|
|
761
761
|
)
|
|
762
|
-
),
|
|
762
|
+
), fo = y(
|
|
763
763
|
m(
|
|
764
|
-
[
|
|
764
|
+
[po, (t, e) => e],
|
|
765
765
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
766
766
|
)
|
|
767
|
-
),
|
|
767
|
+
), Ao = $n.reducer, W = T((t) => t.uuid), Ss = W.getInitialState({}), Bn = P({
|
|
768
768
|
name: "assetProcedureStepFieldValues",
|
|
769
769
|
initialState: Ss,
|
|
770
770
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ss)),
|
|
@@ -780,17 +780,17 @@ const Ue = T(
|
|
|
780
780
|
deleteAssetProcedureStepFieldValuesMany: W.deleteMany
|
|
781
781
|
}
|
|
782
782
|
}), {
|
|
783
|
-
initializeAssetProcedureStepFieldValues:
|
|
783
|
+
initializeAssetProcedureStepFieldValues: yo,
|
|
784
784
|
addAssetProcedureStepFieldValues: gs,
|
|
785
|
-
addAssetProcedureStepFieldValuesMany:
|
|
785
|
+
addAssetProcedureStepFieldValuesMany: bo,
|
|
786
786
|
setAssetProcedureStepFieldValues: Yf,
|
|
787
787
|
setAssetProcedureStepFieldValuesMany: Jf,
|
|
788
788
|
updateAssetProcedureStepFieldValues: Xe,
|
|
789
|
-
updateAssetProcedureStepFieldValuesMany:
|
|
789
|
+
updateAssetProcedureStepFieldValuesMany: So,
|
|
790
790
|
deleteAssetProcedureStepFieldValues: Ps,
|
|
791
|
-
deleteAssetProcedureStepFieldValuesMany:
|
|
792
|
-
} = Bn.actions,
|
|
793
|
-
[
|
|
791
|
+
deleteAssetProcedureStepFieldValuesMany: go
|
|
792
|
+
} = Bn.actions, Po = (t) => t.assetProcedureStepFieldValuesReducer.instances, jt = m(
|
|
793
|
+
[Po],
|
|
794
794
|
(t) => Object.values(t)
|
|
795
795
|
), Qf = y(
|
|
796
796
|
m(
|
|
@@ -801,7 +801,7 @@ const Ue = T(
|
|
|
801
801
|
m([jt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
802
802
|
), Zf = y(
|
|
803
803
|
m([jt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_step === e)))
|
|
804
|
-
), Ts = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t],
|
|
804
|
+
), Ts = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t], To = Bn.reducer, K = T(
|
|
805
805
|
(t) => t.uuid
|
|
806
806
|
), _s = K.getInitialState({}), Ln = P({
|
|
807
807
|
name: "assetProcedureSteps",
|
|
@@ -819,8 +819,8 @@ const Ue = T(
|
|
|
819
819
|
deleteAssetProcedureSteps: K.deleteMany
|
|
820
820
|
}
|
|
821
821
|
}), {
|
|
822
|
-
initializeAssetProcedureSteps:
|
|
823
|
-
setAssetProcedureStep:
|
|
822
|
+
initializeAssetProcedureSteps: _o,
|
|
823
|
+
setAssetProcedureStep: Ro,
|
|
824
824
|
setAssetProcedureSteps: eA,
|
|
825
825
|
addAssetProcedureStep: tA,
|
|
826
826
|
addAssetProcedureSteps: Rs,
|
|
@@ -828,7 +828,7 @@ const Ue = T(
|
|
|
828
828
|
updateAssetProcedureSteps: ht,
|
|
829
829
|
deleteAssetProcedureStep: sA,
|
|
830
830
|
deleteAssetProcedureSteps: Os
|
|
831
|
-
} = Ln.actions,
|
|
831
|
+
} = Ln.actions, Fo = Ln.reducer, Mt = (t) => t.assetProcedureStepReducer.instances, Oo = (t) => (e) => e.assetProcedureStepReducer.instances[t], Io = m([Mt], (t) => Object.values(t)), iA = y(
|
|
832
832
|
m([Mt, (t, e) => e], (t, e) => {
|
|
833
833
|
const s = {};
|
|
834
834
|
for (const [i, n] of Object.entries(t))
|
|
@@ -836,7 +836,7 @@ const Ue = T(
|
|
|
836
836
|
return Ce(s);
|
|
837
837
|
})
|
|
838
838
|
), nA = y(
|
|
839
|
-
m([
|
|
839
|
+
m([Io, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
840
840
|
), Is = y(
|
|
841
841
|
m(
|
|
842
842
|
[Mt, (t, e) => e],
|
|
@@ -865,7 +865,7 @@ const Ue = T(
|
|
|
865
865
|
deleteAssets: Y.deleteMany
|
|
866
866
|
}
|
|
867
867
|
}), {
|
|
868
|
-
initializeAssets:
|
|
868
|
+
initializeAssets: vo,
|
|
869
869
|
addAsset: ws,
|
|
870
870
|
addAssets: Ft,
|
|
871
871
|
updateAsset: Ze,
|
|
@@ -874,9 +874,9 @@ const Ue = T(
|
|
|
874
874
|
deleteAssets: Hn,
|
|
875
875
|
setAsset: cA,
|
|
876
876
|
setAssets: rA
|
|
877
|
-
} = Nn.actions, Wn = (t) => t.assetReducer.instances,
|
|
878
|
-
m([
|
|
879
|
-
), ks = (t) => (e) => e.assetReducer.instances[t],
|
|
877
|
+
} = Nn.actions, Wn = (t) => t.assetReducer.instances, wo = m([Wn], (t) => b(Object.values(t))), Kn = y(
|
|
878
|
+
m([wo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
879
|
+
), ks = (t) => (e) => e.assetReducer.instances[t], Eo = y(
|
|
880
880
|
m([Wn, (t, e) => e], (t, e) => {
|
|
881
881
|
const s = [];
|
|
882
882
|
for (const i of e) {
|
|
@@ -885,7 +885,7 @@ const Ue = T(
|
|
|
885
885
|
}
|
|
886
886
|
return b(s);
|
|
887
887
|
})
|
|
888
|
-
), oA = (t) => (e) => Kn(t)(e).length,
|
|
888
|
+
), oA = (t) => (e) => Kn(t)(e).length, ko = Nn.reducer, ge = T(
|
|
889
889
|
(t) => t.uuid
|
|
890
890
|
), qs = ge.getInitialState({}), Yn = P({
|
|
891
891
|
name: "assetStageCompletions",
|
|
@@ -901,17 +901,17 @@ const Ue = T(
|
|
|
901
901
|
deleteAssetStageCompletions: ge.deleteMany
|
|
902
902
|
}
|
|
903
903
|
}), {
|
|
904
|
-
initializeAssetStageCompletions:
|
|
904
|
+
initializeAssetStageCompletions: qo,
|
|
905
905
|
addAssetStageCompletion: js,
|
|
906
906
|
addAssetStageCompletions: Ms,
|
|
907
|
-
updateAssetStageCompletion:
|
|
908
|
-
updateAssetStageCompletions:
|
|
907
|
+
updateAssetStageCompletion: jo,
|
|
908
|
+
updateAssetStageCompletions: Mo,
|
|
909
909
|
deleteAssetStageCompletion: Ds,
|
|
910
910
|
deleteAssetStageCompletions: Cs
|
|
911
|
-
} = Yn.actions,
|
|
911
|
+
} = Yn.actions, Do = Yn.reducer, Jn = (t) => t.assetStageCompletionReducer.instances, dA = m(
|
|
912
912
|
[Jn],
|
|
913
913
|
(t) => Object.values(t)
|
|
914
|
-
),
|
|
914
|
+
), Co = (t) => (e) => e.assetStageCompletionReducer.instances[t], xo = y(
|
|
915
915
|
m(
|
|
916
916
|
[Jn, (t, e) => e],
|
|
917
917
|
(t, e) => {
|
|
@@ -939,8 +939,8 @@ const Ue = T(
|
|
|
939
939
|
deleteAssetStages: J.deleteMany
|
|
940
940
|
}
|
|
941
941
|
}), {
|
|
942
|
-
initializeAssetStages:
|
|
943
|
-
setAssetStage:
|
|
942
|
+
initializeAssetStages: zo,
|
|
943
|
+
setAssetStage: Vo,
|
|
944
944
|
setAssetStages: uA,
|
|
945
945
|
addAssetStage: lA,
|
|
946
946
|
addAssetStages: zs,
|
|
@@ -948,7 +948,7 @@ const Ue = T(
|
|
|
948
948
|
updateAssetStages: pt,
|
|
949
949
|
deleteAssetStage: hA,
|
|
950
950
|
deleteAssetStages: Us
|
|
951
|
-
} = Qn.actions,
|
|
951
|
+
} = Qn.actions, Uo = Qn.reducer, Dt = (t) => t.assetStageReducer.instances, $o = (t) => (e) => e.assetStageReducer.instances[t], Go = m([Dt], (t) => Object.values(t)), pA = y(
|
|
952
952
|
m([Dt, (t, e) => e], (t, e) => {
|
|
953
953
|
const s = {};
|
|
954
954
|
for (const [i, n] of Object.entries(t))
|
|
@@ -956,7 +956,7 @@ const Ue = T(
|
|
|
956
956
|
return Ce(s);
|
|
957
957
|
})
|
|
958
958
|
), mA = y(
|
|
959
|
-
m([
|
|
959
|
+
m([Go, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
960
960
|
), $s = y(
|
|
961
961
|
m([Dt, (t, e) => e], (t, e) => {
|
|
962
962
|
const s = [];
|
|
@@ -984,24 +984,24 @@ const Ue = T(
|
|
|
984
984
|
deleteAssetTypeAttachments: Q.deleteMany
|
|
985
985
|
}
|
|
986
986
|
}), {
|
|
987
|
-
initializeAssetTypeAttachments:
|
|
987
|
+
initializeAssetTypeAttachments: Bo,
|
|
988
988
|
addAssetTypeAttachment: fA,
|
|
989
989
|
addAssetTypeAttachments: Zn,
|
|
990
|
-
setAssetTypeAttachment:
|
|
990
|
+
setAssetTypeAttachment: Lo,
|
|
991
991
|
setAssetTypeAttachments: AA,
|
|
992
992
|
updateAssetTypeAttachment: yA,
|
|
993
|
-
updateAssetTypeAttachments:
|
|
994
|
-
deleteAssetTypeAttachment:
|
|
993
|
+
updateAssetTypeAttachments: No,
|
|
994
|
+
deleteAssetTypeAttachment: Ho,
|
|
995
995
|
deleteAssetTypeAttachments: ea
|
|
996
|
-
} = Xn.actions,
|
|
997
|
-
[
|
|
996
|
+
} = Xn.actions, Wo = (t) => t.assetTypeAttachmentReducer.instances, Ko = m(
|
|
997
|
+
[Wo],
|
|
998
998
|
(t) => Object.values(t)
|
|
999
|
-
),
|
|
999
|
+
), Yo = (t) => (e) => e.assetTypeAttachmentReducer.instances[t], Jo = y(
|
|
1000
1000
|
m(
|
|
1001
|
-
[
|
|
1001
|
+
[Ko, (t, e) => e],
|
|
1002
1002
|
(t, e) => b(t.filter(({ asset_type: s }) => e === s))
|
|
1003
1003
|
)
|
|
1004
|
-
),
|
|
1004
|
+
), Qo = Xn.reducer, X = T((t) => t.uuid), Bs = X.getInitialState({}), ta = P({
|
|
1005
1005
|
name: "assetTypeFieldsAttachments",
|
|
1006
1006
|
initialState: Bs,
|
|
1007
1007
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Bs)),
|
|
@@ -1017,21 +1017,21 @@ const Ue = T(
|
|
|
1017
1017
|
deleteAssetTypeFieldsAttachments: X.deleteMany
|
|
1018
1018
|
}
|
|
1019
1019
|
}), {
|
|
1020
|
-
initializeAssetTypeFieldsAttachments:
|
|
1020
|
+
initializeAssetTypeFieldsAttachments: Xo,
|
|
1021
1021
|
addAssetTypeFieldsAttachment: bA,
|
|
1022
|
-
addAssetTypeFieldsAttachments:
|
|
1022
|
+
addAssetTypeFieldsAttachments: Zo,
|
|
1023
1023
|
setAssetTypeFieldsAttachment: SA,
|
|
1024
1024
|
setAssetTypeFieldsAttachments: gA,
|
|
1025
1025
|
updateAssetTypeFieldsAttachment: PA,
|
|
1026
|
-
updateAssetTypeFieldsAttachments:
|
|
1026
|
+
updateAssetTypeFieldsAttachments: ed,
|
|
1027
1027
|
deleteAssetTypeFieldsAttachment: TA,
|
|
1028
|
-
deleteAssetTypeFieldsAttachments:
|
|
1029
|
-
} = ta.actions,
|
|
1030
|
-
[
|
|
1028
|
+
deleteAssetTypeFieldsAttachments: td
|
|
1029
|
+
} = ta.actions, sd = (t) => t.assetTypeFieldsAttachmentReducer.instances, id = m(
|
|
1030
|
+
[sd],
|
|
1031
1031
|
(t) => Object.values(t)
|
|
1032
1032
|
), _A = y(
|
|
1033
|
-
m([
|
|
1034
|
-
), RA = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t],
|
|
1033
|
+
m([id, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
1034
|
+
), RA = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], nd = ta.reducer, Z = T(
|
|
1035
1035
|
(t) => t.uuid
|
|
1036
1036
|
), Ls = Z.getInitialState({}), sa = P({
|
|
1037
1037
|
name: "assetTypeFields",
|
|
@@ -1049,20 +1049,20 @@ const Ue = T(
|
|
|
1049
1049
|
deleteAssetTypeFieldsMany: Z.deleteMany
|
|
1050
1050
|
}
|
|
1051
1051
|
}), {
|
|
1052
|
-
initializeAssetTypeFields:
|
|
1053
|
-
addAssetTypeFields:
|
|
1052
|
+
initializeAssetTypeFields: ad,
|
|
1053
|
+
addAssetTypeFields: cd,
|
|
1054
1054
|
addAssetTypeFieldsMany: FA,
|
|
1055
1055
|
setAssetTypeFields: OA,
|
|
1056
1056
|
setAssetTypeFieldsMany: IA,
|
|
1057
|
-
updateAssetTypeFields:
|
|
1057
|
+
updateAssetTypeFields: rd,
|
|
1058
1058
|
updateAssetTypeFieldsMany: vA,
|
|
1059
|
-
deleteAssetTypeFields:
|
|
1059
|
+
deleteAssetTypeFields: od,
|
|
1060
1060
|
deleteAssetTypeFieldsMany: wA
|
|
1061
|
-
} = sa.actions,
|
|
1061
|
+
} = sa.actions, dd = (t) => t.assetTypeFieldsReducer.instances, Ct = m([dd], (t) => Object.values(t)), EA = y(
|
|
1062
1062
|
m([Ct, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
1063
1063
|
), kA = y(
|
|
1064
1064
|
m([Ct, (t, e) => e], (t, e) => t.filter((s) => s.asset_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1065
|
-
), qA = (t) => (e) => e.assetTypeFieldsReducer.instances[t],
|
|
1065
|
+
), qA = (t) => (e) => e.assetTypeFieldsReducer.instances[t], ud = sa.reducer, ee = T((t) => t.uuid), Ns = ee.getInitialState({}), ia = P({
|
|
1066
1066
|
name: "assetTypeFieldValuesAttachments",
|
|
1067
1067
|
initialState: Ns,
|
|
1068
1068
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ns)),
|
|
@@ -1078,19 +1078,19 @@ const Ue = T(
|
|
|
1078
1078
|
deleteAssetTypeFieldValuesAttachments: ee.deleteMany
|
|
1079
1079
|
}
|
|
1080
1080
|
}), {
|
|
1081
|
-
initializeAssetTypeFieldValuesAttachments:
|
|
1081
|
+
initializeAssetTypeFieldValuesAttachments: ld,
|
|
1082
1082
|
addAssetTypeFieldValuesAttachment: jA,
|
|
1083
1083
|
addAssetTypeFieldValuesAttachments: Ot,
|
|
1084
1084
|
setAssetTypeFieldValuesAttachment: MA,
|
|
1085
1085
|
setAssetTypeFieldValuesAttachments: DA,
|
|
1086
1086
|
updateAssetTypeFieldValuesAttachment: CA,
|
|
1087
|
-
updateAssetTypeFieldValuesAttachments:
|
|
1087
|
+
updateAssetTypeFieldValuesAttachments: hd,
|
|
1088
1088
|
deleteAssetTypeFieldValuesAttachment: xA,
|
|
1089
1089
|
deleteAssetTypeFieldValuesAttachments: It
|
|
1090
|
-
} = ia.actions, na = (t) => t.assetTypeFieldValuesAttachmentReducer.instances,
|
|
1090
|
+
} = ia.actions, na = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, pd = m(
|
|
1091
1091
|
[na],
|
|
1092
1092
|
(t) => Object.values(t)
|
|
1093
|
-
), zA = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t],
|
|
1093
|
+
), zA = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], md = y(
|
|
1094
1094
|
m(
|
|
1095
1095
|
[
|
|
1096
1096
|
na,
|
|
@@ -1103,9 +1103,9 @@ const Ue = T(
|
|
|
1103
1103
|
);
|
|
1104
1104
|
}
|
|
1105
1105
|
)
|
|
1106
|
-
),
|
|
1107
|
-
m([
|
|
1108
|
-
),
|
|
1106
|
+
), fd = y(
|
|
1107
|
+
m([pd, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
|
|
1108
|
+
), Ad = ia.reducer, te = T(
|
|
1109
1109
|
(t) => t.uuid
|
|
1110
1110
|
), Hs = te.getInitialState({}), aa = P({
|
|
1111
1111
|
name: "assetTypeFieldValues",
|
|
@@ -1123,16 +1123,16 @@ const Ue = T(
|
|
|
1123
1123
|
deleteAssetTypeFieldValuesMany: te.deleteMany
|
|
1124
1124
|
}
|
|
1125
1125
|
}), {
|
|
1126
|
-
initializeAssetTypeFieldValues:
|
|
1126
|
+
initializeAssetTypeFieldValues: yd,
|
|
1127
1127
|
addAssetTypeFieldValues: Ws,
|
|
1128
|
-
addAssetTypeFieldValuesMany:
|
|
1128
|
+
addAssetTypeFieldValuesMany: bd,
|
|
1129
1129
|
setAssetTypeFieldValues: VA,
|
|
1130
1130
|
setAssetTypeFieldValuesMany: UA,
|
|
1131
1131
|
updateAssetTypeFieldValues: et,
|
|
1132
|
-
updateAssetTypeFieldValuesMany:
|
|
1132
|
+
updateAssetTypeFieldValuesMany: Sd,
|
|
1133
1133
|
deleteAssetTypeFieldValues: Ks,
|
|
1134
|
-
deleteAssetTypeFieldValuesMany:
|
|
1135
|
-
} = aa.actions,
|
|
1134
|
+
deleteAssetTypeFieldValuesMany: gd
|
|
1135
|
+
} = aa.actions, Pd = (t) => t.assetTypeFieldValuesReducer.instances, ca = m([Pd], (t) => Object.values(t)), $A = y(
|
|
1136
1136
|
m([ca, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
1137
1137
|
), GA = y(
|
|
1138
1138
|
m(
|
|
@@ -1144,7 +1144,7 @@ const Ue = T(
|
|
|
1144
1144
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1145
1145
|
}
|
|
1146
1146
|
)
|
|
1147
|
-
), Ys = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t],
|
|
1147
|
+
), Ys = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], Td = aa.reducer, se = T((t) => t.uuid), Js = se.getInitialState({}), ra = P({
|
|
1148
1148
|
name: "assetTypes",
|
|
1149
1149
|
initialState: Js,
|
|
1150
1150
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Js)),
|
|
@@ -1160,7 +1160,7 @@ const Ue = T(
|
|
|
1160
1160
|
deleteAssetTypes: se.deleteMany
|
|
1161
1161
|
}
|
|
1162
1162
|
}), {
|
|
1163
|
-
initializeAssetTypes:
|
|
1163
|
+
initializeAssetTypes: _d,
|
|
1164
1164
|
setAssetType: BA,
|
|
1165
1165
|
setAssetTypes: LA,
|
|
1166
1166
|
addAssetType: Qs,
|
|
@@ -1184,7 +1184,7 @@ const Ue = T(
|
|
|
1184
1184
|
return b(s);
|
|
1185
1185
|
}
|
|
1186
1186
|
)
|
|
1187
|
-
),
|
|
1187
|
+
), Rd = ra.reducer, ei = {
|
|
1188
1188
|
accessToken: "",
|
|
1189
1189
|
refreshToken: "",
|
|
1190
1190
|
isLoggedIn: !1
|
|
@@ -1203,7 +1203,7 @@ const Ue = T(
|
|
|
1203
1203
|
e.payload || xt.caseReducers.clearTokens(t), t.isLoggedIn = e.payload;
|
|
1204
1204
|
}
|
|
1205
1205
|
}
|
|
1206
|
-
}), { setTokens: JA, clearTokens: QA, setLoggedIn:
|
|
1206
|
+
}), { setTokens: JA, clearTokens: QA, setLoggedIn: Fd } = xt.actions, XA = (t) => t.authReducer.accessToken, ZA = (t) => t.authReducer.isLoggedIn, Od = xt.reducer, $e = T((t) => t.uuid), ti = $e.getInitialState({}), da = P({
|
|
1207
1207
|
name: "categories",
|
|
1208
1208
|
initialState: ti,
|
|
1209
1209
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ti)),
|
|
@@ -1213,7 +1213,7 @@ const Ue = T(
|
|
|
1213
1213
|
updateCategory: $e.updateOne,
|
|
1214
1214
|
deleteCategory: $e.deleteOne
|
|
1215
1215
|
}
|
|
1216
|
-
}), { initializeCategories:
|
|
1216
|
+
}), { initializeCategories: Id, addCategory: si, updateCategory: vd, deleteCategory: wd } = da.actions, ua = (t) => t.categoryReducer.instances, ey = m([ua], (t) => Object.values(t)), ii = (t) => (e) => e.categoryReducer.instances[t], ty = y(
|
|
1217
1217
|
m(
|
|
1218
1218
|
[ua, (t, e) => e],
|
|
1219
1219
|
(t, e) => {
|
|
@@ -1225,7 +1225,7 @@ const Ue = T(
|
|
|
1225
1225
|
return b(s);
|
|
1226
1226
|
}
|
|
1227
1227
|
)
|
|
1228
|
-
), sy = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length,
|
|
1228
|
+
), sy = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, Ed = da.reducer, ie = T(
|
|
1229
1229
|
(t) => t.uuid
|
|
1230
1230
|
), ni = ie.getInitialState({}), la = P({
|
|
1231
1231
|
name: "documentAttachments",
|
|
@@ -1243,24 +1243,24 @@ const Ue = T(
|
|
|
1243
1243
|
deleteDocumentAttachments: ie.deleteMany
|
|
1244
1244
|
}
|
|
1245
1245
|
}), {
|
|
1246
|
-
initializeDocumentAttachments:
|
|
1246
|
+
initializeDocumentAttachments: kd,
|
|
1247
1247
|
addDocumentAttachment: iy,
|
|
1248
|
-
addDocumentAttachments:
|
|
1249
|
-
setDocumentAttachment:
|
|
1248
|
+
addDocumentAttachments: qd,
|
|
1249
|
+
setDocumentAttachment: jd,
|
|
1250
1250
|
setDocumentAttachments: ny,
|
|
1251
1251
|
updateDocumentAttachment: ay,
|
|
1252
|
-
updateDocumentAttachments:
|
|
1253
|
-
deleteDocumentAttachment:
|
|
1254
|
-
deleteDocumentAttachments:
|
|
1255
|
-
} = la.actions,
|
|
1256
|
-
[
|
|
1252
|
+
updateDocumentAttachments: Md,
|
|
1253
|
+
deleteDocumentAttachment: Dd,
|
|
1254
|
+
deleteDocumentAttachments: Cd
|
|
1255
|
+
} = la.actions, xd = (t) => t.documentAttachmentReducer.instances, zd = m(
|
|
1256
|
+
[xd],
|
|
1257
1257
|
(t) => Object.values(t)
|
|
1258
|
-
),
|
|
1258
|
+
), Vd = (t) => (e) => e.documentAttachmentReducer.instances[t], cy = y(
|
|
1259
1259
|
m(
|
|
1260
|
-
[
|
|
1260
|
+
[zd, (t, e) => e],
|
|
1261
1261
|
(t, e) => b(t.filter(({ document: s }) => e === s))
|
|
1262
1262
|
)
|
|
1263
|
-
),
|
|
1263
|
+
), Ud = la.reducer, ai = {
|
|
1264
1264
|
documents: {}
|
|
1265
1265
|
}, ha = P({
|
|
1266
1266
|
name: "documents",
|
|
@@ -1270,9 +1270,9 @@ const Ue = T(
|
|
|
1270
1270
|
}),
|
|
1271
1271
|
reducers: {
|
|
1272
1272
|
setDocuments: (t, e) => {
|
|
1273
|
-
if (e.payload.filter(
|
|
1273
|
+
if (e.payload.filter(Xc).length !== e.payload.length)
|
|
1274
1274
|
throw new Error("Tried to use setIssues reducer with duplicate ID's");
|
|
1275
|
-
t.documents =
|
|
1275
|
+
t.documents = Qc(e.payload);
|
|
1276
1276
|
},
|
|
1277
1277
|
addDocuments: (t, e) => {
|
|
1278
1278
|
for (const s of e.payload)
|
|
@@ -1386,10 +1386,10 @@ const Ue = T(
|
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
|
-
}), { setDocuments:
|
|
1389
|
+
}), { setDocuments: $d, addDocuments: Gd, updateDocuments: Re, moveDocument: Bd, removeDocuments: ci } = ha.actions, Ne = (t) => t.documentsReducer.documents, Ld = m(
|
|
1390
1390
|
[Ne],
|
|
1391
1391
|
(t) => Object.values(t)
|
|
1392
|
-
),
|
|
1392
|
+
), Nd = (t) => (e) => e.documentsReducer.documents[t], ry = y(
|
|
1393
1393
|
m(
|
|
1394
1394
|
[Ne, (t, e) => e],
|
|
1395
1395
|
(t, e) => {
|
|
@@ -1414,34 +1414,34 @@ const Ue = T(
|
|
|
1414
1414
|
}
|
|
1415
1415
|
)
|
|
1416
1416
|
), dy = m(
|
|
1417
|
-
[
|
|
1417
|
+
[Ld],
|
|
1418
1418
|
(t) => b(t.filter((e) => !e.parent_document))
|
|
1419
|
-
),
|
|
1419
|
+
), Hd = ha.reducer, rt = T(
|
|
1420
1420
|
(t) => t.uuid
|
|
1421
|
-
),
|
|
1421
|
+
), Wd = rt.getInitialState({}), pa = P({
|
|
1422
1422
|
name: "emailDomains",
|
|
1423
|
-
initialState:
|
|
1423
|
+
initialState: Wd,
|
|
1424
1424
|
reducers: {
|
|
1425
1425
|
initializeEmailDomains: rt.initialize,
|
|
1426
1426
|
addEmailDomain: rt.addOne,
|
|
1427
1427
|
deleteEmailDomain: rt.deleteOne
|
|
1428
1428
|
}
|
|
1429
|
-
}), { initializeEmailDomains:
|
|
1429
|
+
}), { initializeEmailDomains: Kd, addEmailDomain: Yd, deleteEmailDomain: Jd } = pa.actions, Qd = (t) => t.emailDomainsReducer.instances, Xd = m([Qd], (t) => Object.values(t)), uy = y(
|
|
1430
1430
|
m(
|
|
1431
|
-
[
|
|
1431
|
+
[Xd, (t, e) => e],
|
|
1432
1432
|
(t, e) => b(
|
|
1433
1433
|
t.filter((s) => s.organization === e)
|
|
1434
1434
|
)
|
|
1435
1435
|
)
|
|
1436
|
-
),
|
|
1436
|
+
), Zd = pa.reducer, ri = {
|
|
1437
1437
|
s3Urls: {}
|
|
1438
|
-
}, ma = 1e3 * 60 * 60,
|
|
1438
|
+
}, ma = 1e3 * 60 * 60, eu = ma * 24 * 7, fa = P({
|
|
1439
1439
|
name: "file",
|
|
1440
1440
|
initialState: ri,
|
|
1441
1441
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ri)),
|
|
1442
1442
|
reducers: {
|
|
1443
1443
|
setUploadUrl: (t, e) => {
|
|
1444
|
-
const { url: s, fields: i, sha1: n } = e.payload, a = /* @__PURE__ */ new Date(), c = new Date(a.getTime() +
|
|
1444
|
+
const { url: s, fields: i, sha1: n } = e.payload, a = /* @__PURE__ */ new Date(), c = new Date(a.getTime() + eu);
|
|
1445
1445
|
t.s3Urls[n] = {
|
|
1446
1446
|
url: s,
|
|
1447
1447
|
fields: i,
|
|
@@ -1449,14 +1449,14 @@ const Ue = T(
|
|
|
1449
1449
|
};
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
|
-
}), { setUploadUrl:
|
|
1452
|
+
}), { setUploadUrl: tu } = fa.actions, su = (t) => (e) => {
|
|
1453
1453
|
const s = e.fileReducer.s3Urls[t];
|
|
1454
1454
|
if (!s)
|
|
1455
1455
|
return;
|
|
1456
1456
|
const i = (/* @__PURE__ */ new Date()).getTime();
|
|
1457
1457
|
if (!((s.exp ?? i) - i < ma))
|
|
1458
1458
|
return s;
|
|
1459
|
-
},
|
|
1459
|
+
}, iu = fa.reducer, ne = T((t) => t.uuid), oi = ne.getInitialState({}), Aa = P({
|
|
1460
1460
|
name: "formRevisionAttachments",
|
|
1461
1461
|
initialState: oi,
|
|
1462
1462
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, oi)),
|
|
@@ -1472,23 +1472,23 @@ const Ue = T(
|
|
|
1472
1472
|
deleteFormRevisionAttachments: ne.deleteMany
|
|
1473
1473
|
}
|
|
1474
1474
|
}), {
|
|
1475
|
-
initializeFormRevisionAttachments:
|
|
1475
|
+
initializeFormRevisionAttachments: nu,
|
|
1476
1476
|
addFormRevisionAttachment: ly,
|
|
1477
|
-
addFormRevisionAttachments:
|
|
1477
|
+
addFormRevisionAttachments: au,
|
|
1478
1478
|
setFormRevisionAttachment: hy,
|
|
1479
1479
|
setFormRevisionAttachments: py,
|
|
1480
1480
|
updateFormRevisionAttachment: my,
|
|
1481
|
-
updateFormRevisionAttachments:
|
|
1481
|
+
updateFormRevisionAttachments: cu,
|
|
1482
1482
|
deleteFormRevisionAttachment: fy,
|
|
1483
|
-
deleteFormRevisionAttachments:
|
|
1484
|
-
} = Aa.actions,
|
|
1483
|
+
deleteFormRevisionAttachments: ru
|
|
1484
|
+
} = Aa.actions, ou = (t) => t.formRevisionAttachmentReducer.instances, Ay = y(
|
|
1485
1485
|
m(
|
|
1486
|
-
[
|
|
1486
|
+
[ou, (t, e) => e],
|
|
1487
1487
|
(t, e) => b(
|
|
1488
1488
|
Object.values(t).filter((s) => s.form_revision === e)
|
|
1489
1489
|
)
|
|
1490
1490
|
)
|
|
1491
|
-
),
|
|
1491
|
+
), du = Aa.reducer, uu = (t, e) => {
|
|
1492
1492
|
const s = t.revision, i = e.revision;
|
|
1493
1493
|
return s === void 0 && i === void 0 ? t.submitted_at < e.submitted_at ? -1 : 1 : s === void 0 ? 1 : i === void 0 || s < i ? -1 : 1;
|
|
1494
1494
|
}, Fe = T((t) => t.uuid), di = Fe.getInitialState({}), ya = P({
|
|
@@ -1504,13 +1504,13 @@ const Ue = T(
|
|
|
1504
1504
|
deleteFormRevisions: Fe.deleteMany
|
|
1505
1505
|
}
|
|
1506
1506
|
}), {
|
|
1507
|
-
setFormRevision:
|
|
1508
|
-
initializeFormRevisions:
|
|
1507
|
+
setFormRevision: lu,
|
|
1508
|
+
initializeFormRevisions: hu,
|
|
1509
1509
|
addFormRevision: ba,
|
|
1510
|
-
addFormRevisions:
|
|
1510
|
+
addFormRevisions: pu,
|
|
1511
1511
|
deleteFormRevision: Sa,
|
|
1512
|
-
deleteFormRevisions:
|
|
1513
|
-
} = ya.actions, zt = (t) => t.formRevisionReducer.instances,
|
|
1512
|
+
deleteFormRevisions: mu
|
|
1513
|
+
} = ya.actions, zt = (t) => t.formRevisionReducer.instances, fu = m(
|
|
1514
1514
|
[zt],
|
|
1515
1515
|
(t) => Object.values(t)
|
|
1516
1516
|
), yy = (t) => (e) => e.formRevisionReducer.instances[t], by = y(
|
|
@@ -1519,16 +1519,16 @@ const Ue = T(
|
|
|
1519
1519
|
(t, e) => {
|
|
1520
1520
|
const s = Object.values(t).filter((a) => a.form === e);
|
|
1521
1521
|
if (s.length === 0) return;
|
|
1522
|
-
const n = s.sort(
|
|
1522
|
+
const n = s.sort(uu)[s.length - 1];
|
|
1523
1523
|
return t[n.uuid];
|
|
1524
1524
|
}
|
|
1525
1525
|
)
|
|
1526
|
-
),
|
|
1526
|
+
), Au = y(
|
|
1527
1527
|
m(
|
|
1528
|
-
[
|
|
1528
|
+
[fu, (t, e) => e],
|
|
1529
1529
|
(t, e) => b(t.filter((s) => s.form === e))
|
|
1530
1530
|
)
|
|
1531
|
-
),
|
|
1531
|
+
), yu = ya.reducer, Oe = T((t) => t.uuid), ui = Oe.getInitialState({}), ga = P({
|
|
1532
1532
|
name: "forms",
|
|
1533
1533
|
initialState: ui,
|
|
1534
1534
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ui)),
|
|
@@ -1540,7 +1540,7 @@ const Ue = T(
|
|
|
1540
1540
|
updateForm: Oe.updateOne,
|
|
1541
1541
|
deleteForm: Oe.deleteOne
|
|
1542
1542
|
}
|
|
1543
|
-
}), { initializeForms:
|
|
1543
|
+
}), { initializeForms: bu, setForm: Sy, addForm: li, addForms: gy, updateForm: Py, deleteForm: hi } = ga.actions, Su = ga.reducer, gu = (t) => t.formReducer.instances, Ty = m([gu], (t) => Object.values(t)), Pu = (t) => (e) => e.formReducer.instances[t], ae = T((t) => t.uuid), pi = ae.getInitialState({}), Pa = P({
|
|
1544
1544
|
name: "formSubmissionAttachments",
|
|
1545
1545
|
initialState: pi,
|
|
1546
1546
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, pi)),
|
|
@@ -1556,16 +1556,16 @@ const Ue = T(
|
|
|
1556
1556
|
deleteFormSubmissionAttachments: ae.deleteMany
|
|
1557
1557
|
}
|
|
1558
1558
|
}), {
|
|
1559
|
-
initializeFormSubmissionAttachments:
|
|
1559
|
+
initializeFormSubmissionAttachments: Tu,
|
|
1560
1560
|
addFormSubmissionAttachment: _y,
|
|
1561
1561
|
addFormSubmissionAttachments: vt,
|
|
1562
1562
|
setFormSubmissionAttachment: Ry,
|
|
1563
1563
|
setFormSubmissionAttachments: Fy,
|
|
1564
1564
|
updateFormSubmissionAttachment: Oy,
|
|
1565
|
-
updateFormSubmissionAttachments:
|
|
1565
|
+
updateFormSubmissionAttachments: _u,
|
|
1566
1566
|
deleteFormSubmissionAttachment: Iy,
|
|
1567
1567
|
deleteFormSubmissionAttachments: wt
|
|
1568
|
-
} = Pa.actions, Ta = (t) => t.formSubmissionAttachmentReducer.instances,
|
|
1568
|
+
} = Pa.actions, Ta = (t) => t.formSubmissionAttachmentReducer.instances, Ru = y(
|
|
1569
1569
|
m(
|
|
1570
1570
|
[
|
|
1571
1571
|
Ta,
|
|
@@ -1578,14 +1578,14 @@ const Ue = T(
|
|
|
1578
1578
|
);
|
|
1579
1579
|
}
|
|
1580
1580
|
)
|
|
1581
|
-
),
|
|
1581
|
+
), Fu = y(
|
|
1582
1582
|
m(
|
|
1583
1583
|
[Ta, (t, e) => e],
|
|
1584
1584
|
(t, e) => b(
|
|
1585
1585
|
Object.values(t).filter((s) => s.form_submission === e)
|
|
1586
1586
|
)
|
|
1587
1587
|
)
|
|
1588
|
-
),
|
|
1588
|
+
), Ou = Pa.reducer, ce = T(
|
|
1589
1589
|
(t) => t.uuid
|
|
1590
1590
|
), mi = ce.getInitialState({}), _a = P({
|
|
1591
1591
|
name: "formSubmissions",
|
|
@@ -1603,19 +1603,19 @@ const Ue = T(
|
|
|
1603
1603
|
deleteFormSubmissions: ce.deleteMany
|
|
1604
1604
|
}
|
|
1605
1605
|
}), {
|
|
1606
|
-
initializeFormSubmissions:
|
|
1606
|
+
initializeFormSubmissions: Iu,
|
|
1607
1607
|
setFormSubmission: mt,
|
|
1608
1608
|
setFormSubmissions: vy,
|
|
1609
1609
|
addFormSubmission: fi,
|
|
1610
1610
|
addFormSubmissions: Vt,
|
|
1611
|
-
updateFormSubmission:
|
|
1611
|
+
updateFormSubmission: vu,
|
|
1612
1612
|
updateFormSubmissions: wy,
|
|
1613
1613
|
deleteFormSubmission: Ai,
|
|
1614
1614
|
deleteFormSubmissions: Ut
|
|
1615
1615
|
} = _a.actions, Ra = (t) => t.formSubmissionReducer.instances, Fa = m(
|
|
1616
1616
|
[Ra],
|
|
1617
1617
|
(t) => Object.values(t)
|
|
1618
|
-
), yi = (t) => (e) => e.formSubmissionReducer.instances[t],
|
|
1618
|
+
), yi = (t) => (e) => e.formSubmissionReducer.instances[t], wu = y(
|
|
1619
1619
|
m(
|
|
1620
1620
|
[
|
|
1621
1621
|
Ra,
|
|
@@ -1631,17 +1631,17 @@ const Ue = T(
|
|
|
1631
1631
|
);
|
|
1632
1632
|
}
|
|
1633
1633
|
)
|
|
1634
|
-
),
|
|
1634
|
+
), Eu = y(
|
|
1635
1635
|
m(
|
|
1636
1636
|
[Fa, (t, e) => e],
|
|
1637
1637
|
(t, e) => Object.values(t).filter((s) => s.issue === e)
|
|
1638
1638
|
)
|
|
1639
|
-
),
|
|
1639
|
+
), ku = y(
|
|
1640
1640
|
m(
|
|
1641
1641
|
[Fa, (t, e) => e],
|
|
1642
1642
|
(t, e) => t.filter((s) => s.asset === e)
|
|
1643
1643
|
)
|
|
1644
|
-
),
|
|
1644
|
+
), qu = _a.reducer, re = T((t) => t.uuid), bi = re.getInitialState({}), Oa = P({
|
|
1645
1645
|
name: "geoImages",
|
|
1646
1646
|
initialState: bi,
|
|
1647
1647
|
extraReducers: (t) => {
|
|
@@ -1661,18 +1661,18 @@ const Ue = T(
|
|
|
1661
1661
|
deleteGeoImages: re.deleteMany
|
|
1662
1662
|
}
|
|
1663
1663
|
}), {
|
|
1664
|
-
initializeGeoImages:
|
|
1664
|
+
initializeGeoImages: ju,
|
|
1665
1665
|
setGeoImage: st,
|
|
1666
|
-
setGeoImages:
|
|
1667
|
-
addGeoImage:
|
|
1668
|
-
addGeoImages:
|
|
1669
|
-
updateGeoImage:
|
|
1666
|
+
setGeoImages: Mu,
|
|
1667
|
+
addGeoImage: Du,
|
|
1668
|
+
addGeoImages: Cu,
|
|
1669
|
+
updateGeoImage: xu,
|
|
1670
1670
|
updateGeoImages: Ey,
|
|
1671
1671
|
deleteGeoImage: Si,
|
|
1672
|
-
deleteGeoImages:
|
|
1673
|
-
} = Oa.actions,
|
|
1674
|
-
m([
|
|
1675
|
-
),
|
|
1672
|
+
deleteGeoImages: zu
|
|
1673
|
+
} = Oa.actions, Vu = (t) => t.geoImageReducer.instances, Uu = m([Vu], (t) => Object.values(t)), gi = (t) => (e) => e.geoImageReducer.instances[t], ky = y(
|
|
1674
|
+
m([Uu, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
|
|
1675
|
+
), $u = Oa.reducer, oe = T(
|
|
1676
1676
|
(t) => t.uuid
|
|
1677
1677
|
), Pi = oe.getInitialState({}), Ia = P({
|
|
1678
1678
|
name: "issueAssociations",
|
|
@@ -1690,33 +1690,33 @@ const Ue = T(
|
|
|
1690
1690
|
deleteIssueAssociations: oe.deleteMany
|
|
1691
1691
|
}
|
|
1692
1692
|
}), {
|
|
1693
|
-
initializeIssueAssociations:
|
|
1693
|
+
initializeIssueAssociations: Gu,
|
|
1694
1694
|
setIssueAssociations: qy,
|
|
1695
1695
|
setIssueAssociation: jy,
|
|
1696
|
-
updateIssueAssociation:
|
|
1696
|
+
updateIssueAssociation: Bu,
|
|
1697
1697
|
updateIssueAssociations: My,
|
|
1698
1698
|
addIssueAssociation: Ti,
|
|
1699
1699
|
addIssueAssociations: va,
|
|
1700
1700
|
deleteIssueAssociation: _i,
|
|
1701
1701
|
deleteIssueAssociations: wa
|
|
1702
|
-
} = Ia.actions, lt = (t) => t.issueAssociationReducer.instances, Dy = m([lt], (t) => Object.values(t)),
|
|
1702
|
+
} = Ia.actions, lt = (t) => t.issueAssociationReducer.instances, Dy = m([lt], (t) => Object.values(t)), Lu = (t) => (e) => e.issueAssociationReducer.instances[t], Nu = y(
|
|
1703
1703
|
m(
|
|
1704
1704
|
[lt, (t, e) => e],
|
|
1705
1705
|
(t, e) => b(
|
|
1706
1706
|
Object.values(t).filter((s) => s.associated_issue === e)
|
|
1707
1707
|
)
|
|
1708
1708
|
)
|
|
1709
|
-
),
|
|
1709
|
+
), Hu = y(
|
|
1710
1710
|
m(
|
|
1711
1711
|
[lt, (t, e) => e],
|
|
1712
1712
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1713
1713
|
)
|
|
1714
|
-
),
|
|
1714
|
+
), Wu = y(
|
|
1715
1715
|
m(
|
|
1716
1716
|
[lt, (t, e) => e],
|
|
1717
1717
|
(t, e) => b(Object.values(t).filter((s) => s.asset === e))
|
|
1718
1718
|
)
|
|
1719
|
-
),
|
|
1719
|
+
), Ku = Ia.reducer, de = T(
|
|
1720
1720
|
(t) => t.uuid
|
|
1721
1721
|
), Ri = de.getInitialState({}), Ea = P({
|
|
1722
1722
|
name: "issueAttachments",
|
|
@@ -1737,21 +1737,21 @@ const Ue = T(
|
|
|
1737
1737
|
initializeIssueAttachments: Fi,
|
|
1738
1738
|
addIssueAttachment: Cy,
|
|
1739
1739
|
addIssueAttachments: ka,
|
|
1740
|
-
setIssueAttachment:
|
|
1740
|
+
setIssueAttachment: Yu,
|
|
1741
1741
|
setIssueAttachments: xy,
|
|
1742
1742
|
updateIssueAttachment: zy,
|
|
1743
|
-
updateIssueAttachments:
|
|
1744
|
-
deleteIssueAttachment:
|
|
1743
|
+
updateIssueAttachments: Ju,
|
|
1744
|
+
deleteIssueAttachment: Qu,
|
|
1745
1745
|
deleteIssueAttachments: qa
|
|
1746
|
-
} = Ea.actions,
|
|
1747
|
-
[
|
|
1746
|
+
} = Ea.actions, Xu = (t) => t.issueAttachmentReducer.instances, Zu = m(
|
|
1747
|
+
[Xu],
|
|
1748
1748
|
(t) => Object.values(t)
|
|
1749
|
-
),
|
|
1749
|
+
), el = y(
|
|
1750
1750
|
m(
|
|
1751
|
-
[
|
|
1751
|
+
[Zu, (t, e) => e],
|
|
1752
1752
|
(t, e) => b(t.filter(({ issue: s }) => e === s))
|
|
1753
1753
|
)
|
|
1754
|
-
),
|
|
1754
|
+
), tl = (t) => (e) => e.issueAttachmentReducer.instances[t], sl = Ea.reducer, ue = T((t) => t.uuid), Oi = ue.getInitialState({}), ja = P({
|
|
1755
1755
|
name: "issueCommentAttachments",
|
|
1756
1756
|
initialState: Oi,
|
|
1757
1757
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Oi)),
|
|
@@ -1769,25 +1769,25 @@ const Ue = T(
|
|
|
1769
1769
|
}), {
|
|
1770
1770
|
initializeIssueCommentAttachments: Ii,
|
|
1771
1771
|
addIssueCommentAttachment: Vy,
|
|
1772
|
-
addIssueCommentAttachments:
|
|
1773
|
-
setIssueCommentAttachment:
|
|
1772
|
+
addIssueCommentAttachments: il,
|
|
1773
|
+
setIssueCommentAttachment: nl,
|
|
1774
1774
|
setIssueCommentAttachments: Uy,
|
|
1775
1775
|
updateIssueCommentAttachment: $y,
|
|
1776
|
-
updateIssueCommentAttachments:
|
|
1777
|
-
deleteIssueCommentAttachment:
|
|
1778
|
-
deleteIssueCommentAttachments:
|
|
1779
|
-
} = ja.actions,
|
|
1780
|
-
[
|
|
1776
|
+
updateIssueCommentAttachments: al,
|
|
1777
|
+
deleteIssueCommentAttachment: cl,
|
|
1778
|
+
deleteIssueCommentAttachments: rl
|
|
1779
|
+
} = ja.actions, ol = (t) => t.issueCommentAttachmentReducer.instances, dl = m(
|
|
1780
|
+
[ol],
|
|
1781
1781
|
(t) => Object.values(t)
|
|
1782
|
-
),
|
|
1782
|
+
), ul = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], Gy = y(
|
|
1783
1783
|
m(
|
|
1784
1784
|
[
|
|
1785
|
-
|
|
1785
|
+
dl,
|
|
1786
1786
|
(t, e) => e
|
|
1787
1787
|
],
|
|
1788
1788
|
(t, e) => b(t.filter(({ issue_comment: s }) => e === s))
|
|
1789
1789
|
)
|
|
1790
|
-
),
|
|
1790
|
+
), ll = ja.reducer, Ie = T((t) => t.uuid), vi = Ie.getInitialState({}), Ma = P({
|
|
1791
1791
|
name: "issueComments",
|
|
1792
1792
|
initialState: vi,
|
|
1793
1793
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, vi)),
|
|
@@ -1800,18 +1800,18 @@ const Ue = T(
|
|
|
1800
1800
|
deleteIssueComments: Ie.deleteMany
|
|
1801
1801
|
}
|
|
1802
1802
|
}), {
|
|
1803
|
-
setIssueComments:
|
|
1803
|
+
setIssueComments: hl,
|
|
1804
1804
|
setIssueComment: wi,
|
|
1805
1805
|
addIssueComment: Ei,
|
|
1806
1806
|
addIssueComments: By,
|
|
1807
1807
|
deleteIssueComment: ki,
|
|
1808
1808
|
deleteIssueComments: Ly
|
|
1809
|
-
} = Ma.actions,
|
|
1809
|
+
} = Ma.actions, pl = (t) => t.issueCommentReducer.instances, qi = (t) => (e) => e.issueCommentReducer.instances[t], Ny = y(
|
|
1810
1810
|
m(
|
|
1811
|
-
[
|
|
1811
|
+
[pl, (t, e) => e],
|
|
1812
1812
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1813
1813
|
)
|
|
1814
|
-
),
|
|
1814
|
+
), ml = Ma.reducer, ve = T((t) => t.uuid), ji = ve.getInitialState({}), Da = P({
|
|
1815
1815
|
name: "issues",
|
|
1816
1816
|
initialState: ji,
|
|
1817
1817
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -1825,8 +1825,8 @@ const Ue = T(
|
|
|
1825
1825
|
deleteIssue: ve.deleteOne,
|
|
1826
1826
|
deleteIssues: ve.deleteMany
|
|
1827
1827
|
}
|
|
1828
|
-
}), { initializeIssues:
|
|
1829
|
-
m([
|
|
1828
|
+
}), { initializeIssues: fl, addIssue: Mi, addIssues: Al, updateIssue: ft, deleteIssue: Di, deleteIssues: yl } = Da.actions, bl = (t) => t.issueReducer.instances, Ci = (t) => (e) => e.issueReducer.instances[t], Hy = y(
|
|
1829
|
+
m([bl, (t, e) => e], (t, e) => {
|
|
1830
1830
|
const s = [];
|
|
1831
1831
|
for (const i of e) {
|
|
1832
1832
|
const n = t[i];
|
|
@@ -1834,7 +1834,7 @@ const Ue = T(
|
|
|
1834
1834
|
}
|
|
1835
1835
|
return b(s);
|
|
1836
1836
|
})
|
|
1837
|
-
),
|
|
1837
|
+
), Sl = Da.reducer, le = T(
|
|
1838
1838
|
(t) => t.uuid
|
|
1839
1839
|
), xi = le.getInitialState({}), Ca = P({
|
|
1840
1840
|
name: "issueTypeAttachments",
|
|
@@ -1854,22 +1854,22 @@ const Ue = T(
|
|
|
1854
1854
|
}), {
|
|
1855
1855
|
initializeIssueTypeAttachments: zi,
|
|
1856
1856
|
addIssueTypeAttachment: Wy,
|
|
1857
|
-
addIssueTypeAttachments:
|
|
1858
|
-
setIssueTypeAttachment:
|
|
1857
|
+
addIssueTypeAttachments: gl,
|
|
1858
|
+
setIssueTypeAttachment: Pl,
|
|
1859
1859
|
setIssueTypeAttachments: Ky,
|
|
1860
1860
|
updateIssueTypeAttachment: Yy,
|
|
1861
|
-
updateIssueTypeAttachments:
|
|
1862
|
-
deleteIssueTypeAttachment:
|
|
1863
|
-
deleteIssueTypeAttachments:
|
|
1864
|
-
} = Ca.actions,
|
|
1865
|
-
[
|
|
1861
|
+
updateIssueTypeAttachments: Tl,
|
|
1862
|
+
deleteIssueTypeAttachment: _l,
|
|
1863
|
+
deleteIssueTypeAttachments: Rl
|
|
1864
|
+
} = Ca.actions, Fl = (t) => t.issueTypeAttachmentReducer.instances, Ol = m(
|
|
1865
|
+
[Fl],
|
|
1866
1866
|
(t) => Object.values(t)
|
|
1867
|
-
),
|
|
1867
|
+
), Il = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Jy = y(
|
|
1868
1868
|
m(
|
|
1869
|
-
[
|
|
1869
|
+
[Ol, (t, e) => e],
|
|
1870
1870
|
(t, e) => b(t.filter(({ issue_type: s }) => e === s))
|
|
1871
1871
|
)
|
|
1872
|
-
),
|
|
1872
|
+
), vl = Ca.reducer, he = T((t) => t.uuid), Vi = he.getInitialState({}), xa = P({
|
|
1873
1873
|
name: "issueTypeFieldsAttachments",
|
|
1874
1874
|
initialState: Vi,
|
|
1875
1875
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Vi)),
|
|
@@ -1885,26 +1885,26 @@ const Ue = T(
|
|
|
1885
1885
|
deleteIssueTypeFieldsAttachments: he.deleteMany
|
|
1886
1886
|
}
|
|
1887
1887
|
}), {
|
|
1888
|
-
initializeIssueTypeFieldsAttachments:
|
|
1888
|
+
initializeIssueTypeFieldsAttachments: wl,
|
|
1889
1889
|
addIssueTypeFieldsAttachment: Qy,
|
|
1890
|
-
addIssueTypeFieldsAttachments:
|
|
1890
|
+
addIssueTypeFieldsAttachments: El,
|
|
1891
1891
|
setIssueTypeFieldsAttachment: Xy,
|
|
1892
1892
|
setIssueTypeFieldsAttachments: Zy,
|
|
1893
1893
|
updateIssueTypeFieldsAttachment: eb,
|
|
1894
|
-
updateIssueTypeFieldsAttachments:
|
|
1894
|
+
updateIssueTypeFieldsAttachments: kl,
|
|
1895
1895
|
deleteIssueTypeFieldsAttachment: tb,
|
|
1896
|
-
deleteIssueTypeFieldsAttachments:
|
|
1897
|
-
} = xa.actions,
|
|
1898
|
-
[
|
|
1896
|
+
deleteIssueTypeFieldsAttachments: ql
|
|
1897
|
+
} = xa.actions, jl = (t) => t.issueTypeFieldsAttachmentReducer.instances, Ml = m(
|
|
1898
|
+
[jl],
|
|
1899
1899
|
(t) => Object.values(t)
|
|
1900
1900
|
), sb = y(
|
|
1901
1901
|
m(
|
|
1902
|
-
[
|
|
1902
|
+
[Ml, (t, e) => e],
|
|
1903
1903
|
(t, e) => b(
|
|
1904
1904
|
t.filter((s) => s.fields_revision === e)
|
|
1905
1905
|
)
|
|
1906
1906
|
)
|
|
1907
|
-
), ib = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t],
|
|
1907
|
+
), ib = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], Dl = xa.reducer, pe = T(
|
|
1908
1908
|
(t) => t.uuid
|
|
1909
1909
|
), Ui = pe.getInitialState({}), za = P({
|
|
1910
1910
|
name: "issueTypeFieldValues",
|
|
@@ -1922,7 +1922,7 @@ const Ue = T(
|
|
|
1922
1922
|
deleteIssueTypeFieldValuesMany: pe.deleteMany
|
|
1923
1923
|
}
|
|
1924
1924
|
}), {
|
|
1925
|
-
initializeIssueTypeFieldValues:
|
|
1925
|
+
initializeIssueTypeFieldValues: Cl,
|
|
1926
1926
|
addIssueTypeFieldValues: $i,
|
|
1927
1927
|
addIssueTypeFieldValuesMany: nb,
|
|
1928
1928
|
setIssueTypeFieldValues: ab,
|
|
@@ -1931,9 +1931,9 @@ const Ue = T(
|
|
|
1931
1931
|
updateIssueTypeFieldValuesMany: rb,
|
|
1932
1932
|
deleteIssueTypeFieldValues: Gi,
|
|
1933
1933
|
deleteIssueTypeFieldValuesMany: ob
|
|
1934
|
-
} = za.actions,
|
|
1934
|
+
} = za.actions, xl = (t) => t.issueTypeFieldValuesReducer.instances, Va = m([xl], (t) => Object.values(t)), db = y(
|
|
1935
1935
|
m([Va, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
|
|
1936
|
-
), Bi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t],
|
|
1936
|
+
), Bi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], zl = za.reducer, me = T(
|
|
1937
1937
|
(t) => t.uuid
|
|
1938
1938
|
), Li = me.getInitialState({}), Ua = P({
|
|
1939
1939
|
name: "issueTypeFields",
|
|
@@ -1951,16 +1951,16 @@ const Ue = T(
|
|
|
1951
1951
|
deleteIssueTypeFieldsMany: me.deleteMany
|
|
1952
1952
|
}
|
|
1953
1953
|
}), {
|
|
1954
|
-
initializeIssueTypeFields:
|
|
1955
|
-
addIssueTypeFields:
|
|
1954
|
+
initializeIssueTypeFields: Vl,
|
|
1955
|
+
addIssueTypeFields: Ul,
|
|
1956
1956
|
addIssueTypeFieldsMany: ub,
|
|
1957
1957
|
setIssueTypeFields: lb,
|
|
1958
1958
|
setIssueTypeFieldsMany: hb,
|
|
1959
|
-
updateIssueTypeFields:
|
|
1959
|
+
updateIssueTypeFields: $l,
|
|
1960
1960
|
updateIssueTypeFieldsMany: pb,
|
|
1961
|
-
deleteIssueTypeFields:
|
|
1961
|
+
deleteIssueTypeFields: Gl,
|
|
1962
1962
|
deleteIssueTypeFieldsMany: mb
|
|
1963
|
-
} = Ua.actions,
|
|
1963
|
+
} = Ua.actions, Bl = (t) => t.issueTypeFieldsReducer.instances, $t = m([Bl], (t) => Object.values(t)), fb = y(
|
|
1964
1964
|
m([$t, (t, e) => e], (t, e) => b(t.filter((s) => s.issue_type === e)))
|
|
1965
1965
|
), Ab = y(
|
|
1966
1966
|
m([$t, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
@@ -1974,7 +1974,7 @@ const Ue = T(
|
|
|
1974
1974
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1975
1975
|
}
|
|
1976
1976
|
)
|
|
1977
|
-
), bb = (t) => (e) => e.issueTypeFieldsReducer.instances[t],
|
|
1977
|
+
), bb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Ll = Ua.reducer, fe = T((t) => t.uuid), Ni = fe.getInitialState({}), $a = P({
|
|
1978
1978
|
name: "issueTypeFieldValuesAttachments",
|
|
1979
1979
|
initialState: Ni,
|
|
1980
1980
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ni)),
|
|
@@ -1990,19 +1990,19 @@ const Ue = T(
|
|
|
1990
1990
|
deleteIssueTypeFieldValuesAttachments: fe.deleteMany
|
|
1991
1991
|
}
|
|
1992
1992
|
}), {
|
|
1993
|
-
initializeIssueTypeFieldValuesAttachments:
|
|
1993
|
+
initializeIssueTypeFieldValuesAttachments: Nl,
|
|
1994
1994
|
addIssueTypeFieldValuesAttachment: Sb,
|
|
1995
1995
|
addIssueTypeFieldValuesAttachments: Et,
|
|
1996
1996
|
setIssueTypeFieldValuesAttachment: gb,
|
|
1997
1997
|
setIssueTypeFieldValuesAttachments: Pb,
|
|
1998
1998
|
updateIssueTypeFieldValuesAttachment: Tb,
|
|
1999
|
-
updateIssueTypeFieldValuesAttachments:
|
|
1999
|
+
updateIssueTypeFieldValuesAttachments: Hl,
|
|
2000
2000
|
deleteIssueTypeFieldValuesAttachment: _b,
|
|
2001
2001
|
deleteIssueTypeFieldValuesAttachments: kt
|
|
2002
|
-
} = $a.actions, Ga = (t) => t.issueTypeFieldValuesAttachmentReducer.instances,
|
|
2002
|
+
} = $a.actions, Ga = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Wl = m(
|
|
2003
2003
|
[Ga],
|
|
2004
2004
|
(t) => Object.values(t)
|
|
2005
|
-
), Rb = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t],
|
|
2005
|
+
), Rb = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t], Kl = y(
|
|
2006
2006
|
m(
|
|
2007
2007
|
[
|
|
2008
2008
|
Ga,
|
|
@@ -2015,12 +2015,12 @@ const Ue = T(
|
|
|
2015
2015
|
);
|
|
2016
2016
|
}
|
|
2017
2017
|
)
|
|
2018
|
-
),
|
|
2018
|
+
), Yl = y(
|
|
2019
2019
|
m(
|
|
2020
|
-
[
|
|
2020
|
+
[Wl, (t, e) => e],
|
|
2021
2021
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
2022
2022
|
)
|
|
2023
|
-
),
|
|
2023
|
+
), Jl = $a.reducer, je = T((t) => t.uuid), Hi = je.getInitialState({}), Ba = P({
|
|
2024
2024
|
name: "issueTypes",
|
|
2025
2025
|
initialState: Hi,
|
|
2026
2026
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -2033,8 +2033,8 @@ const Ue = T(
|
|
|
2033
2033
|
updateIssueType: je.updateOne,
|
|
2034
2034
|
removeIssueType: je.deleteOne
|
|
2035
2035
|
}
|
|
2036
|
-
}), { initializeIssueTypes:
|
|
2037
|
-
|
|
2036
|
+
}), { initializeIssueTypes: Ql, setIssueType: nt, addIssueType: Xl, updateIssueType: Zl, removeIssueType: Wi } = Ba.actions, eh = (t) => t.issueTypeReducer.instances, th = m(
|
|
2037
|
+
eh,
|
|
2038
2038
|
(t) => Object.values(t)
|
|
2039
2039
|
), Ki = (t) => (e) => e.issueTypeReducer.instances[t], Fb = (t) => (e) => {
|
|
2040
2040
|
const s = [];
|
|
@@ -2045,7 +2045,7 @@ const Ue = T(
|
|
|
2045
2045
|
return s;
|
|
2046
2046
|
}, Ob = y(
|
|
2047
2047
|
m(
|
|
2048
|
-
[
|
|
2048
|
+
[th, (t, e) => e],
|
|
2049
2049
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2050
2050
|
)
|
|
2051
2051
|
), La = y(
|
|
@@ -2055,7 +2055,7 @@ const Ue = T(
|
|
|
2055
2055
|
Object.values(t).filter((s) => s.issue_type === e)
|
|
2056
2056
|
)
|
|
2057
2057
|
)
|
|
2058
|
-
), Ib = (t) => (e) => La(t)(e).length,
|
|
2058
|
+
), Ib = (t) => (e) => La(t)(e).length, sh = Ba.reducer, we = T(
|
|
2059
2059
|
(t) => t.uuid
|
|
2060
2060
|
), Yi = we.getInitialState({}), Na = P({
|
|
2061
2061
|
name: "issueUpdates",
|
|
@@ -2070,18 +2070,18 @@ const Ue = T(
|
|
|
2070
2070
|
deleteIssueUpdates: we.deleteMany
|
|
2071
2071
|
}
|
|
2072
2072
|
}), {
|
|
2073
|
-
initializeIssueUpdates:
|
|
2073
|
+
initializeIssueUpdates: ih,
|
|
2074
2074
|
setIssueUpdate: vb,
|
|
2075
|
-
addIssueUpdate:
|
|
2076
|
-
addIssueUpdates:
|
|
2077
|
-
deleteIssueUpdate:
|
|
2078
|
-
deleteIssueUpdates:
|
|
2079
|
-
} = Na.actions,
|
|
2075
|
+
addIssueUpdate: nh,
|
|
2076
|
+
addIssueUpdates: ah,
|
|
2077
|
+
deleteIssueUpdate: ch,
|
|
2078
|
+
deleteIssueUpdates: rh
|
|
2079
|
+
} = Na.actions, oh = (t) => t.issueUpdateReducer.instances, dh = y(
|
|
2080
2080
|
m(
|
|
2081
|
-
[
|
|
2081
|
+
[oh, (t, e) => e],
|
|
2082
2082
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
2083
2083
|
)
|
|
2084
|
-
),
|
|
2084
|
+
), uh = Na.reducer, ot = T((t) => t.uuid), Ji = ot.getInitialState({}), Ha = P({
|
|
2085
2085
|
name: "license",
|
|
2086
2086
|
initialState: Ji,
|
|
2087
2087
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ji)),
|
|
@@ -2090,7 +2090,7 @@ const Ue = T(
|
|
|
2090
2090
|
addLicenses: ot.addMany,
|
|
2091
2091
|
updateLicense: ot.updateOne
|
|
2092
2092
|
}
|
|
2093
|
-
}), { initializeLicences:
|
|
2093
|
+
}), { initializeLicences: lh, addLicenses: wb, updateLicense: Pe } = Ha.actions, Gt = (t) => t.licenseReducer.instances, Eb = (t) => (e) => e.licenseReducer.instances[t], hh = (t) => (e) => Object.values(e.licenseReducer.instances).find((s) => s.project === t), kb = m(
|
|
2094
2094
|
[Gt],
|
|
2095
2095
|
(t) => b(Object.values(t).filter((e) => e.is_active))
|
|
2096
2096
|
), qb = m(
|
|
@@ -2098,7 +2098,7 @@ const Ue = T(
|
|
|
2098
2098
|
(t) => Ce(
|
|
2099
2099
|
Object.values(t).filter((e) => e.project).reduce((e, s) => ({ ...e, [s.project]: s }), {})
|
|
2100
2100
|
)
|
|
2101
|
-
),
|
|
2101
|
+
), ph = Ha.reducer, q = T((t) => t.id), Qi = q.getInitialState({
|
|
2102
2102
|
currentUser: null
|
|
2103
2103
|
}), Wa = P({
|
|
2104
2104
|
name: "users",
|
|
@@ -2129,7 +2129,7 @@ const Ue = T(
|
|
|
2129
2129
|
}
|
|
2130
2130
|
}
|
|
2131
2131
|
}), {
|
|
2132
|
-
initializeUsers:
|
|
2132
|
+
initializeUsers: mh,
|
|
2133
2133
|
setUsers: jb,
|
|
2134
2134
|
setUser: Mb,
|
|
2135
2135
|
addUsers: Db,
|
|
@@ -2138,10 +2138,10 @@ const Ue = T(
|
|
|
2138
2138
|
updateUser: zb,
|
|
2139
2139
|
deleteUser: Vb,
|
|
2140
2140
|
deleteUsers: Ub,
|
|
2141
|
-
removeUser:
|
|
2141
|
+
removeUser: fh,
|
|
2142
2142
|
setCurrentUser: $b,
|
|
2143
2143
|
setProfilePicture: Gb
|
|
2144
|
-
} = Wa.actions,
|
|
2144
|
+
} = Wa.actions, Ah = Wa.reducer, Bt = (t) => t.userReducer.currentUser, Lt = (t) => t.userReducer.instances, Bb = (t) => (e) => e.userReducer.instances[t], Lb = y(
|
|
2145
2145
|
m([Lt, (t, e) => e], (t, e) => {
|
|
2146
2146
|
const s = [];
|
|
2147
2147
|
for (const i of e) {
|
|
@@ -2161,19 +2161,19 @@ const Ue = T(
|
|
|
2161
2161
|
updateOrganizationAccess: dt.updateOne,
|
|
2162
2162
|
deleteOrganizationAccess: dt.deleteOne
|
|
2163
2163
|
}
|
|
2164
|
-
}), { initializeOrganizationAccesses:
|
|
2164
|
+
}), { initializeOrganizationAccesses: yh, updateOrganizationAccess: bh, deleteOrganizationAccess: Sh } = Ka.actions, Ya = (t) => t.organizationAccessReducer.instances, Nb = (t) => (e) => e.organizationAccessReducer.instances[t], Hb = m(
|
|
2165
2165
|
[Bt, Ya],
|
|
2166
2166
|
(t, e) => Object.values(e).find(
|
|
2167
2167
|
(i) => i.user === (t == null ? void 0 : t.id)
|
|
2168
2168
|
) ?? null
|
|
2169
2169
|
), Wb = (t) => (e) => Object.values(e.organizationAccessReducer.instances).find(
|
|
2170
2170
|
(s) => s.user === t.id
|
|
2171
|
-
),
|
|
2171
|
+
), gh = (t) => {
|
|
2172
2172
|
const e = {};
|
|
2173
2173
|
for (const s of Object.values(t.organizationAccessReducer.instances))
|
|
2174
2174
|
e[s.user] = s;
|
|
2175
2175
|
return Ce(e);
|
|
2176
|
-
},
|
|
2176
|
+
}, Ph = Ka.reducer, Ge = T(
|
|
2177
2177
|
(t) => t.uuid
|
|
2178
2178
|
), Zi = Ge.getInitialState({}), Ja = P({
|
|
2179
2179
|
name: "projectAccess",
|
|
@@ -2185,17 +2185,17 @@ const Ue = T(
|
|
|
2185
2185
|
deleteProjectAccess: Ge.deleteOne,
|
|
2186
2186
|
deleteProjectAccesses: Ge.deleteMany
|
|
2187
2187
|
}
|
|
2188
|
-
}), { initializeProjectAccesses: Qa, updateProjectAccess:
|
|
2188
|
+
}), { initializeProjectAccesses: Qa, updateProjectAccess: Th, deleteProjectAccess: _h, deleteProjectAccesses: Rh } = Ja.actions, Xa = (t) => t.projectAccessReducer.instances, Fh = m(
|
|
2189
2189
|
Xa,
|
|
2190
2190
|
(t) => Object.values(t)
|
|
2191
2191
|
), Kb = (t) => (e) => e.projectAccessReducer.instances[t], Yb = (t) => (e) => Object.values(e.projectAccessReducer.instances).find(
|
|
2192
2192
|
(s) => s.user === t.id
|
|
2193
|
-
),
|
|
2193
|
+
), Oh = (t) => {
|
|
2194
2194
|
const e = {};
|
|
2195
2195
|
for (const s of Object.values(t.projectAccessReducer.instances))
|
|
2196
2196
|
e[s.user] = s;
|
|
2197
2197
|
return Ce(e);
|
|
2198
|
-
},
|
|
2198
|
+
}, Ih = Ja.reducer, Ae = T((t) => t.uuid), en = Ae.getInitialState({}), Za = P({
|
|
2199
2199
|
name: "projects",
|
|
2200
2200
|
initialState: en,
|
|
2201
2201
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, en)),
|
|
@@ -2218,23 +2218,23 @@ const Ue = T(
|
|
|
2218
2218
|
}
|
|
2219
2219
|
}), {
|
|
2220
2220
|
initializeProjects: Jb,
|
|
2221
|
-
setProjects:
|
|
2221
|
+
setProjects: vh,
|
|
2222
2222
|
setProject: Qb,
|
|
2223
2223
|
addProjects: Xb,
|
|
2224
2224
|
addProject: Zb,
|
|
2225
2225
|
updateProjects: eS,
|
|
2226
|
-
updateProject:
|
|
2227
|
-
deleteProject:
|
|
2226
|
+
updateProject: wh,
|
|
2227
|
+
deleteProject: Eh,
|
|
2228
2228
|
deleteProjects: tS,
|
|
2229
|
-
acceptProjectInvite:
|
|
2230
|
-
} = Za.actions,
|
|
2229
|
+
acceptProjectInvite: kh
|
|
2230
|
+
} = Za.actions, qh = Za.reducer, Nt = (t) => t.projectReducer.instances, sS = m([Nt], (t) => b(Object.values(t))), iS = (t) => (e) => e.projectReducer.instances[t], jh = m(
|
|
2231
2231
|
[Xa],
|
|
2232
2232
|
(t) => Object.values(t).map((e) => e.user)
|
|
2233
|
-
),
|
|
2234
|
-
[
|
|
2233
|
+
), Mh = m(
|
|
2234
|
+
[jh, Lt],
|
|
2235
2235
|
(t, e) => t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
2236
2236
|
), nS = m(
|
|
2237
|
-
[Bt,
|
|
2237
|
+
[Bt, Mh, Oh],
|
|
2238
2238
|
(t, e, s) => b(
|
|
2239
2239
|
Object.values(e).sort((i, n) => {
|
|
2240
2240
|
if (i.id === (t == null ? void 0 : t.id))
|
|
@@ -2262,7 +2262,7 @@ const Ue = T(
|
|
|
2262
2262
|
}
|
|
2263
2263
|
}), {
|
|
2264
2264
|
initializeOrganizations: aS,
|
|
2265
|
-
setOrganizations:
|
|
2265
|
+
setOrganizations: Dh,
|
|
2266
2266
|
setOrganization: cS,
|
|
2267
2267
|
addOrganizations: rS,
|
|
2268
2268
|
addOrganization: oS,
|
|
@@ -2270,12 +2270,12 @@ const Ue = T(
|
|
|
2270
2270
|
updateOrganization: uS,
|
|
2271
2271
|
deleteOrganization: lS,
|
|
2272
2272
|
deleteOrganizations: hS
|
|
2273
|
-
} = ec.actions,
|
|
2274
|
-
[
|
|
2273
|
+
} = ec.actions, Ch = (t) => t.organizationReducer.instances, xh = m([Ch], (t) => Object.values(t)), pS = (t) => (e) => e.organizationReducer.instances[t], mS = m(
|
|
2274
|
+
[xh],
|
|
2275
2275
|
(t) => b(
|
|
2276
2276
|
Object.values(t).filter((e) => e.has_access)
|
|
2277
2277
|
)
|
|
2278
|
-
),
|
|
2278
|
+
), zh = m(
|
|
2279
2279
|
[Ya],
|
|
2280
2280
|
(t) => Object.values(t).map((e) => e.user)
|
|
2281
2281
|
), fS = y(
|
|
@@ -2292,13 +2292,13 @@ const Ue = T(
|
|
|
2292
2292
|
Object.values(t).filter((s) => s.organization_owner === e)
|
|
2293
2293
|
)
|
|
2294
2294
|
)
|
|
2295
|
-
),
|
|
2296
|
-
[
|
|
2295
|
+
), Vh = m(
|
|
2296
|
+
[zh, Lt],
|
|
2297
2297
|
(t, e) => Ce(
|
|
2298
2298
|
t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
2299
2299
|
)
|
|
2300
2300
|
), yS = m(
|
|
2301
|
-
[Bt,
|
|
2301
|
+
[Bt, Vh, gh],
|
|
2302
2302
|
(t, e, s) => b(
|
|
2303
2303
|
Object.values(e).sort((i, n) => {
|
|
2304
2304
|
if (i.id === (t == null ? void 0 : t.id))
|
|
@@ -2309,7 +2309,7 @@ const Ue = T(
|
|
|
2309
2309
|
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) === fn.ADMIN ? -1 : 1;
|
|
2310
2310
|
})
|
|
2311
2311
|
)
|
|
2312
|
-
),
|
|
2312
|
+
), Uh = ec.reducer, $h = (t, e, s) => {
|
|
2313
2313
|
const i = t.uuid ? t : { ...t, uuid: Ee() };
|
|
2314
2314
|
return {
|
|
2315
2315
|
payload: i,
|
|
@@ -2341,7 +2341,7 @@ const Ue = T(
|
|
|
2341
2341
|
prepare: (t) => {
|
|
2342
2342
|
console.debug("Preparing to enqueue request", t);
|
|
2343
2343
|
const { BASE_URL: e, serviceName: s, ...i } = t;
|
|
2344
|
-
return
|
|
2344
|
+
return $h(i, e, s);
|
|
2345
2345
|
}
|
|
2346
2346
|
},
|
|
2347
2347
|
markForDeletion(t, e) {
|
|
@@ -2355,7 +2355,7 @@ const Ue = T(
|
|
|
2355
2355
|
t.latestRetryTime = e.payload;
|
|
2356
2356
|
}
|
|
2357
2357
|
}
|
|
2358
|
-
}), bS = (t) => t.outboxReducer.deletedRequests, SS = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest:
|
|
2358
|
+
}), bS = (t) => t.outboxReducer.deletedRequests, SS = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Gh, markForDeletion: gS, markAsDeleted: Bh, _setLatestRetryTime: Lh } = tc.actions, Nh = tc.reducer, be = T(
|
|
2359
2359
|
(t) => t.uuid
|
|
2360
2360
|
), nn = be.getInitialState({}), sc = P({
|
|
2361
2361
|
name: "projectAttachments",
|
|
@@ -2373,24 +2373,24 @@ const Ue = T(
|
|
|
2373
2373
|
deleteProjectAttachments: be.deleteMany
|
|
2374
2374
|
}
|
|
2375
2375
|
}), {
|
|
2376
|
-
initializeProjectAttachments:
|
|
2376
|
+
initializeProjectAttachments: Hh,
|
|
2377
2377
|
addProjectAttachment: PS,
|
|
2378
|
-
addProjectAttachments:
|
|
2379
|
-
setProjectAttachment:
|
|
2380
|
-
setProjectAttachments:
|
|
2378
|
+
addProjectAttachments: Wh,
|
|
2379
|
+
setProjectAttachment: Kh,
|
|
2380
|
+
setProjectAttachments: Yh,
|
|
2381
2381
|
updateProjectAttachment: TS,
|
|
2382
|
-
updateProjectAttachments:
|
|
2383
|
-
deleteProjectAttachment:
|
|
2382
|
+
updateProjectAttachments: Jh,
|
|
2383
|
+
deleteProjectAttachment: Qh,
|
|
2384
2384
|
deleteProjectAttachments: ic
|
|
2385
|
-
} = sc.actions,
|
|
2386
|
-
[
|
|
2385
|
+
} = sc.actions, Xh = (t) => t.projectAttachmentReducer.instances, Zh = m(
|
|
2386
|
+
[Xh],
|
|
2387
2387
|
(t) => Object.values(t)
|
|
2388
|
-
),
|
|
2388
|
+
), ep = (t) => (e) => e.projectAttachmentReducer.instances[t], tp = y(
|
|
2389
2389
|
m(
|
|
2390
|
-
[
|
|
2390
|
+
[Zh, (t, e) => e],
|
|
2391
2391
|
(t, e) => b(t.filter(({ project: s }) => e === s))
|
|
2392
2392
|
)
|
|
2393
|
-
),
|
|
2393
|
+
), sp = sc.reducer, Se = T(
|
|
2394
2394
|
(t) => t.uuid
|
|
2395
2395
|
), an = Se.getInitialState({
|
|
2396
2396
|
activeProjectFileId: null,
|
|
@@ -2433,32 +2433,32 @@ const Ue = T(
|
|
|
2433
2433
|
}
|
|
2434
2434
|
}
|
|
2435
2435
|
}), {
|
|
2436
|
-
initializeProjectFiles:
|
|
2436
|
+
initializeProjectFiles: ip,
|
|
2437
2437
|
setProjectFile: _S,
|
|
2438
2438
|
setProjectFiles: RS,
|
|
2439
2439
|
addProjectFile: FS,
|
|
2440
|
-
addProjectFiles:
|
|
2440
|
+
addProjectFiles: np,
|
|
2441
2441
|
updateProjectFile: cn,
|
|
2442
2442
|
updateProjectFiles: OS,
|
|
2443
|
-
deleteProjectFile:
|
|
2444
|
-
deleteProjectFiles:
|
|
2443
|
+
deleteProjectFile: ap,
|
|
2444
|
+
deleteProjectFiles: cp,
|
|
2445
2445
|
// TODO: move following to /web
|
|
2446
|
-
setIsImportingProjectFile:
|
|
2447
|
-
setActiveProjectFileId:
|
|
2448
|
-
saveActiveProjectFileBounds:
|
|
2446
|
+
setIsImportingProjectFile: rp,
|
|
2447
|
+
setActiveProjectFileId: op,
|
|
2448
|
+
saveActiveProjectFileBounds: dp,
|
|
2449
2449
|
resetProjectFileObjectUrls: IS
|
|
2450
|
-
} = nc.actions,
|
|
2450
|
+
} = nc.actions, up = (t) => t.projectFileReducer.instances, lp = m([up], (t) => b(Object.values(t).sort((e, s) => e.z_index - s.z_index))), vS = (t) => (e) => e.projectFileReducer.instances[t], wS = (t) => t.projectFileReducer.activeProjectFileId, ES = (t) => t.projectFileReducer.isImportingProjectFile, hp = nc.reducer, pp = {
|
|
2451
2451
|
isRehydrated: !1
|
|
2452
2452
|
}, ac = P({
|
|
2453
2453
|
name: "rehydrated",
|
|
2454
|
-
initialState:
|
|
2454
|
+
initialState: pp,
|
|
2455
2455
|
// The `reducers` field lets us define reducers and generate associated actions
|
|
2456
2456
|
reducers: {
|
|
2457
2457
|
setRehydrated: (t, e) => {
|
|
2458
2458
|
t.isRehydrated = e.payload;
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
|
-
}), { setRehydrated: kS } = ac.actions, qS = (t) => t.rehydratedReducer.isRehydrated,
|
|
2461
|
+
}), { setRehydrated: kS } = ac.actions, qS = (t) => t.rehydratedReducer.isRehydrated, mp = ac.reducer, Me = T((t) => t.uuid), rn = Me.getInitialState({}), cc = P({
|
|
2462
2462
|
name: "teams",
|
|
2463
2463
|
initialState: rn,
|
|
2464
2464
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, rn)),
|
|
@@ -2469,7 +2469,7 @@ const Ue = T(
|
|
|
2469
2469
|
updateTeam: Me.updateOne,
|
|
2470
2470
|
deleteTeam: Me.deleteOne
|
|
2471
2471
|
}
|
|
2472
|
-
}), { setTeam: ze, initializeTeams:
|
|
2472
|
+
}), { setTeam: ze, initializeTeams: fp, addTeam: Ap, updateTeam: on, deleteTeam: dn } = cc.actions, rc = (t) => t.teamReducer.instances, oc = m([rc], (t) => Object.values(t)), Ve = (t) => (e) => e.teamReducer.instances[t], jS = y(
|
|
2473
2473
|
m(
|
|
2474
2474
|
[rc, (t, e) => e],
|
|
2475
2475
|
(t, e) => {
|
|
@@ -2488,87 +2488,87 @@ const Ue = T(
|
|
|
2488
2488
|
)
|
|
2489
2489
|
), DS = y(
|
|
2490
2490
|
m([oc, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
|
|
2491
|
-
),
|
|
2491
|
+
), yp = cc.reducer, bp = {
|
|
2492
2492
|
version: 0
|
|
2493
|
-
},
|
|
2493
|
+
}, Sp = P({
|
|
2494
2494
|
name: "versioning",
|
|
2495
|
-
initialState:
|
|
2495
|
+
initialState: bp,
|
|
2496
2496
|
reducers: {}
|
|
2497
|
-
}),
|
|
2498
|
-
outboxReducer:
|
|
2499
|
-
fileReducer:
|
|
2500
|
-
authReducer:
|
|
2501
|
-
}, CS = pn(dc),
|
|
2497
|
+
}), gp = Sp.reducer, dc = {
|
|
2498
|
+
outboxReducer: Nh,
|
|
2499
|
+
fileReducer: iu,
|
|
2500
|
+
authReducer: Od
|
|
2501
|
+
}, CS = pn(dc), Pp = {
|
|
2502
2502
|
...dc,
|
|
2503
|
-
[ut]:
|
|
2504
|
-
categoryReducer:
|
|
2505
|
-
assetReducer:
|
|
2506
|
-
assetAttachmentReducer:
|
|
2507
|
-
assetStageCompletionReducer:
|
|
2508
|
-
assetStageReducer:
|
|
2509
|
-
assetTypeReducer:
|
|
2510
|
-
assetTypeAttachmentReducer:
|
|
2511
|
-
issueReducer:
|
|
2512
|
-
issueAttachmentReducer:
|
|
2513
|
-
issueTypeReducer:
|
|
2514
|
-
issueTypeAttachmentReducer:
|
|
2515
|
-
organizationReducer:
|
|
2516
|
-
projectReducer:
|
|
2517
|
-
projectAttachmentReducer:
|
|
2518
|
-
projectAccessReducer:
|
|
2519
|
-
organizationAccessReducer:
|
|
2520
|
-
projectFileReducer:
|
|
2521
|
-
rehydratedReducer:
|
|
2522
|
-
formReducer:
|
|
2523
|
-
formRevisionReducer:
|
|
2524
|
-
formRevisionAttachmentReducer:
|
|
2525
|
-
formSubmissionAttachmentReducer:
|
|
2526
|
-
formSubmissionReducer:
|
|
2527
|
-
userReducer:
|
|
2528
|
-
emailDomainsReducer:
|
|
2529
|
-
licenseReducer:
|
|
2530
|
-
documentsReducer:
|
|
2531
|
-
documentAttachmentReducer:
|
|
2532
|
-
teamReducer:
|
|
2533
|
-
agentsReducer:
|
|
2534
|
-
issueCommentReducer:
|
|
2535
|
-
issueCommentAttachmentReducer:
|
|
2536
|
-
issueUpdateReducer:
|
|
2537
|
-
geoImageReducer:
|
|
2538
|
-
issueAssociationReducer:
|
|
2539
|
-
issueTypeFieldsReducer:
|
|
2540
|
-
issueTypeFieldValuesReducer:
|
|
2541
|
-
issueTypeFieldsAttachmentReducer:
|
|
2542
|
-
issueTypeFieldValuesAttachmentReducer:
|
|
2543
|
-
assetTypeFieldsReducer:
|
|
2544
|
-
assetTypeFieldValuesReducer:
|
|
2545
|
-
assetTypeFieldsAttachmentReducer:
|
|
2546
|
-
assetTypeFieldValuesAttachmentReducer:
|
|
2547
|
-
assetProcedureReducer:
|
|
2548
|
-
assetProcedureInstanceReducer:
|
|
2549
|
-
assetProcedureFieldsReducer:
|
|
2550
|
-
assetProcedureFieldValuesReducer:
|
|
2551
|
-
assetProcedureFieldsAttachmentReducer:
|
|
2552
|
-
assetProcedureFieldValuesAttachmentReducer:
|
|
2553
|
-
assetProcedureAttachmentReducer:
|
|
2554
|
-
assetProcedureStepFieldsAttachmentReducer:
|
|
2555
|
-
assetProcedureStepFieldsReducer:
|
|
2556
|
-
assetProcedureStepFieldValuesAttachmentReducer:
|
|
2557
|
-
assetProcedureStepFieldValuesReducer:
|
|
2558
|
-
assetProcedureStepReducer:
|
|
2559
|
-
}, xS = pn(
|
|
2503
|
+
[ut]: gp,
|
|
2504
|
+
categoryReducer: Ed,
|
|
2505
|
+
assetReducer: ko,
|
|
2506
|
+
assetAttachmentReducer: lr,
|
|
2507
|
+
assetStageCompletionReducer: Do,
|
|
2508
|
+
assetStageReducer: Uo,
|
|
2509
|
+
assetTypeReducer: Rd,
|
|
2510
|
+
assetTypeAttachmentReducer: Qo,
|
|
2511
|
+
issueReducer: Sl,
|
|
2512
|
+
issueAttachmentReducer: sl,
|
|
2513
|
+
issueTypeReducer: sh,
|
|
2514
|
+
issueTypeAttachmentReducer: vl,
|
|
2515
|
+
organizationReducer: Uh,
|
|
2516
|
+
projectReducer: qh,
|
|
2517
|
+
projectAttachmentReducer: sp,
|
|
2518
|
+
projectAccessReducer: Ih,
|
|
2519
|
+
organizationAccessReducer: Ph,
|
|
2520
|
+
projectFileReducer: hp,
|
|
2521
|
+
rehydratedReducer: mp,
|
|
2522
|
+
formReducer: Su,
|
|
2523
|
+
formRevisionReducer: yu,
|
|
2524
|
+
formRevisionAttachmentReducer: du,
|
|
2525
|
+
formSubmissionAttachmentReducer: Ou,
|
|
2526
|
+
formSubmissionReducer: qu,
|
|
2527
|
+
userReducer: Ah,
|
|
2528
|
+
emailDomainsReducer: Zd,
|
|
2529
|
+
licenseReducer: ph,
|
|
2530
|
+
documentsReducer: Hd,
|
|
2531
|
+
documentAttachmentReducer: Ud,
|
|
2532
|
+
teamReducer: yp,
|
|
2533
|
+
agentsReducer: ir,
|
|
2534
|
+
issueCommentReducer: ml,
|
|
2535
|
+
issueCommentAttachmentReducer: ll,
|
|
2536
|
+
issueUpdateReducer: uh,
|
|
2537
|
+
geoImageReducer: $u,
|
|
2538
|
+
issueAssociationReducer: Ku,
|
|
2539
|
+
issueTypeFieldsReducer: Ll,
|
|
2540
|
+
issueTypeFieldValuesReducer: zl,
|
|
2541
|
+
issueTypeFieldsAttachmentReducer: Dl,
|
|
2542
|
+
issueTypeFieldValuesAttachmentReducer: Jl,
|
|
2543
|
+
assetTypeFieldsReducer: ud,
|
|
2544
|
+
assetTypeFieldValuesReducer: Td,
|
|
2545
|
+
assetTypeFieldsAttachmentReducer: nd,
|
|
2546
|
+
assetTypeFieldValuesAttachmentReducer: Ad,
|
|
2547
|
+
assetProcedureReducer: eo,
|
|
2548
|
+
assetProcedureInstanceReducer: Qr,
|
|
2549
|
+
assetProcedureFieldsReducer: Mr,
|
|
2550
|
+
assetProcedureFieldValuesReducer: Hr,
|
|
2551
|
+
assetProcedureFieldsAttachmentReducer: vr,
|
|
2552
|
+
assetProcedureFieldValuesAttachmentReducer: Ur,
|
|
2553
|
+
assetProcedureAttachmentReducer: Pr,
|
|
2554
|
+
assetProcedureStepFieldsAttachmentReducer: ro,
|
|
2555
|
+
assetProcedureStepFieldsReducer: uo,
|
|
2556
|
+
assetProcedureStepFieldValuesAttachmentReducer: Ao,
|
|
2557
|
+
assetProcedureStepFieldValuesReducer: To,
|
|
2558
|
+
assetProcedureStepReducer: Fo
|
|
2559
|
+
}, xS = pn(Pp);
|
|
2560
2560
|
let uc;
|
|
2561
|
-
function
|
|
2561
|
+
function Tp(t) {
|
|
2562
2562
|
uc = t;
|
|
2563
2563
|
}
|
|
2564
2564
|
function We() {
|
|
2565
2565
|
return uc;
|
|
2566
2566
|
}
|
|
2567
2567
|
let lc;
|
|
2568
|
-
function
|
|
2568
|
+
function _p(t) {
|
|
2569
2569
|
lc = t;
|
|
2570
2570
|
}
|
|
2571
|
-
function
|
|
2571
|
+
function Rp() {
|
|
2572
2572
|
return lc;
|
|
2573
2573
|
}
|
|
2574
2574
|
const hc = {};
|
|
@@ -2585,10 +2585,10 @@ class pc {
|
|
|
2585
2585
|
this.client.store.dispatch(e);
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
|
-
const mc = () => Ac.length - 1, fc = (t) => (t[ut] = { version: mc() }, t), un = () => fc({}),
|
|
2588
|
+
const mc = () => Ac.length - 1, fc = (t) => (t[ut] = { version: mc() }, t), un = () => fc({}), Fp = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Op = (t) => (e) => {
|
|
2589
2589
|
var s;
|
|
2590
2590
|
return e === void 0 && (e = {}), ((s = e[ut]) == null ? void 0 : s.version) === mc() ? e : t(e);
|
|
2591
|
-
}, Ac = [fc, un, un,
|
|
2591
|
+
}, Ac = [fc, un, un, Fp], Ip = Object.fromEntries(Ac.map((t, e) => [e, Op(t)]));
|
|
2592
2592
|
let At = null;
|
|
2593
2593
|
function De() {
|
|
2594
2594
|
const t = We();
|
|
@@ -2599,49 +2599,49 @@ function De() {
|
|
|
2599
2599
|
const e = t.getState().offline.outbox, s = Be._fromOutbox(e);
|
|
2600
2600
|
return At = s, s;
|
|
2601
2601
|
}
|
|
2602
|
-
const
|
|
2602
|
+
const vp = (t) => {
|
|
2603
2603
|
if (t) throw t;
|
|
2604
2604
|
const e = We();
|
|
2605
2605
|
e ? e.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }) : console.error("Client store not set");
|
|
2606
|
-
},
|
|
2606
|
+
}, wp = (t, e, s) => {
|
|
2607
2607
|
const i = De();
|
|
2608
2608
|
return i ? (i.addRequest(e), i.getQueue()) : (console.warn("Outbox coordinator not set; cannot enqueue request yet."), []);
|
|
2609
|
-
},
|
|
2609
|
+
}, Ep = (t, e, s) => {
|
|
2610
2610
|
const i = De();
|
|
2611
2611
|
if (!i)
|
|
2612
2612
|
return console.warn("Outbox coordinator not set; cannot dequeue request yet."), [];
|
|
2613
2613
|
const a = e.meta.offlineAction.payload.uuid;
|
|
2614
2614
|
return i.remove(a), i.getQueue();
|
|
2615
2615
|
};
|
|
2616
|
-
async function
|
|
2616
|
+
async function kp(t, e) {
|
|
2617
2617
|
if (!e.payload)
|
|
2618
2618
|
throw new Error("Received empty payload");
|
|
2619
|
-
return
|
|
2619
|
+
return Vp(e);
|
|
2620
2620
|
}
|
|
2621
|
-
const
|
|
2621
|
+
const qp = {
|
|
2622
2622
|
...Ht,
|
|
2623
|
-
effect:
|
|
2623
|
+
effect: kp,
|
|
2624
2624
|
// Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
|
|
2625
2625
|
// but redux-offline does not know this.
|
|
2626
2626
|
discard: gc,
|
|
2627
2627
|
returnPromises: !0,
|
|
2628
|
-
persistCallback:
|
|
2629
|
-
retry:
|
|
2628
|
+
persistCallback: vp,
|
|
2629
|
+
retry: $p,
|
|
2630
2630
|
// Modify the configuration of the offline store to use localforage
|
|
2631
2631
|
// which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
|
|
2632
|
-
persistOptions: { storage:
|
|
2632
|
+
persistOptions: { storage: vc },
|
|
2633
2633
|
// TODO: custom enqueue implementation to take care of intelligently cancelling "create/delete same issue",
|
|
2634
2634
|
// and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
|
|
2635
2635
|
// that same issue"
|
|
2636
2636
|
queue: {
|
|
2637
2637
|
...Ht.queue,
|
|
2638
|
-
enqueue:
|
|
2639
|
-
dequeue:
|
|
2638
|
+
enqueue: wp,
|
|
2639
|
+
dequeue: Ep,
|
|
2640
2640
|
// Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
|
|
2641
|
-
peek: (...t) =>
|
|
2641
|
+
peek: (...t) => Up(...t)
|
|
2642
2642
|
}
|
|
2643
|
-
},
|
|
2644
|
-
function
|
|
2643
|
+
}, jp = wc(Ip, ut), zS = Fc(Ic(qp), jp);
|
|
2644
|
+
function Mp(t) {
|
|
2645
2645
|
function e(s) {
|
|
2646
2646
|
return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((n) => n in s);
|
|
2647
2647
|
}
|
|
@@ -2684,7 +2684,7 @@ async function yc(t, e) {
|
|
|
2684
2684
|
return k.set("x-amz-checksum-sha1", xe).field({ ...l, ...D.fields }).attach("file", E);
|
|
2685
2685
|
}
|
|
2686
2686
|
return k.send(l);
|
|
2687
|
-
},
|
|
2687
|
+
}, Tc = {
|
|
2688
2688
|
[u.GET]: () => g ? qe.get(F.toString()).responseType("blob") : qe.get(F.toString()),
|
|
2689
2689
|
[u.POST]: () => {
|
|
2690
2690
|
const k = qe.post(F.toString());
|
|
@@ -2704,18 +2704,18 @@ async function yc(t, e) {
|
|
|
2704
2704
|
}
|
|
2705
2705
|
}[d];
|
|
2706
2706
|
a && await a;
|
|
2707
|
-
let _e =
|
|
2707
|
+
let _e = Tc();
|
|
2708
2708
|
S && i && (_e = s.auth.prepareRequest(_e)), r && (_e = _e.set(r));
|
|
2709
2709
|
try {
|
|
2710
2710
|
return await _e.query(h);
|
|
2711
2711
|
} catch (k) {
|
|
2712
|
-
const D =
|
|
2712
|
+
const D = Mp(k), xe = D == null ? void 0 : D.status;
|
|
2713
2713
|
if (i && xe === 401)
|
|
2714
2714
|
return await s.auth.handleUnauthorized(_e, D), _e.query(h);
|
|
2715
2715
|
throw new j({ response: D, innerError: k, discard: Sc.includes(xe) });
|
|
2716
2716
|
}
|
|
2717
2717
|
}
|
|
2718
|
-
class
|
|
2718
|
+
class Dp {
|
|
2719
2719
|
constructor(e) {
|
|
2720
2720
|
A(this, "_all");
|
|
2721
2721
|
A(this, "_previous");
|
|
@@ -2737,33 +2737,33 @@ class bc {
|
|
|
2737
2737
|
this.next = null;
|
|
2738
2738
|
}
|
|
2739
2739
|
then(e) {
|
|
2740
|
-
return new
|
|
2740
|
+
return new Dp(this).then(e);
|
|
2741
2741
|
}
|
|
2742
2742
|
async run(e) {
|
|
2743
2743
|
if (this.next)
|
|
2744
2744
|
return this.next.run(e);
|
|
2745
2745
|
{
|
|
2746
2746
|
if (console.debug("Middleware finished. Performing request:", e), !We()) throw new Error("Client store not set");
|
|
2747
|
-
const i =
|
|
2747
|
+
const i = Rp();
|
|
2748
2748
|
if (!i) throw new Error("Client SDK not set");
|
|
2749
2749
|
return yc(e, i);
|
|
2750
2750
|
}
|
|
2751
2751
|
}
|
|
2752
2752
|
}
|
|
2753
|
-
class
|
|
2753
|
+
class Cp extends bc {
|
|
2754
2754
|
async run(e) {
|
|
2755
2755
|
return super.run(e);
|
|
2756
2756
|
}
|
|
2757
2757
|
}
|
|
2758
|
-
class
|
|
2758
|
+
class xp extends bc {
|
|
2759
2759
|
async run(e) {
|
|
2760
2760
|
return super.run(e);
|
|
2761
2761
|
}
|
|
2762
2762
|
}
|
|
2763
|
-
const
|
|
2764
|
-
function
|
|
2763
|
+
const zp = new Cp().then(new xp()).compile();
|
|
2764
|
+
function Vp(t) {
|
|
2765
2765
|
var e;
|
|
2766
|
-
return (e =
|
|
2766
|
+
return (e = zp[0]) == null ? void 0 : e.run(t);
|
|
2767
2767
|
}
|
|
2768
2768
|
const Sc = [400, 409, 403, 404, 405, 500];
|
|
2769
2769
|
function gc(t, e, s = 0) {
|
|
@@ -2786,7 +2786,7 @@ Retries:`,
|
|
|
2786
2786
|
), t;
|
|
2787
2787
|
const i = We(), a = i.getState().outboxReducer.deletedRequests, c = e.payload.uuid;
|
|
2788
2788
|
function o() {
|
|
2789
|
-
i.dispatch(
|
|
2789
|
+
i.dispatch(Bh(c));
|
|
2790
2790
|
const d = De();
|
|
2791
2791
|
if (!d)
|
|
2792
2792
|
throw new Error("Outbox coordinator not set");
|
|
@@ -2815,15 +2815,15 @@ Action:`, e);
|
|
|
2815
2815
|
throw new Error("Outbox coordinator not set");
|
|
2816
2816
|
return l.registerRetry(e.payload.uuid), !1;
|
|
2817
2817
|
}
|
|
2818
|
-
function
|
|
2818
|
+
function Up(t, e, s) {
|
|
2819
2819
|
var i;
|
|
2820
2820
|
return (i = De()) == null ? void 0 : i.peek();
|
|
2821
2821
|
}
|
|
2822
|
-
function
|
|
2823
|
-
return We().dispatch(
|
|
2822
|
+
function $p(t, e) {
|
|
2823
|
+
return We().dispatch(Lh((/* @__PURE__ */ new Date()).getTime())), Uc;
|
|
2824
2824
|
}
|
|
2825
|
-
const He = "An unknown error occurred",
|
|
2826
|
-
function
|
|
2825
|
+
const He = "An unknown error occurred", Gp = 500, ln = ["non_field_errors", "detail"];
|
|
2826
|
+
function Bp(t, e) {
|
|
2827
2827
|
let s;
|
|
2828
2828
|
if (t != null && t.body)
|
|
2829
2829
|
if (typeof t.body == "object") {
|
|
@@ -2843,7 +2843,7 @@ function Gp(t, e) {
|
|
|
2843
2843
|
}
|
|
2844
2844
|
} else typeof t.body == "string" && (s = t.body);
|
|
2845
2845
|
else t != null && t.text ? s = t.text : e instanceof Error && (s = e.message);
|
|
2846
|
-
return !s || s.length >
|
|
2846
|
+
return !s || s.length > Gp ? He : s;
|
|
2847
2847
|
}
|
|
2848
2848
|
class j extends Error {
|
|
2849
2849
|
constructor(s) {
|
|
@@ -2854,12 +2854,12 @@ class j extends Error {
|
|
|
2854
2854
|
A(this, "message");
|
|
2855
2855
|
A(this, "options");
|
|
2856
2856
|
const { response: i, innerError: n } = s;
|
|
2857
|
-
this.message = s.message ??
|
|
2857
|
+
this.message = s.message ?? Bp(i, n) ?? He, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, s.discard = s.discard ?? !1, this.options = s;
|
|
2858
2858
|
}
|
|
2859
2859
|
}
|
|
2860
|
-
class
|
|
2860
|
+
class Pc extends pc {
|
|
2861
2861
|
clearAuth() {
|
|
2862
|
-
this.dispatch(
|
|
2862
|
+
this.dispatch(Fd(!1)), this.dispatch({ type: Ec }), this.dispatch({ type: $c });
|
|
2863
2863
|
}
|
|
2864
2864
|
// @ts-expect-error TS6133
|
|
2865
2865
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -2887,7 +2887,7 @@ class VS extends O {
|
|
|
2887
2887
|
},
|
|
2888
2888
|
blockers: ["prompt"],
|
|
2889
2889
|
blocks: ["prompt"]
|
|
2890
|
-
}).then((i) => (this.dispatch(
|
|
2890
|
+
}).then((i) => (this.dispatch(er(i)), i));
|
|
2891
2891
|
}
|
|
2892
2892
|
async continueConversation(e, s, i) {
|
|
2893
2893
|
return this.enqueueRequest({
|
|
@@ -2902,7 +2902,7 @@ class VS extends O {
|
|
|
2902
2902
|
blocks: ["prompt"],
|
|
2903
2903
|
queryParams: { conversation_id: s }
|
|
2904
2904
|
}).then((n) => {
|
|
2905
|
-
this.dispatch(
|
|
2905
|
+
this.dispatch(sr(n));
|
|
2906
2906
|
});
|
|
2907
2907
|
}
|
|
2908
2908
|
async fetchDetails(e) {
|
|
@@ -2913,7 +2913,7 @@ class VS extends O {
|
|
|
2913
2913
|
blockers: ["conversation"],
|
|
2914
2914
|
blocks: ["conversation"]
|
|
2915
2915
|
}).then((s) => {
|
|
2916
|
-
this.dispatch(
|
|
2916
|
+
this.dispatch(tr(s));
|
|
2917
2917
|
});
|
|
2918
2918
|
}
|
|
2919
2919
|
async rate(e, s) {
|
|
@@ -2934,7 +2934,7 @@ class VS extends O {
|
|
|
2934
2934
|
blockers: ["agent-conversations"],
|
|
2935
2935
|
blocks: ["agent-conversations"]
|
|
2936
2936
|
});
|
|
2937
|
-
this.dispatch(
|
|
2937
|
+
this.dispatch(Zc(s));
|
|
2938
2938
|
}
|
|
2939
2939
|
}
|
|
2940
2940
|
class w extends O {
|
|
@@ -3067,11 +3067,11 @@ class US extends Te {
|
|
|
3067
3067
|
A(this, "url", "/asset-attachments");
|
|
3068
3068
|
A(this, "initializeAttachments", Qt);
|
|
3069
3069
|
A(this, "addAttachments", Tn);
|
|
3070
|
-
A(this, "updateAttachments",
|
|
3070
|
+
A(this, "updateAttachments", ar);
|
|
3071
3071
|
A(this, "removeAttachments", _n);
|
|
3072
|
-
A(this, "removeAttachment",
|
|
3073
|
-
A(this, "setAttachment",
|
|
3074
|
-
A(this, "selectAttachment",
|
|
3072
|
+
A(this, "removeAttachment", cr);
|
|
3073
|
+
A(this, "setAttachment", nr);
|
|
3074
|
+
A(this, "selectAttachment", dr);
|
|
3075
3075
|
}
|
|
3076
3076
|
buildOfflineAttachment(s) {
|
|
3077
3077
|
return _({
|
|
@@ -3116,12 +3116,12 @@ class $S extends Te {
|
|
|
3116
3116
|
super(...arguments);
|
|
3117
3117
|
A(this, "name", "Asset Procedure Attachment");
|
|
3118
3118
|
A(this, "url", "/asset-procedure-attachments");
|
|
3119
|
-
A(this, "addAttachments",
|
|
3120
|
-
A(this, "updateAttachments",
|
|
3121
|
-
A(this, "removeAttachments",
|
|
3122
|
-
A(this, "removeAttachment",
|
|
3123
|
-
A(this, "setAttachment",
|
|
3124
|
-
A(this, "selectAttachment",
|
|
3119
|
+
A(this, "addAttachments", pr);
|
|
3120
|
+
A(this, "updateAttachments", fr);
|
|
3121
|
+
A(this, "removeAttachments", yr);
|
|
3122
|
+
A(this, "removeAttachment", Ar);
|
|
3123
|
+
A(this, "setAttachment", mr);
|
|
3124
|
+
A(this, "selectAttachment", gr);
|
|
3125
3125
|
}
|
|
3126
3126
|
buildOfflineAttachment(s) {
|
|
3127
3127
|
return _({
|
|
@@ -3158,7 +3158,7 @@ class $S extends Te {
|
|
|
3158
3158
|
blocks: [],
|
|
3159
3159
|
blockers: []
|
|
3160
3160
|
});
|
|
3161
|
-
this.dispatch(
|
|
3161
|
+
this.dispatch(hr(i));
|
|
3162
3162
|
}
|
|
3163
3163
|
}
|
|
3164
3164
|
class GS extends w {
|
|
@@ -3189,7 +3189,7 @@ class GS extends w {
|
|
|
3189
3189
|
};
|
|
3190
3190
|
c.push(g);
|
|
3191
3191
|
}
|
|
3192
|
-
this.dispatch(
|
|
3192
|
+
this.dispatch(_r(a));
|
|
3193
3193
|
const o = this.enqueueRequest({
|
|
3194
3194
|
description: "Add asset procedure fields attachments",
|
|
3195
3195
|
method: u.POST,
|
|
@@ -3203,10 +3203,10 @@ class GS extends w {
|
|
|
3203
3203
|
blocks: a.map((r) => r.uuid)
|
|
3204
3204
|
});
|
|
3205
3205
|
return o.then((r) => {
|
|
3206
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3206
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(Rr(r.attachments));
|
|
3207
3207
|
}).catch(() => {
|
|
3208
3208
|
this.dispatch(
|
|
3209
|
-
|
|
3209
|
+
Fr(
|
|
3210
3210
|
a.map((r) => r.uuid)
|
|
3211
3211
|
)
|
|
3212
3212
|
);
|
|
@@ -3223,7 +3223,7 @@ class GS extends w {
|
|
|
3223
3223
|
blockers: [],
|
|
3224
3224
|
blocks: []
|
|
3225
3225
|
});
|
|
3226
|
-
this.dispatch(
|
|
3226
|
+
this.dispatch(Tr(s));
|
|
3227
3227
|
}
|
|
3228
3228
|
}
|
|
3229
3229
|
class BS extends O {
|
|
@@ -3234,7 +3234,7 @@ class BS extends O {
|
|
|
3234
3234
|
created_by: i,
|
|
3235
3235
|
submitted_at: n
|
|
3236
3236
|
});
|
|
3237
|
-
this.dispatch(
|
|
3237
|
+
this.dispatch(Er(a));
|
|
3238
3238
|
const c = this.enqueueRequest({
|
|
3239
3239
|
description: "Add Asset Procedure Fields",
|
|
3240
3240
|
method: u.POST,
|
|
@@ -3244,9 +3244,9 @@ class BS extends O {
|
|
|
3244
3244
|
blocks: [a.uuid]
|
|
3245
3245
|
});
|
|
3246
3246
|
return c.then((l) => {
|
|
3247
|
-
this.dispatch(
|
|
3247
|
+
this.dispatch(kr(l));
|
|
3248
3248
|
}).catch((l) => {
|
|
3249
|
-
throw this.dispatch(
|
|
3249
|
+
throw this.dispatch(qr(a.uuid)), l;
|
|
3250
3250
|
}), [a, c];
|
|
3251
3251
|
}
|
|
3252
3252
|
async refreshStore(e) {
|
|
@@ -3260,7 +3260,7 @@ class BS extends O {
|
|
|
3260
3260
|
blockers: [],
|
|
3261
3261
|
blocks: []
|
|
3262
3262
|
});
|
|
3263
|
-
this.dispatch(
|
|
3263
|
+
this.dispatch(wr(s));
|
|
3264
3264
|
}
|
|
3265
3265
|
}
|
|
3266
3266
|
function ke(t, e) {
|
|
@@ -3321,7 +3321,7 @@ class LS extends w {
|
|
|
3321
3321
|
return Promise.all(l).then((d) => {
|
|
3322
3322
|
for (const p of d) this.processPresignedUrls(p.presigned_urls);
|
|
3323
3323
|
const h = d.flatMap((p) => p.attachments);
|
|
3324
|
-
this.dispatch(
|
|
3324
|
+
this.dispatch(Cr(h));
|
|
3325
3325
|
}).catch((d) => {
|
|
3326
3326
|
throw this.dispatch(
|
|
3327
3327
|
Tt(
|
|
@@ -3334,7 +3334,7 @@ class LS extends w {
|
|
|
3334
3334
|
];
|
|
3335
3335
|
}
|
|
3336
3336
|
async bulkDelete(e) {
|
|
3337
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3337
|
+
const { store: s } = this.client, i = s.getState(), n = zr(e)(i);
|
|
3338
3338
|
this.dispatch(Tt(e));
|
|
3339
3339
|
try {
|
|
3340
3340
|
await this.enqueueRequest({
|
|
@@ -3360,7 +3360,7 @@ class LS extends w {
|
|
|
3360
3360
|
blockers: [],
|
|
3361
3361
|
blocks: []
|
|
3362
3362
|
});
|
|
3363
|
-
this.dispatch(
|
|
3363
|
+
this.dispatch(Dr(s));
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
3366
|
class NS extends O {
|
|
@@ -3409,7 +3409,7 @@ class NS extends O {
|
|
|
3409
3409
|
field_values: d
|
|
3410
3410
|
});
|
|
3411
3411
|
}
|
|
3412
|
-
this.dispatch(
|
|
3412
|
+
this.dispatch(Gr(n));
|
|
3413
3413
|
const o = [];
|
|
3414
3414
|
for (const r of c) {
|
|
3415
3415
|
const d = r.field_values.map((g) => g.asset), h = r.field_values.map((g) => g.fields_revision), p = r.field_values.map((g) => g.asset_procedure_instance), f = r.field_values.map((g) => g.uuid), S = this.enqueueRequest({
|
|
@@ -3423,10 +3423,10 @@ class NS extends O {
|
|
|
3423
3423
|
o.push(S);
|
|
3424
3424
|
}
|
|
3425
3425
|
return Promise.all(o).then((r) => {
|
|
3426
|
-
this.dispatch(
|
|
3426
|
+
this.dispatch(Br(r.flat()));
|
|
3427
3427
|
}).catch(() => {
|
|
3428
3428
|
this.dispatch(
|
|
3429
|
-
|
|
3429
|
+
Lr(n.map((r) => r.uuid))
|
|
3430
3430
|
);
|
|
3431
3431
|
}), [n, o];
|
|
3432
3432
|
}
|
|
@@ -3461,7 +3461,7 @@ class NS extends O {
|
|
|
3461
3461
|
const { store: s } = this.client, i = s.getState(), n = as(e)(i);
|
|
3462
3462
|
if (!n)
|
|
3463
3463
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3464
|
-
const a =
|
|
3464
|
+
const a = Vr(e)(i);
|
|
3465
3465
|
this.dispatch(ns(e)), this.dispatch(
|
|
3466
3466
|
Tt(a.map((c) => c.uuid))
|
|
3467
3467
|
);
|
|
@@ -3488,7 +3488,7 @@ class NS extends O {
|
|
|
3488
3488
|
blockers: [],
|
|
3489
3489
|
blocks: []
|
|
3490
3490
|
});
|
|
3491
|
-
this.dispatch(
|
|
3491
|
+
this.dispatch($r(s));
|
|
3492
3492
|
}
|
|
3493
3493
|
}
|
|
3494
3494
|
class HS extends O {
|
|
@@ -3562,7 +3562,7 @@ class HS extends O {
|
|
|
3562
3562
|
blockers: [],
|
|
3563
3563
|
blocks: []
|
|
3564
3564
|
});
|
|
3565
|
-
this.dispatch(
|
|
3565
|
+
this.dispatch(Wr(s));
|
|
3566
3566
|
}
|
|
3567
3567
|
}
|
|
3568
3568
|
class WS extends O {
|
|
@@ -3615,15 +3615,15 @@ class WS extends O {
|
|
|
3615
3615
|
const { store: s } = this.client, i = s.getState(), n = ps(e)(i);
|
|
3616
3616
|
if (!n)
|
|
3617
3617
|
throw new Error(`Expected asset procedure with uuid ${e} to exist`);
|
|
3618
|
-
const a =
|
|
3619
|
-
return this.dispatch(hs(e)), this.dispatch(
|
|
3618
|
+
const a = Jr(e)(i);
|
|
3619
|
+
return this.dispatch(hs(e)), this.dispatch(Yr(a.map((c) => c.uuid))), this.enqueueRequest({
|
|
3620
3620
|
description: "Delete asset procedure",
|
|
3621
3621
|
method: u.DELETE,
|
|
3622
3622
|
url: `/asset-procedures/${e}/`,
|
|
3623
3623
|
blockers: [e],
|
|
3624
3624
|
blocks: []
|
|
3625
3625
|
}).catch((c) => {
|
|
3626
|
-
throw this.dispatch(ls(n)), this.dispatch(
|
|
3626
|
+
throw this.dispatch(ls(n)), this.dispatch(Kr(a)), c;
|
|
3627
3627
|
});
|
|
3628
3628
|
}
|
|
3629
3629
|
async refreshStore(e) {
|
|
@@ -3637,7 +3637,7 @@ class WS extends O {
|
|
|
3637
3637
|
blockers: [],
|
|
3638
3638
|
blocks: []
|
|
3639
3639
|
});
|
|
3640
|
-
this.dispatch(
|
|
3640
|
+
this.dispatch(Xr(s));
|
|
3641
3641
|
}
|
|
3642
3642
|
}
|
|
3643
3643
|
class KS extends w {
|
|
@@ -3668,7 +3668,7 @@ class KS extends w {
|
|
|
3668
3668
|
};
|
|
3669
3669
|
c.push(g);
|
|
3670
3670
|
}
|
|
3671
|
-
this.dispatch(
|
|
3671
|
+
this.dispatch(so(a));
|
|
3672
3672
|
const o = this.enqueueRequest({
|
|
3673
3673
|
description: "Add asset procedure step fields attachments",
|
|
3674
3674
|
method: u.POST,
|
|
@@ -3682,10 +3682,10 @@ class KS extends w {
|
|
|
3682
3682
|
blocks: a.map((r) => r.uuid)
|
|
3683
3683
|
});
|
|
3684
3684
|
return o.then((r) => {
|
|
3685
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3685
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(io(r.attachments));
|
|
3686
3686
|
}).catch(() => {
|
|
3687
3687
|
this.dispatch(
|
|
3688
|
-
|
|
3688
|
+
no(
|
|
3689
3689
|
a.map((r) => r.uuid)
|
|
3690
3690
|
)
|
|
3691
3691
|
);
|
|
@@ -3702,7 +3702,7 @@ class KS extends w {
|
|
|
3702
3702
|
blockers: [],
|
|
3703
3703
|
blocks: []
|
|
3704
3704
|
});
|
|
3705
|
-
this.dispatch(
|
|
3705
|
+
this.dispatch(to(s));
|
|
3706
3706
|
}
|
|
3707
3707
|
}
|
|
3708
3708
|
class YS extends O {
|
|
@@ -3778,7 +3778,7 @@ class YS extends O {
|
|
|
3778
3778
|
blockers: [],
|
|
3779
3779
|
blocks: []
|
|
3780
3780
|
});
|
|
3781
|
-
this.dispatch(
|
|
3781
|
+
this.dispatch(oo(s));
|
|
3782
3782
|
}
|
|
3783
3783
|
}
|
|
3784
3784
|
class JS extends w {
|
|
@@ -3829,7 +3829,7 @@ class JS extends w {
|
|
|
3829
3829
|
return Promise.all(l).then((d) => {
|
|
3830
3830
|
for (const p of d) this.processPresignedUrls(p.presigned_urls);
|
|
3831
3831
|
const h = d.flatMap((p) => p.attachments);
|
|
3832
|
-
this.dispatch(
|
|
3832
|
+
this.dispatch(ho(h));
|
|
3833
3833
|
}).catch((d) => {
|
|
3834
3834
|
throw this.dispatch(
|
|
3835
3835
|
Rt(
|
|
@@ -3842,7 +3842,7 @@ class JS extends w {
|
|
|
3842
3842
|
];
|
|
3843
3843
|
}
|
|
3844
3844
|
async bulkDelete(e) {
|
|
3845
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3845
|
+
const { store: s } = this.client, i = s.getState(), n = mo(e)(i);
|
|
3846
3846
|
this.dispatch(Rt(e));
|
|
3847
3847
|
try {
|
|
3848
3848
|
await this.enqueueRequest({
|
|
@@ -3868,7 +3868,7 @@ class JS extends w {
|
|
|
3868
3868
|
blockers: [],
|
|
3869
3869
|
blocks: []
|
|
3870
3870
|
});
|
|
3871
|
-
this.dispatch(
|
|
3871
|
+
this.dispatch(lo(s));
|
|
3872
3872
|
}
|
|
3873
3873
|
}
|
|
3874
3874
|
class QS extends O {
|
|
@@ -3918,7 +3918,7 @@ class QS extends O {
|
|
|
3918
3918
|
field_values: d
|
|
3919
3919
|
});
|
|
3920
3920
|
}
|
|
3921
|
-
this.dispatch(
|
|
3921
|
+
this.dispatch(bo(n));
|
|
3922
3922
|
const o = [];
|
|
3923
3923
|
for (const r of c) {
|
|
3924
3924
|
const d = r.field_values.map((g) => g.asset), h = r.field_values.map((g) => g.fields_revision), p = r.field_values.map((g) => g.asset_procedure_instance), f = r.field_values.map((g) => g.uuid), S = this.enqueueRequest({
|
|
@@ -3932,10 +3932,10 @@ class QS extends O {
|
|
|
3932
3932
|
o.push(S);
|
|
3933
3933
|
}
|
|
3934
3934
|
return Promise.all(o).then((r) => {
|
|
3935
|
-
this.dispatch(
|
|
3935
|
+
this.dispatch(So(r.flat()));
|
|
3936
3936
|
}).catch(() => {
|
|
3937
3937
|
this.dispatch(
|
|
3938
|
-
|
|
3938
|
+
go(
|
|
3939
3939
|
n.map((r) => r.uuid)
|
|
3940
3940
|
)
|
|
3941
3941
|
);
|
|
@@ -3972,7 +3972,7 @@ class QS extends O {
|
|
|
3972
3972
|
const { store: s } = this.client, i = s.getState(), n = Ts(e)(i);
|
|
3973
3973
|
if (!n)
|
|
3974
3974
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3975
|
-
const a =
|
|
3975
|
+
const a = fo(e)(i);
|
|
3976
3976
|
this.dispatch(Ps(e)), this.dispatch(
|
|
3977
3977
|
Rt(a.map((c) => c.uuid))
|
|
3978
3978
|
);
|
|
@@ -3999,7 +3999,7 @@ class QS extends O {
|
|
|
3999
3999
|
blockers: [],
|
|
4000
4000
|
blocks: []
|
|
4001
4001
|
});
|
|
4002
|
-
this.dispatch(
|
|
4002
|
+
this.dispatch(yo(s));
|
|
4003
4003
|
}
|
|
4004
4004
|
}
|
|
4005
4005
|
class XS extends O {
|
|
@@ -4058,7 +4058,7 @@ class XS extends O {
|
|
|
4058
4058
|
}), n;
|
|
4059
4059
|
}
|
|
4060
4060
|
update(e) {
|
|
4061
|
-
const { store: s } = this.client, i =
|
|
4061
|
+
const { store: s } = this.client, i = Oo(e.uuid)(s.getState());
|
|
4062
4062
|
if (!i) throw new Error(`No asset procedure step with uuid ${e.uuid} found in the store`);
|
|
4063
4063
|
const n = {
|
|
4064
4064
|
...i,
|
|
@@ -4081,7 +4081,7 @@ class XS extends O {
|
|
|
4081
4081
|
return a.then((c) => {
|
|
4082
4082
|
this.dispatch(Fs(c));
|
|
4083
4083
|
}).catch(() => {
|
|
4084
|
-
this.dispatch(
|
|
4084
|
+
this.dispatch(Ro(i));
|
|
4085
4085
|
}), [n, a];
|
|
4086
4086
|
}
|
|
4087
4087
|
async refreshStore(e) {
|
|
@@ -4095,7 +4095,7 @@ class XS extends O {
|
|
|
4095
4095
|
blockers: [],
|
|
4096
4096
|
blocks: []
|
|
4097
4097
|
});
|
|
4098
|
-
this.dispatch(
|
|
4098
|
+
this.dispatch(_o(s));
|
|
4099
4099
|
}
|
|
4100
4100
|
}
|
|
4101
4101
|
class ZS extends O {
|
|
@@ -4153,7 +4153,7 @@ class ZS extends O {
|
|
|
4153
4153
|
async delete(e) {
|
|
4154
4154
|
const { store: s } = this.client, i = s.getState(), n = ks(e)(i);
|
|
4155
4155
|
if (!n) throw new Error(`No asset with uuid ${e} found in the store`);
|
|
4156
|
-
const a =
|
|
4156
|
+
const a = ur(e)(i), c = ku(e)(i), o = Wu(e)(i);
|
|
4157
4157
|
if (this.dispatch(Es(e)), a.length > 0) {
|
|
4158
4158
|
const l = a.map(({ uuid: r }) => r);
|
|
4159
4159
|
this.dispatch(_n(l));
|
|
@@ -4212,7 +4212,7 @@ class ZS extends O {
|
|
|
4212
4212
|
}), l;
|
|
4213
4213
|
}
|
|
4214
4214
|
async bulkDelete(e) {
|
|
4215
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4215
|
+
const { store: s } = this.client, i = s.getState(), n = Eo(e)(i);
|
|
4216
4216
|
this.dispatch(Hn(e));
|
|
4217
4217
|
try {
|
|
4218
4218
|
await this.enqueueRequest({
|
|
@@ -4240,7 +4240,7 @@ class ZS extends O {
|
|
|
4240
4240
|
blockers: [],
|
|
4241
4241
|
blocks: []
|
|
4242
4242
|
});
|
|
4243
|
-
this.dispatch(
|
|
4243
|
+
this.dispatch(vo(s));
|
|
4244
4244
|
}
|
|
4245
4245
|
}
|
|
4246
4246
|
class eg extends O {
|
|
@@ -4261,13 +4261,13 @@ class eg extends O {
|
|
|
4261
4261
|
blocks: [a.uuid]
|
|
4262
4262
|
});
|
|
4263
4263
|
return c.then((l) => {
|
|
4264
|
-
this.dispatch(
|
|
4264
|
+
this.dispatch(jo(l));
|
|
4265
4265
|
}).catch(() => {
|
|
4266
4266
|
this.dispatch(Ds(a.uuid));
|
|
4267
4267
|
}), [a, c];
|
|
4268
4268
|
}
|
|
4269
4269
|
delete(e) {
|
|
4270
|
-
const { store: s } = this.client, i =
|
|
4270
|
+
const { store: s } = this.client, i = Co(e)(s.getState());
|
|
4271
4271
|
if (!i)
|
|
4272
4272
|
throw new Error(`Expected asset stage completion with uuid ${e} to exist`);
|
|
4273
4273
|
this.dispatch(Ds(e));
|
|
@@ -4306,13 +4306,13 @@ class eg extends O {
|
|
|
4306
4306
|
blocks: o
|
|
4307
4307
|
});
|
|
4308
4308
|
return l.then((d) => {
|
|
4309
|
-
this.dispatch(
|
|
4309
|
+
this.dispatch(Mo(d));
|
|
4310
4310
|
}).catch(() => {
|
|
4311
4311
|
this.dispatch(Cs(o));
|
|
4312
4312
|
}), [c, l];
|
|
4313
4313
|
}
|
|
4314
4314
|
bulkDelete(e) {
|
|
4315
|
-
const { store: s } = this.client, i =
|
|
4315
|
+
const { store: s } = this.client, i = xo(e)(s.getState());
|
|
4316
4316
|
this.dispatch(Cs(e));
|
|
4317
4317
|
const n = this.enqueueRequest({
|
|
4318
4318
|
description: "Deleting asset stage completions",
|
|
@@ -4339,7 +4339,7 @@ class eg extends O {
|
|
|
4339
4339
|
blockers: [],
|
|
4340
4340
|
blocks: []
|
|
4341
4341
|
});
|
|
4342
|
-
this.dispatch(
|
|
4342
|
+
this.dispatch(qo(s));
|
|
4343
4343
|
}
|
|
4344
4344
|
}
|
|
4345
4345
|
class tg extends O {
|
|
@@ -4398,7 +4398,7 @@ class tg extends O {
|
|
|
4398
4398
|
}), n;
|
|
4399
4399
|
}
|
|
4400
4400
|
update(e) {
|
|
4401
|
-
const { store: s } = this.client, i =
|
|
4401
|
+
const { store: s } = this.client, i = $o(e.uuid)(s.getState());
|
|
4402
4402
|
if (!i) throw new Error(`No asset stage with uuid ${e.uuid} found in the store`);
|
|
4403
4403
|
const n = {
|
|
4404
4404
|
...i,
|
|
@@ -4421,7 +4421,7 @@ class tg extends O {
|
|
|
4421
4421
|
return a.then((c) => {
|
|
4422
4422
|
this.dispatch(Vs(c));
|
|
4423
4423
|
}).catch(() => {
|
|
4424
|
-
this.dispatch(
|
|
4424
|
+
this.dispatch(Vo(i));
|
|
4425
4425
|
}), [n, a];
|
|
4426
4426
|
}
|
|
4427
4427
|
async refreshStore(e) {
|
|
@@ -4435,7 +4435,7 @@ class tg extends O {
|
|
|
4435
4435
|
blockers: [],
|
|
4436
4436
|
blocks: []
|
|
4437
4437
|
});
|
|
4438
|
-
this.dispatch(
|
|
4438
|
+
this.dispatch(zo(s));
|
|
4439
4439
|
}
|
|
4440
4440
|
}
|
|
4441
4441
|
class sg extends Te {
|
|
@@ -4444,11 +4444,11 @@ class sg extends Te {
|
|
|
4444
4444
|
A(this, "name", "Asset Type Attachment");
|
|
4445
4445
|
A(this, "url", "/asset-type-attachments");
|
|
4446
4446
|
A(this, "addAttachments", Zn);
|
|
4447
|
-
A(this, "updateAttachments",
|
|
4447
|
+
A(this, "updateAttachments", No);
|
|
4448
4448
|
A(this, "removeAttachments", ea);
|
|
4449
|
-
A(this, "removeAttachment",
|
|
4450
|
-
A(this, "setAttachment",
|
|
4451
|
-
A(this, "selectAttachment",
|
|
4449
|
+
A(this, "removeAttachment", Ho);
|
|
4450
|
+
A(this, "setAttachment", Lo);
|
|
4451
|
+
A(this, "selectAttachment", Yo);
|
|
4452
4452
|
}
|
|
4453
4453
|
buildOfflineAttachment(s) {
|
|
4454
4454
|
return _({
|
|
@@ -4485,7 +4485,7 @@ class sg extends Te {
|
|
|
4485
4485
|
blocks: [],
|
|
4486
4486
|
blockers: []
|
|
4487
4487
|
});
|
|
4488
|
-
this.dispatch(
|
|
4488
|
+
this.dispatch(Bo(i));
|
|
4489
4489
|
}
|
|
4490
4490
|
}
|
|
4491
4491
|
class ig extends w {
|
|
@@ -4516,7 +4516,7 @@ class ig extends w {
|
|
|
4516
4516
|
};
|
|
4517
4517
|
c.push(g);
|
|
4518
4518
|
}
|
|
4519
|
-
this.dispatch(
|
|
4519
|
+
this.dispatch(Zo(a));
|
|
4520
4520
|
const o = this.enqueueRequest({
|
|
4521
4521
|
description: "Add asset type fields attachments",
|
|
4522
4522
|
method: u.POST,
|
|
@@ -4530,10 +4530,10 @@ class ig extends w {
|
|
|
4530
4530
|
blocks: a.map((r) => r.uuid)
|
|
4531
4531
|
});
|
|
4532
4532
|
return o.then((r) => {
|
|
4533
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
4533
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(ed(r.attachments));
|
|
4534
4534
|
}).catch(() => {
|
|
4535
4535
|
this.dispatch(
|
|
4536
|
-
|
|
4536
|
+
td(
|
|
4537
4537
|
a.map((r) => r.uuid)
|
|
4538
4538
|
)
|
|
4539
4539
|
);
|
|
@@ -4550,7 +4550,7 @@ class ig extends w {
|
|
|
4550
4550
|
blockers: [e],
|
|
4551
4551
|
blocks: []
|
|
4552
4552
|
});
|
|
4553
|
-
this.dispatch(
|
|
4553
|
+
this.dispatch(Xo(s));
|
|
4554
4554
|
}
|
|
4555
4555
|
}
|
|
4556
4556
|
class ng extends O {
|
|
@@ -4561,7 +4561,7 @@ class ng extends O {
|
|
|
4561
4561
|
created_by: i,
|
|
4562
4562
|
submitted_at: n
|
|
4563
4563
|
});
|
|
4564
|
-
this.dispatch(
|
|
4564
|
+
this.dispatch(cd(a));
|
|
4565
4565
|
const c = this.enqueueRequest({
|
|
4566
4566
|
description: "Add Asset Type Fields",
|
|
4567
4567
|
method: u.POST,
|
|
@@ -4571,9 +4571,9 @@ class ng extends O {
|
|
|
4571
4571
|
blocks: [a.uuid]
|
|
4572
4572
|
});
|
|
4573
4573
|
return c.then((l) => {
|
|
4574
|
-
this.dispatch(
|
|
4574
|
+
this.dispatch(rd(l));
|
|
4575
4575
|
}).catch((l) => {
|
|
4576
|
-
throw this.dispatch(
|
|
4576
|
+
throw this.dispatch(od(a.uuid)), l;
|
|
4577
4577
|
}), [a, c];
|
|
4578
4578
|
}
|
|
4579
4579
|
async refreshStore(e) {
|
|
@@ -4587,7 +4587,7 @@ class ng extends O {
|
|
|
4587
4587
|
blockers: [],
|
|
4588
4588
|
blocks: []
|
|
4589
4589
|
});
|
|
4590
|
-
this.dispatch(
|
|
4590
|
+
this.dispatch(ad(s));
|
|
4591
4591
|
}
|
|
4592
4592
|
}
|
|
4593
4593
|
class ag extends w {
|
|
@@ -4638,7 +4638,7 @@ class ag extends w {
|
|
|
4638
4638
|
return Promise.all(l).then((d) => {
|
|
4639
4639
|
for (const p of d) this.processPresignedUrls(p.presigned_urls);
|
|
4640
4640
|
const h = d.flatMap((p) => p.attachments);
|
|
4641
|
-
this.dispatch(
|
|
4641
|
+
this.dispatch(hd(h));
|
|
4642
4642
|
}).catch((d) => {
|
|
4643
4643
|
throw this.dispatch(
|
|
4644
4644
|
It(
|
|
@@ -4651,7 +4651,7 @@ class ag extends w {
|
|
|
4651
4651
|
];
|
|
4652
4652
|
}
|
|
4653
4653
|
async bulkDelete(e) {
|
|
4654
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4654
|
+
const { store: s } = this.client, i = s.getState(), n = md(e)(i);
|
|
4655
4655
|
this.dispatch(It(e));
|
|
4656
4656
|
try {
|
|
4657
4657
|
await this.enqueueRequest({
|
|
@@ -4677,7 +4677,7 @@ class ag extends w {
|
|
|
4677
4677
|
blockers: [],
|
|
4678
4678
|
blocks: []
|
|
4679
4679
|
});
|
|
4680
|
-
this.dispatch(
|
|
4680
|
+
this.dispatch(ld(s));
|
|
4681
4681
|
}
|
|
4682
4682
|
}
|
|
4683
4683
|
class cg extends O {
|
|
@@ -4725,7 +4725,7 @@ class cg extends O {
|
|
|
4725
4725
|
field_values: d
|
|
4726
4726
|
});
|
|
4727
4727
|
}
|
|
4728
|
-
this.dispatch(
|
|
4728
|
+
this.dispatch(bd(n));
|
|
4729
4729
|
const o = [];
|
|
4730
4730
|
for (const r of c) {
|
|
4731
4731
|
const d = r.field_values.map((S) => S.asset), h = r.field_values.map((S) => S.fields_revision), p = r.field_values.map((S) => S.uuid), f = this.enqueueRequest({
|
|
@@ -4739,9 +4739,9 @@ class cg extends O {
|
|
|
4739
4739
|
o.push(f);
|
|
4740
4740
|
}
|
|
4741
4741
|
return Promise.all(o).then((r) => {
|
|
4742
|
-
this.dispatch(
|
|
4742
|
+
this.dispatch(Sd(r.flat()));
|
|
4743
4743
|
}).catch(() => {
|
|
4744
|
-
this.dispatch(
|
|
4744
|
+
this.dispatch(gd(n.map((r) => r.uuid)));
|
|
4745
4745
|
}), [n, o];
|
|
4746
4746
|
}
|
|
4747
4747
|
update(e) {
|
|
@@ -4775,7 +4775,7 @@ class cg extends O {
|
|
|
4775
4775
|
const { store: s } = this.client, i = s.getState(), n = Ys(e)(i);
|
|
4776
4776
|
if (!n)
|
|
4777
4777
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
4778
|
-
const a =
|
|
4778
|
+
const a = fd(e)(i);
|
|
4779
4779
|
this.dispatch(Ks(e)), this.dispatch(It(a.map((c) => c.uuid)));
|
|
4780
4780
|
try {
|
|
4781
4781
|
await this.enqueueRequest({
|
|
@@ -4800,7 +4800,7 @@ class cg extends O {
|
|
|
4800
4800
|
blockers: [],
|
|
4801
4801
|
blocks: []
|
|
4802
4802
|
});
|
|
4803
|
-
this.dispatch(
|
|
4803
|
+
this.dispatch(yd(s));
|
|
4804
4804
|
}
|
|
4805
4805
|
}
|
|
4806
4806
|
class rg extends O {
|
|
@@ -4858,7 +4858,7 @@ class rg extends O {
|
|
|
4858
4858
|
const { store: s } = this.client, i = s.getState(), n = Zs(e)(i);
|
|
4859
4859
|
if (!n)
|
|
4860
4860
|
throw new Error(`Expected asset type with uuid ${e} to exist`);
|
|
4861
|
-
const a = Kn(e)(i), c =
|
|
4861
|
+
const a = Kn(e)(i), c = Jo(e)(i);
|
|
4862
4862
|
return this.dispatch(Xs(e)), this.dispatch(Hn(a.map((o) => o.uuid))), this.dispatch(ea(c.map(({ uuid: o }) => o))), this.enqueueRequest({
|
|
4863
4863
|
description: "Delete asset type",
|
|
4864
4864
|
method: u.DELETE,
|
|
@@ -4880,7 +4880,7 @@ class rg extends O {
|
|
|
4880
4880
|
blockers: [],
|
|
4881
4881
|
blocks: []
|
|
4882
4882
|
});
|
|
4883
|
-
this.dispatch(
|
|
4883
|
+
this.dispatch(_d(s));
|
|
4884
4884
|
}
|
|
4885
4885
|
}
|
|
4886
4886
|
class og extends O {
|
|
@@ -4907,7 +4907,7 @@ class og extends O {
|
|
|
4907
4907
|
if (!i)
|
|
4908
4908
|
throw new Error(`Expected an existing category with uuid ${e.uuid}`);
|
|
4909
4909
|
const n = { ...i, ...e };
|
|
4910
|
-
this.dispatch(
|
|
4910
|
+
this.dispatch(vd(n));
|
|
4911
4911
|
const a = this.enqueueRequest({
|
|
4912
4912
|
description: "Edit Category",
|
|
4913
4913
|
method: u.PATCH,
|
|
@@ -4922,7 +4922,7 @@ class og extends O {
|
|
|
4922
4922
|
const { store: s } = this.client, i = ii(e)(s.getState());
|
|
4923
4923
|
if (!i)
|
|
4924
4924
|
throw new Error(`No category with uuid ${e} found in the store`);
|
|
4925
|
-
this.dispatch(
|
|
4925
|
+
this.dispatch(wd(e));
|
|
4926
4926
|
const n = this.enqueueRequest({
|
|
4927
4927
|
description: "Delete Category",
|
|
4928
4928
|
method: u.DELETE,
|
|
@@ -4945,7 +4945,7 @@ class og extends O {
|
|
|
4945
4945
|
blocks: [],
|
|
4946
4946
|
blockers: []
|
|
4947
4947
|
});
|
|
4948
|
-
this.dispatch(
|
|
4948
|
+
this.dispatch(Id(s));
|
|
4949
4949
|
}
|
|
4950
4950
|
}
|
|
4951
4951
|
class dg extends Te {
|
|
@@ -4953,12 +4953,12 @@ class dg extends Te {
|
|
|
4953
4953
|
super(...arguments);
|
|
4954
4954
|
A(this, "name", "Document Attachment");
|
|
4955
4955
|
A(this, "url", "/document-attachments");
|
|
4956
|
-
A(this, "addAttachments",
|
|
4957
|
-
A(this, "updateAttachments",
|
|
4958
|
-
A(this, "removeAttachments",
|
|
4959
|
-
A(this, "removeAttachment",
|
|
4960
|
-
A(this, "setAttachment",
|
|
4961
|
-
A(this, "selectAttachment",
|
|
4956
|
+
A(this, "addAttachments", qd);
|
|
4957
|
+
A(this, "updateAttachments", Md);
|
|
4958
|
+
A(this, "removeAttachments", Cd);
|
|
4959
|
+
A(this, "removeAttachment", Dd);
|
|
4960
|
+
A(this, "setAttachment", jd);
|
|
4961
|
+
A(this, "selectAttachment", Vd);
|
|
4962
4962
|
}
|
|
4963
4963
|
buildOfflineAttachment(s) {
|
|
4964
4964
|
return _({
|
|
@@ -5052,7 +5052,7 @@ class dg extends Te {
|
|
|
5052
5052
|
blocks: [],
|
|
5053
5053
|
blockers: []
|
|
5054
5054
|
});
|
|
5055
|
-
this.dispatch(
|
|
5055
|
+
this.dispatch(kd(n));
|
|
5056
5056
|
const a = await this.enqueueRequest({
|
|
5057
5057
|
description: "Get document attachments",
|
|
5058
5058
|
method: u.GET,
|
|
@@ -5071,7 +5071,7 @@ class ug extends O {
|
|
|
5071
5071
|
created_by: i,
|
|
5072
5072
|
submitted_at: n
|
|
5073
5073
|
});
|
|
5074
|
-
this.dispatch(
|
|
5074
|
+
this.dispatch(Gd([a]));
|
|
5075
5075
|
const c = this.enqueueRequest({
|
|
5076
5076
|
description: "Create Document",
|
|
5077
5077
|
method: u.POST,
|
|
@@ -5125,7 +5125,7 @@ class ug extends O {
|
|
|
5125
5125
|
);
|
|
5126
5126
|
c.push(r), r.parent_document && c.push(a[r.parent_document]);
|
|
5127
5127
|
}
|
|
5128
|
-
this.dispatch(
|
|
5128
|
+
this.dispatch(Bd({ documentId: e, targetDocumentId: s, position: i }));
|
|
5129
5129
|
const l = this.enqueueRequest({
|
|
5130
5130
|
description: "Move Document",
|
|
5131
5131
|
method: u.PATCH,
|
|
@@ -5144,7 +5144,7 @@ class ug extends O {
|
|
|
5144
5144
|
}), l;
|
|
5145
5145
|
}
|
|
5146
5146
|
delete(e) {
|
|
5147
|
-
const { store: s } = this.client, i = Ne(s.getState()), n =
|
|
5147
|
+
const { store: s } = this.client, i = Ne(s.getState()), n = Nd(e)(s.getState());
|
|
5148
5148
|
if (!n)
|
|
5149
5149
|
throw new Error(`attempting to delete a document with uuid ${e} that does not exist in store.documents`);
|
|
5150
5150
|
const a = n.parent_document ? i[n.parent_document] : void 0;
|
|
@@ -5176,7 +5176,7 @@ class ug extends O {
|
|
|
5176
5176
|
blockers: [],
|
|
5177
5177
|
blocks: []
|
|
5178
5178
|
});
|
|
5179
|
-
this.dispatch(
|
|
5179
|
+
this.dispatch($d([...await i, ...await n]));
|
|
5180
5180
|
}
|
|
5181
5181
|
}
|
|
5182
5182
|
class lg extends O {
|
|
@@ -5191,14 +5191,14 @@ class lg extends O {
|
|
|
5191
5191
|
});
|
|
5192
5192
|
}
|
|
5193
5193
|
async remove(e) {
|
|
5194
|
-
return this.dispatch(
|
|
5194
|
+
return this.dispatch(Jd(e.uuid)), this.enqueueRequest({
|
|
5195
5195
|
description: "Remove email domain from organization",
|
|
5196
5196
|
method: u.DELETE,
|
|
5197
5197
|
url: `/organization-email-domains/${e.uuid}/`,
|
|
5198
5198
|
blockers: [e.domain],
|
|
5199
5199
|
blocks: []
|
|
5200
5200
|
}).catch((s) => {
|
|
5201
|
-
throw this.dispatch(
|
|
5201
|
+
throw this.dispatch(Yd(e)), s;
|
|
5202
5202
|
});
|
|
5203
5203
|
}
|
|
5204
5204
|
async refreshStore(e) {
|
|
@@ -5212,7 +5212,7 @@ class lg extends O {
|
|
|
5212
5212
|
blockers: [e],
|
|
5213
5213
|
blocks: []
|
|
5214
5214
|
});
|
|
5215
|
-
this.dispatch(
|
|
5215
|
+
this.dispatch(Kd(s));
|
|
5216
5216
|
}
|
|
5217
5217
|
}
|
|
5218
5218
|
class hg extends O {
|
|
@@ -5247,7 +5247,7 @@ class pg extends O {
|
|
|
5247
5247
|
A(this, "host");
|
|
5248
5248
|
// NOTE: If you alter the schema (of the IndexedDB database) in any way, you must increment the version in order to
|
|
5249
5249
|
// migrate the store. This allows idb to automatically migrate the user's existing data to the new schema.
|
|
5250
|
-
A(this, "_dbPromise",
|
|
5250
|
+
A(this, "_dbPromise", kc("fileCache", 1, {
|
|
5251
5251
|
upgrade(s) {
|
|
5252
5252
|
s.createObjectStore("files");
|
|
5253
5253
|
}
|
|
@@ -5269,7 +5269,7 @@ class pg extends O {
|
|
|
5269
5269
|
blockers: [],
|
|
5270
5270
|
blocks: [`s3-${n}`]
|
|
5271
5271
|
});
|
|
5272
|
-
return "url" in a && this.dispatch(
|
|
5272
|
+
return "url" in a && this.dispatch(tu({ sha1: s, ...a })), a;
|
|
5273
5273
|
}
|
|
5274
5274
|
/**
|
|
5275
5275
|
* Adds a file to the cache using the sha1 hash as the key and returns the sha1 hash.
|
|
@@ -5299,7 +5299,7 @@ class pg extends O {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
async getOrRenewUploadUrl(s) {
|
|
5301
5301
|
const i = this.client.store.getState();
|
|
5302
|
-
return
|
|
5302
|
+
return su(s)(i) ?? await this.renewUploadUrl(s);
|
|
5303
5303
|
}
|
|
5304
5304
|
/** Ensure the file has been added to the file cache before calling `uploadFileToS3()` */
|
|
5305
5305
|
async uploadFileToS3(s) {
|
|
@@ -5346,7 +5346,7 @@ class pg extends O {
|
|
|
5346
5346
|
return c;
|
|
5347
5347
|
}
|
|
5348
5348
|
if (s.startsWith("blob:")) {
|
|
5349
|
-
const d = await
|
|
5349
|
+
const d = await Yc(s), h = new File([d], n ?? i, { type: d.type });
|
|
5350
5350
|
return await this.addCache(h, i), h;
|
|
5351
5351
|
}
|
|
5352
5352
|
let o = at[a], l = !0;
|
|
@@ -5389,7 +5389,7 @@ class pg extends O {
|
|
|
5389
5389
|
if (!h)
|
|
5390
5390
|
throw new Error("File has no extension");
|
|
5391
5391
|
const p = n ?? d + "." + h;
|
|
5392
|
-
if (r =
|
|
5392
|
+
if (r = Kc(r, p), !r.name)
|
|
5393
5393
|
throw new Error("Failed to set file's name");
|
|
5394
5394
|
await this.addCache(r, d), at[a] = new Promise((f) => {
|
|
5395
5395
|
f(r);
|
|
@@ -5426,7 +5426,7 @@ class mg extends w {
|
|
|
5426
5426
|
};
|
|
5427
5427
|
c.push(g);
|
|
5428
5428
|
}
|
|
5429
|
-
this.dispatch(
|
|
5429
|
+
this.dispatch(au(a));
|
|
5430
5430
|
const o = this.enqueueRequest({
|
|
5431
5431
|
description: "Attach files to form revision",
|
|
5432
5432
|
method: u.POST,
|
|
@@ -5440,10 +5440,10 @@ class mg extends w {
|
|
|
5440
5440
|
blocks: a.map((r) => r.uuid)
|
|
5441
5441
|
});
|
|
5442
5442
|
return o.then((r) => {
|
|
5443
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
5443
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(cu(r.attachments));
|
|
5444
5444
|
}).catch(() => {
|
|
5445
5445
|
this.dispatch(
|
|
5446
|
-
|
|
5446
|
+
ru(a.map((r) => r.uuid))
|
|
5447
5447
|
);
|
|
5448
5448
|
}), [a, o.then(({ attachments: r }) => r)];
|
|
5449
5449
|
}
|
|
@@ -5458,7 +5458,7 @@ class mg extends w {
|
|
|
5458
5458
|
blockers: [e],
|
|
5459
5459
|
blocks: []
|
|
5460
5460
|
});
|
|
5461
|
-
this.dispatch(
|
|
5461
|
+
this.dispatch(nu(s));
|
|
5462
5462
|
}
|
|
5463
5463
|
}
|
|
5464
5464
|
class fg extends w {
|
|
@@ -5479,7 +5479,7 @@ class fg extends w {
|
|
|
5479
5479
|
blocks: [a.uuid]
|
|
5480
5480
|
});
|
|
5481
5481
|
return c.then((l) => {
|
|
5482
|
-
this.dispatch(
|
|
5482
|
+
this.dispatch(lu(l));
|
|
5483
5483
|
}).catch(() => {
|
|
5484
5484
|
this.dispatch(Sa(a.uuid));
|
|
5485
5485
|
}), [a, c];
|
|
@@ -5495,7 +5495,7 @@ class fg extends w {
|
|
|
5495
5495
|
blockers: [e],
|
|
5496
5496
|
blocks: []
|
|
5497
5497
|
});
|
|
5498
|
-
this.dispatch(
|
|
5498
|
+
this.dispatch(hu(s));
|
|
5499
5499
|
}
|
|
5500
5500
|
}
|
|
5501
5501
|
class Ag extends w {
|
|
@@ -5534,13 +5534,13 @@ class Ag extends w {
|
|
|
5534
5534
|
}), [c, o, l];
|
|
5535
5535
|
}
|
|
5536
5536
|
async delete(e) {
|
|
5537
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5537
|
+
const { store: s } = this.client, i = s.getState(), n = Pu(e)(i);
|
|
5538
5538
|
if (!n)
|
|
5539
5539
|
throw new Error("Expected form to exist");
|
|
5540
|
-
const a =
|
|
5540
|
+
const a = wu(e)(i);
|
|
5541
5541
|
a.length > 0 && this.dispatch(Ut(a.map(({ uuid: o }) => o)));
|
|
5542
|
-
const c =
|
|
5543
|
-
c.length > 0 && this.dispatch(
|
|
5542
|
+
const c = Au(e)(i);
|
|
5543
|
+
c.length > 0 && this.dispatch(mu(c.map(({ uuid: o }) => o))), this.dispatch(hi(e));
|
|
5544
5544
|
try {
|
|
5545
5545
|
return await this.enqueueRequest({
|
|
5546
5546
|
description: "Delete form",
|
|
@@ -5550,7 +5550,7 @@ class Ag extends w {
|
|
|
5550
5550
|
blocks: []
|
|
5551
5551
|
});
|
|
5552
5552
|
} catch (o) {
|
|
5553
|
-
throw this.dispatch(li(n)), c.length > 0 && this.dispatch(
|
|
5553
|
+
throw this.dispatch(li(n)), c.length > 0 && this.dispatch(pu(c)), a.length > 0 && this.dispatch(Vt(a)), o;
|
|
5554
5554
|
}
|
|
5555
5555
|
}
|
|
5556
5556
|
async refreshStore(e) {
|
|
@@ -5564,7 +5564,7 @@ class Ag extends w {
|
|
|
5564
5564
|
blockers: [e],
|
|
5565
5565
|
blocks: []
|
|
5566
5566
|
});
|
|
5567
|
-
this.dispatch(
|
|
5567
|
+
this.dispatch(bu(s));
|
|
5568
5568
|
}
|
|
5569
5569
|
}
|
|
5570
5570
|
class yg extends w {
|
|
@@ -5609,7 +5609,7 @@ class yg extends w {
|
|
|
5609
5609
|
blocks: a.map((r) => r.uuid)
|
|
5610
5610
|
});
|
|
5611
5611
|
return o.then((r) => {
|
|
5612
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
5612
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(_u(r.attachments));
|
|
5613
5613
|
}).catch((r) => {
|
|
5614
5614
|
throw this.dispatch(
|
|
5615
5615
|
wt(
|
|
@@ -5619,7 +5619,7 @@ class yg extends w {
|
|
|
5619
5619
|
}), [a, o.then(({ attachments: r }) => r)];
|
|
5620
5620
|
}
|
|
5621
5621
|
async bulkDelete(e) {
|
|
5622
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5622
|
+
const { store: s } = this.client, i = s.getState(), n = Ru(e)(i);
|
|
5623
5623
|
this.dispatch(wt(e));
|
|
5624
5624
|
try {
|
|
5625
5625
|
await this.enqueueRequest({
|
|
@@ -5645,7 +5645,7 @@ class yg extends w {
|
|
|
5645
5645
|
blockers: [],
|
|
5646
5646
|
blocks: []
|
|
5647
5647
|
});
|
|
5648
|
-
this.dispatch(
|
|
5648
|
+
this.dispatch(Tu(s));
|
|
5649
5649
|
}
|
|
5650
5650
|
}
|
|
5651
5651
|
class bg extends w {
|
|
@@ -5680,7 +5680,7 @@ class bg extends w {
|
|
|
5680
5680
|
...n,
|
|
5681
5681
|
...e
|
|
5682
5682
|
};
|
|
5683
|
-
this.dispatch(
|
|
5683
|
+
this.dispatch(vu(a));
|
|
5684
5684
|
const c = this.enqueueRequest({
|
|
5685
5685
|
description: "Delete user form submissions",
|
|
5686
5686
|
method: u.PATCH,
|
|
@@ -5699,7 +5699,7 @@ class bg extends w {
|
|
|
5699
5699
|
const { store: s } = this.client, i = s.getState(), n = yi(e)(i);
|
|
5700
5700
|
if (!n)
|
|
5701
5701
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
5702
|
-
const a =
|
|
5702
|
+
const a = Fu(e)(i);
|
|
5703
5703
|
this.dispatch(Ai(e)), this.dispatch(wt(a.map((c) => c.uuid)));
|
|
5704
5704
|
try {
|
|
5705
5705
|
return await this.enqueueRequest({
|
|
@@ -5724,7 +5724,7 @@ class bg extends w {
|
|
|
5724
5724
|
blockers: [],
|
|
5725
5725
|
blocks: []
|
|
5726
5726
|
});
|
|
5727
|
-
this.dispatch(
|
|
5727
|
+
this.dispatch(Iu(s));
|
|
5728
5728
|
}
|
|
5729
5729
|
}
|
|
5730
5730
|
class Sg extends w {
|
|
@@ -5738,7 +5738,7 @@ class Sg extends w {
|
|
|
5738
5738
|
submitted_at: a,
|
|
5739
5739
|
created_by: c
|
|
5740
5740
|
});
|
|
5741
|
-
this.dispatch(
|
|
5741
|
+
this.dispatch(Du(r));
|
|
5742
5742
|
const d = this.enqueueRequest({
|
|
5743
5743
|
description: "Add geo image",
|
|
5744
5744
|
method: u.POST,
|
|
@@ -5793,7 +5793,7 @@ class Sg extends w {
|
|
|
5793
5793
|
original_date: R.original_date
|
|
5794
5794
|
});
|
|
5795
5795
|
}
|
|
5796
|
-
this.dispatch(
|
|
5796
|
+
this.dispatch(Cu(c));
|
|
5797
5797
|
const d = this.enqueueRequest({
|
|
5798
5798
|
description: "Bulk add geo images",
|
|
5799
5799
|
method: u.POST,
|
|
@@ -5808,9 +5808,9 @@ class Sg extends w {
|
|
|
5808
5808
|
blockers: o
|
|
5809
5809
|
});
|
|
5810
5810
|
return d.then((p) => {
|
|
5811
|
-
this.processPresignedUrls(p.presigned_urls), this.dispatch(
|
|
5811
|
+
this.processPresignedUrls(p.presigned_urls), this.dispatch(Mu(p.geo_images));
|
|
5812
5812
|
}).catch(() => {
|
|
5813
|
-
this.dispatch(
|
|
5813
|
+
this.dispatch(zu(o));
|
|
5814
5814
|
}), [c, d.then((p) => p.geo_images)];
|
|
5815
5815
|
}
|
|
5816
5816
|
update(e) {
|
|
@@ -5818,7 +5818,7 @@ class Sg extends w {
|
|
|
5818
5818
|
if (!n)
|
|
5819
5819
|
throw new Error(`Map image with uuid ${e.uuid} does not exist in the store`);
|
|
5820
5820
|
const a = { ...n, ...e };
|
|
5821
|
-
this.dispatch(
|
|
5821
|
+
this.dispatch(xu(a));
|
|
5822
5822
|
const c = this.enqueueRequest({
|
|
5823
5823
|
description: "Update geo image",
|
|
5824
5824
|
method: u.PATCH,
|
|
@@ -5860,7 +5860,7 @@ class Sg extends w {
|
|
|
5860
5860
|
blocks: [e],
|
|
5861
5861
|
blockers: []
|
|
5862
5862
|
});
|
|
5863
|
-
this.dispatch(
|
|
5863
|
+
this.dispatch(ju(s));
|
|
5864
5864
|
}
|
|
5865
5865
|
}
|
|
5866
5866
|
class gg extends O {
|
|
@@ -5885,13 +5885,13 @@ class gg extends O {
|
|
|
5885
5885
|
blocks: [a.uuid]
|
|
5886
5886
|
});
|
|
5887
5887
|
return c.then((l) => {
|
|
5888
|
-
this.dispatch(
|
|
5888
|
+
this.dispatch(Bu(l));
|
|
5889
5889
|
}).catch(() => {
|
|
5890
5890
|
this.dispatch(_i(a.uuid));
|
|
5891
5891
|
}), [a, c];
|
|
5892
5892
|
}
|
|
5893
5893
|
async delete(e) {
|
|
5894
|
-
const { store: s } = this.client, i =
|
|
5894
|
+
const { store: s } = this.client, i = Lu(e)(s.getState());
|
|
5895
5895
|
if (!i)
|
|
5896
5896
|
throw new Error(`Issue association with uuid ${e} not found in store.`);
|
|
5897
5897
|
this.dispatch(_i(e));
|
|
@@ -5915,7 +5915,7 @@ class gg extends O {
|
|
|
5915
5915
|
blockers: [],
|
|
5916
5916
|
blocks: []
|
|
5917
5917
|
});
|
|
5918
|
-
this.dispatch(
|
|
5918
|
+
this.dispatch(Gu(s));
|
|
5919
5919
|
}
|
|
5920
5920
|
}
|
|
5921
5921
|
class Pg extends Te {
|
|
@@ -5925,11 +5925,11 @@ class Pg extends Te {
|
|
|
5925
5925
|
A(this, "url", "/issue-attachments");
|
|
5926
5926
|
A(this, "initializeAttachments", Fi);
|
|
5927
5927
|
A(this, "addAttachments", ka);
|
|
5928
|
-
A(this, "updateAttachments",
|
|
5928
|
+
A(this, "updateAttachments", Ju);
|
|
5929
5929
|
A(this, "removeAttachments", qa);
|
|
5930
|
-
A(this, "removeAttachment",
|
|
5931
|
-
A(this, "setAttachment",
|
|
5932
|
-
A(this, "selectAttachment",
|
|
5930
|
+
A(this, "removeAttachment", Qu);
|
|
5931
|
+
A(this, "setAttachment", Yu);
|
|
5932
|
+
A(this, "selectAttachment", tl);
|
|
5933
5933
|
}
|
|
5934
5934
|
buildOfflineAttachment(s) {
|
|
5935
5935
|
return _({
|
|
@@ -5975,12 +5975,12 @@ class Tg extends Te {
|
|
|
5975
5975
|
A(this, "name", "Issue Comment Attachment");
|
|
5976
5976
|
A(this, "url", "/issue-comment-attachments");
|
|
5977
5977
|
A(this, "initializeAttachments", Ii);
|
|
5978
|
-
A(this, "addAttachments",
|
|
5979
|
-
A(this, "updateAttachments",
|
|
5980
|
-
A(this, "removeAttachments",
|
|
5981
|
-
A(this, "removeAttachment",
|
|
5982
|
-
A(this, "setAttachment",
|
|
5983
|
-
A(this, "selectAttachment",
|
|
5978
|
+
A(this, "addAttachments", il);
|
|
5979
|
+
A(this, "updateAttachments", al);
|
|
5980
|
+
A(this, "removeAttachments", rl);
|
|
5981
|
+
A(this, "removeAttachment", cl);
|
|
5982
|
+
A(this, "setAttachment", nl);
|
|
5983
|
+
A(this, "selectAttachment", ul);
|
|
5984
5984
|
}
|
|
5985
5985
|
buildOfflineAttachment(s) {
|
|
5986
5986
|
return _({
|
|
@@ -6089,7 +6089,7 @@ class _g extends O {
|
|
|
6089
6089
|
blockers: [],
|
|
6090
6090
|
blocks: []
|
|
6091
6091
|
});
|
|
6092
|
-
this.dispatch(
|
|
6092
|
+
this.dispatch(hl(s));
|
|
6093
6093
|
}
|
|
6094
6094
|
}
|
|
6095
6095
|
class Rg extends O {
|
|
@@ -6184,7 +6184,7 @@ class Rg extends O {
|
|
|
6184
6184
|
issue: i.uuid,
|
|
6185
6185
|
changes: a
|
|
6186
6186
|
});
|
|
6187
|
-
this.dispatch(
|
|
6187
|
+
this.dispatch(nh(c));
|
|
6188
6188
|
const o = this.enqueueRequest({
|
|
6189
6189
|
description: "Edit issue",
|
|
6190
6190
|
method: u.PATCH,
|
|
@@ -6194,20 +6194,20 @@ class Rg extends O {
|
|
|
6194
6194
|
blocks: [e.uuid]
|
|
6195
6195
|
});
|
|
6196
6196
|
return o.catch(() => {
|
|
6197
|
-
this.dispatch(ft(i)), this.dispatch(
|
|
6197
|
+
this.dispatch(ft(i)), this.dispatch(ch(c.uuid));
|
|
6198
6198
|
}), [n, o];
|
|
6199
6199
|
}
|
|
6200
6200
|
async remove(e) {
|
|
6201
6201
|
const { store: s } = this.client, i = s.getState(), n = Ci(e)(i);
|
|
6202
6202
|
if (!n)
|
|
6203
6203
|
throw new Error(`No issue with uuid ${e} found in the store`);
|
|
6204
|
-
const a =
|
|
6205
|
-
for (const d of Lu(e)(i))
|
|
6206
|
-
l[d.uuid] = d;
|
|
6204
|
+
const a = el(e)(i), c = dh(e)(i), o = Eu(e)(i), l = {};
|
|
6207
6205
|
for (const d of Nu(e)(i))
|
|
6208
6206
|
l[d.uuid] = d;
|
|
6207
|
+
for (const d of Hu(e)(i))
|
|
6208
|
+
l[d.uuid] = d;
|
|
6209
6209
|
const r = Object.values(l);
|
|
6210
|
-
this.dispatch(Di(e)), a.length > 0 && this.dispatch(qa(a.map(({ uuid: d }) => d))), c.length > 0 && this.dispatch(
|
|
6210
|
+
this.dispatch(Di(e)), a.length > 0 && this.dispatch(qa(a.map(({ uuid: d }) => d))), c.length > 0 && this.dispatch(rh(c.map(({ uuid: d }) => d))), o.length > 0 && this.dispatch(Ut(o.map(({ uuid: d }) => d))), r.length > 0 && this.dispatch(wa(r.map(({ uuid: d }) => d)));
|
|
6211
6211
|
try {
|
|
6212
6212
|
return await this.enqueueRequest({
|
|
6213
6213
|
description: "Delete issue",
|
|
@@ -6217,7 +6217,7 @@ class Rg extends O {
|
|
|
6217
6217
|
blocks: []
|
|
6218
6218
|
});
|
|
6219
6219
|
} catch (d) {
|
|
6220
|
-
throw this.dispatch(Mi(n)), this.dispatch(ka(a)), this.dispatch(
|
|
6220
|
+
throw this.dispatch(Mi(n)), this.dispatch(ka(a)), this.dispatch(ah(c)), this.dispatch(Vt(o)), this.dispatch(va(r)), d;
|
|
6221
6221
|
}
|
|
6222
6222
|
}
|
|
6223
6223
|
async refreshStore(e) {
|
|
@@ -6231,7 +6231,7 @@ class Rg extends O {
|
|
|
6231
6231
|
blockers: [],
|
|
6232
6232
|
blocks: []
|
|
6233
6233
|
});
|
|
6234
|
-
this.dispatch(
|
|
6234
|
+
this.dispatch(fl(s));
|
|
6235
6235
|
}
|
|
6236
6236
|
}
|
|
6237
6237
|
class Fg extends Te {
|
|
@@ -6240,12 +6240,12 @@ class Fg extends Te {
|
|
|
6240
6240
|
A(this, "name", "Issue Type Attachment");
|
|
6241
6241
|
A(this, "url", "/issue-type-attachments");
|
|
6242
6242
|
A(this, "initializeAttachments", zi);
|
|
6243
|
-
A(this, "addAttachments",
|
|
6244
|
-
A(this, "updateAttachments",
|
|
6245
|
-
A(this, "removeAttachments",
|
|
6246
|
-
A(this, "removeAttachment",
|
|
6247
|
-
A(this, "setAttachment",
|
|
6248
|
-
A(this, "selectAttachment",
|
|
6243
|
+
A(this, "addAttachments", gl);
|
|
6244
|
+
A(this, "updateAttachments", Tl);
|
|
6245
|
+
A(this, "removeAttachments", Rl);
|
|
6246
|
+
A(this, "removeAttachment", _l);
|
|
6247
|
+
A(this, "setAttachment", Pl);
|
|
6248
|
+
A(this, "selectAttachment", Il);
|
|
6249
6249
|
}
|
|
6250
6250
|
buildOfflineAttachment(s) {
|
|
6251
6251
|
return _({
|
|
@@ -6313,7 +6313,7 @@ class Og extends w {
|
|
|
6313
6313
|
};
|
|
6314
6314
|
c.push(g);
|
|
6315
6315
|
}
|
|
6316
|
-
this.dispatch(
|
|
6316
|
+
this.dispatch(El(a));
|
|
6317
6317
|
const o = this.enqueueRequest({
|
|
6318
6318
|
description: "Add issue type fields attachments",
|
|
6319
6319
|
method: u.POST,
|
|
@@ -6327,10 +6327,10 @@ class Og extends w {
|
|
|
6327
6327
|
blocks: a.map((r) => r.uuid)
|
|
6328
6328
|
});
|
|
6329
6329
|
return o.then((r) => {
|
|
6330
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
6330
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(kl(r.attachments));
|
|
6331
6331
|
}).catch(() => {
|
|
6332
6332
|
this.dispatch(
|
|
6333
|
-
|
|
6333
|
+
ql(
|
|
6334
6334
|
a.map((r) => r.uuid)
|
|
6335
6335
|
)
|
|
6336
6336
|
);
|
|
@@ -6347,7 +6347,7 @@ class Og extends w {
|
|
|
6347
6347
|
blockers: [e],
|
|
6348
6348
|
blocks: []
|
|
6349
6349
|
});
|
|
6350
|
-
this.dispatch(
|
|
6350
|
+
this.dispatch(wl(s));
|
|
6351
6351
|
}
|
|
6352
6352
|
}
|
|
6353
6353
|
class Ig extends O {
|
|
@@ -6358,7 +6358,7 @@ class Ig extends O {
|
|
|
6358
6358
|
created_by: i,
|
|
6359
6359
|
submitted_at: n
|
|
6360
6360
|
});
|
|
6361
|
-
this.dispatch(
|
|
6361
|
+
this.dispatch(Ul(a));
|
|
6362
6362
|
const c = this.enqueueRequest({
|
|
6363
6363
|
description: "Add Issue Type Fields",
|
|
6364
6364
|
method: u.POST,
|
|
@@ -6368,9 +6368,9 @@ class Ig extends O {
|
|
|
6368
6368
|
blocks: [a.uuid]
|
|
6369
6369
|
});
|
|
6370
6370
|
return c.then((l) => {
|
|
6371
|
-
this.dispatch(
|
|
6371
|
+
this.dispatch($l(l));
|
|
6372
6372
|
}).catch((l) => {
|
|
6373
|
-
throw this.dispatch(
|
|
6373
|
+
throw this.dispatch(Gl(a.uuid)), l;
|
|
6374
6374
|
}), [a, c];
|
|
6375
6375
|
}
|
|
6376
6376
|
async refreshStore(e) {
|
|
@@ -6384,7 +6384,7 @@ class Ig extends O {
|
|
|
6384
6384
|
blockers: [],
|
|
6385
6385
|
blocks: []
|
|
6386
6386
|
});
|
|
6387
|
-
this.dispatch(
|
|
6387
|
+
this.dispatch(Vl(s));
|
|
6388
6388
|
}
|
|
6389
6389
|
}
|
|
6390
6390
|
class vg extends w {
|
|
@@ -6429,7 +6429,7 @@ class vg extends w {
|
|
|
6429
6429
|
blocks: a.map((r) => r.uuid)
|
|
6430
6430
|
});
|
|
6431
6431
|
return o.then(({ presigned_urls: r, attachments: d }) => {
|
|
6432
|
-
this.processPresignedUrls(r), this.dispatch(
|
|
6432
|
+
this.processPresignedUrls(r), this.dispatch(Hl(d));
|
|
6433
6433
|
}).catch((r) => {
|
|
6434
6434
|
throw this.dispatch(
|
|
6435
6435
|
kt(
|
|
@@ -6439,7 +6439,7 @@ class vg extends w {
|
|
|
6439
6439
|
}), [a, o.then(({ attachments: r }) => r)];
|
|
6440
6440
|
}
|
|
6441
6441
|
async bulkDelete(e) {
|
|
6442
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
6442
|
+
const { store: s } = this.client, i = s.getState(), n = Kl(e)(i);
|
|
6443
6443
|
this.dispatch(kt(e));
|
|
6444
6444
|
try {
|
|
6445
6445
|
await this.enqueueRequest({
|
|
@@ -6465,7 +6465,7 @@ class vg extends w {
|
|
|
6465
6465
|
blockers: [],
|
|
6466
6466
|
blocks: []
|
|
6467
6467
|
});
|
|
6468
|
-
this.dispatch(
|
|
6468
|
+
this.dispatch(Nl(s));
|
|
6469
6469
|
}
|
|
6470
6470
|
}
|
|
6471
6471
|
class wg extends O {
|
|
@@ -6518,7 +6518,7 @@ class wg extends O {
|
|
|
6518
6518
|
const { store: s } = this.client, i = s.getState(), n = Bi(e)(i);
|
|
6519
6519
|
if (!n)
|
|
6520
6520
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
6521
|
-
const a =
|
|
6521
|
+
const a = Yl(e)(i);
|
|
6522
6522
|
this.dispatch(Gi(e)), this.dispatch(kt(a.map((c) => c.uuid)));
|
|
6523
6523
|
try {
|
|
6524
6524
|
await this.enqueueRequest({
|
|
@@ -6543,7 +6543,7 @@ class wg extends O {
|
|
|
6543
6543
|
blockers: [],
|
|
6544
6544
|
blocks: []
|
|
6545
6545
|
});
|
|
6546
|
-
this.dispatch(
|
|
6546
|
+
this.dispatch(Cl(s));
|
|
6547
6547
|
}
|
|
6548
6548
|
}
|
|
6549
6549
|
class Eg extends O {
|
|
@@ -6554,7 +6554,7 @@ class Eg extends O {
|
|
|
6554
6554
|
submitted_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
6555
6555
|
created_by: (c = i.userReducer.currentUser) == null ? void 0 : c.id
|
|
6556
6556
|
});
|
|
6557
|
-
this.dispatch(
|
|
6557
|
+
this.dispatch(Xl(n));
|
|
6558
6558
|
const a = this.enqueueRequest({
|
|
6559
6559
|
method: u.POST,
|
|
6560
6560
|
url: "/issue-types/",
|
|
@@ -6576,7 +6576,7 @@ class Eg extends O {
|
|
|
6576
6576
|
...n,
|
|
6577
6577
|
...e
|
|
6578
6578
|
};
|
|
6579
|
-
this.dispatch(
|
|
6579
|
+
this.dispatch(Zl(a));
|
|
6580
6580
|
const c = this.enqueueRequest({
|
|
6581
6581
|
method: u.PATCH,
|
|
6582
6582
|
url: `/issue-types/${e.uuid}/`,
|
|
@@ -6595,7 +6595,7 @@ class Eg extends O {
|
|
|
6595
6595
|
if (!n)
|
|
6596
6596
|
throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
|
|
6597
6597
|
const a = La(e)(i);
|
|
6598
|
-
this.dispatch(Wi(e)), this.dispatch(
|
|
6598
|
+
this.dispatch(Wi(e)), this.dispatch(yl(a.map((o) => o.uuid)));
|
|
6599
6599
|
const c = this.enqueueRequest({
|
|
6600
6600
|
method: u.DELETE,
|
|
6601
6601
|
url: `/issue-types/${e}/`,
|
|
@@ -6603,7 +6603,7 @@ class Eg extends O {
|
|
|
6603
6603
|
blocks: []
|
|
6604
6604
|
});
|
|
6605
6605
|
return c.catch(() => {
|
|
6606
|
-
this.dispatch(nt(n)), this.dispatch(
|
|
6606
|
+
this.dispatch(nt(n)), this.dispatch(Al(a));
|
|
6607
6607
|
}), c;
|
|
6608
6608
|
}
|
|
6609
6609
|
async refreshStore(e) {
|
|
@@ -6616,7 +6616,7 @@ class Eg extends O {
|
|
|
6616
6616
|
blockers: [],
|
|
6617
6617
|
blocks: []
|
|
6618
6618
|
});
|
|
6619
|
-
this.dispatch(
|
|
6619
|
+
this.dispatch(Ql(s));
|
|
6620
6620
|
}
|
|
6621
6621
|
}
|
|
6622
6622
|
class kg extends O {
|
|
@@ -6631,7 +6631,7 @@ class kg extends O {
|
|
|
6631
6631
|
blockers: [],
|
|
6632
6632
|
blocks: []
|
|
6633
6633
|
});
|
|
6634
|
-
this.dispatch(
|
|
6634
|
+
this.dispatch(ih(s));
|
|
6635
6635
|
}
|
|
6636
6636
|
}
|
|
6637
6637
|
const Np = 1800;
|
|
@@ -6640,7 +6640,7 @@ function Hp(t) {
|
|
|
6640
6640
|
if (!t.refresh) throw new Error("Missing refresh token");
|
|
6641
6641
|
return { accessToken: t.access, refreshToken: t.refresh };
|
|
6642
6642
|
}
|
|
6643
|
-
class qg extends
|
|
6643
|
+
class qg extends Pc {
|
|
6644
6644
|
constructor() {
|
|
6645
6645
|
super(...arguments);
|
|
6646
6646
|
// _getTokenPair and _getRenewedTokens don't need to use enqueueRequest from the BaseApiService because
|
|
@@ -6707,7 +6707,7 @@ class qg extends Bp {
|
|
|
6707
6707
|
const i = Date.now() / 1e3;
|
|
6708
6708
|
let n;
|
|
6709
6709
|
try {
|
|
6710
|
-
n =
|
|
6710
|
+
n = qc(s).exp ?? i;
|
|
6711
6711
|
} catch {
|
|
6712
6712
|
n = i;
|
|
6713
6713
|
}
|
|
@@ -6865,7 +6865,7 @@ class jg extends O {
|
|
|
6865
6865
|
});
|
|
6866
6866
|
for (const c of a)
|
|
6867
6867
|
i[c.uuid] = c;
|
|
6868
|
-
this.dispatch(
|
|
6868
|
+
this.dispatch(lh(Object.values(i)));
|
|
6869
6869
|
}
|
|
6870
6870
|
}
|
|
6871
6871
|
class Mg extends O {
|
|
@@ -6879,11 +6879,11 @@ class Mg extends O {
|
|
|
6879
6879
|
blocks: [e.uuid]
|
|
6880
6880
|
});
|
|
6881
6881
|
return s.then(() => {
|
|
6882
|
-
this.dispatch(
|
|
6882
|
+
this.dispatch(bh(e));
|
|
6883
6883
|
}), s;
|
|
6884
6884
|
}
|
|
6885
6885
|
async remove(e) {
|
|
6886
|
-
return this.dispatch(
|
|
6886
|
+
return this.dispatch(Sh(e.uuid)), this.dispatch(fh(e.user)), this.enqueueRequest({
|
|
6887
6887
|
description: "Remove organization access",
|
|
6888
6888
|
method: u.DELETE,
|
|
6889
6889
|
url: `/organization-accesses/${e.uuid}/`,
|
|
@@ -6902,7 +6902,7 @@ class Mg extends O {
|
|
|
6902
6902
|
blockers: [],
|
|
6903
6903
|
blocks: []
|
|
6904
6904
|
});
|
|
6905
|
-
this.dispatch(
|
|
6905
|
+
this.dispatch(yh(s));
|
|
6906
6906
|
}
|
|
6907
6907
|
}
|
|
6908
6908
|
class Dg extends O {
|
|
@@ -6952,12 +6952,12 @@ class Dg extends O {
|
|
|
6952
6952
|
blockers: [],
|
|
6953
6953
|
blocks: []
|
|
6954
6954
|
});
|
|
6955
|
-
i[a.uuid] = a, this.dispatch(
|
|
6955
|
+
i[a.uuid] = a, this.dispatch(Dh(Object.values(i)));
|
|
6956
6956
|
}
|
|
6957
6957
|
}
|
|
6958
6958
|
class Cg extends O {
|
|
6959
6959
|
async update(e) {
|
|
6960
|
-
return this.dispatch(
|
|
6960
|
+
return this.dispatch(Th(e)), this.enqueueRequest({
|
|
6961
6961
|
description: "Edit project access",
|
|
6962
6962
|
method: u.PATCH,
|
|
6963
6963
|
url: `/project-accesses/${e.uuid}/`,
|
|
@@ -6968,7 +6968,7 @@ class Cg extends O {
|
|
|
6968
6968
|
}
|
|
6969
6969
|
// TODO: Re-add user to project if removal fails
|
|
6970
6970
|
async remove(e) {
|
|
6971
|
-
return this.dispatch(
|
|
6971
|
+
return this.dispatch(_h(e)), this.enqueueRequest({
|
|
6972
6972
|
description: "Delete project access",
|
|
6973
6973
|
method: u.DELETE,
|
|
6974
6974
|
url: `/project-accesses/${e}/`,
|
|
@@ -6995,12 +6995,12 @@ class xg extends Te {
|
|
|
6995
6995
|
super(...arguments);
|
|
6996
6996
|
A(this, "name", "Project Attachment");
|
|
6997
6997
|
A(this, "url", "/project-attachments");
|
|
6998
|
-
A(this, "addAttachments",
|
|
6999
|
-
A(this, "updateAttachments",
|
|
6998
|
+
A(this, "addAttachments", Wh);
|
|
6999
|
+
A(this, "updateAttachments", Jh);
|
|
7000
7000
|
A(this, "removeAttachments", ic);
|
|
7001
|
-
A(this, "removeAttachment",
|
|
7002
|
-
A(this, "setAttachment",
|
|
7003
|
-
A(this, "selectAttachment",
|
|
7001
|
+
A(this, "removeAttachment", Qh);
|
|
7002
|
+
A(this, "setAttachment", Kh);
|
|
7003
|
+
A(this, "selectAttachment", ep);
|
|
7004
7004
|
}
|
|
7005
7005
|
buildOfflineAttachment(s) {
|
|
7006
7006
|
return _({
|
|
@@ -7037,7 +7037,7 @@ class xg extends Te {
|
|
|
7037
7037
|
blockers: [],
|
|
7038
7038
|
blocks: []
|
|
7039
7039
|
});
|
|
7040
|
-
this.dispatch(
|
|
7040
|
+
this.dispatch(Hh(i));
|
|
7041
7041
|
}
|
|
7042
7042
|
}
|
|
7043
7043
|
class zg extends O {
|
|
@@ -7097,10 +7097,10 @@ class zg extends O {
|
|
|
7097
7097
|
const o = Promise.resolve(a).then((l) => this.enqueueRequest(l));
|
|
7098
7098
|
return o.then((l) => {
|
|
7099
7099
|
this.dispatch(cn(l));
|
|
7100
|
-
}), this.dispatch(
|
|
7100
|
+
}), this.dispatch(dp), this.dispatch(op(null)), this.dispatch(rp(!1)), [n, o];
|
|
7101
7101
|
}
|
|
7102
7102
|
delete(e) {
|
|
7103
|
-
return this.dispatch(
|
|
7103
|
+
return this.dispatch(ap(e)), this.enqueueRequest({
|
|
7104
7104
|
method: u.DELETE,
|
|
7105
7105
|
url: `/projects/files/${e}`,
|
|
7106
7106
|
blockers: [e],
|
|
@@ -7115,7 +7115,7 @@ class zg extends O {
|
|
|
7115
7115
|
blockers: [],
|
|
7116
7116
|
blocks: []
|
|
7117
7117
|
});
|
|
7118
|
-
this.dispatch(
|
|
7118
|
+
this.dispatch(ip(s));
|
|
7119
7119
|
}
|
|
7120
7120
|
}
|
|
7121
7121
|
class Vg extends O {
|
|
@@ -7138,7 +7138,7 @@ class Vg extends O {
|
|
|
7138
7138
|
async update(e) {
|
|
7139
7139
|
if (!e.bounds && !e.canvas_bounds)
|
|
7140
7140
|
throw new Error("Project must either have bounds or canvas_bounds set");
|
|
7141
|
-
return this.dispatch(
|
|
7141
|
+
return this.dispatch(wh(e)), await this.enqueueRequest({
|
|
7142
7142
|
description: "Update project",
|
|
7143
7143
|
method: u.PATCH,
|
|
7144
7144
|
url: `/projects/${e.uuid}/`,
|
|
@@ -7154,13 +7154,13 @@ class Vg extends O {
|
|
|
7154
7154
|
const { store: s } = this.client, i = s.getState(), n = Nt(i), a = n[e];
|
|
7155
7155
|
if (!a)
|
|
7156
7156
|
throw new Error("Expected project to exist");
|
|
7157
|
-
const c =
|
|
7158
|
-
this.dispatch(
|
|
7159
|
-
const o =
|
|
7157
|
+
const c = lp(i).filter((d) => d.project === e);
|
|
7158
|
+
this.dispatch(cp(c.map(({ uuid: d }) => d)));
|
|
7159
|
+
const o = tp(a.uuid)(i);
|
|
7160
7160
|
this.dispatch(ic(o.map(({ uuid: d }) => d)));
|
|
7161
|
-
const l =
|
|
7162
|
-
this.dispatch(
|
|
7163
|
-
const r =
|
|
7161
|
+
const l = Fh(i);
|
|
7162
|
+
this.dispatch(Rh(l.map(({ uuid: d }) => d))), this.dispatch({ type: "rehydrated/setRehydrated", payload: !1 }), this.dispatch(Eh(a.uuid));
|
|
7163
|
+
const r = hh(a.uuid)(i);
|
|
7164
7164
|
r && this.dispatch(Pe({ ...r, project: null }));
|
|
7165
7165
|
try {
|
|
7166
7166
|
await this.enqueueRequest({
|
|
@@ -7171,7 +7171,7 @@ class Vg extends O {
|
|
|
7171
7171
|
blocks: []
|
|
7172
7172
|
}), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 });
|
|
7173
7173
|
} catch (d) {
|
|
7174
|
-
throw this.dispatch(
|
|
7174
|
+
throw this.dispatch(vh(Object.values(n))), this.dispatch(Qa(Object.values(l))), this.dispatch(np(c)), this.dispatch(Yh(o)), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }), r && this.dispatch(Pe({ ...r, project: a.uuid })), d;
|
|
7175
7175
|
}
|
|
7176
7176
|
}
|
|
7177
7177
|
invite(e, s) {
|
|
@@ -7205,11 +7205,23 @@ class Vg extends O {
|
|
|
7205
7205
|
blockers: [e],
|
|
7206
7206
|
blocks: [e]
|
|
7207
7207
|
}).then(() => {
|
|
7208
|
-
this.dispatch(
|
|
7208
|
+
this.dispatch(kh(e));
|
|
7209
7209
|
});
|
|
7210
7210
|
}
|
|
7211
7211
|
}
|
|
7212
|
-
class Ug extends
|
|
7212
|
+
class Ug extends Pc {
|
|
7213
|
+
clearAuth() {
|
|
7214
|
+
super.clearAuth(), sessionStorage.clear();
|
|
7215
|
+
}
|
|
7216
|
+
async handleUnauthorized(e, s) {
|
|
7217
|
+
const i = `${this.loginUrl}?next=${encodeURI(window.location.href)}`;
|
|
7218
|
+
window.location.replace(i);
|
|
7219
|
+
}
|
|
7220
|
+
prepareRequest(e) {
|
|
7221
|
+
return e.withCredentials(!0);
|
|
7222
|
+
}
|
|
7223
|
+
}
|
|
7224
|
+
class $g extends O {
|
|
7213
7225
|
add(e) {
|
|
7214
7226
|
const s = _({
|
|
7215
7227
|
...e,
|
|
@@ -7217,7 +7229,7 @@ class Ug extends O {
|
|
|
7217
7229
|
// TODO: uncomment once supported
|
|
7218
7230
|
// created_by: state.userReducer.currentUser.uuid,
|
|
7219
7231
|
});
|
|
7220
|
-
this.dispatch(
|
|
7232
|
+
this.dispatch(Ap(s));
|
|
7221
7233
|
const i = this.enqueueRequest({
|
|
7222
7234
|
description: "Create team",
|
|
7223
7235
|
method: u.POST,
|
|
@@ -7318,10 +7330,10 @@ class Ug extends O {
|
|
|
7318
7330
|
blockers: [],
|
|
7319
7331
|
blocks: []
|
|
7320
7332
|
});
|
|
7321
|
-
this.dispatch(
|
|
7333
|
+
this.dispatch(fp(s));
|
|
7322
7334
|
}
|
|
7323
7335
|
}
|
|
7324
|
-
class
|
|
7336
|
+
class Gg extends O {
|
|
7325
7337
|
async refreshStore(e, s) {
|
|
7326
7338
|
const i = {}, n = await this.enqueueRequest({
|
|
7327
7339
|
description: "Fetch organization users",
|
|
@@ -7341,10 +7353,10 @@ class $g extends O {
|
|
|
7341
7353
|
});
|
|
7342
7354
|
for (const c of a)
|
|
7343
7355
|
i[c.id] = c;
|
|
7344
|
-
this.dispatch(
|
|
7356
|
+
this.dispatch(mh(Object.values(i)));
|
|
7345
7357
|
}
|
|
7346
7358
|
}
|
|
7347
|
-
class
|
|
7359
|
+
class Bg {
|
|
7348
7360
|
constructor(e) {
|
|
7349
7361
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7350
7362
|
A(this, "store");
|
|
@@ -7358,7 +7370,7 @@ class Gg {
|
|
|
7358
7370
|
});
|
|
7359
7371
|
}
|
|
7360
7372
|
_enqueueRequest(e, s, i) {
|
|
7361
|
-
const n = new
|
|
7373
|
+
const n = new Gc(), a = { ...e, BASE_URL: s, serviceName: i };
|
|
7362
7374
|
if (e.immediate) {
|
|
7363
7375
|
const c = {
|
|
7364
7376
|
...a,
|
|
@@ -7384,7 +7396,7 @@ class Gg {
|
|
|
7384
7396
|
});
|
|
7385
7397
|
} else {
|
|
7386
7398
|
const c = this.store.dispatch(
|
|
7387
|
-
|
|
7399
|
+
Gh(a)
|
|
7388
7400
|
), o = (r) => {
|
|
7389
7401
|
if (r)
|
|
7390
7402
|
n.resolve(r.body);
|
|
@@ -7418,7 +7430,7 @@ class Be {
|
|
|
7418
7430
|
constructor() {
|
|
7419
7431
|
A(this, "graph");
|
|
7420
7432
|
A(this, "requestAttemptCounter");
|
|
7421
|
-
this.graph = new
|
|
7433
|
+
this.graph = new jc(), this.requestAttemptCounter = {};
|
|
7422
7434
|
}
|
|
7423
7435
|
/**
|
|
7424
7436
|
* Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
|
|
@@ -7556,9 +7568,9 @@ class Be {
|
|
|
7556
7568
|
this.requestAttemptCounter[e] = (this.requestAttemptCounter[e] || 0) + 1;
|
|
7557
7569
|
}
|
|
7558
7570
|
}
|
|
7559
|
-
const
|
|
7571
|
+
const Lg = (t, e) => {
|
|
7560
7572
|
const s = new e(t);
|
|
7561
|
-
return
|
|
7573
|
+
return _p(s), Tp(t), s;
|
|
7562
7574
|
};
|
|
7563
7575
|
var Wp = /* @__PURE__ */ ((t) => (t[t.USER_REGISTRATION = 0] = "USER_REGISTRATION", t[t.APPLICATION_INVITE = 2] = "APPLICATION_INVITE", t[t.PROJECT_INVITE = 4] = "PROJECT_INVITE", t[t.ORGANIZATION_INVITE = 6] = "ORGANIZATION_INVITE", t[t.ADD_EMAIL_DOMAIN = 8] = "ADD_EMAIL_DOMAIN", t[t.RESET_PASSWORD = 10] = "RESET_PASSWORD", t))(Wp || {});
|
|
7564
7576
|
export {
|
|
@@ -7586,18 +7598,18 @@ export {
|
|
|
7586
7598
|
ig as AssetTypeFieldsAttachmentService,
|
|
7587
7599
|
ng as AssetTypeFieldsService,
|
|
7588
7600
|
rg as AssetTypeService,
|
|
7589
|
-
|
|
7601
|
+
Cc as AttachmentModel,
|
|
7590
7602
|
O as BaseApiService,
|
|
7591
|
-
|
|
7592
|
-
|
|
7603
|
+
Bg as BaseSDK,
|
|
7604
|
+
Jc as COMMON_AUTO_FIELDS,
|
|
7593
7605
|
og as CategoryService,
|
|
7594
7606
|
pm as DEFAULT_ISSUE_PRIORITY,
|
|
7595
7607
|
hm as DEFAULT_ISSUE_STATUS,
|
|
7596
|
-
|
|
7608
|
+
Gc as DeferredPromise,
|
|
7597
7609
|
dg as DocumentAttachmentService,
|
|
7598
7610
|
ug as DocumentService,
|
|
7599
|
-
|
|
7600
|
-
|
|
7611
|
+
Mc as EMPTY_ARRAY,
|
|
7612
|
+
Dc as EMPTY_OBJECT,
|
|
7601
7613
|
lg as EmailDomainsService,
|
|
7602
7614
|
hg as EmailVerificationService,
|
|
7603
7615
|
pg as FileService,
|
|
@@ -7623,52 +7635,53 @@ export {
|
|
|
7623
7635
|
Eg as IssueTypeService,
|
|
7624
7636
|
v as IssueUpdateChange,
|
|
7625
7637
|
kg as IssueUpdateService,
|
|
7626
|
-
qg as
|
|
7627
|
-
|
|
7638
|
+
qg as JWTAuthService,
|
|
7639
|
+
zc as LicenseLevel,
|
|
7628
7640
|
jg as LicenseService,
|
|
7629
|
-
|
|
7630
|
-
|
|
7641
|
+
Vc as LicenseStatus,
|
|
7642
|
+
Uc as OUTBOX_RETRY_DELAY,
|
|
7631
7643
|
fn as OrganizationAccessLevel,
|
|
7632
7644
|
Mg as OrganizationAccessService,
|
|
7633
7645
|
Dg as OrganizationService,
|
|
7634
7646
|
Be as OutboxCoordinator,
|
|
7635
|
-
|
|
7647
|
+
xc as PaddleCheckoutEvent,
|
|
7636
7648
|
mn as ProjectAccessLevel,
|
|
7637
7649
|
Cg as ProjectAccessService,
|
|
7638
7650
|
xg as ProjectAttachmentService,
|
|
7639
7651
|
zg as ProjectFileService,
|
|
7640
7652
|
Vg as ProjectService,
|
|
7641
|
-
Ug as
|
|
7653
|
+
Ug as SessionAuthService,
|
|
7654
|
+
$g as TeamService,
|
|
7642
7655
|
He as UNKNOWN_ERROR_MESSAGE,
|
|
7643
|
-
|
|
7656
|
+
Gg as UserService,
|
|
7644
7657
|
ut as VERSION_REDUCER_KEY,
|
|
7645
7658
|
Wp as VerificationCodeType,
|
|
7646
|
-
|
|
7647
|
-
|
|
7659
|
+
Lh as _setLatestRetryTime,
|
|
7660
|
+
kh as acceptProjectInvite,
|
|
7648
7661
|
ws as addAsset,
|
|
7649
7662
|
Cm as addAssetAttachment,
|
|
7650
7663
|
Tn as addAssetAttachments,
|
|
7651
7664
|
ls as addAssetProcedure,
|
|
7652
7665
|
Vm as addAssetProcedureAttachment,
|
|
7653
|
-
|
|
7666
|
+
pr as addAssetProcedureAttachments,
|
|
7654
7667
|
is as addAssetProcedureFieldValues,
|
|
7655
7668
|
af as addAssetProcedureFieldValuesAttachment,
|
|
7656
7669
|
Pt as addAssetProcedureFieldValuesAttachments,
|
|
7657
|
-
|
|
7658
|
-
|
|
7670
|
+
Gr as addAssetProcedureFieldValuesMany,
|
|
7671
|
+
Er as addAssetProcedureFields,
|
|
7659
7672
|
Bm as addAssetProcedureFieldsAttachment,
|
|
7660
|
-
|
|
7673
|
+
_r as addAssetProcedureFieldsAttachments,
|
|
7661
7674
|
Jm as addAssetProcedureFieldsMany,
|
|
7662
7675
|
rs as addAssetProcedureInstance,
|
|
7663
|
-
|
|
7676
|
+
Kr as addAssetProcedureInstances,
|
|
7664
7677
|
tA as addAssetProcedureStep,
|
|
7665
7678
|
gs as addAssetProcedureStepFieldValues,
|
|
7666
7679
|
Bf as addAssetProcedureStepFieldValuesAttachment,
|
|
7667
7680
|
_t as addAssetProcedureStepFieldValuesAttachments,
|
|
7668
|
-
|
|
7681
|
+
bo as addAssetProcedureStepFieldValuesMany,
|
|
7669
7682
|
As as addAssetProcedureStepFields,
|
|
7670
7683
|
If as addAssetProcedureStepFieldsAttachment,
|
|
7671
|
-
|
|
7684
|
+
so as addAssetProcedureStepFieldsAttachments,
|
|
7672
7685
|
Mf as addAssetProcedureStepFieldsMany,
|
|
7673
7686
|
Rs as addAssetProcedureSteps,
|
|
7674
7687
|
gf as addAssetProcedures,
|
|
@@ -7682,31 +7695,31 @@ export {
|
|
|
7682
7695
|
Ws as addAssetTypeFieldValues,
|
|
7683
7696
|
jA as addAssetTypeFieldValuesAttachment,
|
|
7684
7697
|
Ot as addAssetTypeFieldValuesAttachments,
|
|
7685
|
-
|
|
7686
|
-
|
|
7698
|
+
bd as addAssetTypeFieldValuesMany,
|
|
7699
|
+
cd as addAssetTypeFields,
|
|
7687
7700
|
bA as addAssetTypeFieldsAttachment,
|
|
7688
|
-
|
|
7701
|
+
Zo as addAssetTypeFieldsAttachments,
|
|
7689
7702
|
FA as addAssetTypeFieldsMany,
|
|
7690
7703
|
NA as addAssetTypes,
|
|
7691
7704
|
Ft as addAssets,
|
|
7692
7705
|
si as addCategory,
|
|
7693
|
-
|
|
7706
|
+
er as addConversation,
|
|
7694
7707
|
iy as addDocumentAttachment,
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7708
|
+
qd as addDocumentAttachments,
|
|
7709
|
+
Gd as addDocuments,
|
|
7710
|
+
Yd as addEmailDomain,
|
|
7698
7711
|
li as addForm,
|
|
7699
7712
|
ba as addFormRevision,
|
|
7700
7713
|
ly as addFormRevisionAttachment,
|
|
7701
|
-
|
|
7702
|
-
|
|
7714
|
+
au as addFormRevisionAttachments,
|
|
7715
|
+
pu as addFormRevisions,
|
|
7703
7716
|
fi as addFormSubmission,
|
|
7704
7717
|
_y as addFormSubmissionAttachment,
|
|
7705
7718
|
vt as addFormSubmissionAttachments,
|
|
7706
7719
|
Vt as addFormSubmissions,
|
|
7707
7720
|
gy as addForms,
|
|
7708
|
-
|
|
7709
|
-
|
|
7721
|
+
Du as addGeoImage,
|
|
7722
|
+
Cu as addGeoImages,
|
|
7710
7723
|
Mi as addIssue,
|
|
7711
7724
|
Ti as addIssueAssociation,
|
|
7712
7725
|
va as addIssueAssociations,
|
|
@@ -7714,121 +7727,121 @@ export {
|
|
|
7714
7727
|
ka as addIssueAttachments,
|
|
7715
7728
|
Ei as addIssueComment,
|
|
7716
7729
|
Vy as addIssueCommentAttachment,
|
|
7717
|
-
|
|
7730
|
+
il as addIssueCommentAttachments,
|
|
7718
7731
|
By as addIssueComments,
|
|
7719
|
-
|
|
7732
|
+
Xl as addIssueType,
|
|
7720
7733
|
Wy as addIssueTypeAttachment,
|
|
7721
|
-
|
|
7734
|
+
gl as addIssueTypeAttachments,
|
|
7722
7735
|
$i as addIssueTypeFieldValues,
|
|
7723
7736
|
Sb as addIssueTypeFieldValuesAttachment,
|
|
7724
7737
|
Et as addIssueTypeFieldValuesAttachments,
|
|
7725
7738
|
nb as addIssueTypeFieldValuesMany,
|
|
7726
|
-
|
|
7739
|
+
Ul as addIssueTypeFields,
|
|
7727
7740
|
Qy as addIssueTypeFieldsAttachment,
|
|
7728
|
-
|
|
7741
|
+
El as addIssueTypeFieldsAttachments,
|
|
7729
7742
|
ub as addIssueTypeFieldsMany,
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7743
|
+
nh as addIssueUpdate,
|
|
7744
|
+
ah as addIssueUpdates,
|
|
7745
|
+
Al as addIssues,
|
|
7733
7746
|
wb as addLicenses,
|
|
7734
7747
|
oS as addOrganization,
|
|
7735
7748
|
rS as addOrganizations,
|
|
7736
7749
|
Zb as addProject,
|
|
7737
7750
|
PS as addProjectAttachment,
|
|
7738
|
-
|
|
7751
|
+
Wh as addProjectAttachments,
|
|
7739
7752
|
FS as addProjectFile,
|
|
7740
|
-
|
|
7753
|
+
np as addProjectFiles,
|
|
7741
7754
|
Xb as addProjects,
|
|
7742
|
-
|
|
7755
|
+
Ap as addTeam,
|
|
7743
7756
|
Cb as addUser,
|
|
7744
7757
|
Db as addUsers,
|
|
7745
|
-
|
|
7758
|
+
ir as agentsReducer,
|
|
7746
7759
|
Sn as agentsSlice,
|
|
7747
7760
|
Sm as areArraysEqual,
|
|
7748
|
-
|
|
7761
|
+
lr as assetAttachmentReducer,
|
|
7749
7762
|
Pn as assetAttachmentSlice,
|
|
7750
|
-
|
|
7763
|
+
Pr as assetProcedureAttachmentReducer,
|
|
7751
7764
|
Rn as assetProcedureAttachmentSlice,
|
|
7752
|
-
|
|
7765
|
+
Ur as assetProcedureFieldValuesAttachmentReducer,
|
|
7753
7766
|
vn as assetProcedureFieldValuesAttachmentSlice,
|
|
7754
|
-
|
|
7767
|
+
Hr as assetProcedureFieldValuesReducer,
|
|
7755
7768
|
En as assetProcedureFieldValuesSlice,
|
|
7756
|
-
|
|
7769
|
+
vr as assetProcedureFieldsAttachmentReducer,
|
|
7757
7770
|
Fn as assetProcedureFieldsAttachmentSlice,
|
|
7758
|
-
|
|
7771
|
+
Mr as assetProcedureFieldsReducer,
|
|
7759
7772
|
On as assetProcedureFieldsSlice,
|
|
7760
|
-
|
|
7773
|
+
Qr as assetProcedureInstanceReducer,
|
|
7761
7774
|
qn as assetProcedureInstanceSlice,
|
|
7762
|
-
|
|
7775
|
+
eo as assetProcedureReducer,
|
|
7763
7776
|
Dn as assetProcedureSlice,
|
|
7764
|
-
|
|
7777
|
+
Ao as assetProcedureStepFieldValuesAttachmentReducer,
|
|
7765
7778
|
$n as assetProcedureStepFieldValuesAttachmentSlice,
|
|
7766
|
-
|
|
7779
|
+
To as assetProcedureStepFieldValuesReducer,
|
|
7767
7780
|
Bn as assetProcedureStepFieldValuesSlice,
|
|
7768
|
-
|
|
7781
|
+
ro as assetProcedureStepFieldsAttachmentReducer,
|
|
7769
7782
|
xn as assetProcedureStepFieldsAttachmentSlice,
|
|
7770
|
-
|
|
7783
|
+
uo as assetProcedureStepFieldsReducer,
|
|
7771
7784
|
zn as assetProcedureStepFieldsSlice,
|
|
7772
|
-
|
|
7785
|
+
Fo as assetProcedureStepReducer,
|
|
7773
7786
|
Ln as assetProcedureStepSlice,
|
|
7774
|
-
|
|
7787
|
+
ko as assetReducer,
|
|
7775
7788
|
Nn as assetSlice,
|
|
7776
|
-
|
|
7789
|
+
Do as assetStageCompletionReducer,
|
|
7777
7790
|
Yn as assetStageCompletionSlice,
|
|
7778
|
-
|
|
7791
|
+
Uo as assetStageReducer,
|
|
7779
7792
|
Qn as assetStageSlice,
|
|
7780
|
-
|
|
7793
|
+
Qo as assetTypeAttachmentReducer,
|
|
7781
7794
|
Xn as assetTypeAttachmentSlice,
|
|
7782
|
-
|
|
7795
|
+
Ad as assetTypeFieldValuesAttachmentReducer,
|
|
7783
7796
|
ia as assetTypeFieldValuesAttachmentSlice,
|
|
7784
|
-
|
|
7797
|
+
Td as assetTypeFieldValuesReducer,
|
|
7785
7798
|
aa as assetTypeFieldValuesSlice,
|
|
7786
|
-
|
|
7799
|
+
nd as assetTypeFieldsAttachmentReducer,
|
|
7787
7800
|
ta as assetTypeFieldsAttachmentSlice,
|
|
7788
|
-
|
|
7801
|
+
ud as assetTypeFieldsReducer,
|
|
7789
7802
|
sa as assetTypeFieldsSlice,
|
|
7790
|
-
|
|
7803
|
+
Rd as assetTypeReducer,
|
|
7791
7804
|
ra as assetTypeSlice,
|
|
7792
|
-
|
|
7805
|
+
Od as authReducer,
|
|
7793
7806
|
xt as authSlice,
|
|
7794
7807
|
CS as baseReducer,
|
|
7795
7808
|
dc as baseReducers,
|
|
7796
7809
|
Fm as blobToBase64,
|
|
7797
|
-
|
|
7810
|
+
Ed as categoryReducer,
|
|
7798
7811
|
da as categorySlice,
|
|
7799
7812
|
QA as clearTokens,
|
|
7800
7813
|
Rm as constructUploadedFilePayloads,
|
|
7801
7814
|
ym as coordinatesAreEqual,
|
|
7802
7815
|
T as createModelAdapter,
|
|
7803
7816
|
Am as createMultiPointGeometry,
|
|
7804
|
-
|
|
7817
|
+
$h as createOfflineAction,
|
|
7805
7818
|
I as createPayload,
|
|
7806
7819
|
fm as createPointGeometry,
|
|
7807
7820
|
mm as createSelectionAdapter,
|
|
7808
7821
|
Es as deleteAsset,
|
|
7809
|
-
|
|
7822
|
+
cr as deleteAssetAttachment,
|
|
7810
7823
|
_n as deleteAssetAttachments,
|
|
7811
7824
|
hs as deleteAssetProcedure,
|
|
7812
|
-
|
|
7813
|
-
|
|
7825
|
+
Ar as deleteAssetProcedureAttachment,
|
|
7826
|
+
yr as deleteAssetProcedureAttachments,
|
|
7814
7827
|
ns as deleteAssetProcedureFieldValues,
|
|
7815
7828
|
df as deleteAssetProcedureFieldValuesAttachment,
|
|
7816
7829
|
Tt as deleteAssetProcedureFieldValuesAttachments,
|
|
7817
|
-
|
|
7818
|
-
|
|
7830
|
+
Lr as deleteAssetProcedureFieldValuesMany,
|
|
7831
|
+
qr as deleteAssetProcedureFields,
|
|
7819
7832
|
Wm as deleteAssetProcedureFieldsAttachment,
|
|
7820
|
-
|
|
7833
|
+
Fr as deleteAssetProcedureFieldsAttachments,
|
|
7821
7834
|
ef as deleteAssetProcedureFieldsMany,
|
|
7822
7835
|
os as deleteAssetProcedureInstance,
|
|
7823
|
-
|
|
7836
|
+
Yr as deleteAssetProcedureInstances,
|
|
7824
7837
|
sA as deleteAssetProcedureStep,
|
|
7825
7838
|
Ps as deleteAssetProcedureStepFieldValues,
|
|
7826
7839
|
Wf as deleteAssetProcedureStepFieldValuesAttachment,
|
|
7827
7840
|
Rt as deleteAssetProcedureStepFieldValuesAttachments,
|
|
7828
|
-
|
|
7841
|
+
go as deleteAssetProcedureStepFieldValuesMany,
|
|
7829
7842
|
ys as deleteAssetProcedureStepFields,
|
|
7830
7843
|
kf as deleteAssetProcedureStepFieldsAttachment,
|
|
7831
|
-
|
|
7844
|
+
no as deleteAssetProcedureStepFieldsAttachments,
|
|
7832
7845
|
zf as deleteAssetProcedureStepFieldsMany,
|
|
7833
7846
|
Os as deleteAssetProcedureSteps,
|
|
7834
7847
|
Tf as deleteAssetProcedures,
|
|
@@ -7837,338 +7850,338 @@ export {
|
|
|
7837
7850
|
Cs as deleteAssetStageCompletions,
|
|
7838
7851
|
Us as deleteAssetStages,
|
|
7839
7852
|
Xs as deleteAssetType,
|
|
7840
|
-
|
|
7853
|
+
Ho as deleteAssetTypeAttachment,
|
|
7841
7854
|
ea as deleteAssetTypeAttachments,
|
|
7842
7855
|
Ks as deleteAssetTypeFieldValues,
|
|
7843
7856
|
xA as deleteAssetTypeFieldValuesAttachment,
|
|
7844
7857
|
It as deleteAssetTypeFieldValuesAttachments,
|
|
7845
|
-
|
|
7846
|
-
|
|
7858
|
+
gd as deleteAssetTypeFieldValuesMany,
|
|
7859
|
+
od as deleteAssetTypeFields,
|
|
7847
7860
|
TA as deleteAssetTypeFieldsAttachment,
|
|
7848
|
-
|
|
7861
|
+
td as deleteAssetTypeFieldsAttachments,
|
|
7849
7862
|
wA as deleteAssetTypeFieldsMany,
|
|
7850
7863
|
WA as deleteAssetTypes,
|
|
7851
7864
|
Hn as deleteAssets,
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7865
|
+
wd as deleteCategory,
|
|
7866
|
+
Dd as deleteDocumentAttachment,
|
|
7867
|
+
Cd as deleteDocumentAttachments,
|
|
7868
|
+
Jd as deleteEmailDomain,
|
|
7856
7869
|
hi as deleteForm,
|
|
7857
7870
|
Sa as deleteFormRevision,
|
|
7858
7871
|
fy as deleteFormRevisionAttachment,
|
|
7859
|
-
|
|
7860
|
-
|
|
7872
|
+
ru as deleteFormRevisionAttachments,
|
|
7873
|
+
mu as deleteFormRevisions,
|
|
7861
7874
|
Ai as deleteFormSubmission,
|
|
7862
7875
|
Iy as deleteFormSubmissionAttachment,
|
|
7863
7876
|
wt as deleteFormSubmissionAttachments,
|
|
7864
7877
|
Ut as deleteFormSubmissions,
|
|
7865
7878
|
Si as deleteGeoImage,
|
|
7866
|
-
|
|
7879
|
+
zu as deleteGeoImages,
|
|
7867
7880
|
Di as deleteIssue,
|
|
7868
7881
|
_i as deleteIssueAssociation,
|
|
7869
7882
|
wa as deleteIssueAssociations,
|
|
7870
|
-
|
|
7883
|
+
Qu as deleteIssueAttachment,
|
|
7871
7884
|
qa as deleteIssueAttachments,
|
|
7872
7885
|
ki as deleteIssueComment,
|
|
7873
|
-
|
|
7874
|
-
|
|
7886
|
+
cl as deleteIssueCommentAttachment,
|
|
7887
|
+
rl as deleteIssueCommentAttachments,
|
|
7875
7888
|
Ly as deleteIssueComments,
|
|
7876
|
-
|
|
7877
|
-
|
|
7889
|
+
_l as deleteIssueTypeAttachment,
|
|
7890
|
+
Rl as deleteIssueTypeAttachments,
|
|
7878
7891
|
Gi as deleteIssueTypeFieldValues,
|
|
7879
7892
|
_b as deleteIssueTypeFieldValuesAttachment,
|
|
7880
7893
|
kt as deleteIssueTypeFieldValuesAttachments,
|
|
7881
7894
|
ob as deleteIssueTypeFieldValuesMany,
|
|
7882
|
-
|
|
7895
|
+
Gl as deleteIssueTypeFields,
|
|
7883
7896
|
tb as deleteIssueTypeFieldsAttachment,
|
|
7884
|
-
|
|
7897
|
+
ql as deleteIssueTypeFieldsAttachments,
|
|
7885
7898
|
mb as deleteIssueTypeFieldsMany,
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7899
|
+
ch as deleteIssueUpdate,
|
|
7900
|
+
rh as deleteIssueUpdates,
|
|
7901
|
+
yl as deleteIssues,
|
|
7889
7902
|
lS as deleteOrganization,
|
|
7890
|
-
|
|
7903
|
+
Sh as deleteOrganizationAccess,
|
|
7891
7904
|
hS as deleteOrganizations,
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7905
|
+
Eh as deleteProject,
|
|
7906
|
+
_h as deleteProjectAccess,
|
|
7907
|
+
Rh as deleteProjectAccesses,
|
|
7908
|
+
Qh as deleteProjectAttachment,
|
|
7896
7909
|
ic as deleteProjectAttachments,
|
|
7897
|
-
|
|
7898
|
-
|
|
7910
|
+
ap as deleteProjectFile,
|
|
7911
|
+
cp as deleteProjectFiles,
|
|
7899
7912
|
tS as deleteProjects,
|
|
7900
7913
|
dn as deleteTeam,
|
|
7901
7914
|
Vb as deleteUser,
|
|
7902
7915
|
Ub as deleteUsers,
|
|
7903
|
-
|
|
7916
|
+
Ep as dequeue,
|
|
7904
7917
|
gc as discard,
|
|
7905
|
-
|
|
7918
|
+
Ud as documentAttachmentReducer,
|
|
7906
7919
|
la as documentAttachmentSlice,
|
|
7907
7920
|
ha as documentSlice,
|
|
7908
|
-
|
|
7921
|
+
Hd as documentsReducer,
|
|
7909
7922
|
Om as downloadFile,
|
|
7910
7923
|
_m as downloadInMemoryFile,
|
|
7911
|
-
|
|
7924
|
+
Zd as emailDomainsReducer,
|
|
7912
7925
|
pa as emailDomainsSlice,
|
|
7913
7926
|
jm as emailRegex,
|
|
7914
|
-
|
|
7915
|
-
|
|
7927
|
+
wp as enqueue,
|
|
7928
|
+
Gh as enqueueRequest,
|
|
7916
7929
|
b as fallbackToEmptyArray,
|
|
7917
7930
|
Ce as fallbackToEmptyObject,
|
|
7918
|
-
|
|
7931
|
+
iu as fileReducer,
|
|
7919
7932
|
fa as fileSlice,
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7933
|
+
Yc as fileToBlob,
|
|
7934
|
+
Su as formReducer,
|
|
7935
|
+
du as formRevisionAttachmentReducer,
|
|
7923
7936
|
Aa as formRevisionAttachmentSlice,
|
|
7924
|
-
|
|
7937
|
+
yu as formRevisionReducer,
|
|
7925
7938
|
ya as formRevisionsSlice,
|
|
7926
7939
|
ga as formSlice,
|
|
7927
|
-
|
|
7940
|
+
Ou as formSubmissionAttachmentReducer,
|
|
7928
7941
|
Pa as formSubmissionAttachmentSlice,
|
|
7929
|
-
|
|
7942
|
+
qu as formSubmissionReducer,
|
|
7930
7943
|
_a as formSubmissionSlice,
|
|
7931
|
-
|
|
7944
|
+
$u as geoImageReducer,
|
|
7932
7945
|
Oa as geoImageSlice,
|
|
7933
7946
|
Tm as getFileIdentifier,
|
|
7934
7947
|
Wt as getFileS3Key,
|
|
7935
|
-
|
|
7948
|
+
Lc as getLocalDateString,
|
|
7936
7949
|
Pm as getLocalRelativeDateString,
|
|
7937
7950
|
De as getOutboxCoordinator,
|
|
7938
|
-
|
|
7951
|
+
Kc as getRenamedFile,
|
|
7939
7952
|
Le as hashFile,
|
|
7940
|
-
|
|
7953
|
+
Lg as initSDK,
|
|
7941
7954
|
Qt as initializeAssetAttachments,
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
|
|
7955
|
+
hr as initializeAssetProcedureAttachments,
|
|
7956
|
+
$r as initializeAssetProcedureFieldValues,
|
|
7957
|
+
Dr as initializeAssetProcedureFieldValuesAttachments,
|
|
7958
|
+
wr as initializeAssetProcedureFields,
|
|
7959
|
+
Tr as initializeAssetProcedureFieldsAttachments,
|
|
7960
|
+
Wr as initializeAssetProcedureInstances,
|
|
7961
|
+
yo as initializeAssetProcedureStepFieldValues,
|
|
7962
|
+
lo as initializeAssetProcedureStepFieldValuesAttachments,
|
|
7963
|
+
oo as initializeAssetProcedureStepFields,
|
|
7964
|
+
to as initializeAssetProcedureStepFieldsAttachments,
|
|
7965
|
+
_o as initializeAssetProcedureSteps,
|
|
7966
|
+
Xr as initializeAssetProcedures,
|
|
7967
|
+
qo as initializeAssetStageCompletions,
|
|
7968
|
+
zo as initializeAssetStages,
|
|
7969
|
+
Bo as initializeAssetTypeAttachments,
|
|
7970
|
+
yd as initializeAssetTypeFieldValues,
|
|
7971
|
+
ld as initializeAssetTypeFieldValuesAttachments,
|
|
7972
|
+
ad as initializeAssetTypeFields,
|
|
7973
|
+
Xo as initializeAssetTypeFieldsAttachments,
|
|
7974
|
+
_d as initializeAssetTypes,
|
|
7975
|
+
vo as initializeAssets,
|
|
7976
|
+
Id as initializeCategories,
|
|
7977
|
+
Zc as initializeConversations,
|
|
7978
|
+
kd as initializeDocumentAttachments,
|
|
7979
|
+
Kd as initializeEmailDomains,
|
|
7980
|
+
nu as initializeFormRevisionAttachments,
|
|
7981
|
+
hu as initializeFormRevisions,
|
|
7982
|
+
Tu as initializeFormSubmissionAttachments,
|
|
7983
|
+
Iu as initializeFormSubmissions,
|
|
7984
|
+
bu as initializeForms,
|
|
7985
|
+
ju as initializeGeoImages,
|
|
7986
|
+
Gu as initializeIssueAssociations,
|
|
7974
7987
|
Fi as initializeIssueAttachments,
|
|
7975
7988
|
Ii as initializeIssueCommentAttachments,
|
|
7976
7989
|
zi as initializeIssueTypeAttachments,
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7990
|
+
Cl as initializeIssueTypeFieldValues,
|
|
7991
|
+
Nl as initializeIssueTypeFieldValuesAttachments,
|
|
7992
|
+
Vl as initializeIssueTypeFields,
|
|
7993
|
+
wl as initializeIssueTypeFieldsAttachments,
|
|
7994
|
+
Ql as initializeIssueTypes,
|
|
7995
|
+
ih as initializeIssueUpdates,
|
|
7996
|
+
fl as initializeIssues,
|
|
7997
|
+
lh as initializeLicences,
|
|
7998
|
+
yh as initializeOrganizationAccesses,
|
|
7986
7999
|
aS as initializeOrganizations,
|
|
7987
8000
|
Qa as initializeProjectAccesses,
|
|
7988
|
-
|
|
7989
|
-
|
|
8001
|
+
Hh as initializeProjectAttachments,
|
|
8002
|
+
ip as initializeProjectFiles,
|
|
7990
8003
|
Jb as initializeProjects,
|
|
7991
|
-
|
|
7992
|
-
|
|
8004
|
+
fp as initializeTeams,
|
|
8005
|
+
mh as initializeUsers,
|
|
7993
8006
|
gm as isToday,
|
|
7994
|
-
|
|
8007
|
+
Ku as issueAssociationReducer,
|
|
7995
8008
|
Ia as issueAssociationSlice,
|
|
7996
|
-
|
|
8009
|
+
sl as issueAttachmentReducer,
|
|
7997
8010
|
Ea as issueAttachmentSlice,
|
|
7998
|
-
|
|
8011
|
+
ll as issueCommentAttachmentReducer,
|
|
7999
8012
|
ja as issueCommentAttachmentSlice,
|
|
8000
|
-
|
|
8013
|
+
ml as issueCommentReducer,
|
|
8001
8014
|
Ma as issueCommentSlice,
|
|
8002
|
-
|
|
8015
|
+
Sl as issueReducer,
|
|
8003
8016
|
Da as issueSlice,
|
|
8004
|
-
|
|
8017
|
+
vl as issueTypeAttachmentReducer,
|
|
8005
8018
|
Ca as issueTypeAttachmentSlice,
|
|
8006
|
-
|
|
8019
|
+
Jl as issueTypeFieldValuesAttachmentReducer,
|
|
8007
8020
|
$a as issueTypeFieldValuesAttachmentSlice,
|
|
8008
|
-
|
|
8021
|
+
zl as issueTypeFieldValuesReducer,
|
|
8009
8022
|
za as issueTypeFieldValuesSlice,
|
|
8010
|
-
|
|
8023
|
+
Dl as issueTypeFieldsAttachmentReducer,
|
|
8011
8024
|
xa as issueTypeFieldsAttachmentSlice,
|
|
8012
|
-
|
|
8025
|
+
Ll as issueTypeFieldsReducer,
|
|
8013
8026
|
Ua as issueTypeFieldsSlice,
|
|
8014
|
-
|
|
8027
|
+
sh as issueTypeReducer,
|
|
8015
8028
|
Ba as issueTypeSlice,
|
|
8016
|
-
|
|
8029
|
+
uh as issueUpdateReducer,
|
|
8017
8030
|
Na as issueUpdateSlice,
|
|
8018
|
-
|
|
8031
|
+
ph as licenseReducer,
|
|
8019
8032
|
Ha as licenseSlice,
|
|
8020
8033
|
Im as logOnlyOnce,
|
|
8021
|
-
|
|
8034
|
+
Bh as markAsDeleted,
|
|
8022
8035
|
gS as markForDeletion,
|
|
8023
8036
|
bn as memoize,
|
|
8024
|
-
|
|
8037
|
+
Bd as moveDocument,
|
|
8025
8038
|
_ as offline,
|
|
8026
8039
|
qm as onlyUniqueHashes,
|
|
8027
|
-
|
|
8028
|
-
|
|
8040
|
+
Xc as onlyUniqueOfflineIds,
|
|
8041
|
+
Ph as organizationAccessReducer,
|
|
8029
8042
|
Ka as organizationAccessSlice,
|
|
8030
|
-
|
|
8043
|
+
Uh as organizationReducer,
|
|
8031
8044
|
ec as organizationSlice,
|
|
8032
|
-
|
|
8045
|
+
Nh as outboxReducer,
|
|
8033
8046
|
tc as outboxSlice,
|
|
8034
8047
|
zS as overmapEnhancer,
|
|
8035
8048
|
xS as overmapReducer,
|
|
8036
|
-
|
|
8049
|
+
Pp as overmapReducers,
|
|
8037
8050
|
yc as performRequest,
|
|
8038
|
-
|
|
8051
|
+
Ih as projectAccessReducer,
|
|
8039
8052
|
Ja as projectAccessSlice,
|
|
8040
|
-
|
|
8053
|
+
sp as projectAttachmentReducer,
|
|
8041
8054
|
sc as projectAttachmentSlice,
|
|
8042
|
-
|
|
8055
|
+
hp as projectFileReducer,
|
|
8043
8056
|
nc as projectFileSlice,
|
|
8044
|
-
|
|
8057
|
+
qh as projectReducer,
|
|
8045
8058
|
Za as projectSlice,
|
|
8046
|
-
|
|
8059
|
+
mp as rehydratedReducer,
|
|
8047
8060
|
ac as rehydratedSlice,
|
|
8048
8061
|
ci as removeDocuments,
|
|
8049
8062
|
Wi as removeIssueType,
|
|
8050
|
-
|
|
8063
|
+
fh as removeUser,
|
|
8051
8064
|
IS as resetProjectFileObjectUrls,
|
|
8052
|
-
|
|
8065
|
+
$c as resetStore,
|
|
8053
8066
|
y as restructureCreateSelectorWithArgs,
|
|
8054
|
-
|
|
8067
|
+
dp as saveActiveProjectFileBounds,
|
|
8055
8068
|
XA as selectAccessToken,
|
|
8056
8069
|
Hb as selectActiveOrganizationAccess,
|
|
8057
8070
|
wS as selectActiveProjectFileId,
|
|
8058
8071
|
kb as selectActiveStatusLicenses,
|
|
8059
|
-
|
|
8060
|
-
|
|
8072
|
+
zd as selectAllDocumentAttachments,
|
|
8073
|
+
Zh as selectAllProjectAttachments,
|
|
8061
8074
|
oy as selectAncestorIdsOfDocument,
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8075
|
+
dr as selectAssetAttachmentById,
|
|
8076
|
+
rr as selectAssetAttachmentMapping,
|
|
8077
|
+
or as selectAssetAttachments,
|
|
8065
8078
|
ks as selectAssetById,
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8079
|
+
gr as selectAssetProcedureAttachmentById,
|
|
8080
|
+
br as selectAssetProcedureAttachmentMapping,
|
|
8081
|
+
Sr as selectAssetProcedureAttachments,
|
|
8069
8082
|
ps as selectAssetProcedureById,
|
|
8070
8083
|
kn as selectAssetProcedureFieldValues,
|
|
8071
8084
|
uf as selectAssetProcedureFieldValuesAttachmentById,
|
|
8072
|
-
|
|
8073
|
-
|
|
8085
|
+
xr as selectAssetProcedureFieldValuesAttachments,
|
|
8086
|
+
zr as selectAssetProcedureFieldValuesAttachmentsByIds,
|
|
8074
8087
|
wn as selectAssetProcedureFieldValuesAttachmentsMapping,
|
|
8075
8088
|
as as selectAssetProcedureFieldValuesById,
|
|
8076
|
-
|
|
8089
|
+
Nr as selectAssetProcedureFieldValuesMapping,
|
|
8077
8090
|
pf as selectAssetProcedureFieldValuesOfAsset,
|
|
8078
8091
|
In as selectAssetProcedureFields,
|
|
8079
8092
|
Ym as selectAssetProcedureFieldsAttachmentById,
|
|
8080
|
-
|
|
8081
|
-
|
|
8093
|
+
Ir as selectAssetProcedureFieldsAttachments,
|
|
8094
|
+
Or as selectAssetProcedureFieldsAttachmentsMapping,
|
|
8082
8095
|
nf as selectAssetProcedureFieldsById,
|
|
8083
|
-
|
|
8096
|
+
jr as selectAssetProcedureFieldsMapping,
|
|
8084
8097
|
tf as selectAssetProcedureFieldsOfAssetProcedure,
|
|
8085
8098
|
ds as selectAssetProcedureInstanceById,
|
|
8086
8099
|
Mn as selectAssetProcedureInstances,
|
|
8087
8100
|
Sf as selectAssetProcedureInstancesByIds,
|
|
8088
8101
|
jn as selectAssetProcedureInstancesMapping,
|
|
8089
|
-
|
|
8102
|
+
Jr as selectAssetProcedureInstancesOfAssetProcedure,
|
|
8090
8103
|
bf as selectAssetProcedureInstancesOfAssetType,
|
|
8091
|
-
|
|
8104
|
+
Oo as selectAssetProcedureStepById,
|
|
8092
8105
|
jt as selectAssetProcedureStepFieldValues,
|
|
8093
8106
|
Kf as selectAssetProcedureStepFieldValuesAttachmentById,
|
|
8094
|
-
|
|
8095
|
-
|
|
8107
|
+
po as selectAssetProcedureStepFieldValuesAttachments,
|
|
8108
|
+
mo as selectAssetProcedureStepFieldValuesAttachmentsByIds,
|
|
8096
8109
|
Gn as selectAssetProcedureStepFieldValuesAttachmentsMapping,
|
|
8097
8110
|
Ts as selectAssetProcedureStepFieldValuesById,
|
|
8098
|
-
|
|
8111
|
+
Po as selectAssetProcedureStepFieldValuesMapping,
|
|
8099
8112
|
Qf as selectAssetProcedureStepFieldValuesOfAsset,
|
|
8100
8113
|
Xf as selectAssetProcedureStepFieldValuesOfAssetProcedureInstance,
|
|
8101
8114
|
Zf as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
|
|
8102
8115
|
Un as selectAssetProcedureStepFields,
|
|
8103
8116
|
jf as selectAssetProcedureStepFieldsAttachmentById,
|
|
8104
|
-
|
|
8105
|
-
|
|
8117
|
+
co as selectAssetProcedureStepFieldsAttachments,
|
|
8118
|
+
ao as selectAssetProcedureStepFieldsAttachmentsMapping,
|
|
8106
8119
|
Gf as selectAssetProcedureStepFieldsById,
|
|
8107
8120
|
Vn as selectAssetProcedureStepFieldsMapping,
|
|
8108
8121
|
Vf as selectAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
8109
8122
|
Mt as selectAssetProcedureStepMapping,
|
|
8110
|
-
|
|
8123
|
+
Io as selectAssetProcedureSteps,
|
|
8111
8124
|
Is as selectAssetProcedureStepsByIds,
|
|
8112
8125
|
iA as selectAssetProcedureStepsMappingOfAssetProcedure,
|
|
8113
8126
|
nA as selectAssetProcedureStepsOfAssetProcedure,
|
|
8114
|
-
|
|
8127
|
+
Zr as selectAssetProcedures,
|
|
8115
8128
|
Of as selectAssetProceduresByIds,
|
|
8116
8129
|
Cn as selectAssetProceduresMapping,
|
|
8117
8130
|
Ff as selectAssetProceduresOfOrganization,
|
|
8118
|
-
|
|
8119
|
-
|
|
8131
|
+
$o as selectAssetStageById,
|
|
8132
|
+
Co as selectAssetStageCompletionById,
|
|
8120
8133
|
Jn as selectAssetStageCompletionMapping,
|
|
8121
8134
|
dA as selectAssetStageCompletions,
|
|
8122
|
-
|
|
8123
|
-
|
|
8135
|
+
xo as selectAssetStageCompletionsByIds,
|
|
8136
|
+
Go as selectAssetStages,
|
|
8124
8137
|
$s as selectAssetStagesByIds,
|
|
8125
8138
|
pA as selectAssetStagesMappingOfAssetProcedure,
|
|
8126
8139
|
mA as selectAssetStagesOfAssetProcedure,
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8140
|
+
Yo as selectAssetTypeAttachmentById,
|
|
8141
|
+
Wo as selectAssetTypeAttachmentMapping,
|
|
8142
|
+
Ko as selectAssetTypeAttachments,
|
|
8130
8143
|
Zs as selectAssetTypeById,
|
|
8131
8144
|
ca as selectAssetTypeFieldValues,
|
|
8132
8145
|
zA as selectAssetTypeFieldValuesAttachmentById,
|
|
8133
|
-
|
|
8134
|
-
|
|
8146
|
+
pd as selectAssetTypeFieldValuesAttachments,
|
|
8147
|
+
md as selectAssetTypeFieldValuesAttachmentsByIds,
|
|
8135
8148
|
na as selectAssetTypeFieldValuesAttachmentsMapping,
|
|
8136
8149
|
Ys as selectAssetTypeFieldValuesById,
|
|
8137
|
-
|
|
8150
|
+
Pd as selectAssetTypeFieldValuesMapping,
|
|
8138
8151
|
$A as selectAssetTypeFieldValuesOfAsset,
|
|
8139
8152
|
Ct as selectAssetTypeFields,
|
|
8140
8153
|
RA as selectAssetTypeFieldsAttachmentById,
|
|
8141
|
-
|
|
8142
|
-
|
|
8154
|
+
id as selectAssetTypeFieldsAttachments,
|
|
8155
|
+
sd as selectAssetTypeFieldsAttachmentsMapping,
|
|
8143
8156
|
qA as selectAssetTypeFieldsById,
|
|
8144
|
-
|
|
8157
|
+
dd as selectAssetTypeFieldsMapping,
|
|
8145
8158
|
EA as selectAssetTypeFieldsOfAssetType,
|
|
8146
8159
|
GA as selectAssetTypeValuesOfAssetType,
|
|
8147
8160
|
KA as selectAssetTypes,
|
|
8148
8161
|
YA as selectAssetTypesByIds,
|
|
8149
8162
|
oa as selectAssetTypesMapping,
|
|
8150
|
-
|
|
8151
|
-
|
|
8163
|
+
wo as selectAssets,
|
|
8164
|
+
Eo as selectAssetsByIds,
|
|
8152
8165
|
Wn as selectAssetsMapping,
|
|
8153
8166
|
Kn as selectAssetsOfAssetType,
|
|
8154
|
-
|
|
8167
|
+
ur as selectAttachmentsOfAsset,
|
|
8155
8168
|
Gm as selectAttachmentsOfAssetProcedure,
|
|
8156
|
-
|
|
8169
|
+
Vr as selectAttachmentsOfAssetProcedureFieldValues,
|
|
8157
8170
|
Km as selectAttachmentsOfAssetProcedureFields,
|
|
8158
|
-
|
|
8171
|
+
fo as selectAttachmentsOfAssetProcedureStepFieldValues,
|
|
8159
8172
|
qf as selectAttachmentsOfAssetProcedureStepFields,
|
|
8160
|
-
|
|
8161
|
-
|
|
8173
|
+
Jo as selectAttachmentsOfAssetType,
|
|
8174
|
+
fd as selectAttachmentsOfAssetTypeFieldValues,
|
|
8162
8175
|
_A as selectAttachmentsOfAssetTypeFields,
|
|
8163
8176
|
cy as selectAttachmentsOfDocument,
|
|
8164
8177
|
Ay as selectAttachmentsOfFormRevision,
|
|
8165
|
-
|
|
8166
|
-
|
|
8178
|
+
Fu as selectAttachmentsOfFormSubmission,
|
|
8179
|
+
el as selectAttachmentsOfIssue,
|
|
8167
8180
|
Gy as selectAttachmentsOfIssueComment,
|
|
8168
8181
|
Jy as selectAttachmentsOfIssueType,
|
|
8169
|
-
|
|
8182
|
+
Yl as selectAttachmentsOfIssueTypeFieldValues,
|
|
8170
8183
|
sb as selectAttachmentsOfIssueTypeFields,
|
|
8171
|
-
|
|
8184
|
+
tp as selectAttachmentsOfProject,
|
|
8172
8185
|
ey as selectCategories,
|
|
8173
8186
|
ty as selectCategoriesByIds,
|
|
8174
8187
|
ii as selectCategoryById,
|
|
@@ -8179,81 +8192,81 @@ export {
|
|
|
8179
8192
|
Mm as selectConversations,
|
|
8180
8193
|
Bt as selectCurrentUser,
|
|
8181
8194
|
bS as selectDeletedRequests,
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
|
|
8195
|
+
Vd as selectDocumentAttachmentById,
|
|
8196
|
+
xd as selectDocumentAttachmentMapping,
|
|
8197
|
+
Nd as selectDocumentById,
|
|
8198
|
+
Ld as selectDocuments,
|
|
8186
8199
|
ry as selectDocumentsByIds,
|
|
8187
8200
|
Ne as selectDocumentsMapping,
|
|
8188
|
-
|
|
8189
|
-
|
|
8201
|
+
Xd as selectEmailDomains,
|
|
8202
|
+
Qd as selectEmailDomainsAsMapping,
|
|
8190
8203
|
uy as selectEmailDomainsOfOrganization,
|
|
8191
8204
|
mf as selectFieldValuesOfAssetProcedureInstance,
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8205
|
+
Pu as selectFormById,
|
|
8206
|
+
gu as selectFormMapping,
|
|
8207
|
+
ou as selectFormRevisionAttachmentsMapping,
|
|
8195
8208
|
yy as selectFormRevisionById,
|
|
8196
8209
|
zt as selectFormRevisionMapping,
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8210
|
+
fu as selectFormRevisions,
|
|
8211
|
+
Au as selectFormRevisionsOfForm,
|
|
8212
|
+
Ru as selectFormSubmissionAttachemntsByIds,
|
|
8200
8213
|
Ta as selectFormSubmissionAttachmentsMapping,
|
|
8201
8214
|
yi as selectFormSubmissionById,
|
|
8202
8215
|
Fa as selectFormSubmissions,
|
|
8203
8216
|
Ra as selectFormSubmissionsMapping,
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8217
|
+
ku as selectFormSubmissionsOfAsset,
|
|
8218
|
+
wu as selectFormSubmissionsOfForm,
|
|
8219
|
+
Eu as selectFormSubmissionsOfIssue,
|
|
8207
8220
|
Ty as selectForms,
|
|
8208
8221
|
gi as selectGeoImageById,
|
|
8209
|
-
|
|
8210
|
-
|
|
8222
|
+
Vu as selectGeoImageMapping,
|
|
8223
|
+
Uu as selectGeoImages,
|
|
8211
8224
|
ky as selectGeoImagesOfProject,
|
|
8212
8225
|
ES as selectIsImportingProjectFile,
|
|
8213
8226
|
ZA as selectIsLoggedIn,
|
|
8214
|
-
|
|
8227
|
+
Lu as selectIssueAssociationById,
|
|
8215
8228
|
lt as selectIssueAssociationMapping,
|
|
8216
8229
|
Dy as selectIssueAssociations,
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8230
|
+
Wu as selectIssueAssociationsOfAsset,
|
|
8231
|
+
Hu as selectIssueAssociationsOfIssue,
|
|
8232
|
+
Nu as selectIssueAssociationsToIssue,
|
|
8233
|
+
tl as selectIssueAttachmentById,
|
|
8234
|
+
Xu as selectIssueAttachmentMapping,
|
|
8235
|
+
Zu as selectIssueAttachments,
|
|
8223
8236
|
Ci as selectIssueById,
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8237
|
+
ul as selectIssueCommentAttachmentById,
|
|
8238
|
+
ol as selectIssueCommentAttachmentMapping,
|
|
8239
|
+
dl as selectIssueCommentAttachments,
|
|
8227
8240
|
qi as selectIssueCommentById,
|
|
8228
|
-
|
|
8241
|
+
pl as selectIssueCommentMapping,
|
|
8229
8242
|
sy as selectIssueCountOfCategory,
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8243
|
+
bl as selectIssueMapping,
|
|
8244
|
+
Il as selectIssueTypeAttachmentById,
|
|
8245
|
+
Fl as selectIssueTypeAttachmentMapping,
|
|
8246
|
+
Ol as selectIssueTypeAttachments,
|
|
8234
8247
|
Ki as selectIssueTypeById,
|
|
8235
8248
|
Va as selectIssueTypeFieldValues,
|
|
8236
8249
|
Rb as selectIssueTypeFieldValuesAttachmentById,
|
|
8237
|
-
|
|
8238
|
-
|
|
8250
|
+
Wl as selectIssueTypeFieldValuesAttachments,
|
|
8251
|
+
Kl as selectIssueTypeFieldValuesAttachmentsByIds,
|
|
8239
8252
|
Ga as selectIssueTypeFieldValuesAttachmentsMapping,
|
|
8240
8253
|
Bi as selectIssueTypeFieldValuesById,
|
|
8241
|
-
|
|
8254
|
+
xl as selectIssueTypeFieldValuesMapping,
|
|
8242
8255
|
db as selectIssueTypeFieldValuesOfIssue,
|
|
8243
8256
|
$t as selectIssueTypeFields,
|
|
8244
8257
|
ib as selectIssueTypeFieldsAttachmentById,
|
|
8245
|
-
|
|
8246
|
-
|
|
8258
|
+
Ml as selectIssueTypeFieldsAttachments,
|
|
8259
|
+
jl as selectIssueTypeFieldsAttachmentsMapping,
|
|
8247
8260
|
bb as selectIssueTypeFieldsById,
|
|
8248
|
-
|
|
8261
|
+
Bl as selectIssueTypeFieldsMapping,
|
|
8249
8262
|
fb as selectIssueTypeFieldsOfIssueType,
|
|
8250
|
-
|
|
8263
|
+
eh as selectIssueTypeMapping,
|
|
8251
8264
|
yb as selectIssueTypeValuesOfIssueType,
|
|
8252
|
-
|
|
8265
|
+
th as selectIssueTypes,
|
|
8253
8266
|
Fb as selectIssueTypesByIds,
|
|
8254
8267
|
Ob as selectIssueTypesOfOrganization,
|
|
8255
|
-
|
|
8256
|
-
|
|
8268
|
+
oh as selectIssueUpdateMapping,
|
|
8269
|
+
dh as selectIssueUpdatesOfIssue,
|
|
8257
8270
|
Hy as selectIssuesByIds,
|
|
8258
8271
|
La as selectIssuesOfIssueType,
|
|
8259
8272
|
Ib as selectIssuesOfIssueTypeCount,
|
|
@@ -8265,35 +8278,35 @@ export {
|
|
|
8265
8278
|
Ab as selectLatestIssueTypeFieldsOfIssueType,
|
|
8266
8279
|
SS as selectLatestRetryTime,
|
|
8267
8280
|
Eb as selectLicense,
|
|
8268
|
-
|
|
8281
|
+
hh as selectLicenseForProject,
|
|
8269
8282
|
Gt as selectLicenses,
|
|
8270
8283
|
qb as selectLicensesForProjectsMapping,
|
|
8271
8284
|
AS as selectLicensesOfOrganization,
|
|
8272
8285
|
oA as selectNumberOfAssetsOfAssetType,
|
|
8273
8286
|
Nb as selectOrganizationAccessById,
|
|
8274
8287
|
Wb as selectOrganizationAccessForUser,
|
|
8275
|
-
|
|
8288
|
+
gh as selectOrganizationAccessUserMapping,
|
|
8276
8289
|
Ya as selectOrganizationAccesses,
|
|
8277
8290
|
pS as selectOrganizationById,
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8291
|
+
Vh as selectOrganizationUsersAsMapping,
|
|
8292
|
+
zh as selectOrganizationUsersIds,
|
|
8293
|
+
xh as selectOrganizations,
|
|
8294
|
+
Ch as selectOrganizationsMapping,
|
|
8282
8295
|
mS as selectOrganizationsWithAccess,
|
|
8283
8296
|
Kb as selectProjectAccessById,
|
|
8284
8297
|
Yb as selectProjectAccessForUser,
|
|
8285
8298
|
Xa as selectProjectAccessMapping,
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8299
|
+
Oh as selectProjectAccessUserMapping,
|
|
8300
|
+
Fh as selectProjectAccesses,
|
|
8301
|
+
ep as selectProjectAttachmentById,
|
|
8302
|
+
Xh as selectProjectAttachmentMapping,
|
|
8290
8303
|
iS as selectProjectById,
|
|
8291
8304
|
vS as selectProjectFileById,
|
|
8292
|
-
|
|
8293
|
-
|
|
8305
|
+
up as selectProjectFileMapping,
|
|
8306
|
+
lp as selectProjectFiles,
|
|
8294
8307
|
Nt as selectProjectMapping,
|
|
8295
|
-
|
|
8296
|
-
|
|
8308
|
+
Mh as selectProjectUsersAsMapping,
|
|
8309
|
+
jh as selectProjectUsersIds,
|
|
8297
8310
|
sS as selectProjects,
|
|
8298
8311
|
fS as selectProjectsOfOrganization,
|
|
8299
8312
|
qS as selectRehydrated,
|
|
@@ -8307,16 +8320,16 @@ export {
|
|
|
8307
8320
|
rc as selectTeamsMapping,
|
|
8308
8321
|
MS as selectTeamsOfOrganization,
|
|
8309
8322
|
DS as selectTeamsOfUser,
|
|
8310
|
-
|
|
8323
|
+
su as selectUploadUrl,
|
|
8311
8324
|
Bb as selectUserById,
|
|
8312
8325
|
Lb as selectUsersByIds,
|
|
8313
8326
|
Lt as selectUsersMapping,
|
|
8314
|
-
|
|
8327
|
+
op as setActiveProjectFileId,
|
|
8315
8328
|
cA as setAsset,
|
|
8316
|
-
|
|
8329
|
+
nr as setAssetAttachment,
|
|
8317
8330
|
xm as setAssetAttachments,
|
|
8318
8331
|
_f as setAssetProcedure,
|
|
8319
|
-
|
|
8332
|
+
mr as setAssetProcedureAttachment,
|
|
8320
8333
|
Um as setAssetProcedureAttachments,
|
|
8321
8334
|
lf as setAssetProcedureFieldValues,
|
|
8322
8335
|
cf as setAssetProcedureFieldValuesAttachment,
|
|
@@ -8328,7 +8341,7 @@ export {
|
|
|
8328
8341
|
Xm as setAssetProcedureFieldsMany,
|
|
8329
8342
|
Af as setAssetProcedureInstance,
|
|
8330
8343
|
yf as setAssetProcedureInstances,
|
|
8331
|
-
|
|
8344
|
+
Ro as setAssetProcedureStep,
|
|
8332
8345
|
Yf as setAssetProcedureStepFieldValues,
|
|
8333
8346
|
Lf as setAssetProcedureStepFieldValuesAttachment,
|
|
8334
8347
|
Nf as setAssetProcedureStepFieldValuesAttachments,
|
|
@@ -8339,10 +8352,10 @@ export {
|
|
|
8339
8352
|
Cf as setAssetProcedureStepFieldsMany,
|
|
8340
8353
|
eA as setAssetProcedureSteps,
|
|
8341
8354
|
Rf as setAssetProcedures,
|
|
8342
|
-
|
|
8355
|
+
Vo as setAssetStage,
|
|
8343
8356
|
uA as setAssetStages,
|
|
8344
8357
|
BA as setAssetType,
|
|
8345
|
-
|
|
8358
|
+
Lo as setAssetTypeAttachment,
|
|
8346
8359
|
AA as setAssetTypeAttachments,
|
|
8347
8360
|
VA as setAssetTypeFieldValues,
|
|
8348
8361
|
MA as setAssetTypeFieldValuesAttachment,
|
|
@@ -8354,13 +8367,13 @@ export {
|
|
|
8354
8367
|
IA as setAssetTypeFieldsMany,
|
|
8355
8368
|
LA as setAssetTypes,
|
|
8356
8369
|
rA as setAssets,
|
|
8357
|
-
|
|
8370
|
+
tr as setConversation,
|
|
8358
8371
|
$b as setCurrentUser,
|
|
8359
|
-
|
|
8372
|
+
jd as setDocumentAttachment,
|
|
8360
8373
|
ny as setDocumentAttachments,
|
|
8361
|
-
|
|
8374
|
+
$d as setDocuments,
|
|
8362
8375
|
Sy as setForm,
|
|
8363
|
-
|
|
8376
|
+
lu as setFormRevision,
|
|
8364
8377
|
hy as setFormRevisionAttachment,
|
|
8365
8378
|
py as setFormRevisionAttachments,
|
|
8366
8379
|
mt as setFormSubmission,
|
|
@@ -8368,18 +8381,18 @@ export {
|
|
|
8368
8381
|
Fy as setFormSubmissionAttachments,
|
|
8369
8382
|
vy as setFormSubmissions,
|
|
8370
8383
|
st as setGeoImage,
|
|
8371
|
-
|
|
8372
|
-
|
|
8384
|
+
Mu as setGeoImages,
|
|
8385
|
+
rp as setIsImportingProjectFile,
|
|
8373
8386
|
jy as setIssueAssociation,
|
|
8374
8387
|
qy as setIssueAssociations,
|
|
8375
|
-
|
|
8388
|
+
Yu as setIssueAttachment,
|
|
8376
8389
|
xy as setIssueAttachments,
|
|
8377
8390
|
wi as setIssueComment,
|
|
8378
|
-
|
|
8391
|
+
nl as setIssueCommentAttachment,
|
|
8379
8392
|
Uy as setIssueCommentAttachments,
|
|
8380
|
-
|
|
8393
|
+
hl as setIssueComments,
|
|
8381
8394
|
nt as setIssueType,
|
|
8382
|
-
|
|
8395
|
+
Pl as setIssueTypeAttachment,
|
|
8383
8396
|
Ky as setIssueTypeAttachments,
|
|
8384
8397
|
ab as setIssueTypeFieldValues,
|
|
8385
8398
|
gb as setIssueTypeFieldValuesAttachment,
|
|
@@ -8390,122 +8403,122 @@ export {
|
|
|
8390
8403
|
Zy as setIssueTypeFieldsAttachments,
|
|
8391
8404
|
hb as setIssueTypeFieldsMany,
|
|
8392
8405
|
vb as setIssueUpdate,
|
|
8393
|
-
|
|
8406
|
+
Fd as setLoggedIn,
|
|
8394
8407
|
cS as setOrganization,
|
|
8395
|
-
|
|
8408
|
+
Dh as setOrganizations,
|
|
8396
8409
|
Gb as setProfilePicture,
|
|
8397
8410
|
Qb as setProject,
|
|
8398
|
-
|
|
8399
|
-
|
|
8411
|
+
Kh as setProjectAttachment,
|
|
8412
|
+
Yh as setProjectAttachments,
|
|
8400
8413
|
_S as setProjectFile,
|
|
8401
8414
|
RS as setProjectFiles,
|
|
8402
|
-
|
|
8415
|
+
vh as setProjects,
|
|
8403
8416
|
kS as setRehydrated,
|
|
8404
8417
|
ze as setTeam,
|
|
8405
8418
|
JA as setTokens,
|
|
8406
|
-
|
|
8419
|
+
tu as setUploadUrl,
|
|
8407
8420
|
Mb as setUser,
|
|
8408
8421
|
jb as setUsers,
|
|
8409
8422
|
bm as shallowEqual,
|
|
8410
8423
|
Em as slugify,
|
|
8411
8424
|
wm as spacesToDashesLower,
|
|
8412
|
-
|
|
8425
|
+
yp as teamReducer,
|
|
8413
8426
|
cc as teamSlice,
|
|
8414
8427
|
vm as toFileNameSafeString,
|
|
8415
|
-
|
|
8428
|
+
Qc as toOfflineIdRecord,
|
|
8416
8429
|
km as truncate,
|
|
8417
8430
|
Ze as updateAsset,
|
|
8418
8431
|
zm as updateAssetAttachment,
|
|
8419
|
-
|
|
8432
|
+
ar as updateAssetAttachments,
|
|
8420
8433
|
Je as updateAssetProcedure,
|
|
8421
8434
|
$m as updateAssetProcedureAttachment,
|
|
8422
|
-
|
|
8435
|
+
fr as updateAssetProcedureAttachments,
|
|
8423
8436
|
Ke as updateAssetProcedureFieldValues,
|
|
8424
8437
|
of as updateAssetProcedureFieldValuesAttachment,
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8438
|
+
Cr as updateAssetProcedureFieldValuesAttachments,
|
|
8439
|
+
Br as updateAssetProcedureFieldValuesMany,
|
|
8440
|
+
kr as updateAssetProcedureFields,
|
|
8428
8441
|
Hm as updateAssetProcedureFieldsAttachment,
|
|
8429
|
-
|
|
8442
|
+
Rr as updateAssetProcedureFieldsAttachments,
|
|
8430
8443
|
Zm as updateAssetProcedureFieldsMany,
|
|
8431
8444
|
Ye as updateAssetProcedureInstance,
|
|
8432
8445
|
ff as updateAssetProcedureInstances,
|
|
8433
8446
|
Fs as updateAssetProcedureStep,
|
|
8434
8447
|
Xe as updateAssetProcedureStepFieldValues,
|
|
8435
8448
|
Hf as updateAssetProcedureStepFieldValuesAttachment,
|
|
8436
|
-
|
|
8437
|
-
|
|
8449
|
+
ho as updateAssetProcedureStepFieldValuesAttachments,
|
|
8450
|
+
So as updateAssetProcedureStepFieldValuesMany,
|
|
8438
8451
|
Qe as updateAssetProcedureStepFields,
|
|
8439
8452
|
Ef as updateAssetProcedureStepFieldsAttachment,
|
|
8440
|
-
|
|
8453
|
+
io as updateAssetProcedureStepFieldsAttachments,
|
|
8441
8454
|
xf as updateAssetProcedureStepFieldsMany,
|
|
8442
8455
|
ht as updateAssetProcedureSteps,
|
|
8443
8456
|
Pf as updateAssetProcedures,
|
|
8444
8457
|
Vs as updateAssetStage,
|
|
8445
|
-
|
|
8446
|
-
|
|
8458
|
+
jo as updateAssetStageCompletion,
|
|
8459
|
+
Mo as updateAssetStageCompletions,
|
|
8447
8460
|
pt as updateAssetStages,
|
|
8448
8461
|
tt as updateAssetType,
|
|
8449
8462
|
yA as updateAssetTypeAttachment,
|
|
8450
|
-
|
|
8463
|
+
No as updateAssetTypeAttachments,
|
|
8451
8464
|
et as updateAssetTypeFieldValues,
|
|
8452
8465
|
CA as updateAssetTypeFieldValuesAttachment,
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
|
|
8466
|
+
hd as updateAssetTypeFieldValuesAttachments,
|
|
8467
|
+
Sd as updateAssetTypeFieldValuesMany,
|
|
8468
|
+
rd as updateAssetTypeFields,
|
|
8456
8469
|
PA as updateAssetTypeFieldsAttachment,
|
|
8457
|
-
|
|
8470
|
+
ed as updateAssetTypeFieldsAttachments,
|
|
8458
8471
|
vA as updateAssetTypeFieldsMany,
|
|
8459
8472
|
HA as updateAssetTypes,
|
|
8460
8473
|
aA as updateAssets,
|
|
8461
|
-
|
|
8462
|
-
|
|
8474
|
+
vd as updateCategory,
|
|
8475
|
+
sr as updateConversation,
|
|
8463
8476
|
ay as updateDocumentAttachment,
|
|
8464
|
-
|
|
8477
|
+
Md as updateDocumentAttachments,
|
|
8465
8478
|
Re as updateDocuments,
|
|
8466
8479
|
Py as updateForm,
|
|
8467
8480
|
my as updateFormRevisionAttachment,
|
|
8468
|
-
|
|
8469
|
-
|
|
8481
|
+
cu as updateFormRevisionAttachments,
|
|
8482
|
+
vu as updateFormSubmission,
|
|
8470
8483
|
Oy as updateFormSubmissionAttachment,
|
|
8471
|
-
|
|
8484
|
+
_u as updateFormSubmissionAttachments,
|
|
8472
8485
|
wy as updateFormSubmissions,
|
|
8473
|
-
|
|
8486
|
+
xu as updateGeoImage,
|
|
8474
8487
|
Ey as updateGeoImages,
|
|
8475
8488
|
ft as updateIssue,
|
|
8476
|
-
|
|
8489
|
+
Bu as updateIssueAssociation,
|
|
8477
8490
|
My as updateIssueAssociations,
|
|
8478
8491
|
zy as updateIssueAttachment,
|
|
8479
|
-
|
|
8492
|
+
Ju as updateIssueAttachments,
|
|
8480
8493
|
$y as updateIssueCommentAttachment,
|
|
8481
|
-
|
|
8482
|
-
|
|
8494
|
+
al as updateIssueCommentAttachments,
|
|
8495
|
+
Zl as updateIssueType,
|
|
8483
8496
|
Yy as updateIssueTypeAttachment,
|
|
8484
|
-
|
|
8497
|
+
Tl as updateIssueTypeAttachments,
|
|
8485
8498
|
it as updateIssueTypeFieldValues,
|
|
8486
8499
|
Tb as updateIssueTypeFieldValuesAttachment,
|
|
8487
|
-
|
|
8500
|
+
Hl as updateIssueTypeFieldValuesAttachments,
|
|
8488
8501
|
rb as updateIssueTypeFieldValuesMany,
|
|
8489
|
-
|
|
8502
|
+
$l as updateIssueTypeFields,
|
|
8490
8503
|
eb as updateIssueTypeFieldsAttachment,
|
|
8491
|
-
|
|
8504
|
+
kl as updateIssueTypeFieldsAttachments,
|
|
8492
8505
|
pb as updateIssueTypeFieldsMany,
|
|
8493
8506
|
Pe as updateLicense,
|
|
8494
8507
|
uS as updateOrganization,
|
|
8495
|
-
|
|
8508
|
+
bh as updateOrganizationAccess,
|
|
8496
8509
|
dS as updateOrganizations,
|
|
8497
|
-
|
|
8498
|
-
|
|
8510
|
+
wh as updateProject,
|
|
8511
|
+
Th as updateProjectAccess,
|
|
8499
8512
|
TS as updateProjectAttachment,
|
|
8500
|
-
|
|
8513
|
+
Jh as updateProjectAttachments,
|
|
8501
8514
|
cn as updateProjectFile,
|
|
8502
8515
|
OS as updateProjectFiles,
|
|
8503
8516
|
eS as updateProjects,
|
|
8504
8517
|
on as updateTeam,
|
|
8505
8518
|
zb as updateUser,
|
|
8506
8519
|
xb as updateUsers,
|
|
8507
|
-
|
|
8520
|
+
Ah as userReducer,
|
|
8508
8521
|
Wa as userSlice,
|
|
8509
|
-
|
|
8510
|
-
|
|
8522
|
+
gp as versioningReducer,
|
|
8523
|
+
Sp as versioningSlice
|
|
8511
8524
|
};
|