@overmap-ai/core 1.0.78-view-sets.8 → 1.0.78-view-sets.9
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
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var f = (t, e, s) =>
|
|
1
|
+
var Rc = Object.defineProperty;
|
|
2
|
+
var Ic = (t, e, s) => e in t ? Rc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
|
+
var f = (t, e, s) => Ic(t, typeof e != "symbol" ? e + "" : e, s);
|
|
4
4
|
import "@redux-offline/redux-offline/lib/types";
|
|
5
|
-
import { createAction as Vt, createSlice as P, isAnyOf as R, createSelector as p, combineReducers as Pn, compose as
|
|
5
|
+
import { createAction as Vt, createSlice as P, isAnyOf as R, createSelector as p, combineReducers as Pn, compose as vc } from "@reduxjs/toolkit";
|
|
6
6
|
import $e from "superagent";
|
|
7
7
|
import { v4 as Be } from "uuid";
|
|
8
|
-
import { saveAs as
|
|
9
|
-
import { offline as
|
|
8
|
+
import { saveAs as wc } from "file-saver";
|
|
9
|
+
import { offline as kc } from "@redux-offline/redux-offline";
|
|
10
10
|
import Jt from "@redux-offline/redux-offline/lib/defaults";
|
|
11
11
|
import "buffer";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import Ec from "localforage";
|
|
13
|
+
import qc from "redux-persist-migrate";
|
|
14
14
|
import "@overmap-ai/forms";
|
|
15
|
-
import { openDB as
|
|
16
|
-
import
|
|
17
|
-
import { DepGraph as
|
|
15
|
+
import { openDB as jc } from "idb";
|
|
16
|
+
import Mc from "jwt-decode";
|
|
17
|
+
import { DepGraph as zc } from "dependency-graph";
|
|
18
18
|
import "@tiptap/core";
|
|
19
|
-
const
|
|
20
|
-
var
|
|
21
|
-
const lm = Fn.BACKLOG, hm = Tn.MEDIUM,
|
|
19
|
+
const Dc = Object.freeze([]), xc = Object.freeze({});
|
|
20
|
+
var Uc = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(Uc || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), Vc = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(Vc || {}), Tn = /* @__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))(Tn || {}), Fn = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.SELECTED = 2] = "SELECTED", t[t.DONE = 4] = "DONE", t))(Fn || {}), M = /* @__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))(M || {});
|
|
21
|
+
const lm = Fn.BACKLOG, hm = Tn.MEDIUM, Cc = 6e4;
|
|
22
22
|
function O(t) {
|
|
23
23
|
return {
|
|
24
24
|
addOne: (h, m) => {
|
|
@@ -114,7 +114,7 @@ function pm() {
|
|
|
114
114
|
const At = "versioning", _ = Vt("RESET"), k = Vt("RESET_PROJECT_STATE"), I = Vt("RESET_ORGANIZATION_STATE");
|
|
115
115
|
var _n;
|
|
116
116
|
_n = Symbol.toStringTag;
|
|
117
|
-
class
|
|
117
|
+
class $c {
|
|
118
118
|
constructor() {
|
|
119
119
|
f(this, _n, "Promise");
|
|
120
120
|
f(this, "_promise");
|
|
@@ -154,8 +154,8 @@ const mm = (t) => ({
|
|
|
154
154
|
coordinates: t
|
|
155
155
|
}), fm = (t, e) => t[0] === e[0] && t[1] === e[1];
|
|
156
156
|
let It = !1;
|
|
157
|
-
const
|
|
158
|
-
["true", "1"].includes(
|
|
157
|
+
const Gc = "";
|
|
158
|
+
["true", "1"].includes(Gc.toLowerCase()) && (It = !0);
|
|
159
159
|
function ym(t, e) {
|
|
160
160
|
if (t === e) return !0;
|
|
161
161
|
if (typeof t != typeof e)
|
|
@@ -182,15 +182,15 @@ function bm(t, e) {
|
|
|
182
182
|
if (t[s] !== e[s]) return !1;
|
|
183
183
|
return !0;
|
|
184
184
|
}
|
|
185
|
-
const b = (t) => t.length === 0 ?
|
|
185
|
+
const b = (t) => t.length === 0 ? Dc : t, Ze = (t) => Object.keys(t).length === 0 ? xc : t, Bc = On((t) => {
|
|
186
186
|
if (!t) return "";
|
|
187
187
|
const e = new Date(t), s = e.getFullYear() === Ct.getFullYear(), i = { day: "numeric", month: "short" };
|
|
188
188
|
return s || (i.year = "numeric"), e.toLocaleDateString([], i);
|
|
189
|
-
}),
|
|
190
|
-
const i = Math.round((new Date(t).getTime() - Ct.getTime()) /
|
|
191
|
-
return i < e || i > s ?
|
|
189
|
+
}), Lc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Nc = 1e3 * 86400, Ct = /* @__PURE__ */ new Date(), gm = (t) => new Date(t).toDateString() === Ct.toDateString(), Sm = On((t, e, s) => {
|
|
190
|
+
const i = Math.round((new Date(t).getTime() - Ct.getTime()) / Nc);
|
|
191
|
+
return i < e || i > s ? Bc(t) : Lc.format(i, "days");
|
|
192
192
|
});
|
|
193
|
-
function
|
|
193
|
+
function Hc(t) {
|
|
194
194
|
return new Uint8Array(t).reduce((s, i) => s + i.toString(16).padStart(2, "0"), "");
|
|
195
195
|
}
|
|
196
196
|
const Zt = async (t, e) => {
|
|
@@ -210,7 +210,7 @@ function Ke(t) {
|
|
|
210
210
|
return;
|
|
211
211
|
}
|
|
212
212
|
crypto.subtle.digest("SHA-1", n).then((a) => {
|
|
213
|
-
const c =
|
|
213
|
+
const c = Hc(a);
|
|
214
214
|
e(c);
|
|
215
215
|
});
|
|
216
216
|
}, i.readAsArrayBuffer(t);
|
|
@@ -223,7 +223,7 @@ function _m(t) {
|
|
|
223
223
|
}
|
|
224
224
|
return `${t.name}&${t.type}${t.size}`;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Wc(t, e) {
|
|
227
227
|
return new File([t], e, { type: t.type });
|
|
228
228
|
}
|
|
229
229
|
function Pm(t, e) {
|
|
@@ -242,7 +242,7 @@ const Tm = async (t) => {
|
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
return Object.values(e);
|
|
245
|
-
},
|
|
245
|
+
}, Kc = async (t) => (await fetch(t)).blob(), Fm = (t) => new Promise((e, s) => {
|
|
246
246
|
const i = new FileReader();
|
|
247
247
|
i.onloadend = () => {
|
|
248
248
|
var n;
|
|
@@ -251,7 +251,7 @@ const Tm = async (t) => {
|
|
|
251
251
|
});
|
|
252
252
|
function Om(t) {
|
|
253
253
|
const e = new Blob([t]);
|
|
254
|
-
|
|
254
|
+
wc(e, t.name);
|
|
255
255
|
}
|
|
256
256
|
const Qt = {};
|
|
257
257
|
function Rm(t, e, s, ...i) {
|
|
@@ -259,11 +259,11 @@ function Rm(t, e, s, ...i) {
|
|
|
259
259
|
let a = !1;
|
|
260
260
|
n ? n[e] || (n[e] = !0, a = !0) : (Qt[t] = { [e]: !0 }, a = !0), a && console[s](...i);
|
|
261
261
|
}
|
|
262
|
-
const
|
|
262
|
+
const Yc = ["created_at", "updated_at", "index", "revision"];
|
|
263
263
|
function F(t) {
|
|
264
264
|
return { ...t, uuid: Be() };
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Jc(t) {
|
|
267
267
|
const e = {};
|
|
268
268
|
for (const s of t)
|
|
269
269
|
e[s.uuid] = s;
|
|
@@ -292,7 +292,7 @@ function km(t, e) {
|
|
|
292
292
|
return s.slice(0, s.lastIndexOf(" ")) + "…";
|
|
293
293
|
}
|
|
294
294
|
const y = (t) => (e) => (s) => t(s, e);
|
|
295
|
-
function
|
|
295
|
+
function Zc(t, e, s) {
|
|
296
296
|
return s.findIndex((i) => i.uuid === t.uuid) === e;
|
|
297
297
|
}
|
|
298
298
|
function Em(t, e, s) {
|
|
@@ -301,7 +301,7 @@ function Em(t, e, s) {
|
|
|
301
301
|
const qm = /^.+@.+\..+$/;
|
|
302
302
|
function E(t) {
|
|
303
303
|
const e = { ...t };
|
|
304
|
-
for (const s of [...
|
|
304
|
+
for (const s of [...Yc, "created_by"])
|
|
305
305
|
s in e && delete e[s];
|
|
306
306
|
return e;
|
|
307
307
|
}
|
|
@@ -326,12 +326,12 @@ const V = O(
|
|
|
326
326
|
deleteConversations: V.deleteMany
|
|
327
327
|
}
|
|
328
328
|
}), {
|
|
329
|
-
initializeConversations:
|
|
330
|
-
addConversation:
|
|
329
|
+
initializeConversations: Qc,
|
|
330
|
+
addConversation: Xc,
|
|
331
331
|
addConversations: jm,
|
|
332
|
-
setConversation:
|
|
332
|
+
setConversation: er,
|
|
333
333
|
setConversations: Mm,
|
|
334
|
-
updateConversation:
|
|
334
|
+
updateConversation: tr,
|
|
335
335
|
updateConversations: zm,
|
|
336
336
|
deleteConversation: Dm,
|
|
337
337
|
deleteConversations: xm
|
|
@@ -343,7 +343,7 @@ const V = O(
|
|
|
343
343
|
[In, (t, e) => e],
|
|
344
344
|
(t, e) => t[e]
|
|
345
345
|
)
|
|
346
|
-
),
|
|
346
|
+
), sr = Rn.reducer, C = O(
|
|
347
347
|
(t) => t.uuid
|
|
348
348
|
), es = C.getInitialState({}), vn = P({
|
|
349
349
|
name: "assetAttachments",
|
|
@@ -367,21 +367,21 @@ const V = O(
|
|
|
367
367
|
initializeAssetAttachments: ts,
|
|
368
368
|
addAssetAttachment: Cm,
|
|
369
369
|
addAssetAttachments: wn,
|
|
370
|
-
setAssetAttachment:
|
|
370
|
+
setAssetAttachment: ir,
|
|
371
371
|
setAssetAttachments: $m,
|
|
372
372
|
updateAssetAttachment: Gm,
|
|
373
|
-
updateAssetAttachments:
|
|
374
|
-
deleteAssetAttachment:
|
|
373
|
+
updateAssetAttachments: nr,
|
|
374
|
+
deleteAssetAttachment: ar,
|
|
375
375
|
deleteAssetAttachments: kn
|
|
376
|
-
} = vn.actions,
|
|
377
|
-
[
|
|
376
|
+
} = vn.actions, cr = (t) => t.assetAttachmentReducer.instances, rr = p(
|
|
377
|
+
[cr],
|
|
378
378
|
(t) => Object.values(t)
|
|
379
|
-
),
|
|
379
|
+
), or = (t) => (e) => e.assetAttachmentReducer.instances[t], dr = y(
|
|
380
380
|
p(
|
|
381
|
-
[
|
|
381
|
+
[rr, (t, e) => e],
|
|
382
382
|
(t, e) => b(t.filter(({ asset: s }) => e === s))
|
|
383
383
|
)
|
|
384
|
-
),
|
|
384
|
+
), ur = vn.reducer, $ = O((t) => t.uuid), ss = $.getInitialState({}), En = P({
|
|
385
385
|
name: "assetProcedureAttachments",
|
|
386
386
|
initialState: ss,
|
|
387
387
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -400,29 +400,29 @@ const V = O(
|
|
|
400
400
|
deleteAssetProcedureAttachments: $.deleteMany
|
|
401
401
|
}
|
|
402
402
|
}), {
|
|
403
|
-
initializeAssetProcedureAttachments:
|
|
403
|
+
initializeAssetProcedureAttachments: lr,
|
|
404
404
|
addAssetProcedureAttachment: Bm,
|
|
405
|
-
addAssetProcedureAttachments:
|
|
406
|
-
setAssetProcedureAttachment:
|
|
405
|
+
addAssetProcedureAttachments: hr,
|
|
406
|
+
setAssetProcedureAttachment: pr,
|
|
407
407
|
setAssetProcedureAttachments: Lm,
|
|
408
408
|
updateAssetProcedureAttachment: Nm,
|
|
409
|
-
updateAssetProcedureAttachments:
|
|
410
|
-
deleteAssetProcedureAttachment:
|
|
411
|
-
deleteAssetProcedureAttachments:
|
|
412
|
-
} = En.actions,
|
|
413
|
-
[
|
|
409
|
+
updateAssetProcedureAttachments: mr,
|
|
410
|
+
deleteAssetProcedureAttachment: Ar,
|
|
411
|
+
deleteAssetProcedureAttachments: fr
|
|
412
|
+
} = En.actions, yr = (t) => t.assetProcedureAttachmentReducer.instances, br = p(
|
|
413
|
+
[yr],
|
|
414
414
|
(t) => Object.values(t)
|
|
415
|
-
),
|
|
415
|
+
), gr = (t) => (e) => e.assetProcedureAttachmentReducer.instances[t], Hm = y(
|
|
416
416
|
p(
|
|
417
417
|
[
|
|
418
|
-
|
|
418
|
+
br,
|
|
419
419
|
(t, e) => e
|
|
420
420
|
],
|
|
421
421
|
(t, e) => b(
|
|
422
422
|
t.filter(({ asset_procedure: s }) => e === s)
|
|
423
423
|
)
|
|
424
424
|
)
|
|
425
|
-
),
|
|
425
|
+
), Sr = En.reducer, G = O((t) => t.uuid), is = G.getInitialState({}), qn = P({
|
|
426
426
|
name: "assetProcedureFieldsAttachments",
|
|
427
427
|
initialState: is,
|
|
428
428
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -441,21 +441,21 @@ const V = O(
|
|
|
441
441
|
deleteAssetProcedureFieldsAttachments: G.deleteMany
|
|
442
442
|
}
|
|
443
443
|
}), {
|
|
444
|
-
initializeAssetProcedureFieldsAttachments:
|
|
444
|
+
initializeAssetProcedureFieldsAttachments: _r,
|
|
445
445
|
addAssetProcedureFieldsAttachment: Wm,
|
|
446
|
-
addAssetProcedureFieldsAttachments:
|
|
446
|
+
addAssetProcedureFieldsAttachments: Pr,
|
|
447
447
|
setAssetProcedureFieldsAttachment: Km,
|
|
448
448
|
setAssetProcedureFieldsAttachments: Ym,
|
|
449
449
|
updateAssetProcedureFieldsAttachment: Jm,
|
|
450
|
-
updateAssetProcedureFieldsAttachments:
|
|
450
|
+
updateAssetProcedureFieldsAttachments: Tr,
|
|
451
451
|
deleteAssetProcedureFieldsAttachment: Zm,
|
|
452
|
-
deleteAssetProcedureFieldsAttachments:
|
|
453
|
-
} = qn.actions,
|
|
454
|
-
[
|
|
452
|
+
deleteAssetProcedureFieldsAttachments: Fr
|
|
453
|
+
} = qn.actions, Or = (t) => t.assetProcedureFieldsAttachmentReducer.instances, Rr = p(
|
|
454
|
+
[Or],
|
|
455
455
|
(t) => Object.values(t)
|
|
456
456
|
), Qm = y(
|
|
457
|
-
p([
|
|
458
|
-
), Xm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t],
|
|
457
|
+
p([Rr, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
458
|
+
), Xm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], Ir = qn.reducer, B = O(
|
|
459
459
|
(t) => t.uuid
|
|
460
460
|
), ns = B.getInitialState({}), jn = P({
|
|
461
461
|
name: "assetProcedureFields",
|
|
@@ -476,23 +476,23 @@ const V = O(
|
|
|
476
476
|
deleteAssetProcedureFieldsMany: B.deleteMany
|
|
477
477
|
}
|
|
478
478
|
}), {
|
|
479
|
-
initializeAssetProcedureFields:
|
|
480
|
-
addAssetProcedureFields:
|
|
479
|
+
initializeAssetProcedureFields: vr,
|
|
480
|
+
addAssetProcedureFields: wr,
|
|
481
481
|
addAssetProcedureFieldsMany: eA,
|
|
482
482
|
setAssetProcedureFields: tA,
|
|
483
483
|
setAssetProcedureFieldsMany: sA,
|
|
484
|
-
updateAssetProcedureFields:
|
|
484
|
+
updateAssetProcedureFields: kr,
|
|
485
485
|
updateAssetProcedureFieldsMany: iA,
|
|
486
|
-
deleteAssetProcedureFields:
|
|
486
|
+
deleteAssetProcedureFields: Er,
|
|
487
487
|
deleteAssetProcedureFieldsMany: nA
|
|
488
|
-
} = jn.actions,
|
|
488
|
+
} = jn.actions, qr = (t) => t.assetProcedureFieldsReducer.instances, Mn = p([qr], (t) => Object.values(t)), aA = y(
|
|
489
489
|
p(
|
|
490
490
|
[Mn, (t, e) => e],
|
|
491
491
|
(t, e) => b(t.filter((s) => s.asset_procedure === e))
|
|
492
492
|
)
|
|
493
493
|
), cA = y(
|
|
494
494
|
p([Mn, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
495
|
-
), rA = (t) => (e) => e.assetProcedureFieldsReducer.instances[t],
|
|
495
|
+
), rA = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], jr = jn.reducer, L = O((t) => t.uuid), as = L.getInitialState({}), zn = P({
|
|
496
496
|
name: "assetProcedureFieldValuesAttachments",
|
|
497
497
|
initialState: as,
|
|
498
498
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -511,19 +511,19 @@ const V = O(
|
|
|
511
511
|
deleteAssetProcedureFieldValuesAttachments: L.deleteMany
|
|
512
512
|
}
|
|
513
513
|
}), {
|
|
514
|
-
initializeAssetProcedureFieldValuesAttachments:
|
|
514
|
+
initializeAssetProcedureFieldValuesAttachments: Mr,
|
|
515
515
|
addAssetProcedureFieldValuesAttachment: oA,
|
|
516
516
|
addAssetProcedureFieldValuesAttachments: vt,
|
|
517
517
|
setAssetProcedureFieldValuesAttachment: dA,
|
|
518
518
|
setAssetProcedureFieldValuesAttachments: uA,
|
|
519
519
|
updateAssetProcedureFieldValuesAttachment: lA,
|
|
520
|
-
updateAssetProcedureFieldValuesAttachments:
|
|
520
|
+
updateAssetProcedureFieldValuesAttachments: zr,
|
|
521
521
|
deleteAssetProcedureFieldValuesAttachment: hA,
|
|
522
522
|
deleteAssetProcedureFieldValuesAttachments: wt
|
|
523
|
-
} = zn.actions, Dn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances,
|
|
523
|
+
} = zn.actions, Dn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, Dr = p(
|
|
524
524
|
[Dn],
|
|
525
525
|
(t) => Object.values(t)
|
|
526
|
-
), pA = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t],
|
|
526
|
+
), pA = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], xr = y(
|
|
527
527
|
p(
|
|
528
528
|
[
|
|
529
529
|
Dn,
|
|
@@ -534,12 +534,12 @@ const V = O(
|
|
|
534
534
|
return b(Object.values(t).filter((i) => s.has(i.uuid)));
|
|
535
535
|
}
|
|
536
536
|
)
|
|
537
|
-
),
|
|
537
|
+
), Ur = y(
|
|
538
538
|
p(
|
|
539
|
-
[
|
|
539
|
+
[Dr, (t, e) => e],
|
|
540
540
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
541
541
|
)
|
|
542
|
-
),
|
|
542
|
+
), Vr = zn.reducer, N = O((t) => t.uuid), cs = N.getInitialState({}), xn = P({
|
|
543
543
|
name: "assetProcedureFieldValues",
|
|
544
544
|
initialState: cs,
|
|
545
545
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -558,23 +558,23 @@ const V = O(
|
|
|
558
558
|
deleteAssetProcedureFieldValuesMany: N.deleteMany
|
|
559
559
|
}
|
|
560
560
|
}), {
|
|
561
|
-
initializeAssetProcedureFieldValues:
|
|
561
|
+
initializeAssetProcedureFieldValues: Cr,
|
|
562
562
|
addAssetProcedureFieldValues: rs,
|
|
563
|
-
addAssetProcedureFieldValuesMany:
|
|
563
|
+
addAssetProcedureFieldValuesMany: $r,
|
|
564
564
|
setAssetProcedureFieldValues: mA,
|
|
565
565
|
setAssetProcedureFieldValuesMany: AA,
|
|
566
566
|
updateAssetProcedureFieldValues: tt,
|
|
567
|
-
updateAssetProcedureFieldValuesMany:
|
|
567
|
+
updateAssetProcedureFieldValuesMany: Gr,
|
|
568
568
|
deleteAssetProcedureFieldValues: os,
|
|
569
|
-
deleteAssetProcedureFieldValuesMany:
|
|
570
|
-
} = xn.actions,
|
|
571
|
-
[
|
|
569
|
+
deleteAssetProcedureFieldValuesMany: Br
|
|
570
|
+
} = xn.actions, Lr = (t) => t.assetProcedureFieldValuesReducer.instances, Un = p(
|
|
571
|
+
[Lr],
|
|
572
572
|
(t) => Object.values(t)
|
|
573
573
|
), fA = y(
|
|
574
574
|
p([Un, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
575
575
|
), yA = y(
|
|
576
576
|
p([Un, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
577
|
-
), ds = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t],
|
|
577
|
+
), ds = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t], Nr = xn.reducer, H = O((t) => t.uuid), us = H.getInitialState({}), Vn = P({
|
|
578
578
|
name: "assetProcedureInstances",
|
|
579
579
|
initialState: us,
|
|
580
580
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -593,19 +593,19 @@ const V = O(
|
|
|
593
593
|
deleteAssetProcedureInstances: H.deleteMany
|
|
594
594
|
}
|
|
595
595
|
}), {
|
|
596
|
-
initializeAssetProcedureInstances:
|
|
596
|
+
initializeAssetProcedureInstances: Hr,
|
|
597
597
|
addAssetProcedureInstance: ls,
|
|
598
|
-
addAssetProcedureInstances:
|
|
598
|
+
addAssetProcedureInstances: Wr,
|
|
599
599
|
updateAssetProcedureInstance: st,
|
|
600
600
|
updateAssetProcedureInstances: bA,
|
|
601
601
|
deleteAssetProcedureInstance: hs,
|
|
602
|
-
deleteAssetProcedureInstances:
|
|
602
|
+
deleteAssetProcedureInstances: Kr,
|
|
603
603
|
setAssetProcedureInstance: gA,
|
|
604
604
|
setAssetProcedureInstances: SA
|
|
605
605
|
} = Vn.actions, Cn = (t) => t.assetProcedureInstanceReducer.instances, $n = p(
|
|
606
606
|
[Cn],
|
|
607
607
|
(t) => Object.values(t)
|
|
608
|
-
),
|
|
608
|
+
), Yr = y(
|
|
609
609
|
p(
|
|
610
610
|
[$n, (t, e) => e],
|
|
611
611
|
(t, e) => b(
|
|
@@ -635,7 +635,7 @@ const V = O(
|
|
|
635
635
|
return b(s);
|
|
636
636
|
}
|
|
637
637
|
)
|
|
638
|
-
),
|
|
638
|
+
), Jr = Vn.reducer, W = O(
|
|
639
639
|
(t) => t.uuid
|
|
640
640
|
), ms = W.getInitialState({}), Gn = P({
|
|
641
641
|
name: "assetProcedures",
|
|
@@ -656,7 +656,7 @@ const V = O(
|
|
|
656
656
|
deleteAssetProcedures: W.deleteMany
|
|
657
657
|
}
|
|
658
658
|
}), {
|
|
659
|
-
initializeAssetProcedures:
|
|
659
|
+
initializeAssetProcedures: Zr,
|
|
660
660
|
addAssetProcedure: As,
|
|
661
661
|
addAssetProcedures: TA,
|
|
662
662
|
updateAssetProcedure: it,
|
|
@@ -665,7 +665,7 @@ const V = O(
|
|
|
665
665
|
deleteAssetProcedures: OA,
|
|
666
666
|
setAssetProcedure: RA,
|
|
667
667
|
setAssetProcedures: IA
|
|
668
|
-
} = Gn.actions, Bn = (t) => t.assetProcedureReducer.instances,
|
|
668
|
+
} = Gn.actions, Bn = (t) => t.assetProcedureReducer.instances, Qr = p([Bn], (t) => Object.values(t)), ys = (t) => (e) => e.assetProcedureReducer.instances[t], vA = y(
|
|
669
669
|
p(
|
|
670
670
|
[Bn, (t, e) => e],
|
|
671
671
|
(t, e) => {
|
|
@@ -678,8 +678,8 @@ const V = O(
|
|
|
678
678
|
}
|
|
679
679
|
)
|
|
680
680
|
), wA = y(
|
|
681
|
-
p([
|
|
682
|
-
),
|
|
681
|
+
p([Qr, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
|
|
682
|
+
), Xr = Gn.reducer, K = O((t) => t.uuid), bs = K.getInitialState(
|
|
683
683
|
{}
|
|
684
684
|
), Ln = P({
|
|
685
685
|
name: "assetProcedureStepFieldsAttachments",
|
|
@@ -700,21 +700,21 @@ const V = O(
|
|
|
700
700
|
deleteAssetProcedureStepFieldsAttachments: K.deleteMany
|
|
701
701
|
}
|
|
702
702
|
}), {
|
|
703
|
-
initializeAssetProcedureStepFieldsAttachments:
|
|
703
|
+
initializeAssetProcedureStepFieldsAttachments: eo,
|
|
704
704
|
addAssetProcedureStepFieldsAttachment: kA,
|
|
705
|
-
addAssetProcedureStepFieldsAttachments:
|
|
705
|
+
addAssetProcedureStepFieldsAttachments: to,
|
|
706
706
|
setAssetProcedureStepFieldsAttachment: EA,
|
|
707
707
|
setAssetProcedureStepFieldsAttachments: qA,
|
|
708
708
|
updateAssetProcedureStepFieldsAttachment: jA,
|
|
709
|
-
updateAssetProcedureStepFieldsAttachments:
|
|
709
|
+
updateAssetProcedureStepFieldsAttachments: so,
|
|
710
710
|
deleteAssetProcedureStepFieldsAttachment: MA,
|
|
711
|
-
deleteAssetProcedureStepFieldsAttachments:
|
|
712
|
-
} = Ln.actions,
|
|
713
|
-
[
|
|
711
|
+
deleteAssetProcedureStepFieldsAttachments: io
|
|
712
|
+
} = Ln.actions, no = (t) => t.assetProcedureStepFieldsAttachmentReducer.instances, ao = p(
|
|
713
|
+
[no],
|
|
714
714
|
(t) => Object.values(t)
|
|
715
715
|
), zA = y(
|
|
716
|
-
p([
|
|
717
|
-
), DA = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t],
|
|
716
|
+
p([ao, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
717
|
+
), DA = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t], co = Ln.reducer, Y = O((t) => t.uuid), gs = Y.getInitialState({}), Nn = P({
|
|
718
718
|
name: "assetProcedureStepFields",
|
|
719
719
|
initialState: gs,
|
|
720
720
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -733,7 +733,7 @@ const V = O(
|
|
|
733
733
|
deleteAssetProcedureStepFieldsMany: Y.deleteMany
|
|
734
734
|
}
|
|
735
735
|
}), {
|
|
736
|
-
initializeAssetProcedureStepFields:
|
|
736
|
+
initializeAssetProcedureStepFields: ro,
|
|
737
737
|
addAssetProcedureStepFields: Ss,
|
|
738
738
|
addAssetProcedureStepFieldsMany: xA,
|
|
739
739
|
setAssetProcedureStepFields: UA,
|
|
@@ -762,7 +762,7 @@ const V = O(
|
|
|
762
762
|
}
|
|
763
763
|
return e;
|
|
764
764
|
}
|
|
765
|
-
), NA = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t],
|
|
765
|
+
), NA = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t], oo = Nn.reducer, J = O((t) => t.uuid), Ps = J.getInitialState({}), Kn = P({
|
|
766
766
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
767
767
|
initialState: Ps,
|
|
768
768
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -781,19 +781,19 @@ const V = O(
|
|
|
781
781
|
deleteAssetProcedureStepFieldValuesAttachments: J.deleteMany
|
|
782
782
|
}
|
|
783
783
|
}), {
|
|
784
|
-
initializeAssetProcedureStepFieldValuesAttachments:
|
|
784
|
+
initializeAssetProcedureStepFieldValuesAttachments: uo,
|
|
785
785
|
addAssetProcedureStepFieldValuesAttachment: HA,
|
|
786
786
|
addAssetProcedureStepFieldValuesAttachments: kt,
|
|
787
787
|
setAssetProcedureStepFieldValuesAttachment: WA,
|
|
788
788
|
setAssetProcedureStepFieldValuesAttachments: KA,
|
|
789
789
|
updateAssetProcedureStepFieldValuesAttachment: YA,
|
|
790
|
-
updateAssetProcedureStepFieldValuesAttachments:
|
|
790
|
+
updateAssetProcedureStepFieldValuesAttachments: lo,
|
|
791
791
|
deleteAssetProcedureStepFieldValuesAttachment: JA,
|
|
792
792
|
deleteAssetProcedureStepFieldValuesAttachments: Et
|
|
793
|
-
} = Kn.actions, Yn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances,
|
|
793
|
+
} = Kn.actions, Yn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, ho = p(
|
|
794
794
|
[Yn],
|
|
795
795
|
(t) => Object.values(t)
|
|
796
|
-
), ZA = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t],
|
|
796
|
+
), ZA = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t], po = y(
|
|
797
797
|
p(
|
|
798
798
|
[
|
|
799
799
|
Yn,
|
|
@@ -804,12 +804,12 @@ const V = O(
|
|
|
804
804
|
return b(Object.values(t).filter((i) => s.has(i.uuid)));
|
|
805
805
|
}
|
|
806
806
|
)
|
|
807
|
-
),
|
|
807
|
+
), mo = y(
|
|
808
808
|
p(
|
|
809
|
-
[
|
|
809
|
+
[ho, (t, e) => e],
|
|
810
810
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
811
811
|
)
|
|
812
|
-
),
|
|
812
|
+
), Ao = Kn.reducer, Z = O((t) => t.uuid), Ts = Z.getInitialState({}), Jn = P({
|
|
813
813
|
name: "assetProcedureStepFieldValues",
|
|
814
814
|
initialState: Ts,
|
|
815
815
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -828,17 +828,17 @@ const V = O(
|
|
|
828
828
|
deleteAssetProcedureStepFieldValuesMany: Z.deleteMany
|
|
829
829
|
}
|
|
830
830
|
}), {
|
|
831
|
-
initializeAssetProcedureStepFieldValues:
|
|
831
|
+
initializeAssetProcedureStepFieldValues: fo,
|
|
832
832
|
addAssetProcedureStepFieldValues: Fs,
|
|
833
|
-
addAssetProcedureStepFieldValuesMany:
|
|
833
|
+
addAssetProcedureStepFieldValuesMany: yo,
|
|
834
834
|
setAssetProcedureStepFieldValues: QA,
|
|
835
835
|
setAssetProcedureStepFieldValuesMany: XA,
|
|
836
836
|
updateAssetProcedureStepFieldValues: at,
|
|
837
|
-
updateAssetProcedureStepFieldValuesMany:
|
|
837
|
+
updateAssetProcedureStepFieldValuesMany: bo,
|
|
838
838
|
deleteAssetProcedureStepFieldValues: Os,
|
|
839
|
-
deleteAssetProcedureStepFieldValuesMany:
|
|
840
|
-
} = Jn.actions,
|
|
841
|
-
[
|
|
839
|
+
deleteAssetProcedureStepFieldValuesMany: go
|
|
840
|
+
} = Jn.actions, So = (t) => t.assetProcedureStepFieldValuesReducer.instances, $t = p(
|
|
841
|
+
[So],
|
|
842
842
|
(t) => Object.values(t)
|
|
843
843
|
), ef = y(
|
|
844
844
|
p(
|
|
@@ -849,7 +849,7 @@ const V = O(
|
|
|
849
849
|
p([$t, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
850
850
|
), sf = y(
|
|
851
851
|
p([$t, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_step === e)))
|
|
852
|
-
), Rs = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t],
|
|
852
|
+
), Rs = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t], _o = Jn.reducer, Q = O(
|
|
853
853
|
(t) => t.uuid
|
|
854
854
|
), Is = Q.getInitialState({}), Zn = P({
|
|
855
855
|
name: "assetProcedureSteps",
|
|
@@ -870,8 +870,8 @@ const V = O(
|
|
|
870
870
|
deleteAssetProcedureSteps: Q.deleteMany
|
|
871
871
|
}
|
|
872
872
|
}), {
|
|
873
|
-
initializeAssetProcedureSteps:
|
|
874
|
-
setAssetProcedureStep:
|
|
873
|
+
initializeAssetProcedureSteps: Po,
|
|
874
|
+
setAssetProcedureStep: To,
|
|
875
875
|
setAssetProcedureSteps: nf,
|
|
876
876
|
addAssetProcedureStep: af,
|
|
877
877
|
addAssetProcedureSteps: vs,
|
|
@@ -879,7 +879,7 @@ const V = O(
|
|
|
879
879
|
updateAssetProcedureSteps: bt,
|
|
880
880
|
deleteAssetProcedureStep: cf,
|
|
881
881
|
deleteAssetProcedureSteps: ks
|
|
882
|
-
} = Zn.actions,
|
|
882
|
+
} = Zn.actions, Fo = Zn.reducer, Gt = (t) => t.assetProcedureStepReducer.instances, Oo = (t) => (e) => e.assetProcedureStepReducer.instances[t], Ro = p([Gt], (t) => Object.values(t)), rf = y(
|
|
883
883
|
p([Gt, (t, e) => e], (t, e) => {
|
|
884
884
|
const s = {};
|
|
885
885
|
for (const [i, n] of Object.entries(t))
|
|
@@ -887,7 +887,7 @@ const V = O(
|
|
|
887
887
|
return Ze(s);
|
|
888
888
|
})
|
|
889
889
|
), of = y(
|
|
890
|
-
p([
|
|
890
|
+
p([Ro, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
891
891
|
), Es = y(
|
|
892
892
|
p(
|
|
893
893
|
[Gt, (t, e) => e],
|
|
@@ -919,7 +919,7 @@ const V = O(
|
|
|
919
919
|
deleteAssets: X.deleteMany
|
|
920
920
|
}
|
|
921
921
|
}), {
|
|
922
|
-
initializeAssets:
|
|
922
|
+
initializeAssets: Io,
|
|
923
923
|
addAsset: js,
|
|
924
924
|
addAssets: qt,
|
|
925
925
|
updateAsset: ct,
|
|
@@ -928,9 +928,9 @@ const V = O(
|
|
|
928
928
|
deleteAssets: Xn,
|
|
929
929
|
setAsset: uf,
|
|
930
930
|
setAssets: lf
|
|
931
|
-
} = Qn.actions, ea = (t) => t.assetReducer.instances,
|
|
932
|
-
p([
|
|
933
|
-
), zs = (t) => (e) => e.assetReducer.instances[t],
|
|
931
|
+
} = Qn.actions, ea = (t) => t.assetReducer.instances, vo = p([ea], (t) => b(Object.values(t))), ta = y(
|
|
932
|
+
p([vo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
933
|
+
), zs = (t) => (e) => e.assetReducer.instances[t], wo = y(
|
|
934
934
|
p([ea, (t, e) => e], (t, e) => {
|
|
935
935
|
const s = [];
|
|
936
936
|
for (const i of e) {
|
|
@@ -939,7 +939,7 @@ const V = O(
|
|
|
939
939
|
}
|
|
940
940
|
return b(s);
|
|
941
941
|
})
|
|
942
|
-
), hf = (t) => (e) => ta(t)(e).length,
|
|
942
|
+
), hf = (t) => (e) => ta(t)(e).length, ko = Qn.reducer, ee = O(
|
|
943
943
|
(t) => t.uuid
|
|
944
944
|
), Ds = ee.getInitialState({}), sa = P({
|
|
945
945
|
name: "assetStageCompletions",
|
|
@@ -960,19 +960,19 @@ const V = O(
|
|
|
960
960
|
deleteAssetStageCompletions: ee.deleteMany
|
|
961
961
|
}
|
|
962
962
|
}), {
|
|
963
|
-
initializeAssetStageCompletions:
|
|
963
|
+
initializeAssetStageCompletions: Eo,
|
|
964
964
|
addAssetStageCompletion: xs,
|
|
965
965
|
addAssetStageCompletions: Us,
|
|
966
966
|
setAssetStageCompletion: pf,
|
|
967
967
|
setAssetStageCompletions: mf,
|
|
968
|
-
updateAssetStageCompletion:
|
|
969
|
-
updateAssetStageCompletions:
|
|
968
|
+
updateAssetStageCompletion: qo,
|
|
969
|
+
updateAssetStageCompletions: jo,
|
|
970
970
|
deleteAssetStageCompletion: Vs,
|
|
971
971
|
deleteAssetStageCompletions: Cs
|
|
972
|
-
} = sa.actions,
|
|
972
|
+
} = sa.actions, Mo = sa.reducer, ia = (t) => t.assetStageCompletionReducer.instances, Af = p(
|
|
973
973
|
[ia],
|
|
974
974
|
(t) => Object.values(t)
|
|
975
|
-
),
|
|
975
|
+
), zo = (t) => (e) => e.assetStageCompletionReducer.instances[t], Do = y(
|
|
976
976
|
p(
|
|
977
977
|
[ia, (t, e) => e],
|
|
978
978
|
(t, e) => {
|
|
@@ -1003,8 +1003,8 @@ const V = O(
|
|
|
1003
1003
|
deleteAssetStages: te.deleteMany
|
|
1004
1004
|
}
|
|
1005
1005
|
}), {
|
|
1006
|
-
initializeAssetStages:
|
|
1007
|
-
setAssetStage:
|
|
1006
|
+
initializeAssetStages: xo,
|
|
1007
|
+
setAssetStage: Uo,
|
|
1008
1008
|
setAssetStages: ff,
|
|
1009
1009
|
addAssetStage: yf,
|
|
1010
1010
|
addAssetStages: Gs,
|
|
@@ -1012,7 +1012,7 @@ const V = O(
|
|
|
1012
1012
|
updateAssetStages: gt,
|
|
1013
1013
|
deleteAssetStage: bf,
|
|
1014
1014
|
deleteAssetStages: Ls
|
|
1015
|
-
} = na.actions,
|
|
1015
|
+
} = na.actions, Vo = na.reducer, Bt = (t) => t.assetStageReducer.instances, Co = (t) => (e) => e.assetStageReducer.instances[t], $o = p([Bt], (t) => Object.values(t)), gf = y(
|
|
1016
1016
|
p([Bt, (t, e) => e], (t, e) => {
|
|
1017
1017
|
const s = {};
|
|
1018
1018
|
for (const [i, n] of Object.entries(t))
|
|
@@ -1020,7 +1020,7 @@ const V = O(
|
|
|
1020
1020
|
return Ze(s);
|
|
1021
1021
|
})
|
|
1022
1022
|
), Sf = y(
|
|
1023
|
-
p([
|
|
1023
|
+
p([$o, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
1024
1024
|
), Ns = y(
|
|
1025
1025
|
p([Bt, (t, e) => e], (t, e) => {
|
|
1026
1026
|
const s = [];
|
|
@@ -1051,24 +1051,24 @@ const V = O(
|
|
|
1051
1051
|
deleteAssetTypeAttachments: se.deleteMany
|
|
1052
1052
|
}
|
|
1053
1053
|
}), {
|
|
1054
|
-
initializeAssetTypeAttachments:
|
|
1054
|
+
initializeAssetTypeAttachments: Go,
|
|
1055
1055
|
addAssetTypeAttachment: _f,
|
|
1056
1056
|
addAssetTypeAttachments: ca,
|
|
1057
|
-
setAssetTypeAttachment:
|
|
1057
|
+
setAssetTypeAttachment: Bo,
|
|
1058
1058
|
setAssetTypeAttachments: Pf,
|
|
1059
1059
|
updateAssetTypeAttachment: Tf,
|
|
1060
|
-
updateAssetTypeAttachments:
|
|
1061
|
-
deleteAssetTypeAttachment:
|
|
1060
|
+
updateAssetTypeAttachments: Lo,
|
|
1061
|
+
deleteAssetTypeAttachment: No,
|
|
1062
1062
|
deleteAssetTypeAttachments: ra
|
|
1063
|
-
} = aa.actions,
|
|
1064
|
-
[
|
|
1063
|
+
} = aa.actions, Ho = (t) => t.assetTypeAttachmentReducer.instances, Wo = p(
|
|
1064
|
+
[Ho],
|
|
1065
1065
|
(t) => Object.values(t)
|
|
1066
|
-
),
|
|
1066
|
+
), Ko = (t) => (e) => e.assetTypeAttachmentReducer.instances[t], Yo = y(
|
|
1067
1067
|
p(
|
|
1068
|
-
[
|
|
1068
|
+
[Wo, (t, e) => e],
|
|
1069
1069
|
(t, e) => b(t.filter(({ asset_type: s }) => e === s))
|
|
1070
1070
|
)
|
|
1071
|
-
),
|
|
1071
|
+
), Jo = aa.reducer, ie = O((t) => t.uuid), Ws = ie.getInitialState({}), oa = P({
|
|
1072
1072
|
name: "assetTypeFieldsAttachments",
|
|
1073
1073
|
initialState: Ws,
|
|
1074
1074
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -1087,21 +1087,21 @@ const V = O(
|
|
|
1087
1087
|
deleteAssetTypeFieldsAttachments: ie.deleteMany
|
|
1088
1088
|
}
|
|
1089
1089
|
}), {
|
|
1090
|
-
initializeAssetTypeFieldsAttachments:
|
|
1090
|
+
initializeAssetTypeFieldsAttachments: Zo,
|
|
1091
1091
|
addAssetTypeFieldsAttachment: Ff,
|
|
1092
|
-
addAssetTypeFieldsAttachments:
|
|
1092
|
+
addAssetTypeFieldsAttachments: Qo,
|
|
1093
1093
|
setAssetTypeFieldsAttachment: Of,
|
|
1094
1094
|
setAssetTypeFieldsAttachments: Rf,
|
|
1095
1095
|
updateAssetTypeFieldsAttachment: If,
|
|
1096
|
-
updateAssetTypeFieldsAttachments:
|
|
1096
|
+
updateAssetTypeFieldsAttachments: Xo,
|
|
1097
1097
|
deleteAssetTypeFieldsAttachment: vf,
|
|
1098
|
-
deleteAssetTypeFieldsAttachments:
|
|
1099
|
-
} = oa.actions,
|
|
1100
|
-
[
|
|
1098
|
+
deleteAssetTypeFieldsAttachments: ed
|
|
1099
|
+
} = oa.actions, td = (t) => t.assetTypeFieldsAttachmentReducer.instances, sd = p(
|
|
1100
|
+
[td],
|
|
1101
1101
|
(t) => Object.values(t)
|
|
1102
1102
|
), wf = y(
|
|
1103
|
-
p([
|
|
1104
|
-
), kf = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t],
|
|
1103
|
+
p([sd, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
1104
|
+
), kf = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], id = oa.reducer, ne = O(
|
|
1105
1105
|
(t) => t.uuid
|
|
1106
1106
|
), Ks = ne.getInitialState({}), da = P({
|
|
1107
1107
|
name: "assetTypeFields",
|
|
@@ -1122,20 +1122,20 @@ const V = O(
|
|
|
1122
1122
|
deleteAssetTypeFieldsMany: ne.deleteMany
|
|
1123
1123
|
}
|
|
1124
1124
|
}), {
|
|
1125
|
-
initializeAssetTypeFields:
|
|
1126
|
-
addAssetTypeFields:
|
|
1125
|
+
initializeAssetTypeFields: nd,
|
|
1126
|
+
addAssetTypeFields: ad,
|
|
1127
1127
|
addAssetTypeFieldsMany: Ef,
|
|
1128
1128
|
setAssetTypeFields: qf,
|
|
1129
1129
|
setAssetTypeFieldsMany: jf,
|
|
1130
|
-
updateAssetTypeFields:
|
|
1130
|
+
updateAssetTypeFields: cd,
|
|
1131
1131
|
updateAssetTypeFieldsMany: Mf,
|
|
1132
|
-
deleteAssetTypeFields:
|
|
1132
|
+
deleteAssetTypeFields: rd,
|
|
1133
1133
|
deleteAssetTypeFieldsMany: zf
|
|
1134
|
-
} = da.actions,
|
|
1134
|
+
} = da.actions, od = (t) => t.assetTypeFieldsReducer.instances, Lt = p([od], (t) => Object.values(t)), Df = y(
|
|
1135
1135
|
p([Lt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
1136
1136
|
), xf = y(
|
|
1137
1137
|
p([Lt, (t, e) => e], (t, e) => t.filter((s) => s.asset_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1138
|
-
), Uf = (t) => (e) => e.assetTypeFieldsReducer.instances[t],
|
|
1138
|
+
), Uf = (t) => (e) => e.assetTypeFieldsReducer.instances[t], dd = da.reducer, ae = O((t) => t.uuid), Ys = ae.getInitialState({}), ua = P({
|
|
1139
1139
|
name: "assetTypeFieldValuesAttachments",
|
|
1140
1140
|
initialState: Ys,
|
|
1141
1141
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -1154,19 +1154,19 @@ const V = O(
|
|
|
1154
1154
|
deleteAssetTypeFieldValuesAttachments: ae.deleteMany
|
|
1155
1155
|
}
|
|
1156
1156
|
}), {
|
|
1157
|
-
initializeAssetTypeFieldValuesAttachments:
|
|
1157
|
+
initializeAssetTypeFieldValuesAttachments: ud,
|
|
1158
1158
|
addAssetTypeFieldValuesAttachment: Vf,
|
|
1159
1159
|
addAssetTypeFieldValuesAttachments: jt,
|
|
1160
1160
|
setAssetTypeFieldValuesAttachment: Cf,
|
|
1161
1161
|
setAssetTypeFieldValuesAttachments: $f,
|
|
1162
1162
|
updateAssetTypeFieldValuesAttachment: Gf,
|
|
1163
|
-
updateAssetTypeFieldValuesAttachments:
|
|
1163
|
+
updateAssetTypeFieldValuesAttachments: ld,
|
|
1164
1164
|
deleteAssetTypeFieldValuesAttachment: Bf,
|
|
1165
1165
|
deleteAssetTypeFieldValuesAttachments: Mt
|
|
1166
|
-
} = ua.actions, la = (t) => t.assetTypeFieldValuesAttachmentReducer.instances,
|
|
1166
|
+
} = ua.actions, la = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, hd = p(
|
|
1167
1167
|
[la],
|
|
1168
1168
|
(t) => Object.values(t)
|
|
1169
|
-
), Lf = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t],
|
|
1169
|
+
), Lf = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], pd = y(
|
|
1170
1170
|
p(
|
|
1171
1171
|
[
|
|
1172
1172
|
la,
|
|
@@ -1179,9 +1179,9 @@ const V = O(
|
|
|
1179
1179
|
);
|
|
1180
1180
|
}
|
|
1181
1181
|
)
|
|
1182
|
-
),
|
|
1183
|
-
p([
|
|
1184
|
-
),
|
|
1182
|
+
), md = y(
|
|
1183
|
+
p([hd, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
|
|
1184
|
+
), Ad = ua.reducer, ce = O(
|
|
1185
1185
|
(t) => t.uuid
|
|
1186
1186
|
), Js = ce.getInitialState({}), ha = P({
|
|
1187
1187
|
name: "assetTypeFieldValues",
|
|
@@ -1202,16 +1202,16 @@ const V = O(
|
|
|
1202
1202
|
deleteAssetTypeFieldValuesMany: ce.deleteMany
|
|
1203
1203
|
}
|
|
1204
1204
|
}), {
|
|
1205
|
-
initializeAssetTypeFieldValues:
|
|
1205
|
+
initializeAssetTypeFieldValues: fd,
|
|
1206
1206
|
addAssetTypeFieldValues: Zs,
|
|
1207
|
-
addAssetTypeFieldValuesMany:
|
|
1207
|
+
addAssetTypeFieldValuesMany: yd,
|
|
1208
1208
|
setAssetTypeFieldValues: Nf,
|
|
1209
1209
|
setAssetTypeFieldValuesMany: Hf,
|
|
1210
1210
|
updateAssetTypeFieldValues: rt,
|
|
1211
|
-
updateAssetTypeFieldValuesMany:
|
|
1211
|
+
updateAssetTypeFieldValuesMany: bd,
|
|
1212
1212
|
deleteAssetTypeFieldValues: Qs,
|
|
1213
|
-
deleteAssetTypeFieldValuesMany:
|
|
1214
|
-
} = ha.actions,
|
|
1213
|
+
deleteAssetTypeFieldValuesMany: gd
|
|
1214
|
+
} = ha.actions, Sd = (t) => t.assetTypeFieldValuesReducer.instances, pa = p([Sd], (t) => Object.values(t)), Wf = y(
|
|
1215
1215
|
p([pa, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
1216
1216
|
), Kf = y(
|
|
1217
1217
|
p(
|
|
@@ -1223,7 +1223,7 @@ const V = O(
|
|
|
1223
1223
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1224
1224
|
}
|
|
1225
1225
|
)
|
|
1226
|
-
), Xs = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t],
|
|
1226
|
+
), Xs = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], _d = ha.reducer, re = O((t) => t.uuid), ei = re.getInitialState({}), ma = P({
|
|
1227
1227
|
name: "assetTypes",
|
|
1228
1228
|
initialState: ei,
|
|
1229
1229
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -1242,7 +1242,7 @@ const V = O(
|
|
|
1242
1242
|
deleteAssetTypes: re.deleteMany
|
|
1243
1243
|
}
|
|
1244
1244
|
}), {
|
|
1245
|
-
initializeAssetTypes:
|
|
1245
|
+
initializeAssetTypes: Pd,
|
|
1246
1246
|
setAssetType: Yf,
|
|
1247
1247
|
setAssetTypes: Jf,
|
|
1248
1248
|
addAssetType: ti,
|
|
@@ -1251,7 +1251,7 @@ const V = O(
|
|
|
1251
1251
|
updateAssetTypes: Qf,
|
|
1252
1252
|
deleteAssetType: si,
|
|
1253
1253
|
deleteAssetTypes: Xf
|
|
1254
|
-
} = ma.actions, Aa = (t) => t.assetTypeReducer.instances,
|
|
1254
|
+
} = ma.actions, Aa = (t) => t.assetTypeReducer.instances, Td = p(
|
|
1255
1255
|
[Aa],
|
|
1256
1256
|
(t) => Object.values(t)
|
|
1257
1257
|
), ii = (t) => (e) => e.assetTypeReducer.instances[t], ey = y(
|
|
@@ -1267,8 +1267,8 @@ const V = O(
|
|
|
1267
1267
|
}
|
|
1268
1268
|
)
|
|
1269
1269
|
), ty = y(
|
|
1270
|
-
p([
|
|
1271
|
-
),
|
|
1270
|
+
p([Td, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
|
|
1271
|
+
), Fd = ma.reducer, ni = {
|
|
1272
1272
|
accessToken: "",
|
|
1273
1273
|
refreshToken: "",
|
|
1274
1274
|
isLoggedIn: !1
|
|
@@ -1287,7 +1287,7 @@ const V = O(
|
|
|
1287
1287
|
e.payload || Nt.caseReducers.clearTokens(t), t.isLoggedIn = e.payload;
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
}), { setTokens: sy, clearTokens: iy, setLoggedIn:
|
|
1290
|
+
}), { setTokens: sy, clearTokens: iy, setLoggedIn: Od } = Nt.actions, ny = (t) => t.authReducer.accessToken, ay = (t) => t.authReducer.isLoggedIn, Rd = Nt.reducer, oe = O((t) => t.uuid), ai = oe.getInitialState({}), fa = P({
|
|
1291
1291
|
name: "categories",
|
|
1292
1292
|
initialState: ai,
|
|
1293
1293
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -1306,16 +1306,16 @@ const V = O(
|
|
|
1306
1306
|
deleteCategories: oe.deleteMany
|
|
1307
1307
|
}
|
|
1308
1308
|
}), {
|
|
1309
|
-
initializeCategories:
|
|
1309
|
+
initializeCategories: Id,
|
|
1310
1310
|
addCategory: ci,
|
|
1311
1311
|
addCategories: cy,
|
|
1312
1312
|
setCategory: ry,
|
|
1313
1313
|
setCategories: oy,
|
|
1314
|
-
updateCategory:
|
|
1314
|
+
updateCategory: vd,
|
|
1315
1315
|
updateCategories: dy,
|
|
1316
|
-
deleteCategory:
|
|
1316
|
+
deleteCategory: wd,
|
|
1317
1317
|
deleteCategories: uy
|
|
1318
|
-
} = fa.actions, ya = (t) => t.categoryReducer.instances,
|
|
1318
|
+
} = fa.actions, ya = (t) => t.categoryReducer.instances, kd = p([ya], (t) => Object.values(t)), ri = (t) => (e) => e.categoryReducer.instances[t], ly = y(
|
|
1319
1319
|
p(
|
|
1320
1320
|
[ya, (t, e) => e],
|
|
1321
1321
|
(t, e) => {
|
|
@@ -1328,8 +1328,8 @@ const V = O(
|
|
|
1328
1328
|
}
|
|
1329
1329
|
)
|
|
1330
1330
|
), hy = y(
|
|
1331
|
-
p([
|
|
1332
|
-
),
|
|
1331
|
+
p([kd, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
|
|
1332
|
+
), Ed = fa.reducer, de = O(
|
|
1333
1333
|
(t) => t.uuid
|
|
1334
1334
|
), oi = de.getInitialState({}), ba = P({
|
|
1335
1335
|
name: "documentAttachments",
|
|
@@ -1347,24 +1347,24 @@ const V = O(
|
|
|
1347
1347
|
deleteDocumentAttachments: de.deleteMany
|
|
1348
1348
|
}
|
|
1349
1349
|
}), {
|
|
1350
|
-
initializeDocumentAttachments:
|
|
1351
|
-
addDocumentAttachment:
|
|
1352
|
-
addDocumentAttachments:
|
|
1353
|
-
setDocumentAttachment:
|
|
1354
|
-
setDocumentAttachments:
|
|
1355
|
-
updateDocumentAttachment:
|
|
1356
|
-
updateDocumentAttachments:
|
|
1357
|
-
deleteDocumentAttachment:
|
|
1358
|
-
deleteDocumentAttachments:
|
|
1359
|
-
} = ba.actions,
|
|
1360
|
-
[
|
|
1350
|
+
initializeDocumentAttachments: qd,
|
|
1351
|
+
addDocumentAttachment: py,
|
|
1352
|
+
addDocumentAttachments: jd,
|
|
1353
|
+
setDocumentAttachment: Md,
|
|
1354
|
+
setDocumentAttachments: my,
|
|
1355
|
+
updateDocumentAttachment: Ay,
|
|
1356
|
+
updateDocumentAttachments: zd,
|
|
1357
|
+
deleteDocumentAttachment: Dd,
|
|
1358
|
+
deleteDocumentAttachments: xd
|
|
1359
|
+
} = ba.actions, Ud = (t) => t.documentAttachmentReducer.instances, Vd = p(
|
|
1360
|
+
[Ud],
|
|
1361
1361
|
(t) => Object.values(t)
|
|
1362
|
-
),
|
|
1362
|
+
), Cd = (t) => (e) => e.documentAttachmentReducer.instances[t], fy = y(
|
|
1363
1363
|
p(
|
|
1364
|
-
[
|
|
1364
|
+
[Vd, (t, e) => e],
|
|
1365
1365
|
(t, e) => b(t.filter(({ document: s }) => e === s))
|
|
1366
1366
|
)
|
|
1367
|
-
),
|
|
1367
|
+
), $d = ba.reducer, di = {
|
|
1368
1368
|
documents: {}
|
|
1369
1369
|
}, ga = P({
|
|
1370
1370
|
name: "documents",
|
|
@@ -1374,9 +1374,9 @@ const V = O(
|
|
|
1374
1374
|
}),
|
|
1375
1375
|
reducers: {
|
|
1376
1376
|
setDocuments: (t, e) => {
|
|
1377
|
-
if (e.payload.filter(
|
|
1377
|
+
if (e.payload.filter(Zc).length !== e.payload.length)
|
|
1378
1378
|
throw new Error("Tried to use setIssues reducer with duplicate ID's");
|
|
1379
|
-
t.documents =
|
|
1379
|
+
t.documents = Jc(e.payload);
|
|
1380
1380
|
},
|
|
1381
1381
|
addDocuments: (t, e) => {
|
|
1382
1382
|
for (const s of e.payload)
|
|
@@ -1490,10 +1490,10 @@ const V = O(
|
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
1492
|
}
|
|
1493
|
-
}), { setDocuments:
|
|
1493
|
+
}), { setDocuments: Gd, addDocuments: Bd, updateDocuments: Ue, moveDocument: Ld, removeDocuments: ui } = ga.actions, Ye = (t) => t.documentsReducer.documents, Nd = p(
|
|
1494
1494
|
[Ye],
|
|
1495
1495
|
(t) => Object.values(t)
|
|
1496
|
-
),
|
|
1496
|
+
), Hd = (t) => (e) => e.documentsReducer.documents[t], yy = y(
|
|
1497
1497
|
p(
|
|
1498
1498
|
[Ye, (t, e) => e],
|
|
1499
1499
|
(t, e) => {
|
|
@@ -1505,7 +1505,7 @@ const V = O(
|
|
|
1505
1505
|
return b(s);
|
|
1506
1506
|
}
|
|
1507
1507
|
)
|
|
1508
|
-
),
|
|
1508
|
+
), by = y(
|
|
1509
1509
|
p(
|
|
1510
1510
|
[Ye, (t, e) => e],
|
|
1511
1511
|
(t, e) => {
|
|
@@ -1517,10 +1517,10 @@ const V = O(
|
|
|
1517
1517
|
return b(s);
|
|
1518
1518
|
}
|
|
1519
1519
|
)
|
|
1520
|
-
),
|
|
1521
|
-
[
|
|
1520
|
+
), gy = p(
|
|
1521
|
+
[Nd],
|
|
1522
1522
|
(t) => b(t.filter((e) => !e.parent_document))
|
|
1523
|
-
),
|
|
1523
|
+
), Wd = ga.reducer, ue = O(
|
|
1524
1524
|
(t) => t.uuid
|
|
1525
1525
|
), li = ue.getInitialState({}), Sa = P({
|
|
1526
1526
|
name: "emailDomains",
|
|
@@ -1541,31 +1541,31 @@ const V = O(
|
|
|
1541
1541
|
deleteEmailDomains: ue.deleteMany
|
|
1542
1542
|
}
|
|
1543
1543
|
}), {
|
|
1544
|
-
initializeEmailDomains:
|
|
1545
|
-
addEmailDomain:
|
|
1546
|
-
addEmailDomains:
|
|
1547
|
-
setEmailDomain:
|
|
1548
|
-
setEmailDomains:
|
|
1549
|
-
updateEmailDomain:
|
|
1550
|
-
updateEmailDomains:
|
|
1551
|
-
deleteEmailDomain:
|
|
1552
|
-
deleteEmailDomains:
|
|
1553
|
-
} = Sa.actions,
|
|
1544
|
+
initializeEmailDomains: Kd,
|
|
1545
|
+
addEmailDomain: Yd,
|
|
1546
|
+
addEmailDomains: Sy,
|
|
1547
|
+
setEmailDomain: _y,
|
|
1548
|
+
setEmailDomains: Py,
|
|
1549
|
+
updateEmailDomain: Ty,
|
|
1550
|
+
updateEmailDomains: Fy,
|
|
1551
|
+
deleteEmailDomain: Jd,
|
|
1552
|
+
deleteEmailDomains: Oy
|
|
1553
|
+
} = Sa.actions, Zd = (t) => t.emailDomainsReducer.instances, Qd = p([Zd], (t) => Object.values(t)), Ry = y(
|
|
1554
1554
|
p(
|
|
1555
|
-
[
|
|
1555
|
+
[Qd, (t, e) => e],
|
|
1556
1556
|
(t, e) => b(
|
|
1557
1557
|
t.filter((s) => s.organization === e)
|
|
1558
1558
|
)
|
|
1559
1559
|
)
|
|
1560
|
-
),
|
|
1560
|
+
), Xd = Sa.reducer, hi = {
|
|
1561
1561
|
s3Urls: {}
|
|
1562
|
-
}, _a = 1e3 * 60 * 60,
|
|
1562
|
+
}, _a = 1e3 * 60 * 60, eu = _a * 24 * 7, Pa = P({
|
|
1563
1563
|
name: "file",
|
|
1564
1564
|
initialState: hi,
|
|
1565
1565
|
extraReducers: (t) => t.addCase(_, (e) => Object.assign(e, hi)),
|
|
1566
1566
|
reducers: {
|
|
1567
1567
|
setUploadUrl: (t, e) => {
|
|
1568
|
-
const { url: s, fields: i, sha1: n } = e.payload, a = /* @__PURE__ */ new Date(), c = new Date(a.getTime() +
|
|
1568
|
+
const { url: s, fields: i, sha1: n } = e.payload, a = /* @__PURE__ */ new Date(), c = new Date(a.getTime() + eu);
|
|
1569
1569
|
t.s3Urls[n] = {
|
|
1570
1570
|
url: s,
|
|
1571
1571
|
fields: i,
|
|
@@ -1573,14 +1573,14 @@ const V = O(
|
|
|
1573
1573
|
};
|
|
1574
1574
|
}
|
|
1575
1575
|
}
|
|
1576
|
-
}), { setUploadUrl:
|
|
1576
|
+
}), { setUploadUrl: tu } = Pa.actions, su = (t) => (e) => {
|
|
1577
1577
|
const s = e.fileReducer.s3Urls[t];
|
|
1578
1578
|
if (!s)
|
|
1579
1579
|
return;
|
|
1580
1580
|
const i = (/* @__PURE__ */ new Date()).getTime();
|
|
1581
1581
|
if (!((s.exp ?? i) - i < _a))
|
|
1582
1582
|
return s;
|
|
1583
|
-
},
|
|
1583
|
+
}, iu = Pa.reducer, le = O((t) => t.uuid), pi = le.getInitialState({}), Ta = P({
|
|
1584
1584
|
name: "formRevisionAttachments",
|
|
1585
1585
|
initialState: pi,
|
|
1586
1586
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -1599,23 +1599,23 @@ const V = O(
|
|
|
1599
1599
|
deleteFormRevisionAttachments: le.deleteMany
|
|
1600
1600
|
}
|
|
1601
1601
|
}), {
|
|
1602
|
-
initializeFormRevisionAttachments:
|
|
1603
|
-
addFormRevisionAttachment:
|
|
1604
|
-
addFormRevisionAttachments:
|
|
1605
|
-
setFormRevisionAttachment:
|
|
1606
|
-
setFormRevisionAttachments:
|
|
1607
|
-
updateFormRevisionAttachment:
|
|
1608
|
-
updateFormRevisionAttachments:
|
|
1609
|
-
deleteFormRevisionAttachment:
|
|
1610
|
-
deleteFormRevisionAttachments:
|
|
1611
|
-
} = Ta.actions,
|
|
1602
|
+
initializeFormRevisionAttachments: nu,
|
|
1603
|
+
addFormRevisionAttachment: Iy,
|
|
1604
|
+
addFormRevisionAttachments: au,
|
|
1605
|
+
setFormRevisionAttachment: vy,
|
|
1606
|
+
setFormRevisionAttachments: wy,
|
|
1607
|
+
updateFormRevisionAttachment: ky,
|
|
1608
|
+
updateFormRevisionAttachments: cu,
|
|
1609
|
+
deleteFormRevisionAttachment: Ey,
|
|
1610
|
+
deleteFormRevisionAttachments: ru
|
|
1611
|
+
} = Ta.actions, ou = (t) => t.formRevisionAttachmentReducer.instances, qy = y(
|
|
1612
1612
|
p(
|
|
1613
|
-
[
|
|
1613
|
+
[ou, (t, e) => e],
|
|
1614
1614
|
(t, e) => b(
|
|
1615
1615
|
Object.values(t).filter((s) => s.form_revision === e)
|
|
1616
1616
|
)
|
|
1617
1617
|
)
|
|
1618
|
-
),
|
|
1618
|
+
), du = Ta.reducer, uu = (t, e) => {
|
|
1619
1619
|
const s = t.revision, i = e.revision;
|
|
1620
1620
|
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;
|
|
1621
1621
|
}, he = O((t) => t.uuid), mi = he.getInitialState({}), Fa = P({
|
|
@@ -1637,34 +1637,34 @@ const V = O(
|
|
|
1637
1637
|
deleteFormRevisions: he.deleteMany
|
|
1638
1638
|
}
|
|
1639
1639
|
}), {
|
|
1640
|
-
initializeFormRevisions:
|
|
1640
|
+
initializeFormRevisions: lu,
|
|
1641
1641
|
addFormRevision: Oa,
|
|
1642
|
-
addFormRevisions:
|
|
1643
|
-
setFormRevision:
|
|
1644
|
-
setFormRevisions:
|
|
1645
|
-
updateFormRevision:
|
|
1646
|
-
updateFormRevisions:
|
|
1642
|
+
addFormRevisions: hu,
|
|
1643
|
+
setFormRevision: pu,
|
|
1644
|
+
setFormRevisions: jy,
|
|
1645
|
+
updateFormRevision: My,
|
|
1646
|
+
updateFormRevisions: zy,
|
|
1647
1647
|
deleteFormRevision: Ra,
|
|
1648
|
-
deleteFormRevisions:
|
|
1649
|
-
} = Fa.actions, Ht = (t) => t.formRevisionReducer.instances,
|
|
1648
|
+
deleteFormRevisions: mu
|
|
1649
|
+
} = Fa.actions, Ht = (t) => t.formRevisionReducer.instances, Au = p(
|
|
1650
1650
|
[Ht],
|
|
1651
1651
|
(t) => Object.values(t)
|
|
1652
|
-
),
|
|
1652
|
+
), Dy = (t) => (e) => e.formRevisionReducer.instances[t], xy = y(
|
|
1653
1653
|
p(
|
|
1654
1654
|
[Ht, (t, e) => e],
|
|
1655
1655
|
(t, e) => {
|
|
1656
1656
|
const s = Object.values(t).filter((a) => a.form === e);
|
|
1657
1657
|
if (s.length === 0) return;
|
|
1658
|
-
const n = s.sort(
|
|
1658
|
+
const n = s.sort(uu)[s.length - 1];
|
|
1659
1659
|
return t[n.uuid];
|
|
1660
1660
|
}
|
|
1661
1661
|
)
|
|
1662
|
-
),
|
|
1662
|
+
), fu = y(
|
|
1663
1663
|
p(
|
|
1664
|
-
[
|
|
1664
|
+
[Au, (t, e) => e],
|
|
1665
1665
|
(t, e) => b(t.filter((s) => s.form === e))
|
|
1666
1666
|
)
|
|
1667
|
-
),
|
|
1667
|
+
), yu = Fa.reducer, pe = O((t) => t.uuid), Ai = pe.getInitialState({}), Ia = P({
|
|
1668
1668
|
name: "forms",
|
|
1669
1669
|
initialState: Ai,
|
|
1670
1670
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -1683,17 +1683,17 @@ const V = O(
|
|
|
1683
1683
|
deleteForms: pe.deleteMany
|
|
1684
1684
|
}
|
|
1685
1685
|
}), {
|
|
1686
|
-
initializeForms:
|
|
1686
|
+
initializeForms: bu,
|
|
1687
1687
|
addForm: fi,
|
|
1688
|
-
addForms:
|
|
1689
|
-
setForm:
|
|
1690
|
-
setForms:
|
|
1691
|
-
updateForm:
|
|
1692
|
-
updateForms:
|
|
1688
|
+
addForms: Uy,
|
|
1689
|
+
setForm: Vy,
|
|
1690
|
+
setForms: Cy,
|
|
1691
|
+
updateForm: $y,
|
|
1692
|
+
updateForms: Gy,
|
|
1693
1693
|
deleteForm: yi,
|
|
1694
|
-
deleteForms:
|
|
1695
|
-
} = Ia.actions,
|
|
1696
|
-
p([
|
|
1694
|
+
deleteForms: By
|
|
1695
|
+
} = Ia.actions, gu = Ia.reducer, Su = (t) => t.formReducer.instances, _u = p([Su], (t) => Object.values(t)), Pu = (t) => (e) => e.formReducer.instances[t], Ly = y(
|
|
1696
|
+
p([_u, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
|
|
1697
1697
|
), me = O((t) => t.uuid), bi = me.getInitialState({}), va = P({
|
|
1698
1698
|
name: "formSubmissionAttachments",
|
|
1699
1699
|
initialState: bi,
|
|
@@ -1713,16 +1713,16 @@ const V = O(
|
|
|
1713
1713
|
deleteFormSubmissionAttachments: me.deleteMany
|
|
1714
1714
|
}
|
|
1715
1715
|
}), {
|
|
1716
|
-
initializeFormSubmissionAttachments:
|
|
1717
|
-
addFormSubmissionAttachment:
|
|
1716
|
+
initializeFormSubmissionAttachments: Tu,
|
|
1717
|
+
addFormSubmissionAttachment: Ny,
|
|
1718
1718
|
addFormSubmissionAttachments: zt,
|
|
1719
|
-
setFormSubmissionAttachment:
|
|
1720
|
-
setFormSubmissionAttachments:
|
|
1721
|
-
updateFormSubmissionAttachment:
|
|
1722
|
-
updateFormSubmissionAttachments:
|
|
1723
|
-
deleteFormSubmissionAttachment:
|
|
1719
|
+
setFormSubmissionAttachment: Hy,
|
|
1720
|
+
setFormSubmissionAttachments: Wy,
|
|
1721
|
+
updateFormSubmissionAttachment: Ky,
|
|
1722
|
+
updateFormSubmissionAttachments: Fu,
|
|
1723
|
+
deleteFormSubmissionAttachment: Yy,
|
|
1724
1724
|
deleteFormSubmissionAttachments: Dt
|
|
1725
|
-
} = va.actions, wa = (t) => t.formSubmissionAttachmentReducer.instances,
|
|
1725
|
+
} = va.actions, wa = (t) => t.formSubmissionAttachmentReducer.instances, Ou = y(
|
|
1726
1726
|
p(
|
|
1727
1727
|
[
|
|
1728
1728
|
wa,
|
|
@@ -1735,14 +1735,14 @@ const V = O(
|
|
|
1735
1735
|
);
|
|
1736
1736
|
}
|
|
1737
1737
|
)
|
|
1738
|
-
),
|
|
1738
|
+
), Ru = y(
|
|
1739
1739
|
p(
|
|
1740
1740
|
[wa, (t, e) => e],
|
|
1741
1741
|
(t, e) => b(
|
|
1742
1742
|
Object.values(t).filter((s) => s.form_submission === e)
|
|
1743
1743
|
)
|
|
1744
1744
|
)
|
|
1745
|
-
),
|
|
1745
|
+
), Iu = va.reducer, Ae = O(
|
|
1746
1746
|
(t) => t.uuid
|
|
1747
1747
|
), gi = Ae.getInitialState({}), ka = P({
|
|
1748
1748
|
name: "formSubmissions",
|
|
@@ -1763,19 +1763,19 @@ const V = O(
|
|
|
1763
1763
|
deleteFormSubmissions: Ae.deleteMany
|
|
1764
1764
|
}
|
|
1765
1765
|
}), {
|
|
1766
|
-
initializeFormSubmissions:
|
|
1766
|
+
initializeFormSubmissions: vu,
|
|
1767
1767
|
setFormSubmission: St,
|
|
1768
|
-
setFormSubmissions:
|
|
1768
|
+
setFormSubmissions: Jy,
|
|
1769
1769
|
addFormSubmission: Si,
|
|
1770
1770
|
addFormSubmissions: Wt,
|
|
1771
|
-
updateFormSubmission:
|
|
1772
|
-
updateFormSubmissions:
|
|
1771
|
+
updateFormSubmission: wu,
|
|
1772
|
+
updateFormSubmissions: Zy,
|
|
1773
1773
|
deleteFormSubmission: _i,
|
|
1774
1774
|
deleteFormSubmissions: Kt
|
|
1775
1775
|
} = ka.actions, Ea = (t) => t.formSubmissionReducer.instances, qa = p(
|
|
1776
1776
|
[Ea],
|
|
1777
1777
|
(t) => Object.values(t)
|
|
1778
|
-
), Pi = (t) => (e) => e.formSubmissionReducer.instances[t],
|
|
1778
|
+
), Pi = (t) => (e) => e.formSubmissionReducer.instances[t], ku = y(
|
|
1779
1779
|
p(
|
|
1780
1780
|
[
|
|
1781
1781
|
Ea,
|
|
@@ -1791,17 +1791,17 @@ const V = O(
|
|
|
1791
1791
|
);
|
|
1792
1792
|
}
|
|
1793
1793
|
)
|
|
1794
|
-
),
|
|
1794
|
+
), Eu = y(
|
|
1795
1795
|
p(
|
|
1796
1796
|
[qa, (t, e) => e],
|
|
1797
1797
|
(t, e) => Object.values(t).filter((s) => s.issue === e)
|
|
1798
1798
|
)
|
|
1799
|
-
),
|
|
1799
|
+
), qu = y(
|
|
1800
1800
|
p(
|
|
1801
1801
|
[qa, (t, e) => e],
|
|
1802
1802
|
(t, e) => t.filter((s) => s.asset === e)
|
|
1803
1803
|
)
|
|
1804
|
-
),
|
|
1804
|
+
), ju = ka.reducer, fe = O((t) => t.uuid), Ti = fe.getInitialState({}), ja = P({
|
|
1805
1805
|
name: "geoImages",
|
|
1806
1806
|
initialState: Ti,
|
|
1807
1807
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -1820,18 +1820,18 @@ const V = O(
|
|
|
1820
1820
|
deleteGeoImages: fe.deleteMany
|
|
1821
1821
|
}
|
|
1822
1822
|
}), {
|
|
1823
|
-
initializeGeoImages:
|
|
1823
|
+
initializeGeoImages: Mu,
|
|
1824
1824
|
setGeoImage: dt,
|
|
1825
|
-
setGeoImages:
|
|
1826
|
-
addGeoImage:
|
|
1827
|
-
addGeoImages:
|
|
1828
|
-
updateGeoImage:
|
|
1829
|
-
updateGeoImages:
|
|
1825
|
+
setGeoImages: zu,
|
|
1826
|
+
addGeoImage: Du,
|
|
1827
|
+
addGeoImages: xu,
|
|
1828
|
+
updateGeoImage: Uu,
|
|
1829
|
+
updateGeoImages: Qy,
|
|
1830
1830
|
deleteGeoImage: Fi,
|
|
1831
|
-
deleteGeoImages:
|
|
1832
|
-
} = ja.actions,
|
|
1833
|
-
p([
|
|
1834
|
-
),
|
|
1831
|
+
deleteGeoImages: Vu
|
|
1832
|
+
} = ja.actions, Cu = (t) => t.geoImageReducer.instances, $u = p([Cu], (t) => Object.values(t)), Oi = (t) => (e) => e.geoImageReducer.instances[t], Xy = y(
|
|
1833
|
+
p([$u, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
|
|
1834
|
+
), Gu = ja.reducer, ye = O(
|
|
1835
1835
|
(t) => t.uuid
|
|
1836
1836
|
), Ri = ye.getInitialState({}), Ma = P({
|
|
1837
1837
|
name: "issueAssociations",
|
|
@@ -1852,33 +1852,33 @@ const V = O(
|
|
|
1852
1852
|
deleteIssueAssociations: ye.deleteMany
|
|
1853
1853
|
}
|
|
1854
1854
|
}), {
|
|
1855
|
-
initializeIssueAssociations:
|
|
1856
|
-
setIssueAssociations:
|
|
1857
|
-
setIssueAssociation:
|
|
1858
|
-
updateIssueAssociation:
|
|
1859
|
-
updateIssueAssociations:
|
|
1855
|
+
initializeIssueAssociations: Bu,
|
|
1856
|
+
setIssueAssociations: eb,
|
|
1857
|
+
setIssueAssociation: tb,
|
|
1858
|
+
updateIssueAssociation: Lu,
|
|
1859
|
+
updateIssueAssociations: sb,
|
|
1860
1860
|
addIssueAssociation: Ii,
|
|
1861
1861
|
addIssueAssociations: za,
|
|
1862
1862
|
deleteIssueAssociation: vi,
|
|
1863
1863
|
deleteIssueAssociations: Da
|
|
1864
|
-
} = Ma.actions, ft = (t) => t.issueAssociationReducer.instances,
|
|
1864
|
+
} = Ma.actions, ft = (t) => t.issueAssociationReducer.instances, ib = p([ft], (t) => Object.values(t)), Nu = (t) => (e) => e.issueAssociationReducer.instances[t], Hu = y(
|
|
1865
1865
|
p(
|
|
1866
1866
|
[ft, (t, e) => e],
|
|
1867
1867
|
(t, e) => b(
|
|
1868
1868
|
Object.values(t).filter((s) => s.associated_issue === e)
|
|
1869
1869
|
)
|
|
1870
1870
|
)
|
|
1871
|
-
),
|
|
1871
|
+
), Wu = y(
|
|
1872
1872
|
p(
|
|
1873
1873
|
[ft, (t, e) => e],
|
|
1874
1874
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1875
1875
|
)
|
|
1876
|
-
),
|
|
1876
|
+
), Ku = y(
|
|
1877
1877
|
p(
|
|
1878
1878
|
[ft, (t, e) => e],
|
|
1879
1879
|
(t, e) => b(Object.values(t).filter((s) => s.asset === e))
|
|
1880
1880
|
)
|
|
1881
|
-
),
|
|
1881
|
+
), Yu = Ma.reducer, be = O(
|
|
1882
1882
|
(t) => t.uuid
|
|
1883
1883
|
), wi = be.getInitialState({}), xa = P({
|
|
1884
1884
|
name: "issueAttachments",
|
|
@@ -1900,23 +1900,23 @@ const V = O(
|
|
|
1900
1900
|
}
|
|
1901
1901
|
}), {
|
|
1902
1902
|
initializeIssueAttachments: ki,
|
|
1903
|
-
addIssueAttachment:
|
|
1903
|
+
addIssueAttachment: nb,
|
|
1904
1904
|
addIssueAttachments: Ua,
|
|
1905
|
-
setIssueAttachment:
|
|
1906
|
-
setIssueAttachments:
|
|
1907
|
-
updateIssueAttachment:
|
|
1908
|
-
updateIssueAttachments:
|
|
1909
|
-
deleteIssueAttachment:
|
|
1905
|
+
setIssueAttachment: Ju,
|
|
1906
|
+
setIssueAttachments: ab,
|
|
1907
|
+
updateIssueAttachment: cb,
|
|
1908
|
+
updateIssueAttachments: Zu,
|
|
1909
|
+
deleteIssueAttachment: Qu,
|
|
1910
1910
|
deleteIssueAttachments: Va
|
|
1911
|
-
} = xa.actions,
|
|
1912
|
-
[
|
|
1911
|
+
} = xa.actions, Xu = (t) => t.issueAttachmentReducer.instances, el = p(
|
|
1912
|
+
[Xu],
|
|
1913
1913
|
(t) => Object.values(t)
|
|
1914
|
-
),
|
|
1914
|
+
), tl = y(
|
|
1915
1915
|
p(
|
|
1916
|
-
[
|
|
1916
|
+
[el, (t, e) => e],
|
|
1917
1917
|
(t, e) => b(t.filter(({ issue: s }) => e === s))
|
|
1918
1918
|
)
|
|
1919
|
-
),
|
|
1919
|
+
), sl = (t) => (e) => e.issueAttachmentReducer.instances[t], il = xa.reducer, ge = O((t) => t.uuid), Ei = ge.getInitialState({}), Ca = P({
|
|
1920
1920
|
name: "issueCommentAttachments",
|
|
1921
1921
|
initialState: Ei,
|
|
1922
1922
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -1936,26 +1936,26 @@ const V = O(
|
|
|
1936
1936
|
}
|
|
1937
1937
|
}), {
|
|
1938
1938
|
initializeIssueCommentAttachments: qi,
|
|
1939
|
-
addIssueCommentAttachment:
|
|
1940
|
-
addIssueCommentAttachments:
|
|
1941
|
-
setIssueCommentAttachment:
|
|
1942
|
-
setIssueCommentAttachments:
|
|
1943
|
-
updateIssueCommentAttachment:
|
|
1944
|
-
updateIssueCommentAttachments:
|
|
1945
|
-
deleteIssueCommentAttachment:
|
|
1946
|
-
deleteIssueCommentAttachments:
|
|
1947
|
-
} = Ca.actions,
|
|
1948
|
-
[
|
|
1939
|
+
addIssueCommentAttachment: rb,
|
|
1940
|
+
addIssueCommentAttachments: nl,
|
|
1941
|
+
setIssueCommentAttachment: al,
|
|
1942
|
+
setIssueCommentAttachments: ob,
|
|
1943
|
+
updateIssueCommentAttachment: db,
|
|
1944
|
+
updateIssueCommentAttachments: cl,
|
|
1945
|
+
deleteIssueCommentAttachment: rl,
|
|
1946
|
+
deleteIssueCommentAttachments: ol
|
|
1947
|
+
} = Ca.actions, dl = (t) => t.issueCommentAttachmentReducer.instances, ul = p(
|
|
1948
|
+
[dl],
|
|
1949
1949
|
(t) => Object.values(t)
|
|
1950
|
-
),
|
|
1950
|
+
), ll = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], ub = y(
|
|
1951
1951
|
p(
|
|
1952
1952
|
[
|
|
1953
|
-
|
|
1953
|
+
ul,
|
|
1954
1954
|
(t, e) => e
|
|
1955
1955
|
],
|
|
1956
1956
|
(t, e) => b(t.filter(({ issue_comment: s }) => e === s))
|
|
1957
1957
|
)
|
|
1958
|
-
),
|
|
1958
|
+
), hl = Ca.reducer, Se = O((t) => t.uuid), ji = Se.getInitialState({}), $a = P({
|
|
1959
1959
|
name: "issueComments",
|
|
1960
1960
|
initialState: ji,
|
|
1961
1961
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -1974,21 +1974,21 @@ const V = O(
|
|
|
1974
1974
|
deleteIssueComments: Se.deleteMany
|
|
1975
1975
|
}
|
|
1976
1976
|
}), {
|
|
1977
|
-
initializeIssueComments:
|
|
1977
|
+
initializeIssueComments: lb,
|
|
1978
1978
|
addIssueComment: Mi,
|
|
1979
|
-
addIssueComments:
|
|
1979
|
+
addIssueComments: hb,
|
|
1980
1980
|
setIssueComment: zi,
|
|
1981
|
-
setIssueComments:
|
|
1982
|
-
updateIssueComment:
|
|
1983
|
-
updateIssueComments:
|
|
1981
|
+
setIssueComments: pl,
|
|
1982
|
+
updateIssueComment: pb,
|
|
1983
|
+
updateIssueComments: mb,
|
|
1984
1984
|
deleteIssueComment: Di,
|
|
1985
|
-
deleteIssueComments:
|
|
1986
|
-
} = $a.actions,
|
|
1985
|
+
deleteIssueComments: Ab
|
|
1986
|
+
} = $a.actions, ml = (t) => t.issueCommentReducer.instances, xi = (t) => (e) => e.issueCommentReducer.instances[t], fb = y(
|
|
1987
1987
|
p(
|
|
1988
|
-
[
|
|
1988
|
+
[ml, (t, e) => e],
|
|
1989
1989
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1990
1990
|
)
|
|
1991
|
-
),
|
|
1991
|
+
), Al = $a.reducer, _e = O((t) => t.uuid), Ui = _e.getInitialState({}), Ga = P({
|
|
1992
1992
|
name: "issues",
|
|
1993
1993
|
initialState: Ui,
|
|
1994
1994
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2007,17 +2007,17 @@ const V = O(
|
|
|
2007
2007
|
deleteIssues: _e.deleteMany
|
|
2008
2008
|
}
|
|
2009
2009
|
}), {
|
|
2010
|
-
initializeIssues:
|
|
2010
|
+
initializeIssues: fl,
|
|
2011
2011
|
addIssue: Vi,
|
|
2012
|
-
addIssues:
|
|
2013
|
-
setIssue:
|
|
2014
|
-
setIssues:
|
|
2012
|
+
addIssues: yl,
|
|
2013
|
+
setIssue: yb,
|
|
2014
|
+
setIssues: bb,
|
|
2015
2015
|
updateIssue: _t,
|
|
2016
|
-
updateIssues:
|
|
2016
|
+
updateIssues: gb,
|
|
2017
2017
|
deleteIssue: Ci,
|
|
2018
|
-
deleteIssues:
|
|
2019
|
-
} = Ga.actions,
|
|
2020
|
-
p([
|
|
2018
|
+
deleteIssues: bl
|
|
2019
|
+
} = Ga.actions, Ba = (t) => t.issueReducer.instances, Sb = p([Ba], (t) => Object.values(t)), $i = (t) => (e) => e.issueReducer.instances[t], _b = y(
|
|
2020
|
+
p([Ba, (t, e) => e], (t, e) => {
|
|
2021
2021
|
const s = [];
|
|
2022
2022
|
for (const i of e) {
|
|
2023
2023
|
const n = t[i];
|
|
@@ -2027,7 +2027,7 @@ const V = O(
|
|
|
2027
2027
|
})
|
|
2028
2028
|
), gl = Ga.reducer, Pe = O(
|
|
2029
2029
|
(t) => t.uuid
|
|
2030
|
-
), Gi = Pe.getInitialState({}),
|
|
2030
|
+
), Gi = Pe.getInitialState({}), La = P({
|
|
2031
2031
|
name: "issueTypeAttachments",
|
|
2032
2032
|
initialState: Gi,
|
|
2033
2033
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2055,7 +2055,7 @@ const V = O(
|
|
|
2055
2055
|
updateIssueTypeAttachments: Pl,
|
|
2056
2056
|
deleteIssueTypeAttachment: Tl,
|
|
2057
2057
|
deleteIssueTypeAttachments: Fl
|
|
2058
|
-
} =
|
|
2058
|
+
} = La.actions, Ol = (t) => t.issueTypeAttachmentReducer.instances, Rl = p(
|
|
2059
2059
|
[Ol],
|
|
2060
2060
|
(t) => Object.values(t)
|
|
2061
2061
|
), Il = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Ob = y(
|
|
@@ -2063,7 +2063,7 @@ const V = O(
|
|
|
2063
2063
|
[Rl, (t, e) => e],
|
|
2064
2064
|
(t, e) => b(t.filter(({ issue_type: s }) => e === s))
|
|
2065
2065
|
)
|
|
2066
|
-
), vl =
|
|
2066
|
+
), vl = La.reducer, Te = O((t) => t.uuid), Li = Te.getInitialState({}), Na = P({
|
|
2067
2067
|
name: "issueTypeFieldsAttachments",
|
|
2068
2068
|
initialState: Li,
|
|
2069
2069
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2091,7 +2091,7 @@ const V = O(
|
|
|
2091
2091
|
updateIssueTypeFieldsAttachments: El,
|
|
2092
2092
|
deleteIssueTypeFieldsAttachment: kb,
|
|
2093
2093
|
deleteIssueTypeFieldsAttachments: ql
|
|
2094
|
-
} =
|
|
2094
|
+
} = Na.actions, jl = (t) => t.issueTypeFieldsAttachmentReducer.instances, Ml = p(
|
|
2095
2095
|
[jl],
|
|
2096
2096
|
(t) => Object.values(t)
|
|
2097
2097
|
), Eb = y(
|
|
@@ -2101,9 +2101,9 @@ const V = O(
|
|
|
2101
2101
|
t.filter((s) => s.fields_revision === e)
|
|
2102
2102
|
)
|
|
2103
2103
|
)
|
|
2104
|
-
), qb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], zl =
|
|
2104
|
+
), qb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], zl = Na.reducer, Fe = O(
|
|
2105
2105
|
(t) => t.uuid
|
|
2106
|
-
), Ni = Fe.getInitialState({}),
|
|
2106
|
+
), Ni = Fe.getInitialState({}), Ha = P({
|
|
2107
2107
|
name: "issueTypeFieldValues",
|
|
2108
2108
|
initialState: Ni,
|
|
2109
2109
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2131,11 +2131,11 @@ const V = O(
|
|
|
2131
2131
|
updateIssueTypeFieldValuesMany: Db,
|
|
2132
2132
|
deleteIssueTypeFieldValues: Wi,
|
|
2133
2133
|
deleteIssueTypeFieldValuesMany: xb
|
|
2134
|
-
} =
|
|
2135
|
-
p([
|
|
2136
|
-
), Ki = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Ul =
|
|
2134
|
+
} = Ha.actions, xl = (t) => t.issueTypeFieldValuesReducer.instances, Wa = p([xl], (t) => Object.values(t)), Ub = y(
|
|
2135
|
+
p([Wa, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
|
|
2136
|
+
), Ki = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Ul = Ha.reducer, Oe = O(
|
|
2137
2137
|
(t) => t.uuid
|
|
2138
|
-
), Yi = Oe.getInitialState({}),
|
|
2138
|
+
), Yi = Oe.getInitialState({}), Ka = P({
|
|
2139
2139
|
name: "issueTypeFields",
|
|
2140
2140
|
initialState: Yi,
|
|
2141
2141
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2163,13 +2163,13 @@ const V = O(
|
|
|
2163
2163
|
updateIssueTypeFieldsMany: Gb,
|
|
2164
2164
|
deleteIssueTypeFields: Gl,
|
|
2165
2165
|
deleteIssueTypeFieldsMany: Bb
|
|
2166
|
-
} =
|
|
2166
|
+
} = Ka.actions, Bl = (t) => t.issueTypeFieldsReducer.instances, Yt = p([Bl], (t) => Object.values(t)), Lb = y(
|
|
2167
2167
|
p([Yt, (t, e) => e], (t, e) => b(t.filter((s) => s.issue_type === e)))
|
|
2168
2168
|
), Nb = y(
|
|
2169
2169
|
p([Yt, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
2170
2170
|
), Hb = y(
|
|
2171
2171
|
p(
|
|
2172
|
-
[Yt,
|
|
2172
|
+
[Yt, Wa, (t, e) => e],
|
|
2173
2173
|
(t, e, s) => {
|
|
2174
2174
|
const i = new Set(
|
|
2175
2175
|
t.filter((n) => n.issue_type === s).map((n) => n.uuid)
|
|
@@ -2177,7 +2177,7 @@ const V = O(
|
|
|
2177
2177
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
2178
2178
|
}
|
|
2179
2179
|
)
|
|
2180
|
-
), Wb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Ll =
|
|
2180
|
+
), Wb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Ll = Ka.reducer, Re = O((t) => t.uuid), Ji = Re.getInitialState({}), Ya = P({
|
|
2181
2181
|
name: "issueTypeFieldValuesAttachments",
|
|
2182
2182
|
initialState: Ji,
|
|
2183
2183
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2205,13 +2205,13 @@ const V = O(
|
|
|
2205
2205
|
updateIssueTypeFieldValuesAttachments: Hl,
|
|
2206
2206
|
deleteIssueTypeFieldValuesAttachment: Qb,
|
|
2207
2207
|
deleteIssueTypeFieldValuesAttachments: Ut
|
|
2208
|
-
} =
|
|
2209
|
-
[
|
|
2208
|
+
} = Ya.actions, Ja = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Wl = p(
|
|
2209
|
+
[Ja],
|
|
2210
2210
|
(t) => Object.values(t)
|
|
2211
2211
|
), Xb = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t], Kl = y(
|
|
2212
2212
|
p(
|
|
2213
2213
|
[
|
|
2214
|
-
|
|
2214
|
+
Ja,
|
|
2215
2215
|
(t, e) => e
|
|
2216
2216
|
],
|
|
2217
2217
|
(t, e) => {
|
|
@@ -2226,7 +2226,7 @@ const V = O(
|
|
|
2226
2226
|
[Wl, (t, e) => e],
|
|
2227
2227
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
2228
2228
|
)
|
|
2229
|
-
), Jl =
|
|
2229
|
+
), Jl = Ya.reducer, D = O((t) => t.uuid), Zi = D.getInitialState({}), Za = P({
|
|
2230
2230
|
name: "issueTypes",
|
|
2231
2231
|
initialState: Zi,
|
|
2232
2232
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2256,7 +2256,7 @@ const V = O(
|
|
|
2256
2256
|
deleteIssueType: ig,
|
|
2257
2257
|
deleteIssueTypes: ng,
|
|
2258
2258
|
removeIssueType: Qi
|
|
2259
|
-
} =
|
|
2259
|
+
} = Za.actions, eh = (t) => t.issueTypeReducer.instances, th = p(
|
|
2260
2260
|
eh,
|
|
2261
2261
|
(t) => Object.values(t)
|
|
2262
2262
|
), Xi = (t) => (e) => e.issueTypeReducer.instances[t], ag = (t) => (e) => {
|
|
@@ -2268,16 +2268,16 @@ const V = O(
|
|
|
2268
2268
|
return s;
|
|
2269
2269
|
}, cg = y(
|
|
2270
2270
|
p([th, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
|
|
2271
|
-
),
|
|
2271
|
+
), Qa = y(
|
|
2272
2272
|
p(
|
|
2273
2273
|
[(t) => t.issueReducer.instances, (t, e) => e],
|
|
2274
2274
|
(t, e) => b(
|
|
2275
2275
|
Object.values(t).filter((s) => s.issue_type === e)
|
|
2276
2276
|
)
|
|
2277
2277
|
)
|
|
2278
|
-
), rg = (t) => (e) =>
|
|
2278
|
+
), rg = (t) => (e) => Qa(t)(e).length, sh = Za.reducer, Ie = O(
|
|
2279
2279
|
(t) => t.uuid
|
|
2280
|
-
), en = Ie.getInitialState({}),
|
|
2280
|
+
), en = Ie.getInitialState({}), Xa = P({
|
|
2281
2281
|
name: "issueUpdates",
|
|
2282
2282
|
initialState: en,
|
|
2283
2283
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2305,14 +2305,14 @@ const V = O(
|
|
|
2305
2305
|
updateIssueUpdates: lg,
|
|
2306
2306
|
deleteIssueUpdate: ch,
|
|
2307
2307
|
deleteIssueUpdates: rh
|
|
2308
|
-
} =
|
|
2308
|
+
} = Xa.actions, oh = (t) => t.issueUpdateReducer.instances, dh = y(
|
|
2309
2309
|
p(
|
|
2310
2310
|
[oh, (t, e) => e],
|
|
2311
2311
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
2312
2312
|
)
|
|
2313
|
-
), uh =
|
|
2313
|
+
), uh = Xa.reducer, ve = O((t) => t.id), tn = ve.getInitialState({
|
|
2314
2314
|
currentUser: null
|
|
2315
|
-
}),
|
|
2315
|
+
}), ec = P({
|
|
2316
2316
|
name: "users",
|
|
2317
2317
|
initialState: tn,
|
|
2318
2318
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2353,7 +2353,7 @@ const V = O(
|
|
|
2353
2353
|
deleteUsers: yg,
|
|
2354
2354
|
setCurrentUser: bg,
|
|
2355
2355
|
setProfilePicture: gg
|
|
2356
|
-
} =
|
|
2356
|
+
} = ec.actions, mh = ec.reducer, Ah = (t) => t.userReducer.currentUser, Qe = (t) => t.userReducer.instances, fh = (t) => (e) => e.userReducer.instances[t], Sg = y(
|
|
2357
2357
|
p([Qe, (t, e) => e], (t, e) => {
|
|
2358
2358
|
const s = [];
|
|
2359
2359
|
for (const i of e) {
|
|
@@ -2364,7 +2364,7 @@ const V = O(
|
|
|
2364
2364
|
})
|
|
2365
2365
|
), we = O(
|
|
2366
2366
|
(t) => t.uuid
|
|
2367
|
-
), sn = we.getInitialState({}),
|
|
2367
|
+
), sn = we.getInitialState({}), tc = P({
|
|
2368
2368
|
name: "organizationAccess",
|
|
2369
2369
|
initialState: sn,
|
|
2370
2370
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2392,7 +2392,7 @@ const V = O(
|
|
|
2392
2392
|
updateOrganizationAccesses: Fg,
|
|
2393
2393
|
deleteOrganizationAccess: gh,
|
|
2394
2394
|
deleteOrganizationAccesses: Og
|
|
2395
|
-
} =
|
|
2395
|
+
} = tc.actions, yt = (t) => t.organizationAccessReducer.instances, nn = (t) => (e) => e.organizationAccessReducer.instances[t], Rg = y(
|
|
2396
2396
|
p([yt, (t, e) => e], (t, e) => Object.values(t).find((s) => s.user === e))
|
|
2397
2397
|
), Ig = p(
|
|
2398
2398
|
[Ah, yt],
|
|
@@ -2404,7 +2404,7 @@ const V = O(
|
|
|
2404
2404
|
for (const s of Object.values(t))
|
|
2405
2405
|
e[s.user] = s;
|
|
2406
2406
|
return Ze(e);
|
|
2407
|
-
}), _h =
|
|
2407
|
+
}), _h = tc.reducer, ke = O((t) => t.uuid), an = ke.getInitialState({}), sc = P({
|
|
2408
2408
|
name: "organizations",
|
|
2409
2409
|
initialState: an,
|
|
2410
2410
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2432,7 +2432,7 @@ const V = O(
|
|
|
2432
2432
|
updateOrganization: jg,
|
|
2433
2433
|
deleteOrganization: Mg,
|
|
2434
2434
|
deleteOrganizations: zg
|
|
2435
|
-
} =
|
|
2435
|
+
} = sc.actions, Th = (t) => t.organizationReducer.instances, Fh = p([Th], (t) => Object.values(t)), Dg = (t) => (e) => e.organizationReducer.instances[t], xg = p(
|
|
2436
2436
|
[Fh],
|
|
2437
2437
|
(t) => b(
|
|
2438
2438
|
Object.values(t).filter((e) => e.has_access)
|
|
@@ -2455,7 +2455,7 @@ const V = O(
|
|
|
2455
2455
|
})
|
|
2456
2456
|
)
|
|
2457
2457
|
)
|
|
2458
|
-
), Rh =
|
|
2458
|
+
), Rh = sc.reducer, Ih = (t, e, s) => {
|
|
2459
2459
|
const i = t.uuid ? t : { ...t, uuid: Be() };
|
|
2460
2460
|
return {
|
|
2461
2461
|
payload: i,
|
|
@@ -2474,7 +2474,7 @@ const V = O(
|
|
|
2474
2474
|
}, cn = {
|
|
2475
2475
|
deletedRequests: [],
|
|
2476
2476
|
latestRetryTime: 0
|
|
2477
|
-
},
|
|
2477
|
+
}, ic = P({
|
|
2478
2478
|
name: "outbox",
|
|
2479
2479
|
initialState: cn,
|
|
2480
2480
|
extraReducers: (t) => t.addCase(_, (e) => Object.assign(e, cn)),
|
|
@@ -2501,9 +2501,9 @@ const V = O(
|
|
|
2501
2501
|
t.latestRetryTime = e.payload;
|
|
2502
2502
|
}
|
|
2503
2503
|
}
|
|
2504
|
-
}), Cg = (t) => t.outboxReducer.deletedRequests, $g = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: vh, markForDeletion: Gg, markAsDeleted: wh, _setLatestRetryTime: kh } =
|
|
2504
|
+
}), Cg = (t) => t.outboxReducer.deletedRequests, $g = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: vh, markForDeletion: Gg, markAsDeleted: wh, _setLatestRetryTime: kh } = ic.actions, Eh = ic.reducer, Ee = O(
|
|
2505
2505
|
(t) => t.uuid
|
|
2506
|
-
), rn = Ee.getInitialState({}),
|
|
2506
|
+
), rn = Ee.getInitialState({}), nc = P({
|
|
2507
2507
|
name: "projectAccess",
|
|
2508
2508
|
initialState: rn,
|
|
2509
2509
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2531,7 +2531,7 @@ const V = O(
|
|
|
2531
2531
|
updateProjectAccesses: Ng,
|
|
2532
2532
|
deleteProjectAccess: dn,
|
|
2533
2533
|
deleteProjectAccesses: Mh
|
|
2534
|
-
} =
|
|
2534
|
+
} = nc.actions, Xe = (t) => t.projectAccessReducer.instances, Hg = p(
|
|
2535
2535
|
Xe,
|
|
2536
2536
|
(t) => Object.values(t)
|
|
2537
2537
|
), un = (t) => (e) => e.projectAccessReducer.instances[t], Wg = y(
|
|
@@ -2551,9 +2551,9 @@ const V = O(
|
|
|
2551
2551
|
e[s.user] = s;
|
|
2552
2552
|
return Ze(e);
|
|
2553
2553
|
}
|
|
2554
|
-
), xh =
|
|
2554
|
+
), xh = nc.reducer, qe = O(
|
|
2555
2555
|
(t) => t.uuid
|
|
2556
|
-
), ln = qe.getInitialState({}),
|
|
2556
|
+
), ln = qe.getInitialState({}), ac = P({
|
|
2557
2557
|
name: "projectAttachments",
|
|
2558
2558
|
initialState: ln,
|
|
2559
2559
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2580,8 +2580,8 @@ const V = O(
|
|
|
2580
2580
|
updateProjectAttachment: Yg,
|
|
2581
2581
|
updateProjectAttachments: Gh,
|
|
2582
2582
|
deleteProjectAttachment: Bh,
|
|
2583
|
-
deleteProjectAttachments:
|
|
2584
|
-
} =
|
|
2583
|
+
deleteProjectAttachments: cc
|
|
2584
|
+
} = ac.actions, Lh = (t) => t.projectAttachmentReducer.instances, Nh = p(
|
|
2585
2585
|
[Lh],
|
|
2586
2586
|
(t) => Object.values(t)
|
|
2587
2587
|
), Hh = (t) => (e) => e.projectAttachmentReducer.instances[t], Wh = y(
|
|
@@ -2589,12 +2589,12 @@ const V = O(
|
|
|
2589
2589
|
[Nh, (t, e) => e],
|
|
2590
2590
|
(t, e) => b(t.filter(({ project: s }) => e === s))
|
|
2591
2591
|
)
|
|
2592
|
-
), Kh =
|
|
2592
|
+
), Kh = ac.reducer, je = O(
|
|
2593
2593
|
(t) => t.uuid
|
|
2594
2594
|
), hn = je.getInitialState({
|
|
2595
2595
|
activeProjectFileId: null,
|
|
2596
2596
|
isImportingProjectFile: !1
|
|
2597
|
-
}),
|
|
2597
|
+
}), rc = P({
|
|
2598
2598
|
name: "projectFiles",
|
|
2599
2599
|
initialState: hn,
|
|
2600
2600
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2649,7 +2649,7 @@ const V = O(
|
|
|
2649
2649
|
setActiveProjectFileId: ep,
|
|
2650
2650
|
saveActiveProjectFileBounds: tp,
|
|
2651
2651
|
resetProjectFileObjectUrls: eS
|
|
2652
|
-
} =
|
|
2652
|
+
} = rc.actions, sp = (t) => t.projectFileReducer.instances, ip = p([sp], (t) => b(Object.values(t).sort((e, s) => e.z_index - s.z_index))), tS = (t) => (e) => e.projectFileReducer.instances[t], sS = (t) => t.projectFileReducer.activeProjectFileId, iS = (t) => t.projectFileReducer.isImportingProjectFile, np = rc.reducer, Me = O((t) => t.uuid), mn = Me.getInitialState({}), oc = P({
|
|
2653
2653
|
name: "projects",
|
|
2654
2654
|
initialState: mn,
|
|
2655
2655
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2677,7 +2677,7 @@ const V = O(
|
|
|
2677
2677
|
updateProject: rp,
|
|
2678
2678
|
deleteProject: An,
|
|
2679
2679
|
deleteProjects: oS
|
|
2680
|
-
} =
|
|
2680
|
+
} = oc.actions, op = oc.reducer, dp = (t) => t.projectReducer.instances, up = p([dp], (t) => b(Object.values(t))), lp = (t) => (e) => e.projectReducer.instances[t], hp = p(
|
|
2681
2681
|
[Xe],
|
|
2682
2682
|
(t) => Object.values(t).map((e) => e.user)
|
|
2683
2683
|
), dS = p(
|
|
@@ -2697,7 +2697,7 @@ const V = O(
|
|
|
2697
2697
|
p([up, (t, e) => e], (t, e) => b(t.filter((s) => s.organization_owner === e)))
|
|
2698
2698
|
), pp = {
|
|
2699
2699
|
isRehydrated: !1
|
|
2700
|
-
},
|
|
2700
|
+
}, dc = P({
|
|
2701
2701
|
name: "rehydrated",
|
|
2702
2702
|
initialState: pp,
|
|
2703
2703
|
// The `reducers` field lets us define reducers and generate associated actions
|
|
@@ -2706,7 +2706,7 @@ const V = O(
|
|
|
2706
2706
|
t.isRehydrated = e.payload;
|
|
2707
2707
|
}
|
|
2708
2708
|
}
|
|
2709
|
-
}), { setRehydrated: hS } =
|
|
2709
|
+
}), { setRehydrated: hS } = dc.actions, pS = (t) => t.rehydratedReducer.isRehydrated, mp = dc.reducer, ze = O((t) => t.uuid), fn = ze.getInitialState({}), uc = P({
|
|
2710
2710
|
name: "teams",
|
|
2711
2711
|
initialState: fn,
|
|
2712
2712
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -2734,9 +2734,9 @@ const V = O(
|
|
|
2734
2734
|
updateTeams: fS,
|
|
2735
2735
|
deleteTeam: bn,
|
|
2736
2736
|
deleteTeams: yS
|
|
2737
|
-
} =
|
|
2737
|
+
} = uc.actions, lc = (t) => t.teamReducer.instances, hc = p([lc], (t) => Object.values(t)), He = (t) => (e) => e.teamReducer.instances[t], bS = y(
|
|
2738
2738
|
p(
|
|
2739
|
-
[
|
|
2739
|
+
[lc, (t, e) => e],
|
|
2740
2740
|
(t, e) => {
|
|
2741
2741
|
const s = [];
|
|
2742
2742
|
for (const i of e) {
|
|
@@ -2748,33 +2748,33 @@ const V = O(
|
|
|
2748
2748
|
)
|
|
2749
2749
|
), gS = y(
|
|
2750
2750
|
p(
|
|
2751
|
-
[
|
|
2751
|
+
[hc, (t, e) => e],
|
|
2752
2752
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2753
2753
|
)
|
|
2754
2754
|
), SS = y(
|
|
2755
|
-
p([
|
|
2756
|
-
), yp =
|
|
2755
|
+
p([hc, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
|
|
2756
|
+
), yp = uc.reducer, bp = {
|
|
2757
2757
|
version: 0
|
|
2758
2758
|
}, gp = P({
|
|
2759
2759
|
name: "versioning",
|
|
2760
2760
|
initialState: bp,
|
|
2761
2761
|
reducers: {}
|
|
2762
|
-
}), Sp = gp.reducer,
|
|
2762
|
+
}), Sp = gp.reducer, pc = {
|
|
2763
2763
|
outboxReducer: Eh,
|
|
2764
|
-
fileReducer:
|
|
2765
|
-
authReducer:
|
|
2766
|
-
}, _S = Pn(
|
|
2767
|
-
...
|
|
2764
|
+
fileReducer: iu,
|
|
2765
|
+
authReducer: Rd
|
|
2766
|
+
}, _S = Pn(pc), _p = {
|
|
2767
|
+
...pc,
|
|
2768
2768
|
[At]: Sp,
|
|
2769
|
-
categoryReducer:
|
|
2770
|
-
assetReducer:
|
|
2771
|
-
assetAttachmentReducer:
|
|
2772
|
-
assetStageCompletionReducer:
|
|
2773
|
-
assetStageReducer:
|
|
2774
|
-
assetTypeReducer:
|
|
2775
|
-
assetTypeAttachmentReducer:
|
|
2769
|
+
categoryReducer: Ed,
|
|
2770
|
+
assetReducer: ko,
|
|
2771
|
+
assetAttachmentReducer: ur,
|
|
2772
|
+
assetStageCompletionReducer: Mo,
|
|
2773
|
+
assetStageReducer: Vo,
|
|
2774
|
+
assetTypeReducer: Fd,
|
|
2775
|
+
assetTypeAttachmentReducer: Jo,
|
|
2776
2776
|
issueReducer: gl,
|
|
2777
|
-
issueAttachmentReducer:
|
|
2777
|
+
issueAttachmentReducer: il,
|
|
2778
2778
|
issueTypeReducer: sh,
|
|
2779
2779
|
issueTypeAttachmentReducer: vl,
|
|
2780
2780
|
organizationReducer: Rh,
|
|
@@ -2784,62 +2784,62 @@ const V = O(
|
|
|
2784
2784
|
organizationAccessReducer: _h,
|
|
2785
2785
|
projectFileReducer: np,
|
|
2786
2786
|
rehydratedReducer: mp,
|
|
2787
|
-
formReducer:
|
|
2788
|
-
formRevisionReducer:
|
|
2789
|
-
formRevisionAttachmentReducer:
|
|
2790
|
-
formSubmissionAttachmentReducer:
|
|
2791
|
-
formSubmissionReducer:
|
|
2787
|
+
formReducer: gu,
|
|
2788
|
+
formRevisionReducer: yu,
|
|
2789
|
+
formRevisionAttachmentReducer: du,
|
|
2790
|
+
formSubmissionAttachmentReducer: Iu,
|
|
2791
|
+
formSubmissionReducer: ju,
|
|
2792
2792
|
userReducer: mh,
|
|
2793
|
-
emailDomainsReducer:
|
|
2794
|
-
documentsReducer:
|
|
2795
|
-
documentAttachmentReducer:
|
|
2793
|
+
emailDomainsReducer: Xd,
|
|
2794
|
+
documentsReducer: Wd,
|
|
2795
|
+
documentAttachmentReducer: $d,
|
|
2796
2796
|
teamReducer: yp,
|
|
2797
|
-
agentsReducer:
|
|
2798
|
-
issueCommentReducer:
|
|
2799
|
-
issueCommentAttachmentReducer:
|
|
2797
|
+
agentsReducer: sr,
|
|
2798
|
+
issueCommentReducer: Al,
|
|
2799
|
+
issueCommentAttachmentReducer: hl,
|
|
2800
2800
|
issueUpdateReducer: uh,
|
|
2801
|
-
geoImageReducer:
|
|
2802
|
-
issueAssociationReducer:
|
|
2801
|
+
geoImageReducer: Gu,
|
|
2802
|
+
issueAssociationReducer: Yu,
|
|
2803
2803
|
issueTypeFieldsReducer: Ll,
|
|
2804
2804
|
issueTypeFieldValuesReducer: Ul,
|
|
2805
2805
|
issueTypeFieldsAttachmentReducer: zl,
|
|
2806
2806
|
issueTypeFieldValuesAttachmentReducer: Jl,
|
|
2807
|
-
assetTypeFieldsReducer:
|
|
2808
|
-
assetTypeFieldValuesReducer:
|
|
2809
|
-
assetTypeFieldsAttachmentReducer:
|
|
2810
|
-
assetTypeFieldValuesAttachmentReducer:
|
|
2811
|
-
assetProcedureReducer:
|
|
2812
|
-
assetProcedureInstanceReducer:
|
|
2813
|
-
assetProcedureFieldsReducer:
|
|
2814
|
-
assetProcedureFieldValuesReducer:
|
|
2815
|
-
assetProcedureFieldsAttachmentReducer:
|
|
2816
|
-
assetProcedureFieldValuesAttachmentReducer:
|
|
2817
|
-
assetProcedureAttachmentReducer:
|
|
2818
|
-
assetProcedureStepFieldsAttachmentReducer:
|
|
2819
|
-
assetProcedureStepFieldsReducer:
|
|
2820
|
-
assetProcedureStepFieldValuesAttachmentReducer:
|
|
2821
|
-
assetProcedureStepFieldValuesReducer:
|
|
2822
|
-
assetProcedureStepReducer:
|
|
2807
|
+
assetTypeFieldsReducer: dd,
|
|
2808
|
+
assetTypeFieldValuesReducer: _d,
|
|
2809
|
+
assetTypeFieldsAttachmentReducer: id,
|
|
2810
|
+
assetTypeFieldValuesAttachmentReducer: Ad,
|
|
2811
|
+
assetProcedureReducer: Xr,
|
|
2812
|
+
assetProcedureInstanceReducer: Jr,
|
|
2813
|
+
assetProcedureFieldsReducer: jr,
|
|
2814
|
+
assetProcedureFieldValuesReducer: Nr,
|
|
2815
|
+
assetProcedureFieldsAttachmentReducer: Ir,
|
|
2816
|
+
assetProcedureFieldValuesAttachmentReducer: Vr,
|
|
2817
|
+
assetProcedureAttachmentReducer: Sr,
|
|
2818
|
+
assetProcedureStepFieldsAttachmentReducer: co,
|
|
2819
|
+
assetProcedureStepFieldsReducer: oo,
|
|
2820
|
+
assetProcedureStepFieldValuesAttachmentReducer: Ao,
|
|
2821
|
+
assetProcedureStepFieldValuesReducer: _o,
|
|
2822
|
+
assetProcedureStepReducer: Fo
|
|
2823
2823
|
}, PS = Pn(_p);
|
|
2824
|
-
let
|
|
2824
|
+
let mc;
|
|
2825
2825
|
function Pp(t) {
|
|
2826
|
-
|
|
2826
|
+
mc = t;
|
|
2827
2827
|
}
|
|
2828
2828
|
function et() {
|
|
2829
|
-
return
|
|
2829
|
+
return mc;
|
|
2830
2830
|
}
|
|
2831
|
-
let
|
|
2831
|
+
let Ac;
|
|
2832
2832
|
function Tp(t) {
|
|
2833
|
-
|
|
2833
|
+
Ac = t;
|
|
2834
2834
|
}
|
|
2835
2835
|
function Fp() {
|
|
2836
|
-
return
|
|
2836
|
+
return Ac;
|
|
2837
2837
|
}
|
|
2838
|
-
const
|
|
2839
|
-
class
|
|
2838
|
+
const fc = {};
|
|
2839
|
+
class yc {
|
|
2840
2840
|
constructor(e) {
|
|
2841
2841
|
f(this, "client");
|
|
2842
|
-
|
|
2842
|
+
fc[this.constructor.name] = this, this.client = e;
|
|
2843
2843
|
}
|
|
2844
2844
|
async enqueueRequest(e) {
|
|
2845
2845
|
return this.client.enqueueRequest(e, this.host, this.constructor.name);
|
|
@@ -2849,10 +2849,10 @@ class fc {
|
|
|
2849
2849
|
this.client.store.dispatch(e);
|
|
2850
2850
|
}
|
|
2851
2851
|
}
|
|
2852
|
-
const
|
|
2852
|
+
const bc = () => Sc.length - 1, gc = (t) => (t[At] = { version: bc() }, t), gn = () => gc({}), Op = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Rp = (t) => (e) => {
|
|
2853
2853
|
var s;
|
|
2854
|
-
return e === void 0 && (e = {}), ((s = e[At]) == null ? void 0 : s.version) ===
|
|
2855
|
-
},
|
|
2854
|
+
return e === void 0 && (e = {}), ((s = e[At]) == null ? void 0 : s.version) === bc() ? e : t(e);
|
|
2855
|
+
}, Sc = [gc, gn, gn, Op], Ip = Object.fromEntries(Sc.map((t, e) => [e, Rp(t)]));
|
|
2856
2856
|
let Tt = null;
|
|
2857
2857
|
function Ge() {
|
|
2858
2858
|
const t = et();
|
|
@@ -2887,13 +2887,13 @@ const qp = {
|
|
|
2887
2887
|
effect: Ep,
|
|
2888
2888
|
// Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
|
|
2889
2889
|
// but redux-offline does not know this.
|
|
2890
|
-
discard:
|
|
2890
|
+
discard: Fc,
|
|
2891
2891
|
returnPromises: !0,
|
|
2892
2892
|
persistCallback: vp,
|
|
2893
2893
|
retry: $p,
|
|
2894
2894
|
// Modify the configuration of the offline store to use localforage
|
|
2895
2895
|
// which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
|
|
2896
|
-
persistOptions: { storage:
|
|
2896
|
+
persistOptions: { storage: Ec },
|
|
2897
2897
|
// TODO: custom enqueue implementation to take care of intelligently cancelling "create/delete same issue",
|
|
2898
2898
|
// and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
|
|
2899
2899
|
// that same issue"
|
|
@@ -2904,7 +2904,7 @@ const qp = {
|
|
|
2904
2904
|
// Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
|
|
2905
2905
|
peek: (...t) => Cp(...t)
|
|
2906
2906
|
}
|
|
2907
|
-
}, jp =
|
|
2907
|
+
}, jp = qc(Ip, At), TS = vc(kc(qp), jp);
|
|
2908
2908
|
function Mp(t) {
|
|
2909
2909
|
function e(s) {
|
|
2910
2910
|
return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((n) => n in s);
|
|
@@ -2916,8 +2916,8 @@ function Mp(t) {
|
|
|
2916
2916
|
if (s.response && e(s.response.response)) return s.response.response;
|
|
2917
2917
|
}
|
|
2918
2918
|
}
|
|
2919
|
-
async function
|
|
2920
|
-
const s =
|
|
2919
|
+
async function _c(t, e) {
|
|
2920
|
+
const s = fc[t.meta.offline.effect.serviceName];
|
|
2921
2921
|
if (!s)
|
|
2922
2922
|
throw new Error(`Service ${t.meta.offline.effect.serviceName} not found`);
|
|
2923
2923
|
const i = s instanceof v;
|
|
@@ -2947,7 +2947,7 @@ async function Sc(t, e) {
|
|
|
2947
2947
|
return j.set("x-amz-checksum-sha1", Le).field({ ...o, ...U.fields }).attach("file", w);
|
|
2948
2948
|
}
|
|
2949
2949
|
return j.send(o);
|
|
2950
|
-
},
|
|
2950
|
+
}, Oc = {
|
|
2951
2951
|
[u.GET]: () => g ? $e.get(T.toString()).responseType("blob") : $e.get(T.toString()),
|
|
2952
2952
|
[u.POST]: () => {
|
|
2953
2953
|
const j = $e.post(T.toString());
|
|
@@ -2966,7 +2966,7 @@ async function Sc(t, e) {
|
|
|
2966
2966
|
return q(j);
|
|
2967
2967
|
}
|
|
2968
2968
|
}[r];
|
|
2969
|
-
let xe =
|
|
2969
|
+
let xe = Oc();
|
|
2970
2970
|
if (A && i) {
|
|
2971
2971
|
const j = s.auth.getAuthHeader();
|
|
2972
2972
|
xe = xe.set("Authorization", j);
|
|
@@ -2978,7 +2978,7 @@ async function Sc(t, e) {
|
|
|
2978
2978
|
const U = Mp(j), Le = U == null ? void 0 : U.status;
|
|
2979
2979
|
if (i && Le === 401)
|
|
2980
2980
|
return await s.auth.handleUnauthorized(xe, U), xe.query(d);
|
|
2981
|
-
throw new x({ response: U, innerError: j, discard:
|
|
2981
|
+
throw new x({ response: U, innerError: j, discard: Tc.includes(Le) });
|
|
2982
2982
|
}
|
|
2983
2983
|
}
|
|
2984
2984
|
class zp {
|
|
@@ -2997,7 +2997,7 @@ class zp {
|
|
|
2997
2997
|
return this._all;
|
|
2998
2998
|
}
|
|
2999
2999
|
}
|
|
3000
|
-
class
|
|
3000
|
+
class Pc {
|
|
3001
3001
|
constructor() {
|
|
3002
3002
|
f(this, "next");
|
|
3003
3003
|
this.next = null;
|
|
@@ -3012,16 +3012,16 @@ class _c {
|
|
|
3012
3012
|
if (console.debug("Middleware finished. Performing request:", e), !et()) throw new Error("Client store not set");
|
|
3013
3013
|
const i = Fp();
|
|
3014
3014
|
if (!i) throw new Error("Client SDK not set");
|
|
3015
|
-
return
|
|
3015
|
+
return _c(e, i);
|
|
3016
3016
|
}
|
|
3017
3017
|
}
|
|
3018
3018
|
}
|
|
3019
|
-
class Dp extends
|
|
3019
|
+
class Dp extends Pc {
|
|
3020
3020
|
async run(e) {
|
|
3021
3021
|
return super.run(e);
|
|
3022
3022
|
}
|
|
3023
3023
|
}
|
|
3024
|
-
class xp extends
|
|
3024
|
+
class xp extends Pc {
|
|
3025
3025
|
async run(e) {
|
|
3026
3026
|
return super.run(e);
|
|
3027
3027
|
}
|
|
@@ -3031,8 +3031,8 @@ function Vp(t) {
|
|
|
3031
3031
|
var e;
|
|
3032
3032
|
return (e = Up[0]) == null ? void 0 : e.run(t);
|
|
3033
3033
|
}
|
|
3034
|
-
const
|
|
3035
|
-
function
|
|
3034
|
+
const Tc = [400, 409, 403, 404, 405, 500];
|
|
3035
|
+
function Fc(t, e, s = 0) {
|
|
3036
3036
|
var r;
|
|
3037
3037
|
if (console.debug(
|
|
3038
3038
|
"Considering discarding request due to error:",
|
|
@@ -3066,7 +3066,7 @@ Retries:`,
|
|
|
3066
3066
|
return console.debug("Discarding request due to deletion:", e), o();
|
|
3067
3067
|
if (t instanceof x) {
|
|
3068
3068
|
const d = t.status || ((r = t.response) == null ? void 0 : r.status);
|
|
3069
|
-
if (d || console.warn("Error has no status code:", t), d !== void 0 &&
|
|
3069
|
+
if (d || console.warn("Error has no status code:", t), d !== void 0 && Tc.includes(d)) {
|
|
3070
3070
|
console.warn("Discarding request due to error:", t, `
|
|
3071
3071
|
Action:`, e);
|
|
3072
3072
|
const h = Ge();
|
|
@@ -3086,7 +3086,7 @@ function Cp(t, e, s) {
|
|
|
3086
3086
|
return (i = Ge()) == null ? void 0 : i.peek();
|
|
3087
3087
|
}
|
|
3088
3088
|
function $p(t, e) {
|
|
3089
|
-
return et().dispatch(kh((/* @__PURE__ */ new Date()).getTime())),
|
|
3089
|
+
return et().dispatch(kh((/* @__PURE__ */ new Date()).getTime())), Cc;
|
|
3090
3090
|
}
|
|
3091
3091
|
const Je = "An unknown error occurred", Gp = 500, Sn = ["non_field_errors", "detail"];
|
|
3092
3092
|
function Bp(t, e) {
|
|
@@ -3123,12 +3123,12 @@ class x extends Error {
|
|
|
3123
3123
|
this.message = s.message ?? Bp(i, n) ?? Je, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, s.discard = s.discard ?? !1, this.options = s;
|
|
3124
3124
|
}
|
|
3125
3125
|
}
|
|
3126
|
-
class Lp extends
|
|
3126
|
+
class Lp extends yc {
|
|
3127
3127
|
constructor(e) {
|
|
3128
3128
|
super(e);
|
|
3129
3129
|
}
|
|
3130
3130
|
}
|
|
3131
|
-
class v extends
|
|
3131
|
+
class v extends yc {
|
|
3132
3132
|
constructor(s, i) {
|
|
3133
3133
|
super(s);
|
|
3134
3134
|
f(this, "auth");
|
|
@@ -3147,7 +3147,7 @@ class FS extends v {
|
|
|
3147
3147
|
},
|
|
3148
3148
|
blockers: ["prompt"],
|
|
3149
3149
|
blocks: ["prompt"]
|
|
3150
|
-
}).then((i) => (this.dispatch(
|
|
3150
|
+
}).then((i) => (this.dispatch(Xc(i)), i));
|
|
3151
3151
|
}
|
|
3152
3152
|
async continueConversation(e, s, i) {
|
|
3153
3153
|
return this.enqueueRequest({
|
|
@@ -3162,7 +3162,7 @@ class FS extends v {
|
|
|
3162
3162
|
blocks: ["prompt"],
|
|
3163
3163
|
queryParams: { conversation_id: s }
|
|
3164
3164
|
}).then((n) => {
|
|
3165
|
-
this.dispatch(
|
|
3165
|
+
this.dispatch(tr(n));
|
|
3166
3166
|
});
|
|
3167
3167
|
}
|
|
3168
3168
|
async fetchDetails(e) {
|
|
@@ -3173,7 +3173,7 @@ class FS extends v {
|
|
|
3173
3173
|
blockers: ["conversation"],
|
|
3174
3174
|
blocks: ["conversation"]
|
|
3175
3175
|
}).then((s) => {
|
|
3176
|
-
this.dispatch(
|
|
3176
|
+
this.dispatch(er(s));
|
|
3177
3177
|
});
|
|
3178
3178
|
}
|
|
3179
3179
|
async rate(e, s) {
|
|
@@ -3195,7 +3195,7 @@ class FS extends v {
|
|
|
3195
3195
|
blockers: ["agent-conversations"],
|
|
3196
3196
|
blocks: ["agent-conversations"]
|
|
3197
3197
|
});
|
|
3198
|
-
return this.dispatch(
|
|
3198
|
+
return this.dispatch(Qc(s)), s;
|
|
3199
3199
|
}
|
|
3200
3200
|
}
|
|
3201
3201
|
class z extends v {
|
|
@@ -3328,11 +3328,11 @@ class OS extends De {
|
|
|
3328
3328
|
f(this, "url", "/asset-attachments");
|
|
3329
3329
|
f(this, "initializeAttachments", ts);
|
|
3330
3330
|
f(this, "addAttachments", wn);
|
|
3331
|
-
f(this, "updateAttachments",
|
|
3331
|
+
f(this, "updateAttachments", nr);
|
|
3332
3332
|
f(this, "removeAttachments", kn);
|
|
3333
|
-
f(this, "removeAttachment",
|
|
3334
|
-
f(this, "setAttachment",
|
|
3335
|
-
f(this, "selectAttachment",
|
|
3333
|
+
f(this, "removeAttachment", ar);
|
|
3334
|
+
f(this, "setAttachment", ir);
|
|
3335
|
+
f(this, "selectAttachment", or);
|
|
3336
3336
|
}
|
|
3337
3337
|
buildOfflineAttachment(s) {
|
|
3338
3338
|
return F({
|
|
@@ -3377,12 +3377,12 @@ class RS extends De {
|
|
|
3377
3377
|
super(...arguments);
|
|
3378
3378
|
f(this, "name", "Asset Procedure Attachment");
|
|
3379
3379
|
f(this, "url", "/asset-procedure-attachments");
|
|
3380
|
-
f(this, "addAttachments",
|
|
3381
|
-
f(this, "updateAttachments",
|
|
3382
|
-
f(this, "removeAttachments",
|
|
3383
|
-
f(this, "removeAttachment",
|
|
3384
|
-
f(this, "setAttachment",
|
|
3385
|
-
f(this, "selectAttachment",
|
|
3380
|
+
f(this, "addAttachments", hr);
|
|
3381
|
+
f(this, "updateAttachments", mr);
|
|
3382
|
+
f(this, "removeAttachments", fr);
|
|
3383
|
+
f(this, "removeAttachment", Ar);
|
|
3384
|
+
f(this, "setAttachment", pr);
|
|
3385
|
+
f(this, "selectAttachment", gr);
|
|
3386
3386
|
}
|
|
3387
3387
|
buildOfflineAttachment(s) {
|
|
3388
3388
|
return F({
|
|
@@ -3419,7 +3419,7 @@ class RS extends De {
|
|
|
3419
3419
|
blocks: [],
|
|
3420
3420
|
blockers: []
|
|
3421
3421
|
});
|
|
3422
|
-
return this.dispatch(
|
|
3422
|
+
return this.dispatch(lr(i)), i;
|
|
3423
3423
|
}
|
|
3424
3424
|
}
|
|
3425
3425
|
class IS extends z {
|
|
@@ -3450,7 +3450,7 @@ class IS extends z {
|
|
|
3450
3450
|
};
|
|
3451
3451
|
c.push(S);
|
|
3452
3452
|
}
|
|
3453
|
-
this.dispatch(
|
|
3453
|
+
this.dispatch(Pr(a));
|
|
3454
3454
|
const o = this.enqueueRequest({
|
|
3455
3455
|
description: "Add asset procedure fields attachments",
|
|
3456
3456
|
method: u.POST,
|
|
@@ -3464,10 +3464,10 @@ class IS extends z {
|
|
|
3464
3464
|
blocks: a.map((r) => r.uuid)
|
|
3465
3465
|
});
|
|
3466
3466
|
return o.then((r) => {
|
|
3467
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3467
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(Tr(r.attachments));
|
|
3468
3468
|
}).catch(() => {
|
|
3469
3469
|
this.dispatch(
|
|
3470
|
-
|
|
3470
|
+
Fr(
|
|
3471
3471
|
a.map((r) => r.uuid)
|
|
3472
3472
|
)
|
|
3473
3473
|
);
|
|
@@ -3484,7 +3484,7 @@ class IS extends z {
|
|
|
3484
3484
|
blockers: [],
|
|
3485
3485
|
blocks: []
|
|
3486
3486
|
});
|
|
3487
|
-
return this.dispatch(
|
|
3487
|
+
return this.dispatch(_r(s)), s;
|
|
3488
3488
|
}
|
|
3489
3489
|
}
|
|
3490
3490
|
class vS extends v {
|
|
@@ -3495,7 +3495,7 @@ class vS extends v {
|
|
|
3495
3495
|
created_by: i,
|
|
3496
3496
|
submitted_at: n
|
|
3497
3497
|
});
|
|
3498
|
-
this.dispatch(
|
|
3498
|
+
this.dispatch(wr(a));
|
|
3499
3499
|
const c = this.enqueueRequest({
|
|
3500
3500
|
description: "Add Asset Procedure Fields",
|
|
3501
3501
|
method: u.POST,
|
|
@@ -3505,9 +3505,9 @@ class vS extends v {
|
|
|
3505
3505
|
blocks: [a.uuid]
|
|
3506
3506
|
});
|
|
3507
3507
|
return c.then((l) => {
|
|
3508
|
-
this.dispatch(
|
|
3508
|
+
this.dispatch(kr(l));
|
|
3509
3509
|
}).catch((l) => {
|
|
3510
|
-
throw this.dispatch(
|
|
3510
|
+
throw this.dispatch(Er(a.uuid)), l;
|
|
3511
3511
|
}), [a, c];
|
|
3512
3512
|
}
|
|
3513
3513
|
async refreshStore(e) {
|
|
@@ -3521,7 +3521,7 @@ class vS extends v {
|
|
|
3521
3521
|
blockers: [],
|
|
3522
3522
|
blocks: []
|
|
3523
3523
|
});
|
|
3524
|
-
return this.dispatch(
|
|
3524
|
+
return this.dispatch(vr(s)), s;
|
|
3525
3525
|
}
|
|
3526
3526
|
}
|
|
3527
3527
|
function Ve(t, e) {
|
|
@@ -3582,7 +3582,7 @@ class wS extends z {
|
|
|
3582
3582
|
return Promise.all(l).then((d) => {
|
|
3583
3583
|
for (const m of d) this.processPresignedUrls(m.presigned_urls);
|
|
3584
3584
|
const h = d.flatMap((m) => m.attachments);
|
|
3585
|
-
this.dispatch(
|
|
3585
|
+
this.dispatch(zr(h));
|
|
3586
3586
|
}).catch((d) => {
|
|
3587
3587
|
throw this.dispatch(
|
|
3588
3588
|
wt(
|
|
@@ -3595,7 +3595,7 @@ class wS extends z {
|
|
|
3595
3595
|
];
|
|
3596
3596
|
}
|
|
3597
3597
|
async bulkDelete(e) {
|
|
3598
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3598
|
+
const { store: s } = this.client, i = s.getState(), n = xr(e)(i);
|
|
3599
3599
|
this.dispatch(wt(e));
|
|
3600
3600
|
try {
|
|
3601
3601
|
await this.enqueueRequest({
|
|
@@ -3621,7 +3621,7 @@ class wS extends z {
|
|
|
3621
3621
|
blockers: [],
|
|
3622
3622
|
blocks: []
|
|
3623
3623
|
});
|
|
3624
|
-
return this.dispatch(
|
|
3624
|
+
return this.dispatch(Mr(s)), s;
|
|
3625
3625
|
}
|
|
3626
3626
|
}
|
|
3627
3627
|
class kS extends v {
|
|
@@ -3670,7 +3670,7 @@ class kS extends v {
|
|
|
3670
3670
|
field_values: d
|
|
3671
3671
|
});
|
|
3672
3672
|
}
|
|
3673
|
-
this.dispatch(
|
|
3673
|
+
this.dispatch($r(n));
|
|
3674
3674
|
const o = [];
|
|
3675
3675
|
for (const r of c) {
|
|
3676
3676
|
const d = r.field_values.map((S) => S.asset), h = r.field_values.map((S) => S.fields_revision), m = r.field_values.map((S) => S.asset_procedure_instance), A = r.field_values.map((S) => S.uuid), g = this.enqueueRequest({
|
|
@@ -3684,10 +3684,10 @@ class kS extends v {
|
|
|
3684
3684
|
o.push(g);
|
|
3685
3685
|
}
|
|
3686
3686
|
return Promise.all(o).then((r) => {
|
|
3687
|
-
this.dispatch(
|
|
3687
|
+
this.dispatch(Gr(r.flat()));
|
|
3688
3688
|
}).catch(() => {
|
|
3689
3689
|
this.dispatch(
|
|
3690
|
-
|
|
3690
|
+
Br(n.map((r) => r.uuid))
|
|
3691
3691
|
);
|
|
3692
3692
|
}), [n, o];
|
|
3693
3693
|
}
|
|
@@ -3722,7 +3722,7 @@ class kS extends v {
|
|
|
3722
3722
|
const { store: s } = this.client, i = s.getState(), n = ds(e)(i);
|
|
3723
3723
|
if (!n)
|
|
3724
3724
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3725
|
-
const a =
|
|
3725
|
+
const a = Ur(e)(i);
|
|
3726
3726
|
this.dispatch(os(e)), this.dispatch(
|
|
3727
3727
|
wt(a.map((c) => c.uuid))
|
|
3728
3728
|
);
|
|
@@ -3749,7 +3749,7 @@ class kS extends v {
|
|
|
3749
3749
|
blockers: [],
|
|
3750
3750
|
blocks: []
|
|
3751
3751
|
});
|
|
3752
|
-
return this.dispatch(
|
|
3752
|
+
return this.dispatch(Cr(s)), s;
|
|
3753
3753
|
}
|
|
3754
3754
|
}
|
|
3755
3755
|
class ES extends v {
|
|
@@ -3823,7 +3823,7 @@ class ES extends v {
|
|
|
3823
3823
|
blockers: [],
|
|
3824
3824
|
blocks: []
|
|
3825
3825
|
});
|
|
3826
|
-
return this.dispatch(
|
|
3826
|
+
return this.dispatch(Hr(s)), s;
|
|
3827
3827
|
}
|
|
3828
3828
|
}
|
|
3829
3829
|
class qS extends v {
|
|
@@ -3876,15 +3876,15 @@ class qS extends v {
|
|
|
3876
3876
|
const { store: s } = this.client, i = s.getState(), n = ys(e)(i);
|
|
3877
3877
|
if (!n)
|
|
3878
3878
|
throw new Error(`Expected asset procedure with uuid ${e} to exist`);
|
|
3879
|
-
const a =
|
|
3880
|
-
return this.dispatch(fs(e)), this.dispatch(
|
|
3879
|
+
const a = Yr(e)(i);
|
|
3880
|
+
return this.dispatch(fs(e)), this.dispatch(Kr(a.map((c) => c.uuid))), this.enqueueRequest({
|
|
3881
3881
|
description: "Delete asset procedure",
|
|
3882
3882
|
method: u.DELETE,
|
|
3883
3883
|
url: `/asset-procedures/${e}/`,
|
|
3884
3884
|
blockers: [e],
|
|
3885
3885
|
blocks: []
|
|
3886
3886
|
}).catch((c) => {
|
|
3887
|
-
throw this.dispatch(As(n)), this.dispatch(
|
|
3887
|
+
throw this.dispatch(As(n)), this.dispatch(Wr(a)), c;
|
|
3888
3888
|
});
|
|
3889
3889
|
}
|
|
3890
3890
|
async refreshStore(e) {
|
|
@@ -3898,7 +3898,7 @@ class qS extends v {
|
|
|
3898
3898
|
blockers: [],
|
|
3899
3899
|
blocks: []
|
|
3900
3900
|
});
|
|
3901
|
-
return this.dispatch(
|
|
3901
|
+
return this.dispatch(Zr(s)), s;
|
|
3902
3902
|
}
|
|
3903
3903
|
}
|
|
3904
3904
|
class jS extends z {
|
|
@@ -3929,7 +3929,7 @@ class jS extends z {
|
|
|
3929
3929
|
};
|
|
3930
3930
|
c.push(S);
|
|
3931
3931
|
}
|
|
3932
|
-
this.dispatch(
|
|
3932
|
+
this.dispatch(to(a));
|
|
3933
3933
|
const o = this.enqueueRequest({
|
|
3934
3934
|
description: "Add asset procedure step fields attachments",
|
|
3935
3935
|
method: u.POST,
|
|
@@ -3943,10 +3943,10 @@ class jS extends z {
|
|
|
3943
3943
|
blocks: a.map((r) => r.uuid)
|
|
3944
3944
|
});
|
|
3945
3945
|
return o.then((r) => {
|
|
3946
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3946
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(so(r.attachments));
|
|
3947
3947
|
}).catch(() => {
|
|
3948
3948
|
this.dispatch(
|
|
3949
|
-
|
|
3949
|
+
io(
|
|
3950
3950
|
a.map((r) => r.uuid)
|
|
3951
3951
|
)
|
|
3952
3952
|
);
|
|
@@ -3963,7 +3963,7 @@ class jS extends z {
|
|
|
3963
3963
|
blockers: [],
|
|
3964
3964
|
blocks: []
|
|
3965
3965
|
});
|
|
3966
|
-
return this.dispatch(
|
|
3966
|
+
return this.dispatch(eo(s)), s;
|
|
3967
3967
|
}
|
|
3968
3968
|
}
|
|
3969
3969
|
class MS extends v {
|
|
@@ -4039,7 +4039,7 @@ class MS extends v {
|
|
|
4039
4039
|
blockers: [],
|
|
4040
4040
|
blocks: []
|
|
4041
4041
|
});
|
|
4042
|
-
return this.dispatch(
|
|
4042
|
+
return this.dispatch(ro(s)), s;
|
|
4043
4043
|
}
|
|
4044
4044
|
}
|
|
4045
4045
|
class zS extends z {
|
|
@@ -4090,7 +4090,7 @@ class zS extends z {
|
|
|
4090
4090
|
return Promise.all(l).then((d) => {
|
|
4091
4091
|
for (const m of d) this.processPresignedUrls(m.presigned_urls);
|
|
4092
4092
|
const h = d.flatMap((m) => m.attachments);
|
|
4093
|
-
this.dispatch(
|
|
4093
|
+
this.dispatch(lo(h));
|
|
4094
4094
|
}).catch((d) => {
|
|
4095
4095
|
throw this.dispatch(
|
|
4096
4096
|
Et(
|
|
@@ -4103,7 +4103,7 @@ class zS extends z {
|
|
|
4103
4103
|
];
|
|
4104
4104
|
}
|
|
4105
4105
|
async bulkDelete(e) {
|
|
4106
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4106
|
+
const { store: s } = this.client, i = s.getState(), n = po(e)(i);
|
|
4107
4107
|
this.dispatch(Et(e));
|
|
4108
4108
|
try {
|
|
4109
4109
|
await this.enqueueRequest({
|
|
@@ -4129,7 +4129,7 @@ class zS extends z {
|
|
|
4129
4129
|
blockers: [],
|
|
4130
4130
|
blocks: []
|
|
4131
4131
|
});
|
|
4132
|
-
return this.dispatch(
|
|
4132
|
+
return this.dispatch(uo(s)), s;
|
|
4133
4133
|
}
|
|
4134
4134
|
}
|
|
4135
4135
|
class DS extends v {
|
|
@@ -4179,7 +4179,7 @@ class DS extends v {
|
|
|
4179
4179
|
field_values: d
|
|
4180
4180
|
});
|
|
4181
4181
|
}
|
|
4182
|
-
this.dispatch(
|
|
4182
|
+
this.dispatch(yo(n));
|
|
4183
4183
|
const o = [];
|
|
4184
4184
|
for (const r of c) {
|
|
4185
4185
|
const d = r.field_values.map((S) => S.asset), h = r.field_values.map((S) => S.fields_revision), m = r.field_values.map((S) => S.asset_procedure_instance), A = r.field_values.map((S) => S.uuid), g = this.enqueueRequest({
|
|
@@ -4193,10 +4193,10 @@ class DS extends v {
|
|
|
4193
4193
|
o.push(g);
|
|
4194
4194
|
}
|
|
4195
4195
|
return Promise.all(o).then((r) => {
|
|
4196
|
-
this.dispatch(
|
|
4196
|
+
this.dispatch(bo(r.flat()));
|
|
4197
4197
|
}).catch(() => {
|
|
4198
4198
|
this.dispatch(
|
|
4199
|
-
|
|
4199
|
+
go(
|
|
4200
4200
|
n.map((r) => r.uuid)
|
|
4201
4201
|
)
|
|
4202
4202
|
);
|
|
@@ -4233,7 +4233,7 @@ class DS extends v {
|
|
|
4233
4233
|
const { store: s } = this.client, i = s.getState(), n = Rs(e)(i);
|
|
4234
4234
|
if (!n)
|
|
4235
4235
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
4236
|
-
const a =
|
|
4236
|
+
const a = mo(e)(i);
|
|
4237
4237
|
this.dispatch(Os(e)), this.dispatch(
|
|
4238
4238
|
Et(a.map((c) => c.uuid))
|
|
4239
4239
|
);
|
|
@@ -4260,7 +4260,7 @@ class DS extends v {
|
|
|
4260
4260
|
blockers: [],
|
|
4261
4261
|
blocks: []
|
|
4262
4262
|
});
|
|
4263
|
-
return this.dispatch(
|
|
4263
|
+
return this.dispatch(fo(s)), s;
|
|
4264
4264
|
}
|
|
4265
4265
|
}
|
|
4266
4266
|
class xS extends v {
|
|
@@ -4319,7 +4319,7 @@ class xS extends v {
|
|
|
4319
4319
|
}), n;
|
|
4320
4320
|
}
|
|
4321
4321
|
update(e) {
|
|
4322
|
-
const { store: s } = this.client, i =
|
|
4322
|
+
const { store: s } = this.client, i = Oo(e.uuid)(s.getState());
|
|
4323
4323
|
if (!i) throw new Error(`No asset procedure step with uuid ${e.uuid} found in the store`);
|
|
4324
4324
|
const n = {
|
|
4325
4325
|
...i,
|
|
@@ -4342,7 +4342,7 @@ class xS extends v {
|
|
|
4342
4342
|
return a.then((c) => {
|
|
4343
4343
|
this.dispatch(ws(c));
|
|
4344
4344
|
}).catch(() => {
|
|
4345
|
-
this.dispatch(
|
|
4345
|
+
this.dispatch(To(i));
|
|
4346
4346
|
}), [n, a];
|
|
4347
4347
|
}
|
|
4348
4348
|
async refreshStore(e) {
|
|
@@ -4356,7 +4356,7 @@ class xS extends v {
|
|
|
4356
4356
|
blockers: [],
|
|
4357
4357
|
blocks: []
|
|
4358
4358
|
});
|
|
4359
|
-
return this.dispatch(
|
|
4359
|
+
return this.dispatch(Po(s)), s;
|
|
4360
4360
|
}
|
|
4361
4361
|
}
|
|
4362
4362
|
class US extends v {
|
|
@@ -4414,7 +4414,7 @@ class US extends v {
|
|
|
4414
4414
|
async delete(e) {
|
|
4415
4415
|
const { store: s } = this.client, i = s.getState(), n = zs(e)(i);
|
|
4416
4416
|
if (!n) throw new Error(`No asset with uuid ${e} found in the store`);
|
|
4417
|
-
const a =
|
|
4417
|
+
const a = dr(e)(i), c = qu(e)(i), o = Ku(e)(i);
|
|
4418
4418
|
if (this.dispatch(Ms(e)), a.length > 0) {
|
|
4419
4419
|
const l = a.map(({ uuid: r }) => r);
|
|
4420
4420
|
this.dispatch(kn(l));
|
|
@@ -4473,7 +4473,7 @@ class US extends v {
|
|
|
4473
4473
|
}), l;
|
|
4474
4474
|
}
|
|
4475
4475
|
async bulkDelete(e) {
|
|
4476
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4476
|
+
const { store: s } = this.client, i = s.getState(), n = wo(e)(i);
|
|
4477
4477
|
this.dispatch(Xn(e));
|
|
4478
4478
|
try {
|
|
4479
4479
|
await this.enqueueRequest({
|
|
@@ -4501,7 +4501,7 @@ class US extends v {
|
|
|
4501
4501
|
blockers: [],
|
|
4502
4502
|
blocks: []
|
|
4503
4503
|
});
|
|
4504
|
-
return this.dispatch(
|
|
4504
|
+
return this.dispatch(Io(s)), s;
|
|
4505
4505
|
}
|
|
4506
4506
|
}
|
|
4507
4507
|
class VS extends v {
|
|
@@ -4522,13 +4522,13 @@ class VS extends v {
|
|
|
4522
4522
|
blocks: [a.uuid]
|
|
4523
4523
|
});
|
|
4524
4524
|
return c.then((l) => {
|
|
4525
|
-
this.dispatch(
|
|
4525
|
+
this.dispatch(qo(l));
|
|
4526
4526
|
}).catch(() => {
|
|
4527
4527
|
this.dispatch(Vs(a.uuid));
|
|
4528
4528
|
}), [a, c];
|
|
4529
4529
|
}
|
|
4530
4530
|
delete(e) {
|
|
4531
|
-
const { store: s } = this.client, i =
|
|
4531
|
+
const { store: s } = this.client, i = zo(e)(s.getState());
|
|
4532
4532
|
if (!i)
|
|
4533
4533
|
throw new Error(`Expected asset stage completion with uuid ${e} to exist`);
|
|
4534
4534
|
this.dispatch(Vs(e));
|
|
@@ -4567,13 +4567,13 @@ class VS extends v {
|
|
|
4567
4567
|
blocks: o
|
|
4568
4568
|
});
|
|
4569
4569
|
return l.then((d) => {
|
|
4570
|
-
this.dispatch(
|
|
4570
|
+
this.dispatch(jo(d));
|
|
4571
4571
|
}).catch(() => {
|
|
4572
4572
|
this.dispatch(Cs(o));
|
|
4573
4573
|
}), [c, l];
|
|
4574
4574
|
}
|
|
4575
4575
|
bulkDelete(e) {
|
|
4576
|
-
const { store: s } = this.client, i =
|
|
4576
|
+
const { store: s } = this.client, i = Do(e)(s.getState());
|
|
4577
4577
|
this.dispatch(Cs(e));
|
|
4578
4578
|
const n = this.enqueueRequest({
|
|
4579
4579
|
description: "Deleting asset stage completions",
|
|
@@ -4600,7 +4600,7 @@ class VS extends v {
|
|
|
4600
4600
|
blockers: [],
|
|
4601
4601
|
blocks: []
|
|
4602
4602
|
});
|
|
4603
|
-
return this.dispatch(
|
|
4603
|
+
return this.dispatch(Eo(s)), s;
|
|
4604
4604
|
}
|
|
4605
4605
|
}
|
|
4606
4606
|
class CS extends v {
|
|
@@ -4659,7 +4659,7 @@ class CS extends v {
|
|
|
4659
4659
|
}), n;
|
|
4660
4660
|
}
|
|
4661
4661
|
update(e) {
|
|
4662
|
-
const { store: s } = this.client, i =
|
|
4662
|
+
const { store: s } = this.client, i = Co(e.uuid)(s.getState());
|
|
4663
4663
|
if (!i) throw new Error(`No asset stage with uuid ${e.uuid} found in the store`);
|
|
4664
4664
|
const n = {
|
|
4665
4665
|
...i,
|
|
@@ -4682,7 +4682,7 @@ class CS extends v {
|
|
|
4682
4682
|
return a.then((c) => {
|
|
4683
4683
|
this.dispatch(Bs(c));
|
|
4684
4684
|
}).catch(() => {
|
|
4685
|
-
this.dispatch(
|
|
4685
|
+
this.dispatch(Uo(i));
|
|
4686
4686
|
}), [n, a];
|
|
4687
4687
|
}
|
|
4688
4688
|
async refreshStore(e) {
|
|
@@ -4696,7 +4696,7 @@ class CS extends v {
|
|
|
4696
4696
|
blockers: [],
|
|
4697
4697
|
blocks: []
|
|
4698
4698
|
});
|
|
4699
|
-
return this.dispatch(
|
|
4699
|
+
return this.dispatch(xo(s)), s;
|
|
4700
4700
|
}
|
|
4701
4701
|
}
|
|
4702
4702
|
class $S extends De {
|
|
@@ -4705,11 +4705,11 @@ class $S extends De {
|
|
|
4705
4705
|
f(this, "name", "Asset Type Attachment");
|
|
4706
4706
|
f(this, "url", "/asset-type-attachments");
|
|
4707
4707
|
f(this, "addAttachments", ca);
|
|
4708
|
-
f(this, "updateAttachments",
|
|
4708
|
+
f(this, "updateAttachments", Lo);
|
|
4709
4709
|
f(this, "removeAttachments", ra);
|
|
4710
|
-
f(this, "removeAttachment",
|
|
4711
|
-
f(this, "setAttachment",
|
|
4712
|
-
f(this, "selectAttachment",
|
|
4710
|
+
f(this, "removeAttachment", No);
|
|
4711
|
+
f(this, "setAttachment", Bo);
|
|
4712
|
+
f(this, "selectAttachment", Ko);
|
|
4713
4713
|
}
|
|
4714
4714
|
buildOfflineAttachment(s) {
|
|
4715
4715
|
return F({
|
|
@@ -4746,7 +4746,7 @@ class $S extends De {
|
|
|
4746
4746
|
blocks: [],
|
|
4747
4747
|
blockers: []
|
|
4748
4748
|
});
|
|
4749
|
-
return this.dispatch(
|
|
4749
|
+
return this.dispatch(Go(i)), i;
|
|
4750
4750
|
}
|
|
4751
4751
|
}
|
|
4752
4752
|
class GS extends z {
|
|
@@ -4777,7 +4777,7 @@ class GS extends z {
|
|
|
4777
4777
|
};
|
|
4778
4778
|
c.push(S);
|
|
4779
4779
|
}
|
|
4780
|
-
this.dispatch(
|
|
4780
|
+
this.dispatch(Qo(a));
|
|
4781
4781
|
const o = this.enqueueRequest({
|
|
4782
4782
|
description: "Add asset type fields attachments",
|
|
4783
4783
|
method: u.POST,
|
|
@@ -4791,10 +4791,10 @@ class GS extends z {
|
|
|
4791
4791
|
blocks: a.map((r) => r.uuid)
|
|
4792
4792
|
});
|
|
4793
4793
|
return o.then((r) => {
|
|
4794
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
4794
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(Xo(r.attachments));
|
|
4795
4795
|
}).catch(() => {
|
|
4796
4796
|
this.dispatch(
|
|
4797
|
-
|
|
4797
|
+
ed(
|
|
4798
4798
|
a.map((r) => r.uuid)
|
|
4799
4799
|
)
|
|
4800
4800
|
);
|
|
@@ -4811,7 +4811,7 @@ class GS extends z {
|
|
|
4811
4811
|
blockers: [e],
|
|
4812
4812
|
blocks: []
|
|
4813
4813
|
});
|
|
4814
|
-
return this.dispatch(
|
|
4814
|
+
return this.dispatch(Zo(s)), s;
|
|
4815
4815
|
}
|
|
4816
4816
|
}
|
|
4817
4817
|
class BS extends v {
|
|
@@ -4822,7 +4822,7 @@ class BS extends v {
|
|
|
4822
4822
|
created_by: i,
|
|
4823
4823
|
submitted_at: n
|
|
4824
4824
|
});
|
|
4825
|
-
this.dispatch(
|
|
4825
|
+
this.dispatch(ad(a));
|
|
4826
4826
|
const c = this.enqueueRequest({
|
|
4827
4827
|
description: "Add Asset Type Fields",
|
|
4828
4828
|
method: u.POST,
|
|
@@ -4832,9 +4832,9 @@ class BS extends v {
|
|
|
4832
4832
|
blocks: [a.uuid]
|
|
4833
4833
|
});
|
|
4834
4834
|
return c.then((l) => {
|
|
4835
|
-
this.dispatch(
|
|
4835
|
+
this.dispatch(cd(l));
|
|
4836
4836
|
}).catch((l) => {
|
|
4837
|
-
throw this.dispatch(
|
|
4837
|
+
throw this.dispatch(rd(a.uuid)), l;
|
|
4838
4838
|
}), [a, c];
|
|
4839
4839
|
}
|
|
4840
4840
|
async refreshStore(e) {
|
|
@@ -4848,7 +4848,7 @@ class BS extends v {
|
|
|
4848
4848
|
blockers: [],
|
|
4849
4849
|
blocks: []
|
|
4850
4850
|
});
|
|
4851
|
-
return this.dispatch(
|
|
4851
|
+
return this.dispatch(nd(s)), s;
|
|
4852
4852
|
}
|
|
4853
4853
|
}
|
|
4854
4854
|
class LS extends z {
|
|
@@ -4899,7 +4899,7 @@ class LS extends z {
|
|
|
4899
4899
|
return Promise.all(l).then((d) => {
|
|
4900
4900
|
for (const m of d) this.processPresignedUrls(m.presigned_urls);
|
|
4901
4901
|
const h = d.flatMap((m) => m.attachments);
|
|
4902
|
-
this.dispatch(
|
|
4902
|
+
this.dispatch(ld(h));
|
|
4903
4903
|
}).catch((d) => {
|
|
4904
4904
|
throw this.dispatch(
|
|
4905
4905
|
Mt(
|
|
@@ -4912,7 +4912,7 @@ class LS extends z {
|
|
|
4912
4912
|
];
|
|
4913
4913
|
}
|
|
4914
4914
|
async bulkDelete(e) {
|
|
4915
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4915
|
+
const { store: s } = this.client, i = s.getState(), n = pd(e)(i);
|
|
4916
4916
|
this.dispatch(Mt(e));
|
|
4917
4917
|
try {
|
|
4918
4918
|
await this.enqueueRequest({
|
|
@@ -4938,7 +4938,7 @@ class LS extends z {
|
|
|
4938
4938
|
blockers: [],
|
|
4939
4939
|
blocks: []
|
|
4940
4940
|
});
|
|
4941
|
-
return this.dispatch(
|
|
4941
|
+
return this.dispatch(ud(s)), s;
|
|
4942
4942
|
}
|
|
4943
4943
|
}
|
|
4944
4944
|
class NS extends v {
|
|
@@ -4986,7 +4986,7 @@ class NS extends v {
|
|
|
4986
4986
|
field_values: d
|
|
4987
4987
|
});
|
|
4988
4988
|
}
|
|
4989
|
-
this.dispatch(
|
|
4989
|
+
this.dispatch(yd(n));
|
|
4990
4990
|
const o = [];
|
|
4991
4991
|
for (const r of c) {
|
|
4992
4992
|
const d = r.field_values.map((g) => g.asset), h = r.field_values.map((g) => g.fields_revision), m = r.field_values.map((g) => g.uuid), A = this.enqueueRequest({
|
|
@@ -5000,9 +5000,9 @@ class NS extends v {
|
|
|
5000
5000
|
o.push(A);
|
|
5001
5001
|
}
|
|
5002
5002
|
return Promise.all(o).then((r) => {
|
|
5003
|
-
this.dispatch(
|
|
5003
|
+
this.dispatch(bd(r.flat()));
|
|
5004
5004
|
}).catch(() => {
|
|
5005
|
-
this.dispatch(
|
|
5005
|
+
this.dispatch(gd(n.map((r) => r.uuid)));
|
|
5006
5006
|
}), [n, o];
|
|
5007
5007
|
}
|
|
5008
5008
|
update(e) {
|
|
@@ -5036,7 +5036,7 @@ class NS extends v {
|
|
|
5036
5036
|
const { store: s } = this.client, i = s.getState(), n = Xs(e)(i);
|
|
5037
5037
|
if (!n)
|
|
5038
5038
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
5039
|
-
const a =
|
|
5039
|
+
const a = md(e)(i);
|
|
5040
5040
|
this.dispatch(Qs(e)), this.dispatch(Mt(a.map((c) => c.uuid)));
|
|
5041
5041
|
try {
|
|
5042
5042
|
await this.enqueueRequest({
|
|
@@ -5061,7 +5061,7 @@ class NS extends v {
|
|
|
5061
5061
|
blockers: [],
|
|
5062
5062
|
blocks: []
|
|
5063
5063
|
});
|
|
5064
|
-
return this.dispatch(
|
|
5064
|
+
return this.dispatch(fd(s)), s;
|
|
5065
5065
|
}
|
|
5066
5066
|
}
|
|
5067
5067
|
class HS extends v {
|
|
@@ -5119,7 +5119,7 @@ class HS extends v {
|
|
|
5119
5119
|
const { store: s } = this.client, i = s.getState(), n = ii(e)(i);
|
|
5120
5120
|
if (!n)
|
|
5121
5121
|
throw new Error(`Expected asset type with uuid ${e} to exist`);
|
|
5122
|
-
const a = ta(e)(i), c =
|
|
5122
|
+
const a = ta(e)(i), c = Yo(e)(i);
|
|
5123
5123
|
return this.dispatch(si(e)), this.dispatch(Xn(a.map((o) => o.uuid))), this.dispatch(ra(c.map(({ uuid: o }) => o))), this.enqueueRequest({
|
|
5124
5124
|
description: "Delete asset type",
|
|
5125
5125
|
method: u.DELETE,
|
|
@@ -5141,7 +5141,7 @@ class HS extends v {
|
|
|
5141
5141
|
blockers: [],
|
|
5142
5142
|
blocks: []
|
|
5143
5143
|
});
|
|
5144
|
-
return this.dispatch(
|
|
5144
|
+
return this.dispatch(Pd(s)), s;
|
|
5145
5145
|
}
|
|
5146
5146
|
}
|
|
5147
5147
|
class WS extends v {
|
|
@@ -5168,7 +5168,7 @@ class WS extends v {
|
|
|
5168
5168
|
if (!i)
|
|
5169
5169
|
throw new Error(`Expected an existing category with uuid ${e.uuid}`);
|
|
5170
5170
|
const n = { ...i, ...e };
|
|
5171
|
-
this.dispatch(
|
|
5171
|
+
this.dispatch(vd(n));
|
|
5172
5172
|
const a = this.enqueueRequest({
|
|
5173
5173
|
description: "Edit Category",
|
|
5174
5174
|
method: u.PATCH,
|
|
@@ -5183,7 +5183,7 @@ class WS extends v {
|
|
|
5183
5183
|
const { store: s } = this.client, i = ri(e)(s.getState());
|
|
5184
5184
|
if (!i)
|
|
5185
5185
|
throw new Error(`No category with uuid ${e} found in the store`);
|
|
5186
|
-
this.dispatch(
|
|
5186
|
+
this.dispatch(wd(e));
|
|
5187
5187
|
const n = this.enqueueRequest({
|
|
5188
5188
|
description: "Delete Category",
|
|
5189
5189
|
method: u.DELETE,
|
|
@@ -5206,7 +5206,7 @@ class WS extends v {
|
|
|
5206
5206
|
blocks: [],
|
|
5207
5207
|
blockers: []
|
|
5208
5208
|
});
|
|
5209
|
-
return this.dispatch(
|
|
5209
|
+
return this.dispatch(Id(s)), s;
|
|
5210
5210
|
}
|
|
5211
5211
|
}
|
|
5212
5212
|
class KS extends De {
|
|
@@ -5214,12 +5214,12 @@ class KS extends De {
|
|
|
5214
5214
|
super(...arguments);
|
|
5215
5215
|
f(this, "name", "Document Attachment");
|
|
5216
5216
|
f(this, "url", "/document-attachments");
|
|
5217
|
-
f(this, "addAttachments",
|
|
5218
|
-
f(this, "updateAttachments",
|
|
5219
|
-
f(this, "removeAttachments",
|
|
5220
|
-
f(this, "removeAttachment",
|
|
5221
|
-
f(this, "setAttachment",
|
|
5222
|
-
f(this, "selectAttachment",
|
|
5217
|
+
f(this, "addAttachments", jd);
|
|
5218
|
+
f(this, "updateAttachments", zd);
|
|
5219
|
+
f(this, "removeAttachments", xd);
|
|
5220
|
+
f(this, "removeAttachment", Dd);
|
|
5221
|
+
f(this, "setAttachment", Md);
|
|
5222
|
+
f(this, "selectAttachment", Cd);
|
|
5223
5223
|
}
|
|
5224
5224
|
buildOfflineAttachment(s) {
|
|
5225
5225
|
return F({
|
|
@@ -5313,7 +5313,7 @@ class KS extends De {
|
|
|
5313
5313
|
blocks: [],
|
|
5314
5314
|
blockers: []
|
|
5315
5315
|
});
|
|
5316
|
-
this.dispatch(
|
|
5316
|
+
this.dispatch(qd(n));
|
|
5317
5317
|
const a = await this.enqueueRequest({
|
|
5318
5318
|
description: "Get document attachments",
|
|
5319
5319
|
method: u.GET,
|
|
@@ -5332,7 +5332,7 @@ class YS extends v {
|
|
|
5332
5332
|
created_by: i,
|
|
5333
5333
|
submitted_at: n
|
|
5334
5334
|
});
|
|
5335
|
-
this.dispatch(
|
|
5335
|
+
this.dispatch(Bd([a]));
|
|
5336
5336
|
const c = this.enqueueRequest({
|
|
5337
5337
|
description: "Create Document",
|
|
5338
5338
|
method: u.POST,
|
|
@@ -5386,7 +5386,7 @@ class YS extends v {
|
|
|
5386
5386
|
);
|
|
5387
5387
|
c.push(r), r.parent_document && c.push(a[r.parent_document]);
|
|
5388
5388
|
}
|
|
5389
|
-
this.dispatch(
|
|
5389
|
+
this.dispatch(Ld({ documentId: e, targetDocumentId: s, position: i }));
|
|
5390
5390
|
const l = this.enqueueRequest({
|
|
5391
5391
|
description: "Move Document",
|
|
5392
5392
|
method: u.PATCH,
|
|
@@ -5405,7 +5405,7 @@ class YS extends v {
|
|
|
5405
5405
|
}), l;
|
|
5406
5406
|
}
|
|
5407
5407
|
delete(e) {
|
|
5408
|
-
const { store: s } = this.client, i = Ye(s.getState()), n =
|
|
5408
|
+
const { store: s } = this.client, i = Ye(s.getState()), n = Hd(e)(s.getState());
|
|
5409
5409
|
if (!n)
|
|
5410
5410
|
throw new Error(`attempting to delete a document with uuid ${e} that does not exist in store.documents`);
|
|
5411
5411
|
const a = n.parent_document ? i[n.parent_document] : void 0;
|
|
@@ -5437,7 +5437,7 @@ class YS extends v {
|
|
|
5437
5437
|
blockers: [],
|
|
5438
5438
|
blocks: []
|
|
5439
5439
|
}), a = [...await i, ...await n];
|
|
5440
|
-
return this.dispatch(
|
|
5440
|
+
return this.dispatch(Gd(a)), a;
|
|
5441
5441
|
}
|
|
5442
5442
|
}
|
|
5443
5443
|
class JS extends v {
|
|
@@ -5452,14 +5452,14 @@ class JS extends v {
|
|
|
5452
5452
|
});
|
|
5453
5453
|
}
|
|
5454
5454
|
async remove(e) {
|
|
5455
|
-
return this.dispatch(
|
|
5455
|
+
return this.dispatch(Jd(e.uuid)), this.enqueueRequest({
|
|
5456
5456
|
description: "Remove email domain from organization",
|
|
5457
5457
|
method: u.DELETE,
|
|
5458
5458
|
url: `/organization-email-domains/${e.uuid}/`,
|
|
5459
5459
|
blockers: [e.domain],
|
|
5460
5460
|
blocks: []
|
|
5461
5461
|
}).catch((s) => {
|
|
5462
|
-
throw this.dispatch(
|
|
5462
|
+
throw this.dispatch(Yd(e)), s;
|
|
5463
5463
|
});
|
|
5464
5464
|
}
|
|
5465
5465
|
async refreshStore(e) {
|
|
@@ -5473,7 +5473,7 @@ class JS extends v {
|
|
|
5473
5473
|
blockers: [e],
|
|
5474
5474
|
blocks: []
|
|
5475
5475
|
});
|
|
5476
|
-
return this.dispatch(
|
|
5476
|
+
return this.dispatch(Kd(s)), s;
|
|
5477
5477
|
}
|
|
5478
5478
|
}
|
|
5479
5479
|
class ZS extends v {
|
|
@@ -5508,7 +5508,7 @@ class QS extends v {
|
|
|
5508
5508
|
f(this, "host");
|
|
5509
5509
|
// NOTE: If you alter the schema (of the IndexedDB database) in any way, you must increment the version in order to
|
|
5510
5510
|
// migrate the store. This allows idb to automatically migrate the user's existing data to the new schema.
|
|
5511
|
-
f(this, "_dbPromise",
|
|
5511
|
+
f(this, "_dbPromise", jc("fileCache", 1, {
|
|
5512
5512
|
upgrade(s) {
|
|
5513
5513
|
s.createObjectStore("files");
|
|
5514
5514
|
}
|
|
@@ -5530,7 +5530,7 @@ class QS extends v {
|
|
|
5530
5530
|
blockers: [],
|
|
5531
5531
|
blocks: [`s3-${n}`]
|
|
5532
5532
|
});
|
|
5533
|
-
return "url" in a && this.dispatch(
|
|
5533
|
+
return "url" in a && this.dispatch(tu({ sha1: s, ...a })), a;
|
|
5534
5534
|
}
|
|
5535
5535
|
/**
|
|
5536
5536
|
* Adds a file to the cache using the sha1 hash as the key and returns the sha1 hash.
|
|
@@ -5560,7 +5560,7 @@ class QS extends v {
|
|
|
5560
5560
|
}
|
|
5561
5561
|
async getOrRenewUploadUrl(s) {
|
|
5562
5562
|
const i = this.client.store.getState();
|
|
5563
|
-
return
|
|
5563
|
+
return su(s)(i) ?? await this.renewUploadUrl(s);
|
|
5564
5564
|
}
|
|
5565
5565
|
/** Ensure the file has been added to the file cache before calling `uploadFileToS3()` */
|
|
5566
5566
|
async uploadFileToS3(s) {
|
|
@@ -5607,7 +5607,7 @@ class QS extends v {
|
|
|
5607
5607
|
return c;
|
|
5608
5608
|
}
|
|
5609
5609
|
if (s.startsWith("blob:")) {
|
|
5610
|
-
const d = await
|
|
5610
|
+
const d = await Kc(s), h = new File([d], n ?? i, { type: d.type });
|
|
5611
5611
|
return await this.addCache(h, i), h;
|
|
5612
5612
|
}
|
|
5613
5613
|
let o = pt[a], l = !0;
|
|
@@ -5650,7 +5650,7 @@ class QS extends v {
|
|
|
5650
5650
|
if (!h)
|
|
5651
5651
|
throw new Error("File has no extension");
|
|
5652
5652
|
const m = n ?? d + "." + h;
|
|
5653
|
-
if (r =
|
|
5653
|
+
if (r = Wc(r, m), !r.name)
|
|
5654
5654
|
throw new Error("Failed to set file's name");
|
|
5655
5655
|
await this.addCache(r, d), pt[a] = new Promise((A) => {
|
|
5656
5656
|
A(r);
|
|
@@ -5687,7 +5687,7 @@ class XS extends z {
|
|
|
5687
5687
|
};
|
|
5688
5688
|
c.push(S);
|
|
5689
5689
|
}
|
|
5690
|
-
this.dispatch(
|
|
5690
|
+
this.dispatch(au(a));
|
|
5691
5691
|
const o = this.enqueueRequest({
|
|
5692
5692
|
description: "Attach files to form revision",
|
|
5693
5693
|
method: u.POST,
|
|
@@ -5701,10 +5701,10 @@ class XS extends z {
|
|
|
5701
5701
|
blocks: a.map((r) => r.uuid)
|
|
5702
5702
|
});
|
|
5703
5703
|
return o.then((r) => {
|
|
5704
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
5704
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(cu(r.attachments));
|
|
5705
5705
|
}).catch(() => {
|
|
5706
5706
|
this.dispatch(
|
|
5707
|
-
|
|
5707
|
+
ru(a.map((r) => r.uuid))
|
|
5708
5708
|
);
|
|
5709
5709
|
}), [a, o.then(({ attachments: r }) => r)];
|
|
5710
5710
|
}
|
|
@@ -5719,7 +5719,7 @@ class XS extends z {
|
|
|
5719
5719
|
blockers: [e],
|
|
5720
5720
|
blocks: []
|
|
5721
5721
|
});
|
|
5722
|
-
return this.dispatch(
|
|
5722
|
+
return this.dispatch(nu(s)), s;
|
|
5723
5723
|
}
|
|
5724
5724
|
}
|
|
5725
5725
|
class e_ extends z {
|
|
@@ -5740,7 +5740,7 @@ class e_ extends z {
|
|
|
5740
5740
|
blocks: [a.uuid]
|
|
5741
5741
|
});
|
|
5742
5742
|
return c.then((l) => {
|
|
5743
|
-
this.dispatch(
|
|
5743
|
+
this.dispatch(pu(l));
|
|
5744
5744
|
}).catch(() => {
|
|
5745
5745
|
this.dispatch(Ra(a.uuid));
|
|
5746
5746
|
}), [a, c];
|
|
@@ -5756,7 +5756,7 @@ class e_ extends z {
|
|
|
5756
5756
|
blockers: [e],
|
|
5757
5757
|
blocks: []
|
|
5758
5758
|
});
|
|
5759
|
-
return this.dispatch(
|
|
5759
|
+
return this.dispatch(lu(s)), s;
|
|
5760
5760
|
}
|
|
5761
5761
|
}
|
|
5762
5762
|
class t_ extends z {
|
|
@@ -5795,13 +5795,13 @@ class t_ extends z {
|
|
|
5795
5795
|
}), [c, o, l];
|
|
5796
5796
|
}
|
|
5797
5797
|
async delete(e) {
|
|
5798
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5798
|
+
const { store: s } = this.client, i = s.getState(), n = Pu(e)(i);
|
|
5799
5799
|
if (!n)
|
|
5800
5800
|
throw new Error("Expected form to exist");
|
|
5801
|
-
const a =
|
|
5801
|
+
const a = ku(e)(i);
|
|
5802
5802
|
a.length > 0 && this.dispatch(Kt(a.map(({ uuid: o }) => o)));
|
|
5803
|
-
const c =
|
|
5804
|
-
c.length > 0 && this.dispatch(
|
|
5803
|
+
const c = fu(e)(i);
|
|
5804
|
+
c.length > 0 && this.dispatch(mu(c.map(({ uuid: o }) => o))), this.dispatch(yi(e));
|
|
5805
5805
|
try {
|
|
5806
5806
|
return await this.enqueueRequest({
|
|
5807
5807
|
description: "Delete form",
|
|
@@ -5811,7 +5811,7 @@ class t_ extends z {
|
|
|
5811
5811
|
blocks: []
|
|
5812
5812
|
});
|
|
5813
5813
|
} catch (o) {
|
|
5814
|
-
throw this.dispatch(fi(n)), c.length > 0 && this.dispatch(
|
|
5814
|
+
throw this.dispatch(fi(n)), c.length > 0 && this.dispatch(hu(c)), a.length > 0 && this.dispatch(Wt(a)), o;
|
|
5815
5815
|
}
|
|
5816
5816
|
}
|
|
5817
5817
|
async refreshStore(e) {
|
|
@@ -5825,7 +5825,7 @@ class t_ extends z {
|
|
|
5825
5825
|
blockers: [e],
|
|
5826
5826
|
blocks: []
|
|
5827
5827
|
});
|
|
5828
|
-
return this.dispatch(
|
|
5828
|
+
return this.dispatch(bu(s)), s;
|
|
5829
5829
|
}
|
|
5830
5830
|
}
|
|
5831
5831
|
class s_ extends z {
|
|
@@ -5870,7 +5870,7 @@ class s_ extends z {
|
|
|
5870
5870
|
blocks: a.map((r) => r.uuid)
|
|
5871
5871
|
});
|
|
5872
5872
|
return o.then((r) => {
|
|
5873
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
5873
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(Fu(r.attachments));
|
|
5874
5874
|
}).catch((r) => {
|
|
5875
5875
|
throw this.dispatch(
|
|
5876
5876
|
Dt(
|
|
@@ -5880,7 +5880,7 @@ class s_ extends z {
|
|
|
5880
5880
|
}), [a, o.then(({ attachments: r }) => r)];
|
|
5881
5881
|
}
|
|
5882
5882
|
async bulkDelete(e) {
|
|
5883
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5883
|
+
const { store: s } = this.client, i = s.getState(), n = Ou(e)(i);
|
|
5884
5884
|
this.dispatch(Dt(e));
|
|
5885
5885
|
try {
|
|
5886
5886
|
await this.enqueueRequest({
|
|
@@ -5906,7 +5906,7 @@ class s_ extends z {
|
|
|
5906
5906
|
blockers: [],
|
|
5907
5907
|
blocks: []
|
|
5908
5908
|
});
|
|
5909
|
-
return this.dispatch(
|
|
5909
|
+
return this.dispatch(Tu(s)), s;
|
|
5910
5910
|
}
|
|
5911
5911
|
}
|
|
5912
5912
|
class i_ extends z {
|
|
@@ -5941,7 +5941,7 @@ class i_ extends z {
|
|
|
5941
5941
|
...n,
|
|
5942
5942
|
...e
|
|
5943
5943
|
};
|
|
5944
|
-
this.dispatch(
|
|
5944
|
+
this.dispatch(wu(a));
|
|
5945
5945
|
const c = this.enqueueRequest({
|
|
5946
5946
|
description: "Delete user form submissions",
|
|
5947
5947
|
method: u.PATCH,
|
|
@@ -5960,7 +5960,7 @@ class i_ extends z {
|
|
|
5960
5960
|
const { store: s } = this.client, i = s.getState(), n = Pi(e)(i);
|
|
5961
5961
|
if (!n)
|
|
5962
5962
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
5963
|
-
const a =
|
|
5963
|
+
const a = Ru(e)(i);
|
|
5964
5964
|
this.dispatch(_i(e)), this.dispatch(Dt(a.map((c) => c.uuid)));
|
|
5965
5965
|
try {
|
|
5966
5966
|
return await this.enqueueRequest({
|
|
@@ -5985,7 +5985,7 @@ class i_ extends z {
|
|
|
5985
5985
|
blockers: [],
|
|
5986
5986
|
blocks: []
|
|
5987
5987
|
});
|
|
5988
|
-
return this.dispatch(
|
|
5988
|
+
return this.dispatch(vu(s)), s;
|
|
5989
5989
|
}
|
|
5990
5990
|
}
|
|
5991
5991
|
class n_ extends z {
|
|
@@ -5999,7 +5999,7 @@ class n_ extends z {
|
|
|
5999
5999
|
submitted_at: a,
|
|
6000
6000
|
created_by: c
|
|
6001
6001
|
});
|
|
6002
|
-
this.dispatch(
|
|
6002
|
+
this.dispatch(Du(r));
|
|
6003
6003
|
const d = this.enqueueRequest({
|
|
6004
6004
|
description: "Add geo image",
|
|
6005
6005
|
method: u.POST,
|
|
@@ -6054,7 +6054,7 @@ class n_ extends z {
|
|
|
6054
6054
|
original_date: T.original_date
|
|
6055
6055
|
});
|
|
6056
6056
|
}
|
|
6057
|
-
this.dispatch(
|
|
6057
|
+
this.dispatch(xu(c));
|
|
6058
6058
|
const d = this.enqueueRequest({
|
|
6059
6059
|
description: "Bulk add geo images",
|
|
6060
6060
|
method: u.POST,
|
|
@@ -6069,9 +6069,9 @@ class n_ extends z {
|
|
|
6069
6069
|
blockers: o
|
|
6070
6070
|
});
|
|
6071
6071
|
return d.then((m) => {
|
|
6072
|
-
this.processPresignedUrls(m.presigned_urls), this.dispatch(
|
|
6072
|
+
this.processPresignedUrls(m.presigned_urls), this.dispatch(zu(m.geo_images));
|
|
6073
6073
|
}).catch(() => {
|
|
6074
|
-
this.dispatch(
|
|
6074
|
+
this.dispatch(Vu(o));
|
|
6075
6075
|
}), [c, d.then((m) => m.geo_images)];
|
|
6076
6076
|
}
|
|
6077
6077
|
update(e) {
|
|
@@ -6079,7 +6079,7 @@ class n_ extends z {
|
|
|
6079
6079
|
if (!n)
|
|
6080
6080
|
throw new Error(`Map image with uuid ${e.uuid} does not exist in the store`);
|
|
6081
6081
|
const a = { ...n, ...e };
|
|
6082
|
-
this.dispatch(
|
|
6082
|
+
this.dispatch(Uu(a));
|
|
6083
6083
|
const c = this.enqueueRequest({
|
|
6084
6084
|
description: "Update geo image",
|
|
6085
6085
|
method: u.PATCH,
|
|
@@ -6121,7 +6121,7 @@ class n_ extends z {
|
|
|
6121
6121
|
blocks: [e],
|
|
6122
6122
|
blockers: []
|
|
6123
6123
|
});
|
|
6124
|
-
return this.dispatch(
|
|
6124
|
+
return this.dispatch(Mu(s)), s;
|
|
6125
6125
|
}
|
|
6126
6126
|
}
|
|
6127
6127
|
class a_ extends v {
|
|
@@ -6146,13 +6146,13 @@ class a_ extends v {
|
|
|
6146
6146
|
blocks: [a.uuid]
|
|
6147
6147
|
});
|
|
6148
6148
|
return c.then((l) => {
|
|
6149
|
-
this.dispatch(
|
|
6149
|
+
this.dispatch(Lu(l));
|
|
6150
6150
|
}).catch(() => {
|
|
6151
6151
|
this.dispatch(vi(a.uuid));
|
|
6152
6152
|
}), [a, c];
|
|
6153
6153
|
}
|
|
6154
6154
|
async delete(e) {
|
|
6155
|
-
const { store: s } = this.client, i =
|
|
6155
|
+
const { store: s } = this.client, i = Nu(e)(s.getState());
|
|
6156
6156
|
if (!i)
|
|
6157
6157
|
throw new Error(`Issue association with uuid ${e} not found in store.`);
|
|
6158
6158
|
this.dispatch(vi(e));
|
|
@@ -6176,7 +6176,7 @@ class a_ extends v {
|
|
|
6176
6176
|
blockers: [],
|
|
6177
6177
|
blocks: []
|
|
6178
6178
|
});
|
|
6179
|
-
return this.dispatch(
|
|
6179
|
+
return this.dispatch(Bu(s)), s;
|
|
6180
6180
|
}
|
|
6181
6181
|
}
|
|
6182
6182
|
class c_ extends De {
|
|
@@ -6186,11 +6186,11 @@ class c_ extends De {
|
|
|
6186
6186
|
f(this, "url", "/issue-attachments");
|
|
6187
6187
|
f(this, "initializeAttachments", ki);
|
|
6188
6188
|
f(this, "addAttachments", Ua);
|
|
6189
|
-
f(this, "updateAttachments",
|
|
6189
|
+
f(this, "updateAttachments", Zu);
|
|
6190
6190
|
f(this, "removeAttachments", Va);
|
|
6191
|
-
f(this, "removeAttachment",
|
|
6192
|
-
f(this, "setAttachment",
|
|
6193
|
-
f(this, "selectAttachment",
|
|
6191
|
+
f(this, "removeAttachment", Qu);
|
|
6192
|
+
f(this, "setAttachment", Ju);
|
|
6193
|
+
f(this, "selectAttachment", sl);
|
|
6194
6194
|
}
|
|
6195
6195
|
buildOfflineAttachment(s) {
|
|
6196
6196
|
return F({
|
|
@@ -6236,12 +6236,12 @@ class r_ extends De {
|
|
|
6236
6236
|
f(this, "name", "Issue Comment Attachment");
|
|
6237
6237
|
f(this, "url", "/issue-comment-attachments");
|
|
6238
6238
|
f(this, "initializeAttachments", qi);
|
|
6239
|
-
f(this, "addAttachments",
|
|
6240
|
-
f(this, "updateAttachments",
|
|
6241
|
-
f(this, "removeAttachments",
|
|
6242
|
-
f(this, "removeAttachment",
|
|
6243
|
-
f(this, "setAttachment",
|
|
6244
|
-
f(this, "selectAttachment",
|
|
6239
|
+
f(this, "addAttachments", nl);
|
|
6240
|
+
f(this, "updateAttachments", cl);
|
|
6241
|
+
f(this, "removeAttachments", ol);
|
|
6242
|
+
f(this, "removeAttachment", rl);
|
|
6243
|
+
f(this, "setAttachment", al);
|
|
6244
|
+
f(this, "selectAttachment", ll);
|
|
6245
6245
|
}
|
|
6246
6246
|
buildOfflineAttachment(s) {
|
|
6247
6247
|
return F({
|
|
@@ -6350,7 +6350,7 @@ class o_ extends v {
|
|
|
6350
6350
|
blockers: [],
|
|
6351
6351
|
blocks: []
|
|
6352
6352
|
});
|
|
6353
|
-
return this.dispatch(
|
|
6353
|
+
return this.dispatch(pl(s)), s;
|
|
6354
6354
|
}
|
|
6355
6355
|
}
|
|
6356
6356
|
class d_ extends v {
|
|
@@ -6462,11 +6462,11 @@ class d_ extends v {
|
|
|
6462
6462
|
const { store: s } = this.client, i = s.getState(), n = $i(e)(i);
|
|
6463
6463
|
if (!n)
|
|
6464
6464
|
throw new Error(`No issue with uuid ${e} found in the store`);
|
|
6465
|
-
const a =
|
|
6466
|
-
for (const d of Nu(e)(i))
|
|
6467
|
-
l[d.uuid] = d;
|
|
6465
|
+
const a = tl(e)(i), c = dh(e)(i), o = Eu(e)(i), l = {};
|
|
6468
6466
|
for (const d of Hu(e)(i))
|
|
6469
6467
|
l[d.uuid] = d;
|
|
6468
|
+
for (const d of Wu(e)(i))
|
|
6469
|
+
l[d.uuid] = d;
|
|
6470
6470
|
const r = Object.values(l);
|
|
6471
6471
|
this.dispatch(Ci(e)), a.length > 0 && this.dispatch(Va(a.map(({ uuid: d }) => d))), c.length > 0 && this.dispatch(rh(c.map(({ uuid: d }) => d))), o.length > 0 && this.dispatch(Kt(o.map(({ uuid: d }) => d))), r.length > 0 && this.dispatch(Da(r.map(({ uuid: d }) => d)));
|
|
6472
6472
|
try {
|
|
@@ -6492,7 +6492,7 @@ class d_ extends v {
|
|
|
6492
6492
|
blockers: [],
|
|
6493
6493
|
blocks: []
|
|
6494
6494
|
});
|
|
6495
|
-
return this.dispatch(
|
|
6495
|
+
return this.dispatch(fl(s)), s;
|
|
6496
6496
|
}
|
|
6497
6497
|
}
|
|
6498
6498
|
class u_ extends De {
|
|
@@ -6855,8 +6855,8 @@ class A_ extends v {
|
|
|
6855
6855
|
const { store: s } = this.client, i = s.getState(), n = Xi(e)(i);
|
|
6856
6856
|
if (!n)
|
|
6857
6857
|
throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
|
|
6858
|
-
const a =
|
|
6859
|
-
this.dispatch(Qi(e)), this.dispatch(
|
|
6858
|
+
const a = Qa(e)(i);
|
|
6859
|
+
this.dispatch(Qi(e)), this.dispatch(bl(a.map((o) => o.uuid)));
|
|
6860
6860
|
const c = this.enqueueRequest({
|
|
6861
6861
|
method: u.DELETE,
|
|
6862
6862
|
url: `/issue-types/${e}/`,
|
|
@@ -6864,7 +6864,7 @@ class A_ extends v {
|
|
|
6864
6864
|
blocks: []
|
|
6865
6865
|
});
|
|
6866
6866
|
return c.catch(() => {
|
|
6867
|
-
this.dispatch(lt(n)), this.dispatch(
|
|
6867
|
+
this.dispatch(lt(n)), this.dispatch(yl(a));
|
|
6868
6868
|
}), c;
|
|
6869
6869
|
}
|
|
6870
6870
|
async refreshStore(e) {
|
|
@@ -6942,7 +6942,7 @@ class y_ extends Lp {
|
|
|
6942
6942
|
* Logs the user out
|
|
6943
6943
|
*/
|
|
6944
6944
|
clearAuth() {
|
|
6945
|
-
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(
|
|
6945
|
+
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(Od(!1)), this.clearTokens(), this.dispatch(_), this.dispatch(_);
|
|
6946
6946
|
}
|
|
6947
6947
|
/**
|
|
6948
6948
|
* Attempts to renew tokens
|
|
@@ -6968,7 +6968,7 @@ class y_ extends Lp {
|
|
|
6968
6968
|
const i = Date.now() / 1e3;
|
|
6969
6969
|
let n;
|
|
6970
6970
|
try {
|
|
6971
|
-
n =
|
|
6971
|
+
n = Mc(s).exp ?? i;
|
|
6972
6972
|
} catch {
|
|
6973
6973
|
n = i;
|
|
6974
6974
|
}
|
|
@@ -7189,7 +7189,7 @@ class __ extends De {
|
|
|
7189
7189
|
f(this, "url", "/project-attachments");
|
|
7190
7190
|
f(this, "addAttachments", Vh);
|
|
7191
7191
|
f(this, "updateAttachments", Gh);
|
|
7192
|
-
f(this, "removeAttachments",
|
|
7192
|
+
f(this, "removeAttachments", cc);
|
|
7193
7193
|
f(this, "removeAttachment", Bh);
|
|
7194
7194
|
f(this, "setAttachment", Ch);
|
|
7195
7195
|
f(this, "selectAttachment", Hh);
|
|
@@ -7352,7 +7352,7 @@ class T_ extends v {
|
|
|
7352
7352
|
const a = ip(i).filter((l) => l.project === e);
|
|
7353
7353
|
this.dispatch(Qh(a.map(({ uuid: l }) => l)));
|
|
7354
7354
|
const c = Wh(n.uuid)(i);
|
|
7355
|
-
this.dispatch(
|
|
7355
|
+
this.dispatch(cc(c.map(({ uuid: l }) => l)));
|
|
7356
7356
|
const o = zh(e)(i);
|
|
7357
7357
|
this.dispatch(Mh(o.map(({ uuid: l }) => l))), this.dispatch(An(n.uuid));
|
|
7358
7358
|
try {
|
|
@@ -7519,7 +7519,7 @@ class R_ {
|
|
|
7519
7519
|
});
|
|
7520
7520
|
}
|
|
7521
7521
|
_enqueueRequest(e, s, i) {
|
|
7522
|
-
const n = new
|
|
7522
|
+
const n = new $c(), a = { ...e, BASE_URL: s, serviceName: i };
|
|
7523
7523
|
if (e.immediate) {
|
|
7524
7524
|
const c = {
|
|
7525
7525
|
...a,
|
|
@@ -7538,10 +7538,10 @@ class R_ {
|
|
|
7538
7538
|
}
|
|
7539
7539
|
}
|
|
7540
7540
|
};
|
|
7541
|
-
|
|
7541
|
+
_c(o, this).then((l) => {
|
|
7542
7542
|
n.resolve(l.body);
|
|
7543
7543
|
}).catch((l) => {
|
|
7544
|
-
|
|
7544
|
+
Fc(l, o), l instanceof Error ? n.reject(l) : n.reject(new Error((l ?? Je).toString()));
|
|
7545
7545
|
});
|
|
7546
7546
|
} else {
|
|
7547
7547
|
const c = this.store.dispatch(
|
|
@@ -7579,7 +7579,7 @@ class We {
|
|
|
7579
7579
|
constructor() {
|
|
7580
7580
|
f(this, "graph");
|
|
7581
7581
|
f(this, "requestAttemptCounter");
|
|
7582
|
-
this.graph = new
|
|
7582
|
+
this.graph = new zc(), this.requestAttemptCounter = {};
|
|
7583
7583
|
}
|
|
7584
7584
|
/**
|
|
7585
7585
|
* Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
|
|
@@ -7747,18 +7747,18 @@ export {
|
|
|
7747
7747
|
GS as AssetTypeFieldsAttachmentService,
|
|
7748
7748
|
BS as AssetTypeFieldsService,
|
|
7749
7749
|
HS as AssetTypeService,
|
|
7750
|
-
|
|
7750
|
+
Vc as AttachmentModel,
|
|
7751
7751
|
v as BaseApiService,
|
|
7752
7752
|
R_ as BaseSDK,
|
|
7753
|
-
|
|
7753
|
+
Yc as COMMON_AUTO_FIELDS,
|
|
7754
7754
|
WS as CategoryService,
|
|
7755
7755
|
hm as DEFAULT_ISSUE_PRIORITY,
|
|
7756
7756
|
lm as DEFAULT_ISSUE_STATUS,
|
|
7757
|
-
|
|
7757
|
+
$c as DeferredPromise,
|
|
7758
7758
|
KS as DocumentAttachmentService,
|
|
7759
7759
|
YS as DocumentService,
|
|
7760
|
-
|
|
7761
|
-
|
|
7760
|
+
Dc as EMPTY_ARRAY,
|
|
7761
|
+
xc as EMPTY_OBJECT,
|
|
7762
7762
|
JS as EmailDomainsService,
|
|
7763
7763
|
ZS as EmailVerificationService,
|
|
7764
7764
|
QS as FileService,
|
|
@@ -7785,8 +7785,8 @@ export {
|
|
|
7785
7785
|
M as IssueUpdateChange,
|
|
7786
7786
|
f_ as IssueUpdateService,
|
|
7787
7787
|
y_ as JWTService,
|
|
7788
|
-
|
|
7789
|
-
|
|
7788
|
+
Cc as OUTBOX_RETRY_DELAY,
|
|
7789
|
+
Uc as OrganizationAccessLevel,
|
|
7790
7790
|
b_ as OrganizationAccessService,
|
|
7791
7791
|
g_ as OrganizationService,
|
|
7792
7792
|
We as OutboxCoordinator,
|
|
@@ -7808,25 +7808,25 @@ export {
|
|
|
7808
7808
|
wn as addAssetAttachments,
|
|
7809
7809
|
As as addAssetProcedure,
|
|
7810
7810
|
Bm as addAssetProcedureAttachment,
|
|
7811
|
-
|
|
7811
|
+
hr as addAssetProcedureAttachments,
|
|
7812
7812
|
rs as addAssetProcedureFieldValues,
|
|
7813
7813
|
oA as addAssetProcedureFieldValuesAttachment,
|
|
7814
7814
|
vt as addAssetProcedureFieldValuesAttachments,
|
|
7815
|
-
|
|
7816
|
-
|
|
7815
|
+
$r as addAssetProcedureFieldValuesMany,
|
|
7816
|
+
wr as addAssetProcedureFields,
|
|
7817
7817
|
Wm as addAssetProcedureFieldsAttachment,
|
|
7818
|
-
|
|
7818
|
+
Pr as addAssetProcedureFieldsAttachments,
|
|
7819
7819
|
eA as addAssetProcedureFieldsMany,
|
|
7820
7820
|
ls as addAssetProcedureInstance,
|
|
7821
|
-
|
|
7821
|
+
Wr as addAssetProcedureInstances,
|
|
7822
7822
|
af as addAssetProcedureStep,
|
|
7823
7823
|
Fs as addAssetProcedureStepFieldValues,
|
|
7824
7824
|
HA as addAssetProcedureStepFieldValuesAttachment,
|
|
7825
7825
|
kt as addAssetProcedureStepFieldValuesAttachments,
|
|
7826
|
-
|
|
7826
|
+
yo as addAssetProcedureStepFieldValuesMany,
|
|
7827
7827
|
Ss as addAssetProcedureStepFields,
|
|
7828
7828
|
kA as addAssetProcedureStepFieldsAttachment,
|
|
7829
|
-
|
|
7829
|
+
to as addAssetProcedureStepFieldsAttachments,
|
|
7830
7830
|
xA as addAssetProcedureStepFieldsMany,
|
|
7831
7831
|
vs as addAssetProcedureSteps,
|
|
7832
7832
|
TA as addAssetProcedures,
|
|
@@ -7840,43 +7840,43 @@ export {
|
|
|
7840
7840
|
Zs as addAssetTypeFieldValues,
|
|
7841
7841
|
Vf as addAssetTypeFieldValuesAttachment,
|
|
7842
7842
|
jt as addAssetTypeFieldValuesAttachments,
|
|
7843
|
-
|
|
7844
|
-
|
|
7843
|
+
yd as addAssetTypeFieldValuesMany,
|
|
7844
|
+
ad as addAssetTypeFields,
|
|
7845
7845
|
Ff as addAssetTypeFieldsAttachment,
|
|
7846
|
-
|
|
7846
|
+
Qo as addAssetTypeFieldsAttachments,
|
|
7847
7847
|
Ef as addAssetTypeFieldsMany,
|
|
7848
7848
|
Zf as addAssetTypes,
|
|
7849
7849
|
qt as addAssets,
|
|
7850
7850
|
cy as addCategories,
|
|
7851
7851
|
ci as addCategory,
|
|
7852
|
-
|
|
7852
|
+
Xc as addConversation,
|
|
7853
7853
|
jm as addConversations,
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7854
|
+
py as addDocumentAttachment,
|
|
7855
|
+
jd as addDocumentAttachments,
|
|
7856
|
+
Bd as addDocuments,
|
|
7857
|
+
Yd as addEmailDomain,
|
|
7858
|
+
Sy as addEmailDomains,
|
|
7859
7859
|
fi as addForm,
|
|
7860
7860
|
Oa as addFormRevision,
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7861
|
+
Iy as addFormRevisionAttachment,
|
|
7862
|
+
au as addFormRevisionAttachments,
|
|
7863
|
+
hu as addFormRevisions,
|
|
7864
7864
|
Si as addFormSubmission,
|
|
7865
|
-
|
|
7865
|
+
Ny as addFormSubmissionAttachment,
|
|
7866
7866
|
zt as addFormSubmissionAttachments,
|
|
7867
7867
|
Wt as addFormSubmissions,
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7868
|
+
Uy as addForms,
|
|
7869
|
+
Du as addGeoImage,
|
|
7870
|
+
xu as addGeoImages,
|
|
7871
7871
|
Vi as addIssue,
|
|
7872
7872
|
Ii as addIssueAssociation,
|
|
7873
7873
|
za as addIssueAssociations,
|
|
7874
|
-
|
|
7874
|
+
nb as addIssueAttachment,
|
|
7875
7875
|
Ua as addIssueAttachments,
|
|
7876
7876
|
Mi as addIssueComment,
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7877
|
+
rb as addIssueCommentAttachment,
|
|
7878
|
+
nl as addIssueCommentAttachments,
|
|
7879
|
+
hb as addIssueComments,
|
|
7880
7880
|
Ql as addIssueType,
|
|
7881
7881
|
Pb as addIssueTypeAttachment,
|
|
7882
7882
|
Sl as addIssueTypeAttachments,
|
|
@@ -7891,7 +7891,7 @@ export {
|
|
|
7891
7891
|
eg as addIssueTypes,
|
|
7892
7892
|
nh as addIssueUpdate,
|
|
7893
7893
|
ah as addIssueUpdates,
|
|
7894
|
-
|
|
7894
|
+
yl as addIssues,
|
|
7895
7895
|
Eg as addOrganization,
|
|
7896
7896
|
bh as addOrganizationAccess,
|
|
7897
7897
|
_g as addOrganizationAccesses,
|
|
@@ -7908,59 +7908,59 @@ export {
|
|
|
7908
7908
|
mS as addTeams,
|
|
7909
7909
|
hh as addUser,
|
|
7910
7910
|
mg as addUsers,
|
|
7911
|
-
|
|
7911
|
+
sr as agentsReducer,
|
|
7912
7912
|
Rn as agentsSlice,
|
|
7913
7913
|
bm as areArraysEqual,
|
|
7914
|
-
|
|
7914
|
+
ur as assetAttachmentReducer,
|
|
7915
7915
|
vn as assetAttachmentSlice,
|
|
7916
|
-
|
|
7916
|
+
Sr as assetProcedureAttachmentReducer,
|
|
7917
7917
|
En as assetProcedureAttachmentSlice,
|
|
7918
|
-
|
|
7918
|
+
Vr as assetProcedureFieldValuesAttachmentReducer,
|
|
7919
7919
|
zn as assetProcedureFieldValuesAttachmentSlice,
|
|
7920
|
-
|
|
7920
|
+
Nr as assetProcedureFieldValuesReducer,
|
|
7921
7921
|
xn as assetProcedureFieldValuesSlice,
|
|
7922
|
-
|
|
7922
|
+
Ir as assetProcedureFieldsAttachmentReducer,
|
|
7923
7923
|
qn as assetProcedureFieldsAttachmentSlice,
|
|
7924
|
-
|
|
7924
|
+
jr as assetProcedureFieldsReducer,
|
|
7925
7925
|
jn as assetProcedureFieldsSlice,
|
|
7926
|
-
|
|
7926
|
+
Jr as assetProcedureInstanceReducer,
|
|
7927
7927
|
Vn as assetProcedureInstanceSlice,
|
|
7928
|
-
|
|
7928
|
+
Xr as assetProcedureReducer,
|
|
7929
7929
|
Gn as assetProcedureSlice,
|
|
7930
|
-
|
|
7930
|
+
Ao as assetProcedureStepFieldValuesAttachmentReducer,
|
|
7931
7931
|
Kn as assetProcedureStepFieldValuesAttachmentSlice,
|
|
7932
|
-
|
|
7932
|
+
_o as assetProcedureStepFieldValuesReducer,
|
|
7933
7933
|
Jn as assetProcedureStepFieldValuesSlice,
|
|
7934
|
-
|
|
7934
|
+
co as assetProcedureStepFieldsAttachmentReducer,
|
|
7935
7935
|
Ln as assetProcedureStepFieldsAttachmentSlice,
|
|
7936
|
-
|
|
7936
|
+
oo as assetProcedureStepFieldsReducer,
|
|
7937
7937
|
Nn as assetProcedureStepFieldsSlice,
|
|
7938
|
-
|
|
7938
|
+
Fo as assetProcedureStepReducer,
|
|
7939
7939
|
Zn as assetProcedureStepSlice,
|
|
7940
|
-
|
|
7940
|
+
ko as assetReducer,
|
|
7941
7941
|
Qn as assetSlice,
|
|
7942
|
-
|
|
7942
|
+
Mo as assetStageCompletionReducer,
|
|
7943
7943
|
sa as assetStageCompletionSlice,
|
|
7944
|
-
|
|
7944
|
+
Vo as assetStageReducer,
|
|
7945
7945
|
na as assetStageSlice,
|
|
7946
|
-
|
|
7946
|
+
Jo as assetTypeAttachmentReducer,
|
|
7947
7947
|
aa as assetTypeAttachmentSlice,
|
|
7948
|
-
|
|
7948
|
+
Ad as assetTypeFieldValuesAttachmentReducer,
|
|
7949
7949
|
ua as assetTypeFieldValuesAttachmentSlice,
|
|
7950
|
-
|
|
7950
|
+
_d as assetTypeFieldValuesReducer,
|
|
7951
7951
|
ha as assetTypeFieldValuesSlice,
|
|
7952
|
-
|
|
7952
|
+
id as assetTypeFieldsAttachmentReducer,
|
|
7953
7953
|
oa as assetTypeFieldsAttachmentSlice,
|
|
7954
|
-
|
|
7954
|
+
dd as assetTypeFieldsReducer,
|
|
7955
7955
|
da as assetTypeFieldsSlice,
|
|
7956
|
-
|
|
7956
|
+
Fd as assetTypeReducer,
|
|
7957
7957
|
ma as assetTypeSlice,
|
|
7958
|
-
|
|
7958
|
+
Rd as authReducer,
|
|
7959
7959
|
Nt as authSlice,
|
|
7960
7960
|
_S as baseReducer,
|
|
7961
|
-
|
|
7961
|
+
pc as baseReducers,
|
|
7962
7962
|
Fm as blobToBase64,
|
|
7963
|
-
|
|
7963
|
+
Ed as categoryReducer,
|
|
7964
7964
|
fa as categorySlice,
|
|
7965
7965
|
iy as clearTokens,
|
|
7966
7966
|
Tm as constructUploadedFilePayloads,
|
|
@@ -7972,29 +7972,29 @@ export {
|
|
|
7972
7972
|
mm as createPointGeometry,
|
|
7973
7973
|
pm as createSelectionAdapter,
|
|
7974
7974
|
Ms as deleteAsset,
|
|
7975
|
-
|
|
7975
|
+
ar as deleteAssetAttachment,
|
|
7976
7976
|
kn as deleteAssetAttachments,
|
|
7977
7977
|
fs as deleteAssetProcedure,
|
|
7978
|
-
|
|
7979
|
-
|
|
7978
|
+
Ar as deleteAssetProcedureAttachment,
|
|
7979
|
+
fr as deleteAssetProcedureAttachments,
|
|
7980
7980
|
os as deleteAssetProcedureFieldValues,
|
|
7981
7981
|
hA as deleteAssetProcedureFieldValuesAttachment,
|
|
7982
7982
|
wt as deleteAssetProcedureFieldValuesAttachments,
|
|
7983
|
-
|
|
7984
|
-
|
|
7983
|
+
Br as deleteAssetProcedureFieldValuesMany,
|
|
7984
|
+
Er as deleteAssetProcedureFields,
|
|
7985
7985
|
Zm as deleteAssetProcedureFieldsAttachment,
|
|
7986
|
-
|
|
7986
|
+
Fr as deleteAssetProcedureFieldsAttachments,
|
|
7987
7987
|
nA as deleteAssetProcedureFieldsMany,
|
|
7988
7988
|
hs as deleteAssetProcedureInstance,
|
|
7989
|
-
|
|
7989
|
+
Kr as deleteAssetProcedureInstances,
|
|
7990
7990
|
cf as deleteAssetProcedureStep,
|
|
7991
7991
|
Os as deleteAssetProcedureStepFieldValues,
|
|
7992
7992
|
JA as deleteAssetProcedureStepFieldValuesAttachment,
|
|
7993
7993
|
Et as deleteAssetProcedureStepFieldValuesAttachments,
|
|
7994
|
-
|
|
7994
|
+
go as deleteAssetProcedureStepFieldValuesMany,
|
|
7995
7995
|
_s as deleteAssetProcedureStepFields,
|
|
7996
7996
|
MA as deleteAssetProcedureStepFieldsAttachment,
|
|
7997
|
-
|
|
7997
|
+
io as deleteAssetProcedureStepFieldsAttachments,
|
|
7998
7998
|
$A as deleteAssetProcedureStepFieldsMany,
|
|
7999
7999
|
ks as deleteAssetProcedureSteps,
|
|
8000
8000
|
OA as deleteAssetProcedures,
|
|
@@ -8003,47 +8003,47 @@ export {
|
|
|
8003
8003
|
Cs as deleteAssetStageCompletions,
|
|
8004
8004
|
Ls as deleteAssetStages,
|
|
8005
8005
|
si as deleteAssetType,
|
|
8006
|
-
|
|
8006
|
+
No as deleteAssetTypeAttachment,
|
|
8007
8007
|
ra as deleteAssetTypeAttachments,
|
|
8008
8008
|
Qs as deleteAssetTypeFieldValues,
|
|
8009
8009
|
Bf as deleteAssetTypeFieldValuesAttachment,
|
|
8010
8010
|
Mt as deleteAssetTypeFieldValuesAttachments,
|
|
8011
|
-
|
|
8012
|
-
|
|
8011
|
+
gd as deleteAssetTypeFieldValuesMany,
|
|
8012
|
+
rd as deleteAssetTypeFields,
|
|
8013
8013
|
vf as deleteAssetTypeFieldsAttachment,
|
|
8014
|
-
|
|
8014
|
+
ed as deleteAssetTypeFieldsAttachments,
|
|
8015
8015
|
zf as deleteAssetTypeFieldsMany,
|
|
8016
8016
|
Xf as deleteAssetTypes,
|
|
8017
8017
|
Xn as deleteAssets,
|
|
8018
8018
|
uy as deleteCategories,
|
|
8019
|
-
|
|
8019
|
+
wd as deleteCategory,
|
|
8020
8020
|
Dm as deleteConversation,
|
|
8021
8021
|
xm as deleteConversations,
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8022
|
+
Dd as deleteDocumentAttachment,
|
|
8023
|
+
xd as deleteDocumentAttachments,
|
|
8024
|
+
Jd as deleteEmailDomain,
|
|
8025
|
+
Oy as deleteEmailDomains,
|
|
8026
8026
|
yi as deleteForm,
|
|
8027
8027
|
Ra as deleteFormRevision,
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8028
|
+
Ey as deleteFormRevisionAttachment,
|
|
8029
|
+
ru as deleteFormRevisionAttachments,
|
|
8030
|
+
mu as deleteFormRevisions,
|
|
8031
8031
|
_i as deleteFormSubmission,
|
|
8032
|
-
|
|
8032
|
+
Yy as deleteFormSubmissionAttachment,
|
|
8033
8033
|
Dt as deleteFormSubmissionAttachments,
|
|
8034
8034
|
Kt as deleteFormSubmissions,
|
|
8035
|
-
|
|
8035
|
+
By as deleteForms,
|
|
8036
8036
|
Fi as deleteGeoImage,
|
|
8037
|
-
|
|
8037
|
+
Vu as deleteGeoImages,
|
|
8038
8038
|
Ci as deleteIssue,
|
|
8039
8039
|
vi as deleteIssueAssociation,
|
|
8040
8040
|
Da as deleteIssueAssociations,
|
|
8041
|
-
|
|
8041
|
+
Qu as deleteIssueAttachment,
|
|
8042
8042
|
Va as deleteIssueAttachments,
|
|
8043
8043
|
Di as deleteIssueComment,
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8044
|
+
rl as deleteIssueCommentAttachment,
|
|
8045
|
+
ol as deleteIssueCommentAttachments,
|
|
8046
|
+
Ab as deleteIssueComments,
|
|
8047
8047
|
ig as deleteIssueType,
|
|
8048
8048
|
Tl as deleteIssueTypeAttachment,
|
|
8049
8049
|
Fl as deleteIssueTypeAttachments,
|
|
@@ -8058,7 +8058,7 @@ export {
|
|
|
8058
8058
|
ng as deleteIssueTypes,
|
|
8059
8059
|
ch as deleteIssueUpdate,
|
|
8060
8060
|
rh as deleteIssueUpdates,
|
|
8061
|
-
|
|
8061
|
+
bl as deleteIssues,
|
|
8062
8062
|
Mg as deleteOrganization,
|
|
8063
8063
|
gh as deleteOrganizationAccess,
|
|
8064
8064
|
Og as deleteOrganizationAccesses,
|
|
@@ -8067,7 +8067,7 @@ export {
|
|
|
8067
8067
|
dn as deleteProjectAccess,
|
|
8068
8068
|
Mh as deleteProjectAccesses,
|
|
8069
8069
|
Bh as deleteProjectAttachment,
|
|
8070
|
-
|
|
8070
|
+
cc as deleteProjectAttachments,
|
|
8071
8071
|
Zh as deleteProjectFile,
|
|
8072
8072
|
Qh as deleteProjectFiles,
|
|
8073
8073
|
oS as deleteProjects,
|
|
@@ -8076,79 +8076,79 @@ export {
|
|
|
8076
8076
|
ph as deleteUser,
|
|
8077
8077
|
yg as deleteUsers,
|
|
8078
8078
|
kp as dequeue,
|
|
8079
|
-
|
|
8080
|
-
|
|
8079
|
+
Fc as discard,
|
|
8080
|
+
$d as documentAttachmentReducer,
|
|
8081
8081
|
ba as documentAttachmentSlice,
|
|
8082
8082
|
ga as documentSlice,
|
|
8083
|
-
|
|
8083
|
+
Wd as documentsReducer,
|
|
8084
8084
|
Om as downloadFile,
|
|
8085
8085
|
Pm as downloadInMemoryFile,
|
|
8086
|
-
|
|
8086
|
+
Xd as emailDomainsReducer,
|
|
8087
8087
|
Sa as emailDomainsSlice,
|
|
8088
8088
|
qm as emailRegex,
|
|
8089
8089
|
wp as enqueue,
|
|
8090
8090
|
vh as enqueueRequest,
|
|
8091
8091
|
b as fallbackToEmptyArray,
|
|
8092
8092
|
Ze as fallbackToEmptyObject,
|
|
8093
|
-
|
|
8093
|
+
iu as fileReducer,
|
|
8094
8094
|
Pa as fileSlice,
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8095
|
+
Kc as fileToBlob,
|
|
8096
|
+
gu as formReducer,
|
|
8097
|
+
du as formRevisionAttachmentReducer,
|
|
8098
8098
|
Ta as formRevisionAttachmentSlice,
|
|
8099
|
-
|
|
8099
|
+
yu as formRevisionReducer,
|
|
8100
8100
|
Fa as formRevisionsSlice,
|
|
8101
8101
|
Ia as formSlice,
|
|
8102
|
-
|
|
8102
|
+
Iu as formSubmissionAttachmentReducer,
|
|
8103
8103
|
va as formSubmissionAttachmentSlice,
|
|
8104
|
-
|
|
8104
|
+
ju as formSubmissionReducer,
|
|
8105
8105
|
ka as formSubmissionSlice,
|
|
8106
|
-
|
|
8106
|
+
Gu as geoImageReducer,
|
|
8107
8107
|
ja as geoImageSlice,
|
|
8108
8108
|
_m as getFileIdentifier,
|
|
8109
8109
|
Zt as getFileS3Key,
|
|
8110
|
-
|
|
8110
|
+
Bc as getLocalDateString,
|
|
8111
8111
|
Sm as getLocalRelativeDateString,
|
|
8112
8112
|
Ge as getOutboxCoordinator,
|
|
8113
|
-
|
|
8113
|
+
Wc as getRenamedFile,
|
|
8114
8114
|
Ke as hashFile,
|
|
8115
8115
|
I_ as initSDK,
|
|
8116
8116
|
ts as initializeAssetAttachments,
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
8117
|
+
lr as initializeAssetProcedureAttachments,
|
|
8118
|
+
Cr as initializeAssetProcedureFieldValues,
|
|
8119
|
+
Mr as initializeAssetProcedureFieldValuesAttachments,
|
|
8120
|
+
vr as initializeAssetProcedureFields,
|
|
8121
|
+
_r as initializeAssetProcedureFieldsAttachments,
|
|
8122
|
+
Hr as initializeAssetProcedureInstances,
|
|
8123
|
+
fo as initializeAssetProcedureStepFieldValues,
|
|
8124
|
+
uo as initializeAssetProcedureStepFieldValuesAttachments,
|
|
8125
|
+
ro as initializeAssetProcedureStepFields,
|
|
8126
|
+
eo as initializeAssetProcedureStepFieldsAttachments,
|
|
8127
|
+
Po as initializeAssetProcedureSteps,
|
|
8128
|
+
Zr as initializeAssetProcedures,
|
|
8129
|
+
Eo as initializeAssetStageCompletions,
|
|
8130
|
+
xo as initializeAssetStages,
|
|
8131
|
+
Go as initializeAssetTypeAttachments,
|
|
8132
|
+
fd as initializeAssetTypeFieldValues,
|
|
8133
|
+
ud as initializeAssetTypeFieldValuesAttachments,
|
|
8134
|
+
nd as initializeAssetTypeFields,
|
|
8135
|
+
Zo as initializeAssetTypeFieldsAttachments,
|
|
8136
|
+
Pd as initializeAssetTypes,
|
|
8137
|
+
Io as initializeAssets,
|
|
8138
|
+
Id as initializeCategories,
|
|
8139
|
+
Qc as initializeConversations,
|
|
8140
|
+
qd as initializeDocumentAttachments,
|
|
8141
|
+
Kd as initializeEmailDomains,
|
|
8142
|
+
nu as initializeFormRevisionAttachments,
|
|
8143
|
+
lu as initializeFormRevisions,
|
|
8144
|
+
Tu as initializeFormSubmissionAttachments,
|
|
8145
|
+
vu as initializeFormSubmissions,
|
|
8146
|
+
bu as initializeForms,
|
|
8147
|
+
Mu as initializeGeoImages,
|
|
8148
|
+
Bu as initializeIssueAssociations,
|
|
8149
8149
|
ki as initializeIssueAttachments,
|
|
8150
8150
|
qi as initializeIssueCommentAttachments,
|
|
8151
|
-
|
|
8151
|
+
lb as initializeIssueComments,
|
|
8152
8152
|
Bi as initializeIssueTypeAttachments,
|
|
8153
8153
|
Dl as initializeIssueTypeFieldValues,
|
|
8154
8154
|
Nl as initializeIssueTypeFieldValuesAttachments,
|
|
@@ -8156,7 +8156,7 @@ export {
|
|
|
8156
8156
|
wl as initializeIssueTypeFieldsAttachments,
|
|
8157
8157
|
Zl as initializeIssueTypes,
|
|
8158
8158
|
ih as initializeIssueUpdates,
|
|
8159
|
-
|
|
8159
|
+
fl as initializeIssues,
|
|
8160
8160
|
yh as initializeOrganizationAccesses,
|
|
8161
8161
|
vg as initializeOrganizations,
|
|
8162
8162
|
qh as initializeProjectAccesses,
|
|
@@ -8166,58 +8166,58 @@ export {
|
|
|
8166
8166
|
Ap as initializeTeams,
|
|
8167
8167
|
lh as initializeUsers,
|
|
8168
8168
|
gm as isToday,
|
|
8169
|
-
|
|
8169
|
+
Yu as issueAssociationReducer,
|
|
8170
8170
|
Ma as issueAssociationSlice,
|
|
8171
|
-
|
|
8171
|
+
il as issueAttachmentReducer,
|
|
8172
8172
|
xa as issueAttachmentSlice,
|
|
8173
|
-
|
|
8173
|
+
hl as issueCommentAttachmentReducer,
|
|
8174
8174
|
Ca as issueCommentAttachmentSlice,
|
|
8175
|
-
|
|
8175
|
+
Al as issueCommentReducer,
|
|
8176
8176
|
$a as issueCommentSlice,
|
|
8177
8177
|
gl as issueReducer,
|
|
8178
8178
|
Ga as issueSlice,
|
|
8179
8179
|
vl as issueTypeAttachmentReducer,
|
|
8180
|
-
|
|
8180
|
+
La as issueTypeAttachmentSlice,
|
|
8181
8181
|
Jl as issueTypeFieldValuesAttachmentReducer,
|
|
8182
|
-
|
|
8182
|
+
Ya as issueTypeFieldValuesAttachmentSlice,
|
|
8183
8183
|
Ul as issueTypeFieldValuesReducer,
|
|
8184
|
-
|
|
8184
|
+
Ha as issueTypeFieldValuesSlice,
|
|
8185
8185
|
zl as issueTypeFieldsAttachmentReducer,
|
|
8186
|
-
|
|
8186
|
+
Na as issueTypeFieldsAttachmentSlice,
|
|
8187
8187
|
Ll as issueTypeFieldsReducer,
|
|
8188
|
-
|
|
8188
|
+
Ka as issueTypeFieldsSlice,
|
|
8189
8189
|
sh as issueTypeReducer,
|
|
8190
|
-
|
|
8190
|
+
Za as issueTypeSlice,
|
|
8191
8191
|
uh as issueUpdateReducer,
|
|
8192
|
-
|
|
8192
|
+
Xa as issueUpdateSlice,
|
|
8193
8193
|
Rm as logOnlyOnce,
|
|
8194
8194
|
wh as markAsDeleted,
|
|
8195
8195
|
Gg as markForDeletion,
|
|
8196
8196
|
On as memoize,
|
|
8197
|
-
|
|
8197
|
+
Ld as moveDocument,
|
|
8198
8198
|
F as offline,
|
|
8199
8199
|
Em as onlyUniqueHashes,
|
|
8200
|
-
|
|
8200
|
+
Zc as onlyUniqueOfflineIds,
|
|
8201
8201
|
_h as organizationAccessReducer,
|
|
8202
|
-
|
|
8202
|
+
tc as organizationAccessSlice,
|
|
8203
8203
|
Rh as organizationReducer,
|
|
8204
|
-
|
|
8204
|
+
sc as organizationSlice,
|
|
8205
8205
|
Eh as outboxReducer,
|
|
8206
|
-
|
|
8206
|
+
ic as outboxSlice,
|
|
8207
8207
|
TS as overmapEnhancer,
|
|
8208
8208
|
PS as overmapReducer,
|
|
8209
8209
|
_p as overmapReducers,
|
|
8210
|
-
|
|
8210
|
+
_c as performRequest,
|
|
8211
8211
|
xh as projectAccessReducer,
|
|
8212
|
-
|
|
8212
|
+
nc as projectAccessSlice,
|
|
8213
8213
|
Kh as projectAttachmentReducer,
|
|
8214
|
-
|
|
8214
|
+
ac as projectAttachmentSlice,
|
|
8215
8215
|
np as projectFileReducer,
|
|
8216
|
-
|
|
8216
|
+
rc as projectFileSlice,
|
|
8217
8217
|
op as projectReducer,
|
|
8218
|
-
|
|
8218
|
+
oc as projectSlice,
|
|
8219
8219
|
mp as rehydratedReducer,
|
|
8220
|
-
|
|
8220
|
+
dc as rehydratedSlice,
|
|
8221
8221
|
ui as removeDocuments,
|
|
8222
8222
|
Qi as removeIssueType,
|
|
8223
8223
|
eS as resetProjectFileObjectUrls,
|
|
@@ -8226,190 +8226,189 @@ export {
|
|
|
8226
8226
|
ny as selectAccessToken,
|
|
8227
8227
|
Ig as selectActiveOrganizationAccess,
|
|
8228
8228
|
sS as selectActiveProjectFileId,
|
|
8229
|
-
|
|
8229
|
+
Vd as selectAllDocumentAttachments,
|
|
8230
8230
|
Nh as selectAllProjectAttachments,
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8231
|
+
by as selectAncestorIdsOfDocument,
|
|
8232
|
+
or as selectAssetAttachmentById,
|
|
8233
|
+
cr as selectAssetAttachmentMapping,
|
|
8234
|
+
rr as selectAssetAttachments,
|
|
8235
8235
|
zs as selectAssetById,
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8236
|
+
gr as selectAssetProcedureAttachmentById,
|
|
8237
|
+
yr as selectAssetProcedureAttachmentMapping,
|
|
8238
|
+
br as selectAssetProcedureAttachments,
|
|
8239
8239
|
ys as selectAssetProcedureById,
|
|
8240
8240
|
Un as selectAssetProcedureFieldValues,
|
|
8241
8241
|
pA as selectAssetProcedureFieldValuesAttachmentById,
|
|
8242
|
-
|
|
8243
|
-
|
|
8242
|
+
Dr as selectAssetProcedureFieldValuesAttachments,
|
|
8243
|
+
xr as selectAssetProcedureFieldValuesAttachmentsByIds,
|
|
8244
8244
|
Dn as selectAssetProcedureFieldValuesAttachmentsMapping,
|
|
8245
8245
|
ds as selectAssetProcedureFieldValuesById,
|
|
8246
|
-
|
|
8246
|
+
Lr as selectAssetProcedureFieldValuesMapping,
|
|
8247
8247
|
fA as selectAssetProcedureFieldValuesOfAsset,
|
|
8248
8248
|
Mn as selectAssetProcedureFields,
|
|
8249
8249
|
Xm as selectAssetProcedureFieldsAttachmentById,
|
|
8250
|
-
|
|
8251
|
-
|
|
8250
|
+
Rr as selectAssetProcedureFieldsAttachments,
|
|
8251
|
+
Or as selectAssetProcedureFieldsAttachmentsMapping,
|
|
8252
8252
|
rA as selectAssetProcedureFieldsById,
|
|
8253
|
-
|
|
8253
|
+
qr as selectAssetProcedureFieldsMapping,
|
|
8254
8254
|
aA as selectAssetProcedureFieldsOfAssetProcedure,
|
|
8255
8255
|
ps as selectAssetProcedureInstanceById,
|
|
8256
8256
|
$n as selectAssetProcedureInstances,
|
|
8257
8257
|
PA as selectAssetProcedureInstancesByIds,
|
|
8258
8258
|
Cn as selectAssetProcedureInstancesMapping,
|
|
8259
|
-
|
|
8259
|
+
Yr as selectAssetProcedureInstancesOfAssetProcedure,
|
|
8260
8260
|
_A as selectAssetProcedureInstancesOfAssetType,
|
|
8261
|
-
|
|
8261
|
+
Oo as selectAssetProcedureStepById,
|
|
8262
8262
|
$t as selectAssetProcedureStepFieldValues,
|
|
8263
8263
|
ZA as selectAssetProcedureStepFieldValuesAttachmentById,
|
|
8264
|
-
|
|
8265
|
-
|
|
8264
|
+
ho as selectAssetProcedureStepFieldValuesAttachments,
|
|
8265
|
+
po as selectAssetProcedureStepFieldValuesAttachmentsByIds,
|
|
8266
8266
|
Yn as selectAssetProcedureStepFieldValuesAttachmentsMapping,
|
|
8267
8267
|
Rs as selectAssetProcedureStepFieldValuesById,
|
|
8268
|
-
|
|
8268
|
+
So as selectAssetProcedureStepFieldValuesMapping,
|
|
8269
8269
|
ef as selectAssetProcedureStepFieldValuesOfAsset,
|
|
8270
8270
|
tf as selectAssetProcedureStepFieldValuesOfAssetProcedureInstance,
|
|
8271
8271
|
sf as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
|
|
8272
8272
|
Wn as selectAssetProcedureStepFields,
|
|
8273
8273
|
DA as selectAssetProcedureStepFieldsAttachmentById,
|
|
8274
|
-
|
|
8275
|
-
|
|
8274
|
+
ao as selectAssetProcedureStepFieldsAttachments,
|
|
8275
|
+
no as selectAssetProcedureStepFieldsAttachmentsMapping,
|
|
8276
8276
|
NA as selectAssetProcedureStepFieldsById,
|
|
8277
8277
|
Hn as selectAssetProcedureStepFieldsMapping,
|
|
8278
8278
|
GA as selectAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
8279
8279
|
Gt as selectAssetProcedureStepMapping,
|
|
8280
|
-
|
|
8280
|
+
Ro as selectAssetProcedureSteps,
|
|
8281
8281
|
Es as selectAssetProcedureStepsByIds,
|
|
8282
8282
|
rf as selectAssetProcedureStepsMappingOfAssetProcedure,
|
|
8283
8283
|
of as selectAssetProcedureStepsOfAssetProcedure,
|
|
8284
|
-
|
|
8284
|
+
Qr as selectAssetProcedures,
|
|
8285
8285
|
vA as selectAssetProceduresByIds,
|
|
8286
8286
|
Bn as selectAssetProceduresMapping,
|
|
8287
8287
|
wA as selectAssetProceduresOfOrganization,
|
|
8288
|
-
|
|
8289
|
-
|
|
8288
|
+
Co as selectAssetStageById,
|
|
8289
|
+
zo as selectAssetStageCompletionById,
|
|
8290
8290
|
ia as selectAssetStageCompletionMapping,
|
|
8291
8291
|
Af as selectAssetStageCompletions,
|
|
8292
|
-
|
|
8293
|
-
|
|
8292
|
+
Do as selectAssetStageCompletionsByIds,
|
|
8293
|
+
$o as selectAssetStages,
|
|
8294
8294
|
Ns as selectAssetStagesByIds,
|
|
8295
8295
|
gf as selectAssetStagesMappingOfAssetProcedure,
|
|
8296
8296
|
Sf as selectAssetStagesOfAssetProcedure,
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8297
|
+
Ko as selectAssetTypeAttachmentById,
|
|
8298
|
+
Ho as selectAssetTypeAttachmentMapping,
|
|
8299
|
+
Wo as selectAssetTypeAttachments,
|
|
8300
8300
|
ii as selectAssetTypeById,
|
|
8301
8301
|
pa as selectAssetTypeFieldValues,
|
|
8302
8302
|
Lf as selectAssetTypeFieldValuesAttachmentById,
|
|
8303
|
-
|
|
8304
|
-
|
|
8303
|
+
hd as selectAssetTypeFieldValuesAttachments,
|
|
8304
|
+
pd as selectAssetTypeFieldValuesAttachmentsByIds,
|
|
8305
8305
|
la as selectAssetTypeFieldValuesAttachmentsMapping,
|
|
8306
8306
|
Xs as selectAssetTypeFieldValuesById,
|
|
8307
|
-
|
|
8307
|
+
Sd as selectAssetTypeFieldValuesMapping,
|
|
8308
8308
|
Wf as selectAssetTypeFieldValuesOfAsset,
|
|
8309
8309
|
Lt as selectAssetTypeFields,
|
|
8310
8310
|
kf as selectAssetTypeFieldsAttachmentById,
|
|
8311
|
-
|
|
8312
|
-
|
|
8311
|
+
sd as selectAssetTypeFieldsAttachments,
|
|
8312
|
+
td as selectAssetTypeFieldsAttachmentsMapping,
|
|
8313
8313
|
Uf as selectAssetTypeFieldsById,
|
|
8314
|
-
|
|
8314
|
+
od as selectAssetTypeFieldsMapping,
|
|
8315
8315
|
Df as selectAssetTypeFieldsOfAssetType,
|
|
8316
8316
|
Kf as selectAssetTypeValuesOfAssetType,
|
|
8317
|
-
|
|
8317
|
+
Td as selectAssetTypes,
|
|
8318
8318
|
ey as selectAssetTypesByIds,
|
|
8319
8319
|
Aa as selectAssetTypesMapping,
|
|
8320
8320
|
ty as selectAssetTypesOfOrganization,
|
|
8321
|
-
|
|
8322
|
-
|
|
8321
|
+
vo as selectAssets,
|
|
8322
|
+
wo as selectAssetsByIds,
|
|
8323
8323
|
ea as selectAssetsMapping,
|
|
8324
8324
|
ta as selectAssetsOfAssetType,
|
|
8325
|
-
|
|
8325
|
+
dr as selectAttachmentsOfAsset,
|
|
8326
8326
|
Hm as selectAttachmentsOfAssetProcedure,
|
|
8327
|
-
|
|
8327
|
+
Ur as selectAttachmentsOfAssetProcedureFieldValues,
|
|
8328
8328
|
Qm as selectAttachmentsOfAssetProcedureFields,
|
|
8329
|
-
|
|
8329
|
+
mo as selectAttachmentsOfAssetProcedureStepFieldValues,
|
|
8330
8330
|
zA as selectAttachmentsOfAssetProcedureStepFields,
|
|
8331
|
-
|
|
8332
|
-
|
|
8331
|
+
Yo as selectAttachmentsOfAssetType,
|
|
8332
|
+
md as selectAttachmentsOfAssetTypeFieldValues,
|
|
8333
8333
|
wf as selectAttachmentsOfAssetTypeFields,
|
|
8334
|
-
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8334
|
+
fy as selectAttachmentsOfDocument,
|
|
8335
|
+
qy as selectAttachmentsOfFormRevision,
|
|
8336
|
+
Ru as selectAttachmentsOfFormSubmission,
|
|
8337
|
+
tl as selectAttachmentsOfIssue,
|
|
8338
|
+
ub as selectAttachmentsOfIssueComment,
|
|
8339
8339
|
Ob as selectAttachmentsOfIssueType,
|
|
8340
8340
|
Yl as selectAttachmentsOfIssueTypeFieldValues,
|
|
8341
8341
|
Eb as selectAttachmentsOfIssueTypeFields,
|
|
8342
8342
|
Wh as selectAttachmentsOfProject,
|
|
8343
|
-
|
|
8343
|
+
kd as selectCategories,
|
|
8344
8344
|
ly as selectCategoriesByIds,
|
|
8345
8345
|
hy as selectCategoriesOfProject,
|
|
8346
8346
|
ri as selectCategoryById,
|
|
8347
8347
|
ya as selectCategoryMapping,
|
|
8348
|
-
|
|
8348
|
+
fb as selectCommentsOfIssue,
|
|
8349
8349
|
Vm as selectConversation,
|
|
8350
8350
|
In as selectConversationMapping,
|
|
8351
8351
|
Um as selectConversations,
|
|
8352
8352
|
Ah as selectCurrentUser,
|
|
8353
8353
|
Cg as selectDeletedRequests,
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8354
|
+
Cd as selectDocumentAttachmentById,
|
|
8355
|
+
Ud as selectDocumentAttachmentMapping,
|
|
8356
|
+
Hd as selectDocumentById,
|
|
8357
|
+
Nd as selectDocuments,
|
|
8358
|
+
yy as selectDocumentsByIds,
|
|
8359
8359
|
Ye as selectDocumentsMapping,
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8360
|
+
Qd as selectEmailDomains,
|
|
8361
|
+
Zd as selectEmailDomainsAsMapping,
|
|
8362
|
+
Ry as selectEmailDomainsOfOrganization,
|
|
8363
8363
|
yA as selectFieldValuesOfAssetProcedureInstance,
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8367
|
-
|
|
8364
|
+
Pu as selectFormById,
|
|
8365
|
+
Su as selectFormMapping,
|
|
8366
|
+
ou as selectFormRevisionAttachmentsMapping,
|
|
8367
|
+
Dy as selectFormRevisionById,
|
|
8368
8368
|
Ht as selectFormRevisionMapping,
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
|
|
8369
|
+
Au as selectFormRevisions,
|
|
8370
|
+
fu as selectFormRevisionsOfForm,
|
|
8371
|
+
Ou as selectFormSubmissionAttachemntsByIds,
|
|
8372
8372
|
wa as selectFormSubmissionAttachmentsMapping,
|
|
8373
8373
|
Pi as selectFormSubmissionById,
|
|
8374
8374
|
qa as selectFormSubmissions,
|
|
8375
8375
|
Ea as selectFormSubmissionsMapping,
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8376
|
+
qu as selectFormSubmissionsOfAsset,
|
|
8377
|
+
ku as selectFormSubmissionsOfForm,
|
|
8378
|
+
Eu as selectFormSubmissionsOfIssue,
|
|
8379
|
+
_u as selectForms,
|
|
8380
|
+
Ly as selectFormsOfOrganization,
|
|
8381
8381
|
Oi as selectGeoImageById,
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8382
|
+
Cu as selectGeoImageMapping,
|
|
8383
|
+
$u as selectGeoImages,
|
|
8384
|
+
Xy as selectGeoImagesOfProject,
|
|
8385
8385
|
iS as selectIsImportingProjectFile,
|
|
8386
8386
|
ay as selectIsLoggedIn,
|
|
8387
|
-
|
|
8387
|
+
Nu as selectIssueAssociationById,
|
|
8388
8388
|
ft as selectIssueAssociationMapping,
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8389
|
+
ib as selectIssueAssociations,
|
|
8390
|
+
Ku as selectIssueAssociationsOfAsset,
|
|
8391
|
+
Wu as selectIssueAssociationsOfIssue,
|
|
8392
|
+
Hu as selectIssueAssociationsToIssue,
|
|
8393
|
+
sl as selectIssueAttachmentById,
|
|
8394
|
+
Xu as selectIssueAttachmentMapping,
|
|
8395
|
+
el as selectIssueAttachments,
|
|
8396
8396
|
$i as selectIssueById,
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8397
|
+
ll as selectIssueCommentAttachmentById,
|
|
8398
|
+
dl as selectIssueCommentAttachmentMapping,
|
|
8399
|
+
ul as selectIssueCommentAttachments,
|
|
8400
8400
|
xi as selectIssueCommentById,
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
bl as selectIssueMapping,
|
|
8401
|
+
ml as selectIssueCommentMapping,
|
|
8402
|
+
Ba as selectIssueMapping,
|
|
8404
8403
|
Il as selectIssueTypeAttachmentById,
|
|
8405
8404
|
Ol as selectIssueTypeAttachmentMapping,
|
|
8406
8405
|
Rl as selectIssueTypeAttachments,
|
|
8407
8406
|
Xi as selectIssueTypeById,
|
|
8408
|
-
|
|
8407
|
+
Wa as selectIssueTypeFieldValues,
|
|
8409
8408
|
Xb as selectIssueTypeFieldValuesAttachmentById,
|
|
8410
8409
|
Wl as selectIssueTypeFieldValuesAttachments,
|
|
8411
8410
|
Kl as selectIssueTypeFieldValuesAttachmentsByIds,
|
|
8412
|
-
|
|
8411
|
+
Ja as selectIssueTypeFieldValuesAttachmentsMapping,
|
|
8413
8412
|
Ki as selectIssueTypeFieldValuesById,
|
|
8414
8413
|
xl as selectIssueTypeFieldValuesMapping,
|
|
8415
8414
|
Ub as selectIssueTypeFieldValuesOfIssue,
|
|
@@ -8427,14 +8426,15 @@ export {
|
|
|
8427
8426
|
cg as selectIssueTypesOfOrganization,
|
|
8428
8427
|
oh as selectIssueUpdateMapping,
|
|
8429
8428
|
dh as selectIssueUpdatesOfIssue,
|
|
8429
|
+
Sb as selectIssues,
|
|
8430
8430
|
_b as selectIssuesByIds,
|
|
8431
|
-
|
|
8431
|
+
Qa as selectIssuesOfIssueType,
|
|
8432
8432
|
rg as selectIssuesOfIssueTypeCount,
|
|
8433
8433
|
cA as selectLatestAssetProcedureFieldsOfAssetProcedure,
|
|
8434
8434
|
BA as selectLatestAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
8435
8435
|
xf as selectLatestAssetTypeFieldsOfAssetType,
|
|
8436
8436
|
LA as selectLatestFieldsByAssetProcedureStep,
|
|
8437
|
-
|
|
8437
|
+
xy as selectLatestFormRevisionOfForm,
|
|
8438
8438
|
Nb as selectLatestIssueTypeFieldsOfIssueType,
|
|
8439
8439
|
$g as selectLatestRetryTime,
|
|
8440
8440
|
hf as selectNumberOfAssetsOfAssetType,
|
|
@@ -8468,24 +8468,24 @@ export {
|
|
|
8468
8468
|
up as selectProjects,
|
|
8469
8469
|
lS as selectProjectsOfOrganization,
|
|
8470
8470
|
pS as selectRehydrated,
|
|
8471
|
-
|
|
8471
|
+
gy as selectRootDocuments,
|
|
8472
8472
|
Bt as selectStageMapping,
|
|
8473
8473
|
He as selectTeamById,
|
|
8474
|
-
|
|
8474
|
+
hc as selectTeams,
|
|
8475
8475
|
bS as selectTeamsByIds,
|
|
8476
|
-
|
|
8476
|
+
lc as selectTeamsMapping,
|
|
8477
8477
|
gS as selectTeamsOfOrganization,
|
|
8478
8478
|
SS as selectTeamsOfUser,
|
|
8479
|
-
|
|
8479
|
+
su as selectUploadUrl,
|
|
8480
8480
|
fh as selectUserById,
|
|
8481
8481
|
Sg as selectUsersByIds,
|
|
8482
8482
|
Qe as selectUsersMapping,
|
|
8483
8483
|
ep as setActiveProjectFileId,
|
|
8484
8484
|
uf as setAsset,
|
|
8485
|
-
|
|
8485
|
+
ir as setAssetAttachment,
|
|
8486
8486
|
$m as setAssetAttachments,
|
|
8487
8487
|
RA as setAssetProcedure,
|
|
8488
|
-
|
|
8488
|
+
pr as setAssetProcedureAttachment,
|
|
8489
8489
|
Lm as setAssetProcedureAttachments,
|
|
8490
8490
|
mA as setAssetProcedureFieldValues,
|
|
8491
8491
|
dA as setAssetProcedureFieldValuesAttachment,
|
|
@@ -8497,7 +8497,7 @@ export {
|
|
|
8497
8497
|
sA as setAssetProcedureFieldsMany,
|
|
8498
8498
|
gA as setAssetProcedureInstance,
|
|
8499
8499
|
SA as setAssetProcedureInstances,
|
|
8500
|
-
|
|
8500
|
+
To as setAssetProcedureStep,
|
|
8501
8501
|
QA as setAssetProcedureStepFieldValues,
|
|
8502
8502
|
WA as setAssetProcedureStepFieldValuesAttachment,
|
|
8503
8503
|
KA as setAssetProcedureStepFieldValuesAttachments,
|
|
@@ -8508,12 +8508,12 @@ export {
|
|
|
8508
8508
|
VA as setAssetProcedureStepFieldsMany,
|
|
8509
8509
|
nf as setAssetProcedureSteps,
|
|
8510
8510
|
IA as setAssetProcedures,
|
|
8511
|
-
|
|
8511
|
+
Uo as setAssetStage,
|
|
8512
8512
|
pf as setAssetStageCompletion,
|
|
8513
8513
|
mf as setAssetStageCompletions,
|
|
8514
8514
|
ff as setAssetStages,
|
|
8515
8515
|
Yf as setAssetType,
|
|
8516
|
-
|
|
8516
|
+
Bo as setAssetTypeAttachment,
|
|
8517
8517
|
Pf as setAssetTypeAttachments,
|
|
8518
8518
|
Nf as setAssetTypeFieldValues,
|
|
8519
8519
|
Cf as setAssetTypeFieldValuesAttachment,
|
|
@@ -8527,36 +8527,36 @@ export {
|
|
|
8527
8527
|
lf as setAssets,
|
|
8528
8528
|
oy as setCategories,
|
|
8529
8529
|
ry as setCategory,
|
|
8530
|
-
|
|
8530
|
+
er as setConversation,
|
|
8531
8531
|
Mm as setConversations,
|
|
8532
8532
|
bg as setCurrentUser,
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8533
|
+
Md as setDocumentAttachment,
|
|
8534
|
+
my as setDocumentAttachments,
|
|
8535
|
+
Gd as setDocuments,
|
|
8536
|
+
_y as setEmailDomain,
|
|
8537
|
+
Py as setEmailDomains,
|
|
8538
|
+
Vy as setForm,
|
|
8539
|
+
pu as setFormRevision,
|
|
8540
|
+
vy as setFormRevisionAttachment,
|
|
8541
|
+
wy as setFormRevisionAttachments,
|
|
8542
|
+
jy as setFormRevisions,
|
|
8543
8543
|
St as setFormSubmission,
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8544
|
+
Hy as setFormSubmissionAttachment,
|
|
8545
|
+
Wy as setFormSubmissionAttachments,
|
|
8546
|
+
Jy as setFormSubmissions,
|
|
8547
|
+
Cy as setForms,
|
|
8548
8548
|
dt as setGeoImage,
|
|
8549
|
-
|
|
8549
|
+
zu as setGeoImages,
|
|
8550
8550
|
Xh as setIsImportingProjectFile,
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8551
|
+
yb as setIssue,
|
|
8552
|
+
tb as setIssueAssociation,
|
|
8553
|
+
eb as setIssueAssociations,
|
|
8554
|
+
Ju as setIssueAttachment,
|
|
8555
|
+
ab as setIssueAttachments,
|
|
8556
8556
|
zi as setIssueComment,
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8557
|
+
al as setIssueCommentAttachment,
|
|
8558
|
+
ob as setIssueCommentAttachments,
|
|
8559
|
+
pl as setIssueComments,
|
|
8560
8560
|
lt as setIssueType,
|
|
8561
8561
|
_l as setIssueTypeAttachment,
|
|
8562
8562
|
Tb as setIssueTypeAttachments,
|
|
@@ -8571,8 +8571,8 @@ export {
|
|
|
8571
8571
|
tg as setIssueTypes,
|
|
8572
8572
|
og as setIssueUpdate,
|
|
8573
8573
|
dg as setIssueUpdates,
|
|
8574
|
-
|
|
8575
|
-
|
|
8574
|
+
bb as setIssues,
|
|
8575
|
+
Od as setLoggedIn,
|
|
8576
8576
|
wg as setOrganization,
|
|
8577
8577
|
Pg as setOrganizationAccess,
|
|
8578
8578
|
Tg as setOrganizationAccesses,
|
|
@@ -8590,91 +8590,91 @@ export {
|
|
|
8590
8590
|
Ne as setTeam,
|
|
8591
8591
|
AS as setTeams,
|
|
8592
8592
|
sy as setTokens,
|
|
8593
|
-
|
|
8593
|
+
tu as setUploadUrl,
|
|
8594
8594
|
pg as setUser,
|
|
8595
8595
|
hg as setUsers,
|
|
8596
8596
|
ym as shallowEqual,
|
|
8597
8597
|
wm as slugify,
|
|
8598
8598
|
vm as spacesToDashesLower,
|
|
8599
8599
|
yp as teamReducer,
|
|
8600
|
-
|
|
8600
|
+
uc as teamSlice,
|
|
8601
8601
|
Im as toFileNameSafeString,
|
|
8602
|
-
|
|
8602
|
+
Jc as toOfflineIdRecord,
|
|
8603
8603
|
km as truncate,
|
|
8604
8604
|
ct as updateAsset,
|
|
8605
8605
|
Gm as updateAssetAttachment,
|
|
8606
|
-
|
|
8606
|
+
nr as updateAssetAttachments,
|
|
8607
8607
|
it as updateAssetProcedure,
|
|
8608
8608
|
Nm as updateAssetProcedureAttachment,
|
|
8609
|
-
|
|
8609
|
+
mr as updateAssetProcedureAttachments,
|
|
8610
8610
|
tt as updateAssetProcedureFieldValues,
|
|
8611
8611
|
lA as updateAssetProcedureFieldValuesAttachment,
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
|
|
8612
|
+
zr as updateAssetProcedureFieldValuesAttachments,
|
|
8613
|
+
Gr as updateAssetProcedureFieldValuesMany,
|
|
8614
|
+
kr as updateAssetProcedureFields,
|
|
8615
8615
|
Jm as updateAssetProcedureFieldsAttachment,
|
|
8616
|
-
|
|
8616
|
+
Tr as updateAssetProcedureFieldsAttachments,
|
|
8617
8617
|
iA as updateAssetProcedureFieldsMany,
|
|
8618
8618
|
st as updateAssetProcedureInstance,
|
|
8619
8619
|
bA as updateAssetProcedureInstances,
|
|
8620
8620
|
ws as updateAssetProcedureStep,
|
|
8621
8621
|
at as updateAssetProcedureStepFieldValues,
|
|
8622
8622
|
YA as updateAssetProcedureStepFieldValuesAttachment,
|
|
8623
|
-
|
|
8624
|
-
|
|
8623
|
+
lo as updateAssetProcedureStepFieldValuesAttachments,
|
|
8624
|
+
bo as updateAssetProcedureStepFieldValuesMany,
|
|
8625
8625
|
nt as updateAssetProcedureStepFields,
|
|
8626
8626
|
jA as updateAssetProcedureStepFieldsAttachment,
|
|
8627
|
-
|
|
8627
|
+
so as updateAssetProcedureStepFieldsAttachments,
|
|
8628
8628
|
CA as updateAssetProcedureStepFieldsMany,
|
|
8629
8629
|
bt as updateAssetProcedureSteps,
|
|
8630
8630
|
FA as updateAssetProcedures,
|
|
8631
8631
|
Bs as updateAssetStage,
|
|
8632
|
-
|
|
8633
|
-
|
|
8632
|
+
qo as updateAssetStageCompletion,
|
|
8633
|
+
jo as updateAssetStageCompletions,
|
|
8634
8634
|
gt as updateAssetStages,
|
|
8635
8635
|
ot as updateAssetType,
|
|
8636
8636
|
Tf as updateAssetTypeAttachment,
|
|
8637
|
-
|
|
8637
|
+
Lo as updateAssetTypeAttachments,
|
|
8638
8638
|
rt as updateAssetTypeFieldValues,
|
|
8639
8639
|
Gf as updateAssetTypeFieldValuesAttachment,
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8640
|
+
ld as updateAssetTypeFieldValuesAttachments,
|
|
8641
|
+
bd as updateAssetTypeFieldValuesMany,
|
|
8642
|
+
cd as updateAssetTypeFields,
|
|
8643
8643
|
If as updateAssetTypeFieldsAttachment,
|
|
8644
|
-
|
|
8644
|
+
Xo as updateAssetTypeFieldsAttachments,
|
|
8645
8645
|
Mf as updateAssetTypeFieldsMany,
|
|
8646
8646
|
Qf as updateAssetTypes,
|
|
8647
8647
|
df as updateAssets,
|
|
8648
8648
|
dy as updateCategories,
|
|
8649
|
-
|
|
8650
|
-
|
|
8649
|
+
vd as updateCategory,
|
|
8650
|
+
tr as updateConversation,
|
|
8651
8651
|
zm as updateConversations,
|
|
8652
|
-
|
|
8653
|
-
|
|
8652
|
+
Ay as updateDocumentAttachment,
|
|
8653
|
+
zd as updateDocumentAttachments,
|
|
8654
8654
|
Ue as updateDocuments,
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8655
|
+
Ty as updateEmailDomain,
|
|
8656
|
+
Fy as updateEmailDomains,
|
|
8657
|
+
$y as updateForm,
|
|
8658
|
+
My as updateFormRevision,
|
|
8659
|
+
ky as updateFormRevisionAttachment,
|
|
8660
|
+
cu as updateFormRevisionAttachments,
|
|
8661
|
+
zy as updateFormRevisions,
|
|
8662
|
+
wu as updateFormSubmission,
|
|
8663
|
+
Ky as updateFormSubmissionAttachment,
|
|
8664
|
+
Fu as updateFormSubmissionAttachments,
|
|
8665
|
+
Zy as updateFormSubmissions,
|
|
8666
|
+
Gy as updateForms,
|
|
8667
|
+
Uu as updateGeoImage,
|
|
8668
|
+
Qy as updateGeoImages,
|
|
8669
8669
|
_t as updateIssue,
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8670
|
+
Lu as updateIssueAssociation,
|
|
8671
|
+
sb as updateIssueAssociations,
|
|
8672
|
+
cb as updateIssueAttachment,
|
|
8673
|
+
Zu as updateIssueAttachments,
|
|
8674
|
+
pb as updateIssueComment,
|
|
8675
|
+
db as updateIssueCommentAttachment,
|
|
8676
|
+
cl as updateIssueCommentAttachments,
|
|
8677
|
+
mb as updateIssueComments,
|
|
8678
8678
|
Xl as updateIssueType,
|
|
8679
8679
|
Fb as updateIssueTypeAttachment,
|
|
8680
8680
|
Pl as updateIssueTypeAttachments,
|
|
@@ -8689,7 +8689,7 @@ export {
|
|
|
8689
8689
|
sg as updateIssueTypes,
|
|
8690
8690
|
ug as updateIssueUpdate,
|
|
8691
8691
|
lg as updateIssueUpdates,
|
|
8692
|
-
|
|
8692
|
+
gb as updateIssues,
|
|
8693
8693
|
jg as updateOrganization,
|
|
8694
8694
|
Pt as updateOrganizationAccess,
|
|
8695
8695
|
Fg as updateOrganizationAccesses,
|
|
@@ -8707,7 +8707,7 @@ export {
|
|
|
8707
8707
|
fg as updateUser,
|
|
8708
8708
|
Ag as updateUsers,
|
|
8709
8709
|
mh as userReducer,
|
|
8710
|
-
|
|
8710
|
+
ec as userSlice,
|
|
8711
8711
|
Sp as versioningReducer,
|
|
8712
8712
|
gp as versioningSlice
|
|
8713
8713
|
};
|