@overmap-ai/core 1.0.78-procedure-steps.2 → 1.0.78-procedure-steps.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/overmap-core.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var A = (t, e, s) =>
|
|
1
|
+
var Sc = Object.defineProperty;
|
|
2
|
+
var gc = (t, e, s) => e in t ? Sc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
|
+
var A = (t, e, s) => gc(t, typeof e != "symbol" ? e + "" : e, s);
|
|
4
4
|
import "@redux-offline/redux-offline/lib/types";
|
|
5
|
-
import { createSlice as T, createSelector as m, combineReducers as dn, compose as
|
|
5
|
+
import { createSlice as T, createSelector as m, combineReducers as dn, compose as Tc } from "@reduxjs/toolkit";
|
|
6
6
|
import qe from "superagent";
|
|
7
7
|
import { v4 as we } from "uuid";
|
|
8
|
-
import { saveAs as
|
|
9
|
-
import { offline as
|
|
8
|
+
import { saveAs as Pc } from "file-saver";
|
|
9
|
+
import { offline as _c } from "@redux-offline/redux-offline";
|
|
10
10
|
import Lt from "@redux-offline/redux-offline/lib/defaults";
|
|
11
11
|
import "buffer";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import Rc from "localforage";
|
|
13
|
+
import Fc from "redux-persist-migrate";
|
|
14
14
|
import "@overmap-ai/forms";
|
|
15
|
-
import { openDB as
|
|
16
|
-
import { RESET_STATE as
|
|
17
|
-
import
|
|
18
|
-
import { DepGraph as
|
|
15
|
+
import { openDB as Oc } from "idb";
|
|
16
|
+
import { RESET_STATE as Ic } from "@redux-offline/redux-offline/lib/constants";
|
|
17
|
+
import vc from "jwt-decode";
|
|
18
|
+
import { DepGraph as wc } from "dependency-graph";
|
|
19
19
|
import "@tiptap/core";
|
|
20
|
-
const
|
|
21
|
-
var un = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(un || {}), ln = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(ln || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}),
|
|
22
|
-
const um = pn.BACKLOG, lm = hn.MEDIUM,
|
|
20
|
+
const Ec = Object.freeze([]), kc = Object.freeze({});
|
|
21
|
+
var un = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(un || {}), ln = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(ln || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), qc = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(qc || {}), hn = /* @__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))(hn || {}), pn = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.SELECTED = 2] = "SELECTED", t[t.DONE = 4] = "DONE", t))(pn || {}), E = /* @__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))(E || {}), jc = /* @__PURE__ */ ((t) => (t.COMPLETED = "checkout.completed", t.CLOSED = "checkout.closed", t))(jc || {}), Mc = /* @__PURE__ */ ((t) => (t[t.PRO = 0] = "PRO", t))(Mc || {}), Cc = /* @__PURE__ */ ((t) => (t[t.ACTIVE = 0] = "ACTIVE", t[t.PAUSED = 2] = "PAUSED", t[t.CANCELLED = 4] = "CANCELLED", t[t.INACTIVE = 6] = "INACTIVE", t[t.PAST_DUE = 8] = "PAST_DUE", t))(Cc || {});
|
|
22
|
+
const um = pn.BACKLOG, lm = hn.MEDIUM, Dc = 6e4;
|
|
23
23
|
function _(t) {
|
|
24
24
|
return {
|
|
25
25
|
addOne: (h, p) => {
|
|
@@ -112,10 +112,10 @@ function hm() {
|
|
|
112
112
|
})
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
const dt = "versioning",
|
|
115
|
+
const dt = "versioning", xc = "RESET";
|
|
116
116
|
var on;
|
|
117
117
|
on = Symbol.toStringTag;
|
|
118
|
-
class
|
|
118
|
+
class zc {
|
|
119
119
|
constructor() {
|
|
120
120
|
A(this, on, "Promise");
|
|
121
121
|
A(this, "_promise");
|
|
@@ -155,8 +155,8 @@ const pm = (t) => ({
|
|
|
155
155
|
coordinates: t
|
|
156
156
|
}), fm = (t, e) => t[0] === e[0] && t[1] === e[1];
|
|
157
157
|
let St = !1;
|
|
158
|
-
const
|
|
159
|
-
["true", "1"].includes(
|
|
158
|
+
const Vc = "";
|
|
159
|
+
["true", "1"].includes(Vc.toLowerCase()) && (St = !0);
|
|
160
160
|
function Am(t, e) {
|
|
161
161
|
if (t === e) return !0;
|
|
162
162
|
if (typeof t != typeof e)
|
|
@@ -183,15 +183,15 @@ function ym(t, e) {
|
|
|
183
183
|
if (t[s] !== e[s]) return !1;
|
|
184
184
|
return !0;
|
|
185
185
|
}
|
|
186
|
-
const b = (t) => t.length === 0 ?
|
|
186
|
+
const b = (t) => t.length === 0 ? Ec : t, De = (t) => Object.keys(t).length === 0 ? kc : t, Uc = mn((t) => {
|
|
187
187
|
if (!t) return "";
|
|
188
188
|
const e = new Date(t), s = e.getFullYear() === Et.getFullYear(), i = { day: "numeric", month: "short" };
|
|
189
189
|
return s || (i.year = "numeric"), e.toLocaleDateString([], i);
|
|
190
|
-
}),
|
|
191
|
-
const i = Math.round((new Date(t).getTime() - Et.getTime()) /
|
|
192
|
-
return i < e || i > s ?
|
|
190
|
+
}), $c = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Gc = 1e3 * 86400, Et = /* @__PURE__ */ new Date(), bm = (t) => new Date(t).toDateString() === Et.toDateString(), Sm = mn((t, e, s) => {
|
|
191
|
+
const i = Math.round((new Date(t).getTime() - Et.getTime()) / Gc);
|
|
192
|
+
return i < e || i > s ? Uc(t) : $c.format(i, "days");
|
|
193
193
|
});
|
|
194
|
-
function
|
|
194
|
+
function Bc(t) {
|
|
195
195
|
return new Uint8Array(t).reduce((s, i) => s + i.toString(16).padStart(2, "0"), "");
|
|
196
196
|
}
|
|
197
197
|
const Nt = async (t, e) => {
|
|
@@ -211,7 +211,7 @@ function Le(t) {
|
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
213
|
crypto.subtle.digest("SHA-1", n).then((a) => {
|
|
214
|
-
const c =
|
|
214
|
+
const c = Bc(a);
|
|
215
215
|
e(c);
|
|
216
216
|
});
|
|
217
217
|
}, i.readAsArrayBuffer(t);
|
|
@@ -224,7 +224,7 @@ function gm(t) {
|
|
|
224
224
|
}
|
|
225
225
|
return `${t.name}&${t.type}${t.size}`;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Lc(t, e) {
|
|
228
228
|
return new File([t], e, { type: t.type });
|
|
229
229
|
}
|
|
230
230
|
function Tm(t, e) {
|
|
@@ -243,7 +243,7 @@ const Pm = async (t) => {
|
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
245
|
return Object.values(e);
|
|
246
|
-
},
|
|
246
|
+
}, Nc = async (t) => (await fetch(t)).blob(), _m = (t) => new Promise((e, s) => {
|
|
247
247
|
const i = new FileReader();
|
|
248
248
|
i.onloadend = () => {
|
|
249
249
|
var n;
|
|
@@ -252,7 +252,7 @@ const Pm = async (t) => {
|
|
|
252
252
|
});
|
|
253
253
|
function Rm(t) {
|
|
254
254
|
const e = new Blob([t]);
|
|
255
|
-
|
|
255
|
+
Pc(e, t.name);
|
|
256
256
|
}
|
|
257
257
|
const Ht = {};
|
|
258
258
|
function Fm(t, e, s, ...i) {
|
|
@@ -260,11 +260,11 @@ function Fm(t, e, s, ...i) {
|
|
|
260
260
|
let a = !1;
|
|
261
261
|
n ? n[e] || (n[e] = !0, a = !0) : (Ht[t] = { [e]: !0 }, a = !0), a && console[s](...i);
|
|
262
262
|
}
|
|
263
|
-
const
|
|
263
|
+
const Hc = ["created_at", "updated_at", "index", "revision"];
|
|
264
264
|
function R(t) {
|
|
265
265
|
return { ...t, uuid: we() };
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Wc(t) {
|
|
268
268
|
const e = {};
|
|
269
269
|
for (const s of t)
|
|
270
270
|
e[s.uuid] = s;
|
|
@@ -293,7 +293,7 @@ function wm(t, e) {
|
|
|
293
293
|
return s.slice(0, s.lastIndexOf(" ")) + "…";
|
|
294
294
|
}
|
|
295
295
|
const y = (t) => (e) => (s) => t(s, e);
|
|
296
|
-
function
|
|
296
|
+
function Kc(t, e, s) {
|
|
297
297
|
return s.findIndex((i) => i.uuid === t.uuid) === e;
|
|
298
298
|
}
|
|
299
299
|
function Em(t, e, s) {
|
|
@@ -302,7 +302,7 @@ function Em(t, e, s) {
|
|
|
302
302
|
const km = /^.+@.+\..+$/;
|
|
303
303
|
function I(t) {
|
|
304
304
|
const e = { ...t };
|
|
305
|
-
for (const s of [...
|
|
305
|
+
for (const s of [...Hc, "created_by"])
|
|
306
306
|
s in e && delete e[s];
|
|
307
307
|
return e;
|
|
308
308
|
}
|
|
@@ -318,7 +318,7 @@ const Ue = _(
|
|
|
318
318
|
setConversation: Ue.setOne,
|
|
319
319
|
updateConversation: Ue.updateOne
|
|
320
320
|
}
|
|
321
|
-
}), { initializeConversations:
|
|
321
|
+
}), { initializeConversations: Yc, addConversation: Jc, setConversation: Qc, updateConversation: Xc } = fn.actions, An = (t) => t.agentsReducer.instances, qm = m(
|
|
322
322
|
[An],
|
|
323
323
|
(t) => Object.values(t)
|
|
324
324
|
), jm = y(
|
|
@@ -326,7 +326,7 @@ const Ue = _(
|
|
|
326
326
|
[An, (t, e) => e],
|
|
327
327
|
(t, e) => t[e]
|
|
328
328
|
)
|
|
329
|
-
),
|
|
329
|
+
), Zc = fn.reducer, C = _(
|
|
330
330
|
(t) => t.uuid
|
|
331
331
|
), Kt = C.getInitialState({}), yn = T({
|
|
332
332
|
name: "assetAttachments",
|
|
@@ -347,21 +347,21 @@ const Ue = _(
|
|
|
347
347
|
initializeAssetAttachments: Yt,
|
|
348
348
|
addAssetAttachment: Mm,
|
|
349
349
|
addAssetAttachments: bn,
|
|
350
|
-
setAssetAttachment:
|
|
350
|
+
setAssetAttachment: er,
|
|
351
351
|
setAssetAttachments: Cm,
|
|
352
352
|
updateAssetAttachment: Dm,
|
|
353
|
-
updateAssetAttachments:
|
|
354
|
-
deleteAssetAttachment:
|
|
353
|
+
updateAssetAttachments: tr,
|
|
354
|
+
deleteAssetAttachment: sr,
|
|
355
355
|
deleteAssetAttachments: Sn
|
|
356
|
-
} = yn.actions,
|
|
357
|
-
[
|
|
356
|
+
} = yn.actions, ir = (t) => t.assetAttachmentReducer.instances, nr = m(
|
|
357
|
+
[ir],
|
|
358
358
|
(t) => Object.values(t)
|
|
359
|
-
),
|
|
359
|
+
), ar = (t) => (e) => e.assetAttachmentReducer.instances[t], cr = y(
|
|
360
360
|
m(
|
|
361
|
-
[
|
|
361
|
+
[nr, (t, e) => e],
|
|
362
362
|
(t, e) => b(t.filter(({ asset: s }) => e === s))
|
|
363
363
|
)
|
|
364
|
-
),
|
|
364
|
+
), rr = yn.reducer, D = _((t) => t.uuid), Jt = D.getInitialState({}), gn = T({
|
|
365
365
|
name: "assetProcedureAttachments",
|
|
366
366
|
initialState: Jt,
|
|
367
367
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Jt)),
|
|
@@ -377,29 +377,29 @@ const Ue = _(
|
|
|
377
377
|
deleteAssetProcedureAttachments: D.deleteMany
|
|
378
378
|
}
|
|
379
379
|
}), {
|
|
380
|
-
initializeAssetProcedureAttachments:
|
|
380
|
+
initializeAssetProcedureAttachments: or,
|
|
381
381
|
addAssetProcedureAttachment: xm,
|
|
382
|
-
addAssetProcedureAttachments:
|
|
383
|
-
setAssetProcedureAttachment:
|
|
382
|
+
addAssetProcedureAttachments: dr,
|
|
383
|
+
setAssetProcedureAttachment: ur,
|
|
384
384
|
setAssetProcedureAttachments: zm,
|
|
385
385
|
updateAssetProcedureAttachment: Vm,
|
|
386
|
-
updateAssetProcedureAttachments:
|
|
387
|
-
deleteAssetProcedureAttachment:
|
|
388
|
-
deleteAssetProcedureAttachments:
|
|
389
|
-
} = gn.actions,
|
|
390
|
-
[
|
|
386
|
+
updateAssetProcedureAttachments: lr,
|
|
387
|
+
deleteAssetProcedureAttachment: hr,
|
|
388
|
+
deleteAssetProcedureAttachments: pr
|
|
389
|
+
} = gn.actions, mr = (t) => t.assetProcedureAttachmentReducer.instances, fr = m(
|
|
390
|
+
[mr],
|
|
391
391
|
(t) => Object.values(t)
|
|
392
|
-
),
|
|
392
|
+
), Ar = (t) => (e) => e.assetProcedureAttachmentReducer.instances[t], Um = y(
|
|
393
393
|
m(
|
|
394
394
|
[
|
|
395
|
-
|
|
395
|
+
fr,
|
|
396
396
|
(t, e) => e
|
|
397
397
|
],
|
|
398
398
|
(t, e) => b(
|
|
399
399
|
t.filter(({ asset_procedure: s }) => e === s)
|
|
400
400
|
)
|
|
401
401
|
)
|
|
402
|
-
),
|
|
402
|
+
), yr = gn.reducer, x = _((t) => t.uuid), Qt = x.getInitialState({}), Tn = T({
|
|
403
403
|
name: "assetProcedureFieldsAttachments",
|
|
404
404
|
initialState: Qt,
|
|
405
405
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qt)),
|
|
@@ -415,21 +415,21 @@ const Ue = _(
|
|
|
415
415
|
deleteAssetProcedureFieldsAttachments: x.deleteMany
|
|
416
416
|
}
|
|
417
417
|
}), {
|
|
418
|
-
initializeAssetProcedureFieldsAttachments:
|
|
418
|
+
initializeAssetProcedureFieldsAttachments: br,
|
|
419
419
|
addAssetProcedureFieldsAttachment: $m,
|
|
420
|
-
addAssetProcedureFieldsAttachments:
|
|
420
|
+
addAssetProcedureFieldsAttachments: Sr,
|
|
421
421
|
setAssetProcedureFieldsAttachment: Gm,
|
|
422
422
|
setAssetProcedureFieldsAttachments: Bm,
|
|
423
423
|
updateAssetProcedureFieldsAttachment: Lm,
|
|
424
|
-
updateAssetProcedureFieldsAttachments:
|
|
424
|
+
updateAssetProcedureFieldsAttachments: gr,
|
|
425
425
|
deleteAssetProcedureFieldsAttachment: Nm,
|
|
426
|
-
deleteAssetProcedureFieldsAttachments:
|
|
427
|
-
} = Tn.actions,
|
|
428
|
-
[
|
|
426
|
+
deleteAssetProcedureFieldsAttachments: Tr
|
|
427
|
+
} = Tn.actions, Pr = (t) => t.assetProcedureFieldsAttachmentReducer.instances, _r = m(
|
|
428
|
+
[Pr],
|
|
429
429
|
(t) => Object.values(t)
|
|
430
430
|
), Hm = y(
|
|
431
|
-
m([
|
|
432
|
-
), Wm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t],
|
|
431
|
+
m([_r, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
432
|
+
), Wm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], Rr = Tn.reducer, z = _(
|
|
433
433
|
(t) => t.uuid
|
|
434
434
|
), Xt = z.getInitialState({}), Pn = T({
|
|
435
435
|
name: "assetProcedureFields",
|
|
@@ -447,23 +447,23 @@ const Ue = _(
|
|
|
447
447
|
deleteAssetProcedureFieldsMany: z.deleteMany
|
|
448
448
|
}
|
|
449
449
|
}), {
|
|
450
|
-
initializeAssetProcedureFields:
|
|
451
|
-
addAssetProcedureFields:
|
|
450
|
+
initializeAssetProcedureFields: Fr,
|
|
451
|
+
addAssetProcedureFields: Or,
|
|
452
452
|
addAssetProcedureFieldsMany: Km,
|
|
453
453
|
setAssetProcedureFields: Ym,
|
|
454
454
|
setAssetProcedureFieldsMany: Jm,
|
|
455
|
-
updateAssetProcedureFields:
|
|
455
|
+
updateAssetProcedureFields: Ir,
|
|
456
456
|
updateAssetProcedureFieldsMany: Qm,
|
|
457
|
-
deleteAssetProcedureFields:
|
|
457
|
+
deleteAssetProcedureFields: vr,
|
|
458
458
|
deleteAssetProcedureFieldsMany: Xm
|
|
459
|
-
} = Pn.actions,
|
|
459
|
+
} = Pn.actions, wr = (t) => t.assetProcedureFieldsReducer.instances, _n = m([wr], (t) => Object.values(t)), Zm = y(
|
|
460
460
|
m(
|
|
461
461
|
[_n, (t, e) => e],
|
|
462
462
|
(t, e) => b(t.filter((s) => s.asset_procedure === e))
|
|
463
463
|
)
|
|
464
464
|
), ef = y(
|
|
465
465
|
m([_n, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
466
|
-
), tf = (t) => (e) => e.assetProcedureFieldsReducer.instances[t],
|
|
466
|
+
), tf = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], Er = Pn.reducer, V = _((t) => t.uuid), Zt = V.getInitialState({}), Rn = T({
|
|
467
467
|
name: "assetProcedureFieldValuesAttachments",
|
|
468
468
|
initialState: Zt,
|
|
469
469
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zt)),
|
|
@@ -479,19 +479,19 @@ const Ue = _(
|
|
|
479
479
|
deleteAssetProcedureFieldValuesAttachments: V.deleteMany
|
|
480
480
|
}
|
|
481
481
|
}), {
|
|
482
|
-
initializeAssetProcedureFieldValuesAttachments:
|
|
482
|
+
initializeAssetProcedureFieldValuesAttachments: kr,
|
|
483
483
|
addAssetProcedureFieldValuesAttachment: sf,
|
|
484
484
|
addAssetProcedureFieldValuesAttachments: gt,
|
|
485
485
|
setAssetProcedureFieldValuesAttachment: nf,
|
|
486
486
|
setAssetProcedureFieldValuesAttachments: af,
|
|
487
487
|
updateAssetProcedureFieldValuesAttachment: cf,
|
|
488
|
-
updateAssetProcedureFieldValuesAttachments:
|
|
488
|
+
updateAssetProcedureFieldValuesAttachments: qr,
|
|
489
489
|
deleteAssetProcedureFieldValuesAttachment: rf,
|
|
490
490
|
deleteAssetProcedureFieldValuesAttachments: Tt
|
|
491
|
-
} = Rn.actions, Fn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances,
|
|
491
|
+
} = Rn.actions, Fn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, jr = m(
|
|
492
492
|
[Fn],
|
|
493
493
|
(t) => Object.values(t)
|
|
494
|
-
), of = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t],
|
|
494
|
+
), of = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], Mr = y(
|
|
495
495
|
m(
|
|
496
496
|
[
|
|
497
497
|
Fn,
|
|
@@ -502,12 +502,12 @@ const Ue = _(
|
|
|
502
502
|
return b(Object.values(t).filter((i) => s.has(i.uuid)));
|
|
503
503
|
}
|
|
504
504
|
)
|
|
505
|
-
),
|
|
505
|
+
), Cr = y(
|
|
506
506
|
m(
|
|
507
|
-
[
|
|
507
|
+
[jr, (t, e) => e],
|
|
508
508
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
509
509
|
)
|
|
510
|
-
),
|
|
510
|
+
), Dr = Rn.reducer, U = _((t) => t.uuid), es = U.getInitialState({}), On = T({
|
|
511
511
|
name: "assetProcedureFieldValues",
|
|
512
512
|
initialState: es,
|
|
513
513
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, es)),
|
|
@@ -523,23 +523,23 @@ const Ue = _(
|
|
|
523
523
|
deleteAssetProcedureFieldValuesMany: U.deleteMany
|
|
524
524
|
}
|
|
525
525
|
}), {
|
|
526
|
-
initializeAssetProcedureFieldValues:
|
|
526
|
+
initializeAssetProcedureFieldValues: xr,
|
|
527
527
|
addAssetProcedureFieldValues: ts,
|
|
528
|
-
addAssetProcedureFieldValuesMany:
|
|
528
|
+
addAssetProcedureFieldValuesMany: zr,
|
|
529
529
|
setAssetProcedureFieldValues: df,
|
|
530
530
|
setAssetProcedureFieldValuesMany: uf,
|
|
531
531
|
updateAssetProcedureFieldValues: Ke,
|
|
532
|
-
updateAssetProcedureFieldValuesMany:
|
|
532
|
+
updateAssetProcedureFieldValuesMany: Vr,
|
|
533
533
|
deleteAssetProcedureFieldValues: ss,
|
|
534
|
-
deleteAssetProcedureFieldValuesMany:
|
|
535
|
-
} = On.actions,
|
|
536
|
-
[
|
|
534
|
+
deleteAssetProcedureFieldValuesMany: Ur
|
|
535
|
+
} = On.actions, $r = (t) => t.assetProcedureFieldValuesReducer.instances, In = m(
|
|
536
|
+
[$r],
|
|
537
537
|
(t) => Object.values(t)
|
|
538
538
|
), lf = y(
|
|
539
539
|
m([In, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
540
540
|
), hf = y(
|
|
541
541
|
m([In, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
542
|
-
), is = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t],
|
|
542
|
+
), is = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t], Gr = On.reducer, $ = _((t) => t.uuid), ns = $.getInitialState({}), vn = T({
|
|
543
543
|
name: "assetProcedureInstances",
|
|
544
544
|
initialState: ns,
|
|
545
545
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ns)),
|
|
@@ -555,19 +555,19 @@ const Ue = _(
|
|
|
555
555
|
deleteAssetProcedureInstances: $.deleteMany
|
|
556
556
|
}
|
|
557
557
|
}), {
|
|
558
|
-
initializeAssetProcedureInstances:
|
|
558
|
+
initializeAssetProcedureInstances: Br,
|
|
559
559
|
addAssetProcedureInstance: as,
|
|
560
|
-
addAssetProcedureInstances:
|
|
560
|
+
addAssetProcedureInstances: Lr,
|
|
561
561
|
updateAssetProcedureInstance: Ye,
|
|
562
562
|
updateAssetProcedureInstances: pf,
|
|
563
563
|
deleteAssetProcedureInstance: cs,
|
|
564
|
-
deleteAssetProcedureInstances:
|
|
564
|
+
deleteAssetProcedureInstances: Nr,
|
|
565
565
|
setAssetProcedureInstance: mf,
|
|
566
566
|
setAssetProcedureInstances: ff
|
|
567
567
|
} = vn.actions, wn = (t) => t.assetProcedureInstanceReducer.instances, En = m(
|
|
568
568
|
[wn],
|
|
569
569
|
(t) => Object.values(t)
|
|
570
|
-
),
|
|
570
|
+
), Hr = y(
|
|
571
571
|
m(
|
|
572
572
|
[En, (t, e) => e],
|
|
573
573
|
(t, e) => b(
|
|
@@ -597,7 +597,7 @@ const Ue = _(
|
|
|
597
597
|
return b(s);
|
|
598
598
|
}
|
|
599
599
|
)
|
|
600
|
-
),
|
|
600
|
+
), Wr = vn.reducer, G = _(
|
|
601
601
|
(t) => t.uuid
|
|
602
602
|
), os = G.getInitialState({}), kn = T({
|
|
603
603
|
name: "assetProcedures",
|
|
@@ -615,7 +615,7 @@ const Ue = _(
|
|
|
615
615
|
deleteAssetProcedures: G.deleteMany
|
|
616
616
|
}
|
|
617
617
|
}), {
|
|
618
|
-
initializeAssetProcedures:
|
|
618
|
+
initializeAssetProcedures: Kr,
|
|
619
619
|
addAssetProcedure: ds,
|
|
620
620
|
addAssetProcedures: bf,
|
|
621
621
|
updateAssetProcedure: Je,
|
|
@@ -624,9 +624,9 @@ const Ue = _(
|
|
|
624
624
|
deleteAssetProcedures: gf,
|
|
625
625
|
setAssetProcedure: Tf,
|
|
626
626
|
setAssetProcedures: Pf
|
|
627
|
-
} = kn.actions, qn = (t) => t.assetProcedureReducer.instances,
|
|
627
|
+
} = kn.actions, qn = (t) => t.assetProcedureReducer.instances, Yr = m([qn], (t) => Object.values(t)), _f = y(
|
|
628
628
|
m(
|
|
629
|
-
[
|
|
629
|
+
[Yr, (t, e) => e],
|
|
630
630
|
(t, e) => b(
|
|
631
631
|
t.filter((s) => s.organization === e)
|
|
632
632
|
)
|
|
@@ -643,7 +643,7 @@ const Ue = _(
|
|
|
643
643
|
return b(s);
|
|
644
644
|
}
|
|
645
645
|
)
|
|
646
|
-
),
|
|
646
|
+
), Jr = kn.reducer, B = _((t) => t.uuid), hs = B.getInitialState(
|
|
647
647
|
{}
|
|
648
648
|
), jn = T({
|
|
649
649
|
name: "assetProcedureStepFieldsAttachments",
|
|
@@ -661,21 +661,21 @@ const Ue = _(
|
|
|
661
661
|
deleteAssetProcedureStepFieldsAttachments: B.deleteMany
|
|
662
662
|
}
|
|
663
663
|
}), {
|
|
664
|
-
initializeAssetProcedureStepFieldsAttachments:
|
|
664
|
+
initializeAssetProcedureStepFieldsAttachments: Qr,
|
|
665
665
|
addAssetProcedureStepFieldsAttachment: Ff,
|
|
666
|
-
addAssetProcedureStepFieldsAttachments:
|
|
666
|
+
addAssetProcedureStepFieldsAttachments: Xr,
|
|
667
667
|
setAssetProcedureStepFieldsAttachment: Of,
|
|
668
668
|
setAssetProcedureStepFieldsAttachments: If,
|
|
669
669
|
updateAssetProcedureStepFieldsAttachment: vf,
|
|
670
|
-
updateAssetProcedureStepFieldsAttachments:
|
|
670
|
+
updateAssetProcedureStepFieldsAttachments: Zr,
|
|
671
671
|
deleteAssetProcedureStepFieldsAttachment: wf,
|
|
672
|
-
deleteAssetProcedureStepFieldsAttachments:
|
|
673
|
-
} = jn.actions,
|
|
674
|
-
[
|
|
672
|
+
deleteAssetProcedureStepFieldsAttachments: eo
|
|
673
|
+
} = jn.actions, to = (t) => t.assetProcedureStepFieldsAttachmentReducer.instances, so = m(
|
|
674
|
+
[to],
|
|
675
675
|
(t) => Object.values(t)
|
|
676
676
|
), Ef = y(
|
|
677
|
-
m([
|
|
678
|
-
), kf = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t],
|
|
677
|
+
m([so, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
678
|
+
), kf = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t], io = jn.reducer, L = _((t) => t.uuid), ps = L.getInitialState({}), Mn = T({
|
|
679
679
|
name: "assetProcedureStepFields",
|
|
680
680
|
initialState: ps,
|
|
681
681
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ps)),
|
|
@@ -691,14 +691,14 @@ const Ue = _(
|
|
|
691
691
|
deleteAssetProcedureStepFieldsMany: L.deleteMany
|
|
692
692
|
}
|
|
693
693
|
}), {
|
|
694
|
-
initializeAssetProcedureStepFields:
|
|
695
|
-
addAssetProcedureStepFields:
|
|
694
|
+
initializeAssetProcedureStepFields: no,
|
|
695
|
+
addAssetProcedureStepFields: ao,
|
|
696
696
|
addAssetProcedureStepFieldsMany: qf,
|
|
697
697
|
setAssetProcedureStepFields: jf,
|
|
698
698
|
setAssetProcedureStepFieldsMany: Mf,
|
|
699
|
-
updateAssetProcedureStepFields:
|
|
699
|
+
updateAssetProcedureStepFields: co,
|
|
700
700
|
updateAssetProcedureStepFieldsMany: Cf,
|
|
701
|
-
deleteAssetProcedureStepFields:
|
|
701
|
+
deleteAssetProcedureStepFields: ro,
|
|
702
702
|
deleteAssetProcedureStepFieldsMany: Df
|
|
703
703
|
} = Mn.actions, kt = (t) => t.assetProcedureStepFieldsReducer.instances, Cn = m(
|
|
704
704
|
[kt],
|
|
@@ -720,7 +720,7 @@ const Ue = _(
|
|
|
720
720
|
}
|
|
721
721
|
return e;
|
|
722
722
|
}
|
|
723
|
-
), Uf = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t],
|
|
723
|
+
), Uf = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t], oo = Mn.reducer, N = _((t) => t.uuid), ms = N.getInitialState({}), Dn = T({
|
|
724
724
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
725
725
|
initialState: ms,
|
|
726
726
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ms)),
|
|
@@ -736,19 +736,19 @@ const Ue = _(
|
|
|
736
736
|
deleteAssetProcedureStepFieldValuesAttachments: N.deleteMany
|
|
737
737
|
}
|
|
738
738
|
}), {
|
|
739
|
-
initializeAssetProcedureStepFieldValuesAttachments:
|
|
739
|
+
initializeAssetProcedureStepFieldValuesAttachments: uo,
|
|
740
740
|
addAssetProcedureStepFieldValuesAttachment: $f,
|
|
741
741
|
addAssetProcedureStepFieldValuesAttachments: Pt,
|
|
742
742
|
setAssetProcedureStepFieldValuesAttachment: Gf,
|
|
743
743
|
setAssetProcedureStepFieldValuesAttachments: Bf,
|
|
744
744
|
updateAssetProcedureStepFieldValuesAttachment: Lf,
|
|
745
|
-
updateAssetProcedureStepFieldValuesAttachments:
|
|
745
|
+
updateAssetProcedureStepFieldValuesAttachments: lo,
|
|
746
746
|
deleteAssetProcedureStepFieldValuesAttachment: Nf,
|
|
747
747
|
deleteAssetProcedureStepFieldValuesAttachments: _t
|
|
748
|
-
} = Dn.actions, xn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances,
|
|
748
|
+
} = Dn.actions, xn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, ho = m(
|
|
749
749
|
[xn],
|
|
750
750
|
(t) => Object.values(t)
|
|
751
|
-
), Hf = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t],
|
|
751
|
+
), Hf = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t], po = y(
|
|
752
752
|
m(
|
|
753
753
|
[
|
|
754
754
|
xn,
|
|
@@ -759,12 +759,12 @@ const Ue = _(
|
|
|
759
759
|
return b(Object.values(t).filter((i) => s.has(i.uuid)));
|
|
760
760
|
}
|
|
761
761
|
)
|
|
762
|
-
),
|
|
762
|
+
), mo = y(
|
|
763
763
|
m(
|
|
764
|
-
[
|
|
764
|
+
[ho, (t, e) => e],
|
|
765
765
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
766
766
|
)
|
|
767
|
-
),
|
|
767
|
+
), fo = Dn.reducer, H = _((t) => t.uuid), fs = H.getInitialState({}), zn = T({
|
|
768
768
|
name: "assetProcedureStepFieldValues",
|
|
769
769
|
initialState: fs,
|
|
770
770
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, fs)),
|
|
@@ -780,24 +780,26 @@ const Ue = _(
|
|
|
780
780
|
deleteAssetProcedureStepFieldValuesMany: H.deleteMany
|
|
781
781
|
}
|
|
782
782
|
}), {
|
|
783
|
-
initializeAssetProcedureStepFieldValues:
|
|
783
|
+
initializeAssetProcedureStepFieldValues: Ao,
|
|
784
784
|
addAssetProcedureStepFieldValues: As,
|
|
785
|
-
addAssetProcedureStepFieldValuesMany:
|
|
785
|
+
addAssetProcedureStepFieldValuesMany: yo,
|
|
786
786
|
setAssetProcedureStepFieldValues: Wf,
|
|
787
787
|
setAssetProcedureStepFieldValuesMany: Kf,
|
|
788
788
|
updateAssetProcedureStepFieldValues: Qe,
|
|
789
|
-
updateAssetProcedureStepFieldValuesMany:
|
|
789
|
+
updateAssetProcedureStepFieldValuesMany: bo,
|
|
790
790
|
deleteAssetProcedureStepFieldValues: ys,
|
|
791
|
-
deleteAssetProcedureStepFieldValuesMany:
|
|
792
|
-
} = zn.actions, Vn = (t) => t.assetProcedureStepFieldValuesReducer.instances,
|
|
791
|
+
deleteAssetProcedureStepFieldValuesMany: So
|
|
792
|
+
} = zn.actions, Vn = (t) => t.assetProcedureStepFieldValuesReducer.instances, Un = m(
|
|
793
793
|
[Vn],
|
|
794
794
|
(t) => Object.values(t)
|
|
795
795
|
), Yf = y(
|
|
796
796
|
m(
|
|
797
|
-
[
|
|
797
|
+
[Un, (t, e) => e],
|
|
798
798
|
(t, e) => b(t.filter((s) => s.asset === e))
|
|
799
799
|
)
|
|
800
800
|
), Jf = y(
|
|
801
|
+
m([Un, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
802
|
+
), Qf = y(
|
|
801
803
|
m(
|
|
802
804
|
[
|
|
803
805
|
Vn,
|
|
@@ -813,7 +815,7 @@ const Ue = _(
|
|
|
813
815
|
)
|
|
814
816
|
), bs = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t], go = zn.reducer, W = _(
|
|
815
817
|
(t) => t.uuid
|
|
816
|
-
), Ss = W.getInitialState({}),
|
|
818
|
+
), Ss = W.getInitialState({}), $n = T({
|
|
817
819
|
name: "assetProcedureSteps",
|
|
818
820
|
initialState: Ss,
|
|
819
821
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ss)),
|
|
@@ -831,21 +833,21 @@ const Ue = _(
|
|
|
831
833
|
}), {
|
|
832
834
|
initializeAssetProcedureSteps: To,
|
|
833
835
|
setAssetProcedureStep: Po,
|
|
834
|
-
setAssetProcedureSteps:
|
|
835
|
-
addAssetProcedureStep:
|
|
836
|
+
setAssetProcedureSteps: Xf,
|
|
837
|
+
addAssetProcedureStep: Zf,
|
|
836
838
|
addAssetProcedureSteps: gs,
|
|
837
839
|
updateAssetProcedureStep: Ts,
|
|
838
840
|
updateAssetProcedureSteps: lt,
|
|
839
|
-
deleteAssetProcedureStep:
|
|
841
|
+
deleteAssetProcedureStep: eA,
|
|
840
842
|
deleteAssetProcedureSteps: Ps
|
|
841
|
-
} =
|
|
843
|
+
} = $n.actions, _o = $n.reducer, qt = (t) => t.assetProcedureStepReducer.instances, Ro = (t) => (e) => e.assetProcedureStepReducer.instances[t], Fo = m([qt], (t) => Object.values(t)), tA = y(
|
|
842
844
|
m([qt, (t, e) => e], (t, e) => {
|
|
843
845
|
const s = {};
|
|
844
846
|
for (const [i, n] of Object.entries(t))
|
|
845
847
|
n.asset_procedure === e && (s[i] = n);
|
|
846
848
|
return De(s);
|
|
847
849
|
})
|
|
848
|
-
),
|
|
850
|
+
), sA = y(
|
|
849
851
|
m([Fo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
850
852
|
), _s = y(
|
|
851
853
|
m(
|
|
@@ -859,7 +861,7 @@ const Ue = _(
|
|
|
859
861
|
return b(s);
|
|
860
862
|
}
|
|
861
863
|
)
|
|
862
|
-
), K = _((t) => t.uuid), Rs = K.getInitialState({}),
|
|
864
|
+
), K = _((t) => t.uuid), Rs = K.getInitialState({}), Gn = T({
|
|
863
865
|
name: "assets",
|
|
864
866
|
initialState: Rs,
|
|
865
867
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Rs)),
|
|
@@ -877,17 +879,17 @@ const Ue = _(
|
|
|
877
879
|
}), {
|
|
878
880
|
initializeAssets: Oo,
|
|
879
881
|
addAsset: Fs,
|
|
880
|
-
addAssets:
|
|
882
|
+
addAssets: Bn,
|
|
881
883
|
updateAsset: Xe,
|
|
882
|
-
updateAssets:
|
|
884
|
+
updateAssets: iA,
|
|
883
885
|
deleteAsset: Os,
|
|
884
886
|
deleteAssets: Io,
|
|
885
|
-
setAsset:
|
|
886
|
-
setAssets:
|
|
887
|
-
} =
|
|
887
|
+
setAsset: nA,
|
|
888
|
+
setAssets: aA
|
|
889
|
+
} = Gn.actions, Ln = (t) => t.assetReducer.instances, vo = m([Ln], (t) => b(Object.values(t))), Nn = y(
|
|
888
890
|
m([vo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
889
|
-
), Is = (t) => (e) => e.assetReducer.instances[t],
|
|
890
|
-
m([
|
|
891
|
+
), Is = (t) => (e) => e.assetReducer.instances[t], cA = y(
|
|
892
|
+
m([Ln, (t, e) => e], (t, e) => {
|
|
891
893
|
const s = [];
|
|
892
894
|
for (const i of e) {
|
|
893
895
|
const n = t[i];
|
|
@@ -895,9 +897,9 @@ const Ue = _(
|
|
|
895
897
|
}
|
|
896
898
|
return b(s);
|
|
897
899
|
})
|
|
898
|
-
),
|
|
900
|
+
), rA = (t) => (e) => Nn(t)(e).length, wo = Gn.reducer, Se = _(
|
|
899
901
|
(t) => t.uuid
|
|
900
|
-
), vs = Se.getInitialState({}),
|
|
902
|
+
), vs = Se.getInitialState({}), Hn = T({
|
|
901
903
|
name: "assetStageCompletions",
|
|
902
904
|
initialState: vs,
|
|
903
905
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, vs)),
|
|
@@ -918,12 +920,12 @@ const Ue = _(
|
|
|
918
920
|
updateAssetStageCompletions: qo,
|
|
919
921
|
deleteAssetStageCompletion: ks,
|
|
920
922
|
deleteAssetStageCompletions: qs
|
|
921
|
-
} =
|
|
922
|
-
[
|
|
923
|
+
} = Hn.actions, jo = Hn.reducer, Wn = (t) => t.assetStageCompletionReducer.instances, oA = m(
|
|
924
|
+
[Wn],
|
|
923
925
|
(t) => Object.values(t)
|
|
924
926
|
), Mo = (t) => (e) => e.assetStageCompletionReducer.instances[t], Co = y(
|
|
925
927
|
m(
|
|
926
|
-
[
|
|
928
|
+
[Wn, (t, e) => e],
|
|
927
929
|
(t, e) => {
|
|
928
930
|
const s = new Set(e);
|
|
929
931
|
return b(
|
|
@@ -933,7 +935,7 @@ const Ue = _(
|
|
|
933
935
|
);
|
|
934
936
|
}
|
|
935
937
|
)
|
|
936
|
-
), Y = _((t) => t.uuid), js = Y.getInitialState({}),
|
|
938
|
+
), Y = _((t) => t.uuid), js = Y.getInitialState({}), Kn = T({
|
|
937
939
|
name: "assetStages",
|
|
938
940
|
initialState: js,
|
|
939
941
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, js)),
|
|
@@ -951,21 +953,21 @@ const Ue = _(
|
|
|
951
953
|
}), {
|
|
952
954
|
initializeAssetStages: Do,
|
|
953
955
|
setAssetStage: xo,
|
|
954
|
-
setAssetStages:
|
|
955
|
-
addAssetStage:
|
|
956
|
+
setAssetStages: dA,
|
|
957
|
+
addAssetStage: uA,
|
|
956
958
|
addAssetStages: Ms,
|
|
957
959
|
updateAssetStage: Cs,
|
|
958
960
|
updateAssetStages: ht,
|
|
959
|
-
deleteAssetStage:
|
|
961
|
+
deleteAssetStage: lA,
|
|
960
962
|
deleteAssetStages: Ds
|
|
961
|
-
} =
|
|
963
|
+
} = Kn.actions, zo = Kn.reducer, jt = (t) => t.assetStageReducer.instances, Vo = (t) => (e) => e.assetStageReducer.instances[t], Uo = m([jt], (t) => Object.values(t)), hA = y(
|
|
962
964
|
m([jt, (t, e) => e], (t, e) => {
|
|
963
965
|
const s = {};
|
|
964
966
|
for (const [i, n] of Object.entries(t))
|
|
965
967
|
n.asset_procedure === e && (s[i] = n);
|
|
966
968
|
return De(s);
|
|
967
969
|
})
|
|
968
|
-
),
|
|
970
|
+
), pA = y(
|
|
969
971
|
m([Uo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
970
972
|
), xs = y(
|
|
971
973
|
m([jt, (t, e) => e], (t, e) => {
|
|
@@ -978,7 +980,7 @@ const Ue = _(
|
|
|
978
980
|
})
|
|
979
981
|
), J = _(
|
|
980
982
|
(t) => t.uuid
|
|
981
|
-
), zs = J.getInitialState({}),
|
|
983
|
+
), zs = J.getInitialState({}), Yn = T({
|
|
982
984
|
name: "assetTypeAttachments",
|
|
983
985
|
initialState: zs,
|
|
984
986
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, zs)),
|
|
@@ -995,15 +997,15 @@ const Ue = _(
|
|
|
995
997
|
}
|
|
996
998
|
}), {
|
|
997
999
|
initializeAssetTypeAttachments: $o,
|
|
998
|
-
addAssetTypeAttachment:
|
|
999
|
-
addAssetTypeAttachments:
|
|
1000
|
+
addAssetTypeAttachment: mA,
|
|
1001
|
+
addAssetTypeAttachments: Jn,
|
|
1000
1002
|
setAssetTypeAttachment: Go,
|
|
1001
|
-
setAssetTypeAttachments:
|
|
1002
|
-
updateAssetTypeAttachment:
|
|
1003
|
+
setAssetTypeAttachments: fA,
|
|
1004
|
+
updateAssetTypeAttachment: AA,
|
|
1003
1005
|
updateAssetTypeAttachments: Bo,
|
|
1004
1006
|
deleteAssetTypeAttachment: Lo,
|
|
1005
|
-
deleteAssetTypeAttachments:
|
|
1006
|
-
} =
|
|
1007
|
+
deleteAssetTypeAttachments: Qn
|
|
1008
|
+
} = Yn.actions, No = (t) => t.assetTypeAttachmentReducer.instances, Ho = m(
|
|
1007
1009
|
[No],
|
|
1008
1010
|
(t) => Object.values(t)
|
|
1009
1011
|
), Wo = (t) => (e) => e.assetTypeAttachmentReducer.instances[t], Ko = y(
|
|
@@ -1011,7 +1013,7 @@ const Ue = _(
|
|
|
1011
1013
|
[Ho, (t, e) => e],
|
|
1012
1014
|
(t, e) => b(t.filter(({ asset_type: s }) => e === s))
|
|
1013
1015
|
)
|
|
1014
|
-
), Yo =
|
|
1016
|
+
), Yo = Yn.reducer, Q = _((t) => t.uuid), Vs = Q.getInitialState({}), Xn = T({
|
|
1015
1017
|
name: "assetTypeFieldsAttachments",
|
|
1016
1018
|
initialState: Vs,
|
|
1017
1019
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Vs)),
|
|
@@ -1028,22 +1030,22 @@ const Ue = _(
|
|
|
1028
1030
|
}
|
|
1029
1031
|
}), {
|
|
1030
1032
|
initializeAssetTypeFieldsAttachments: Jo,
|
|
1031
|
-
addAssetTypeFieldsAttachment:
|
|
1033
|
+
addAssetTypeFieldsAttachment: yA,
|
|
1032
1034
|
addAssetTypeFieldsAttachments: Qo,
|
|
1033
|
-
setAssetTypeFieldsAttachment:
|
|
1034
|
-
setAssetTypeFieldsAttachments:
|
|
1035
|
-
updateAssetTypeFieldsAttachment:
|
|
1035
|
+
setAssetTypeFieldsAttachment: bA,
|
|
1036
|
+
setAssetTypeFieldsAttachments: SA,
|
|
1037
|
+
updateAssetTypeFieldsAttachment: gA,
|
|
1036
1038
|
updateAssetTypeFieldsAttachments: Xo,
|
|
1037
|
-
deleteAssetTypeFieldsAttachment:
|
|
1039
|
+
deleteAssetTypeFieldsAttachment: TA,
|
|
1038
1040
|
deleteAssetTypeFieldsAttachments: Zo
|
|
1039
|
-
} =
|
|
1041
|
+
} = Xn.actions, ed = (t) => t.assetTypeFieldsAttachmentReducer.instances, td = m(
|
|
1040
1042
|
[ed],
|
|
1041
1043
|
(t) => Object.values(t)
|
|
1042
|
-
),
|
|
1044
|
+
), PA = y(
|
|
1043
1045
|
m([td, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
1044
|
-
),
|
|
1046
|
+
), _A = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], sd = Xn.reducer, X = _(
|
|
1045
1047
|
(t) => t.uuid
|
|
1046
|
-
), Us = X.getInitialState({}),
|
|
1048
|
+
), Us = X.getInitialState({}), Zn = T({
|
|
1047
1049
|
name: "assetTypeFields",
|
|
1048
1050
|
initialState: Us,
|
|
1049
1051
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Us)),
|
|
@@ -1061,18 +1063,18 @@ const Ue = _(
|
|
|
1061
1063
|
}), {
|
|
1062
1064
|
initializeAssetTypeFields: id,
|
|
1063
1065
|
addAssetTypeFields: nd,
|
|
1064
|
-
addAssetTypeFieldsMany:
|
|
1065
|
-
setAssetTypeFields:
|
|
1066
|
-
setAssetTypeFieldsMany:
|
|
1066
|
+
addAssetTypeFieldsMany: RA,
|
|
1067
|
+
setAssetTypeFields: FA,
|
|
1068
|
+
setAssetTypeFieldsMany: OA,
|
|
1067
1069
|
updateAssetTypeFields: ad,
|
|
1068
|
-
updateAssetTypeFieldsMany:
|
|
1070
|
+
updateAssetTypeFieldsMany: IA,
|
|
1069
1071
|
deleteAssetTypeFields: cd,
|
|
1070
|
-
deleteAssetTypeFieldsMany:
|
|
1071
|
-
} =
|
|
1072
|
+
deleteAssetTypeFieldsMany: vA
|
|
1073
|
+
} = Zn.actions, rd = (t) => t.assetTypeFieldsReducer.instances, Mt = m([rd], (t) => Object.values(t)), wA = y(
|
|
1072
1074
|
m([Mt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
1073
|
-
),
|
|
1075
|
+
), EA = y(
|
|
1074
1076
|
m([Mt, (t, e) => e], (t, e) => t.filter((s) => s.asset_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1075
|
-
),
|
|
1077
|
+
), kA = (t) => (e) => e.assetTypeFieldsReducer.instances[t], od = Zn.reducer, Z = _((t) => t.uuid), $s = Z.getInitialState({}), ea = T({
|
|
1076
1078
|
name: "assetTypeFieldValuesAttachments",
|
|
1077
1079
|
initialState: $s,
|
|
1078
1080
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, $s)),
|
|
@@ -1089,21 +1091,21 @@ const Ue = _(
|
|
|
1089
1091
|
}
|
|
1090
1092
|
}), {
|
|
1091
1093
|
initializeAssetTypeFieldValuesAttachments: dd,
|
|
1092
|
-
addAssetTypeFieldValuesAttachment:
|
|
1094
|
+
addAssetTypeFieldValuesAttachment: qA,
|
|
1093
1095
|
addAssetTypeFieldValuesAttachments: Rt,
|
|
1094
|
-
setAssetTypeFieldValuesAttachment:
|
|
1095
|
-
setAssetTypeFieldValuesAttachments:
|
|
1096
|
-
updateAssetTypeFieldValuesAttachment:
|
|
1096
|
+
setAssetTypeFieldValuesAttachment: jA,
|
|
1097
|
+
setAssetTypeFieldValuesAttachments: MA,
|
|
1098
|
+
updateAssetTypeFieldValuesAttachment: CA,
|
|
1097
1099
|
updateAssetTypeFieldValuesAttachments: ud,
|
|
1098
|
-
deleteAssetTypeFieldValuesAttachment:
|
|
1100
|
+
deleteAssetTypeFieldValuesAttachment: DA,
|
|
1099
1101
|
deleteAssetTypeFieldValuesAttachments: Ft
|
|
1100
|
-
} =
|
|
1101
|
-
[
|
|
1102
|
+
} = ea.actions, ta = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, ld = m(
|
|
1103
|
+
[ta],
|
|
1102
1104
|
(t) => Object.values(t)
|
|
1103
|
-
),
|
|
1105
|
+
), xA = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], hd = y(
|
|
1104
1106
|
m(
|
|
1105
1107
|
[
|
|
1106
|
-
|
|
1108
|
+
ta,
|
|
1107
1109
|
(t, e) => e
|
|
1108
1110
|
],
|
|
1109
1111
|
(t, e) => {
|
|
@@ -1115,9 +1117,9 @@ const Ue = _(
|
|
|
1115
1117
|
)
|
|
1116
1118
|
), pd = y(
|
|
1117
1119
|
m([ld, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
|
|
1118
|
-
), md =
|
|
1120
|
+
), md = ea.reducer, ee = _(
|
|
1119
1121
|
(t) => t.uuid
|
|
1120
|
-
), Gs = ee.getInitialState({}),
|
|
1122
|
+
), Gs = ee.getInitialState({}), sa = T({
|
|
1121
1123
|
name: "assetTypeFieldValues",
|
|
1122
1124
|
initialState: Gs,
|
|
1123
1125
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Gs)),
|
|
@@ -1136,17 +1138,17 @@ const Ue = _(
|
|
|
1136
1138
|
initializeAssetTypeFieldValues: fd,
|
|
1137
1139
|
addAssetTypeFieldValues: Bs,
|
|
1138
1140
|
addAssetTypeFieldValuesMany: Ad,
|
|
1139
|
-
setAssetTypeFieldValues:
|
|
1140
|
-
setAssetTypeFieldValuesMany:
|
|
1141
|
+
setAssetTypeFieldValues: zA,
|
|
1142
|
+
setAssetTypeFieldValuesMany: VA,
|
|
1141
1143
|
updateAssetTypeFieldValues: Ze,
|
|
1142
1144
|
updateAssetTypeFieldValuesMany: yd,
|
|
1143
1145
|
deleteAssetTypeFieldValues: Ls,
|
|
1144
1146
|
deleteAssetTypeFieldValuesMany: bd
|
|
1145
|
-
} =
|
|
1146
|
-
m([
|
|
1147
|
-
),
|
|
1147
|
+
} = sa.actions, Sd = (t) => t.assetTypeFieldValuesReducer.instances, ia = m([Sd], (t) => Object.values(t)), UA = y(
|
|
1148
|
+
m([ia, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
1149
|
+
), $A = y(
|
|
1148
1150
|
m(
|
|
1149
|
-
[Mt,
|
|
1151
|
+
[Mt, ia, (t, e) => e],
|
|
1150
1152
|
(t, e, s) => {
|
|
1151
1153
|
const i = new Set(
|
|
1152
1154
|
t.filter((n) => n.asset_type === s).map((n) => n.uuid)
|
|
@@ -1154,7 +1156,7 @@ const Ue = _(
|
|
|
1154
1156
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1155
1157
|
}
|
|
1156
1158
|
)
|
|
1157
|
-
), Ns = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], gd =
|
|
1159
|
+
), Ns = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], gd = sa.reducer, te = _((t) => t.uuid), Hs = te.getInitialState({}), na = T({
|
|
1158
1160
|
name: "assetTypes",
|
|
1159
1161
|
initialState: Hs,
|
|
1160
1162
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Hs)),
|
|
@@ -1171,20 +1173,20 @@ const Ue = _(
|
|
|
1171
1173
|
}
|
|
1172
1174
|
}), {
|
|
1173
1175
|
initializeAssetTypes: Td,
|
|
1174
|
-
setAssetType:
|
|
1175
|
-
setAssetTypes:
|
|
1176
|
+
setAssetType: GA,
|
|
1177
|
+
setAssetTypes: BA,
|
|
1176
1178
|
addAssetType: Ws,
|
|
1177
|
-
addAssetTypes:
|
|
1179
|
+
addAssetTypes: LA,
|
|
1178
1180
|
updateAssetType: et,
|
|
1179
|
-
updateAssetTypes:
|
|
1181
|
+
updateAssetTypes: NA,
|
|
1180
1182
|
deleteAssetType: Ks,
|
|
1181
|
-
deleteAssetTypes:
|
|
1182
|
-
} =
|
|
1183
|
-
[
|
|
1183
|
+
deleteAssetTypes: HA
|
|
1184
|
+
} = na.actions, aa = (t) => t.assetTypeReducer.instances, WA = m(
|
|
1185
|
+
[aa],
|
|
1184
1186
|
(t) => Object.values(t)
|
|
1185
|
-
), Ys = (t) => (e) => e.assetTypeReducer.instances[t],
|
|
1187
|
+
), Ys = (t) => (e) => e.assetTypeReducer.instances[t], KA = y(
|
|
1186
1188
|
m(
|
|
1187
|
-
[
|
|
1189
|
+
[aa, (t, e) => e],
|
|
1188
1190
|
(t, e) => {
|
|
1189
1191
|
const s = [];
|
|
1190
1192
|
for (const i of e) {
|
|
@@ -1194,7 +1196,7 @@ const Ue = _(
|
|
|
1194
1196
|
return b(s);
|
|
1195
1197
|
}
|
|
1196
1198
|
)
|
|
1197
|
-
), Pd =
|
|
1199
|
+
), Pd = na.reducer, Js = {
|
|
1198
1200
|
accessToken: "",
|
|
1199
1201
|
refreshToken: "",
|
|
1200
1202
|
isLoggedIn: !1
|
|
@@ -1213,7 +1215,7 @@ const Ue = _(
|
|
|
1213
1215
|
e.payload || Ct.caseReducers.clearTokens(t), t.isLoggedIn = e.payload;
|
|
1214
1216
|
}
|
|
1215
1217
|
}
|
|
1216
|
-
}), { setTokens:
|
|
1218
|
+
}), { setTokens: YA, clearTokens: JA, setLoggedIn: _d } = Ct.actions, QA = (t) => t.authReducer.accessToken, XA = (t) => t.authReducer.isLoggedIn, Rd = Ct.reducer, $e = _((t) => t.uuid), Qs = $e.getInitialState({}), ca = T({
|
|
1217
1219
|
name: "categories",
|
|
1218
1220
|
initialState: Qs,
|
|
1219
1221
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qs)),
|
|
@@ -1223,9 +1225,9 @@ const Ue = _(
|
|
|
1223
1225
|
updateCategory: $e.updateOne,
|
|
1224
1226
|
deleteCategory: $e.deleteOne
|
|
1225
1227
|
}
|
|
1226
|
-
}), { initializeCategories: Fd, addCategory: Xs, updateCategory: Od, deleteCategory: Id } =
|
|
1228
|
+
}), { initializeCategories: Fd, addCategory: Xs, updateCategory: Od, deleteCategory: Id } = ca.actions, ra = (t) => t.categoryReducer.instances, ZA = m([ra], (t) => Object.values(t)), Zs = (t) => (e) => e.categoryReducer.instances[t], ey = y(
|
|
1227
1229
|
m(
|
|
1228
|
-
[
|
|
1230
|
+
[ra, (t, e) => e],
|
|
1229
1231
|
(t, e) => {
|
|
1230
1232
|
const s = [];
|
|
1231
1233
|
for (const i of e) {
|
|
@@ -1235,9 +1237,9 @@ const Ue = _(
|
|
|
1235
1237
|
return b(s);
|
|
1236
1238
|
}
|
|
1237
1239
|
)
|
|
1238
|
-
),
|
|
1240
|
+
), ty = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, vd = ca.reducer, se = _(
|
|
1239
1241
|
(t) => t.uuid
|
|
1240
|
-
), ei = se.getInitialState({}),
|
|
1242
|
+
), ei = se.getInitialState({}), oa = T({
|
|
1241
1243
|
name: "documentAttachments",
|
|
1242
1244
|
initialState: ei,
|
|
1243
1245
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ei)),
|
|
@@ -1254,25 +1256,25 @@ const Ue = _(
|
|
|
1254
1256
|
}
|
|
1255
1257
|
}), {
|
|
1256
1258
|
initializeDocumentAttachments: wd,
|
|
1257
|
-
addDocumentAttachment:
|
|
1259
|
+
addDocumentAttachment: sy,
|
|
1258
1260
|
addDocumentAttachments: Ed,
|
|
1259
1261
|
setDocumentAttachment: kd,
|
|
1260
|
-
setDocumentAttachments:
|
|
1261
|
-
updateDocumentAttachment:
|
|
1262
|
+
setDocumentAttachments: iy,
|
|
1263
|
+
updateDocumentAttachment: ny,
|
|
1262
1264
|
updateDocumentAttachments: qd,
|
|
1263
1265
|
deleteDocumentAttachment: jd,
|
|
1264
1266
|
deleteDocumentAttachments: Md
|
|
1265
|
-
} =
|
|
1267
|
+
} = oa.actions, Cd = (t) => t.documentAttachmentReducer.instances, Dd = m(
|
|
1266
1268
|
[Cd],
|
|
1267
1269
|
(t) => Object.values(t)
|
|
1268
|
-
), xd = (t) => (e) => e.documentAttachmentReducer.instances[t],
|
|
1270
|
+
), xd = (t) => (e) => e.documentAttachmentReducer.instances[t], ay = y(
|
|
1269
1271
|
m(
|
|
1270
1272
|
[Dd, (t, e) => e],
|
|
1271
1273
|
(t, e) => b(t.filter(({ document: s }) => e === s))
|
|
1272
1274
|
)
|
|
1273
|
-
), zd =
|
|
1275
|
+
), zd = oa.reducer, ti = {
|
|
1274
1276
|
documents: {}
|
|
1275
|
-
},
|
|
1277
|
+
}, da = T({
|
|
1276
1278
|
name: "documents",
|
|
1277
1279
|
initialState: ti,
|
|
1278
1280
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -1280,9 +1282,9 @@ const Ue = _(
|
|
|
1280
1282
|
}),
|
|
1281
1283
|
reducers: {
|
|
1282
1284
|
setDocuments: (t, e) => {
|
|
1283
|
-
if (e.payload.filter(
|
|
1285
|
+
if (e.payload.filter(Kc).length !== e.payload.length)
|
|
1284
1286
|
throw new Error("Tried to use setIssues reducer with duplicate ID's");
|
|
1285
|
-
t.documents =
|
|
1287
|
+
t.documents = Wc(e.payload);
|
|
1286
1288
|
},
|
|
1287
1289
|
addDocuments: (t, e) => {
|
|
1288
1290
|
for (const s of e.payload)
|
|
@@ -1396,10 +1398,10 @@ const Ue = _(
|
|
|
1396
1398
|
}
|
|
1397
1399
|
}
|
|
1398
1400
|
}
|
|
1399
|
-
}), { setDocuments: Vd, addDocuments: Ud, updateDocuments: _e, moveDocument: $d, removeDocuments: si } =
|
|
1401
|
+
}), { setDocuments: Vd, addDocuments: Ud, updateDocuments: _e, moveDocument: $d, removeDocuments: si } = da.actions, Ne = (t) => t.documentsReducer.documents, Gd = m(
|
|
1400
1402
|
[Ne],
|
|
1401
1403
|
(t) => Object.values(t)
|
|
1402
|
-
), Bd = (t) => (e) => e.documentsReducer.documents[t],
|
|
1404
|
+
), Bd = (t) => (e) => e.documentsReducer.documents[t], cy = y(
|
|
1403
1405
|
m(
|
|
1404
1406
|
[Ne, (t, e) => e],
|
|
1405
1407
|
(t, e) => {
|
|
@@ -1411,7 +1413,7 @@ const Ue = _(
|
|
|
1411
1413
|
return b(s);
|
|
1412
1414
|
}
|
|
1413
1415
|
)
|
|
1414
|
-
),
|
|
1416
|
+
), ry = y(
|
|
1415
1417
|
m(
|
|
1416
1418
|
[Ne, (t, e) => e],
|
|
1417
1419
|
(t, e) => {
|
|
@@ -1423,12 +1425,12 @@ const Ue = _(
|
|
|
1423
1425
|
return b(s);
|
|
1424
1426
|
}
|
|
1425
1427
|
)
|
|
1426
|
-
),
|
|
1428
|
+
), oy = m(
|
|
1427
1429
|
[Gd],
|
|
1428
1430
|
(t) => b(t.filter((e) => !e.parent_document))
|
|
1429
|
-
), Ld =
|
|
1431
|
+
), Ld = da.reducer, ct = _(
|
|
1430
1432
|
(t) => t.uuid
|
|
1431
|
-
), Nd = ct.getInitialState({}),
|
|
1433
|
+
), Nd = ct.getInitialState({}), ua = T({
|
|
1432
1434
|
name: "emailDomains",
|
|
1433
1435
|
initialState: Nd,
|
|
1434
1436
|
reducers: {
|
|
@@ -1436,16 +1438,16 @@ const Ue = _(
|
|
|
1436
1438
|
addEmailDomain: ct.addOne,
|
|
1437
1439
|
deleteEmailDomain: ct.deleteOne
|
|
1438
1440
|
}
|
|
1439
|
-
}), { initializeEmailDomains: Hd, addEmailDomain: Wd, deleteEmailDomain: Kd } =
|
|
1441
|
+
}), { initializeEmailDomains: Hd, addEmailDomain: Wd, deleteEmailDomain: Kd } = ua.actions, Yd = (t) => t.emailDomainsReducer.instances, Jd = m([Yd], (t) => Object.values(t)), dy = y(
|
|
1440
1442
|
m(
|
|
1441
1443
|
[Jd, (t, e) => e],
|
|
1442
1444
|
(t, e) => b(
|
|
1443
1445
|
t.filter((s) => s.organization === e)
|
|
1444
1446
|
)
|
|
1445
1447
|
)
|
|
1446
|
-
), Qd =
|
|
1448
|
+
), Qd = ua.reducer, ii = {
|
|
1447
1449
|
s3Urls: {}
|
|
1448
|
-
},
|
|
1450
|
+
}, la = 1e3 * 60 * 60, Xd = la * 24 * 7, ha = T({
|
|
1449
1451
|
name: "file",
|
|
1450
1452
|
initialState: ii,
|
|
1451
1453
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ii)),
|
|
@@ -1459,14 +1461,14 @@ const Ue = _(
|
|
|
1459
1461
|
};
|
|
1460
1462
|
}
|
|
1461
1463
|
}
|
|
1462
|
-
}), { setUploadUrl: Zd } =
|
|
1464
|
+
}), { setUploadUrl: Zd } = ha.actions, eu = (t) => (e) => {
|
|
1463
1465
|
const s = e.fileReducer.s3Urls[t];
|
|
1464
1466
|
if (!s)
|
|
1465
1467
|
return;
|
|
1466
1468
|
const i = (/* @__PURE__ */ new Date()).getTime();
|
|
1467
|
-
if (!((s.exp ?? i) - i <
|
|
1469
|
+
if (!((s.exp ?? i) - i < la))
|
|
1468
1470
|
return s;
|
|
1469
|
-
}, tu =
|
|
1471
|
+
}, tu = ha.reducer, ie = _((t) => t.uuid), ni = ie.getInitialState({}), pa = T({
|
|
1470
1472
|
name: "formRevisionAttachments",
|
|
1471
1473
|
initialState: ni,
|
|
1472
1474
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ni)),
|
|
@@ -1483,25 +1485,25 @@ const Ue = _(
|
|
|
1483
1485
|
}
|
|
1484
1486
|
}), {
|
|
1485
1487
|
initializeFormRevisionAttachments: su,
|
|
1486
|
-
addFormRevisionAttachment:
|
|
1488
|
+
addFormRevisionAttachment: uy,
|
|
1487
1489
|
addFormRevisionAttachments: iu,
|
|
1488
|
-
setFormRevisionAttachment:
|
|
1489
|
-
setFormRevisionAttachments:
|
|
1490
|
-
updateFormRevisionAttachment:
|
|
1490
|
+
setFormRevisionAttachment: ly,
|
|
1491
|
+
setFormRevisionAttachments: hy,
|
|
1492
|
+
updateFormRevisionAttachment: py,
|
|
1491
1493
|
updateFormRevisionAttachments: nu,
|
|
1492
|
-
deleteFormRevisionAttachment:
|
|
1494
|
+
deleteFormRevisionAttachment: my,
|
|
1493
1495
|
deleteFormRevisionAttachments: au
|
|
1494
|
-
} =
|
|
1496
|
+
} = pa.actions, cu = (t) => t.formRevisionAttachmentReducer.instances, fy = y(
|
|
1495
1497
|
m(
|
|
1496
1498
|
[cu, (t, e) => e],
|
|
1497
1499
|
(t, e) => b(
|
|
1498
1500
|
Object.values(t).filter((s) => s.form_revision === e)
|
|
1499
1501
|
)
|
|
1500
1502
|
)
|
|
1501
|
-
), ru =
|
|
1503
|
+
), ru = pa.reducer, ou = (t, e) => {
|
|
1502
1504
|
const s = t.revision, i = e.revision;
|
|
1503
1505
|
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;
|
|
1504
|
-
}, Re = _((t) => t.uuid), ai = Re.getInitialState({}),
|
|
1506
|
+
}, Re = _((t) => t.uuid), ai = Re.getInitialState({}), ma = T({
|
|
1505
1507
|
name: "formRevisions",
|
|
1506
1508
|
initialState: ai,
|
|
1507
1509
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ai)),
|
|
@@ -1516,14 +1518,14 @@ const Ue = _(
|
|
|
1516
1518
|
}), {
|
|
1517
1519
|
setFormRevision: du,
|
|
1518
1520
|
initializeFormRevisions: uu,
|
|
1519
|
-
addFormRevision:
|
|
1521
|
+
addFormRevision: fa,
|
|
1520
1522
|
addFormRevisions: lu,
|
|
1521
|
-
deleteFormRevision:
|
|
1523
|
+
deleteFormRevision: Aa,
|
|
1522
1524
|
deleteFormRevisions: hu
|
|
1523
|
-
} =
|
|
1525
|
+
} = ma.actions, Dt = (t) => t.formRevisionReducer.instances, pu = m(
|
|
1524
1526
|
[Dt],
|
|
1525
1527
|
(t) => Object.values(t)
|
|
1526
|
-
),
|
|
1528
|
+
), Ay = (t) => (e) => e.formRevisionReducer.instances[t], yy = y(
|
|
1527
1529
|
m(
|
|
1528
1530
|
[Dt, (t, e) => e],
|
|
1529
1531
|
(t, e) => {
|
|
@@ -1538,7 +1540,7 @@ const Ue = _(
|
|
|
1538
1540
|
[pu, (t, e) => e],
|
|
1539
1541
|
(t, e) => b(t.filter((s) => s.form === e))
|
|
1540
1542
|
)
|
|
1541
|
-
), fu =
|
|
1543
|
+
), fu = ma.reducer, Fe = _((t) => t.uuid), ci = Fe.getInitialState({}), ya = T({
|
|
1542
1544
|
name: "forms",
|
|
1543
1545
|
initialState: ci,
|
|
1544
1546
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ci)),
|
|
@@ -1550,7 +1552,7 @@ const Ue = _(
|
|
|
1550
1552
|
updateForm: Fe.updateOne,
|
|
1551
1553
|
deleteForm: Fe.deleteOne
|
|
1552
1554
|
}
|
|
1553
|
-
}), { initializeForms: Au, setForm:
|
|
1555
|
+
}), { initializeForms: Au, setForm: by, addForm: ri, addForms: Sy, updateForm: gy, deleteForm: oi } = ya.actions, yu = ya.reducer, bu = (t) => t.formReducer.instances, Ty = m([bu], (t) => Object.values(t)), Su = (t) => (e) => e.formReducer.instances[t], ne = _((t) => t.uuid), di = ne.getInitialState({}), ba = T({
|
|
1554
1556
|
name: "formSubmissionAttachments",
|
|
1555
1557
|
initialState: di,
|
|
1556
1558
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, di)),
|
|
@@ -1567,18 +1569,18 @@ const Ue = _(
|
|
|
1567
1569
|
}
|
|
1568
1570
|
}), {
|
|
1569
1571
|
initializeFormSubmissionAttachments: gu,
|
|
1570
|
-
addFormSubmissionAttachment:
|
|
1572
|
+
addFormSubmissionAttachment: Py,
|
|
1571
1573
|
addFormSubmissionAttachments: Ot,
|
|
1572
|
-
setFormSubmissionAttachment:
|
|
1573
|
-
setFormSubmissionAttachments:
|
|
1574
|
-
updateFormSubmissionAttachment:
|
|
1574
|
+
setFormSubmissionAttachment: _y,
|
|
1575
|
+
setFormSubmissionAttachments: Ry,
|
|
1576
|
+
updateFormSubmissionAttachment: Fy,
|
|
1575
1577
|
updateFormSubmissionAttachments: Tu,
|
|
1576
|
-
deleteFormSubmissionAttachment:
|
|
1578
|
+
deleteFormSubmissionAttachment: Oy,
|
|
1577
1579
|
deleteFormSubmissionAttachments: It
|
|
1578
|
-
} =
|
|
1580
|
+
} = ba.actions, Sa = (t) => t.formSubmissionAttachmentReducer.instances, Pu = y(
|
|
1579
1581
|
m(
|
|
1580
1582
|
[
|
|
1581
|
-
|
|
1583
|
+
Sa,
|
|
1582
1584
|
(t, e) => e
|
|
1583
1585
|
],
|
|
1584
1586
|
(t, e) => {
|
|
@@ -1590,14 +1592,14 @@ const Ue = _(
|
|
|
1590
1592
|
)
|
|
1591
1593
|
), _u = y(
|
|
1592
1594
|
m(
|
|
1593
|
-
[
|
|
1595
|
+
[Sa, (t, e) => e],
|
|
1594
1596
|
(t, e) => b(
|
|
1595
1597
|
Object.values(t).filter((s) => s.form_submission === e)
|
|
1596
1598
|
)
|
|
1597
1599
|
)
|
|
1598
|
-
), Ru =
|
|
1600
|
+
), Ru = ba.reducer, ae = _(
|
|
1599
1601
|
(t) => t.uuid
|
|
1600
|
-
), ui = ae.getInitialState({}),
|
|
1602
|
+
), ui = ae.getInitialState({}), ga = T({
|
|
1601
1603
|
name: "formSubmissions",
|
|
1602
1604
|
initialState: ui,
|
|
1603
1605
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ui)),
|
|
@@ -1615,20 +1617,20 @@ const Ue = _(
|
|
|
1615
1617
|
}), {
|
|
1616
1618
|
initializeFormSubmissions: Fu,
|
|
1617
1619
|
setFormSubmission: pt,
|
|
1618
|
-
setFormSubmissions:
|
|
1620
|
+
setFormSubmissions: Iy,
|
|
1619
1621
|
addFormSubmission: li,
|
|
1620
1622
|
addFormSubmissions: xt,
|
|
1621
1623
|
updateFormSubmission: Ou,
|
|
1622
|
-
updateFormSubmissions:
|
|
1624
|
+
updateFormSubmissions: vy,
|
|
1623
1625
|
deleteFormSubmission: hi,
|
|
1624
1626
|
deleteFormSubmissions: zt
|
|
1625
|
-
} =
|
|
1626
|
-
[
|
|
1627
|
+
} = ga.actions, Ta = (t) => t.formSubmissionReducer.instances, Pa = m(
|
|
1628
|
+
[Ta],
|
|
1627
1629
|
(t) => Object.values(t)
|
|
1628
1630
|
), pi = (t) => (e) => e.formSubmissionReducer.instances[t], Iu = y(
|
|
1629
1631
|
m(
|
|
1630
1632
|
[
|
|
1631
|
-
|
|
1633
|
+
Ta,
|
|
1632
1634
|
Dt,
|
|
1633
1635
|
(t, e) => e
|
|
1634
1636
|
],
|
|
@@ -1643,15 +1645,15 @@ const Ue = _(
|
|
|
1643
1645
|
)
|
|
1644
1646
|
), vu = y(
|
|
1645
1647
|
m(
|
|
1646
|
-
[
|
|
1648
|
+
[Pa, (t, e) => e],
|
|
1647
1649
|
(t, e) => Object.values(t).filter((s) => s.issue === e)
|
|
1648
1650
|
)
|
|
1649
1651
|
), wu = y(
|
|
1650
1652
|
m(
|
|
1651
|
-
[
|
|
1653
|
+
[Pa, (t, e) => e],
|
|
1652
1654
|
(t, e) => t.filter((s) => s.asset === e)
|
|
1653
1655
|
)
|
|
1654
|
-
), Eu =
|
|
1656
|
+
), Eu = ga.reducer, ce = _((t) => t.uuid), mi = ce.getInitialState({}), _a = T({
|
|
1655
1657
|
name: "geoImages",
|
|
1656
1658
|
initialState: mi,
|
|
1657
1659
|
extraReducers: (t) => {
|
|
@@ -1677,14 +1679,14 @@ const Ue = _(
|
|
|
1677
1679
|
addGeoImage: ju,
|
|
1678
1680
|
addGeoImages: Mu,
|
|
1679
1681
|
updateGeoImage: Cu,
|
|
1680
|
-
updateGeoImages:
|
|
1682
|
+
updateGeoImages: wy,
|
|
1681
1683
|
deleteGeoImage: fi,
|
|
1682
1684
|
deleteGeoImages: Du
|
|
1683
|
-
} =
|
|
1685
|
+
} = _a.actions, xu = (t) => t.geoImageReducer.instances, zu = m([xu], (t) => Object.values(t)), Ai = (t) => (e) => e.geoImageReducer.instances[t], Ey = y(
|
|
1684
1686
|
m([zu, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
|
|
1685
|
-
), Vu =
|
|
1687
|
+
), Vu = _a.reducer, re = _(
|
|
1686
1688
|
(t) => t.uuid
|
|
1687
|
-
), yi = re.getInitialState({}),
|
|
1689
|
+
), yi = re.getInitialState({}), Ra = T({
|
|
1688
1690
|
name: "issueAssociations",
|
|
1689
1691
|
initialState: yi,
|
|
1690
1692
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, yi)),
|
|
@@ -1701,15 +1703,15 @@ const Ue = _(
|
|
|
1701
1703
|
}
|
|
1702
1704
|
}), {
|
|
1703
1705
|
initializeIssueAssociations: Uu,
|
|
1704
|
-
setIssueAssociations:
|
|
1705
|
-
setIssueAssociation:
|
|
1706
|
+
setIssueAssociations: ky,
|
|
1707
|
+
setIssueAssociation: qy,
|
|
1706
1708
|
updateIssueAssociation: $u,
|
|
1707
|
-
updateIssueAssociations:
|
|
1709
|
+
updateIssueAssociations: jy,
|
|
1708
1710
|
addIssueAssociation: bi,
|
|
1709
|
-
addIssueAssociations:
|
|
1711
|
+
addIssueAssociations: Fa,
|
|
1710
1712
|
deleteIssueAssociation: Si,
|
|
1711
|
-
deleteIssueAssociations:
|
|
1712
|
-
} =
|
|
1713
|
+
deleteIssueAssociations: Oa
|
|
1714
|
+
} = Ra.actions, ut = (t) => t.issueAssociationReducer.instances, My = m([ut], (t) => Object.values(t)), Gu = (t) => (e) => e.issueAssociationReducer.instances[t], Bu = y(
|
|
1713
1715
|
m(
|
|
1714
1716
|
[ut, (t, e) => e],
|
|
1715
1717
|
(t, e) => b(
|
|
@@ -1726,9 +1728,9 @@ const Ue = _(
|
|
|
1726
1728
|
[ut, (t, e) => e],
|
|
1727
1729
|
(t, e) => b(Object.values(t).filter((s) => s.asset === e))
|
|
1728
1730
|
)
|
|
1729
|
-
), Hu =
|
|
1731
|
+
), Hu = Ra.reducer, oe = _(
|
|
1730
1732
|
(t) => t.uuid
|
|
1731
|
-
), gi = oe.getInitialState({}),
|
|
1733
|
+
), gi = oe.getInitialState({}), Ia = T({
|
|
1732
1734
|
name: "issueAttachments",
|
|
1733
1735
|
initialState: gi,
|
|
1734
1736
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, gi)),
|
|
@@ -1745,15 +1747,15 @@ const Ue = _(
|
|
|
1745
1747
|
}
|
|
1746
1748
|
}), {
|
|
1747
1749
|
initializeIssueAttachments: Ti,
|
|
1748
|
-
addIssueAttachment:
|
|
1749
|
-
addIssueAttachments:
|
|
1750
|
+
addIssueAttachment: Cy,
|
|
1751
|
+
addIssueAttachments: va,
|
|
1750
1752
|
setIssueAttachment: Wu,
|
|
1751
|
-
setIssueAttachments:
|
|
1752
|
-
updateIssueAttachment:
|
|
1753
|
+
setIssueAttachments: Dy,
|
|
1754
|
+
updateIssueAttachment: xy,
|
|
1753
1755
|
updateIssueAttachments: Ku,
|
|
1754
1756
|
deleteIssueAttachment: Yu,
|
|
1755
|
-
deleteIssueAttachments:
|
|
1756
|
-
} =
|
|
1757
|
+
deleteIssueAttachments: wa
|
|
1758
|
+
} = Ia.actions, Ju = (t) => t.issueAttachmentReducer.instances, Qu = m(
|
|
1757
1759
|
[Ju],
|
|
1758
1760
|
(t) => Object.values(t)
|
|
1759
1761
|
), Xu = y(
|
|
@@ -1761,7 +1763,7 @@ const Ue = _(
|
|
|
1761
1763
|
[Qu, (t, e) => e],
|
|
1762
1764
|
(t, e) => b(t.filter(({ issue: s }) => e === s))
|
|
1763
1765
|
)
|
|
1764
|
-
), Zu = (t) => (e) => e.issueAttachmentReducer.instances[t], el =
|
|
1766
|
+
), Zu = (t) => (e) => e.issueAttachmentReducer.instances[t], el = Ia.reducer, de = _((t) => t.uuid), Pi = de.getInitialState({}), Ea = T({
|
|
1765
1767
|
name: "issueCommentAttachments",
|
|
1766
1768
|
initialState: Pi,
|
|
1767
1769
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Pi)),
|
|
@@ -1778,18 +1780,18 @@ const Ue = _(
|
|
|
1778
1780
|
}
|
|
1779
1781
|
}), {
|
|
1780
1782
|
initializeIssueCommentAttachments: _i,
|
|
1781
|
-
addIssueCommentAttachment:
|
|
1783
|
+
addIssueCommentAttachment: zy,
|
|
1782
1784
|
addIssueCommentAttachments: tl,
|
|
1783
1785
|
setIssueCommentAttachment: sl,
|
|
1784
|
-
setIssueCommentAttachments:
|
|
1785
|
-
updateIssueCommentAttachment:
|
|
1786
|
+
setIssueCommentAttachments: Vy,
|
|
1787
|
+
updateIssueCommentAttachment: Uy,
|
|
1786
1788
|
updateIssueCommentAttachments: il,
|
|
1787
1789
|
deleteIssueCommentAttachment: nl,
|
|
1788
1790
|
deleteIssueCommentAttachments: al
|
|
1789
|
-
} =
|
|
1791
|
+
} = Ea.actions, cl = (t) => t.issueCommentAttachmentReducer.instances, rl = m(
|
|
1790
1792
|
[cl],
|
|
1791
1793
|
(t) => Object.values(t)
|
|
1792
|
-
), ol = (t) => (e) => e.issueCommentAttachmentReducer.instances[t],
|
|
1794
|
+
), ol = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], $y = y(
|
|
1793
1795
|
m(
|
|
1794
1796
|
[
|
|
1795
1797
|
rl,
|
|
@@ -1797,7 +1799,7 @@ const Ue = _(
|
|
|
1797
1799
|
],
|
|
1798
1800
|
(t, e) => b(t.filter(({ issue_comment: s }) => e === s))
|
|
1799
1801
|
)
|
|
1800
|
-
), dl =
|
|
1802
|
+
), dl = Ea.reducer, Oe = _((t) => t.uuid), Ri = Oe.getInitialState({}), ka = T({
|
|
1801
1803
|
name: "issueComments",
|
|
1802
1804
|
initialState: Ri,
|
|
1803
1805
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ri)),
|
|
@@ -1813,15 +1815,15 @@ const Ue = _(
|
|
|
1813
1815
|
setIssueComments: ul,
|
|
1814
1816
|
setIssueComment: Fi,
|
|
1815
1817
|
addIssueComment: Oi,
|
|
1816
|
-
addIssueComments:
|
|
1818
|
+
addIssueComments: Gy,
|
|
1817
1819
|
deleteIssueComment: Ii,
|
|
1818
|
-
deleteIssueComments:
|
|
1819
|
-
} =
|
|
1820
|
+
deleteIssueComments: By
|
|
1821
|
+
} = ka.actions, ll = (t) => t.issueCommentReducer.instances, vi = (t) => (e) => e.issueCommentReducer.instances[t], Ly = y(
|
|
1820
1822
|
m(
|
|
1821
1823
|
[ll, (t, e) => e],
|
|
1822
1824
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1823
1825
|
)
|
|
1824
|
-
), hl =
|
|
1826
|
+
), hl = ka.reducer, Ie = _((t) => t.uuid), wi = Ie.getInitialState({}), qa = T({
|
|
1825
1827
|
name: "issues",
|
|
1826
1828
|
initialState: wi,
|
|
1827
1829
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -1835,7 +1837,7 @@ const Ue = _(
|
|
|
1835
1837
|
deleteIssue: Ie.deleteOne,
|
|
1836
1838
|
deleteIssues: Ie.deleteMany
|
|
1837
1839
|
}
|
|
1838
|
-
}), { initializeIssues: pl, addIssue: Ei, addIssues: ml, updateIssue: mt, deleteIssue: ki, deleteIssues: fl } =
|
|
1840
|
+
}), { initializeIssues: pl, addIssue: Ei, addIssues: ml, updateIssue: mt, deleteIssue: ki, deleteIssues: fl } = qa.actions, Al = (t) => t.issueReducer.instances, qi = (t) => (e) => e.issueReducer.instances[t], Ny = y(
|
|
1839
1841
|
m([Al, (t, e) => e], (t, e) => {
|
|
1840
1842
|
const s = [];
|
|
1841
1843
|
for (const i of e) {
|
|
@@ -1844,9 +1846,9 @@ const Ue = _(
|
|
|
1844
1846
|
}
|
|
1845
1847
|
return b(s);
|
|
1846
1848
|
})
|
|
1847
|
-
), yl =
|
|
1849
|
+
), yl = qa.reducer, ue = _(
|
|
1848
1850
|
(t) => t.uuid
|
|
1849
|
-
), ji = ue.getInitialState({}),
|
|
1851
|
+
), ji = ue.getInitialState({}), ja = T({
|
|
1850
1852
|
name: "issueTypeAttachments",
|
|
1851
1853
|
initialState: ji,
|
|
1852
1854
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ji)),
|
|
@@ -1863,23 +1865,23 @@ const Ue = _(
|
|
|
1863
1865
|
}
|
|
1864
1866
|
}), {
|
|
1865
1867
|
initializeIssueTypeAttachments: Mi,
|
|
1866
|
-
addIssueTypeAttachment:
|
|
1868
|
+
addIssueTypeAttachment: Hy,
|
|
1867
1869
|
addIssueTypeAttachments: bl,
|
|
1868
1870
|
setIssueTypeAttachment: Sl,
|
|
1869
|
-
setIssueTypeAttachments:
|
|
1870
|
-
updateIssueTypeAttachment:
|
|
1871
|
+
setIssueTypeAttachments: Wy,
|
|
1872
|
+
updateIssueTypeAttachment: Ky,
|
|
1871
1873
|
updateIssueTypeAttachments: gl,
|
|
1872
1874
|
deleteIssueTypeAttachment: Tl,
|
|
1873
1875
|
deleteIssueTypeAttachments: Pl
|
|
1874
|
-
} =
|
|
1876
|
+
} = ja.actions, _l = (t) => t.issueTypeAttachmentReducer.instances, Rl = m(
|
|
1875
1877
|
[_l],
|
|
1876
1878
|
(t) => Object.values(t)
|
|
1877
|
-
), Fl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t],
|
|
1879
|
+
), Fl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Yy = y(
|
|
1878
1880
|
m(
|
|
1879
1881
|
[Rl, (t, e) => e],
|
|
1880
1882
|
(t, e) => b(t.filter(({ issue_type: s }) => e === s))
|
|
1881
1883
|
)
|
|
1882
|
-
), Ol =
|
|
1884
|
+
), Ol = ja.reducer, le = _((t) => t.uuid), Ci = le.getInitialState({}), Ma = T({
|
|
1883
1885
|
name: "issueTypeFieldsAttachments",
|
|
1884
1886
|
initialState: Ci,
|
|
1885
1887
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ci)),
|
|
@@ -1896,27 +1898,27 @@ const Ue = _(
|
|
|
1896
1898
|
}
|
|
1897
1899
|
}), {
|
|
1898
1900
|
initializeIssueTypeFieldsAttachments: Il,
|
|
1899
|
-
addIssueTypeFieldsAttachment:
|
|
1901
|
+
addIssueTypeFieldsAttachment: Jy,
|
|
1900
1902
|
addIssueTypeFieldsAttachments: vl,
|
|
1901
|
-
setIssueTypeFieldsAttachment:
|
|
1902
|
-
setIssueTypeFieldsAttachments:
|
|
1903
|
-
updateIssueTypeFieldsAttachment:
|
|
1903
|
+
setIssueTypeFieldsAttachment: Qy,
|
|
1904
|
+
setIssueTypeFieldsAttachments: Xy,
|
|
1905
|
+
updateIssueTypeFieldsAttachment: Zy,
|
|
1904
1906
|
updateIssueTypeFieldsAttachments: wl,
|
|
1905
|
-
deleteIssueTypeFieldsAttachment:
|
|
1907
|
+
deleteIssueTypeFieldsAttachment: eb,
|
|
1906
1908
|
deleteIssueTypeFieldsAttachments: El
|
|
1907
|
-
} =
|
|
1909
|
+
} = Ma.actions, kl = (t) => t.issueTypeFieldsAttachmentReducer.instances, ql = m(
|
|
1908
1910
|
[kl],
|
|
1909
1911
|
(t) => Object.values(t)
|
|
1910
|
-
),
|
|
1912
|
+
), tb = y(
|
|
1911
1913
|
m(
|
|
1912
1914
|
[ql, (t, e) => e],
|
|
1913
1915
|
(t, e) => b(
|
|
1914
1916
|
t.filter((s) => s.fields_revision === e)
|
|
1915
1917
|
)
|
|
1916
1918
|
)
|
|
1917
|
-
),
|
|
1919
|
+
), sb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], jl = Ma.reducer, he = _(
|
|
1918
1920
|
(t) => t.uuid
|
|
1919
|
-
), Di = he.getInitialState({}),
|
|
1921
|
+
), Di = he.getInitialState({}), Ca = T({
|
|
1920
1922
|
name: "issueTypeFieldValues",
|
|
1921
1923
|
initialState: Di,
|
|
1922
1924
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Di)),
|
|
@@ -1934,18 +1936,18 @@ const Ue = _(
|
|
|
1934
1936
|
}), {
|
|
1935
1937
|
initializeIssueTypeFieldValues: Ml,
|
|
1936
1938
|
addIssueTypeFieldValues: xi,
|
|
1937
|
-
addIssueTypeFieldValuesMany:
|
|
1938
|
-
setIssueTypeFieldValues:
|
|
1939
|
-
setIssueTypeFieldValuesMany:
|
|
1939
|
+
addIssueTypeFieldValuesMany: ib,
|
|
1940
|
+
setIssueTypeFieldValues: nb,
|
|
1941
|
+
setIssueTypeFieldValuesMany: ab,
|
|
1940
1942
|
updateIssueTypeFieldValues: st,
|
|
1941
|
-
updateIssueTypeFieldValuesMany:
|
|
1943
|
+
updateIssueTypeFieldValuesMany: cb,
|
|
1942
1944
|
deleteIssueTypeFieldValues: zi,
|
|
1943
|
-
deleteIssueTypeFieldValuesMany:
|
|
1944
|
-
} =
|
|
1945
|
-
m([
|
|
1946
|
-
), Vi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Dl =
|
|
1945
|
+
deleteIssueTypeFieldValuesMany: rb
|
|
1946
|
+
} = Ca.actions, Cl = (t) => t.issueTypeFieldValuesReducer.instances, Da = m([Cl], (t) => Object.values(t)), ob = y(
|
|
1947
|
+
m([Da, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
|
|
1948
|
+
), Vi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Dl = Ca.reducer, pe = _(
|
|
1947
1949
|
(t) => t.uuid
|
|
1948
|
-
), Ui = pe.getInitialState({}),
|
|
1950
|
+
), Ui = pe.getInitialState({}), xa = T({
|
|
1949
1951
|
name: "issueTypeFields",
|
|
1950
1952
|
initialState: Ui,
|
|
1951
1953
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ui)),
|
|
@@ -1963,20 +1965,20 @@ const Ue = _(
|
|
|
1963
1965
|
}), {
|
|
1964
1966
|
initializeIssueTypeFields: xl,
|
|
1965
1967
|
addIssueTypeFields: zl,
|
|
1966
|
-
addIssueTypeFieldsMany:
|
|
1967
|
-
setIssueTypeFields:
|
|
1968
|
-
setIssueTypeFieldsMany:
|
|
1968
|
+
addIssueTypeFieldsMany: db,
|
|
1969
|
+
setIssueTypeFields: ub,
|
|
1970
|
+
setIssueTypeFieldsMany: lb,
|
|
1969
1971
|
updateIssueTypeFields: Vl,
|
|
1970
|
-
updateIssueTypeFieldsMany:
|
|
1972
|
+
updateIssueTypeFieldsMany: hb,
|
|
1971
1973
|
deleteIssueTypeFields: Ul,
|
|
1972
|
-
deleteIssueTypeFieldsMany:
|
|
1973
|
-
} =
|
|
1974
|
+
deleteIssueTypeFieldsMany: pb
|
|
1975
|
+
} = xa.actions, $l = (t) => t.issueTypeFieldsReducer.instances, Vt = m([$l], (t) => Object.values(t)), mb = y(
|
|
1974
1976
|
m([Vt, (t, e) => e], (t, e) => b(t.filter((s) => s.issue_type === e)))
|
|
1975
|
-
), mb = y(
|
|
1976
|
-
m([Vt, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1977
1977
|
), fb = y(
|
|
1978
|
+
m([Vt, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1979
|
+
), Ab = y(
|
|
1978
1980
|
m(
|
|
1979
|
-
[Vt,
|
|
1981
|
+
[Vt, Da, (t, e) => e],
|
|
1980
1982
|
(t, e, s) => {
|
|
1981
1983
|
const i = new Set(
|
|
1982
1984
|
t.filter((n) => n.issue_type === s).map((n) => n.uuid)
|
|
@@ -1984,7 +1986,7 @@ const Ue = _(
|
|
|
1984
1986
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1985
1987
|
}
|
|
1986
1988
|
)
|
|
1987
|
-
),
|
|
1989
|
+
), yb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Gl = xa.reducer, me = _((t) => t.uuid), $i = me.getInitialState({}), za = T({
|
|
1988
1990
|
name: "issueTypeFieldValuesAttachments",
|
|
1989
1991
|
initialState: $i,
|
|
1990
1992
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, $i)),
|
|
@@ -2001,21 +2003,21 @@ const Ue = _(
|
|
|
2001
2003
|
}
|
|
2002
2004
|
}), {
|
|
2003
2005
|
initializeIssueTypeFieldValuesAttachments: Bl,
|
|
2004
|
-
addIssueTypeFieldValuesAttachment:
|
|
2006
|
+
addIssueTypeFieldValuesAttachment: bb,
|
|
2005
2007
|
addIssueTypeFieldValuesAttachments: vt,
|
|
2006
|
-
setIssueTypeFieldValuesAttachment:
|
|
2007
|
-
setIssueTypeFieldValuesAttachments:
|
|
2008
|
-
updateIssueTypeFieldValuesAttachment:
|
|
2008
|
+
setIssueTypeFieldValuesAttachment: Sb,
|
|
2009
|
+
setIssueTypeFieldValuesAttachments: gb,
|
|
2010
|
+
updateIssueTypeFieldValuesAttachment: Tb,
|
|
2009
2011
|
updateIssueTypeFieldValuesAttachments: Ll,
|
|
2010
|
-
deleteIssueTypeFieldValuesAttachment:
|
|
2012
|
+
deleteIssueTypeFieldValuesAttachment: Pb,
|
|
2011
2013
|
deleteIssueTypeFieldValuesAttachments: wt
|
|
2012
|
-
} =
|
|
2013
|
-
[
|
|
2014
|
+
} = za.actions, Va = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Nl = m(
|
|
2015
|
+
[Va],
|
|
2014
2016
|
(t) => Object.values(t)
|
|
2015
|
-
),
|
|
2017
|
+
), _b = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t], Hl = y(
|
|
2016
2018
|
m(
|
|
2017
2019
|
[
|
|
2018
|
-
|
|
2020
|
+
Va,
|
|
2019
2021
|
(t, e) => e
|
|
2020
2022
|
],
|
|
2021
2023
|
(t, e) => {
|
|
@@ -2030,7 +2032,7 @@ const Ue = _(
|
|
|
2030
2032
|
[Nl, (t, e) => e],
|
|
2031
2033
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
2032
2034
|
)
|
|
2033
|
-
), Kl =
|
|
2035
|
+
), Kl = za.reducer, je = _((t) => t.uuid), Gi = je.getInitialState({}), Ua = T({
|
|
2034
2036
|
name: "issueTypes",
|
|
2035
2037
|
initialState: Gi,
|
|
2036
2038
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -2043,31 +2045,31 @@ const Ue = _(
|
|
|
2043
2045
|
updateIssueType: je.updateOne,
|
|
2044
2046
|
removeIssueType: je.deleteOne
|
|
2045
2047
|
}
|
|
2046
|
-
}), { initializeIssueTypes: Yl, setIssueType: it, addIssueType: Jl, updateIssueType: Ql, removeIssueType: Bi } =
|
|
2048
|
+
}), { initializeIssueTypes: Yl, setIssueType: it, addIssueType: Jl, updateIssueType: Ql, removeIssueType: Bi } = Ua.actions, Xl = (t) => t.issueTypeReducer.instances, Zl = m(
|
|
2047
2049
|
Xl,
|
|
2048
2050
|
(t) => Object.values(t)
|
|
2049
|
-
), Li = (t) => (e) => e.issueTypeReducer.instances[t],
|
|
2051
|
+
), Li = (t) => (e) => e.issueTypeReducer.instances[t], Rb = (t) => (e) => {
|
|
2050
2052
|
const s = [];
|
|
2051
2053
|
for (const i of t) {
|
|
2052
2054
|
const n = e.issueTypeReducer.instances[i];
|
|
2053
2055
|
n ? s.push(n) : console.warn("selectIssueTypesByIds: No issue type exists with the id", i);
|
|
2054
2056
|
}
|
|
2055
2057
|
return s;
|
|
2056
|
-
},
|
|
2058
|
+
}, Fb = y(
|
|
2057
2059
|
m(
|
|
2058
2060
|
[Zl, (t, e) => e],
|
|
2059
2061
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2060
2062
|
)
|
|
2061
|
-
),
|
|
2063
|
+
), $a = y(
|
|
2062
2064
|
m(
|
|
2063
2065
|
[(t) => t.issueReducer.instances, (t, e) => e],
|
|
2064
2066
|
(t, e) => b(
|
|
2065
2067
|
Object.values(t).filter((s) => s.issue_type === e)
|
|
2066
2068
|
)
|
|
2067
2069
|
)
|
|
2068
|
-
),
|
|
2070
|
+
), Ob = (t) => (e) => $a(t)(e).length, eh = Ua.reducer, ve = _(
|
|
2069
2071
|
(t) => t.uuid
|
|
2070
|
-
), Ni = ve.getInitialState({}),
|
|
2072
|
+
), Ni = ve.getInitialState({}), Ga = T({
|
|
2071
2073
|
name: "issueUpdates",
|
|
2072
2074
|
initialState: Ni,
|
|
2073
2075
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ni)),
|
|
@@ -2081,17 +2083,17 @@ const Ue = _(
|
|
|
2081
2083
|
}
|
|
2082
2084
|
}), {
|
|
2083
2085
|
initializeIssueUpdates: th,
|
|
2084
|
-
setIssueUpdate:
|
|
2086
|
+
setIssueUpdate: Ib,
|
|
2085
2087
|
addIssueUpdate: sh,
|
|
2086
2088
|
addIssueUpdates: ih,
|
|
2087
2089
|
deleteIssueUpdate: nh,
|
|
2088
2090
|
deleteIssueUpdates: ah
|
|
2089
|
-
} =
|
|
2091
|
+
} = Ga.actions, ch = (t) => t.issueUpdateReducer.instances, rh = y(
|
|
2090
2092
|
m(
|
|
2091
2093
|
[ch, (t, e) => e],
|
|
2092
2094
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
2093
2095
|
)
|
|
2094
|
-
), oh =
|
|
2096
|
+
), oh = Ga.reducer, rt = _((t) => t.uuid), Hi = rt.getInitialState({}), Ba = T({
|
|
2095
2097
|
name: "license",
|
|
2096
2098
|
initialState: Hi,
|
|
2097
2099
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Hi)),
|
|
@@ -2100,17 +2102,17 @@ const Ue = _(
|
|
|
2100
2102
|
addLicenses: rt.addMany,
|
|
2101
2103
|
updateLicense: rt.updateOne
|
|
2102
2104
|
}
|
|
2103
|
-
}), { initializeLicences: dh, addLicenses:
|
|
2105
|
+
}), { initializeLicences: dh, addLicenses: vb, updateLicense: ge } = Ba.actions, Ut = (t) => t.licenseReducer.instances, wb = (t) => (e) => e.licenseReducer.instances[t], uh = (t) => (e) => Object.values(e.licenseReducer.instances).find((s) => s.project === t), Eb = m(
|
|
2104
2106
|
[Ut],
|
|
2105
2107
|
(t) => b(Object.values(t).filter((e) => e.is_active))
|
|
2106
|
-
),
|
|
2108
|
+
), kb = m(
|
|
2107
2109
|
[Ut],
|
|
2108
2110
|
(t) => De(
|
|
2109
2111
|
Object.values(t).filter((e) => e.project).reduce((e, s) => ({ ...e, [s.project]: s }), {})
|
|
2110
2112
|
)
|
|
2111
|
-
), lh =
|
|
2113
|
+
), lh = Ba.reducer, q = _((t) => t.id), Wi = q.getInitialState({
|
|
2112
2114
|
currentUser: null
|
|
2113
|
-
}),
|
|
2115
|
+
}), La = T({
|
|
2114
2116
|
name: "users",
|
|
2115
2117
|
initialState: Wi,
|
|
2116
2118
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Wi)),
|
|
@@ -2140,18 +2142,18 @@ const Ue = _(
|
|
|
2140
2142
|
}
|
|
2141
2143
|
}), {
|
|
2142
2144
|
initializeUsers: hh,
|
|
2143
|
-
setUsers:
|
|
2144
|
-
setUser:
|
|
2145
|
-
addUsers:
|
|
2146
|
-
addUser:
|
|
2147
|
-
updateUsers:
|
|
2148
|
-
updateUser:
|
|
2149
|
-
deleteUser:
|
|
2150
|
-
deleteUsers:
|
|
2145
|
+
setUsers: qb,
|
|
2146
|
+
setUser: jb,
|
|
2147
|
+
addUsers: Mb,
|
|
2148
|
+
addUser: Cb,
|
|
2149
|
+
updateUsers: Db,
|
|
2150
|
+
updateUser: xb,
|
|
2151
|
+
deleteUser: zb,
|
|
2152
|
+
deleteUsers: Vb,
|
|
2151
2153
|
removeUser: ph,
|
|
2152
|
-
setCurrentUser:
|
|
2153
|
-
setProfilePicture:
|
|
2154
|
-
} =
|
|
2154
|
+
setCurrentUser: Ub,
|
|
2155
|
+
setProfilePicture: $b
|
|
2156
|
+
} = La.actions, mh = La.reducer, $t = (t) => t.userReducer.currentUser, Gt = (t) => t.userReducer.instances, Gb = (t) => (e) => e.userReducer.instances[t], Bb = y(
|
|
2155
2157
|
m([Gt, (t, e) => e], (t, e) => {
|
|
2156
2158
|
const s = [];
|
|
2157
2159
|
for (const i of e) {
|
|
@@ -2162,7 +2164,7 @@ const Ue = _(
|
|
|
2162
2164
|
})
|
|
2163
2165
|
), ot = _(
|
|
2164
2166
|
(t) => t.uuid
|
|
2165
|
-
), Ki = ot.getInitialState({}),
|
|
2167
|
+
), Ki = ot.getInitialState({}), Na = T({
|
|
2166
2168
|
name: "organizationAccess",
|
|
2167
2169
|
initialState: Ki,
|
|
2168
2170
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ki)),
|
|
@@ -2171,21 +2173,21 @@ const Ue = _(
|
|
|
2171
2173
|
updateOrganizationAccess: ot.updateOne,
|
|
2172
2174
|
deleteOrganizationAccess: ot.deleteOne
|
|
2173
2175
|
}
|
|
2174
|
-
}), { initializeOrganizationAccesses: fh, updateOrganizationAccess: Ah, deleteOrganizationAccess: yh } =
|
|
2175
|
-
[$t,
|
|
2176
|
+
}), { initializeOrganizationAccesses: fh, updateOrganizationAccess: Ah, deleteOrganizationAccess: yh } = Na.actions, Ha = (t) => t.organizationAccessReducer.instances, Lb = (t) => (e) => e.organizationAccessReducer.instances[t], Nb = m(
|
|
2177
|
+
[$t, Ha],
|
|
2176
2178
|
(t, e) => Object.values(e).find(
|
|
2177
2179
|
(i) => i.user === (t == null ? void 0 : t.id)
|
|
2178
2180
|
) ?? null
|
|
2179
|
-
),
|
|
2181
|
+
), Hb = (t) => (e) => Object.values(e.organizationAccessReducer.instances).find(
|
|
2180
2182
|
(s) => s.user === t.id
|
|
2181
2183
|
), bh = (t) => {
|
|
2182
2184
|
const e = {};
|
|
2183
2185
|
for (const s of Object.values(t.organizationAccessReducer.instances))
|
|
2184
2186
|
e[s.user] = s;
|
|
2185
2187
|
return De(e);
|
|
2186
|
-
}, Sh =
|
|
2188
|
+
}, Sh = Na.reducer, Ge = _(
|
|
2187
2189
|
(t) => t.uuid
|
|
2188
|
-
), Yi = Ge.getInitialState({}),
|
|
2190
|
+
), Yi = Ge.getInitialState({}), Wa = T({
|
|
2189
2191
|
name: "projectAccess",
|
|
2190
2192
|
initialState: Yi,
|
|
2191
2193
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Yi)),
|
|
@@ -2195,17 +2197,17 @@ const Ue = _(
|
|
|
2195
2197
|
deleteProjectAccess: Ge.deleteOne,
|
|
2196
2198
|
deleteProjectAccesses: Ge.deleteMany
|
|
2197
2199
|
}
|
|
2198
|
-
}), { initializeProjectAccesses:
|
|
2199
|
-
|
|
2200
|
+
}), { initializeProjectAccesses: Ka, updateProjectAccess: gh, deleteProjectAccess: Th, deleteProjectAccesses: Ph } = Wa.actions, Ya = (t) => t.projectAccessReducer.instances, _h = m(
|
|
2201
|
+
Ya,
|
|
2200
2202
|
(t) => Object.values(t)
|
|
2201
|
-
),
|
|
2203
|
+
), Wb = (t) => (e) => e.projectAccessReducer.instances[t], Kb = (t) => (e) => Object.values(e.projectAccessReducer.instances).find(
|
|
2202
2204
|
(s) => s.user === t.id
|
|
2203
2205
|
), Rh = (t) => {
|
|
2204
2206
|
const e = {};
|
|
2205
2207
|
for (const s of Object.values(t.projectAccessReducer.instances))
|
|
2206
2208
|
e[s.user] = s;
|
|
2207
2209
|
return De(e);
|
|
2208
|
-
}, Fh =
|
|
2210
|
+
}, Fh = Wa.reducer, fe = _((t) => t.uuid), Ji = fe.getInitialState({}), Ja = T({
|
|
2209
2211
|
name: "projects",
|
|
2210
2212
|
initialState: Ji,
|
|
2211
2213
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ji)),
|
|
@@ -2227,23 +2229,23 @@ const Ue = _(
|
|
|
2227
2229
|
}
|
|
2228
2230
|
}
|
|
2229
2231
|
}), {
|
|
2230
|
-
initializeProjects:
|
|
2232
|
+
initializeProjects: Yb,
|
|
2231
2233
|
setProjects: Oh,
|
|
2232
|
-
setProject:
|
|
2233
|
-
addProjects:
|
|
2234
|
-
addProject:
|
|
2235
|
-
updateProjects:
|
|
2234
|
+
setProject: Jb,
|
|
2235
|
+
addProjects: Qb,
|
|
2236
|
+
addProject: Xb,
|
|
2237
|
+
updateProjects: Zb,
|
|
2236
2238
|
updateProject: Ih,
|
|
2237
2239
|
deleteProject: vh,
|
|
2238
|
-
deleteProjects:
|
|
2240
|
+
deleteProjects: eS,
|
|
2239
2241
|
acceptProjectInvite: wh
|
|
2240
|
-
} =
|
|
2241
|
-
[
|
|
2242
|
+
} = Ja.actions, Eh = Ja.reducer, Bt = (t) => t.projectReducer.instances, tS = m([Bt], (t) => b(Object.values(t))), sS = (t) => (e) => e.projectReducer.instances[t], kh = m(
|
|
2243
|
+
[Ya],
|
|
2242
2244
|
(t) => Object.values(t).map((e) => e.user)
|
|
2243
2245
|
), qh = m(
|
|
2244
2246
|
[kh, Gt],
|
|
2245
2247
|
(t, e) => t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
2246
|
-
),
|
|
2248
|
+
), iS = m(
|
|
2247
2249
|
[$t, qh, Rh],
|
|
2248
2250
|
(t, e, s) => b(
|
|
2249
2251
|
Object.values(e).sort((i, n) => {
|
|
@@ -2255,7 +2257,7 @@ const Ue = _(
|
|
|
2255
2257
|
return (a == null ? void 0 : a.access_level) === (c == null ? void 0 : c.access_level) ? i.username.localeCompare(n.username) : (a == null ? void 0 : a.access_level) === un.ADMIN ? -1 : 1;
|
|
2256
2258
|
})
|
|
2257
2259
|
)
|
|
2258
|
-
), Ae = _((t) => t.uuid), Qi = Ae.getInitialState({}),
|
|
2260
|
+
), Ae = _((t) => t.uuid), Qi = Ae.getInitialState({}), Qa = T({
|
|
2259
2261
|
name: "organizations",
|
|
2260
2262
|
initialState: Qi,
|
|
2261
2263
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qi)),
|
|
@@ -2271,31 +2273,31 @@ const Ue = _(
|
|
|
2271
2273
|
deleteOrganizations: Ae.deleteMany
|
|
2272
2274
|
}
|
|
2273
2275
|
}), {
|
|
2274
|
-
initializeOrganizations:
|
|
2276
|
+
initializeOrganizations: nS,
|
|
2275
2277
|
setOrganizations: jh,
|
|
2276
|
-
setOrganization:
|
|
2277
|
-
addOrganizations:
|
|
2278
|
-
addOrganization:
|
|
2279
|
-
updateOrganizations:
|
|
2280
|
-
updateOrganization:
|
|
2281
|
-
deleteOrganization:
|
|
2282
|
-
deleteOrganizations:
|
|
2283
|
-
} =
|
|
2278
|
+
setOrganization: aS,
|
|
2279
|
+
addOrganizations: cS,
|
|
2280
|
+
addOrganization: rS,
|
|
2281
|
+
updateOrganizations: oS,
|
|
2282
|
+
updateOrganization: dS,
|
|
2283
|
+
deleteOrganization: uS,
|
|
2284
|
+
deleteOrganizations: lS
|
|
2285
|
+
} = Qa.actions, Mh = (t) => t.organizationReducer.instances, Ch = m([Mh], (t) => Object.values(t)), hS = (t) => (e) => e.organizationReducer.instances[t], pS = m(
|
|
2284
2286
|
[Ch],
|
|
2285
2287
|
(t) => b(
|
|
2286
2288
|
Object.values(t).filter((e) => e.has_access)
|
|
2287
2289
|
)
|
|
2288
2290
|
), Dh = m(
|
|
2289
|
-
[
|
|
2291
|
+
[Ha],
|
|
2290
2292
|
(t) => Object.values(t).map((e) => e.user)
|
|
2291
|
-
),
|
|
2293
|
+
), mS = y(
|
|
2292
2294
|
m(
|
|
2293
2295
|
[Bt, (t, e) => e],
|
|
2294
2296
|
(t, e) => b(
|
|
2295
2297
|
Object.values(t).filter((s) => s.organization_owner === e)
|
|
2296
2298
|
)
|
|
2297
2299
|
)
|
|
2298
|
-
),
|
|
2300
|
+
), fS = y(
|
|
2299
2301
|
m(
|
|
2300
2302
|
[Ut, (t, e) => e],
|
|
2301
2303
|
(t, e) => b(
|
|
@@ -2307,7 +2309,7 @@ const Ue = _(
|
|
|
2307
2309
|
(t, e) => De(
|
|
2308
2310
|
t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
2309
2311
|
)
|
|
2310
|
-
),
|
|
2312
|
+
), AS = m(
|
|
2311
2313
|
[$t, xh, bh],
|
|
2312
2314
|
(t, e, s) => b(
|
|
2313
2315
|
Object.values(e).sort((i, n) => {
|
|
@@ -2319,7 +2321,7 @@ const Ue = _(
|
|
|
2319
2321
|
return (a == null ? void 0 : a.access_level) === (c == null ? void 0 : c.access_level) ? i.username.localeCompare(n.username) : (a == null ? void 0 : a.access_level) === ln.ADMIN ? -1 : 1;
|
|
2320
2322
|
})
|
|
2321
2323
|
)
|
|
2322
|
-
), zh =
|
|
2324
|
+
), zh = Qa.reducer, Vh = (t, e, s) => {
|
|
2323
2325
|
const i = t.uuid ? t : { ...t, uuid: we() };
|
|
2324
2326
|
return {
|
|
2325
2327
|
payload: i,
|
|
@@ -2338,7 +2340,7 @@ const Ue = _(
|
|
|
2338
2340
|
}, Xi = {
|
|
2339
2341
|
deletedRequests: [],
|
|
2340
2342
|
latestRetryTime: 0
|
|
2341
|
-
},
|
|
2343
|
+
}, Xa = T({
|
|
2342
2344
|
name: "outbox",
|
|
2343
2345
|
initialState: Xi,
|
|
2344
2346
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Xi)),
|
|
@@ -2365,9 +2367,9 @@ const Ue = _(
|
|
|
2365
2367
|
t.latestRetryTime = e.payload;
|
|
2366
2368
|
}
|
|
2367
2369
|
}
|
|
2368
|
-
}),
|
|
2370
|
+
}), yS = (t) => t.outboxReducer.deletedRequests, bS = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Uh, markForDeletion: SS, markAsDeleted: $h, _setLatestRetryTime: Gh } = Xa.actions, Bh = Xa.reducer, ye = _(
|
|
2369
2371
|
(t) => t.uuid
|
|
2370
|
-
), Zi = ye.getInitialState({}),
|
|
2372
|
+
), Zi = ye.getInitialState({}), Za = T({
|
|
2371
2373
|
name: "projectAttachments",
|
|
2372
2374
|
initialState: Zi,
|
|
2373
2375
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zi)),
|
|
@@ -2384,15 +2386,15 @@ const Ue = _(
|
|
|
2384
2386
|
}
|
|
2385
2387
|
}), {
|
|
2386
2388
|
initializeProjectAttachments: Lh,
|
|
2387
|
-
addProjectAttachment:
|
|
2389
|
+
addProjectAttachment: gS,
|
|
2388
2390
|
addProjectAttachments: Nh,
|
|
2389
2391
|
setProjectAttachment: Hh,
|
|
2390
2392
|
setProjectAttachments: Wh,
|
|
2391
|
-
updateProjectAttachment:
|
|
2393
|
+
updateProjectAttachment: TS,
|
|
2392
2394
|
updateProjectAttachments: Kh,
|
|
2393
2395
|
deleteProjectAttachment: Yh,
|
|
2394
|
-
deleteProjectAttachments:
|
|
2395
|
-
} =
|
|
2396
|
+
deleteProjectAttachments: ec
|
|
2397
|
+
} = Za.actions, Jh = (t) => t.projectAttachmentReducer.instances, Qh = m(
|
|
2396
2398
|
[Jh],
|
|
2397
2399
|
(t) => Object.values(t)
|
|
2398
2400
|
), Xh = (t) => (e) => e.projectAttachmentReducer.instances[t], Zh = y(
|
|
@@ -2400,12 +2402,12 @@ const Ue = _(
|
|
|
2400
2402
|
[Qh, (t, e) => e],
|
|
2401
2403
|
(t, e) => b(t.filter(({ project: s }) => e === s))
|
|
2402
2404
|
)
|
|
2403
|
-
), ep =
|
|
2405
|
+
), ep = Za.reducer, be = _(
|
|
2404
2406
|
(t) => t.uuid
|
|
2405
2407
|
), en = be.getInitialState({
|
|
2406
2408
|
activeProjectFileId: null,
|
|
2407
2409
|
isImportingProjectFile: !1
|
|
2408
|
-
}),
|
|
2410
|
+
}), tc = T({
|
|
2409
2411
|
name: "projectFiles",
|
|
2410
2412
|
initialState: en,
|
|
2411
2413
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, en)),
|
|
@@ -2444,22 +2446,22 @@ const Ue = _(
|
|
|
2444
2446
|
}
|
|
2445
2447
|
}), {
|
|
2446
2448
|
initializeProjectFiles: tp,
|
|
2447
|
-
setProjectFile:
|
|
2448
|
-
setProjectFiles:
|
|
2449
|
-
addProjectFile:
|
|
2449
|
+
setProjectFile: PS,
|
|
2450
|
+
setProjectFiles: _S,
|
|
2451
|
+
addProjectFile: RS,
|
|
2450
2452
|
addProjectFiles: sp,
|
|
2451
2453
|
updateProjectFile: tn,
|
|
2452
|
-
updateProjectFiles:
|
|
2454
|
+
updateProjectFiles: FS,
|
|
2453
2455
|
deleteProjectFile: ip,
|
|
2454
2456
|
deleteProjectFiles: np,
|
|
2455
2457
|
// TODO: move following to /web
|
|
2456
2458
|
setIsImportingProjectFile: ap,
|
|
2457
2459
|
setActiveProjectFileId: cp,
|
|
2458
2460
|
saveActiveProjectFileBounds: rp,
|
|
2459
|
-
resetProjectFileObjectUrls:
|
|
2460
|
-
} =
|
|
2461
|
+
resetProjectFileObjectUrls: OS
|
|
2462
|
+
} = tc.actions, op = (t) => t.projectFileReducer.instances, dp = m([op], (t) => b(Object.values(t).sort((e, s) => e.z_index - s.z_index))), IS = (t) => (e) => e.projectFileReducer.instances[t], vS = (t) => t.projectFileReducer.activeProjectFileId, wS = (t) => t.projectFileReducer.isImportingProjectFile, up = tc.reducer, lp = {
|
|
2461
2463
|
isRehydrated: !1
|
|
2462
|
-
},
|
|
2464
|
+
}, sc = T({
|
|
2463
2465
|
name: "rehydrated",
|
|
2464
2466
|
initialState: lp,
|
|
2465
2467
|
// The `reducers` field lets us define reducers and generate associated actions
|
|
@@ -2468,7 +2470,7 @@ const Ue = _(
|
|
|
2468
2470
|
t.isRehydrated = e.payload;
|
|
2469
2471
|
}
|
|
2470
2472
|
}
|
|
2471
|
-
}), { setRehydrated:
|
|
2473
|
+
}), { setRehydrated: ES } = sc.actions, kS = (t) => t.rehydratedReducer.isRehydrated, hp = sc.reducer, Me = _((t) => t.uuid), sn = Me.getInitialState({}), ic = T({
|
|
2472
2474
|
name: "teams",
|
|
2473
2475
|
initialState: sn,
|
|
2474
2476
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, sn)),
|
|
@@ -2479,9 +2481,9 @@ const Ue = _(
|
|
|
2479
2481
|
updateTeam: Me.updateOne,
|
|
2480
2482
|
deleteTeam: Me.deleteOne
|
|
2481
2483
|
}
|
|
2482
|
-
}), { setTeam: ze, initializeTeams: pp, addTeam: mp, updateTeam: nn, deleteTeam: an } =
|
|
2484
|
+
}), { setTeam: ze, initializeTeams: pp, addTeam: mp, updateTeam: nn, deleteTeam: an } = ic.actions, nc = (t) => t.teamReducer.instances, ac = m([nc], (t) => Object.values(t)), Ve = (t) => (e) => e.teamReducer.instances[t], qS = y(
|
|
2483
2485
|
m(
|
|
2484
|
-
[
|
|
2486
|
+
[nc, (t, e) => e],
|
|
2485
2487
|
(t, e) => {
|
|
2486
2488
|
const s = [];
|
|
2487
2489
|
for (const i of e) {
|
|
@@ -2491,29 +2493,29 @@ const Ue = _(
|
|
|
2491
2493
|
return b(s);
|
|
2492
2494
|
}
|
|
2493
2495
|
)
|
|
2494
|
-
),
|
|
2496
|
+
), jS = y(
|
|
2495
2497
|
m(
|
|
2496
|
-
[
|
|
2498
|
+
[ac, (t, e) => e],
|
|
2497
2499
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2498
2500
|
)
|
|
2499
|
-
),
|
|
2500
|
-
m([
|
|
2501
|
-
), fp =
|
|
2501
|
+
), MS = y(
|
|
2502
|
+
m([ac, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
|
|
2503
|
+
), fp = ic.reducer, Ap = {
|
|
2502
2504
|
version: 0
|
|
2503
2505
|
}, yp = T({
|
|
2504
2506
|
name: "versioning",
|
|
2505
2507
|
initialState: Ap,
|
|
2506
2508
|
reducers: {}
|
|
2507
|
-
}), bp = yp.reducer,
|
|
2509
|
+
}), bp = yp.reducer, cc = {
|
|
2508
2510
|
outboxReducer: Bh,
|
|
2509
2511
|
fileReducer: tu,
|
|
2510
2512
|
authReducer: Rd
|
|
2511
|
-
},
|
|
2512
|
-
...
|
|
2513
|
+
}, CS = dn(cc), Sp = {
|
|
2514
|
+
...cc,
|
|
2513
2515
|
[dt]: bp,
|
|
2514
2516
|
categoryReducer: vd,
|
|
2515
2517
|
assetReducer: wo,
|
|
2516
|
-
assetAttachmentReducer:
|
|
2518
|
+
assetAttachmentReducer: rr,
|
|
2517
2519
|
assetStageCompletionReducer: jo,
|
|
2518
2520
|
assetStageReducer: zo,
|
|
2519
2521
|
assetTypeReducer: Pd,
|
|
@@ -2540,7 +2542,7 @@ const Ue = _(
|
|
|
2540
2542
|
documentsReducer: Ld,
|
|
2541
2543
|
documentAttachmentReducer: zd,
|
|
2542
2544
|
teamReducer: fp,
|
|
2543
|
-
agentsReducer:
|
|
2545
|
+
agentsReducer: Zc,
|
|
2544
2546
|
issueCommentReducer: hl,
|
|
2545
2547
|
issueCommentAttachmentReducer: dl,
|
|
2546
2548
|
issueUpdateReducer: oh,
|
|
@@ -2554,38 +2556,38 @@ const Ue = _(
|
|
|
2554
2556
|
assetTypeFieldValuesReducer: gd,
|
|
2555
2557
|
assetTypeFieldsAttachmentReducer: sd,
|
|
2556
2558
|
assetTypeFieldValuesAttachmentReducer: md,
|
|
2557
|
-
assetProcedureReducer:
|
|
2558
|
-
assetProcedureInstanceReducer:
|
|
2559
|
-
assetProcedureFieldsReducer:
|
|
2560
|
-
assetProcedureFieldValuesReducer:
|
|
2561
|
-
assetProcedureFieldsAttachmentReducer:
|
|
2562
|
-
assetProcedureFieldValuesAttachmentReducer:
|
|
2563
|
-
assetProcedureAttachmentReducer:
|
|
2564
|
-
assetProcedureStepFieldsAttachmentReducer:
|
|
2565
|
-
assetProcedureStepFieldsReducer:
|
|
2566
|
-
assetProcedureStepFieldValuesAttachmentReducer:
|
|
2559
|
+
assetProcedureReducer: Jr,
|
|
2560
|
+
assetProcedureInstanceReducer: Wr,
|
|
2561
|
+
assetProcedureFieldsReducer: Er,
|
|
2562
|
+
assetProcedureFieldValuesReducer: Gr,
|
|
2563
|
+
assetProcedureFieldsAttachmentReducer: Rr,
|
|
2564
|
+
assetProcedureFieldValuesAttachmentReducer: Dr,
|
|
2565
|
+
assetProcedureAttachmentReducer: yr,
|
|
2566
|
+
assetProcedureStepFieldsAttachmentReducer: io,
|
|
2567
|
+
assetProcedureStepFieldsReducer: oo,
|
|
2568
|
+
assetProcedureStepFieldValuesAttachmentReducer: fo,
|
|
2567
2569
|
assetProcedureStepFieldValuesReducer: go,
|
|
2568
2570
|
assetProcedureStepReducer: _o
|
|
2569
|
-
},
|
|
2570
|
-
let
|
|
2571
|
+
}, DS = dn(Sp);
|
|
2572
|
+
let rc;
|
|
2571
2573
|
function gp(t) {
|
|
2572
|
-
|
|
2574
|
+
rc = t;
|
|
2573
2575
|
}
|
|
2574
2576
|
function We() {
|
|
2575
|
-
return
|
|
2577
|
+
return rc;
|
|
2576
2578
|
}
|
|
2577
|
-
let
|
|
2579
|
+
let oc;
|
|
2578
2580
|
function Tp(t) {
|
|
2579
|
-
|
|
2581
|
+
oc = t;
|
|
2580
2582
|
}
|
|
2581
2583
|
function Pp() {
|
|
2582
|
-
return
|
|
2584
|
+
return oc;
|
|
2583
2585
|
}
|
|
2584
|
-
const
|
|
2585
|
-
class
|
|
2586
|
+
const dc = {};
|
|
2587
|
+
class uc {
|
|
2586
2588
|
constructor(e) {
|
|
2587
2589
|
A(this, "client");
|
|
2588
|
-
|
|
2590
|
+
dc[this.constructor.name] = this, this.client = e;
|
|
2589
2591
|
}
|
|
2590
2592
|
async enqueueRequest(e) {
|
|
2591
2593
|
return this.client.enqueueRequest(e, this.host, this.constructor.name);
|
|
@@ -2595,10 +2597,10 @@ class dc {
|
|
|
2595
2597
|
this.client.store.dispatch(e);
|
|
2596
2598
|
}
|
|
2597
2599
|
}
|
|
2598
|
-
const
|
|
2600
|
+
const lc = () => pc.length - 1, hc = (t) => (t[dt] = { version: lc() }, t), cn = () => hc({}), _p = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Rp = (t) => (e) => {
|
|
2599
2601
|
var s;
|
|
2600
|
-
return e === void 0 && (e = {}), ((s = e[dt]) == null ? void 0 : s.version) ===
|
|
2601
|
-
},
|
|
2602
|
+
return e === void 0 && (e = {}), ((s = e[dt]) == null ? void 0 : s.version) === lc() ? e : t(e);
|
|
2603
|
+
}, pc = [hc, cn, cn, _p], Fp = Object.fromEntries(pc.map((t, e) => [e, Rp(t)]));
|
|
2602
2604
|
let ft = null;
|
|
2603
2605
|
function Ce() {
|
|
2604
2606
|
const t = We();
|
|
@@ -2633,13 +2635,13 @@ const Ep = {
|
|
|
2633
2635
|
effect: wp,
|
|
2634
2636
|
// Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
|
|
2635
2637
|
// but redux-offline does not know this.
|
|
2636
|
-
discard:
|
|
2638
|
+
discard: yc,
|
|
2637
2639
|
returnPromises: !0,
|
|
2638
2640
|
persistCallback: Op,
|
|
2639
2641
|
retry: Vp,
|
|
2640
2642
|
// Modify the configuration of the offline store to use localforage
|
|
2641
2643
|
// which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
|
|
2642
|
-
persistOptions: { storage:
|
|
2644
|
+
persistOptions: { storage: Rc },
|
|
2643
2645
|
// TODO: custom enqueue implementation to take care of intelligently cancelling "create/delete same issue",
|
|
2644
2646
|
// and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
|
|
2645
2647
|
// that same issue"
|
|
@@ -2650,7 +2652,7 @@ const Ep = {
|
|
|
2650
2652
|
// Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
|
|
2651
2653
|
peek: (...t) => zp(...t)
|
|
2652
2654
|
}
|
|
2653
|
-
}, kp =
|
|
2655
|
+
}, kp = Fc(Fp, dt), xS = Tc(_c(Ep), kp);
|
|
2654
2656
|
function qp(t) {
|
|
2655
2657
|
function e(s) {
|
|
2656
2658
|
return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((n) => n in s);
|
|
@@ -2662,8 +2664,8 @@ function qp(t) {
|
|
|
2662
2664
|
if (s.response && e(s.response.response)) return s.response.response;
|
|
2663
2665
|
}
|
|
2664
2666
|
}
|
|
2665
|
-
async function
|
|
2666
|
-
const s =
|
|
2667
|
+
async function mc(t, e) {
|
|
2668
|
+
const s = dc[t.meta.offline.effect.serviceName];
|
|
2667
2669
|
if (!s)
|
|
2668
2670
|
throw new Error(`Service ${t.meta.offline.effect.serviceName} not found`);
|
|
2669
2671
|
const i = s instanceof F;
|
|
@@ -2693,7 +2695,7 @@ async function pc(t, e) {
|
|
|
2693
2695
|
return w.set("x-amz-checksum-sha1", xe).field({ ...o, ...M.fields }).attach("file", O);
|
|
2694
2696
|
}
|
|
2695
2697
|
return w.send(o);
|
|
2696
|
-
},
|
|
2698
|
+
}, bc = {
|
|
2697
2699
|
[u.GET]: () => S ? qe.get(P.toString()).responseType("blob") : qe.get(P.toString()),
|
|
2698
2700
|
[u.POST]: () => {
|
|
2699
2701
|
const w = qe.post(P.toString());
|
|
@@ -2712,7 +2714,7 @@ async function pc(t, e) {
|
|
|
2712
2714
|
return v(w);
|
|
2713
2715
|
}
|
|
2714
2716
|
}[r];
|
|
2715
|
-
let Pe =
|
|
2717
|
+
let Pe = bc();
|
|
2716
2718
|
if (f && i) {
|
|
2717
2719
|
const w = s.auth.getAuthHeader();
|
|
2718
2720
|
Pe = Pe.set("Authorization", w);
|
|
@@ -2724,7 +2726,7 @@ async function pc(t, e) {
|
|
|
2724
2726
|
const M = qp(w), xe = M == null ? void 0 : M.status;
|
|
2725
2727
|
if (i && xe === 401)
|
|
2726
2728
|
return await s.auth.handleUnauthorized(Pe, M), Pe.query(d);
|
|
2727
|
-
throw new j({ response: M, innerError: w, discard:
|
|
2729
|
+
throw new j({ response: M, innerError: w, discard: Ac.includes(xe) });
|
|
2728
2730
|
}
|
|
2729
2731
|
}
|
|
2730
2732
|
class jp {
|
|
@@ -2743,7 +2745,7 @@ class jp {
|
|
|
2743
2745
|
return this._all;
|
|
2744
2746
|
}
|
|
2745
2747
|
}
|
|
2746
|
-
class
|
|
2748
|
+
class fc {
|
|
2747
2749
|
constructor() {
|
|
2748
2750
|
A(this, "next");
|
|
2749
2751
|
this.next = null;
|
|
@@ -2758,16 +2760,16 @@ class mc {
|
|
|
2758
2760
|
if (console.debug("Middleware finished. Performing request:", e), !We()) throw new Error("Client store not set");
|
|
2759
2761
|
const i = Pp();
|
|
2760
2762
|
if (!i) throw new Error("Client SDK not set");
|
|
2761
|
-
return
|
|
2763
|
+
return mc(e, i);
|
|
2762
2764
|
}
|
|
2763
2765
|
}
|
|
2764
2766
|
}
|
|
2765
|
-
class Mp extends
|
|
2767
|
+
class Mp extends fc {
|
|
2766
2768
|
async run(e) {
|
|
2767
2769
|
return super.run(e);
|
|
2768
2770
|
}
|
|
2769
2771
|
}
|
|
2770
|
-
class Cp extends
|
|
2772
|
+
class Cp extends fc {
|
|
2771
2773
|
async run(e) {
|
|
2772
2774
|
return super.run(e);
|
|
2773
2775
|
}
|
|
@@ -2777,8 +2779,8 @@ function xp(t) {
|
|
|
2777
2779
|
var e;
|
|
2778
2780
|
return (e = Dp[0]) == null ? void 0 : e.run(t);
|
|
2779
2781
|
}
|
|
2780
|
-
const
|
|
2781
|
-
function
|
|
2782
|
+
const Ac = [400, 409, 403, 404, 405, 500];
|
|
2783
|
+
function yc(t, e, s = 0) {
|
|
2782
2784
|
var r;
|
|
2783
2785
|
if (console.debug(
|
|
2784
2786
|
"Considering discarding request due to error:",
|
|
@@ -2812,7 +2814,7 @@ Retries:`,
|
|
|
2812
2814
|
return console.debug("Discarding request due to deletion:", e), o();
|
|
2813
2815
|
if (t instanceof j) {
|
|
2814
2816
|
const d = t.status || ((r = t.response) == null ? void 0 : r.status);
|
|
2815
|
-
if (d || console.warn("Error has no status code:", t), d !== void 0 &&
|
|
2817
|
+
if (d || console.warn("Error has no status code:", t), d !== void 0 && Ac.includes(d)) {
|
|
2816
2818
|
console.warn("Discarding request due to error:", t, `
|
|
2817
2819
|
Action:`, e);
|
|
2818
2820
|
const h = Ce();
|
|
@@ -2832,7 +2834,7 @@ function zp(t, e, s) {
|
|
|
2832
2834
|
return (i = Ce()) == null ? void 0 : i.peek();
|
|
2833
2835
|
}
|
|
2834
2836
|
function Vp(t, e) {
|
|
2835
|
-
return We().dispatch(Gh((/* @__PURE__ */ new Date()).getTime())),
|
|
2837
|
+
return We().dispatch(Gh((/* @__PURE__ */ new Date()).getTime())), Dc;
|
|
2836
2838
|
}
|
|
2837
2839
|
const He = "An unknown error occurred", Up = 500, rn = ["non_field_errors", "detail"];
|
|
2838
2840
|
function $p(t, e) {
|
|
@@ -2869,19 +2871,19 @@ class j extends Error {
|
|
|
2869
2871
|
this.message = s.message ?? $p(i, n) ?? He, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, s.discard = s.discard ?? !1, this.options = s;
|
|
2870
2872
|
}
|
|
2871
2873
|
}
|
|
2872
|
-
class Gp extends
|
|
2874
|
+
class Gp extends uc {
|
|
2873
2875
|
constructor(e) {
|
|
2874
2876
|
super(e);
|
|
2875
2877
|
}
|
|
2876
2878
|
}
|
|
2877
|
-
class F extends
|
|
2879
|
+
class F extends uc {
|
|
2878
2880
|
constructor(s, i) {
|
|
2879
2881
|
super(s);
|
|
2880
2882
|
A(this, "auth");
|
|
2881
2883
|
this.auth = i;
|
|
2882
2884
|
}
|
|
2883
2885
|
}
|
|
2884
|
-
class
|
|
2886
|
+
class zS extends F {
|
|
2885
2887
|
async startConversation(e, s) {
|
|
2886
2888
|
return this.enqueueRequest({
|
|
2887
2889
|
description: "Start agent conversation",
|
|
@@ -2893,7 +2895,7 @@ class xS extends F {
|
|
|
2893
2895
|
},
|
|
2894
2896
|
blockers: ["prompt"],
|
|
2895
2897
|
blocks: ["prompt"]
|
|
2896
|
-
}).then((i) => (this.dispatch(
|
|
2898
|
+
}).then((i) => (this.dispatch(Jc(i)), i));
|
|
2897
2899
|
}
|
|
2898
2900
|
async continueConversation(e, s, i) {
|
|
2899
2901
|
return this.enqueueRequest({
|
|
@@ -2908,7 +2910,7 @@ class xS extends F {
|
|
|
2908
2910
|
blocks: ["prompt"],
|
|
2909
2911
|
queryParams: { conversation_id: s }
|
|
2910
2912
|
}).then((n) => {
|
|
2911
|
-
this.dispatch(
|
|
2913
|
+
this.dispatch(Xc(n));
|
|
2912
2914
|
});
|
|
2913
2915
|
}
|
|
2914
2916
|
async fetchDetails(e) {
|
|
@@ -2919,7 +2921,7 @@ class xS extends F {
|
|
|
2919
2921
|
blockers: ["conversation"],
|
|
2920
2922
|
blocks: ["conversation"]
|
|
2921
2923
|
}).then((s) => {
|
|
2922
|
-
this.dispatch(
|
|
2924
|
+
this.dispatch(Qc(s));
|
|
2923
2925
|
});
|
|
2924
2926
|
}
|
|
2925
2927
|
async rate(e, s) {
|
|
@@ -2940,7 +2942,7 @@ class xS extends F {
|
|
|
2940
2942
|
blockers: ["agent-conversations"],
|
|
2941
2943
|
blocks: ["agent-conversations"]
|
|
2942
2944
|
});
|
|
2943
|
-
this.dispatch(
|
|
2945
|
+
this.dispatch(Yc(s));
|
|
2944
2946
|
}
|
|
2945
2947
|
}
|
|
2946
2948
|
class k extends F {
|
|
@@ -3066,18 +3068,18 @@ class Te extends k {
|
|
|
3066
3068
|
}), n;
|
|
3067
3069
|
}
|
|
3068
3070
|
}
|
|
3069
|
-
class
|
|
3071
|
+
class VS extends Te {
|
|
3070
3072
|
constructor() {
|
|
3071
3073
|
super(...arguments);
|
|
3072
3074
|
A(this, "name", "Asset Attachment");
|
|
3073
3075
|
A(this, "url", "/asset-attachments");
|
|
3074
3076
|
A(this, "initializeAttachments", Yt);
|
|
3075
3077
|
A(this, "addAttachments", bn);
|
|
3076
|
-
A(this, "updateAttachments",
|
|
3078
|
+
A(this, "updateAttachments", tr);
|
|
3077
3079
|
A(this, "removeAttachments", Sn);
|
|
3078
|
-
A(this, "removeAttachment",
|
|
3079
|
-
A(this, "setAttachment",
|
|
3080
|
-
A(this, "selectAttachment",
|
|
3080
|
+
A(this, "removeAttachment", sr);
|
|
3081
|
+
A(this, "setAttachment", er);
|
|
3082
|
+
A(this, "selectAttachment", ar);
|
|
3081
3083
|
}
|
|
3082
3084
|
buildOfflineAttachment(s) {
|
|
3083
3085
|
return R({
|
|
@@ -3117,17 +3119,17 @@ class zS extends Te {
|
|
|
3117
3119
|
this.dispatch(Yt(i));
|
|
3118
3120
|
}
|
|
3119
3121
|
}
|
|
3120
|
-
class
|
|
3122
|
+
class US extends Te {
|
|
3121
3123
|
constructor() {
|
|
3122
3124
|
super(...arguments);
|
|
3123
3125
|
A(this, "name", "Asset Procedure Attachment");
|
|
3124
3126
|
A(this, "url", "/asset-procedure-attachments");
|
|
3125
|
-
A(this, "addAttachments",
|
|
3126
|
-
A(this, "updateAttachments",
|
|
3127
|
-
A(this, "removeAttachments",
|
|
3128
|
-
A(this, "removeAttachment",
|
|
3129
|
-
A(this, "setAttachment",
|
|
3130
|
-
A(this, "selectAttachment",
|
|
3127
|
+
A(this, "addAttachments", dr);
|
|
3128
|
+
A(this, "updateAttachments", lr);
|
|
3129
|
+
A(this, "removeAttachments", pr);
|
|
3130
|
+
A(this, "removeAttachment", hr);
|
|
3131
|
+
A(this, "setAttachment", ur);
|
|
3132
|
+
A(this, "selectAttachment", Ar);
|
|
3131
3133
|
}
|
|
3132
3134
|
buildOfflineAttachment(s) {
|
|
3133
3135
|
return R({
|
|
@@ -3164,10 +3166,10 @@ class VS extends Te {
|
|
|
3164
3166
|
blocks: [],
|
|
3165
3167
|
blockers: []
|
|
3166
3168
|
});
|
|
3167
|
-
this.dispatch(
|
|
3169
|
+
this.dispatch(or(i));
|
|
3168
3170
|
}
|
|
3169
3171
|
}
|
|
3170
|
-
class
|
|
3172
|
+
class $S extends k {
|
|
3171
3173
|
async bulkAdd(e) {
|
|
3172
3174
|
var l;
|
|
3173
3175
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -3195,7 +3197,7 @@ class US extends k {
|
|
|
3195
3197
|
};
|
|
3196
3198
|
c.push(g);
|
|
3197
3199
|
}
|
|
3198
|
-
this.dispatch(
|
|
3200
|
+
this.dispatch(Sr(a));
|
|
3199
3201
|
const o = this.enqueueRequest({
|
|
3200
3202
|
description: "Add asset procedure fields attachments",
|
|
3201
3203
|
method: u.POST,
|
|
@@ -3209,10 +3211,10 @@ class US extends k {
|
|
|
3209
3211
|
blocks: a.map((r) => r.uuid)
|
|
3210
3212
|
});
|
|
3211
3213
|
return o.then((r) => {
|
|
3212
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3214
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(gr(r.attachments));
|
|
3213
3215
|
}).catch(() => {
|
|
3214
3216
|
this.dispatch(
|
|
3215
|
-
|
|
3217
|
+
Tr(
|
|
3216
3218
|
a.map((r) => r.uuid)
|
|
3217
3219
|
)
|
|
3218
3220
|
);
|
|
@@ -3229,10 +3231,10 @@ class US extends k {
|
|
|
3229
3231
|
blockers: [],
|
|
3230
3232
|
blocks: []
|
|
3231
3233
|
});
|
|
3232
|
-
this.dispatch(
|
|
3234
|
+
this.dispatch(br(s));
|
|
3233
3235
|
}
|
|
3234
3236
|
}
|
|
3235
|
-
class
|
|
3237
|
+
class GS extends F {
|
|
3236
3238
|
add(e) {
|
|
3237
3239
|
var o;
|
|
3238
3240
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -3240,7 +3242,7 @@ class $S extends F {
|
|
|
3240
3242
|
created_by: i,
|
|
3241
3243
|
submitted_at: n
|
|
3242
3244
|
});
|
|
3243
|
-
this.dispatch(
|
|
3245
|
+
this.dispatch(Or(a));
|
|
3244
3246
|
const c = this.enqueueRequest({
|
|
3245
3247
|
description: "Add Asset Procedure Fields",
|
|
3246
3248
|
method: u.POST,
|
|
@@ -3250,9 +3252,9 @@ class $S extends F {
|
|
|
3250
3252
|
blocks: [a.uuid]
|
|
3251
3253
|
});
|
|
3252
3254
|
return c.then((l) => {
|
|
3253
|
-
this.dispatch(
|
|
3255
|
+
this.dispatch(Ir(l));
|
|
3254
3256
|
}).catch((l) => {
|
|
3255
|
-
throw this.dispatch(
|
|
3257
|
+
throw this.dispatch(vr(a.uuid)), l;
|
|
3256
3258
|
}), [a, c];
|
|
3257
3259
|
}
|
|
3258
3260
|
async refreshStore(e) {
|
|
@@ -3266,7 +3268,7 @@ class $S extends F {
|
|
|
3266
3268
|
blockers: [],
|
|
3267
3269
|
blocks: []
|
|
3268
3270
|
});
|
|
3269
|
-
this.dispatch(
|
|
3271
|
+
this.dispatch(Fr(s));
|
|
3270
3272
|
}
|
|
3271
3273
|
}
|
|
3272
3274
|
function Ee(t, e) {
|
|
@@ -3277,7 +3279,7 @@ function Ee(t, e) {
|
|
|
3277
3279
|
s.push(t.slice(i, i += e));
|
|
3278
3280
|
return s;
|
|
3279
3281
|
}
|
|
3280
|
-
class
|
|
3282
|
+
class BS extends k {
|
|
3281
3283
|
async bulkAdd(e, s) {
|
|
3282
3284
|
var r;
|
|
3283
3285
|
const i = (/* @__PURE__ */ new Date()).toISOString(), n = (r = this.client.store.getState().userReducer.currentUser) == null ? void 0 : r.id, a = Ee(e, s ?? e.length), c = [], o = [];
|
|
@@ -3327,7 +3329,7 @@ class GS extends k {
|
|
|
3327
3329
|
return Promise.all(l).then((d) => {
|
|
3328
3330
|
for (const p of d) this.processPresignedUrls(p.presigned_urls);
|
|
3329
3331
|
const h = d.flatMap((p) => p.attachments);
|
|
3330
|
-
this.dispatch(
|
|
3332
|
+
this.dispatch(qr(h));
|
|
3331
3333
|
}).catch((d) => {
|
|
3332
3334
|
throw this.dispatch(
|
|
3333
3335
|
Tt(
|
|
@@ -3340,7 +3342,7 @@ class GS extends k {
|
|
|
3340
3342
|
];
|
|
3341
3343
|
}
|
|
3342
3344
|
async bulkDelete(e) {
|
|
3343
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3345
|
+
const { store: s } = this.client, i = s.getState(), n = Mr(e)(i);
|
|
3344
3346
|
this.dispatch(Tt(e));
|
|
3345
3347
|
try {
|
|
3346
3348
|
await this.enqueueRequest({
|
|
@@ -3366,10 +3368,10 @@ class GS extends k {
|
|
|
3366
3368
|
blockers: [],
|
|
3367
3369
|
blocks: []
|
|
3368
3370
|
});
|
|
3369
|
-
this.dispatch(
|
|
3371
|
+
this.dispatch(kr(s));
|
|
3370
3372
|
}
|
|
3371
3373
|
}
|
|
3372
|
-
class
|
|
3374
|
+
class LS extends F {
|
|
3373
3375
|
add(e) {
|
|
3374
3376
|
var c;
|
|
3375
3377
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -3415,7 +3417,7 @@ class BS extends F {
|
|
|
3415
3417
|
field_values: d
|
|
3416
3418
|
});
|
|
3417
3419
|
}
|
|
3418
|
-
this.dispatch(
|
|
3420
|
+
this.dispatch(zr(n));
|
|
3419
3421
|
const o = [];
|
|
3420
3422
|
for (const r of c) {
|
|
3421
3423
|
const d = r.field_values.map((g) => g.asset), h = r.field_values.map((g) => g.fields_revision), p = r.field_values.map((g) => g.asset_procedure_instance), f = r.field_values.map((g) => g.uuid), S = this.enqueueRequest({
|
|
@@ -3429,10 +3431,10 @@ class BS extends F {
|
|
|
3429
3431
|
o.push(S);
|
|
3430
3432
|
}
|
|
3431
3433
|
return Promise.all(o).then((r) => {
|
|
3432
|
-
this.dispatch(
|
|
3434
|
+
this.dispatch(Vr(r.flat()));
|
|
3433
3435
|
}).catch(() => {
|
|
3434
3436
|
this.dispatch(
|
|
3435
|
-
|
|
3437
|
+
Ur(n.map((r) => r.uuid))
|
|
3436
3438
|
);
|
|
3437
3439
|
}), [n, o];
|
|
3438
3440
|
}
|
|
@@ -3467,7 +3469,7 @@ class BS extends F {
|
|
|
3467
3469
|
const { store: s } = this.client, i = s.getState(), n = is(e)(i);
|
|
3468
3470
|
if (!n)
|
|
3469
3471
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3470
|
-
const a =
|
|
3472
|
+
const a = Cr(e)(i);
|
|
3471
3473
|
this.dispatch(ss(e)), this.dispatch(
|
|
3472
3474
|
Tt(a.map((c) => c.uuid))
|
|
3473
3475
|
);
|
|
@@ -3494,10 +3496,10 @@ class BS extends F {
|
|
|
3494
3496
|
blockers: [],
|
|
3495
3497
|
blocks: []
|
|
3496
3498
|
});
|
|
3497
|
-
this.dispatch(
|
|
3499
|
+
this.dispatch(xr(s));
|
|
3498
3500
|
}
|
|
3499
3501
|
}
|
|
3500
|
-
class
|
|
3502
|
+
class NS extends F {
|
|
3501
3503
|
add(e) {
|
|
3502
3504
|
var o;
|
|
3503
3505
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -3568,10 +3570,10 @@ class LS extends F {
|
|
|
3568
3570
|
blockers: [],
|
|
3569
3571
|
blocks: []
|
|
3570
3572
|
});
|
|
3571
|
-
this.dispatch(
|
|
3573
|
+
this.dispatch(Br(s));
|
|
3572
3574
|
}
|
|
3573
3575
|
}
|
|
3574
|
-
class
|
|
3576
|
+
class HS extends F {
|
|
3575
3577
|
add(e) {
|
|
3576
3578
|
var o;
|
|
3577
3579
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -3621,15 +3623,15 @@ class NS extends F {
|
|
|
3621
3623
|
const { store: s } = this.client, i = s.getState(), n = ls(e)(i);
|
|
3622
3624
|
if (!n)
|
|
3623
3625
|
throw new Error(`Expected asset procedure with uuid ${e} to exist`);
|
|
3624
|
-
const a =
|
|
3625
|
-
return this.dispatch(us(e)), this.dispatch(
|
|
3626
|
+
const a = Hr(e)(i);
|
|
3627
|
+
return this.dispatch(us(e)), this.dispatch(Nr(a.map((c) => c.uuid))), this.enqueueRequest({
|
|
3626
3628
|
description: "Delete asset procedure",
|
|
3627
3629
|
method: u.DELETE,
|
|
3628
3630
|
url: `/asset-procedures/${e}/`,
|
|
3629
3631
|
blockers: [e],
|
|
3630
3632
|
blocks: []
|
|
3631
3633
|
}).catch((c) => {
|
|
3632
|
-
throw this.dispatch(ds(n)), this.dispatch(
|
|
3634
|
+
throw this.dispatch(ds(n)), this.dispatch(Lr(a)), c;
|
|
3633
3635
|
});
|
|
3634
3636
|
}
|
|
3635
3637
|
async refreshStore(e) {
|
|
@@ -3643,10 +3645,10 @@ class NS extends F {
|
|
|
3643
3645
|
blockers: [],
|
|
3644
3646
|
blocks: []
|
|
3645
3647
|
});
|
|
3646
|
-
this.dispatch(
|
|
3648
|
+
this.dispatch(Kr(s));
|
|
3647
3649
|
}
|
|
3648
3650
|
}
|
|
3649
|
-
class
|
|
3651
|
+
class WS extends k {
|
|
3650
3652
|
async bulkAdd(e) {
|
|
3651
3653
|
var l;
|
|
3652
3654
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -3674,7 +3676,7 @@ class HS extends k {
|
|
|
3674
3676
|
};
|
|
3675
3677
|
c.push(g);
|
|
3676
3678
|
}
|
|
3677
|
-
this.dispatch(
|
|
3679
|
+
this.dispatch(Xr(a));
|
|
3678
3680
|
const o = this.enqueueRequest({
|
|
3679
3681
|
description: "Add asset procedure step fields attachments",
|
|
3680
3682
|
method: u.POST,
|
|
@@ -3688,10 +3690,10 @@ class HS extends k {
|
|
|
3688
3690
|
blocks: a.map((r) => r.uuid)
|
|
3689
3691
|
});
|
|
3690
3692
|
return o.then((r) => {
|
|
3691
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3693
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(Zr(r.attachments));
|
|
3692
3694
|
}).catch(() => {
|
|
3693
3695
|
this.dispatch(
|
|
3694
|
-
|
|
3696
|
+
eo(
|
|
3695
3697
|
a.map((r) => r.uuid)
|
|
3696
3698
|
)
|
|
3697
3699
|
);
|
|
@@ -3708,10 +3710,10 @@ class HS extends k {
|
|
|
3708
3710
|
blockers: [],
|
|
3709
3711
|
blocks: []
|
|
3710
3712
|
});
|
|
3711
|
-
this.dispatch(
|
|
3713
|
+
this.dispatch(Qr(s));
|
|
3712
3714
|
}
|
|
3713
3715
|
}
|
|
3714
|
-
class
|
|
3716
|
+
class KS extends F {
|
|
3715
3717
|
add(e) {
|
|
3716
3718
|
var o;
|
|
3717
3719
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -3719,7 +3721,7 @@ class WS extends F {
|
|
|
3719
3721
|
created_by: i,
|
|
3720
3722
|
submitted_at: n
|
|
3721
3723
|
});
|
|
3722
|
-
this.dispatch(
|
|
3724
|
+
this.dispatch(ao(a));
|
|
3723
3725
|
const c = this.enqueueRequest({
|
|
3724
3726
|
description: "Add Asset Procedure Step Fields",
|
|
3725
3727
|
method: u.POST,
|
|
@@ -3729,9 +3731,9 @@ class WS extends F {
|
|
|
3729
3731
|
blocks: [a.uuid]
|
|
3730
3732
|
});
|
|
3731
3733
|
return c.then((l) => {
|
|
3732
|
-
this.dispatch(
|
|
3734
|
+
this.dispatch(co(l));
|
|
3733
3735
|
}).catch((l) => {
|
|
3734
|
-
throw this.dispatch(
|
|
3736
|
+
throw this.dispatch(ro(a.uuid)), l;
|
|
3735
3737
|
}), [a, c];
|
|
3736
3738
|
}
|
|
3737
3739
|
async refreshStore(e) {
|
|
@@ -3745,10 +3747,10 @@ class WS extends F {
|
|
|
3745
3747
|
blockers: [],
|
|
3746
3748
|
blocks: []
|
|
3747
3749
|
});
|
|
3748
|
-
this.dispatch(
|
|
3750
|
+
this.dispatch(no(s));
|
|
3749
3751
|
}
|
|
3750
3752
|
}
|
|
3751
|
-
class
|
|
3753
|
+
class YS extends k {
|
|
3752
3754
|
async bulkAdd(e, s) {
|
|
3753
3755
|
var r;
|
|
3754
3756
|
const i = (/* @__PURE__ */ new Date()).toISOString(), n = (r = this.client.store.getState().userReducer.currentUser) == null ? void 0 : r.id, a = Ee(e, s ?? e.length), c = [], o = [];
|
|
@@ -3796,7 +3798,7 @@ class KS extends k {
|
|
|
3796
3798
|
return Promise.all(l).then((d) => {
|
|
3797
3799
|
for (const p of d) this.processPresignedUrls(p.presigned_urls);
|
|
3798
3800
|
const h = d.flatMap((p) => p.attachments);
|
|
3799
|
-
this.dispatch(
|
|
3801
|
+
this.dispatch(lo(h));
|
|
3800
3802
|
}).catch((d) => {
|
|
3801
3803
|
throw this.dispatch(
|
|
3802
3804
|
_t(
|
|
@@ -3809,7 +3811,7 @@ class KS extends k {
|
|
|
3809
3811
|
];
|
|
3810
3812
|
}
|
|
3811
3813
|
async bulkDelete(e) {
|
|
3812
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3814
|
+
const { store: s } = this.client, i = s.getState(), n = po(e)(i);
|
|
3813
3815
|
this.dispatch(_t(e));
|
|
3814
3816
|
try {
|
|
3815
3817
|
await this.enqueueRequest({
|
|
@@ -3835,10 +3837,10 @@ class KS extends k {
|
|
|
3835
3837
|
blockers: [],
|
|
3836
3838
|
blocks: []
|
|
3837
3839
|
});
|
|
3838
|
-
this.dispatch(
|
|
3840
|
+
this.dispatch(uo(s));
|
|
3839
3841
|
}
|
|
3840
3842
|
}
|
|
3841
|
-
class
|
|
3843
|
+
class JS extends F {
|
|
3842
3844
|
add(e) {
|
|
3843
3845
|
var c;
|
|
3844
3846
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -3884,7 +3886,7 @@ class YS extends F {
|
|
|
3884
3886
|
field_values: d
|
|
3885
3887
|
});
|
|
3886
3888
|
}
|
|
3887
|
-
this.dispatch(
|
|
3889
|
+
this.dispatch(yo(n));
|
|
3888
3890
|
const o = [];
|
|
3889
3891
|
for (const r of c) {
|
|
3890
3892
|
const d = r.field_values.map((g) => g.asset), h = r.field_values.map((g) => g.fields_revision), p = r.field_values.map((g) => g.asset_procedure_instance), f = r.field_values.map((g) => g.uuid), S = this.enqueueRequest({
|
|
@@ -3898,10 +3900,10 @@ class YS extends F {
|
|
|
3898
3900
|
o.push(S);
|
|
3899
3901
|
}
|
|
3900
3902
|
return Promise.all(o).then((r) => {
|
|
3901
|
-
this.dispatch(
|
|
3903
|
+
this.dispatch(bo(r.flat()));
|
|
3902
3904
|
}).catch(() => {
|
|
3903
3905
|
this.dispatch(
|
|
3904
|
-
|
|
3906
|
+
So(
|
|
3905
3907
|
n.map((r) => r.uuid)
|
|
3906
3908
|
)
|
|
3907
3909
|
);
|
|
@@ -3938,7 +3940,7 @@ class YS extends F {
|
|
|
3938
3940
|
const { store: s } = this.client, i = s.getState(), n = bs(e)(i);
|
|
3939
3941
|
if (!n)
|
|
3940
3942
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3941
|
-
const a =
|
|
3943
|
+
const a = mo(e)(i);
|
|
3942
3944
|
this.dispatch(ys(e)), this.dispatch(
|
|
3943
3945
|
_t(a.map((c) => c.uuid))
|
|
3944
3946
|
);
|
|
@@ -3965,10 +3967,10 @@ class YS extends F {
|
|
|
3965
3967
|
blockers: [],
|
|
3966
3968
|
blocks: []
|
|
3967
3969
|
});
|
|
3968
|
-
this.dispatch(
|
|
3970
|
+
this.dispatch(Ao(s));
|
|
3969
3971
|
}
|
|
3970
3972
|
}
|
|
3971
|
-
class
|
|
3973
|
+
class QS extends F {
|
|
3972
3974
|
bulkAdd(e, s) {
|
|
3973
3975
|
var l;
|
|
3974
3976
|
const i = (/* @__PURE__ */ new Date()).toISOString(), n = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = e.map((r) => R(r)), c = a.map((r) => ({ ...r, asset_procedure: s, created_by: n, submitted_at: i }));
|
|
@@ -4064,7 +4066,7 @@ class JS extends F {
|
|
|
4064
4066
|
this.dispatch(To(s));
|
|
4065
4067
|
}
|
|
4066
4068
|
}
|
|
4067
|
-
class
|
|
4069
|
+
class XS extends F {
|
|
4068
4070
|
// Basic CRUD functions
|
|
4069
4071
|
add(e) {
|
|
4070
4072
|
var o;
|
|
@@ -4119,7 +4121,7 @@ class QS extends F {
|
|
|
4119
4121
|
async remove(e) {
|
|
4120
4122
|
const { store: s } = this.client, i = s.getState(), n = Is(e)(i);
|
|
4121
4123
|
if (!n) throw new Error(`No asset with uuid ${e} found in the store`);
|
|
4122
|
-
const a =
|
|
4124
|
+
const a = cr(e)(i), c = wu(e)(i), o = Nu(e)(i);
|
|
4123
4125
|
if (this.dispatch(Os(e)), a.length > 0) {
|
|
4124
4126
|
const l = a.map(({ uuid: r }) => r);
|
|
4125
4127
|
this.dispatch(Sn(l));
|
|
@@ -4130,7 +4132,7 @@ class QS extends F {
|
|
|
4130
4132
|
}
|
|
4131
4133
|
if (o.length > 0) {
|
|
4132
4134
|
const l = o.map(({ uuid: r }) => r);
|
|
4133
|
-
this.dispatch(
|
|
4135
|
+
this.dispatch(Oa(l));
|
|
4134
4136
|
}
|
|
4135
4137
|
return this.enqueueRequest({
|
|
4136
4138
|
description: "Delete asset",
|
|
@@ -4139,7 +4141,7 @@ class QS extends F {
|
|
|
4139
4141
|
blockers: [e],
|
|
4140
4142
|
blocks: []
|
|
4141
4143
|
}).catch((l) => {
|
|
4142
|
-
throw this.dispatch(Fs(n)), this.dispatch(bn(a)), this.dispatch(xt(c)), this.dispatch(
|
|
4144
|
+
throw this.dispatch(Fs(n)), this.dispatch(bn(a)), this.dispatch(xt(c)), this.dispatch(Fa(o)), l;
|
|
4143
4145
|
});
|
|
4144
4146
|
}
|
|
4145
4147
|
bulkAdd(e, s, i, n) {
|
|
@@ -4174,7 +4176,7 @@ class QS extends F {
|
|
|
4174
4176
|
}
|
|
4175
4177
|
return Promise.all(l).then((d) => {
|
|
4176
4178
|
const h = d.flat();
|
|
4177
|
-
this.dispatch(
|
|
4179
|
+
this.dispatch(Bn(h));
|
|
4178
4180
|
}), l;
|
|
4179
4181
|
}
|
|
4180
4182
|
async refreshStore(e) {
|
|
@@ -4191,7 +4193,7 @@ class QS extends F {
|
|
|
4191
4193
|
this.dispatch(Oo(s));
|
|
4192
4194
|
}
|
|
4193
4195
|
}
|
|
4194
|
-
class
|
|
4196
|
+
class ZS extends F {
|
|
4195
4197
|
add(e) {
|
|
4196
4198
|
var o;
|
|
4197
4199
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -4290,7 +4292,7 @@ class XS extends F {
|
|
|
4290
4292
|
this.dispatch(Eo(s));
|
|
4291
4293
|
}
|
|
4292
4294
|
}
|
|
4293
|
-
class
|
|
4295
|
+
class eg extends F {
|
|
4294
4296
|
bulkAdd(e, s) {
|
|
4295
4297
|
var l;
|
|
4296
4298
|
const i = (/* @__PURE__ */ new Date()).toISOString(), n = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = e.map((r) => R(r)), c = a.map((r) => ({ ...r, asset_procedure: s, created_by: n, submitted_at: i }));
|
|
@@ -4386,14 +4388,14 @@ class ZS extends F {
|
|
|
4386
4388
|
this.dispatch(Do(s));
|
|
4387
4389
|
}
|
|
4388
4390
|
}
|
|
4389
|
-
class
|
|
4391
|
+
class tg extends Te {
|
|
4390
4392
|
constructor() {
|
|
4391
4393
|
super(...arguments);
|
|
4392
4394
|
A(this, "name", "Asset Type Attachment");
|
|
4393
4395
|
A(this, "url", "/asset-type-attachments");
|
|
4394
|
-
A(this, "addAttachments",
|
|
4396
|
+
A(this, "addAttachments", Jn);
|
|
4395
4397
|
A(this, "updateAttachments", Bo);
|
|
4396
|
-
A(this, "removeAttachments",
|
|
4398
|
+
A(this, "removeAttachments", Qn);
|
|
4397
4399
|
A(this, "removeAttachment", Lo);
|
|
4398
4400
|
A(this, "setAttachment", Go);
|
|
4399
4401
|
A(this, "selectAttachment", Wo);
|
|
@@ -4436,7 +4438,7 @@ class eg extends Te {
|
|
|
4436
4438
|
this.dispatch($o(i));
|
|
4437
4439
|
}
|
|
4438
4440
|
}
|
|
4439
|
-
class
|
|
4441
|
+
class sg extends k {
|
|
4440
4442
|
async bulkAdd(e) {
|
|
4441
4443
|
var l;
|
|
4442
4444
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -4501,7 +4503,7 @@ class tg extends k {
|
|
|
4501
4503
|
this.dispatch(Jo(s));
|
|
4502
4504
|
}
|
|
4503
4505
|
}
|
|
4504
|
-
class
|
|
4506
|
+
class ig extends F {
|
|
4505
4507
|
add(e) {
|
|
4506
4508
|
var o;
|
|
4507
4509
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -4538,7 +4540,7 @@ class sg extends F {
|
|
|
4538
4540
|
this.dispatch(id(s));
|
|
4539
4541
|
}
|
|
4540
4542
|
}
|
|
4541
|
-
class
|
|
4543
|
+
class ng extends k {
|
|
4542
4544
|
async bulkAdd(e, s) {
|
|
4543
4545
|
var r;
|
|
4544
4546
|
const i = (/* @__PURE__ */ new Date()).toISOString(), n = (r = this.client.store.getState().userReducer.currentUser) == null ? void 0 : r.id, a = Ee(e, s ?? e.length), c = [], o = [];
|
|
@@ -4628,7 +4630,7 @@ class ig extends k {
|
|
|
4628
4630
|
this.dispatch(dd(s));
|
|
4629
4631
|
}
|
|
4630
4632
|
}
|
|
4631
|
-
class
|
|
4633
|
+
class ag extends F {
|
|
4632
4634
|
add(e) {
|
|
4633
4635
|
var c;
|
|
4634
4636
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -4751,7 +4753,7 @@ class ng extends F {
|
|
|
4751
4753
|
this.dispatch(fd(s));
|
|
4752
4754
|
}
|
|
4753
4755
|
}
|
|
4754
|
-
class
|
|
4756
|
+
class cg extends F {
|
|
4755
4757
|
add(e) {
|
|
4756
4758
|
var o;
|
|
4757
4759
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -4806,15 +4808,15 @@ class ag extends F {
|
|
|
4806
4808
|
const { store: s } = this.client, i = s.getState(), n = Ys(e)(i);
|
|
4807
4809
|
if (!n)
|
|
4808
4810
|
throw new Error(`Expected asset type with uuid ${e} to exist`);
|
|
4809
|
-
const a =
|
|
4810
|
-
return this.dispatch(Ks(e)), this.dispatch(Io(a.map((o) => o.uuid))), this.dispatch(
|
|
4811
|
+
const a = Nn(e)(i), c = Ko(e)(i);
|
|
4812
|
+
return this.dispatch(Ks(e)), this.dispatch(Io(a.map((o) => o.uuid))), this.dispatch(Qn(c.map(({ uuid: o }) => o))), this.enqueueRequest({
|
|
4811
4813
|
description: "Delete asset type",
|
|
4812
4814
|
method: u.DELETE,
|
|
4813
4815
|
url: `/asset-types/${e}/`,
|
|
4814
4816
|
blockers: [e],
|
|
4815
4817
|
blocks: []
|
|
4816
4818
|
}).catch((o) => {
|
|
4817
|
-
throw this.dispatch(Ws(n)), this.dispatch(
|
|
4819
|
+
throw this.dispatch(Ws(n)), this.dispatch(Bn(a)), this.dispatch(Jn(c)), o;
|
|
4818
4820
|
});
|
|
4819
4821
|
}
|
|
4820
4822
|
async refreshStore(e) {
|
|
@@ -4831,7 +4833,7 @@ class ag extends F {
|
|
|
4831
4833
|
this.dispatch(Td(s));
|
|
4832
4834
|
}
|
|
4833
4835
|
}
|
|
4834
|
-
class
|
|
4836
|
+
class rg extends F {
|
|
4835
4837
|
add(e) {
|
|
4836
4838
|
var o;
|
|
4837
4839
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -4896,7 +4898,7 @@ class cg extends F {
|
|
|
4896
4898
|
this.dispatch(Fd(s));
|
|
4897
4899
|
}
|
|
4898
4900
|
}
|
|
4899
|
-
class
|
|
4901
|
+
class og extends Te {
|
|
4900
4902
|
constructor() {
|
|
4901
4903
|
super(...arguments);
|
|
4902
4904
|
A(this, "name", "Document Attachment");
|
|
@@ -5011,7 +5013,7 @@ class rg extends Te {
|
|
|
5011
5013
|
this.dispatch(this.addAttachments(a));
|
|
5012
5014
|
}
|
|
5013
5015
|
}
|
|
5014
|
-
class
|
|
5016
|
+
class dg extends F {
|
|
5015
5017
|
add(e) {
|
|
5016
5018
|
var o;
|
|
5017
5019
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -5127,7 +5129,7 @@ class og extends F {
|
|
|
5127
5129
|
this.dispatch(Vd([...await i, ...await n]));
|
|
5128
5130
|
}
|
|
5129
5131
|
}
|
|
5130
|
-
class
|
|
5132
|
+
class ug extends F {
|
|
5131
5133
|
async add(e, s) {
|
|
5132
5134
|
return this.enqueueRequest({
|
|
5133
5135
|
description: "Add email domain to organization",
|
|
@@ -5163,7 +5165,7 @@ class dg extends F {
|
|
|
5163
5165
|
this.dispatch(Hd(s));
|
|
5164
5166
|
}
|
|
5165
5167
|
}
|
|
5166
|
-
class
|
|
5168
|
+
class lg extends F {
|
|
5167
5169
|
async getVerificationCode(e) {
|
|
5168
5170
|
return this.enqueueRequest({
|
|
5169
5171
|
description: "Get verification code",
|
|
@@ -5189,13 +5191,13 @@ class ug extends F {
|
|
|
5189
5191
|
const nt = {}, At = /* @__PURE__ */ new Set();
|
|
5190
5192
|
let at = 0, yt = 0, bt = 0;
|
|
5191
5193
|
const Bp = 20;
|
|
5192
|
-
class
|
|
5194
|
+
class hg extends F {
|
|
5193
5195
|
constructor() {
|
|
5194
5196
|
super(...arguments);
|
|
5195
5197
|
A(this, "host");
|
|
5196
5198
|
// NOTE: If you alter the schema (of the IndexedDB database) in any way, you must increment the version in order to
|
|
5197
5199
|
// migrate the store. This allows idb to automatically migrate the user's existing data to the new schema.
|
|
5198
|
-
A(this, "_dbPromise",
|
|
5200
|
+
A(this, "_dbPromise", Oc("fileCache", 1, {
|
|
5199
5201
|
upgrade(s) {
|
|
5200
5202
|
s.createObjectStore("files");
|
|
5201
5203
|
}
|
|
@@ -5294,7 +5296,7 @@ class lg extends F {
|
|
|
5294
5296
|
return c;
|
|
5295
5297
|
}
|
|
5296
5298
|
if (s.startsWith("blob:")) {
|
|
5297
|
-
const d = await
|
|
5299
|
+
const d = await Nc(s), h = new File([d], n ?? i, { type: d.type });
|
|
5298
5300
|
return await this.addCache(h, i), h;
|
|
5299
5301
|
}
|
|
5300
5302
|
let o = nt[a], l = !0;
|
|
@@ -5337,7 +5339,7 @@ class lg extends F {
|
|
|
5337
5339
|
if (!h)
|
|
5338
5340
|
throw new Error("File has no extension");
|
|
5339
5341
|
const p = n ?? d + "." + h;
|
|
5340
|
-
if (r =
|
|
5342
|
+
if (r = Lc(r, p), !r.name)
|
|
5341
5343
|
throw new Error("Failed to set file's name");
|
|
5342
5344
|
await this.addCache(r, d), nt[a] = new Promise((f) => {
|
|
5343
5345
|
f(r);
|
|
@@ -5346,7 +5348,7 @@ class lg extends F {
|
|
|
5346
5348
|
return r;
|
|
5347
5349
|
}
|
|
5348
5350
|
}
|
|
5349
|
-
class
|
|
5351
|
+
class pg extends k {
|
|
5350
5352
|
async bulkAdd(e) {
|
|
5351
5353
|
var l;
|
|
5352
5354
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -5409,7 +5411,7 @@ class hg extends k {
|
|
|
5409
5411
|
this.dispatch(su(s));
|
|
5410
5412
|
}
|
|
5411
5413
|
}
|
|
5412
|
-
class
|
|
5414
|
+
class mg extends k {
|
|
5413
5415
|
add(e) {
|
|
5414
5416
|
var o;
|
|
5415
5417
|
const { store: s } = this.client, n = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, a = R({
|
|
@@ -5417,7 +5419,7 @@ class pg extends k {
|
|
|
5417
5419
|
created_by: n,
|
|
5418
5420
|
submitted_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
5419
5421
|
});
|
|
5420
|
-
this.dispatch(
|
|
5422
|
+
this.dispatch(fa(a));
|
|
5421
5423
|
const c = this.enqueueRequest({
|
|
5422
5424
|
description: "Create form revision",
|
|
5423
5425
|
method: u.POST,
|
|
@@ -5429,7 +5431,7 @@ class pg extends k {
|
|
|
5429
5431
|
return c.then((l) => {
|
|
5430
5432
|
this.dispatch(du(l));
|
|
5431
5433
|
}).catch(() => {
|
|
5432
|
-
this.dispatch(
|
|
5434
|
+
this.dispatch(Aa(a.uuid));
|
|
5433
5435
|
}), [a, c];
|
|
5434
5436
|
}
|
|
5435
5437
|
async refreshStore(e) {
|
|
@@ -5446,7 +5448,7 @@ class pg extends k {
|
|
|
5446
5448
|
this.dispatch(uu(s));
|
|
5447
5449
|
}
|
|
5448
5450
|
}
|
|
5449
|
-
class
|
|
5451
|
+
class fg extends k {
|
|
5450
5452
|
add(e, s) {
|
|
5451
5453
|
var r;
|
|
5452
5454
|
const { store: i } = this.client, n = (/* @__PURE__ */ new Date()).toISOString(), a = (r = i.getState().userReducer.currentUser) == null ? void 0 : r.id, c = R({
|
|
@@ -5459,7 +5461,7 @@ class mg extends k {
|
|
|
5459
5461
|
submitted_at: n,
|
|
5460
5462
|
created_by: a
|
|
5461
5463
|
});
|
|
5462
|
-
this.dispatch(ri(c)), this.dispatch(
|
|
5464
|
+
this.dispatch(ri(c)), this.dispatch(fa(o));
|
|
5463
5465
|
const l = this.enqueueRequest({
|
|
5464
5466
|
description: "Create form",
|
|
5465
5467
|
method: u.POST,
|
|
@@ -5478,7 +5480,7 @@ class mg extends k {
|
|
|
5478
5480
|
blocks: [c.uuid, o.uuid]
|
|
5479
5481
|
});
|
|
5480
5482
|
return l.catch((d) => {
|
|
5481
|
-
throw this.dispatch(oi(c.uuid)), this.dispatch(
|
|
5483
|
+
throw this.dispatch(oi(c.uuid)), this.dispatch(Aa(o.uuid)), d;
|
|
5482
5484
|
}), [c, o, l];
|
|
5483
5485
|
}
|
|
5484
5486
|
async delete(e) {
|
|
@@ -5515,7 +5517,7 @@ class mg extends k {
|
|
|
5515
5517
|
this.dispatch(Au(s));
|
|
5516
5518
|
}
|
|
5517
5519
|
}
|
|
5518
|
-
class
|
|
5520
|
+
class Ag extends k {
|
|
5519
5521
|
async bulkAdd(e) {
|
|
5520
5522
|
var l;
|
|
5521
5523
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -5596,7 +5598,7 @@ class fg extends k {
|
|
|
5596
5598
|
this.dispatch(gu(s));
|
|
5597
5599
|
}
|
|
5598
5600
|
}
|
|
5599
|
-
class
|
|
5601
|
+
class yg extends k {
|
|
5600
5602
|
add(e) {
|
|
5601
5603
|
var c;
|
|
5602
5604
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -5675,7 +5677,7 @@ class Ag extends k {
|
|
|
5675
5677
|
this.dispatch(Fu(s));
|
|
5676
5678
|
}
|
|
5677
5679
|
}
|
|
5678
|
-
class
|
|
5680
|
+
class bg extends k {
|
|
5679
5681
|
async add(e) {
|
|
5680
5682
|
var h;
|
|
5681
5683
|
const { store: s } = this.client, { file: i, ...n } = e, a = (/* @__PURE__ */ new Date()).toISOString(), c = (h = s.getState().userReducer.currentUser) == null ? void 0 : h.id, o = n.project, l = await this.getFilePayload(i), r = R({
|
|
@@ -5811,7 +5813,7 @@ class yg extends k {
|
|
|
5811
5813
|
this.dispatch(ku(s));
|
|
5812
5814
|
}
|
|
5813
5815
|
}
|
|
5814
|
-
class
|
|
5816
|
+
class Sg extends F {
|
|
5815
5817
|
add(e) {
|
|
5816
5818
|
var o;
|
|
5817
5819
|
const { store: s } = this.client, i = (/* @__PURE__ */ new Date()).toISOString(), n = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, a = R({
|
|
@@ -5866,15 +5868,15 @@ class bg extends F {
|
|
|
5866
5868
|
this.dispatch(Uu(s));
|
|
5867
5869
|
}
|
|
5868
5870
|
}
|
|
5869
|
-
class
|
|
5871
|
+
class gg extends Te {
|
|
5870
5872
|
constructor() {
|
|
5871
5873
|
super(...arguments);
|
|
5872
5874
|
A(this, "name", "Issue Attachment");
|
|
5873
5875
|
A(this, "url", "/issue-attachments");
|
|
5874
5876
|
A(this, "initializeAttachments", Ti);
|
|
5875
|
-
A(this, "addAttachments",
|
|
5877
|
+
A(this, "addAttachments", va);
|
|
5876
5878
|
A(this, "updateAttachments", Ku);
|
|
5877
|
-
A(this, "removeAttachments",
|
|
5879
|
+
A(this, "removeAttachments", wa);
|
|
5878
5880
|
A(this, "removeAttachment", Yu);
|
|
5879
5881
|
A(this, "setAttachment", Wu);
|
|
5880
5882
|
A(this, "selectAttachment", Zu);
|
|
@@ -5917,7 +5919,7 @@ class Sg extends Te {
|
|
|
5917
5919
|
this.dispatch(Ti(i));
|
|
5918
5920
|
}
|
|
5919
5921
|
}
|
|
5920
|
-
class
|
|
5922
|
+
class Tg extends Te {
|
|
5921
5923
|
constructor() {
|
|
5922
5924
|
super(...arguments);
|
|
5923
5925
|
A(this, "name", "Issue Comment Attachment");
|
|
@@ -5968,7 +5970,7 @@ class gg extends Te {
|
|
|
5968
5970
|
this.dispatch(_i(i));
|
|
5969
5971
|
}
|
|
5970
5972
|
}
|
|
5971
|
-
class
|
|
5973
|
+
class Pg extends F {
|
|
5972
5974
|
add(e) {
|
|
5973
5975
|
var a;
|
|
5974
5976
|
const { store: s } = this.client, i = R({
|
|
@@ -6040,7 +6042,7 @@ class Tg extends F {
|
|
|
6040
6042
|
this.dispatch(ul(s));
|
|
6041
6043
|
}
|
|
6042
6044
|
}
|
|
6043
|
-
class
|
|
6045
|
+
class _g extends F {
|
|
6044
6046
|
add(e) {
|
|
6045
6047
|
var l;
|
|
6046
6048
|
const { store: s } = this.client, i = s.getState(), n = (/* @__PURE__ */ new Date()).toISOString(), a = (l = i.userReducer.currentUser) == null ? void 0 : l.id, c = R({
|
|
@@ -6155,7 +6157,7 @@ class Pg extends F {
|
|
|
6155
6157
|
for (const d of Lu(e)(i))
|
|
6156
6158
|
l[d.uuid] = d;
|
|
6157
6159
|
const r = Object.values(l);
|
|
6158
|
-
this.dispatch(ki(e)), a.length > 0 && this.dispatch(
|
|
6160
|
+
this.dispatch(ki(e)), a.length > 0 && this.dispatch(wa(a.map(({ uuid: d }) => d))), c.length > 0 && this.dispatch(ah(c.map(({ uuid: d }) => d))), o.length > 0 && this.dispatch(zt(o.map(({ uuid: d }) => d))), r.length > 0 && this.dispatch(Oa(r.map(({ uuid: d }) => d)));
|
|
6159
6161
|
try {
|
|
6160
6162
|
return await this.enqueueRequest({
|
|
6161
6163
|
description: "Delete issue",
|
|
@@ -6165,7 +6167,7 @@ class Pg extends F {
|
|
|
6165
6167
|
blocks: []
|
|
6166
6168
|
});
|
|
6167
6169
|
} catch (d) {
|
|
6168
|
-
throw this.dispatch(Ei(n)), this.dispatch(
|
|
6170
|
+
throw this.dispatch(Ei(n)), this.dispatch(va(a)), this.dispatch(ih(c)), this.dispatch(xt(o)), this.dispatch(Fa(r)), d;
|
|
6169
6171
|
}
|
|
6170
6172
|
}
|
|
6171
6173
|
async refreshStore(e) {
|
|
@@ -6182,7 +6184,7 @@ class Pg extends F {
|
|
|
6182
6184
|
this.dispatch(pl(s));
|
|
6183
6185
|
}
|
|
6184
6186
|
}
|
|
6185
|
-
class
|
|
6187
|
+
class Rg extends Te {
|
|
6186
6188
|
constructor() {
|
|
6187
6189
|
super(...arguments);
|
|
6188
6190
|
A(this, "name", "Issue Type Attachment");
|
|
@@ -6233,7 +6235,7 @@ class _g extends Te {
|
|
|
6233
6235
|
this.dispatch(Mi(i));
|
|
6234
6236
|
}
|
|
6235
6237
|
}
|
|
6236
|
-
class
|
|
6238
|
+
class Fg extends k {
|
|
6237
6239
|
async bulkAdd(e) {
|
|
6238
6240
|
var l;
|
|
6239
6241
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -6298,7 +6300,7 @@ class Rg extends k {
|
|
|
6298
6300
|
this.dispatch(Il(s));
|
|
6299
6301
|
}
|
|
6300
6302
|
}
|
|
6301
|
-
class
|
|
6303
|
+
class Og extends F {
|
|
6302
6304
|
add(e) {
|
|
6303
6305
|
var o;
|
|
6304
6306
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -6335,7 +6337,7 @@ class Fg extends F {
|
|
|
6335
6337
|
this.dispatch(xl(s));
|
|
6336
6338
|
}
|
|
6337
6339
|
}
|
|
6338
|
-
class
|
|
6340
|
+
class Ig extends k {
|
|
6339
6341
|
async bulkAdd(e) {
|
|
6340
6342
|
var l;
|
|
6341
6343
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -6416,7 +6418,7 @@ class Og extends k {
|
|
|
6416
6418
|
this.dispatch(Bl(s));
|
|
6417
6419
|
}
|
|
6418
6420
|
}
|
|
6419
|
-
class
|
|
6421
|
+
class vg extends F {
|
|
6420
6422
|
add(e) {
|
|
6421
6423
|
var c;
|
|
6422
6424
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -6494,7 +6496,7 @@ class Ig extends F {
|
|
|
6494
6496
|
this.dispatch(Ml(s));
|
|
6495
6497
|
}
|
|
6496
6498
|
}
|
|
6497
|
-
class
|
|
6499
|
+
class wg extends F {
|
|
6498
6500
|
add(e) {
|
|
6499
6501
|
var c;
|
|
6500
6502
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -6542,7 +6544,7 @@ class vg extends F {
|
|
|
6542
6544
|
const { store: s } = this.client, i = s.getState(), n = Li(e)(i);
|
|
6543
6545
|
if (!n)
|
|
6544
6546
|
throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
|
|
6545
|
-
const a =
|
|
6547
|
+
const a = $a(e)(i);
|
|
6546
6548
|
this.dispatch(Bi(e)), this.dispatch(fl(a.map((o) => o.uuid)));
|
|
6547
6549
|
const c = this.enqueueRequest({
|
|
6548
6550
|
method: u.DELETE,
|
|
@@ -6567,7 +6569,7 @@ class vg extends F {
|
|
|
6567
6569
|
this.dispatch(Yl(s));
|
|
6568
6570
|
}
|
|
6569
6571
|
}
|
|
6570
|
-
class
|
|
6572
|
+
class Eg extends F {
|
|
6571
6573
|
async refreshStore(e) {
|
|
6572
6574
|
const s = await this.enqueueRequest({
|
|
6573
6575
|
description: "Get issue updates",
|
|
@@ -6588,7 +6590,7 @@ function Np(t) {
|
|
|
6588
6590
|
if (!t.refresh) throw new Error("Missing refresh token");
|
|
6589
6591
|
return { accessToken: t.access, refreshToken: t.refresh };
|
|
6590
6592
|
}
|
|
6591
|
-
class
|
|
6593
|
+
class kg extends Gp {
|
|
6592
6594
|
constructor() {
|
|
6593
6595
|
super(...arguments);
|
|
6594
6596
|
// _getTokenPair and _getRenewedTokens don't need to use enqueueRequest from the BaseApiService because
|
|
@@ -6629,7 +6631,7 @@ class Eg extends Gp {
|
|
|
6629
6631
|
* Logs the user out
|
|
6630
6632
|
*/
|
|
6631
6633
|
clearAuth() {
|
|
6632
|
-
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(_d(!1)), this.clearTokens(), this.dispatch({ type:
|
|
6634
|
+
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(_d(!1)), this.clearTokens(), this.dispatch({ type: Ic }), this.dispatch({ type: xc });
|
|
6633
6635
|
}
|
|
6634
6636
|
/**
|
|
6635
6637
|
* Attempts to renew tokens
|
|
@@ -6655,7 +6657,7 @@ class Eg extends Gp {
|
|
|
6655
6657
|
const i = Date.now() / 1e3;
|
|
6656
6658
|
let n;
|
|
6657
6659
|
try {
|
|
6658
|
-
n =
|
|
6660
|
+
n = vc(s).exp ?? i;
|
|
6659
6661
|
} catch {
|
|
6660
6662
|
n = i;
|
|
6661
6663
|
}
|
|
@@ -6710,7 +6712,7 @@ class Eg extends Gp {
|
|
|
6710
6712
|
});
|
|
6711
6713
|
}
|
|
6712
6714
|
}
|
|
6713
|
-
class
|
|
6715
|
+
class qg extends F {
|
|
6714
6716
|
async getLicense(e) {
|
|
6715
6717
|
const s = await this.enqueueRequest({
|
|
6716
6718
|
description: "Get license",
|
|
@@ -6812,7 +6814,7 @@ class kg extends F {
|
|
|
6812
6814
|
this.dispatch(dh(Object.values(i)));
|
|
6813
6815
|
}
|
|
6814
6816
|
}
|
|
6815
|
-
class
|
|
6817
|
+
class jg extends F {
|
|
6816
6818
|
async update(e) {
|
|
6817
6819
|
const s = this.enqueueRequest({
|
|
6818
6820
|
description: "Edit organization access",
|
|
@@ -6849,7 +6851,7 @@ class qg extends F {
|
|
|
6849
6851
|
this.dispatch(fh(s));
|
|
6850
6852
|
}
|
|
6851
6853
|
}
|
|
6852
|
-
class
|
|
6854
|
+
class Mg extends F {
|
|
6853
6855
|
create(e) {
|
|
6854
6856
|
return this.enqueueRequest({
|
|
6855
6857
|
description: "Create organization",
|
|
@@ -6899,7 +6901,7 @@ class jg extends F {
|
|
|
6899
6901
|
i[a.uuid] = a, this.dispatch(jh(Object.values(i)));
|
|
6900
6902
|
}
|
|
6901
6903
|
}
|
|
6902
|
-
class
|
|
6904
|
+
class Cg extends F {
|
|
6903
6905
|
async update(e) {
|
|
6904
6906
|
return this.dispatch(gh(e)), this.enqueueRequest({
|
|
6905
6907
|
description: "Edit project access",
|
|
@@ -6931,17 +6933,17 @@ class Mg extends F {
|
|
|
6931
6933
|
blockers: [],
|
|
6932
6934
|
blocks: []
|
|
6933
6935
|
});
|
|
6934
|
-
this.dispatch(
|
|
6936
|
+
this.dispatch(Ka(s));
|
|
6935
6937
|
}
|
|
6936
6938
|
}
|
|
6937
|
-
class
|
|
6939
|
+
class Dg extends Te {
|
|
6938
6940
|
constructor() {
|
|
6939
6941
|
super(...arguments);
|
|
6940
6942
|
A(this, "name", "Project Attachment");
|
|
6941
6943
|
A(this, "url", "/project-attachments");
|
|
6942
6944
|
A(this, "addAttachments", Nh);
|
|
6943
6945
|
A(this, "updateAttachments", Kh);
|
|
6944
|
-
A(this, "removeAttachments",
|
|
6946
|
+
A(this, "removeAttachments", ec);
|
|
6945
6947
|
A(this, "removeAttachment", Yh);
|
|
6946
6948
|
A(this, "setAttachment", Hh);
|
|
6947
6949
|
A(this, "selectAttachment", Xh);
|
|
@@ -6984,7 +6986,7 @@ class Cg extends Te {
|
|
|
6984
6986
|
this.dispatch(Lh(i));
|
|
6985
6987
|
}
|
|
6986
6988
|
}
|
|
6987
|
-
class
|
|
6989
|
+
class xg extends F {
|
|
6988
6990
|
async saveExisting(e) {
|
|
6989
6991
|
if (!e.uuid)
|
|
6990
6992
|
throw new Error(
|
|
@@ -7062,7 +7064,7 @@ class Dg extends F {
|
|
|
7062
7064
|
this.dispatch(tp(s));
|
|
7063
7065
|
}
|
|
7064
7066
|
}
|
|
7065
|
-
class
|
|
7067
|
+
class zg extends F {
|
|
7066
7068
|
async add(e) {
|
|
7067
7069
|
if (!e.bounds && !e.canvas_bounds)
|
|
7068
7070
|
throw new Error("Project must either have bounds or canvas_bounds set");
|
|
@@ -7101,7 +7103,7 @@ class xg extends F {
|
|
|
7101
7103
|
const c = dp(i).filter((d) => d.project === e);
|
|
7102
7104
|
this.dispatch(np(c.map(({ uuid: d }) => d)));
|
|
7103
7105
|
const o = Zh(a.uuid)(i);
|
|
7104
|
-
this.dispatch(
|
|
7106
|
+
this.dispatch(ec(o.map(({ uuid: d }) => d)));
|
|
7105
7107
|
const l = _h(i);
|
|
7106
7108
|
this.dispatch(Ph(l.map(({ uuid: d }) => d))), this.dispatch({ type: "rehydrated/setRehydrated", payload: !1 }), this.dispatch(vh(a.uuid));
|
|
7107
7109
|
const r = uh(a.uuid)(i);
|
|
@@ -7115,7 +7117,7 @@ class xg extends F {
|
|
|
7115
7117
|
blocks: []
|
|
7116
7118
|
}), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 });
|
|
7117
7119
|
} catch (d) {
|
|
7118
|
-
throw this.dispatch(Oh(Object.values(n))), this.dispatch(
|
|
7120
|
+
throw this.dispatch(Oh(Object.values(n))), this.dispatch(Ka(Object.values(l))), this.dispatch(sp(c)), this.dispatch(Wh(o)), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }), r && this.dispatch(ge({ ...r, project: a.uuid })), d;
|
|
7119
7121
|
}
|
|
7120
7122
|
}
|
|
7121
7123
|
invite(e, s) {
|
|
@@ -7153,7 +7155,7 @@ class xg extends F {
|
|
|
7153
7155
|
});
|
|
7154
7156
|
}
|
|
7155
7157
|
}
|
|
7156
|
-
class
|
|
7158
|
+
class Vg extends F {
|
|
7157
7159
|
add(e) {
|
|
7158
7160
|
const s = R({
|
|
7159
7161
|
...e,
|
|
@@ -7265,7 +7267,7 @@ class zg extends F {
|
|
|
7265
7267
|
this.dispatch(pp(s));
|
|
7266
7268
|
}
|
|
7267
7269
|
}
|
|
7268
|
-
class
|
|
7270
|
+
class Ug extends F {
|
|
7269
7271
|
async refreshStore(e, s) {
|
|
7270
7272
|
const i = {}, n = await this.enqueueRequest({
|
|
7271
7273
|
description: "Fetch organization users",
|
|
@@ -7288,7 +7290,7 @@ class Vg extends F {
|
|
|
7288
7290
|
this.dispatch(hh(Object.values(i)));
|
|
7289
7291
|
}
|
|
7290
7292
|
}
|
|
7291
|
-
class
|
|
7293
|
+
class $g {
|
|
7292
7294
|
constructor(e) {
|
|
7293
7295
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7294
7296
|
A(this, "store");
|
|
@@ -7302,7 +7304,7 @@ class Ug {
|
|
|
7302
7304
|
});
|
|
7303
7305
|
}
|
|
7304
7306
|
_enqueueRequest(e, s, i) {
|
|
7305
|
-
const n = new
|
|
7307
|
+
const n = new zc(), a = { ...e, BASE_URL: s, serviceName: i };
|
|
7306
7308
|
if (e.immediate) {
|
|
7307
7309
|
const c = {
|
|
7308
7310
|
...a,
|
|
@@ -7321,10 +7323,10 @@ class Ug {
|
|
|
7321
7323
|
}
|
|
7322
7324
|
}
|
|
7323
7325
|
};
|
|
7324
|
-
|
|
7326
|
+
mc(o, this).then((l) => {
|
|
7325
7327
|
n.resolve(l.body);
|
|
7326
7328
|
}).catch((l) => {
|
|
7327
|
-
|
|
7329
|
+
yc(l, o), l instanceof Error ? n.reject(l) : n.reject(new Error((l ?? He).toString()));
|
|
7328
7330
|
});
|
|
7329
7331
|
} else {
|
|
7330
7332
|
const c = this.store.dispatch(
|
|
@@ -7362,7 +7364,7 @@ class Be {
|
|
|
7362
7364
|
constructor() {
|
|
7363
7365
|
A(this, "graph");
|
|
7364
7366
|
A(this, "requestAttemptCounter");
|
|
7365
|
-
this.graph = new
|
|
7367
|
+
this.graph = new wc(), this.requestAttemptCounter = {};
|
|
7366
7368
|
}
|
|
7367
7369
|
/**
|
|
7368
7370
|
* Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
|
|
@@ -7500,91 +7502,91 @@ class Be {
|
|
|
7500
7502
|
this.requestAttemptCounter[e] = (this.requestAttemptCounter[e] || 0) + 1;
|
|
7501
7503
|
}
|
|
7502
7504
|
}
|
|
7503
|
-
const
|
|
7505
|
+
const Gg = (t, e) => {
|
|
7504
7506
|
const s = new e(t);
|
|
7505
7507
|
return Tp(s), gp(t), s;
|
|
7506
7508
|
};
|
|
7507
7509
|
var Hp = /* @__PURE__ */ ((t) => (t[t.USER_REGISTRATION = 0] = "USER_REGISTRATION", t[t.APPLICATION_INVITE = 2] = "APPLICATION_INVITE", t[t.PROJECT_INVITE = 4] = "PROJECT_INVITE", t[t.ORGANIZATION_INVITE = 6] = "ORGANIZATION_INVITE", t[t.ADD_EMAIL_DOMAIN = 8] = "ADD_EMAIL_DOMAIN", t[t.RESET_PASSWORD = 10] = "RESET_PASSWORD", t))(Hp || {});
|
|
7508
7510
|
export {
|
|
7509
7511
|
j as APIError,
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7512
|
+
zS as AgentService,
|
|
7513
|
+
VS as AssetAttachmentService,
|
|
7514
|
+
US as AssetProcedureAttachmentService,
|
|
7515
|
+
BS as AssetProcedureFieldValuesAttachmentService,
|
|
7516
|
+
LS as AssetProcedureFieldValuesService,
|
|
7517
|
+
$S as AssetProcedureFieldsAttachmentService,
|
|
7518
|
+
GS as AssetProcedureFieldsService,
|
|
7519
|
+
NS as AssetProcedureInstanceService,
|
|
7520
|
+
HS as AssetProcedureService,
|
|
7521
|
+
YS as AssetProcedureStepFieldValuesAttachmentService,
|
|
7522
|
+
JS as AssetProcedureStepFieldValuesService,
|
|
7523
|
+
WS as AssetProcedureStepFieldsAttachmentService,
|
|
7524
|
+
KS as AssetProcedureStepFieldsService,
|
|
7525
|
+
QS as AssetProcedureStepService,
|
|
7526
|
+
XS as AssetService,
|
|
7527
|
+
ZS as AssetStageCompletionService,
|
|
7528
|
+
eg as AssetStageService,
|
|
7529
|
+
tg as AssetTypeAttachmentService,
|
|
7530
|
+
ng as AssetTypeFieldValuesAttachmentService,
|
|
7531
|
+
ag as AssetTypeFieldValuesService,
|
|
7532
|
+
sg as AssetTypeFieldsAttachmentService,
|
|
7533
|
+
ig as AssetTypeFieldsService,
|
|
7534
|
+
cg as AssetTypeService,
|
|
7535
|
+
qc as AttachmentModel,
|
|
7534
7536
|
F as BaseApiService,
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7537
|
+
$g as BaseSDK,
|
|
7538
|
+
Hc as COMMON_AUTO_FIELDS,
|
|
7539
|
+
rg as CategoryService,
|
|
7538
7540
|
lm as DEFAULT_ISSUE_PRIORITY,
|
|
7539
7541
|
um as DEFAULT_ISSUE_STATUS,
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7542
|
+
zc as DeferredPromise,
|
|
7543
|
+
og as DocumentAttachmentService,
|
|
7544
|
+
dg as DocumentService,
|
|
7545
|
+
Ec as EMPTY_ARRAY,
|
|
7546
|
+
kc as EMPTY_OBJECT,
|
|
7547
|
+
ug as EmailDomainsService,
|
|
7548
|
+
lg as EmailVerificationService,
|
|
7549
|
+
hg as FileService,
|
|
7550
|
+
pg as FormRevisionAttachmentService,
|
|
7551
|
+
mg as FormRevisionService,
|
|
7552
|
+
fg as FormService,
|
|
7553
|
+
Ag as FormSubmissionAttachmentService,
|
|
7554
|
+
yg as FormSubmissionService,
|
|
7555
|
+
bg as GeoImageService,
|
|
7554
7556
|
u as HttpMethod,
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7557
|
+
Sg as IssueAssociationService,
|
|
7558
|
+
gg as IssueAttachmentService,
|
|
7559
|
+
Tg as IssueCommentAttachmentService,
|
|
7560
|
+
Pg as IssueCommentService,
|
|
7559
7561
|
hn as IssuePriority,
|
|
7560
|
-
|
|
7562
|
+
_g as IssueService,
|
|
7561
7563
|
pn as IssueStatus,
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7564
|
+
Rg as IssueTypeAttachmentService,
|
|
7565
|
+
Ig as IssueTypeFieldValuesAttachmentService,
|
|
7566
|
+
vg as IssueTypeFieldValuesService,
|
|
7567
|
+
Fg as IssueTypeFieldsAttachmentService,
|
|
7568
|
+
Og as IssueTypeFieldsService,
|
|
7569
|
+
wg as IssueTypeService,
|
|
7568
7570
|
E as IssueUpdateChange,
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7571
|
+
Eg as IssueUpdateService,
|
|
7572
|
+
kg as JWTService,
|
|
7573
|
+
Mc as LicenseLevel,
|
|
7574
|
+
qg as LicenseService,
|
|
7575
|
+
Cc as LicenseStatus,
|
|
7576
|
+
Dc as OUTBOX_RETRY_DELAY,
|
|
7575
7577
|
ln as OrganizationAccessLevel,
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
+
jg as OrganizationAccessService,
|
|
7579
|
+
Mg as OrganizationService,
|
|
7578
7580
|
Be as OutboxCoordinator,
|
|
7579
|
-
|
|
7581
|
+
jc as PaddleCheckoutEvent,
|
|
7580
7582
|
un as ProjectAccessLevel,
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7583
|
+
Cg as ProjectAccessService,
|
|
7584
|
+
Dg as ProjectAttachmentService,
|
|
7585
|
+
xg as ProjectFileService,
|
|
7586
|
+
zg as ProjectService,
|
|
7587
|
+
Vg as TeamService,
|
|
7586
7588
|
He as UNKNOWN_ERROR_MESSAGE,
|
|
7587
|
-
|
|
7589
|
+
Ug as UserService,
|
|
7588
7590
|
dt as VERSION_REDUCER_KEY,
|
|
7589
7591
|
Hp as VerificationCodeType,
|
|
7590
7592
|
Gh as _setLatestRetryTime,
|
|
@@ -7594,153 +7596,153 @@ export {
|
|
|
7594
7596
|
bn as addAssetAttachments,
|
|
7595
7597
|
ds as addAssetProcedure,
|
|
7596
7598
|
xm as addAssetProcedureAttachment,
|
|
7597
|
-
|
|
7599
|
+
dr as addAssetProcedureAttachments,
|
|
7598
7600
|
ts as addAssetProcedureFieldValues,
|
|
7599
7601
|
sf as addAssetProcedureFieldValuesAttachment,
|
|
7600
7602
|
gt as addAssetProcedureFieldValuesAttachments,
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
+
zr as addAssetProcedureFieldValuesMany,
|
|
7604
|
+
Or as addAssetProcedureFields,
|
|
7603
7605
|
$m as addAssetProcedureFieldsAttachment,
|
|
7604
|
-
|
|
7606
|
+
Sr as addAssetProcedureFieldsAttachments,
|
|
7605
7607
|
Km as addAssetProcedureFieldsMany,
|
|
7606
7608
|
as as addAssetProcedureInstance,
|
|
7607
|
-
|
|
7608
|
-
|
|
7609
|
+
Lr as addAssetProcedureInstances,
|
|
7610
|
+
Zf as addAssetProcedureStep,
|
|
7609
7611
|
As as addAssetProcedureStepFieldValues,
|
|
7610
7612
|
$f as addAssetProcedureStepFieldValuesAttachment,
|
|
7611
7613
|
Pt as addAssetProcedureStepFieldValuesAttachments,
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
+
yo as addAssetProcedureStepFieldValuesMany,
|
|
7615
|
+
ao as addAssetProcedureStepFields,
|
|
7614
7616
|
Ff as addAssetProcedureStepFieldsAttachment,
|
|
7615
|
-
|
|
7617
|
+
Xr as addAssetProcedureStepFieldsAttachments,
|
|
7616
7618
|
qf as addAssetProcedureStepFieldsMany,
|
|
7617
7619
|
gs as addAssetProcedureSteps,
|
|
7618
7620
|
bf as addAssetProcedures,
|
|
7619
|
-
|
|
7621
|
+
uA as addAssetStage,
|
|
7620
7622
|
ws as addAssetStageCompletion,
|
|
7621
7623
|
Es as addAssetStageCompletions,
|
|
7622
7624
|
Ms as addAssetStages,
|
|
7623
7625
|
Ws as addAssetType,
|
|
7624
|
-
|
|
7625
|
-
|
|
7626
|
+
mA as addAssetTypeAttachment,
|
|
7627
|
+
Jn as addAssetTypeAttachments,
|
|
7626
7628
|
Bs as addAssetTypeFieldValues,
|
|
7627
|
-
|
|
7629
|
+
qA as addAssetTypeFieldValuesAttachment,
|
|
7628
7630
|
Rt as addAssetTypeFieldValuesAttachments,
|
|
7629
7631
|
Ad as addAssetTypeFieldValuesMany,
|
|
7630
7632
|
nd as addAssetTypeFields,
|
|
7631
|
-
|
|
7633
|
+
yA as addAssetTypeFieldsAttachment,
|
|
7632
7634
|
Qo as addAssetTypeFieldsAttachments,
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7635
|
+
RA as addAssetTypeFieldsMany,
|
|
7636
|
+
LA as addAssetTypes,
|
|
7637
|
+
Bn as addAssets,
|
|
7636
7638
|
Xs as addCategory,
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
+
Jc as addConversation,
|
|
7640
|
+
sy as addDocumentAttachment,
|
|
7639
7641
|
Ed as addDocumentAttachments,
|
|
7640
7642
|
Ud as addDocuments,
|
|
7641
7643
|
Wd as addEmailDomain,
|
|
7642
7644
|
ri as addForm,
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
+
fa as addFormRevision,
|
|
7646
|
+
uy as addFormRevisionAttachment,
|
|
7645
7647
|
iu as addFormRevisionAttachments,
|
|
7646
7648
|
lu as addFormRevisions,
|
|
7647
7649
|
li as addFormSubmission,
|
|
7648
|
-
|
|
7650
|
+
Py as addFormSubmissionAttachment,
|
|
7649
7651
|
Ot as addFormSubmissionAttachments,
|
|
7650
7652
|
xt as addFormSubmissions,
|
|
7651
|
-
|
|
7653
|
+
Sy as addForms,
|
|
7652
7654
|
ju as addGeoImage,
|
|
7653
7655
|
Mu as addGeoImages,
|
|
7654
7656
|
Ei as addIssue,
|
|
7655
7657
|
bi as addIssueAssociation,
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7658
|
+
Fa as addIssueAssociations,
|
|
7659
|
+
Cy as addIssueAttachment,
|
|
7660
|
+
va as addIssueAttachments,
|
|
7659
7661
|
Oi as addIssueComment,
|
|
7660
|
-
|
|
7662
|
+
zy as addIssueCommentAttachment,
|
|
7661
7663
|
tl as addIssueCommentAttachments,
|
|
7662
|
-
|
|
7664
|
+
Gy as addIssueComments,
|
|
7663
7665
|
Jl as addIssueType,
|
|
7664
|
-
|
|
7666
|
+
Hy as addIssueTypeAttachment,
|
|
7665
7667
|
bl as addIssueTypeAttachments,
|
|
7666
7668
|
xi as addIssueTypeFieldValues,
|
|
7667
|
-
|
|
7669
|
+
bb as addIssueTypeFieldValuesAttachment,
|
|
7668
7670
|
vt as addIssueTypeFieldValuesAttachments,
|
|
7669
|
-
|
|
7671
|
+
ib as addIssueTypeFieldValuesMany,
|
|
7670
7672
|
zl as addIssueTypeFields,
|
|
7671
|
-
|
|
7673
|
+
Jy as addIssueTypeFieldsAttachment,
|
|
7672
7674
|
vl as addIssueTypeFieldsAttachments,
|
|
7673
|
-
|
|
7675
|
+
db as addIssueTypeFieldsMany,
|
|
7674
7676
|
sh as addIssueUpdate,
|
|
7675
7677
|
ih as addIssueUpdates,
|
|
7676
7678
|
ml as addIssues,
|
|
7677
|
-
|
|
7678
|
-
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7679
|
+
vb as addLicenses,
|
|
7680
|
+
rS as addOrganization,
|
|
7681
|
+
cS as addOrganizations,
|
|
7682
|
+
Xb as addProject,
|
|
7683
|
+
gS as addProjectAttachment,
|
|
7682
7684
|
Nh as addProjectAttachments,
|
|
7683
|
-
|
|
7685
|
+
RS as addProjectFile,
|
|
7684
7686
|
sp as addProjectFiles,
|
|
7685
|
-
|
|
7687
|
+
Qb as addProjects,
|
|
7686
7688
|
mp as addTeam,
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7689
|
+
Cb as addUser,
|
|
7690
|
+
Mb as addUsers,
|
|
7691
|
+
Zc as agentsReducer,
|
|
7690
7692
|
fn as agentsSlice,
|
|
7691
7693
|
ym as areArraysEqual,
|
|
7692
|
-
|
|
7694
|
+
rr as assetAttachmentReducer,
|
|
7693
7695
|
yn as assetAttachmentSlice,
|
|
7694
|
-
|
|
7696
|
+
yr as assetProcedureAttachmentReducer,
|
|
7695
7697
|
gn as assetProcedureAttachmentSlice,
|
|
7696
|
-
|
|
7698
|
+
Dr as assetProcedureFieldValuesAttachmentReducer,
|
|
7697
7699
|
Rn as assetProcedureFieldValuesAttachmentSlice,
|
|
7698
|
-
|
|
7700
|
+
Gr as assetProcedureFieldValuesReducer,
|
|
7699
7701
|
On as assetProcedureFieldValuesSlice,
|
|
7700
|
-
|
|
7702
|
+
Rr as assetProcedureFieldsAttachmentReducer,
|
|
7701
7703
|
Tn as assetProcedureFieldsAttachmentSlice,
|
|
7702
|
-
|
|
7704
|
+
Er as assetProcedureFieldsReducer,
|
|
7703
7705
|
Pn as assetProcedureFieldsSlice,
|
|
7704
|
-
|
|
7706
|
+
Wr as assetProcedureInstanceReducer,
|
|
7705
7707
|
vn as assetProcedureInstanceSlice,
|
|
7706
|
-
|
|
7708
|
+
Jr as assetProcedureReducer,
|
|
7707
7709
|
kn as assetProcedureSlice,
|
|
7708
|
-
|
|
7710
|
+
fo as assetProcedureStepFieldValuesAttachmentReducer,
|
|
7709
7711
|
Dn as assetProcedureStepFieldValuesAttachmentSlice,
|
|
7710
7712
|
go as assetProcedureStepFieldValuesReducer,
|
|
7711
7713
|
zn as assetProcedureStepFieldValuesSlice,
|
|
7712
|
-
|
|
7714
|
+
io as assetProcedureStepFieldsAttachmentReducer,
|
|
7713
7715
|
jn as assetProcedureStepFieldsAttachmentSlice,
|
|
7714
|
-
|
|
7716
|
+
oo as assetProcedureStepFieldsReducer,
|
|
7715
7717
|
Mn as assetProcedureStepFieldsSlice,
|
|
7716
7718
|
_o as assetProcedureStepReducer,
|
|
7717
|
-
|
|
7719
|
+
$n as assetProcedureStepSlice,
|
|
7718
7720
|
wo as assetReducer,
|
|
7719
|
-
|
|
7721
|
+
Gn as assetSlice,
|
|
7720
7722
|
jo as assetStageCompletionReducer,
|
|
7721
|
-
|
|
7723
|
+
Hn as assetStageCompletionSlice,
|
|
7722
7724
|
zo as assetStageReducer,
|
|
7723
|
-
|
|
7725
|
+
Kn as assetStageSlice,
|
|
7724
7726
|
Yo as assetTypeAttachmentReducer,
|
|
7725
|
-
|
|
7727
|
+
Yn as assetTypeAttachmentSlice,
|
|
7726
7728
|
md as assetTypeFieldValuesAttachmentReducer,
|
|
7727
|
-
|
|
7729
|
+
ea as assetTypeFieldValuesAttachmentSlice,
|
|
7728
7730
|
gd as assetTypeFieldValuesReducer,
|
|
7729
|
-
|
|
7731
|
+
sa as assetTypeFieldValuesSlice,
|
|
7730
7732
|
sd as assetTypeFieldsAttachmentReducer,
|
|
7731
|
-
|
|
7733
|
+
Xn as assetTypeFieldsAttachmentSlice,
|
|
7732
7734
|
od as assetTypeFieldsReducer,
|
|
7733
|
-
|
|
7735
|
+
Zn as assetTypeFieldsSlice,
|
|
7734
7736
|
Pd as assetTypeReducer,
|
|
7735
|
-
|
|
7737
|
+
na as assetTypeSlice,
|
|
7736
7738
|
Rd as authReducer,
|
|
7737
7739
|
Ct as authSlice,
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
+
CS as baseReducer,
|
|
7741
|
+
cc as baseReducers,
|
|
7740
7742
|
_m as blobToBase64,
|
|
7741
7743
|
vd as categoryReducer,
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
+
ca as categorySlice,
|
|
7745
|
+
JA as clearTokens,
|
|
7744
7746
|
Pm as constructUploadedFilePayloads,
|
|
7745
7747
|
fm as coordinatesAreEqual,
|
|
7746
7748
|
_ as createModelAdapter,
|
|
@@ -7750,151 +7752,151 @@ export {
|
|
|
7750
7752
|
pm as createPointGeometry,
|
|
7751
7753
|
hm as createSelectionAdapter,
|
|
7752
7754
|
Os as deleteAsset,
|
|
7753
|
-
|
|
7755
|
+
sr as deleteAssetAttachment,
|
|
7754
7756
|
Sn as deleteAssetAttachments,
|
|
7755
7757
|
us as deleteAssetProcedure,
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
+
hr as deleteAssetProcedureAttachment,
|
|
7759
|
+
pr as deleteAssetProcedureAttachments,
|
|
7758
7760
|
ss as deleteAssetProcedureFieldValues,
|
|
7759
7761
|
rf as deleteAssetProcedureFieldValuesAttachment,
|
|
7760
7762
|
Tt as deleteAssetProcedureFieldValuesAttachments,
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
+
Ur as deleteAssetProcedureFieldValuesMany,
|
|
7764
|
+
vr as deleteAssetProcedureFields,
|
|
7763
7765
|
Nm as deleteAssetProcedureFieldsAttachment,
|
|
7764
|
-
|
|
7766
|
+
Tr as deleteAssetProcedureFieldsAttachments,
|
|
7765
7767
|
Xm as deleteAssetProcedureFieldsMany,
|
|
7766
7768
|
cs as deleteAssetProcedureInstance,
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
+
Nr as deleteAssetProcedureInstances,
|
|
7770
|
+
eA as deleteAssetProcedureStep,
|
|
7769
7771
|
ys as deleteAssetProcedureStepFieldValues,
|
|
7770
7772
|
Nf as deleteAssetProcedureStepFieldValuesAttachment,
|
|
7771
7773
|
_t as deleteAssetProcedureStepFieldValuesAttachments,
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
+
So as deleteAssetProcedureStepFieldValuesMany,
|
|
7775
|
+
ro as deleteAssetProcedureStepFields,
|
|
7774
7776
|
wf as deleteAssetProcedureStepFieldsAttachment,
|
|
7775
|
-
|
|
7777
|
+
eo as deleteAssetProcedureStepFieldsAttachments,
|
|
7776
7778
|
Df as deleteAssetProcedureStepFieldsMany,
|
|
7777
7779
|
Ps as deleteAssetProcedureSteps,
|
|
7778
7780
|
gf as deleteAssetProcedures,
|
|
7779
|
-
|
|
7781
|
+
lA as deleteAssetStage,
|
|
7780
7782
|
ks as deleteAssetStageCompletion,
|
|
7781
7783
|
qs as deleteAssetStageCompletions,
|
|
7782
7784
|
Ds as deleteAssetStages,
|
|
7783
7785
|
Ks as deleteAssetType,
|
|
7784
7786
|
Lo as deleteAssetTypeAttachment,
|
|
7785
|
-
|
|
7787
|
+
Qn as deleteAssetTypeAttachments,
|
|
7786
7788
|
Ls as deleteAssetTypeFieldValues,
|
|
7787
|
-
|
|
7789
|
+
DA as deleteAssetTypeFieldValuesAttachment,
|
|
7788
7790
|
Ft as deleteAssetTypeFieldValuesAttachments,
|
|
7789
7791
|
bd as deleteAssetTypeFieldValuesMany,
|
|
7790
7792
|
cd as deleteAssetTypeFields,
|
|
7791
|
-
|
|
7793
|
+
TA as deleteAssetTypeFieldsAttachment,
|
|
7792
7794
|
Zo as deleteAssetTypeFieldsAttachments,
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
+
vA as deleteAssetTypeFieldsMany,
|
|
7796
|
+
HA as deleteAssetTypes,
|
|
7795
7797
|
Io as deleteAssets,
|
|
7796
7798
|
Id as deleteCategory,
|
|
7797
7799
|
jd as deleteDocumentAttachment,
|
|
7798
7800
|
Md as deleteDocumentAttachments,
|
|
7799
7801
|
Kd as deleteEmailDomain,
|
|
7800
7802
|
oi as deleteForm,
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
+
Aa as deleteFormRevision,
|
|
7804
|
+
my as deleteFormRevisionAttachment,
|
|
7803
7805
|
au as deleteFormRevisionAttachments,
|
|
7804
7806
|
hu as deleteFormRevisions,
|
|
7805
7807
|
hi as deleteFormSubmission,
|
|
7806
|
-
|
|
7808
|
+
Oy as deleteFormSubmissionAttachment,
|
|
7807
7809
|
It as deleteFormSubmissionAttachments,
|
|
7808
7810
|
zt as deleteFormSubmissions,
|
|
7809
7811
|
fi as deleteGeoImage,
|
|
7810
7812
|
Du as deleteGeoImages,
|
|
7811
7813
|
ki as deleteIssue,
|
|
7812
7814
|
Si as deleteIssueAssociation,
|
|
7813
|
-
|
|
7815
|
+
Oa as deleteIssueAssociations,
|
|
7814
7816
|
Yu as deleteIssueAttachment,
|
|
7815
|
-
|
|
7817
|
+
wa as deleteIssueAttachments,
|
|
7816
7818
|
Ii as deleteIssueComment,
|
|
7817
7819
|
nl as deleteIssueCommentAttachment,
|
|
7818
7820
|
al as deleteIssueCommentAttachments,
|
|
7819
|
-
|
|
7821
|
+
By as deleteIssueComments,
|
|
7820
7822
|
Tl as deleteIssueTypeAttachment,
|
|
7821
7823
|
Pl as deleteIssueTypeAttachments,
|
|
7822
7824
|
zi as deleteIssueTypeFieldValues,
|
|
7823
|
-
|
|
7825
|
+
Pb as deleteIssueTypeFieldValuesAttachment,
|
|
7824
7826
|
wt as deleteIssueTypeFieldValuesAttachments,
|
|
7825
|
-
|
|
7827
|
+
rb as deleteIssueTypeFieldValuesMany,
|
|
7826
7828
|
Ul as deleteIssueTypeFields,
|
|
7827
|
-
|
|
7829
|
+
eb as deleteIssueTypeFieldsAttachment,
|
|
7828
7830
|
El as deleteIssueTypeFieldsAttachments,
|
|
7829
|
-
|
|
7831
|
+
pb as deleteIssueTypeFieldsMany,
|
|
7830
7832
|
nh as deleteIssueUpdate,
|
|
7831
7833
|
ah as deleteIssueUpdates,
|
|
7832
7834
|
fl as deleteIssues,
|
|
7833
|
-
|
|
7835
|
+
uS as deleteOrganization,
|
|
7834
7836
|
yh as deleteOrganizationAccess,
|
|
7835
|
-
|
|
7837
|
+
lS as deleteOrganizations,
|
|
7836
7838
|
vh as deleteProject,
|
|
7837
7839
|
Th as deleteProjectAccess,
|
|
7838
7840
|
Ph as deleteProjectAccesses,
|
|
7839
7841
|
Yh as deleteProjectAttachment,
|
|
7840
|
-
|
|
7842
|
+
ec as deleteProjectAttachments,
|
|
7841
7843
|
ip as deleteProjectFile,
|
|
7842
7844
|
np as deleteProjectFiles,
|
|
7843
|
-
|
|
7845
|
+
eS as deleteProjects,
|
|
7844
7846
|
an as deleteTeam,
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
+
zb as deleteUser,
|
|
7848
|
+
Vb as deleteUsers,
|
|
7847
7849
|
vp as dequeue,
|
|
7848
|
-
|
|
7850
|
+
yc as discard,
|
|
7849
7851
|
zd as documentAttachmentReducer,
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
+
oa as documentAttachmentSlice,
|
|
7853
|
+
da as documentSlice,
|
|
7852
7854
|
Ld as documentsReducer,
|
|
7853
7855
|
Rm as downloadFile,
|
|
7854
7856
|
Tm as downloadInMemoryFile,
|
|
7855
7857
|
Qd as emailDomainsReducer,
|
|
7856
|
-
|
|
7858
|
+
ua as emailDomainsSlice,
|
|
7857
7859
|
km as emailRegex,
|
|
7858
7860
|
Ip as enqueue,
|
|
7859
7861
|
Uh as enqueueRequest,
|
|
7860
7862
|
b as fallbackToEmptyArray,
|
|
7861
7863
|
De as fallbackToEmptyObject,
|
|
7862
7864
|
tu as fileReducer,
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
+
ha as fileSlice,
|
|
7866
|
+
Nc as fileToBlob,
|
|
7865
7867
|
yu as formReducer,
|
|
7866
7868
|
ru as formRevisionAttachmentReducer,
|
|
7867
|
-
|
|
7869
|
+
pa as formRevisionAttachmentSlice,
|
|
7868
7870
|
fu as formRevisionReducer,
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
+
ma as formRevisionsSlice,
|
|
7872
|
+
ya as formSlice,
|
|
7871
7873
|
Ru as formSubmissionAttachmentReducer,
|
|
7872
|
-
|
|
7874
|
+
ba as formSubmissionAttachmentSlice,
|
|
7873
7875
|
Eu as formSubmissionReducer,
|
|
7874
|
-
|
|
7876
|
+
ga as formSubmissionSlice,
|
|
7875
7877
|
Vu as geoImageReducer,
|
|
7876
|
-
|
|
7878
|
+
_a as geoImageSlice,
|
|
7877
7879
|
gm as getFileIdentifier,
|
|
7878
7880
|
Nt as getFileS3Key,
|
|
7879
|
-
|
|
7881
|
+
Uc as getLocalDateString,
|
|
7880
7882
|
Sm as getLocalRelativeDateString,
|
|
7881
7883
|
Ce as getOutboxCoordinator,
|
|
7882
|
-
|
|
7884
|
+
Lc as getRenamedFile,
|
|
7883
7885
|
Le as hashFile,
|
|
7884
|
-
|
|
7886
|
+
Gg as initSDK,
|
|
7885
7887
|
Yt as initializeAssetAttachments,
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7888
|
+
or as initializeAssetProcedureAttachments,
|
|
7889
|
+
xr as initializeAssetProcedureFieldValues,
|
|
7890
|
+
kr as initializeAssetProcedureFieldValuesAttachments,
|
|
7891
|
+
Fr as initializeAssetProcedureFields,
|
|
7892
|
+
br as initializeAssetProcedureFieldsAttachments,
|
|
7893
|
+
Br as initializeAssetProcedureInstances,
|
|
7894
|
+
Ao as initializeAssetProcedureStepFieldValues,
|
|
7895
|
+
uo as initializeAssetProcedureStepFieldValuesAttachments,
|
|
7896
|
+
no as initializeAssetProcedureStepFields,
|
|
7897
|
+
Qr as initializeAssetProcedureStepFieldsAttachments,
|
|
7896
7898
|
To as initializeAssetProcedureSteps,
|
|
7897
|
-
|
|
7899
|
+
Kr as initializeAssetProcedures,
|
|
7898
7900
|
Eo as initializeAssetStageCompletions,
|
|
7899
7901
|
Do as initializeAssetStages,
|
|
7900
7902
|
$o as initializeAssetTypeAttachments,
|
|
@@ -7905,7 +7907,7 @@ export {
|
|
|
7905
7907
|
Td as initializeAssetTypes,
|
|
7906
7908
|
Oo as initializeAssets,
|
|
7907
7909
|
Fd as initializeCategories,
|
|
7908
|
-
|
|
7910
|
+
Yc as initializeConversations,
|
|
7909
7911
|
wd as initializeDocumentAttachments,
|
|
7910
7912
|
Hd as initializeEmailDomains,
|
|
7911
7913
|
su as initializeFormRevisionAttachments,
|
|
@@ -7927,236 +7929,237 @@ export {
|
|
|
7927
7929
|
pl as initializeIssues,
|
|
7928
7930
|
dh as initializeLicences,
|
|
7929
7931
|
fh as initializeOrganizationAccesses,
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
+
nS as initializeOrganizations,
|
|
7933
|
+
Ka as initializeProjectAccesses,
|
|
7932
7934
|
Lh as initializeProjectAttachments,
|
|
7933
7935
|
tp as initializeProjectFiles,
|
|
7934
|
-
|
|
7936
|
+
Yb as initializeProjects,
|
|
7935
7937
|
pp as initializeTeams,
|
|
7936
7938
|
hh as initializeUsers,
|
|
7937
7939
|
bm as isToday,
|
|
7938
7940
|
Hu as issueAssociationReducer,
|
|
7939
|
-
|
|
7941
|
+
Ra as issueAssociationSlice,
|
|
7940
7942
|
el as issueAttachmentReducer,
|
|
7941
|
-
|
|
7943
|
+
Ia as issueAttachmentSlice,
|
|
7942
7944
|
dl as issueCommentAttachmentReducer,
|
|
7943
|
-
|
|
7945
|
+
Ea as issueCommentAttachmentSlice,
|
|
7944
7946
|
hl as issueCommentReducer,
|
|
7945
|
-
|
|
7947
|
+
ka as issueCommentSlice,
|
|
7946
7948
|
yl as issueReducer,
|
|
7947
|
-
|
|
7949
|
+
qa as issueSlice,
|
|
7948
7950
|
Ol as issueTypeAttachmentReducer,
|
|
7949
|
-
|
|
7951
|
+
ja as issueTypeAttachmentSlice,
|
|
7950
7952
|
Kl as issueTypeFieldValuesAttachmentReducer,
|
|
7951
|
-
|
|
7953
|
+
za as issueTypeFieldValuesAttachmentSlice,
|
|
7952
7954
|
Dl as issueTypeFieldValuesReducer,
|
|
7953
|
-
|
|
7955
|
+
Ca as issueTypeFieldValuesSlice,
|
|
7954
7956
|
jl as issueTypeFieldsAttachmentReducer,
|
|
7955
|
-
|
|
7957
|
+
Ma as issueTypeFieldsAttachmentSlice,
|
|
7956
7958
|
Gl as issueTypeFieldsReducer,
|
|
7957
|
-
|
|
7959
|
+
xa as issueTypeFieldsSlice,
|
|
7958
7960
|
eh as issueTypeReducer,
|
|
7959
|
-
|
|
7961
|
+
Ua as issueTypeSlice,
|
|
7960
7962
|
oh as issueUpdateReducer,
|
|
7961
|
-
|
|
7963
|
+
Ga as issueUpdateSlice,
|
|
7962
7964
|
lh as licenseReducer,
|
|
7963
|
-
|
|
7965
|
+
Ba as licenseSlice,
|
|
7964
7966
|
Fm as logOnlyOnce,
|
|
7965
7967
|
$h as markAsDeleted,
|
|
7966
|
-
|
|
7968
|
+
SS as markForDeletion,
|
|
7967
7969
|
mn as memoize,
|
|
7968
7970
|
$d as moveDocument,
|
|
7969
7971
|
R as offline,
|
|
7970
7972
|
Em as onlyUniqueHashes,
|
|
7971
|
-
|
|
7973
|
+
Kc as onlyUniqueOfflineIds,
|
|
7972
7974
|
Sh as organizationAccessReducer,
|
|
7973
|
-
|
|
7975
|
+
Na as organizationAccessSlice,
|
|
7974
7976
|
zh as organizationReducer,
|
|
7975
|
-
|
|
7977
|
+
Qa as organizationSlice,
|
|
7976
7978
|
Bh as outboxReducer,
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
|
|
7979
|
+
Xa as outboxSlice,
|
|
7980
|
+
xS as overmapEnhancer,
|
|
7981
|
+
DS as overmapReducer,
|
|
7980
7982
|
Sp as overmapReducers,
|
|
7981
|
-
|
|
7983
|
+
mc as performRequest,
|
|
7982
7984
|
Fh as projectAccessReducer,
|
|
7983
|
-
|
|
7985
|
+
Wa as projectAccessSlice,
|
|
7984
7986
|
ep as projectAttachmentReducer,
|
|
7985
|
-
|
|
7987
|
+
Za as projectAttachmentSlice,
|
|
7986
7988
|
up as projectFileReducer,
|
|
7987
|
-
|
|
7989
|
+
tc as projectFileSlice,
|
|
7988
7990
|
Eh as projectReducer,
|
|
7989
|
-
|
|
7991
|
+
Ja as projectSlice,
|
|
7990
7992
|
hp as rehydratedReducer,
|
|
7991
|
-
|
|
7993
|
+
sc as rehydratedSlice,
|
|
7992
7994
|
si as removeDocuments,
|
|
7993
7995
|
Bi as removeIssueType,
|
|
7994
7996
|
ph as removeUser,
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
+
OS as resetProjectFileObjectUrls,
|
|
7998
|
+
xc as resetStore,
|
|
7997
7999
|
y as restructureCreateSelectorWithArgs,
|
|
7998
8000
|
rp as saveActiveProjectFileBounds,
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8001
|
+
QA as selectAccessToken,
|
|
8002
|
+
Nb as selectActiveOrganizationAccess,
|
|
8003
|
+
vS as selectActiveProjectFileId,
|
|
8004
|
+
Eb as selectActiveStatusLicenses,
|
|
8003
8005
|
Dd as selectAllDocumentAttachments,
|
|
8004
8006
|
Qh as selectAllProjectAttachments,
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8007
|
+
ry as selectAncestorIdsOfDocument,
|
|
8008
|
+
ar as selectAssetAttachmentById,
|
|
8009
|
+
ir as selectAssetAttachmentMapping,
|
|
8010
|
+
nr as selectAssetAttachments,
|
|
8009
8011
|
Is as selectAssetById,
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8012
|
+
Ar as selectAssetProcedureAttachmentById,
|
|
8013
|
+
mr as selectAssetProcedureAttachmentMapping,
|
|
8014
|
+
fr as selectAssetProcedureAttachments,
|
|
8013
8015
|
ls as selectAssetProcedureById,
|
|
8014
8016
|
In as selectAssetProcedureFieldValues,
|
|
8015
8017
|
of as selectAssetProcedureFieldValuesAttachmentById,
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
+
jr as selectAssetProcedureFieldValuesAttachments,
|
|
8019
|
+
Mr as selectAssetProcedureFieldValuesAttachmentsByIds,
|
|
8018
8020
|
Fn as selectAssetProcedureFieldValuesAttachmentsMapping,
|
|
8019
8021
|
is as selectAssetProcedureFieldValuesById,
|
|
8020
|
-
|
|
8022
|
+
$r as selectAssetProcedureFieldValuesMapping,
|
|
8021
8023
|
lf as selectAssetProcedureFieldValuesOfAsset,
|
|
8022
8024
|
_n as selectAssetProcedureFields,
|
|
8023
8025
|
Wm as selectAssetProcedureFieldsAttachmentById,
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
+
_r as selectAssetProcedureFieldsAttachments,
|
|
8027
|
+
Pr as selectAssetProcedureFieldsAttachmentsMapping,
|
|
8026
8028
|
tf as selectAssetProcedureFieldsById,
|
|
8027
|
-
|
|
8029
|
+
wr as selectAssetProcedureFieldsMapping,
|
|
8028
8030
|
Zm as selectAssetProcedureFieldsOfAssetProcedure,
|
|
8029
8031
|
rs as selectAssetProcedureInstanceById,
|
|
8030
8032
|
En as selectAssetProcedureInstances,
|
|
8031
8033
|
yf as selectAssetProcedureInstancesByIds,
|
|
8032
8034
|
wn as selectAssetProcedureInstancesMapping,
|
|
8033
|
-
|
|
8035
|
+
Hr as selectAssetProcedureInstancesOfAssetProcedure,
|
|
8034
8036
|
Af as selectAssetProcedureInstancesOfAssetType,
|
|
8035
8037
|
Ro as selectAssetProcedureStepById,
|
|
8036
|
-
|
|
8038
|
+
Un as selectAssetProcedureStepFieldValues,
|
|
8037
8039
|
Hf as selectAssetProcedureStepFieldValuesAttachmentById,
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
+
ho as selectAssetProcedureStepFieldValuesAttachments,
|
|
8041
|
+
po as selectAssetProcedureStepFieldValuesAttachmentsByIds,
|
|
8040
8042
|
xn as selectAssetProcedureStepFieldValuesAttachmentsMapping,
|
|
8041
8043
|
bs as selectAssetProcedureStepFieldValuesById,
|
|
8042
8044
|
Vn as selectAssetProcedureStepFieldValuesMapping,
|
|
8043
8045
|
Yf as selectAssetProcedureStepFieldValuesOfAsset,
|
|
8044
|
-
Jf as
|
|
8046
|
+
Jf as selectAssetProcedureStepFieldValuesOfAssetProcedureInstance,
|
|
8047
|
+
Qf as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
|
|
8045
8048
|
Cn as selectAssetProcedureStepFields,
|
|
8046
8049
|
kf as selectAssetProcedureStepFieldsAttachmentById,
|
|
8047
|
-
|
|
8048
|
-
|
|
8050
|
+
so as selectAssetProcedureStepFieldsAttachments,
|
|
8051
|
+
to as selectAssetProcedureStepFieldsAttachmentsMapping,
|
|
8049
8052
|
Uf as selectAssetProcedureStepFieldsById,
|
|
8050
8053
|
kt as selectAssetProcedureStepFieldsMapping,
|
|
8051
8054
|
xf as selectAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
8052
8055
|
qt as selectAssetProcedureStepMapping,
|
|
8053
8056
|
Fo as selectAssetProcedureSteps,
|
|
8054
8057
|
_s as selectAssetProcedureStepsByIds,
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
+
tA as selectAssetProcedureStepsMappingOfAssetProcedure,
|
|
8059
|
+
sA as selectAssetProcedureStepsOfAssetProcedure,
|
|
8060
|
+
Yr as selectAssetProcedures,
|
|
8058
8061
|
Rf as selectAssetProceduresByIds,
|
|
8059
8062
|
qn as selectAssetProceduresMapping,
|
|
8060
8063
|
_f as selectAssetProceduresOfOrganization,
|
|
8061
8064
|
Vo as selectAssetStageById,
|
|
8062
8065
|
Mo as selectAssetStageCompletionById,
|
|
8063
|
-
|
|
8064
|
-
|
|
8066
|
+
Wn as selectAssetStageCompletionMapping,
|
|
8067
|
+
oA as selectAssetStageCompletions,
|
|
8065
8068
|
Co as selectAssetStageCompletionsByIds,
|
|
8066
8069
|
Uo as selectAssetStages,
|
|
8067
8070
|
xs as selectAssetStagesByIds,
|
|
8068
|
-
|
|
8069
|
-
|
|
8071
|
+
hA as selectAssetStagesMappingOfAssetProcedure,
|
|
8072
|
+
pA as selectAssetStagesOfAssetProcedure,
|
|
8070
8073
|
Wo as selectAssetTypeAttachmentById,
|
|
8071
8074
|
No as selectAssetTypeAttachmentMapping,
|
|
8072
8075
|
Ho as selectAssetTypeAttachments,
|
|
8073
8076
|
Ys as selectAssetTypeById,
|
|
8074
|
-
|
|
8075
|
-
|
|
8077
|
+
ia as selectAssetTypeFieldValues,
|
|
8078
|
+
xA as selectAssetTypeFieldValuesAttachmentById,
|
|
8076
8079
|
ld as selectAssetTypeFieldValuesAttachments,
|
|
8077
8080
|
hd as selectAssetTypeFieldValuesAttachmentsByIds,
|
|
8078
|
-
|
|
8081
|
+
ta as selectAssetTypeFieldValuesAttachmentsMapping,
|
|
8079
8082
|
Ns as selectAssetTypeFieldValuesById,
|
|
8080
8083
|
Sd as selectAssetTypeFieldValuesMapping,
|
|
8081
|
-
|
|
8084
|
+
UA as selectAssetTypeFieldValuesOfAsset,
|
|
8082
8085
|
Mt as selectAssetTypeFields,
|
|
8083
|
-
|
|
8086
|
+
_A as selectAssetTypeFieldsAttachmentById,
|
|
8084
8087
|
td as selectAssetTypeFieldsAttachments,
|
|
8085
8088
|
ed as selectAssetTypeFieldsAttachmentsMapping,
|
|
8086
|
-
|
|
8089
|
+
kA as selectAssetTypeFieldsById,
|
|
8087
8090
|
rd as selectAssetTypeFieldsMapping,
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8091
|
+
wA as selectAssetTypeFieldsOfAssetType,
|
|
8092
|
+
$A as selectAssetTypeValuesOfAssetType,
|
|
8093
|
+
WA as selectAssetTypes,
|
|
8094
|
+
KA as selectAssetTypesByIds,
|
|
8095
|
+
aa as selectAssetTypesMapping,
|
|
8093
8096
|
vo as selectAssets,
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8097
|
+
cA as selectAssetsByIds,
|
|
8098
|
+
Ln as selectAssetsMapping,
|
|
8099
|
+
Nn as selectAssetsOfAssetType,
|
|
8100
|
+
cr as selectAttachmentsOfAsset,
|
|
8098
8101
|
Um as selectAttachmentsOfAssetProcedure,
|
|
8099
|
-
|
|
8102
|
+
Cr as selectAttachmentsOfAssetProcedureFieldValues,
|
|
8100
8103
|
Hm as selectAttachmentsOfAssetProcedureFields,
|
|
8101
|
-
|
|
8104
|
+
mo as selectAttachmentsOfAssetProcedureStepFieldValues,
|
|
8102
8105
|
Ef as selectAttachmentsOfAssetProcedureStepFields,
|
|
8103
8106
|
Ko as selectAttachmentsOfAssetType,
|
|
8104
8107
|
pd as selectAttachmentsOfAssetTypeFieldValues,
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
+
PA as selectAttachmentsOfAssetTypeFields,
|
|
8109
|
+
ay as selectAttachmentsOfDocument,
|
|
8110
|
+
fy as selectAttachmentsOfFormRevision,
|
|
8108
8111
|
_u as selectAttachmentsOfFormSubmission,
|
|
8109
8112
|
Xu as selectAttachmentsOfIssue,
|
|
8110
|
-
|
|
8111
|
-
|
|
8113
|
+
$y as selectAttachmentsOfIssueComment,
|
|
8114
|
+
Yy as selectAttachmentsOfIssueType,
|
|
8112
8115
|
Wl as selectAttachmentsOfIssueTypeFieldValues,
|
|
8113
|
-
|
|
8116
|
+
tb as selectAttachmentsOfIssueTypeFields,
|
|
8114
8117
|
Zh as selectAttachmentsOfProject,
|
|
8115
|
-
|
|
8116
|
-
|
|
8118
|
+
ZA as selectCategories,
|
|
8119
|
+
ey as selectCategoriesByIds,
|
|
8117
8120
|
Zs as selectCategoryById,
|
|
8118
|
-
|
|
8119
|
-
|
|
8121
|
+
ra as selectCategoryMapping,
|
|
8122
|
+
Ly as selectCommentsOfIssue,
|
|
8120
8123
|
jm as selectConversation,
|
|
8121
8124
|
An as selectConversationMapping,
|
|
8122
8125
|
qm as selectConversations,
|
|
8123
8126
|
$t as selectCurrentUser,
|
|
8124
|
-
|
|
8127
|
+
yS as selectDeletedRequests,
|
|
8125
8128
|
xd as selectDocumentAttachmentById,
|
|
8126
8129
|
Cd as selectDocumentAttachmentMapping,
|
|
8127
8130
|
Bd as selectDocumentById,
|
|
8128
8131
|
Gd as selectDocuments,
|
|
8129
|
-
|
|
8132
|
+
cy as selectDocumentsByIds,
|
|
8130
8133
|
Ne as selectDocumentsMapping,
|
|
8131
8134
|
Jd as selectEmailDomains,
|
|
8132
8135
|
Yd as selectEmailDomainsAsMapping,
|
|
8133
|
-
|
|
8136
|
+
dy as selectEmailDomainsOfOrganization,
|
|
8134
8137
|
hf as selectFieldValuesOfAssetProcedureInstance,
|
|
8135
8138
|
Su as selectFormById,
|
|
8136
8139
|
bu as selectFormMapping,
|
|
8137
8140
|
cu as selectFormRevisionAttachmentsMapping,
|
|
8138
|
-
|
|
8141
|
+
Ay as selectFormRevisionById,
|
|
8139
8142
|
Dt as selectFormRevisionMapping,
|
|
8140
8143
|
pu as selectFormRevisions,
|
|
8141
8144
|
mu as selectFormRevisionsOfForm,
|
|
8142
8145
|
Pu as selectFormSubmissionAttachemntsByIds,
|
|
8143
|
-
|
|
8146
|
+
Sa as selectFormSubmissionAttachmentsMapping,
|
|
8144
8147
|
pi as selectFormSubmissionById,
|
|
8145
|
-
|
|
8146
|
-
|
|
8148
|
+
Pa as selectFormSubmissions,
|
|
8149
|
+
Ta as selectFormSubmissionsMapping,
|
|
8147
8150
|
wu as selectFormSubmissionsOfAsset,
|
|
8148
8151
|
Iu as selectFormSubmissionsOfForm,
|
|
8149
8152
|
vu as selectFormSubmissionsOfIssue,
|
|
8150
|
-
|
|
8153
|
+
Ty as selectForms,
|
|
8151
8154
|
Ai as selectGeoImageById,
|
|
8152
8155
|
xu as selectGeoImageMapping,
|
|
8153
8156
|
zu as selectGeoImages,
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
+
Ey as selectGeoImagesOfProject,
|
|
8158
|
+
wS as selectIsImportingProjectFile,
|
|
8159
|
+
XA as selectIsLoggedIn,
|
|
8157
8160
|
Gu as selectIssueAssociationById,
|
|
8158
8161
|
ut as selectIssueAssociationMapping,
|
|
8159
|
-
|
|
8162
|
+
My as selectIssueAssociations,
|
|
8160
8163
|
Nu as selectIssueAssociationsOfAsset,
|
|
8161
8164
|
Lu as selectIssueAssociationsOfIssue,
|
|
8162
8165
|
Bu as selectIssueAssociationsToIssue,
|
|
@@ -8169,97 +8172,97 @@ export {
|
|
|
8169
8172
|
rl as selectIssueCommentAttachments,
|
|
8170
8173
|
vi as selectIssueCommentById,
|
|
8171
8174
|
ll as selectIssueCommentMapping,
|
|
8172
|
-
|
|
8175
|
+
ty as selectIssueCountOfCategory,
|
|
8173
8176
|
Al as selectIssueMapping,
|
|
8174
8177
|
Fl as selectIssueTypeAttachmentById,
|
|
8175
8178
|
_l as selectIssueTypeAttachmentMapping,
|
|
8176
8179
|
Rl as selectIssueTypeAttachments,
|
|
8177
8180
|
Li as selectIssueTypeById,
|
|
8178
|
-
|
|
8179
|
-
|
|
8181
|
+
Da as selectIssueTypeFieldValues,
|
|
8182
|
+
_b as selectIssueTypeFieldValuesAttachmentById,
|
|
8180
8183
|
Nl as selectIssueTypeFieldValuesAttachments,
|
|
8181
8184
|
Hl as selectIssueTypeFieldValuesAttachmentsByIds,
|
|
8182
|
-
|
|
8185
|
+
Va as selectIssueTypeFieldValuesAttachmentsMapping,
|
|
8183
8186
|
Vi as selectIssueTypeFieldValuesById,
|
|
8184
8187
|
Cl as selectIssueTypeFieldValuesMapping,
|
|
8185
|
-
|
|
8188
|
+
ob as selectIssueTypeFieldValuesOfIssue,
|
|
8186
8189
|
Vt as selectIssueTypeFields,
|
|
8187
|
-
|
|
8190
|
+
sb as selectIssueTypeFieldsAttachmentById,
|
|
8188
8191
|
ql as selectIssueTypeFieldsAttachments,
|
|
8189
8192
|
kl as selectIssueTypeFieldsAttachmentsMapping,
|
|
8190
|
-
|
|
8193
|
+
yb as selectIssueTypeFieldsById,
|
|
8191
8194
|
$l as selectIssueTypeFieldsMapping,
|
|
8192
|
-
|
|
8195
|
+
mb as selectIssueTypeFieldsOfIssueType,
|
|
8193
8196
|
Xl as selectIssueTypeMapping,
|
|
8194
|
-
|
|
8197
|
+
Ab as selectIssueTypeValuesOfIssueType,
|
|
8195
8198
|
Zl as selectIssueTypes,
|
|
8196
|
-
|
|
8197
|
-
|
|
8199
|
+
Rb as selectIssueTypesByIds,
|
|
8200
|
+
Fb as selectIssueTypesOfOrganization,
|
|
8198
8201
|
ch as selectIssueUpdateMapping,
|
|
8199
8202
|
rh as selectIssueUpdatesOfIssue,
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
+
Ny as selectIssuesByIds,
|
|
8204
|
+
$a as selectIssuesOfIssueType,
|
|
8205
|
+
Ob as selectIssuesOfIssueTypeCount,
|
|
8203
8206
|
ef as selectLatestAssetProcedureFieldsOfAssetProcedure,
|
|
8204
8207
|
zf as selectLatestAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
8205
|
-
|
|
8208
|
+
EA as selectLatestAssetTypeFieldsOfAssetType,
|
|
8206
8209
|
Vf as selectLatestFieldsByAssetProcedureStep,
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8210
|
+
yy as selectLatestFormRevisionOfForm,
|
|
8211
|
+
fb as selectLatestIssueTypeFieldsOfIssueType,
|
|
8212
|
+
bS as selectLatestRetryTime,
|
|
8213
|
+
wb as selectLicense,
|
|
8211
8214
|
uh as selectLicenseForProject,
|
|
8212
8215
|
Ut as selectLicenses,
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8216
|
+
kb as selectLicensesForProjectsMapping,
|
|
8217
|
+
fS as selectLicensesOfOrganization,
|
|
8218
|
+
rA as selectNumberOfAssetsOfAssetType,
|
|
8219
|
+
Lb as selectOrganizationAccessById,
|
|
8220
|
+
Hb as selectOrganizationAccessForUser,
|
|
8218
8221
|
bh as selectOrganizationAccessUserMapping,
|
|
8219
|
-
|
|
8220
|
-
|
|
8222
|
+
Ha as selectOrganizationAccesses,
|
|
8223
|
+
hS as selectOrganizationById,
|
|
8221
8224
|
xh as selectOrganizationUsersAsMapping,
|
|
8222
8225
|
Dh as selectOrganizationUsersIds,
|
|
8223
8226
|
Ch as selectOrganizations,
|
|
8224
8227
|
Mh as selectOrganizationsMapping,
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8228
|
+
pS as selectOrganizationsWithAccess,
|
|
8229
|
+
Wb as selectProjectAccessById,
|
|
8230
|
+
Kb as selectProjectAccessForUser,
|
|
8231
|
+
Ya as selectProjectAccessMapping,
|
|
8229
8232
|
Rh as selectProjectAccessUserMapping,
|
|
8230
8233
|
_h as selectProjectAccesses,
|
|
8231
8234
|
Xh as selectProjectAttachmentById,
|
|
8232
8235
|
Jh as selectProjectAttachmentMapping,
|
|
8233
|
-
|
|
8234
|
-
|
|
8236
|
+
sS as selectProjectById,
|
|
8237
|
+
IS as selectProjectFileById,
|
|
8235
8238
|
op as selectProjectFileMapping,
|
|
8236
8239
|
dp as selectProjectFiles,
|
|
8237
8240
|
Bt as selectProjectMapping,
|
|
8238
8241
|
qh as selectProjectUsersAsMapping,
|
|
8239
8242
|
kh as selectProjectUsersIds,
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8243
|
+
tS as selectProjects,
|
|
8244
|
+
mS as selectProjectsOfOrganization,
|
|
8245
|
+
kS as selectRehydrated,
|
|
8246
|
+
oy as selectRootDocuments,
|
|
8247
|
+
AS as selectSortedOrganizationUsers,
|
|
8248
|
+
iS as selectSortedProjectUsers,
|
|
8246
8249
|
jt as selectStageMapping,
|
|
8247
8250
|
Ve as selectTeamById,
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8251
|
+
ac as selectTeams,
|
|
8252
|
+
qS as selectTeamsByIds,
|
|
8253
|
+
nc as selectTeamsMapping,
|
|
8254
|
+
jS as selectTeamsOfOrganization,
|
|
8255
|
+
MS as selectTeamsOfUser,
|
|
8253
8256
|
eu as selectUploadUrl,
|
|
8254
|
-
|
|
8255
|
-
|
|
8257
|
+
Gb as selectUserById,
|
|
8258
|
+
Bb as selectUsersByIds,
|
|
8256
8259
|
Gt as selectUsersMapping,
|
|
8257
8260
|
cp as setActiveProjectFileId,
|
|
8258
|
-
|
|
8259
|
-
|
|
8261
|
+
nA as setAsset,
|
|
8262
|
+
er as setAssetAttachment,
|
|
8260
8263
|
Cm as setAssetAttachments,
|
|
8261
8264
|
Tf as setAssetProcedure,
|
|
8262
|
-
|
|
8265
|
+
ur as setAssetProcedureAttachment,
|
|
8263
8266
|
zm as setAssetProcedureAttachments,
|
|
8264
8267
|
df as setAssetProcedureFieldValues,
|
|
8265
8268
|
nf as setAssetProcedureFieldValuesAttachment,
|
|
@@ -8280,107 +8283,107 @@ export {
|
|
|
8280
8283
|
Of as setAssetProcedureStepFieldsAttachment,
|
|
8281
8284
|
If as setAssetProcedureStepFieldsAttachments,
|
|
8282
8285
|
Mf as setAssetProcedureStepFieldsMany,
|
|
8283
|
-
|
|
8286
|
+
Xf as setAssetProcedureSteps,
|
|
8284
8287
|
Pf as setAssetProcedures,
|
|
8285
8288
|
xo as setAssetStage,
|
|
8286
|
-
|
|
8287
|
-
|
|
8289
|
+
dA as setAssetStages,
|
|
8290
|
+
GA as setAssetType,
|
|
8288
8291
|
Go as setAssetTypeAttachment,
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8292
|
+
fA as setAssetTypeAttachments,
|
|
8293
|
+
zA as setAssetTypeFieldValues,
|
|
8294
|
+
jA as setAssetTypeFieldValuesAttachment,
|
|
8295
|
+
MA as setAssetTypeFieldValuesAttachments,
|
|
8296
|
+
VA as setAssetTypeFieldValuesMany,
|
|
8297
|
+
FA as setAssetTypeFields,
|
|
8298
|
+
bA as setAssetTypeFieldsAttachment,
|
|
8299
|
+
SA as setAssetTypeFieldsAttachments,
|
|
8300
|
+
OA as setAssetTypeFieldsMany,
|
|
8301
|
+
BA as setAssetTypes,
|
|
8302
|
+
aA as setAssets,
|
|
8303
|
+
Qc as setConversation,
|
|
8304
|
+
Ub as setCurrentUser,
|
|
8302
8305
|
kd as setDocumentAttachment,
|
|
8303
|
-
|
|
8306
|
+
iy as setDocumentAttachments,
|
|
8304
8307
|
Vd as setDocuments,
|
|
8305
|
-
|
|
8308
|
+
by as setForm,
|
|
8306
8309
|
du as setFormRevision,
|
|
8307
|
-
|
|
8308
|
-
|
|
8310
|
+
ly as setFormRevisionAttachment,
|
|
8311
|
+
hy as setFormRevisionAttachments,
|
|
8309
8312
|
pt as setFormSubmission,
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
+
_y as setFormSubmissionAttachment,
|
|
8314
|
+
Ry as setFormSubmissionAttachments,
|
|
8315
|
+
Iy as setFormSubmissions,
|
|
8313
8316
|
tt as setGeoImage,
|
|
8314
8317
|
qu as setGeoImages,
|
|
8315
8318
|
ap as setIsImportingProjectFile,
|
|
8316
|
-
|
|
8317
|
-
|
|
8319
|
+
qy as setIssueAssociation,
|
|
8320
|
+
ky as setIssueAssociations,
|
|
8318
8321
|
Wu as setIssueAttachment,
|
|
8319
|
-
|
|
8322
|
+
Dy as setIssueAttachments,
|
|
8320
8323
|
Fi as setIssueComment,
|
|
8321
8324
|
sl as setIssueCommentAttachment,
|
|
8322
|
-
|
|
8325
|
+
Vy as setIssueCommentAttachments,
|
|
8323
8326
|
ul as setIssueComments,
|
|
8324
8327
|
it as setIssueType,
|
|
8325
8328
|
Sl as setIssueTypeAttachment,
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
|
|
8329
|
+
Wy as setIssueTypeAttachments,
|
|
8330
|
+
nb as setIssueTypeFieldValues,
|
|
8331
|
+
Sb as setIssueTypeFieldValuesAttachment,
|
|
8332
|
+
gb as setIssueTypeFieldValuesAttachments,
|
|
8333
|
+
ab as setIssueTypeFieldValuesMany,
|
|
8334
|
+
ub as setIssueTypeFields,
|
|
8335
|
+
Qy as setIssueTypeFieldsAttachment,
|
|
8336
|
+
Xy as setIssueTypeFieldsAttachments,
|
|
8337
|
+
lb as setIssueTypeFieldsMany,
|
|
8338
|
+
Ib as setIssueUpdate,
|
|
8336
8339
|
_d as setLoggedIn,
|
|
8337
|
-
|
|
8340
|
+
aS as setOrganization,
|
|
8338
8341
|
jh as setOrganizations,
|
|
8339
|
-
|
|
8340
|
-
|
|
8342
|
+
$b as setProfilePicture,
|
|
8343
|
+
Jb as setProject,
|
|
8341
8344
|
Hh as setProjectAttachment,
|
|
8342
8345
|
Wh as setProjectAttachments,
|
|
8343
|
-
|
|
8344
|
-
|
|
8346
|
+
PS as setProjectFile,
|
|
8347
|
+
_S as setProjectFiles,
|
|
8345
8348
|
Oh as setProjects,
|
|
8346
|
-
|
|
8349
|
+
ES as setRehydrated,
|
|
8347
8350
|
ze as setTeam,
|
|
8348
|
-
|
|
8351
|
+
YA as setTokens,
|
|
8349
8352
|
Zd as setUploadUrl,
|
|
8350
|
-
|
|
8351
|
-
|
|
8353
|
+
jb as setUser,
|
|
8354
|
+
qb as setUsers,
|
|
8352
8355
|
Am as shallowEqual,
|
|
8353
8356
|
vm as slugify,
|
|
8354
8357
|
Im as spacesToDashesLower,
|
|
8355
8358
|
fp as teamReducer,
|
|
8356
|
-
|
|
8359
|
+
ic as teamSlice,
|
|
8357
8360
|
Om as toFileNameSafeString,
|
|
8358
|
-
|
|
8361
|
+
Wc as toOfflineIdRecord,
|
|
8359
8362
|
wm as truncate,
|
|
8360
8363
|
Xe as updateAsset,
|
|
8361
8364
|
Dm as updateAssetAttachment,
|
|
8362
|
-
|
|
8365
|
+
tr as updateAssetAttachments,
|
|
8363
8366
|
Je as updateAssetProcedure,
|
|
8364
8367
|
Vm as updateAssetProcedureAttachment,
|
|
8365
|
-
|
|
8368
|
+
lr as updateAssetProcedureAttachments,
|
|
8366
8369
|
Ke as updateAssetProcedureFieldValues,
|
|
8367
8370
|
cf as updateAssetProcedureFieldValuesAttachment,
|
|
8368
|
-
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
+
qr as updateAssetProcedureFieldValuesAttachments,
|
|
8372
|
+
Vr as updateAssetProcedureFieldValuesMany,
|
|
8373
|
+
Ir as updateAssetProcedureFields,
|
|
8371
8374
|
Lm as updateAssetProcedureFieldsAttachment,
|
|
8372
|
-
|
|
8375
|
+
gr as updateAssetProcedureFieldsAttachments,
|
|
8373
8376
|
Qm as updateAssetProcedureFieldsMany,
|
|
8374
8377
|
Ye as updateAssetProcedureInstance,
|
|
8375
8378
|
pf as updateAssetProcedureInstances,
|
|
8376
8379
|
Ts as updateAssetProcedureStep,
|
|
8377
8380
|
Qe as updateAssetProcedureStepFieldValues,
|
|
8378
8381
|
Lf as updateAssetProcedureStepFieldValuesAttachment,
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
+
lo as updateAssetProcedureStepFieldValuesAttachments,
|
|
8383
|
+
bo as updateAssetProcedureStepFieldValuesMany,
|
|
8384
|
+
co as updateAssetProcedureStepFields,
|
|
8382
8385
|
vf as updateAssetProcedureStepFieldsAttachment,
|
|
8383
|
-
|
|
8386
|
+
Zr as updateAssetProcedureStepFieldsAttachments,
|
|
8384
8387
|
Cf as updateAssetProcedureStepFieldsMany,
|
|
8385
8388
|
lt as updateAssetProcedureSteps,
|
|
8386
8389
|
Sf as updateAssetProcedures,
|
|
@@ -8389,66 +8392,66 @@ export {
|
|
|
8389
8392
|
qo as updateAssetStageCompletions,
|
|
8390
8393
|
ht as updateAssetStages,
|
|
8391
8394
|
et as updateAssetType,
|
|
8392
|
-
|
|
8395
|
+
AA as updateAssetTypeAttachment,
|
|
8393
8396
|
Bo as updateAssetTypeAttachments,
|
|
8394
8397
|
Ze as updateAssetTypeFieldValues,
|
|
8395
|
-
|
|
8398
|
+
CA as updateAssetTypeFieldValuesAttachment,
|
|
8396
8399
|
ud as updateAssetTypeFieldValuesAttachments,
|
|
8397
8400
|
yd as updateAssetTypeFieldValuesMany,
|
|
8398
8401
|
ad as updateAssetTypeFields,
|
|
8399
|
-
|
|
8402
|
+
gA as updateAssetTypeFieldsAttachment,
|
|
8400
8403
|
Xo as updateAssetTypeFieldsAttachments,
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
+
IA as updateAssetTypeFieldsMany,
|
|
8405
|
+
NA as updateAssetTypes,
|
|
8406
|
+
iA as updateAssets,
|
|
8404
8407
|
Od as updateCategory,
|
|
8405
|
-
|
|
8406
|
-
|
|
8408
|
+
Xc as updateConversation,
|
|
8409
|
+
ny as updateDocumentAttachment,
|
|
8407
8410
|
qd as updateDocumentAttachments,
|
|
8408
8411
|
_e as updateDocuments,
|
|
8409
|
-
|
|
8410
|
-
|
|
8412
|
+
gy as updateForm,
|
|
8413
|
+
py as updateFormRevisionAttachment,
|
|
8411
8414
|
nu as updateFormRevisionAttachments,
|
|
8412
8415
|
Ou as updateFormSubmission,
|
|
8413
|
-
|
|
8416
|
+
Fy as updateFormSubmissionAttachment,
|
|
8414
8417
|
Tu as updateFormSubmissionAttachments,
|
|
8415
|
-
|
|
8418
|
+
vy as updateFormSubmissions,
|
|
8416
8419
|
Cu as updateGeoImage,
|
|
8417
|
-
|
|
8420
|
+
wy as updateGeoImages,
|
|
8418
8421
|
mt as updateIssue,
|
|
8419
8422
|
$u as updateIssueAssociation,
|
|
8420
|
-
|
|
8421
|
-
|
|
8423
|
+
jy as updateIssueAssociations,
|
|
8424
|
+
xy as updateIssueAttachment,
|
|
8422
8425
|
Ku as updateIssueAttachments,
|
|
8423
|
-
|
|
8426
|
+
Uy as updateIssueCommentAttachment,
|
|
8424
8427
|
il as updateIssueCommentAttachments,
|
|
8425
8428
|
Ql as updateIssueType,
|
|
8426
|
-
|
|
8429
|
+
Ky as updateIssueTypeAttachment,
|
|
8427
8430
|
gl as updateIssueTypeAttachments,
|
|
8428
8431
|
st as updateIssueTypeFieldValues,
|
|
8429
|
-
|
|
8432
|
+
Tb as updateIssueTypeFieldValuesAttachment,
|
|
8430
8433
|
Ll as updateIssueTypeFieldValuesAttachments,
|
|
8431
|
-
|
|
8434
|
+
cb as updateIssueTypeFieldValuesMany,
|
|
8432
8435
|
Vl as updateIssueTypeFields,
|
|
8433
|
-
|
|
8436
|
+
Zy as updateIssueTypeFieldsAttachment,
|
|
8434
8437
|
wl as updateIssueTypeFieldsAttachments,
|
|
8435
|
-
|
|
8438
|
+
hb as updateIssueTypeFieldsMany,
|
|
8436
8439
|
ge as updateLicense,
|
|
8437
|
-
|
|
8440
|
+
dS as updateOrganization,
|
|
8438
8441
|
Ah as updateOrganizationAccess,
|
|
8439
|
-
|
|
8442
|
+
oS as updateOrganizations,
|
|
8440
8443
|
Ih as updateProject,
|
|
8441
8444
|
gh as updateProjectAccess,
|
|
8442
|
-
|
|
8445
|
+
TS as updateProjectAttachment,
|
|
8443
8446
|
Kh as updateProjectAttachments,
|
|
8444
8447
|
tn as updateProjectFile,
|
|
8445
|
-
|
|
8446
|
-
|
|
8448
|
+
FS as updateProjectFiles,
|
|
8449
|
+
Zb as updateProjects,
|
|
8447
8450
|
nn as updateTeam,
|
|
8448
|
-
|
|
8449
|
-
|
|
8451
|
+
xb as updateUser,
|
|
8452
|
+
Db as updateUsers,
|
|
8450
8453
|
mh as userReducer,
|
|
8451
|
-
|
|
8454
|
+
La as userSlice,
|
|
8452
8455
|
bp as versioningReducer,
|
|
8453
8456
|
yp as versioningSlice
|
|
8454
8457
|
};
|