@overmap-ai/core 1.0.78-procedure-steps.1 → 1.0.78-procedure-steps.2
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
|
@@ -2,12 +2,12 @@ var bc = Object.defineProperty;
|
|
|
2
2
|
var Sc = (t, e, s) => e in t ? bc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
3
|
var A = (t, e, s) => Sc(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
|
|
5
|
+
import { createSlice as T, createSelector as m, combineReducers as dn, compose as gc } from "@reduxjs/toolkit";
|
|
6
6
|
import qe from "superagent";
|
|
7
7
|
import { v4 as we } from "uuid";
|
|
8
8
|
import { saveAs as Tc } from "file-saver";
|
|
9
9
|
import { offline as Pc } from "@redux-offline/redux-offline";
|
|
10
|
-
import
|
|
10
|
+
import Lt from "@redux-offline/redux-offline/lib/defaults";
|
|
11
11
|
import "buffer";
|
|
12
12
|
import _c from "localforage";
|
|
13
13
|
import Rc from "redux-persist-migrate";
|
|
@@ -18,8 +18,8 @@ import Ic from "jwt-decode";
|
|
|
18
18
|
import { DepGraph as vc } from "dependency-graph";
|
|
19
19
|
import "@tiptap/core";
|
|
20
20
|
const wc = Object.freeze([]), Ec = Object.freeze({});
|
|
21
|
-
var
|
|
22
|
-
const um =
|
|
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 || {}), kc = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))(kc || {}), 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 || {}), qc = /* @__PURE__ */ ((t) => (t.COMPLETED = "checkout.completed", t.CLOSED = "checkout.closed", t))(qc || {}), jc = /* @__PURE__ */ ((t) => (t[t.PRO = 0] = "PRO", t))(jc || {}), Mc = /* @__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))(Mc || {});
|
|
22
|
+
const um = pn.BACKLOG, lm = hn.MEDIUM, Cc = 6e4;
|
|
23
23
|
function _(t) {
|
|
24
24
|
return {
|
|
25
25
|
addOne: (h, p) => {
|
|
@@ -113,11 +113,11 @@ function hm() {
|
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
const dt = "versioning", Dc = "RESET";
|
|
116
|
-
var
|
|
117
|
-
|
|
116
|
+
var on;
|
|
117
|
+
on = Symbol.toStringTag;
|
|
118
118
|
class xc {
|
|
119
119
|
constructor() {
|
|
120
|
-
A(this,
|
|
120
|
+
A(this, on, "Promise");
|
|
121
121
|
A(this, "_promise");
|
|
122
122
|
A(this, "_resolve");
|
|
123
123
|
A(this, "_reject");
|
|
@@ -170,7 +170,7 @@ function Am(t, e) {
|
|
|
170
170
|
}
|
|
171
171
|
return !0;
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function mn(t) {
|
|
174
174
|
const e = {};
|
|
175
175
|
return function() {
|
|
176
176
|
const s = Array.prototype.slice.call(arguments);
|
|
@@ -183,18 +183,18 @@ 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 ? wc : t, De = (t) => Object.keys(t).length === 0 ? Ec : t, Vc =
|
|
186
|
+
const b = (t) => t.length === 0 ? wc : t, De = (t) => Object.keys(t).length === 0 ? Ec : t, Vc = 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
|
-
}), Uc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), $c = 1e3 * 86400, Et = /* @__PURE__ */ new Date(), bm = (t) => new Date(t).toDateString() === Et.toDateString(), Sm =
|
|
190
|
+
}), Uc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), $c = 1e3 * 86400, Et = /* @__PURE__ */ new Date(), bm = (t) => new Date(t).toDateString() === Et.toDateString(), Sm = mn((t, e, s) => {
|
|
191
191
|
const i = Math.round((new Date(t).getTime() - Et.getTime()) / $c);
|
|
192
192
|
return i < e || i > s ? Vc(t) : Uc.format(i, "days");
|
|
193
193
|
});
|
|
194
194
|
function Gc(t) {
|
|
195
195
|
return new Uint8Array(t).reduce((s, i) => s + i.toString(16).padStart(2, "0"), "");
|
|
196
196
|
}
|
|
197
|
-
const
|
|
197
|
+
const Nt = async (t, e) => {
|
|
198
198
|
e || (e = await Le(t));
|
|
199
199
|
let s = t.type;
|
|
200
200
|
if (s.includes("/") && (s = s.split("/")[1]), !s)
|
|
@@ -254,11 +254,11 @@ function Rm(t) {
|
|
|
254
254
|
const e = new Blob([t]);
|
|
255
255
|
Tc(e, t.name);
|
|
256
256
|
}
|
|
257
|
-
const
|
|
257
|
+
const Ht = {};
|
|
258
258
|
function Fm(t, e, s, ...i) {
|
|
259
|
-
const n =
|
|
259
|
+
const n = Ht[t];
|
|
260
260
|
let a = !1;
|
|
261
|
-
n ? n[e] || (n[e] = !0, a = !0) : (
|
|
261
|
+
n ? n[e] || (n[e] = !0, a = !0) : (Ht[t] = { [e]: !0 }, a = !0), a && console[s](...i);
|
|
262
262
|
}
|
|
263
263
|
const Nc = ["created_at", "updated_at", "index", "revision"];
|
|
264
264
|
function R(t) {
|
|
@@ -308,30 +308,30 @@ function I(t) {
|
|
|
308
308
|
}
|
|
309
309
|
const Ue = _(
|
|
310
310
|
(t) => t.uuid
|
|
311
|
-
),
|
|
311
|
+
), Wt = Ue.getInitialState({}), fn = T({
|
|
312
312
|
name: "agents",
|
|
313
|
-
initialState:
|
|
314
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
313
|
+
initialState: Wt,
|
|
314
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Wt)),
|
|
315
315
|
reducers: {
|
|
316
316
|
initializeConversations: Ue.initialize,
|
|
317
317
|
addConversation: Ue.addOne,
|
|
318
318
|
setConversation: Ue.setOne,
|
|
319
319
|
updateConversation: Ue.updateOne
|
|
320
320
|
}
|
|
321
|
-
}), { initializeConversations: Kc, addConversation: Yc, setConversation: Jc, updateConversation: Qc } =
|
|
322
|
-
[
|
|
321
|
+
}), { initializeConversations: Kc, addConversation: Yc, setConversation: Jc, updateConversation: Qc } = fn.actions, An = (t) => t.agentsReducer.instances, qm = m(
|
|
322
|
+
[An],
|
|
323
323
|
(t) => Object.values(t)
|
|
324
324
|
), jm = y(
|
|
325
325
|
m(
|
|
326
|
-
[
|
|
326
|
+
[An, (t, e) => e],
|
|
327
327
|
(t, e) => t[e]
|
|
328
328
|
)
|
|
329
|
-
), Xc =
|
|
329
|
+
), Xc = fn.reducer, C = _(
|
|
330
330
|
(t) => t.uuid
|
|
331
|
-
),
|
|
331
|
+
), Kt = C.getInitialState({}), yn = T({
|
|
332
332
|
name: "assetAttachments",
|
|
333
|
-
initialState:
|
|
334
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
333
|
+
initialState: Kt,
|
|
334
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Kt)),
|
|
335
335
|
reducers: {
|
|
336
336
|
initializeAssetAttachments: C.initialize,
|
|
337
337
|
addAssetAttachment: C.addOne,
|
|
@@ -344,16 +344,16 @@ const Ue = _(
|
|
|
344
344
|
deleteAssetAttachments: C.deleteMany
|
|
345
345
|
}
|
|
346
346
|
}), {
|
|
347
|
-
initializeAssetAttachments:
|
|
347
|
+
initializeAssetAttachments: Yt,
|
|
348
348
|
addAssetAttachment: Mm,
|
|
349
|
-
addAssetAttachments:
|
|
349
|
+
addAssetAttachments: bn,
|
|
350
350
|
setAssetAttachment: Zc,
|
|
351
351
|
setAssetAttachments: Cm,
|
|
352
352
|
updateAssetAttachment: Dm,
|
|
353
353
|
updateAssetAttachments: er,
|
|
354
354
|
deleteAssetAttachment: tr,
|
|
355
|
-
deleteAssetAttachments:
|
|
356
|
-
} =
|
|
355
|
+
deleteAssetAttachments: Sn
|
|
356
|
+
} = yn.actions, sr = (t) => t.assetAttachmentReducer.instances, ir = m(
|
|
357
357
|
[sr],
|
|
358
358
|
(t) => Object.values(t)
|
|
359
359
|
), nr = (t) => (e) => e.assetAttachmentReducer.instances[t], ar = y(
|
|
@@ -361,10 +361,10 @@ const Ue = _(
|
|
|
361
361
|
[ir, (t, e) => e],
|
|
362
362
|
(t, e) => b(t.filter(({ asset: s }) => e === s))
|
|
363
363
|
)
|
|
364
|
-
), cr =
|
|
364
|
+
), cr = yn.reducer, D = _((t) => t.uuid), Jt = D.getInitialState({}), gn = T({
|
|
365
365
|
name: "assetProcedureAttachments",
|
|
366
|
-
initialState:
|
|
367
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
366
|
+
initialState: Jt,
|
|
367
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Jt)),
|
|
368
368
|
reducers: {
|
|
369
369
|
initializeAssetProcedureAttachments: D.initialize,
|
|
370
370
|
addAssetProcedureAttachment: D.addOne,
|
|
@@ -386,7 +386,7 @@ const Ue = _(
|
|
|
386
386
|
updateAssetProcedureAttachments: ur,
|
|
387
387
|
deleteAssetProcedureAttachment: lr,
|
|
388
388
|
deleteAssetProcedureAttachments: hr
|
|
389
|
-
} =
|
|
389
|
+
} = gn.actions, pr = (t) => t.assetProcedureAttachmentReducer.instances, mr = m(
|
|
390
390
|
[pr],
|
|
391
391
|
(t) => Object.values(t)
|
|
392
392
|
), fr = (t) => (e) => e.assetProcedureAttachmentReducer.instances[t], Um = y(
|
|
@@ -399,10 +399,10 @@ const Ue = _(
|
|
|
399
399
|
t.filter(({ asset_procedure: s }) => e === s)
|
|
400
400
|
)
|
|
401
401
|
)
|
|
402
|
-
), Ar =
|
|
402
|
+
), Ar = gn.reducer, x = _((t) => t.uuid), Qt = x.getInitialState({}), Tn = T({
|
|
403
403
|
name: "assetProcedureFieldsAttachments",
|
|
404
|
-
initialState:
|
|
405
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
404
|
+
initialState: Qt,
|
|
405
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qt)),
|
|
406
406
|
reducers: {
|
|
407
407
|
initializeAssetProcedureFieldsAttachments: x.initialize,
|
|
408
408
|
addAssetProcedureFieldsAttachment: x.addOne,
|
|
@@ -424,17 +424,17 @@ const Ue = _(
|
|
|
424
424
|
updateAssetProcedureFieldsAttachments: Sr,
|
|
425
425
|
deleteAssetProcedureFieldsAttachment: Nm,
|
|
426
426
|
deleteAssetProcedureFieldsAttachments: gr
|
|
427
|
-
} =
|
|
427
|
+
} = Tn.actions, Tr = (t) => t.assetProcedureFieldsAttachmentReducer.instances, Pr = m(
|
|
428
428
|
[Tr],
|
|
429
429
|
(t) => Object.values(t)
|
|
430
430
|
), Hm = y(
|
|
431
431
|
m([Pr, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
432
|
-
), Wm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], _r =
|
|
432
|
+
), Wm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], _r = Tn.reducer, z = _(
|
|
433
433
|
(t) => t.uuid
|
|
434
|
-
),
|
|
434
|
+
), Xt = z.getInitialState({}), Pn = T({
|
|
435
435
|
name: "assetProcedureFields",
|
|
436
|
-
initialState:
|
|
437
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
436
|
+
initialState: Xt,
|
|
437
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Xt)),
|
|
438
438
|
reducers: {
|
|
439
439
|
initializeAssetProcedureFields: z.initialize,
|
|
440
440
|
addAssetProcedureFields: z.addOne,
|
|
@@ -456,17 +456,17 @@ const Ue = _(
|
|
|
456
456
|
updateAssetProcedureFieldsMany: Qm,
|
|
457
457
|
deleteAssetProcedureFields: Ir,
|
|
458
458
|
deleteAssetProcedureFieldsMany: Xm
|
|
459
|
-
} =
|
|
459
|
+
} = Pn.actions, vr = (t) => t.assetProcedureFieldsReducer.instances, _n = m([vr], (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
|
-
m([
|
|
466
|
-
), tf = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], wr =
|
|
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], wr = Pn.reducer, V = _((t) => t.uuid), Zt = V.getInitialState({}), Rn = T({
|
|
467
467
|
name: "assetProcedureFieldValuesAttachments",
|
|
468
|
-
initialState:
|
|
469
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
468
|
+
initialState: Zt,
|
|
469
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zt)),
|
|
470
470
|
reducers: {
|
|
471
471
|
initializeAssetProcedureFieldValuesAttachments: V.initialize,
|
|
472
472
|
addAssetProcedureFieldValuesAttachment: V.addOne,
|
|
@@ -488,13 +488,13 @@ const Ue = _(
|
|
|
488
488
|
updateAssetProcedureFieldValuesAttachments: kr,
|
|
489
489
|
deleteAssetProcedureFieldValuesAttachment: rf,
|
|
490
490
|
deleteAssetProcedureFieldValuesAttachments: Tt
|
|
491
|
-
} =
|
|
492
|
-
[
|
|
491
|
+
} = Rn.actions, Fn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, qr = m(
|
|
492
|
+
[Fn],
|
|
493
493
|
(t) => Object.values(t)
|
|
494
494
|
), of = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], jr = y(
|
|
495
495
|
m(
|
|
496
496
|
[
|
|
497
|
-
|
|
497
|
+
Fn,
|
|
498
498
|
(t, e) => e
|
|
499
499
|
],
|
|
500
500
|
(t, e) => {
|
|
@@ -507,10 +507,10 @@ const Ue = _(
|
|
|
507
507
|
[qr, (t, e) => e],
|
|
508
508
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
509
509
|
)
|
|
510
|
-
), Cr =
|
|
510
|
+
), Cr = Rn.reducer, U = _((t) => t.uuid), es = U.getInitialState({}), On = T({
|
|
511
511
|
name: "assetProcedureFieldValues",
|
|
512
|
-
initialState:
|
|
513
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
512
|
+
initialState: es,
|
|
513
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, es)),
|
|
514
514
|
reducers: {
|
|
515
515
|
initializeAssetProcedureFieldValues: U.initialize,
|
|
516
516
|
addAssetProcedureFieldValues: U.addOne,
|
|
@@ -524,25 +524,25 @@ const Ue = _(
|
|
|
524
524
|
}
|
|
525
525
|
}), {
|
|
526
526
|
initializeAssetProcedureFieldValues: Dr,
|
|
527
|
-
addAssetProcedureFieldValues:
|
|
527
|
+
addAssetProcedureFieldValues: ts,
|
|
528
528
|
addAssetProcedureFieldValuesMany: xr,
|
|
529
529
|
setAssetProcedureFieldValues: df,
|
|
530
530
|
setAssetProcedureFieldValuesMany: uf,
|
|
531
531
|
updateAssetProcedureFieldValues: Ke,
|
|
532
532
|
updateAssetProcedureFieldValuesMany: zr,
|
|
533
|
-
deleteAssetProcedureFieldValues:
|
|
533
|
+
deleteAssetProcedureFieldValues: ss,
|
|
534
534
|
deleteAssetProcedureFieldValuesMany: Vr
|
|
535
|
-
} =
|
|
535
|
+
} = On.actions, Ur = (t) => t.assetProcedureFieldValuesReducer.instances, In = m(
|
|
536
536
|
[Ur],
|
|
537
537
|
(t) => Object.values(t)
|
|
538
538
|
), lf = y(
|
|
539
|
-
m([
|
|
539
|
+
m([In, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
540
540
|
), hf = y(
|
|
541
|
-
m([
|
|
542
|
-
),
|
|
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], $r = On.reducer, $ = _((t) => t.uuid), ns = $.getInitialState({}), vn = T({
|
|
543
543
|
name: "assetProcedureInstances",
|
|
544
|
-
initialState:
|
|
545
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
544
|
+
initialState: ns,
|
|
545
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ns)),
|
|
546
546
|
reducers: {
|
|
547
547
|
initializeAssetProcedureInstances: $.initialize,
|
|
548
548
|
addAssetProcedureInstance: $.addOne,
|
|
@@ -556,20 +556,20 @@ const Ue = _(
|
|
|
556
556
|
}
|
|
557
557
|
}), {
|
|
558
558
|
initializeAssetProcedureInstances: Gr,
|
|
559
|
-
addAssetProcedureInstance:
|
|
559
|
+
addAssetProcedureInstance: as,
|
|
560
560
|
addAssetProcedureInstances: Br,
|
|
561
561
|
updateAssetProcedureInstance: Ye,
|
|
562
562
|
updateAssetProcedureInstances: pf,
|
|
563
|
-
deleteAssetProcedureInstance:
|
|
563
|
+
deleteAssetProcedureInstance: cs,
|
|
564
564
|
deleteAssetProcedureInstances: Lr,
|
|
565
565
|
setAssetProcedureInstance: mf,
|
|
566
566
|
setAssetProcedureInstances: ff
|
|
567
|
-
} =
|
|
568
|
-
[
|
|
567
|
+
} = vn.actions, wn = (t) => t.assetProcedureInstanceReducer.instances, En = m(
|
|
568
|
+
[wn],
|
|
569
569
|
(t) => Object.values(t)
|
|
570
570
|
), Nr = y(
|
|
571
571
|
m(
|
|
572
|
-
[
|
|
572
|
+
[En, (t, e) => e],
|
|
573
573
|
(t, e) => b(
|
|
574
574
|
t.filter(
|
|
575
575
|
(s) => s.asset_procedure === e
|
|
@@ -578,16 +578,16 @@ const Ue = _(
|
|
|
578
578
|
)
|
|
579
579
|
), Af = y(
|
|
580
580
|
m(
|
|
581
|
-
[
|
|
581
|
+
[En, (t, e) => e],
|
|
582
582
|
(t, e) => b(
|
|
583
583
|
t.filter(
|
|
584
584
|
(s) => s.asset_type === e
|
|
585
585
|
)
|
|
586
586
|
)
|
|
587
587
|
)
|
|
588
|
-
),
|
|
588
|
+
), rs = (t) => (e) => e.assetProcedureInstanceReducer.instances[t], yf = y(
|
|
589
589
|
m(
|
|
590
|
-
[
|
|
590
|
+
[wn, (t, e) => e],
|
|
591
591
|
(t, e) => {
|
|
592
592
|
const s = [];
|
|
593
593
|
for (const i of e) {
|
|
@@ -597,12 +597,12 @@ const Ue = _(
|
|
|
597
597
|
return b(s);
|
|
598
598
|
}
|
|
599
599
|
)
|
|
600
|
-
), Hr =
|
|
600
|
+
), Hr = vn.reducer, G = _(
|
|
601
601
|
(t) => t.uuid
|
|
602
|
-
),
|
|
602
|
+
), os = G.getInitialState({}), kn = T({
|
|
603
603
|
name: "assetProcedures",
|
|
604
|
-
initialState:
|
|
605
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
604
|
+
initialState: os,
|
|
605
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, os)),
|
|
606
606
|
reducers: {
|
|
607
607
|
initializeAssetProcedures: G.initialize,
|
|
608
608
|
addAssetProcedure: G.addOne,
|
|
@@ -616,24 +616,24 @@ const Ue = _(
|
|
|
616
616
|
}
|
|
617
617
|
}), {
|
|
618
618
|
initializeAssetProcedures: Wr,
|
|
619
|
-
addAssetProcedure:
|
|
619
|
+
addAssetProcedure: ds,
|
|
620
620
|
addAssetProcedures: bf,
|
|
621
621
|
updateAssetProcedure: Je,
|
|
622
622
|
updateAssetProcedures: Sf,
|
|
623
|
-
deleteAssetProcedure:
|
|
623
|
+
deleteAssetProcedure: us,
|
|
624
624
|
deleteAssetProcedures: gf,
|
|
625
625
|
setAssetProcedure: Tf,
|
|
626
626
|
setAssetProcedures: Pf
|
|
627
|
-
} =
|
|
627
|
+
} = kn.actions, qn = (t) => t.assetProcedureReducer.instances, Kr = m([qn], (t) => Object.values(t)), _f = y(
|
|
628
628
|
m(
|
|
629
629
|
[Kr, (t, e) => e],
|
|
630
630
|
(t, e) => b(
|
|
631
631
|
t.filter((s) => s.organization === e)
|
|
632
632
|
)
|
|
633
633
|
)
|
|
634
|
-
),
|
|
634
|
+
), ls = (t) => (e) => e.assetProcedureReducer.instances[t], Rf = y(
|
|
635
635
|
m(
|
|
636
|
-
[
|
|
636
|
+
[qn, (t, e) => e],
|
|
637
637
|
(t, e) => {
|
|
638
638
|
const s = [];
|
|
639
639
|
for (const i of e) {
|
|
@@ -643,12 +643,12 @@ const Ue = _(
|
|
|
643
643
|
return b(s);
|
|
644
644
|
}
|
|
645
645
|
)
|
|
646
|
-
), Yr =
|
|
646
|
+
), Yr = kn.reducer, B = _((t) => t.uuid), hs = B.getInitialState(
|
|
647
647
|
{}
|
|
648
|
-
),
|
|
648
|
+
), jn = T({
|
|
649
649
|
name: "assetProcedureStepFieldsAttachments",
|
|
650
|
-
initialState:
|
|
651
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
650
|
+
initialState: hs,
|
|
651
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, hs)),
|
|
652
652
|
reducers: {
|
|
653
653
|
initializeAssetProcedureStepFieldsAttachments: B.initialize,
|
|
654
654
|
addAssetProcedureStepFieldsAttachment: B.addOne,
|
|
@@ -670,15 +670,15 @@ const Ue = _(
|
|
|
670
670
|
updateAssetProcedureStepFieldsAttachments: Xr,
|
|
671
671
|
deleteAssetProcedureStepFieldsAttachment: wf,
|
|
672
672
|
deleteAssetProcedureStepFieldsAttachments: Zr
|
|
673
|
-
} =
|
|
673
|
+
} = jn.actions, eo = (t) => t.assetProcedureStepFieldsAttachmentReducer.instances, to = m(
|
|
674
674
|
[eo],
|
|
675
675
|
(t) => Object.values(t)
|
|
676
676
|
), Ef = y(
|
|
677
677
|
m([to, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
678
|
-
), kf = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t], so =
|
|
678
|
+
), kf = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t], so = jn.reducer, L = _((t) => t.uuid), ps = L.getInitialState({}), Mn = T({
|
|
679
679
|
name: "assetProcedureStepFields",
|
|
680
|
-
initialState:
|
|
681
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
680
|
+
initialState: ps,
|
|
681
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ps)),
|
|
682
682
|
reducers: {
|
|
683
683
|
initializeAssetProcedureStepFields: L.initialize,
|
|
684
684
|
addAssetProcedureStepFields: L.addOne,
|
|
@@ -700,8 +700,8 @@ const Ue = _(
|
|
|
700
700
|
updateAssetProcedureStepFieldsMany: Cf,
|
|
701
701
|
deleteAssetProcedureStepFields: co,
|
|
702
702
|
deleteAssetProcedureStepFieldsMany: Df
|
|
703
|
-
} =
|
|
704
|
-
[
|
|
703
|
+
} = Mn.actions, kt = (t) => t.assetProcedureStepFieldsReducer.instances, Cn = m(
|
|
704
|
+
[kt],
|
|
705
705
|
(t) => Object.values(t)
|
|
706
706
|
), xf = y(
|
|
707
707
|
m(
|
|
@@ -710,10 +710,20 @@ const Ue = _(
|
|
|
710
710
|
)
|
|
711
711
|
), zf = y(
|
|
712
712
|
m([Cn, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure_step === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
713
|
-
), Vf = (
|
|
713
|
+
), Vf = m(
|
|
714
|
+
[kt],
|
|
715
|
+
(t) => {
|
|
716
|
+
const e = {};
|
|
717
|
+
for (const s of Object.values(t)) {
|
|
718
|
+
const i = e[s.asset_procedure_step];
|
|
719
|
+
(!i || i.submitted_at < s.submitted_at) && (e[s.asset_procedure_step] = s);
|
|
720
|
+
}
|
|
721
|
+
return e;
|
|
722
|
+
}
|
|
723
|
+
), Uf = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t], ro = Mn.reducer, N = _((t) => t.uuid), ms = N.getInitialState({}), Dn = T({
|
|
714
724
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
715
|
-
initialState:
|
|
716
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
725
|
+
initialState: ms,
|
|
726
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ms)),
|
|
717
727
|
reducers: {
|
|
718
728
|
initializeAssetProcedureStepFieldValuesAttachments: N.initialize,
|
|
719
729
|
addAssetProcedureStepFieldValuesAttachment: N.addOne,
|
|
@@ -727,18 +737,18 @@ const Ue = _(
|
|
|
727
737
|
}
|
|
728
738
|
}), {
|
|
729
739
|
initializeAssetProcedureStepFieldValuesAttachments: oo,
|
|
730
|
-
addAssetProcedureStepFieldValuesAttachment:
|
|
740
|
+
addAssetProcedureStepFieldValuesAttachment: $f,
|
|
731
741
|
addAssetProcedureStepFieldValuesAttachments: Pt,
|
|
732
|
-
setAssetProcedureStepFieldValuesAttachment:
|
|
733
|
-
setAssetProcedureStepFieldValuesAttachments:
|
|
734
|
-
updateAssetProcedureStepFieldValuesAttachment:
|
|
742
|
+
setAssetProcedureStepFieldValuesAttachment: Gf,
|
|
743
|
+
setAssetProcedureStepFieldValuesAttachments: Bf,
|
|
744
|
+
updateAssetProcedureStepFieldValuesAttachment: Lf,
|
|
735
745
|
updateAssetProcedureStepFieldValuesAttachments: uo,
|
|
736
|
-
deleteAssetProcedureStepFieldValuesAttachment:
|
|
746
|
+
deleteAssetProcedureStepFieldValuesAttachment: Nf,
|
|
737
747
|
deleteAssetProcedureStepFieldValuesAttachments: _t
|
|
738
748
|
} = Dn.actions, xn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, lo = m(
|
|
739
749
|
[xn],
|
|
740
750
|
(t) => Object.values(t)
|
|
741
|
-
),
|
|
751
|
+
), Hf = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t], ho = y(
|
|
742
752
|
m(
|
|
743
753
|
[
|
|
744
754
|
xn,
|
|
@@ -754,10 +764,10 @@ const Ue = _(
|
|
|
754
764
|
[lo, (t, e) => e],
|
|
755
765
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
756
766
|
)
|
|
757
|
-
), mo = Dn.reducer, H = _((t) => t.uuid),
|
|
767
|
+
), mo = Dn.reducer, H = _((t) => t.uuid), fs = H.getInitialState({}), zn = T({
|
|
758
768
|
name: "assetProcedureStepFieldValues",
|
|
759
|
-
initialState:
|
|
760
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
769
|
+
initialState: fs,
|
|
770
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, fs)),
|
|
761
771
|
reducers: {
|
|
762
772
|
initializeAssetProcedureStepFieldValues: H.initialize,
|
|
763
773
|
addAssetProcedureStepFieldValues: H.addOne,
|
|
@@ -771,27 +781,27 @@ const Ue = _(
|
|
|
771
781
|
}
|
|
772
782
|
}), {
|
|
773
783
|
initializeAssetProcedureStepFieldValues: fo,
|
|
774
|
-
addAssetProcedureStepFieldValues:
|
|
784
|
+
addAssetProcedureStepFieldValues: As,
|
|
775
785
|
addAssetProcedureStepFieldValuesMany: Ao,
|
|
776
|
-
setAssetProcedureStepFieldValues:
|
|
777
|
-
setAssetProcedureStepFieldValuesMany:
|
|
786
|
+
setAssetProcedureStepFieldValues: Wf,
|
|
787
|
+
setAssetProcedureStepFieldValuesMany: Kf,
|
|
778
788
|
updateAssetProcedureStepFieldValues: Qe,
|
|
779
789
|
updateAssetProcedureStepFieldValuesMany: yo,
|
|
780
|
-
deleteAssetProcedureStepFieldValues:
|
|
790
|
+
deleteAssetProcedureStepFieldValues: ys,
|
|
781
791
|
deleteAssetProcedureStepFieldValuesMany: bo
|
|
782
792
|
} = zn.actions, Vn = (t) => t.assetProcedureStepFieldValuesReducer.instances, So = m(
|
|
783
793
|
[Vn],
|
|
784
794
|
(t) => Object.values(t)
|
|
785
|
-
),
|
|
795
|
+
), Yf = y(
|
|
786
796
|
m(
|
|
787
797
|
[So, (t, e) => e],
|
|
788
798
|
(t, e) => b(t.filter((s) => s.asset === e))
|
|
789
799
|
)
|
|
790
|
-
),
|
|
800
|
+
), Jf = y(
|
|
791
801
|
m(
|
|
792
802
|
[
|
|
793
803
|
Vn,
|
|
794
|
-
|
|
804
|
+
kt,
|
|
795
805
|
(t, e) => e
|
|
796
806
|
],
|
|
797
807
|
(t, e, s) => {
|
|
@@ -801,12 +811,12 @@ const Ue = _(
|
|
|
801
811
|
return Object.values(t).filter((n) => i.has(n.fields_revision));
|
|
802
812
|
}
|
|
803
813
|
)
|
|
804
|
-
),
|
|
814
|
+
), bs = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t], go = zn.reducer, W = _(
|
|
805
815
|
(t) => t.uuid
|
|
806
|
-
),
|
|
816
|
+
), Ss = W.getInitialState({}), Un = T({
|
|
807
817
|
name: "assetProcedureSteps",
|
|
808
|
-
initialState:
|
|
809
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
818
|
+
initialState: Ss,
|
|
819
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ss)),
|
|
810
820
|
reducers: {
|
|
811
821
|
initializeAssetProcedureSteps: W.initialize,
|
|
812
822
|
setAssetProcedureStep: W.setOne,
|
|
@@ -821,25 +831,25 @@ const Ue = _(
|
|
|
821
831
|
}), {
|
|
822
832
|
initializeAssetProcedureSteps: To,
|
|
823
833
|
setAssetProcedureStep: Po,
|
|
824
|
-
setAssetProcedureSteps:
|
|
825
|
-
addAssetProcedureStep:
|
|
826
|
-
addAssetProcedureSteps:
|
|
827
|
-
updateAssetProcedureStep:
|
|
834
|
+
setAssetProcedureSteps: Qf,
|
|
835
|
+
addAssetProcedureStep: Xf,
|
|
836
|
+
addAssetProcedureSteps: gs,
|
|
837
|
+
updateAssetProcedureStep: Ts,
|
|
828
838
|
updateAssetProcedureSteps: lt,
|
|
829
|
-
deleteAssetProcedureStep:
|
|
830
|
-
deleteAssetProcedureSteps:
|
|
831
|
-
} = Un.actions, _o = Un.reducer,
|
|
832
|
-
m([
|
|
839
|
+
deleteAssetProcedureStep: Zf,
|
|
840
|
+
deleteAssetProcedureSteps: Ps
|
|
841
|
+
} = Un.actions, _o = Un.reducer, qt = (t) => t.assetProcedureStepReducer.instances, Ro = (t) => (e) => e.assetProcedureStepReducer.instances[t], Fo = m([qt], (t) => Object.values(t)), eA = y(
|
|
842
|
+
m([qt, (t, e) => e], (t, e) => {
|
|
833
843
|
const s = {};
|
|
834
844
|
for (const [i, n] of Object.entries(t))
|
|
835
845
|
n.asset_procedure === e && (s[i] = n);
|
|
836
846
|
return De(s);
|
|
837
847
|
})
|
|
838
|
-
),
|
|
848
|
+
), tA = y(
|
|
839
849
|
m([Fo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
840
|
-
),
|
|
850
|
+
), _s = y(
|
|
841
851
|
m(
|
|
842
|
-
[
|
|
852
|
+
[qt, (t, e) => e],
|
|
843
853
|
(t, e) => {
|
|
844
854
|
const s = [];
|
|
845
855
|
for (const i of e) {
|
|
@@ -849,10 +859,10 @@ const Ue = _(
|
|
|
849
859
|
return b(s);
|
|
850
860
|
}
|
|
851
861
|
)
|
|
852
|
-
), K = _((t) => t.uuid),
|
|
862
|
+
), K = _((t) => t.uuid), Rs = K.getInitialState({}), $n = T({
|
|
853
863
|
name: "assets",
|
|
854
|
-
initialState:
|
|
855
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
864
|
+
initialState: Rs,
|
|
865
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Rs)),
|
|
856
866
|
reducers: {
|
|
857
867
|
initializeAssets: K.initialize,
|
|
858
868
|
addAsset: K.addOne,
|
|
@@ -866,17 +876,17 @@ const Ue = _(
|
|
|
866
876
|
}
|
|
867
877
|
}), {
|
|
868
878
|
initializeAssets: Oo,
|
|
869
|
-
addAsset:
|
|
879
|
+
addAsset: Fs,
|
|
870
880
|
addAssets: Gn,
|
|
871
881
|
updateAsset: Xe,
|
|
872
|
-
updateAssets:
|
|
873
|
-
deleteAsset:
|
|
882
|
+
updateAssets: sA,
|
|
883
|
+
deleteAsset: Os,
|
|
874
884
|
deleteAssets: Io,
|
|
875
|
-
setAsset:
|
|
876
|
-
setAssets:
|
|
885
|
+
setAsset: iA,
|
|
886
|
+
setAssets: nA
|
|
877
887
|
} = $n.actions, Bn = (t) => t.assetReducer.instances, vo = m([Bn], (t) => b(Object.values(t))), Ln = y(
|
|
878
888
|
m([vo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
879
|
-
),
|
|
889
|
+
), Is = (t) => (e) => e.assetReducer.instances[t], aA = y(
|
|
880
890
|
m([Bn, (t, e) => e], (t, e) => {
|
|
881
891
|
const s = [];
|
|
882
892
|
for (const i of e) {
|
|
@@ -885,12 +895,12 @@ const Ue = _(
|
|
|
885
895
|
}
|
|
886
896
|
return b(s);
|
|
887
897
|
})
|
|
888
|
-
),
|
|
898
|
+
), cA = (t) => (e) => Ln(t)(e).length, wo = $n.reducer, Se = _(
|
|
889
899
|
(t) => t.uuid
|
|
890
|
-
),
|
|
900
|
+
), vs = Se.getInitialState({}), Nn = T({
|
|
891
901
|
name: "assetStageCompletions",
|
|
892
|
-
initialState:
|
|
893
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
902
|
+
initialState: vs,
|
|
903
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, vs)),
|
|
894
904
|
reducers: {
|
|
895
905
|
initializeAssetStageCompletions: Se.initialize,
|
|
896
906
|
addAssetStageCompletion: Se.addOne,
|
|
@@ -902,13 +912,13 @@ const Ue = _(
|
|
|
902
912
|
}
|
|
903
913
|
}), {
|
|
904
914
|
initializeAssetStageCompletions: Eo,
|
|
905
|
-
addAssetStageCompletion:
|
|
906
|
-
addAssetStageCompletions:
|
|
915
|
+
addAssetStageCompletion: ws,
|
|
916
|
+
addAssetStageCompletions: Es,
|
|
907
917
|
updateAssetStageCompletion: ko,
|
|
908
918
|
updateAssetStageCompletions: qo,
|
|
909
|
-
deleteAssetStageCompletion:
|
|
910
|
-
deleteAssetStageCompletions:
|
|
911
|
-
} = Nn.actions, jo = Nn.reducer, Hn = (t) => t.assetStageCompletionReducer.instances,
|
|
919
|
+
deleteAssetStageCompletion: ks,
|
|
920
|
+
deleteAssetStageCompletions: qs
|
|
921
|
+
} = Nn.actions, jo = Nn.reducer, Hn = (t) => t.assetStageCompletionReducer.instances, rA = m(
|
|
912
922
|
[Hn],
|
|
913
923
|
(t) => Object.values(t)
|
|
914
924
|
), Mo = (t) => (e) => e.assetStageCompletionReducer.instances[t], Co = y(
|
|
@@ -923,10 +933,10 @@ const Ue = _(
|
|
|
923
933
|
);
|
|
924
934
|
}
|
|
925
935
|
)
|
|
926
|
-
), Y = _((t) => t.uuid),
|
|
936
|
+
), Y = _((t) => t.uuid), js = Y.getInitialState({}), Wn = T({
|
|
927
937
|
name: "assetStages",
|
|
928
|
-
initialState:
|
|
929
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
938
|
+
initialState: js,
|
|
939
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, js)),
|
|
930
940
|
reducers: {
|
|
931
941
|
initializeAssetStages: Y.initialize,
|
|
932
942
|
setAssetStage: Y.setOne,
|
|
@@ -941,24 +951,24 @@ const Ue = _(
|
|
|
941
951
|
}), {
|
|
942
952
|
initializeAssetStages: Do,
|
|
943
953
|
setAssetStage: xo,
|
|
944
|
-
setAssetStages:
|
|
945
|
-
addAssetStage:
|
|
946
|
-
addAssetStages:
|
|
947
|
-
updateAssetStage:
|
|
954
|
+
setAssetStages: oA,
|
|
955
|
+
addAssetStage: dA,
|
|
956
|
+
addAssetStages: Ms,
|
|
957
|
+
updateAssetStage: Cs,
|
|
948
958
|
updateAssetStages: ht,
|
|
949
|
-
deleteAssetStage:
|
|
950
|
-
deleteAssetStages:
|
|
951
|
-
} = Wn.actions, zo = Wn.reducer,
|
|
952
|
-
m([
|
|
959
|
+
deleteAssetStage: uA,
|
|
960
|
+
deleteAssetStages: Ds
|
|
961
|
+
} = Wn.actions, zo = Wn.reducer, jt = (t) => t.assetStageReducer.instances, Vo = (t) => (e) => e.assetStageReducer.instances[t], Uo = m([jt], (t) => Object.values(t)), lA = y(
|
|
962
|
+
m([jt, (t, e) => e], (t, e) => {
|
|
953
963
|
const s = {};
|
|
954
964
|
for (const [i, n] of Object.entries(t))
|
|
955
965
|
n.asset_procedure === e && (s[i] = n);
|
|
956
966
|
return De(s);
|
|
957
967
|
})
|
|
958
|
-
),
|
|
968
|
+
), hA = y(
|
|
959
969
|
m([Uo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
960
|
-
),
|
|
961
|
-
m([
|
|
970
|
+
), xs = y(
|
|
971
|
+
m([jt, (t, e) => e], (t, e) => {
|
|
962
972
|
const s = [];
|
|
963
973
|
for (const i of e) {
|
|
964
974
|
const n = t[i];
|
|
@@ -968,10 +978,10 @@ const Ue = _(
|
|
|
968
978
|
})
|
|
969
979
|
), J = _(
|
|
970
980
|
(t) => t.uuid
|
|
971
|
-
),
|
|
981
|
+
), zs = J.getInitialState({}), Kn = T({
|
|
972
982
|
name: "assetTypeAttachments",
|
|
973
|
-
initialState:
|
|
974
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
983
|
+
initialState: zs,
|
|
984
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, zs)),
|
|
975
985
|
reducers: {
|
|
976
986
|
initializeAssetTypeAttachments: J.initialize,
|
|
977
987
|
addAssetTypeAttachment: J.addOne,
|
|
@@ -985,11 +995,11 @@ const Ue = _(
|
|
|
985
995
|
}
|
|
986
996
|
}), {
|
|
987
997
|
initializeAssetTypeAttachments: $o,
|
|
988
|
-
addAssetTypeAttachment:
|
|
998
|
+
addAssetTypeAttachment: pA,
|
|
989
999
|
addAssetTypeAttachments: Yn,
|
|
990
1000
|
setAssetTypeAttachment: Go,
|
|
991
|
-
setAssetTypeAttachments:
|
|
992
|
-
updateAssetTypeAttachment:
|
|
1001
|
+
setAssetTypeAttachments: mA,
|
|
1002
|
+
updateAssetTypeAttachment: fA,
|
|
993
1003
|
updateAssetTypeAttachments: Bo,
|
|
994
1004
|
deleteAssetTypeAttachment: Lo,
|
|
995
1005
|
deleteAssetTypeAttachments: Jn
|
|
@@ -1001,10 +1011,10 @@ const Ue = _(
|
|
|
1001
1011
|
[Ho, (t, e) => e],
|
|
1002
1012
|
(t, e) => b(t.filter(({ asset_type: s }) => e === s))
|
|
1003
1013
|
)
|
|
1004
|
-
), Yo = Kn.reducer, Q = _((t) => t.uuid),
|
|
1014
|
+
), Yo = Kn.reducer, Q = _((t) => t.uuid), Vs = Q.getInitialState({}), Qn = T({
|
|
1005
1015
|
name: "assetTypeFieldsAttachments",
|
|
1006
|
-
initialState:
|
|
1007
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1016
|
+
initialState: Vs,
|
|
1017
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Vs)),
|
|
1008
1018
|
reducers: {
|
|
1009
1019
|
initializeAssetTypeFieldsAttachments: Q.initialize,
|
|
1010
1020
|
addAssetTypeFieldsAttachment: Q.addOne,
|
|
@@ -1018,25 +1028,25 @@ const Ue = _(
|
|
|
1018
1028
|
}
|
|
1019
1029
|
}), {
|
|
1020
1030
|
initializeAssetTypeFieldsAttachments: Jo,
|
|
1021
|
-
addAssetTypeFieldsAttachment:
|
|
1031
|
+
addAssetTypeFieldsAttachment: AA,
|
|
1022
1032
|
addAssetTypeFieldsAttachments: Qo,
|
|
1023
|
-
setAssetTypeFieldsAttachment:
|
|
1024
|
-
setAssetTypeFieldsAttachments:
|
|
1025
|
-
updateAssetTypeFieldsAttachment:
|
|
1033
|
+
setAssetTypeFieldsAttachment: yA,
|
|
1034
|
+
setAssetTypeFieldsAttachments: bA,
|
|
1035
|
+
updateAssetTypeFieldsAttachment: SA,
|
|
1026
1036
|
updateAssetTypeFieldsAttachments: Xo,
|
|
1027
|
-
deleteAssetTypeFieldsAttachment:
|
|
1037
|
+
deleteAssetTypeFieldsAttachment: gA,
|
|
1028
1038
|
deleteAssetTypeFieldsAttachments: Zo
|
|
1029
1039
|
} = Qn.actions, ed = (t) => t.assetTypeFieldsAttachmentReducer.instances, td = m(
|
|
1030
1040
|
[ed],
|
|
1031
1041
|
(t) => Object.values(t)
|
|
1032
|
-
),
|
|
1042
|
+
), TA = y(
|
|
1033
1043
|
m([td, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
1034
|
-
),
|
|
1044
|
+
), PA = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], sd = Qn.reducer, X = _(
|
|
1035
1045
|
(t) => t.uuid
|
|
1036
|
-
),
|
|
1046
|
+
), Us = X.getInitialState({}), Xn = T({
|
|
1037
1047
|
name: "assetTypeFields",
|
|
1038
|
-
initialState:
|
|
1039
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1048
|
+
initialState: Us,
|
|
1049
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Us)),
|
|
1040
1050
|
reducers: {
|
|
1041
1051
|
initializeAssetTypeFields: X.initialize,
|
|
1042
1052
|
addAssetTypeFields: X.addOne,
|
|
@@ -1051,21 +1061,21 @@ const Ue = _(
|
|
|
1051
1061
|
}), {
|
|
1052
1062
|
initializeAssetTypeFields: id,
|
|
1053
1063
|
addAssetTypeFields: nd,
|
|
1054
|
-
addAssetTypeFieldsMany:
|
|
1055
|
-
setAssetTypeFields:
|
|
1056
|
-
setAssetTypeFieldsMany:
|
|
1064
|
+
addAssetTypeFieldsMany: _A,
|
|
1065
|
+
setAssetTypeFields: RA,
|
|
1066
|
+
setAssetTypeFieldsMany: FA,
|
|
1057
1067
|
updateAssetTypeFields: ad,
|
|
1058
|
-
updateAssetTypeFieldsMany:
|
|
1068
|
+
updateAssetTypeFieldsMany: OA,
|
|
1059
1069
|
deleteAssetTypeFields: cd,
|
|
1060
|
-
deleteAssetTypeFieldsMany:
|
|
1061
|
-
} = Xn.actions, rd = (t) => t.assetTypeFieldsReducer.instances,
|
|
1062
|
-
m([
|
|
1063
|
-
),
|
|
1064
|
-
m([
|
|
1065
|
-
),
|
|
1070
|
+
deleteAssetTypeFieldsMany: IA
|
|
1071
|
+
} = Xn.actions, rd = (t) => t.assetTypeFieldsReducer.instances, Mt = m([rd], (t) => Object.values(t)), vA = y(
|
|
1072
|
+
m([Mt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
1073
|
+
), wA = y(
|
|
1074
|
+
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
|
+
), EA = (t) => (e) => e.assetTypeFieldsReducer.instances[t], od = Xn.reducer, Z = _((t) => t.uuid), $s = Z.getInitialState({}), Zn = T({
|
|
1066
1076
|
name: "assetTypeFieldValuesAttachments",
|
|
1067
|
-
initialState:
|
|
1068
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1077
|
+
initialState: $s,
|
|
1078
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, $s)),
|
|
1069
1079
|
reducers: {
|
|
1070
1080
|
initializeAssetTypeFieldValuesAttachments: Z.initialize,
|
|
1071
1081
|
addAssetTypeFieldValuesAttachment: Z.addOne,
|
|
@@ -1079,18 +1089,18 @@ const Ue = _(
|
|
|
1079
1089
|
}
|
|
1080
1090
|
}), {
|
|
1081
1091
|
initializeAssetTypeFieldValuesAttachments: dd,
|
|
1082
|
-
addAssetTypeFieldValuesAttachment:
|
|
1092
|
+
addAssetTypeFieldValuesAttachment: kA,
|
|
1083
1093
|
addAssetTypeFieldValuesAttachments: Rt,
|
|
1084
|
-
setAssetTypeFieldValuesAttachment:
|
|
1085
|
-
setAssetTypeFieldValuesAttachments:
|
|
1086
|
-
updateAssetTypeFieldValuesAttachment:
|
|
1094
|
+
setAssetTypeFieldValuesAttachment: qA,
|
|
1095
|
+
setAssetTypeFieldValuesAttachments: jA,
|
|
1096
|
+
updateAssetTypeFieldValuesAttachment: MA,
|
|
1087
1097
|
updateAssetTypeFieldValuesAttachments: ud,
|
|
1088
|
-
deleteAssetTypeFieldValuesAttachment:
|
|
1098
|
+
deleteAssetTypeFieldValuesAttachment: CA,
|
|
1089
1099
|
deleteAssetTypeFieldValuesAttachments: Ft
|
|
1090
1100
|
} = Zn.actions, ea = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, ld = m(
|
|
1091
1101
|
[ea],
|
|
1092
1102
|
(t) => Object.values(t)
|
|
1093
|
-
),
|
|
1103
|
+
), DA = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], hd = y(
|
|
1094
1104
|
m(
|
|
1095
1105
|
[
|
|
1096
1106
|
ea,
|
|
@@ -1107,10 +1117,10 @@ const Ue = _(
|
|
|
1107
1117
|
m([ld, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
|
|
1108
1118
|
), md = Zn.reducer, ee = _(
|
|
1109
1119
|
(t) => t.uuid
|
|
1110
|
-
),
|
|
1120
|
+
), Gs = ee.getInitialState({}), ta = T({
|
|
1111
1121
|
name: "assetTypeFieldValues",
|
|
1112
|
-
initialState:
|
|
1113
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1122
|
+
initialState: Gs,
|
|
1123
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Gs)),
|
|
1114
1124
|
reducers: {
|
|
1115
1125
|
initializeAssetTypeFieldValues: ee.initialize,
|
|
1116
1126
|
addAssetTypeFieldValues: ee.addOne,
|
|
@@ -1124,19 +1134,19 @@ const Ue = _(
|
|
|
1124
1134
|
}
|
|
1125
1135
|
}), {
|
|
1126
1136
|
initializeAssetTypeFieldValues: fd,
|
|
1127
|
-
addAssetTypeFieldValues:
|
|
1137
|
+
addAssetTypeFieldValues: Bs,
|
|
1128
1138
|
addAssetTypeFieldValuesMany: Ad,
|
|
1129
|
-
setAssetTypeFieldValues:
|
|
1130
|
-
setAssetTypeFieldValuesMany:
|
|
1139
|
+
setAssetTypeFieldValues: xA,
|
|
1140
|
+
setAssetTypeFieldValuesMany: zA,
|
|
1131
1141
|
updateAssetTypeFieldValues: Ze,
|
|
1132
1142
|
updateAssetTypeFieldValuesMany: yd,
|
|
1133
|
-
deleteAssetTypeFieldValues:
|
|
1143
|
+
deleteAssetTypeFieldValues: Ls,
|
|
1134
1144
|
deleteAssetTypeFieldValuesMany: bd
|
|
1135
|
-
} = ta.actions, Sd = (t) => t.assetTypeFieldValuesReducer.instances, sa = m([Sd], (t) => Object.values(t)),
|
|
1145
|
+
} = ta.actions, Sd = (t) => t.assetTypeFieldValuesReducer.instances, sa = m([Sd], (t) => Object.values(t)), VA = y(
|
|
1136
1146
|
m([sa, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
1137
|
-
),
|
|
1147
|
+
), UA = y(
|
|
1138
1148
|
m(
|
|
1139
|
-
[
|
|
1149
|
+
[Mt, sa, (t, e) => e],
|
|
1140
1150
|
(t, e, s) => {
|
|
1141
1151
|
const i = new Set(
|
|
1142
1152
|
t.filter((n) => n.asset_type === s).map((n) => n.uuid)
|
|
@@ -1144,10 +1154,10 @@ const Ue = _(
|
|
|
1144
1154
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1145
1155
|
}
|
|
1146
1156
|
)
|
|
1147
|
-
),
|
|
1157
|
+
), Ns = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], gd = ta.reducer, te = _((t) => t.uuid), Hs = te.getInitialState({}), ia = T({
|
|
1148
1158
|
name: "assetTypes",
|
|
1149
|
-
initialState:
|
|
1150
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1159
|
+
initialState: Hs,
|
|
1160
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Hs)),
|
|
1151
1161
|
reducers: {
|
|
1152
1162
|
initializeAssetTypes: te.initialize,
|
|
1153
1163
|
setAssetType: te.setOne,
|
|
@@ -1161,18 +1171,18 @@ const Ue = _(
|
|
|
1161
1171
|
}
|
|
1162
1172
|
}), {
|
|
1163
1173
|
initializeAssetTypes: Td,
|
|
1164
|
-
setAssetType:
|
|
1165
|
-
setAssetTypes:
|
|
1166
|
-
addAssetType:
|
|
1167
|
-
addAssetTypes:
|
|
1174
|
+
setAssetType: $A,
|
|
1175
|
+
setAssetTypes: GA,
|
|
1176
|
+
addAssetType: Ws,
|
|
1177
|
+
addAssetTypes: BA,
|
|
1168
1178
|
updateAssetType: et,
|
|
1169
|
-
updateAssetTypes:
|
|
1170
|
-
deleteAssetType:
|
|
1171
|
-
deleteAssetTypes:
|
|
1172
|
-
} = ia.actions, na = (t) => t.assetTypeReducer.instances,
|
|
1179
|
+
updateAssetTypes: LA,
|
|
1180
|
+
deleteAssetType: Ks,
|
|
1181
|
+
deleteAssetTypes: NA
|
|
1182
|
+
} = ia.actions, na = (t) => t.assetTypeReducer.instances, HA = m(
|
|
1173
1183
|
[na],
|
|
1174
1184
|
(t) => Object.values(t)
|
|
1175
|
-
),
|
|
1185
|
+
), Ys = (t) => (e) => e.assetTypeReducer.instances[t], WA = y(
|
|
1176
1186
|
m(
|
|
1177
1187
|
[na, (t, e) => e],
|
|
1178
1188
|
(t, e) => {
|
|
@@ -1184,14 +1194,14 @@ const Ue = _(
|
|
|
1184
1194
|
return b(s);
|
|
1185
1195
|
}
|
|
1186
1196
|
)
|
|
1187
|
-
), Pd = ia.reducer,
|
|
1197
|
+
), Pd = ia.reducer, Js = {
|
|
1188
1198
|
accessToken: "",
|
|
1189
1199
|
refreshToken: "",
|
|
1190
1200
|
isLoggedIn: !1
|
|
1191
|
-
},
|
|
1201
|
+
}, Ct = T({
|
|
1192
1202
|
name: "auth",
|
|
1193
|
-
initialState:
|
|
1194
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1203
|
+
initialState: Js,
|
|
1204
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Js)),
|
|
1195
1205
|
reducers: {
|
|
1196
1206
|
setTokens: (t, e) => {
|
|
1197
1207
|
t.accessToken = e.payload.accessToken, t.refreshToken = e.payload.refreshToken;
|
|
@@ -1200,20 +1210,20 @@ const Ue = _(
|
|
|
1200
1210
|
t.accessToken = "", t.refreshToken = "";
|
|
1201
1211
|
},
|
|
1202
1212
|
setLoggedIn: (t, e) => {
|
|
1203
|
-
e.payload ||
|
|
1213
|
+
e.payload || Ct.caseReducers.clearTokens(t), t.isLoggedIn = e.payload;
|
|
1204
1214
|
}
|
|
1205
1215
|
}
|
|
1206
|
-
}), { setTokens:
|
|
1216
|
+
}), { setTokens: KA, clearTokens: YA, setLoggedIn: _d } = Ct.actions, JA = (t) => t.authReducer.accessToken, QA = (t) => t.authReducer.isLoggedIn, Rd = Ct.reducer, $e = _((t) => t.uuid), Qs = $e.getInitialState({}), aa = T({
|
|
1207
1217
|
name: "categories",
|
|
1208
|
-
initialState:
|
|
1209
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1218
|
+
initialState: Qs,
|
|
1219
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qs)),
|
|
1210
1220
|
reducers: {
|
|
1211
1221
|
initializeCategories: $e.initialize,
|
|
1212
1222
|
addCategory: $e.addOne,
|
|
1213
1223
|
updateCategory: $e.updateOne,
|
|
1214
1224
|
deleteCategory: $e.deleteOne
|
|
1215
1225
|
}
|
|
1216
|
-
}), { initializeCategories: Fd, addCategory:
|
|
1226
|
+
}), { initializeCategories: Fd, addCategory: Xs, updateCategory: Od, deleteCategory: Id } = aa.actions, ca = (t) => t.categoryReducer.instances, XA = m([ca], (t) => Object.values(t)), Zs = (t) => (e) => e.categoryReducer.instances[t], ZA = y(
|
|
1217
1227
|
m(
|
|
1218
1228
|
[ca, (t, e) => e],
|
|
1219
1229
|
(t, e) => {
|
|
@@ -1225,12 +1235,12 @@ const Ue = _(
|
|
|
1225
1235
|
return b(s);
|
|
1226
1236
|
}
|
|
1227
1237
|
)
|
|
1228
|
-
),
|
|
1238
|
+
), ey = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, vd = aa.reducer, se = _(
|
|
1229
1239
|
(t) => t.uuid
|
|
1230
|
-
),
|
|
1240
|
+
), ei = se.getInitialState({}), ra = T({
|
|
1231
1241
|
name: "documentAttachments",
|
|
1232
|
-
initialState:
|
|
1233
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1242
|
+
initialState: ei,
|
|
1243
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ei)),
|
|
1234
1244
|
reducers: {
|
|
1235
1245
|
initializeDocumentAttachments: se.initialize,
|
|
1236
1246
|
addDocumentAttachment: se.addOne,
|
|
@@ -1244,29 +1254,29 @@ const Ue = _(
|
|
|
1244
1254
|
}
|
|
1245
1255
|
}), {
|
|
1246
1256
|
initializeDocumentAttachments: wd,
|
|
1247
|
-
addDocumentAttachment:
|
|
1257
|
+
addDocumentAttachment: ty,
|
|
1248
1258
|
addDocumentAttachments: Ed,
|
|
1249
1259
|
setDocumentAttachment: kd,
|
|
1250
|
-
setDocumentAttachments:
|
|
1251
|
-
updateDocumentAttachment:
|
|
1260
|
+
setDocumentAttachments: sy,
|
|
1261
|
+
updateDocumentAttachment: iy,
|
|
1252
1262
|
updateDocumentAttachments: qd,
|
|
1253
1263
|
deleteDocumentAttachment: jd,
|
|
1254
1264
|
deleteDocumentAttachments: Md
|
|
1255
1265
|
} = ra.actions, Cd = (t) => t.documentAttachmentReducer.instances, Dd = m(
|
|
1256
1266
|
[Cd],
|
|
1257
1267
|
(t) => Object.values(t)
|
|
1258
|
-
), xd = (t) => (e) => e.documentAttachmentReducer.instances[t],
|
|
1268
|
+
), xd = (t) => (e) => e.documentAttachmentReducer.instances[t], ny = y(
|
|
1259
1269
|
m(
|
|
1260
1270
|
[Dd, (t, e) => e],
|
|
1261
1271
|
(t, e) => b(t.filter(({ document: s }) => e === s))
|
|
1262
1272
|
)
|
|
1263
|
-
), zd = ra.reducer,
|
|
1273
|
+
), zd = ra.reducer, ti = {
|
|
1264
1274
|
documents: {}
|
|
1265
1275
|
}, oa = T({
|
|
1266
1276
|
name: "documents",
|
|
1267
|
-
initialState:
|
|
1277
|
+
initialState: ti,
|
|
1268
1278
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
1269
|
-
Object.assign(e,
|
|
1279
|
+
Object.assign(e, ti);
|
|
1270
1280
|
}),
|
|
1271
1281
|
reducers: {
|
|
1272
1282
|
setDocuments: (t, e) => {
|
|
@@ -1386,10 +1396,10 @@ const Ue = _(
|
|
|
1386
1396
|
}
|
|
1387
1397
|
}
|
|
1388
1398
|
}
|
|
1389
|
-
}), { setDocuments: Vd, addDocuments: Ud, updateDocuments: _e, moveDocument: $d, removeDocuments:
|
|
1399
|
+
}), { setDocuments: Vd, addDocuments: Ud, updateDocuments: _e, moveDocument: $d, removeDocuments: si } = oa.actions, Ne = (t) => t.documentsReducer.documents, Gd = m(
|
|
1390
1400
|
[Ne],
|
|
1391
1401
|
(t) => Object.values(t)
|
|
1392
|
-
), Bd = (t) => (e) => e.documentsReducer.documents[t],
|
|
1402
|
+
), Bd = (t) => (e) => e.documentsReducer.documents[t], ay = y(
|
|
1393
1403
|
m(
|
|
1394
1404
|
[Ne, (t, e) => e],
|
|
1395
1405
|
(t, e) => {
|
|
@@ -1401,7 +1411,7 @@ const Ue = _(
|
|
|
1401
1411
|
return b(s);
|
|
1402
1412
|
}
|
|
1403
1413
|
)
|
|
1404
|
-
),
|
|
1414
|
+
), cy = y(
|
|
1405
1415
|
m(
|
|
1406
1416
|
[Ne, (t, e) => e],
|
|
1407
1417
|
(t, e) => {
|
|
@@ -1413,7 +1423,7 @@ const Ue = _(
|
|
|
1413
1423
|
return b(s);
|
|
1414
1424
|
}
|
|
1415
1425
|
)
|
|
1416
|
-
),
|
|
1426
|
+
), ry = m(
|
|
1417
1427
|
[Gd],
|
|
1418
1428
|
(t) => b(t.filter((e) => !e.parent_document))
|
|
1419
1429
|
), Ld = oa.reducer, ct = _(
|
|
@@ -1426,19 +1436,19 @@ const Ue = _(
|
|
|
1426
1436
|
addEmailDomain: ct.addOne,
|
|
1427
1437
|
deleteEmailDomain: ct.deleteOne
|
|
1428
1438
|
}
|
|
1429
|
-
}), { initializeEmailDomains: Hd, addEmailDomain: Wd, deleteEmailDomain: Kd } = da.actions, Yd = (t) => t.emailDomainsReducer.instances, Jd = m([Yd], (t) => Object.values(t)),
|
|
1439
|
+
}), { initializeEmailDomains: Hd, addEmailDomain: Wd, deleteEmailDomain: Kd } = da.actions, Yd = (t) => t.emailDomainsReducer.instances, Jd = m([Yd], (t) => Object.values(t)), oy = y(
|
|
1430
1440
|
m(
|
|
1431
1441
|
[Jd, (t, e) => e],
|
|
1432
1442
|
(t, e) => b(
|
|
1433
1443
|
t.filter((s) => s.organization === e)
|
|
1434
1444
|
)
|
|
1435
1445
|
)
|
|
1436
|
-
), Qd = da.reducer,
|
|
1446
|
+
), Qd = da.reducer, ii = {
|
|
1437
1447
|
s3Urls: {}
|
|
1438
1448
|
}, ua = 1e3 * 60 * 60, Xd = ua * 24 * 7, la = T({
|
|
1439
1449
|
name: "file",
|
|
1440
|
-
initialState:
|
|
1441
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1450
|
+
initialState: ii,
|
|
1451
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ii)),
|
|
1442
1452
|
reducers: {
|
|
1443
1453
|
setUploadUrl: (t, e) => {
|
|
1444
1454
|
const { url: s, fields: i, sha1: n } = e.payload, a = /* @__PURE__ */ new Date(), c = new Date(a.getTime() + Xd);
|
|
@@ -1456,10 +1466,10 @@ const Ue = _(
|
|
|
1456
1466
|
const i = (/* @__PURE__ */ new Date()).getTime();
|
|
1457
1467
|
if (!((s.exp ?? i) - i < ua))
|
|
1458
1468
|
return s;
|
|
1459
|
-
}, tu = la.reducer, ie = _((t) => t.uuid),
|
|
1469
|
+
}, tu = la.reducer, ie = _((t) => t.uuid), ni = ie.getInitialState({}), ha = T({
|
|
1460
1470
|
name: "formRevisionAttachments",
|
|
1461
|
-
initialState:
|
|
1462
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1471
|
+
initialState: ni,
|
|
1472
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ni)),
|
|
1463
1473
|
reducers: {
|
|
1464
1474
|
initializeFormRevisionAttachments: ie.initialize,
|
|
1465
1475
|
addFormRevisionAttachment: ie.addOne,
|
|
@@ -1473,15 +1483,15 @@ const Ue = _(
|
|
|
1473
1483
|
}
|
|
1474
1484
|
}), {
|
|
1475
1485
|
initializeFormRevisionAttachments: su,
|
|
1476
|
-
addFormRevisionAttachment:
|
|
1486
|
+
addFormRevisionAttachment: dy,
|
|
1477
1487
|
addFormRevisionAttachments: iu,
|
|
1478
|
-
setFormRevisionAttachment:
|
|
1479
|
-
setFormRevisionAttachments:
|
|
1480
|
-
updateFormRevisionAttachment:
|
|
1488
|
+
setFormRevisionAttachment: uy,
|
|
1489
|
+
setFormRevisionAttachments: ly,
|
|
1490
|
+
updateFormRevisionAttachment: hy,
|
|
1481
1491
|
updateFormRevisionAttachments: nu,
|
|
1482
|
-
deleteFormRevisionAttachment:
|
|
1492
|
+
deleteFormRevisionAttachment: py,
|
|
1483
1493
|
deleteFormRevisionAttachments: au
|
|
1484
|
-
} = ha.actions, cu = (t) => t.formRevisionAttachmentReducer.instances,
|
|
1494
|
+
} = ha.actions, cu = (t) => t.formRevisionAttachmentReducer.instances, my = y(
|
|
1485
1495
|
m(
|
|
1486
1496
|
[cu, (t, e) => e],
|
|
1487
1497
|
(t, e) => b(
|
|
@@ -1491,10 +1501,10 @@ const Ue = _(
|
|
|
1491
1501
|
), ru = ha.reducer, ou = (t, e) => {
|
|
1492
1502
|
const s = t.revision, i = e.revision;
|
|
1493
1503
|
return s === void 0 && i === void 0 ? t.submitted_at < e.submitted_at ? -1 : 1 : s === void 0 ? 1 : i === void 0 || s < i ? -1 : 1;
|
|
1494
|
-
}, Re = _((t) => t.uuid),
|
|
1504
|
+
}, Re = _((t) => t.uuid), ai = Re.getInitialState({}), pa = T({
|
|
1495
1505
|
name: "formRevisions",
|
|
1496
|
-
initialState:
|
|
1497
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1506
|
+
initialState: ai,
|
|
1507
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ai)),
|
|
1498
1508
|
reducers: {
|
|
1499
1509
|
initializeFormRevisions: Re.initialize,
|
|
1500
1510
|
setFormRevision: Re.setOne,
|
|
@@ -1510,12 +1520,12 @@ const Ue = _(
|
|
|
1510
1520
|
addFormRevisions: lu,
|
|
1511
1521
|
deleteFormRevision: fa,
|
|
1512
1522
|
deleteFormRevisions: hu
|
|
1513
|
-
} = pa.actions,
|
|
1514
|
-
[
|
|
1523
|
+
} = pa.actions, Dt = (t) => t.formRevisionReducer.instances, pu = m(
|
|
1524
|
+
[Dt],
|
|
1515
1525
|
(t) => Object.values(t)
|
|
1516
|
-
),
|
|
1526
|
+
), fy = (t) => (e) => e.formRevisionReducer.instances[t], Ay = y(
|
|
1517
1527
|
m(
|
|
1518
|
-
[
|
|
1528
|
+
[Dt, (t, e) => e],
|
|
1519
1529
|
(t, e) => {
|
|
1520
1530
|
const s = Object.values(t).filter((a) => a.form === e);
|
|
1521
1531
|
if (s.length === 0) return;
|
|
@@ -1528,10 +1538,10 @@ const Ue = _(
|
|
|
1528
1538
|
[pu, (t, e) => e],
|
|
1529
1539
|
(t, e) => b(t.filter((s) => s.form === e))
|
|
1530
1540
|
)
|
|
1531
|
-
), fu = pa.reducer, Fe = _((t) => t.uuid),
|
|
1541
|
+
), fu = pa.reducer, Fe = _((t) => t.uuid), ci = Fe.getInitialState({}), Aa = T({
|
|
1532
1542
|
name: "forms",
|
|
1533
|
-
initialState:
|
|
1534
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1543
|
+
initialState: ci,
|
|
1544
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ci)),
|
|
1535
1545
|
reducers: {
|
|
1536
1546
|
initializeForms: Fe.initialize,
|
|
1537
1547
|
setForm: Fe.setOne,
|
|
@@ -1540,10 +1550,10 @@ const Ue = _(
|
|
|
1540
1550
|
updateForm: Fe.updateOne,
|
|
1541
1551
|
deleteForm: Fe.deleteOne
|
|
1542
1552
|
}
|
|
1543
|
-
}), { initializeForms: Au, setForm:
|
|
1553
|
+
}), { initializeForms: Au, setForm: yy, addForm: ri, addForms: by, updateForm: Sy, deleteForm: oi } = Aa.actions, yu = Aa.reducer, bu = (t) => t.formReducer.instances, gy = m([bu], (t) => Object.values(t)), Su = (t) => (e) => e.formReducer.instances[t], ne = _((t) => t.uuid), di = ne.getInitialState({}), ya = T({
|
|
1544
1554
|
name: "formSubmissionAttachments",
|
|
1545
|
-
initialState:
|
|
1546
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1555
|
+
initialState: di,
|
|
1556
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, di)),
|
|
1547
1557
|
reducers: {
|
|
1548
1558
|
initializeFormSubmissionAttachments: ne.initialize,
|
|
1549
1559
|
addFormSubmissionAttachment: ne.addOne,
|
|
@@ -1557,13 +1567,13 @@ const Ue = _(
|
|
|
1557
1567
|
}
|
|
1558
1568
|
}), {
|
|
1559
1569
|
initializeFormSubmissionAttachments: gu,
|
|
1560
|
-
addFormSubmissionAttachment:
|
|
1570
|
+
addFormSubmissionAttachment: Ty,
|
|
1561
1571
|
addFormSubmissionAttachments: Ot,
|
|
1562
|
-
setFormSubmissionAttachment:
|
|
1563
|
-
setFormSubmissionAttachments:
|
|
1564
|
-
updateFormSubmissionAttachment:
|
|
1572
|
+
setFormSubmissionAttachment: Py,
|
|
1573
|
+
setFormSubmissionAttachments: _y,
|
|
1574
|
+
updateFormSubmissionAttachment: Ry,
|
|
1565
1575
|
updateFormSubmissionAttachments: Tu,
|
|
1566
|
-
deleteFormSubmissionAttachment:
|
|
1576
|
+
deleteFormSubmissionAttachment: Fy,
|
|
1567
1577
|
deleteFormSubmissionAttachments: It
|
|
1568
1578
|
} = ya.actions, ba = (t) => t.formSubmissionAttachmentReducer.instances, Pu = y(
|
|
1569
1579
|
m(
|
|
@@ -1587,10 +1597,10 @@ const Ue = _(
|
|
|
1587
1597
|
)
|
|
1588
1598
|
), Ru = ya.reducer, ae = _(
|
|
1589
1599
|
(t) => t.uuid
|
|
1590
|
-
),
|
|
1600
|
+
), ui = ae.getInitialState({}), Sa = T({
|
|
1591
1601
|
name: "formSubmissions",
|
|
1592
|
-
initialState:
|
|
1593
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1602
|
+
initialState: ui,
|
|
1603
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ui)),
|
|
1594
1604
|
reducers: {
|
|
1595
1605
|
initializeFormSubmissions: ae.initialize,
|
|
1596
1606
|
setFormSubmission: ae.setOne,
|
|
@@ -1605,21 +1615,21 @@ const Ue = _(
|
|
|
1605
1615
|
}), {
|
|
1606
1616
|
initializeFormSubmissions: Fu,
|
|
1607
1617
|
setFormSubmission: pt,
|
|
1608
|
-
setFormSubmissions:
|
|
1609
|
-
addFormSubmission:
|
|
1610
|
-
addFormSubmissions:
|
|
1618
|
+
setFormSubmissions: Oy,
|
|
1619
|
+
addFormSubmission: li,
|
|
1620
|
+
addFormSubmissions: xt,
|
|
1611
1621
|
updateFormSubmission: Ou,
|
|
1612
|
-
updateFormSubmissions:
|
|
1613
|
-
deleteFormSubmission:
|
|
1614
|
-
deleteFormSubmissions:
|
|
1622
|
+
updateFormSubmissions: Iy,
|
|
1623
|
+
deleteFormSubmission: hi,
|
|
1624
|
+
deleteFormSubmissions: zt
|
|
1615
1625
|
} = Sa.actions, ga = (t) => t.formSubmissionReducer.instances, Ta = m(
|
|
1616
1626
|
[ga],
|
|
1617
1627
|
(t) => Object.values(t)
|
|
1618
|
-
),
|
|
1628
|
+
), pi = (t) => (e) => e.formSubmissionReducer.instances[t], Iu = y(
|
|
1619
1629
|
m(
|
|
1620
1630
|
[
|
|
1621
1631
|
ga,
|
|
1622
|
-
|
|
1632
|
+
Dt,
|
|
1623
1633
|
(t, e) => e
|
|
1624
1634
|
],
|
|
1625
1635
|
(t, e, s) => {
|
|
@@ -1641,12 +1651,12 @@ const Ue = _(
|
|
|
1641
1651
|
[Ta, (t, e) => e],
|
|
1642
1652
|
(t, e) => t.filter((s) => s.asset === e)
|
|
1643
1653
|
)
|
|
1644
|
-
), Eu = Sa.reducer, ce = _((t) => t.uuid),
|
|
1654
|
+
), Eu = Sa.reducer, ce = _((t) => t.uuid), mi = ce.getInitialState({}), Pa = T({
|
|
1645
1655
|
name: "geoImages",
|
|
1646
|
-
initialState:
|
|
1656
|
+
initialState: mi,
|
|
1647
1657
|
extraReducers: (t) => {
|
|
1648
1658
|
t.addCase("RESET", (e) => {
|
|
1649
|
-
Object.assign(e,
|
|
1659
|
+
Object.assign(e, mi);
|
|
1650
1660
|
});
|
|
1651
1661
|
},
|
|
1652
1662
|
reducers: {
|
|
@@ -1667,17 +1677,17 @@ const Ue = _(
|
|
|
1667
1677
|
addGeoImage: ju,
|
|
1668
1678
|
addGeoImages: Mu,
|
|
1669
1679
|
updateGeoImage: Cu,
|
|
1670
|
-
updateGeoImages:
|
|
1671
|
-
deleteGeoImage:
|
|
1680
|
+
updateGeoImages: vy,
|
|
1681
|
+
deleteGeoImage: fi,
|
|
1672
1682
|
deleteGeoImages: Du
|
|
1673
|
-
} = Pa.actions, xu = (t) => t.geoImageReducer.instances, zu = m([xu], (t) => Object.values(t)),
|
|
1683
|
+
} = Pa.actions, xu = (t) => t.geoImageReducer.instances, zu = m([xu], (t) => Object.values(t)), Ai = (t) => (e) => e.geoImageReducer.instances[t], wy = y(
|
|
1674
1684
|
m([zu, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
|
|
1675
1685
|
), Vu = Pa.reducer, re = _(
|
|
1676
1686
|
(t) => t.uuid
|
|
1677
|
-
),
|
|
1687
|
+
), yi = re.getInitialState({}), _a = T({
|
|
1678
1688
|
name: "issueAssociations",
|
|
1679
|
-
initialState:
|
|
1680
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1689
|
+
initialState: yi,
|
|
1690
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, yi)),
|
|
1681
1691
|
reducers: {
|
|
1682
1692
|
initializeIssueAssociations: re.initialize,
|
|
1683
1693
|
addIssueAssociation: re.addOne,
|
|
@@ -1691,15 +1701,15 @@ const Ue = _(
|
|
|
1691
1701
|
}
|
|
1692
1702
|
}), {
|
|
1693
1703
|
initializeIssueAssociations: Uu,
|
|
1694
|
-
setIssueAssociations:
|
|
1695
|
-
setIssueAssociation:
|
|
1704
|
+
setIssueAssociations: Ey,
|
|
1705
|
+
setIssueAssociation: ky,
|
|
1696
1706
|
updateIssueAssociation: $u,
|
|
1697
|
-
updateIssueAssociations:
|
|
1698
|
-
addIssueAssociation:
|
|
1707
|
+
updateIssueAssociations: qy,
|
|
1708
|
+
addIssueAssociation: bi,
|
|
1699
1709
|
addIssueAssociations: Ra,
|
|
1700
|
-
deleteIssueAssociation:
|
|
1710
|
+
deleteIssueAssociation: Si,
|
|
1701
1711
|
deleteIssueAssociations: Fa
|
|
1702
|
-
} = _a.actions, ut = (t) => t.issueAssociationReducer.instances,
|
|
1712
|
+
} = _a.actions, ut = (t) => t.issueAssociationReducer.instances, jy = m([ut], (t) => Object.values(t)), Gu = (t) => (e) => e.issueAssociationReducer.instances[t], Bu = y(
|
|
1703
1713
|
m(
|
|
1704
1714
|
[ut, (t, e) => e],
|
|
1705
1715
|
(t, e) => b(
|
|
@@ -1718,10 +1728,10 @@ const Ue = _(
|
|
|
1718
1728
|
)
|
|
1719
1729
|
), Hu = _a.reducer, oe = _(
|
|
1720
1730
|
(t) => t.uuid
|
|
1721
|
-
),
|
|
1731
|
+
), gi = oe.getInitialState({}), Oa = T({
|
|
1722
1732
|
name: "issueAttachments",
|
|
1723
|
-
initialState:
|
|
1724
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1733
|
+
initialState: gi,
|
|
1734
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, gi)),
|
|
1725
1735
|
reducers: {
|
|
1726
1736
|
initializeIssueAttachments: oe.initialize,
|
|
1727
1737
|
addIssueAttachment: oe.addOne,
|
|
@@ -1734,12 +1744,12 @@ const Ue = _(
|
|
|
1734
1744
|
deleteIssueAttachments: oe.deleteMany
|
|
1735
1745
|
}
|
|
1736
1746
|
}), {
|
|
1737
|
-
initializeIssueAttachments:
|
|
1738
|
-
addIssueAttachment:
|
|
1747
|
+
initializeIssueAttachments: Ti,
|
|
1748
|
+
addIssueAttachment: My,
|
|
1739
1749
|
addIssueAttachments: Ia,
|
|
1740
1750
|
setIssueAttachment: Wu,
|
|
1741
|
-
setIssueAttachments:
|
|
1742
|
-
updateIssueAttachment:
|
|
1751
|
+
setIssueAttachments: Cy,
|
|
1752
|
+
updateIssueAttachment: Dy,
|
|
1743
1753
|
updateIssueAttachments: Ku,
|
|
1744
1754
|
deleteIssueAttachment: Yu,
|
|
1745
1755
|
deleteIssueAttachments: va
|
|
@@ -1751,10 +1761,10 @@ const Ue = _(
|
|
|
1751
1761
|
[Qu, (t, e) => e],
|
|
1752
1762
|
(t, e) => b(t.filter(({ issue: s }) => e === s))
|
|
1753
1763
|
)
|
|
1754
|
-
), Zu = (t) => (e) => e.issueAttachmentReducer.instances[t], el = Oa.reducer, de = _((t) => t.uuid),
|
|
1764
|
+
), Zu = (t) => (e) => e.issueAttachmentReducer.instances[t], el = Oa.reducer, de = _((t) => t.uuid), Pi = de.getInitialState({}), wa = T({
|
|
1755
1765
|
name: "issueCommentAttachments",
|
|
1756
|
-
initialState:
|
|
1757
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1766
|
+
initialState: Pi,
|
|
1767
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Pi)),
|
|
1758
1768
|
reducers: {
|
|
1759
1769
|
initializeIssueCommentAttachments: de.initialize,
|
|
1760
1770
|
addIssueCommentAttachment: de.addOne,
|
|
@@ -1767,19 +1777,19 @@ const Ue = _(
|
|
|
1767
1777
|
deleteIssueCommentAttachments: de.deleteMany
|
|
1768
1778
|
}
|
|
1769
1779
|
}), {
|
|
1770
|
-
initializeIssueCommentAttachments:
|
|
1771
|
-
addIssueCommentAttachment:
|
|
1780
|
+
initializeIssueCommentAttachments: _i,
|
|
1781
|
+
addIssueCommentAttachment: xy,
|
|
1772
1782
|
addIssueCommentAttachments: tl,
|
|
1773
1783
|
setIssueCommentAttachment: sl,
|
|
1774
|
-
setIssueCommentAttachments:
|
|
1775
|
-
updateIssueCommentAttachment:
|
|
1784
|
+
setIssueCommentAttachments: zy,
|
|
1785
|
+
updateIssueCommentAttachment: Vy,
|
|
1776
1786
|
updateIssueCommentAttachments: il,
|
|
1777
1787
|
deleteIssueCommentAttachment: nl,
|
|
1778
1788
|
deleteIssueCommentAttachments: al
|
|
1779
1789
|
} = wa.actions, cl = (t) => t.issueCommentAttachmentReducer.instances, rl = m(
|
|
1780
1790
|
[cl],
|
|
1781
1791
|
(t) => Object.values(t)
|
|
1782
|
-
), ol = (t) => (e) => e.issueCommentAttachmentReducer.instances[t],
|
|
1792
|
+
), ol = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], Uy = y(
|
|
1783
1793
|
m(
|
|
1784
1794
|
[
|
|
1785
1795
|
rl,
|
|
@@ -1787,10 +1797,10 @@ const Ue = _(
|
|
|
1787
1797
|
],
|
|
1788
1798
|
(t, e) => b(t.filter(({ issue_comment: s }) => e === s))
|
|
1789
1799
|
)
|
|
1790
|
-
), dl = wa.reducer, Oe = _((t) => t.uuid),
|
|
1800
|
+
), dl = wa.reducer, Oe = _((t) => t.uuid), Ri = Oe.getInitialState({}), Ea = T({
|
|
1791
1801
|
name: "issueComments",
|
|
1792
|
-
initialState:
|
|
1793
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1802
|
+
initialState: Ri,
|
|
1803
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ri)),
|
|
1794
1804
|
reducers: {
|
|
1795
1805
|
addIssueComment: Oe.addOne,
|
|
1796
1806
|
addIssueComments: Oe.addMany,
|
|
@@ -1801,21 +1811,21 @@ const Ue = _(
|
|
|
1801
1811
|
}
|
|
1802
1812
|
}), {
|
|
1803
1813
|
setIssueComments: ul,
|
|
1804
|
-
setIssueComment:
|
|
1805
|
-
addIssueComment:
|
|
1806
|
-
addIssueComments:
|
|
1807
|
-
deleteIssueComment:
|
|
1808
|
-
deleteIssueComments:
|
|
1809
|
-
} = Ea.actions, ll = (t) => t.issueCommentReducer.instances,
|
|
1814
|
+
setIssueComment: Fi,
|
|
1815
|
+
addIssueComment: Oi,
|
|
1816
|
+
addIssueComments: $y,
|
|
1817
|
+
deleteIssueComment: Ii,
|
|
1818
|
+
deleteIssueComments: Gy
|
|
1819
|
+
} = Ea.actions, ll = (t) => t.issueCommentReducer.instances, vi = (t) => (e) => e.issueCommentReducer.instances[t], By = y(
|
|
1810
1820
|
m(
|
|
1811
1821
|
[ll, (t, e) => e],
|
|
1812
1822
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1813
1823
|
)
|
|
1814
|
-
), hl = Ea.reducer, Ie = _((t) => t.uuid),
|
|
1824
|
+
), hl = Ea.reducer, Ie = _((t) => t.uuid), wi = Ie.getInitialState({}), ka = T({
|
|
1815
1825
|
name: "issues",
|
|
1816
|
-
initialState:
|
|
1826
|
+
initialState: wi,
|
|
1817
1827
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
1818
|
-
Object.assign(e,
|
|
1828
|
+
Object.assign(e, wi);
|
|
1819
1829
|
}),
|
|
1820
1830
|
reducers: {
|
|
1821
1831
|
initializeIssues: Ie.initialize,
|
|
@@ -1825,7 +1835,7 @@ const Ue = _(
|
|
|
1825
1835
|
deleteIssue: Ie.deleteOne,
|
|
1826
1836
|
deleteIssues: Ie.deleteMany
|
|
1827
1837
|
}
|
|
1828
|
-
}), { initializeIssues: pl, addIssue:
|
|
1838
|
+
}), { initializeIssues: pl, addIssue: Ei, addIssues: ml, updateIssue: mt, deleteIssue: ki, deleteIssues: fl } = ka.actions, Al = (t) => t.issueReducer.instances, qi = (t) => (e) => e.issueReducer.instances[t], Ly = y(
|
|
1829
1839
|
m([Al, (t, e) => e], (t, e) => {
|
|
1830
1840
|
const s = [];
|
|
1831
1841
|
for (const i of e) {
|
|
@@ -1836,10 +1846,10 @@ const Ue = _(
|
|
|
1836
1846
|
})
|
|
1837
1847
|
), yl = ka.reducer, ue = _(
|
|
1838
1848
|
(t) => t.uuid
|
|
1839
|
-
),
|
|
1849
|
+
), ji = ue.getInitialState({}), qa = T({
|
|
1840
1850
|
name: "issueTypeAttachments",
|
|
1841
|
-
initialState:
|
|
1842
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1851
|
+
initialState: ji,
|
|
1852
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ji)),
|
|
1843
1853
|
reducers: {
|
|
1844
1854
|
initializeIssueTypeAttachments: ue.initialize,
|
|
1845
1855
|
addIssueTypeAttachment: ue.addOne,
|
|
@@ -1852,27 +1862,27 @@ const Ue = _(
|
|
|
1852
1862
|
deleteIssueTypeAttachments: ue.deleteMany
|
|
1853
1863
|
}
|
|
1854
1864
|
}), {
|
|
1855
|
-
initializeIssueTypeAttachments:
|
|
1856
|
-
addIssueTypeAttachment:
|
|
1865
|
+
initializeIssueTypeAttachments: Mi,
|
|
1866
|
+
addIssueTypeAttachment: Ny,
|
|
1857
1867
|
addIssueTypeAttachments: bl,
|
|
1858
1868
|
setIssueTypeAttachment: Sl,
|
|
1859
|
-
setIssueTypeAttachments:
|
|
1860
|
-
updateIssueTypeAttachment:
|
|
1869
|
+
setIssueTypeAttachments: Hy,
|
|
1870
|
+
updateIssueTypeAttachment: Wy,
|
|
1861
1871
|
updateIssueTypeAttachments: gl,
|
|
1862
1872
|
deleteIssueTypeAttachment: Tl,
|
|
1863
1873
|
deleteIssueTypeAttachments: Pl
|
|
1864
1874
|
} = qa.actions, _l = (t) => t.issueTypeAttachmentReducer.instances, Rl = m(
|
|
1865
1875
|
[_l],
|
|
1866
1876
|
(t) => Object.values(t)
|
|
1867
|
-
), Fl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t],
|
|
1877
|
+
), Fl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Ky = y(
|
|
1868
1878
|
m(
|
|
1869
1879
|
[Rl, (t, e) => e],
|
|
1870
1880
|
(t, e) => b(t.filter(({ issue_type: s }) => e === s))
|
|
1871
1881
|
)
|
|
1872
|
-
), Ol = qa.reducer, le = _((t) => t.uuid),
|
|
1882
|
+
), Ol = qa.reducer, le = _((t) => t.uuid), Ci = le.getInitialState({}), ja = T({
|
|
1873
1883
|
name: "issueTypeFieldsAttachments",
|
|
1874
|
-
initialState:
|
|
1875
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1884
|
+
initialState: Ci,
|
|
1885
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ci)),
|
|
1876
1886
|
reducers: {
|
|
1877
1887
|
initializeIssueTypeFieldsAttachments: le.initialize,
|
|
1878
1888
|
addIssueTypeFieldsAttachment: le.addOne,
|
|
@@ -1886,30 +1896,30 @@ const Ue = _(
|
|
|
1886
1896
|
}
|
|
1887
1897
|
}), {
|
|
1888
1898
|
initializeIssueTypeFieldsAttachments: Il,
|
|
1889
|
-
addIssueTypeFieldsAttachment:
|
|
1899
|
+
addIssueTypeFieldsAttachment: Yy,
|
|
1890
1900
|
addIssueTypeFieldsAttachments: vl,
|
|
1891
|
-
setIssueTypeFieldsAttachment:
|
|
1892
|
-
setIssueTypeFieldsAttachments:
|
|
1893
|
-
updateIssueTypeFieldsAttachment:
|
|
1901
|
+
setIssueTypeFieldsAttachment: Jy,
|
|
1902
|
+
setIssueTypeFieldsAttachments: Qy,
|
|
1903
|
+
updateIssueTypeFieldsAttachment: Xy,
|
|
1894
1904
|
updateIssueTypeFieldsAttachments: wl,
|
|
1895
|
-
deleteIssueTypeFieldsAttachment:
|
|
1905
|
+
deleteIssueTypeFieldsAttachment: Zy,
|
|
1896
1906
|
deleteIssueTypeFieldsAttachments: El
|
|
1897
1907
|
} = ja.actions, kl = (t) => t.issueTypeFieldsAttachmentReducer.instances, ql = m(
|
|
1898
1908
|
[kl],
|
|
1899
1909
|
(t) => Object.values(t)
|
|
1900
|
-
),
|
|
1910
|
+
), eb = y(
|
|
1901
1911
|
m(
|
|
1902
1912
|
[ql, (t, e) => e],
|
|
1903
1913
|
(t, e) => b(
|
|
1904
1914
|
t.filter((s) => s.fields_revision === e)
|
|
1905
1915
|
)
|
|
1906
1916
|
)
|
|
1907
|
-
),
|
|
1917
|
+
), tb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], jl = ja.reducer, he = _(
|
|
1908
1918
|
(t) => t.uuid
|
|
1909
|
-
),
|
|
1919
|
+
), Di = he.getInitialState({}), Ma = T({
|
|
1910
1920
|
name: "issueTypeFieldValues",
|
|
1911
|
-
initialState:
|
|
1912
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1921
|
+
initialState: Di,
|
|
1922
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Di)),
|
|
1913
1923
|
reducers: {
|
|
1914
1924
|
initializeIssueTypeFieldValues: he.initialize,
|
|
1915
1925
|
addIssueTypeFieldValues: he.addOne,
|
|
@@ -1923,22 +1933,22 @@ const Ue = _(
|
|
|
1923
1933
|
}
|
|
1924
1934
|
}), {
|
|
1925
1935
|
initializeIssueTypeFieldValues: Ml,
|
|
1926
|
-
addIssueTypeFieldValues:
|
|
1927
|
-
addIssueTypeFieldValuesMany:
|
|
1928
|
-
setIssueTypeFieldValues:
|
|
1929
|
-
setIssueTypeFieldValuesMany:
|
|
1936
|
+
addIssueTypeFieldValues: xi,
|
|
1937
|
+
addIssueTypeFieldValuesMany: sb,
|
|
1938
|
+
setIssueTypeFieldValues: ib,
|
|
1939
|
+
setIssueTypeFieldValuesMany: nb,
|
|
1930
1940
|
updateIssueTypeFieldValues: st,
|
|
1931
|
-
updateIssueTypeFieldValuesMany:
|
|
1932
|
-
deleteIssueTypeFieldValues:
|
|
1933
|
-
deleteIssueTypeFieldValuesMany:
|
|
1934
|
-
} = Ma.actions, Cl = (t) => t.issueTypeFieldValuesReducer.instances, Ca = m([Cl], (t) => Object.values(t)),
|
|
1941
|
+
updateIssueTypeFieldValuesMany: ab,
|
|
1942
|
+
deleteIssueTypeFieldValues: zi,
|
|
1943
|
+
deleteIssueTypeFieldValuesMany: cb
|
|
1944
|
+
} = Ma.actions, Cl = (t) => t.issueTypeFieldValuesReducer.instances, Ca = m([Cl], (t) => Object.values(t)), rb = y(
|
|
1935
1945
|
m([Ca, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
|
|
1936
|
-
),
|
|
1946
|
+
), Vi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Dl = Ma.reducer, pe = _(
|
|
1937
1947
|
(t) => t.uuid
|
|
1938
|
-
),
|
|
1948
|
+
), Ui = pe.getInitialState({}), Da = T({
|
|
1939
1949
|
name: "issueTypeFields",
|
|
1940
|
-
initialState:
|
|
1941
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1950
|
+
initialState: Ui,
|
|
1951
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ui)),
|
|
1942
1952
|
reducers: {
|
|
1943
1953
|
initializeIssueTypeFields: pe.initialize,
|
|
1944
1954
|
addIssueTypeFields: pe.addOne,
|
|
@@ -1953,20 +1963,20 @@ const Ue = _(
|
|
|
1953
1963
|
}), {
|
|
1954
1964
|
initializeIssueTypeFields: xl,
|
|
1955
1965
|
addIssueTypeFields: zl,
|
|
1956
|
-
addIssueTypeFieldsMany:
|
|
1957
|
-
setIssueTypeFields:
|
|
1958
|
-
setIssueTypeFieldsMany:
|
|
1966
|
+
addIssueTypeFieldsMany: ob,
|
|
1967
|
+
setIssueTypeFields: db,
|
|
1968
|
+
setIssueTypeFieldsMany: ub,
|
|
1959
1969
|
updateIssueTypeFields: Vl,
|
|
1960
|
-
updateIssueTypeFieldsMany:
|
|
1970
|
+
updateIssueTypeFieldsMany: lb,
|
|
1961
1971
|
deleteIssueTypeFields: Ul,
|
|
1962
|
-
deleteIssueTypeFieldsMany:
|
|
1963
|
-
} = Da.actions, $l = (t) => t.issueTypeFieldsReducer.instances,
|
|
1964
|
-
m([
|
|
1965
|
-
), pb = y(
|
|
1966
|
-
m([zt, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1972
|
+
deleteIssueTypeFieldsMany: hb
|
|
1973
|
+
} = Da.actions, $l = (t) => t.issueTypeFieldsReducer.instances, Vt = m([$l], (t) => Object.values(t)), pb = y(
|
|
1974
|
+
m([Vt, (t, e) => e], (t, e) => b(t.filter((s) => s.issue_type === e)))
|
|
1967
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
|
+
), fb = y(
|
|
1968
1978
|
m(
|
|
1969
|
-
[
|
|
1979
|
+
[Vt, Ca, (t, e) => e],
|
|
1970
1980
|
(t, e, s) => {
|
|
1971
1981
|
const i = new Set(
|
|
1972
1982
|
t.filter((n) => n.issue_type === s).map((n) => n.uuid)
|
|
@@ -1974,10 +1984,10 @@ const Ue = _(
|
|
|
1974
1984
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1975
1985
|
}
|
|
1976
1986
|
)
|
|
1977
|
-
),
|
|
1987
|
+
), Ab = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Gl = Da.reducer, me = _((t) => t.uuid), $i = me.getInitialState({}), xa = T({
|
|
1978
1988
|
name: "issueTypeFieldValuesAttachments",
|
|
1979
|
-
initialState:
|
|
1980
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1989
|
+
initialState: $i,
|
|
1990
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, $i)),
|
|
1981
1991
|
reducers: {
|
|
1982
1992
|
initializeIssueTypeFieldValuesAttachments: me.initialize,
|
|
1983
1993
|
addIssueTypeFieldValuesAttachment: me.addOne,
|
|
@@ -1991,18 +2001,18 @@ const Ue = _(
|
|
|
1991
2001
|
}
|
|
1992
2002
|
}), {
|
|
1993
2003
|
initializeIssueTypeFieldValuesAttachments: Bl,
|
|
1994
|
-
addIssueTypeFieldValuesAttachment:
|
|
2004
|
+
addIssueTypeFieldValuesAttachment: yb,
|
|
1995
2005
|
addIssueTypeFieldValuesAttachments: vt,
|
|
1996
|
-
setIssueTypeFieldValuesAttachment:
|
|
1997
|
-
setIssueTypeFieldValuesAttachments:
|
|
1998
|
-
updateIssueTypeFieldValuesAttachment:
|
|
2006
|
+
setIssueTypeFieldValuesAttachment: bb,
|
|
2007
|
+
setIssueTypeFieldValuesAttachments: Sb,
|
|
2008
|
+
updateIssueTypeFieldValuesAttachment: gb,
|
|
1999
2009
|
updateIssueTypeFieldValuesAttachments: Ll,
|
|
2000
|
-
deleteIssueTypeFieldValuesAttachment:
|
|
2010
|
+
deleteIssueTypeFieldValuesAttachment: Tb,
|
|
2001
2011
|
deleteIssueTypeFieldValuesAttachments: wt
|
|
2002
2012
|
} = xa.actions, za = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Nl = m(
|
|
2003
2013
|
[za],
|
|
2004
2014
|
(t) => Object.values(t)
|
|
2005
|
-
),
|
|
2015
|
+
), Pb = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t], Hl = y(
|
|
2006
2016
|
m(
|
|
2007
2017
|
[
|
|
2008
2018
|
za,
|
|
@@ -2020,11 +2030,11 @@ const Ue = _(
|
|
|
2020
2030
|
[Nl, (t, e) => e],
|
|
2021
2031
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
2022
2032
|
)
|
|
2023
|
-
), Kl = xa.reducer, je = _((t) => t.uuid),
|
|
2033
|
+
), Kl = xa.reducer, je = _((t) => t.uuid), Gi = je.getInitialState({}), Va = T({
|
|
2024
2034
|
name: "issueTypes",
|
|
2025
|
-
initialState:
|
|
2035
|
+
initialState: Gi,
|
|
2026
2036
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
2027
|
-
Object.assign(e,
|
|
2037
|
+
Object.assign(e, Gi);
|
|
2028
2038
|
}),
|
|
2029
2039
|
reducers: {
|
|
2030
2040
|
initializeIssueTypes: je.initialize,
|
|
@@ -2033,17 +2043,17 @@ const Ue = _(
|
|
|
2033
2043
|
updateIssueType: je.updateOne,
|
|
2034
2044
|
removeIssueType: je.deleteOne
|
|
2035
2045
|
}
|
|
2036
|
-
}), { initializeIssueTypes: Yl, setIssueType: it, addIssueType: Jl, updateIssueType: Ql, removeIssueType:
|
|
2046
|
+
}), { initializeIssueTypes: Yl, setIssueType: it, addIssueType: Jl, updateIssueType: Ql, removeIssueType: Bi } = Va.actions, Xl = (t) => t.issueTypeReducer.instances, Zl = m(
|
|
2037
2047
|
Xl,
|
|
2038
2048
|
(t) => Object.values(t)
|
|
2039
|
-
),
|
|
2049
|
+
), Li = (t) => (e) => e.issueTypeReducer.instances[t], _b = (t) => (e) => {
|
|
2040
2050
|
const s = [];
|
|
2041
2051
|
for (const i of t) {
|
|
2042
2052
|
const n = e.issueTypeReducer.instances[i];
|
|
2043
2053
|
n ? s.push(n) : console.warn("selectIssueTypesByIds: No issue type exists with the id", i);
|
|
2044
2054
|
}
|
|
2045
2055
|
return s;
|
|
2046
|
-
},
|
|
2056
|
+
}, Rb = y(
|
|
2047
2057
|
m(
|
|
2048
2058
|
[Zl, (t, e) => e],
|
|
2049
2059
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
@@ -2055,12 +2065,12 @@ const Ue = _(
|
|
|
2055
2065
|
Object.values(t).filter((s) => s.issue_type === e)
|
|
2056
2066
|
)
|
|
2057
2067
|
)
|
|
2058
|
-
),
|
|
2068
|
+
), Fb = (t) => (e) => Ua(t)(e).length, eh = Va.reducer, ve = _(
|
|
2059
2069
|
(t) => t.uuid
|
|
2060
|
-
),
|
|
2070
|
+
), Ni = ve.getInitialState({}), $a = T({
|
|
2061
2071
|
name: "issueUpdates",
|
|
2062
|
-
initialState:
|
|
2063
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2072
|
+
initialState: Ni,
|
|
2073
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ni)),
|
|
2064
2074
|
reducers: {
|
|
2065
2075
|
initializeIssueUpdates: ve.setMany,
|
|
2066
2076
|
setIssueUpdate: ve.setOne,
|
|
@@ -2071,7 +2081,7 @@ const Ue = _(
|
|
|
2071
2081
|
}
|
|
2072
2082
|
}), {
|
|
2073
2083
|
initializeIssueUpdates: th,
|
|
2074
|
-
setIssueUpdate:
|
|
2084
|
+
setIssueUpdate: Ob,
|
|
2075
2085
|
addIssueUpdate: sh,
|
|
2076
2086
|
addIssueUpdates: ih,
|
|
2077
2087
|
deleteIssueUpdate: nh,
|
|
@@ -2081,29 +2091,29 @@ const Ue = _(
|
|
|
2081
2091
|
[ch, (t, e) => e],
|
|
2082
2092
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
2083
2093
|
)
|
|
2084
|
-
), oh = $a.reducer, rt = _((t) => t.uuid),
|
|
2094
|
+
), oh = $a.reducer, rt = _((t) => t.uuid), Hi = rt.getInitialState({}), Ga = T({
|
|
2085
2095
|
name: "license",
|
|
2086
|
-
initialState:
|
|
2087
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2096
|
+
initialState: Hi,
|
|
2097
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Hi)),
|
|
2088
2098
|
reducers: {
|
|
2089
2099
|
initializeLicences: rt.initialize,
|
|
2090
2100
|
addLicenses: rt.addMany,
|
|
2091
2101
|
updateLicense: rt.updateOne
|
|
2092
2102
|
}
|
|
2093
|
-
}), { initializeLicences: dh, addLicenses:
|
|
2094
|
-
[
|
|
2103
|
+
}), { initializeLicences: dh, addLicenses: Ib, updateLicense: ge } = Ga.actions, Ut = (t) => t.licenseReducer.instances, vb = (t) => (e) => e.licenseReducer.instances[t], uh = (t) => (e) => Object.values(e.licenseReducer.instances).find((s) => s.project === t), wb = m(
|
|
2104
|
+
[Ut],
|
|
2095
2105
|
(t) => b(Object.values(t).filter((e) => e.is_active))
|
|
2096
|
-
),
|
|
2097
|
-
[
|
|
2106
|
+
), Eb = m(
|
|
2107
|
+
[Ut],
|
|
2098
2108
|
(t) => De(
|
|
2099
2109
|
Object.values(t).filter((e) => e.project).reduce((e, s) => ({ ...e, [s.project]: s }), {})
|
|
2100
2110
|
)
|
|
2101
|
-
), lh = Ga.reducer, q = _((t) => t.id),
|
|
2111
|
+
), lh = Ga.reducer, q = _((t) => t.id), Wi = q.getInitialState({
|
|
2102
2112
|
currentUser: null
|
|
2103
2113
|
}), Ba = T({
|
|
2104
2114
|
name: "users",
|
|
2105
|
-
initialState:
|
|
2106
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2115
|
+
initialState: Wi,
|
|
2116
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Wi)),
|
|
2107
2117
|
reducers: {
|
|
2108
2118
|
initializeUsers: q.initialize,
|
|
2109
2119
|
setUsers: q.setMany,
|
|
@@ -2130,19 +2140,19 @@ const Ue = _(
|
|
|
2130
2140
|
}
|
|
2131
2141
|
}), {
|
|
2132
2142
|
initializeUsers: hh,
|
|
2133
|
-
setUsers:
|
|
2134
|
-
setUser:
|
|
2135
|
-
addUsers:
|
|
2136
|
-
addUser:
|
|
2137
|
-
updateUsers:
|
|
2138
|
-
updateUser:
|
|
2139
|
-
deleteUser:
|
|
2140
|
-
deleteUsers:
|
|
2143
|
+
setUsers: kb,
|
|
2144
|
+
setUser: qb,
|
|
2145
|
+
addUsers: jb,
|
|
2146
|
+
addUser: Mb,
|
|
2147
|
+
updateUsers: Cb,
|
|
2148
|
+
updateUser: Db,
|
|
2149
|
+
deleteUser: xb,
|
|
2150
|
+
deleteUsers: zb,
|
|
2141
2151
|
removeUser: ph,
|
|
2142
|
-
setCurrentUser:
|
|
2143
|
-
setProfilePicture:
|
|
2144
|
-
} = Ba.actions, mh = Ba.reducer,
|
|
2145
|
-
m([
|
|
2152
|
+
setCurrentUser: Vb,
|
|
2153
|
+
setProfilePicture: Ub
|
|
2154
|
+
} = Ba.actions, mh = Ba.reducer, $t = (t) => t.userReducer.currentUser, Gt = (t) => t.userReducer.instances, $b = (t) => (e) => e.userReducer.instances[t], Gb = y(
|
|
2155
|
+
m([Gt, (t, e) => e], (t, e) => {
|
|
2146
2156
|
const s = [];
|
|
2147
2157
|
for (const i of e) {
|
|
2148
2158
|
const n = t[i];
|
|
@@ -2152,21 +2162,21 @@ const Ue = _(
|
|
|
2152
2162
|
})
|
|
2153
2163
|
), ot = _(
|
|
2154
2164
|
(t) => t.uuid
|
|
2155
|
-
),
|
|
2165
|
+
), Ki = ot.getInitialState({}), La = T({
|
|
2156
2166
|
name: "organizationAccess",
|
|
2157
|
-
initialState:
|
|
2158
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2167
|
+
initialState: Ki,
|
|
2168
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ki)),
|
|
2159
2169
|
reducers: {
|
|
2160
2170
|
initializeOrganizationAccesses: ot.initialize,
|
|
2161
2171
|
updateOrganizationAccess: ot.updateOne,
|
|
2162
2172
|
deleteOrganizationAccess: ot.deleteOne
|
|
2163
2173
|
}
|
|
2164
|
-
}), { initializeOrganizationAccesses: fh, updateOrganizationAccess: Ah, deleteOrganizationAccess: yh } = La.actions, Na = (t) => t.organizationAccessReducer.instances,
|
|
2165
|
-
[
|
|
2174
|
+
}), { initializeOrganizationAccesses: fh, updateOrganizationAccess: Ah, deleteOrganizationAccess: yh } = La.actions, Na = (t) => t.organizationAccessReducer.instances, Bb = (t) => (e) => e.organizationAccessReducer.instances[t], Lb = m(
|
|
2175
|
+
[$t, Na],
|
|
2166
2176
|
(t, e) => Object.values(e).find(
|
|
2167
2177
|
(i) => i.user === (t == null ? void 0 : t.id)
|
|
2168
2178
|
) ?? null
|
|
2169
|
-
),
|
|
2179
|
+
), Nb = (t) => (e) => Object.values(e.organizationAccessReducer.instances).find(
|
|
2170
2180
|
(s) => s.user === t.id
|
|
2171
2181
|
), bh = (t) => {
|
|
2172
2182
|
const e = {};
|
|
@@ -2175,10 +2185,10 @@ const Ue = _(
|
|
|
2175
2185
|
return De(e);
|
|
2176
2186
|
}, Sh = La.reducer, Ge = _(
|
|
2177
2187
|
(t) => t.uuid
|
|
2178
|
-
),
|
|
2188
|
+
), Yi = Ge.getInitialState({}), Ha = T({
|
|
2179
2189
|
name: "projectAccess",
|
|
2180
|
-
initialState:
|
|
2181
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2190
|
+
initialState: Yi,
|
|
2191
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Yi)),
|
|
2182
2192
|
reducers: {
|
|
2183
2193
|
initializeProjectAccesses: Ge.initialize,
|
|
2184
2194
|
updateProjectAccess: Ge.updateOne,
|
|
@@ -2188,17 +2198,17 @@ const Ue = _(
|
|
|
2188
2198
|
}), { initializeProjectAccesses: Wa, updateProjectAccess: gh, deleteProjectAccess: Th, deleteProjectAccesses: Ph } = Ha.actions, Ka = (t) => t.projectAccessReducer.instances, _h = m(
|
|
2189
2199
|
Ka,
|
|
2190
2200
|
(t) => Object.values(t)
|
|
2191
|
-
),
|
|
2201
|
+
), Hb = (t) => (e) => e.projectAccessReducer.instances[t], Wb = (t) => (e) => Object.values(e.projectAccessReducer.instances).find(
|
|
2192
2202
|
(s) => s.user === t.id
|
|
2193
2203
|
), Rh = (t) => {
|
|
2194
2204
|
const e = {};
|
|
2195
2205
|
for (const s of Object.values(t.projectAccessReducer.instances))
|
|
2196
2206
|
e[s.user] = s;
|
|
2197
2207
|
return De(e);
|
|
2198
|
-
}, Fh = Ha.reducer, fe = _((t) => t.uuid),
|
|
2208
|
+
}, Fh = Ha.reducer, fe = _((t) => t.uuid), Ji = fe.getInitialState({}), Ya = T({
|
|
2199
2209
|
name: "projects",
|
|
2200
|
-
initialState:
|
|
2201
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2210
|
+
initialState: Ji,
|
|
2211
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ji)),
|
|
2202
2212
|
reducers: {
|
|
2203
2213
|
initializeProjects: fe.initialize,
|
|
2204
2214
|
setProjects: fe.setMany,
|
|
@@ -2217,24 +2227,24 @@ const Ue = _(
|
|
|
2217
2227
|
}
|
|
2218
2228
|
}
|
|
2219
2229
|
}), {
|
|
2220
|
-
initializeProjects:
|
|
2230
|
+
initializeProjects: Kb,
|
|
2221
2231
|
setProjects: Oh,
|
|
2222
|
-
setProject:
|
|
2223
|
-
addProjects:
|
|
2224
|
-
addProject:
|
|
2225
|
-
updateProjects:
|
|
2232
|
+
setProject: Yb,
|
|
2233
|
+
addProjects: Jb,
|
|
2234
|
+
addProject: Qb,
|
|
2235
|
+
updateProjects: Xb,
|
|
2226
2236
|
updateProject: Ih,
|
|
2227
2237
|
deleteProject: vh,
|
|
2228
|
-
deleteProjects:
|
|
2238
|
+
deleteProjects: Zb,
|
|
2229
2239
|
acceptProjectInvite: wh
|
|
2230
|
-
} = Ya.actions, Eh = Ya.reducer,
|
|
2240
|
+
} = Ya.actions, Eh = Ya.reducer, Bt = (t) => t.projectReducer.instances, eS = m([Bt], (t) => b(Object.values(t))), tS = (t) => (e) => e.projectReducer.instances[t], kh = m(
|
|
2231
2241
|
[Ka],
|
|
2232
2242
|
(t) => Object.values(t).map((e) => e.user)
|
|
2233
2243
|
), qh = m(
|
|
2234
|
-
[kh,
|
|
2244
|
+
[kh, Gt],
|
|
2235
2245
|
(t, e) => t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
2236
|
-
),
|
|
2237
|
-
[
|
|
2246
|
+
), sS = m(
|
|
2247
|
+
[$t, qh, Rh],
|
|
2238
2248
|
(t, e, s) => b(
|
|
2239
2249
|
Object.values(e).sort((i, n) => {
|
|
2240
2250
|
if (i.id === (t == null ? void 0 : t.id))
|
|
@@ -2242,13 +2252,13 @@ const Ue = _(
|
|
|
2242
2252
|
if (n.id === (t == null ? void 0 : t.id))
|
|
2243
2253
|
return 1;
|
|
2244
2254
|
const a = s[i.id], c = s[n.id];
|
|
2245
|
-
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) ===
|
|
2255
|
+
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;
|
|
2246
2256
|
})
|
|
2247
2257
|
)
|
|
2248
|
-
), Ae = _((t) => t.uuid),
|
|
2258
|
+
), Ae = _((t) => t.uuid), Qi = Ae.getInitialState({}), Ja = T({
|
|
2249
2259
|
name: "organizations",
|
|
2250
|
-
initialState:
|
|
2251
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2260
|
+
initialState: Qi,
|
|
2261
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qi)),
|
|
2252
2262
|
reducers: {
|
|
2253
2263
|
initializeOrganizations: Ae.initialize,
|
|
2254
2264
|
setOrganizations: Ae.setMany,
|
|
@@ -2261,16 +2271,16 @@ const Ue = _(
|
|
|
2261
2271
|
deleteOrganizations: Ae.deleteMany
|
|
2262
2272
|
}
|
|
2263
2273
|
}), {
|
|
2264
|
-
initializeOrganizations:
|
|
2274
|
+
initializeOrganizations: iS,
|
|
2265
2275
|
setOrganizations: jh,
|
|
2266
|
-
setOrganization:
|
|
2267
|
-
addOrganizations:
|
|
2268
|
-
addOrganization:
|
|
2269
|
-
updateOrganizations:
|
|
2270
|
-
updateOrganization:
|
|
2271
|
-
deleteOrganization:
|
|
2272
|
-
deleteOrganizations:
|
|
2273
|
-
} = Ja.actions, Mh = (t) => t.organizationReducer.instances, Ch = m([Mh], (t) => Object.values(t)),
|
|
2276
|
+
setOrganization: nS,
|
|
2277
|
+
addOrganizations: aS,
|
|
2278
|
+
addOrganization: cS,
|
|
2279
|
+
updateOrganizations: rS,
|
|
2280
|
+
updateOrganization: oS,
|
|
2281
|
+
deleteOrganization: dS,
|
|
2282
|
+
deleteOrganizations: uS
|
|
2283
|
+
} = Ja.actions, Mh = (t) => t.organizationReducer.instances, Ch = m([Mh], (t) => Object.values(t)), lS = (t) => (e) => e.organizationReducer.instances[t], hS = m(
|
|
2274
2284
|
[Ch],
|
|
2275
2285
|
(t) => b(
|
|
2276
2286
|
Object.values(t).filter((e) => e.has_access)
|
|
@@ -2278,27 +2288,27 @@ const Ue = _(
|
|
|
2278
2288
|
), Dh = m(
|
|
2279
2289
|
[Na],
|
|
2280
2290
|
(t) => Object.values(t).map((e) => e.user)
|
|
2281
|
-
),
|
|
2291
|
+
), pS = y(
|
|
2282
2292
|
m(
|
|
2283
|
-
[
|
|
2293
|
+
[Bt, (t, e) => e],
|
|
2284
2294
|
(t, e) => b(
|
|
2285
2295
|
Object.values(t).filter((s) => s.organization_owner === e)
|
|
2286
2296
|
)
|
|
2287
2297
|
)
|
|
2288
|
-
),
|
|
2298
|
+
), mS = y(
|
|
2289
2299
|
m(
|
|
2290
|
-
[
|
|
2300
|
+
[Ut, (t, e) => e],
|
|
2291
2301
|
(t, e) => b(
|
|
2292
2302
|
Object.values(t).filter((s) => s.organization_owner === e)
|
|
2293
2303
|
)
|
|
2294
2304
|
)
|
|
2295
2305
|
), xh = m(
|
|
2296
|
-
[Dh,
|
|
2306
|
+
[Dh, Gt],
|
|
2297
2307
|
(t, e) => De(
|
|
2298
2308
|
t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
2299
2309
|
)
|
|
2300
|
-
),
|
|
2301
|
-
[
|
|
2310
|
+
), fS = m(
|
|
2311
|
+
[$t, xh, bh],
|
|
2302
2312
|
(t, e, s) => b(
|
|
2303
2313
|
Object.values(e).sort((i, n) => {
|
|
2304
2314
|
if (i.id === (t == null ? void 0 : t.id))
|
|
@@ -2306,7 +2316,7 @@ const Ue = _(
|
|
|
2306
2316
|
if (n.id === (t == null ? void 0 : t.id))
|
|
2307
2317
|
return 1;
|
|
2308
2318
|
const a = s[i.id], c = s[n.id];
|
|
2309
|
-
return (a == null ? void 0 : a.access_level) === (c == null ? void 0 : c.access_level) ? i.username.localeCompare(n.username) : (a == null ? void 0 : a.access_level) ===
|
|
2319
|
+
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;
|
|
2310
2320
|
})
|
|
2311
2321
|
)
|
|
2312
2322
|
), zh = Ja.reducer, Vh = (t, e, s) => {
|
|
@@ -2325,13 +2335,13 @@ const Ue = _(
|
|
|
2325
2335
|
}
|
|
2326
2336
|
}
|
|
2327
2337
|
};
|
|
2328
|
-
},
|
|
2338
|
+
}, Xi = {
|
|
2329
2339
|
deletedRequests: [],
|
|
2330
2340
|
latestRetryTime: 0
|
|
2331
2341
|
}, Qa = T({
|
|
2332
2342
|
name: "outbox",
|
|
2333
|
-
initialState:
|
|
2334
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2343
|
+
initialState: Xi,
|
|
2344
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Xi)),
|
|
2335
2345
|
reducers: {
|
|
2336
2346
|
// enqueueActions is a reducer that does nothing but enqueue API request to the Redux Offline outbox
|
|
2337
2347
|
// Whenever an issue is being created, a reducer addIssue() is responsible for adding it to the offline store
|
|
@@ -2355,12 +2365,12 @@ const Ue = _(
|
|
|
2355
2365
|
t.latestRetryTime = e.payload;
|
|
2356
2366
|
}
|
|
2357
2367
|
}
|
|
2358
|
-
}),
|
|
2368
|
+
}), AS = (t) => t.outboxReducer.deletedRequests, yS = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Uh, markForDeletion: bS, markAsDeleted: $h, _setLatestRetryTime: Gh } = Qa.actions, Bh = Qa.reducer, ye = _(
|
|
2359
2369
|
(t) => t.uuid
|
|
2360
|
-
),
|
|
2370
|
+
), Zi = ye.getInitialState({}), Xa = T({
|
|
2361
2371
|
name: "projectAttachments",
|
|
2362
|
-
initialState:
|
|
2363
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2372
|
+
initialState: Zi,
|
|
2373
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zi)),
|
|
2364
2374
|
reducers: {
|
|
2365
2375
|
initializeProjectAttachments: ye.initialize,
|
|
2366
2376
|
addProjectAttachment: ye.addOne,
|
|
@@ -2374,11 +2384,11 @@ const Ue = _(
|
|
|
2374
2384
|
}
|
|
2375
2385
|
}), {
|
|
2376
2386
|
initializeProjectAttachments: Lh,
|
|
2377
|
-
addProjectAttachment:
|
|
2387
|
+
addProjectAttachment: SS,
|
|
2378
2388
|
addProjectAttachments: Nh,
|
|
2379
2389
|
setProjectAttachment: Hh,
|
|
2380
2390
|
setProjectAttachments: Wh,
|
|
2381
|
-
updateProjectAttachment:
|
|
2391
|
+
updateProjectAttachment: gS,
|
|
2382
2392
|
updateProjectAttachments: Kh,
|
|
2383
2393
|
deleteProjectAttachment: Yh,
|
|
2384
2394
|
deleteProjectAttachments: Za
|
|
@@ -2392,13 +2402,13 @@ const Ue = _(
|
|
|
2392
2402
|
)
|
|
2393
2403
|
), ep = Xa.reducer, be = _(
|
|
2394
2404
|
(t) => t.uuid
|
|
2395
|
-
),
|
|
2405
|
+
), en = be.getInitialState({
|
|
2396
2406
|
activeProjectFileId: null,
|
|
2397
2407
|
isImportingProjectFile: !1
|
|
2398
2408
|
}), ec = T({
|
|
2399
2409
|
name: "projectFiles",
|
|
2400
|
-
initialState:
|
|
2401
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2410
|
+
initialState: en,
|
|
2411
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, en)),
|
|
2402
2412
|
reducers: {
|
|
2403
2413
|
initializeProjectFiles: be.initialize,
|
|
2404
2414
|
setProjectFile: be.setOne,
|
|
@@ -2434,20 +2444,20 @@ const Ue = _(
|
|
|
2434
2444
|
}
|
|
2435
2445
|
}), {
|
|
2436
2446
|
initializeProjectFiles: tp,
|
|
2437
|
-
setProjectFile:
|
|
2438
|
-
setProjectFiles:
|
|
2439
|
-
addProjectFile:
|
|
2447
|
+
setProjectFile: TS,
|
|
2448
|
+
setProjectFiles: PS,
|
|
2449
|
+
addProjectFile: _S,
|
|
2440
2450
|
addProjectFiles: sp,
|
|
2441
|
-
updateProjectFile:
|
|
2442
|
-
updateProjectFiles:
|
|
2451
|
+
updateProjectFile: tn,
|
|
2452
|
+
updateProjectFiles: RS,
|
|
2443
2453
|
deleteProjectFile: ip,
|
|
2444
2454
|
deleteProjectFiles: np,
|
|
2445
2455
|
// TODO: move following to /web
|
|
2446
2456
|
setIsImportingProjectFile: ap,
|
|
2447
2457
|
setActiveProjectFileId: cp,
|
|
2448
2458
|
saveActiveProjectFileBounds: rp,
|
|
2449
|
-
resetProjectFileObjectUrls:
|
|
2450
|
-
} = ec.actions, op = (t) => t.projectFileReducer.instances, dp = m([op], (t) => b(Object.values(t).sort((e, s) => e.z_index - s.z_index))),
|
|
2459
|
+
resetProjectFileObjectUrls: FS
|
|
2460
|
+
} = ec.actions, op = (t) => t.projectFileReducer.instances, dp = m([op], (t) => b(Object.values(t).sort((e, s) => e.z_index - s.z_index))), OS = (t) => (e) => e.projectFileReducer.instances[t], IS = (t) => t.projectFileReducer.activeProjectFileId, vS = (t) => t.projectFileReducer.isImportingProjectFile, up = ec.reducer, lp = {
|
|
2451
2461
|
isRehydrated: !1
|
|
2452
2462
|
}, tc = T({
|
|
2453
2463
|
name: "rehydrated",
|
|
@@ -2458,10 +2468,10 @@ const Ue = _(
|
|
|
2458
2468
|
t.isRehydrated = e.payload;
|
|
2459
2469
|
}
|
|
2460
2470
|
}
|
|
2461
|
-
}), { setRehydrated:
|
|
2471
|
+
}), { setRehydrated: wS } = tc.actions, ES = (t) => t.rehydratedReducer.isRehydrated, hp = tc.reducer, Me = _((t) => t.uuid), sn = Me.getInitialState({}), sc = T({
|
|
2462
2472
|
name: "teams",
|
|
2463
|
-
initialState:
|
|
2464
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
2473
|
+
initialState: sn,
|
|
2474
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, sn)),
|
|
2465
2475
|
reducers: {
|
|
2466
2476
|
setTeam: Me.setOne,
|
|
2467
2477
|
initializeTeams: Me.initialize,
|
|
@@ -2469,7 +2479,7 @@ const Ue = _(
|
|
|
2469
2479
|
updateTeam: Me.updateOne,
|
|
2470
2480
|
deleteTeam: Me.deleteOne
|
|
2471
2481
|
}
|
|
2472
|
-
}), { setTeam: ze, initializeTeams: pp, addTeam: mp, updateTeam:
|
|
2482
|
+
}), { setTeam: ze, initializeTeams: pp, addTeam: mp, updateTeam: nn, deleteTeam: an } = sc.actions, ic = (t) => t.teamReducer.instances, nc = m([ic], (t) => Object.values(t)), Ve = (t) => (e) => e.teamReducer.instances[t], kS = y(
|
|
2473
2483
|
m(
|
|
2474
2484
|
[ic, (t, e) => e],
|
|
2475
2485
|
(t, e) => {
|
|
@@ -2481,12 +2491,12 @@ const Ue = _(
|
|
|
2481
2491
|
return b(s);
|
|
2482
2492
|
}
|
|
2483
2493
|
)
|
|
2484
|
-
),
|
|
2494
|
+
), qS = y(
|
|
2485
2495
|
m(
|
|
2486
2496
|
[nc, (t, e) => e],
|
|
2487
2497
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2488
2498
|
)
|
|
2489
|
-
),
|
|
2499
|
+
), jS = y(
|
|
2490
2500
|
m([nc, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
|
|
2491
2501
|
), fp = sc.reducer, Ap = {
|
|
2492
2502
|
version: 0
|
|
@@ -2498,7 +2508,7 @@ const Ue = _(
|
|
|
2498
2508
|
outboxReducer: Bh,
|
|
2499
2509
|
fileReducer: tu,
|
|
2500
2510
|
authReducer: Rd
|
|
2501
|
-
},
|
|
2511
|
+
}, MS = dn(ac), Sp = {
|
|
2502
2512
|
...ac,
|
|
2503
2513
|
[dt]: bp,
|
|
2504
2514
|
categoryReducer: vd,
|
|
@@ -2556,7 +2566,7 @@ const Ue = _(
|
|
|
2556
2566
|
assetProcedureStepFieldValuesAttachmentReducer: mo,
|
|
2557
2567
|
assetProcedureStepFieldValuesReducer: go,
|
|
2558
2568
|
assetProcedureStepReducer: _o
|
|
2559
|
-
},
|
|
2569
|
+
}, CS = dn(Sp);
|
|
2560
2570
|
let cc;
|
|
2561
2571
|
function gp(t) {
|
|
2562
2572
|
cc = t;
|
|
@@ -2585,10 +2595,10 @@ class dc {
|
|
|
2585
2595
|
this.client.store.dispatch(e);
|
|
2586
2596
|
}
|
|
2587
2597
|
}
|
|
2588
|
-
const uc = () => hc.length - 1, lc = (t) => (t[dt] = { version: uc() }, t),
|
|
2598
|
+
const uc = () => hc.length - 1, lc = (t) => (t[dt] = { version: uc() }, t), cn = () => lc({}), _p = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Rp = (t) => (e) => {
|
|
2589
2599
|
var s;
|
|
2590
2600
|
return e === void 0 && (e = {}), ((s = e[dt]) == null ? void 0 : s.version) === uc() ? e : t(e);
|
|
2591
|
-
}, hc = [lc,
|
|
2601
|
+
}, hc = [lc, cn, cn, _p], Fp = Object.fromEntries(hc.map((t, e) => [e, Rp(t)]));
|
|
2592
2602
|
let ft = null;
|
|
2593
2603
|
function Ce() {
|
|
2594
2604
|
const t = We();
|
|
@@ -2619,7 +2629,7 @@ async function wp(t, e) {
|
|
|
2619
2629
|
return xp(e);
|
|
2620
2630
|
}
|
|
2621
2631
|
const Ep = {
|
|
2622
|
-
...
|
|
2632
|
+
...Lt,
|
|
2623
2633
|
effect: wp,
|
|
2624
2634
|
// Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
|
|
2625
2635
|
// but redux-offline does not know this.
|
|
@@ -2634,13 +2644,13 @@ const Ep = {
|
|
|
2634
2644
|
// and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
|
|
2635
2645
|
// that same issue"
|
|
2636
2646
|
queue: {
|
|
2637
|
-
...
|
|
2647
|
+
...Lt.queue,
|
|
2638
2648
|
enqueue: Ip,
|
|
2639
2649
|
dequeue: vp,
|
|
2640
2650
|
// Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
|
|
2641
2651
|
peek: (...t) => zp(...t)
|
|
2642
2652
|
}
|
|
2643
|
-
}, kp = Rc(Fp, dt),
|
|
2653
|
+
}, kp = Rc(Fp, dt), DS = gc(Pc(Ep), kp);
|
|
2644
2654
|
function qp(t) {
|
|
2645
2655
|
function e(s) {
|
|
2646
2656
|
return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((n) => n in s);
|
|
@@ -2824,7 +2834,7 @@ function zp(t, e, s) {
|
|
|
2824
2834
|
function Vp(t, e) {
|
|
2825
2835
|
return We().dispatch(Gh((/* @__PURE__ */ new Date()).getTime())), Cc;
|
|
2826
2836
|
}
|
|
2827
|
-
const He = "An unknown error occurred", Up = 500,
|
|
2837
|
+
const He = "An unknown error occurred", Up = 500, rn = ["non_field_errors", "detail"];
|
|
2828
2838
|
function $p(t, e) {
|
|
2829
2839
|
let s;
|
|
2830
2840
|
if (t != null && t.body)
|
|
@@ -2836,7 +2846,7 @@ function $p(t, e) {
|
|
|
2836
2846
|
s = i.message;
|
|
2837
2847
|
else
|
|
2838
2848
|
try {
|
|
2839
|
-
s = Object.entries(i).map(([n, a]) => typeof a == "string" ?
|
|
2849
|
+
s = Object.entries(i).map(([n, a]) => typeof a == "string" ? rn.includes(n) ? a : `${n}: ${a}` : Array.isArray(a) ? rn.includes(n) ? a.join(`
|
|
2840
2850
|
`) : a.map((c) => `${n}: ${c}`).join(`
|
|
2841
2851
|
`) : `${n}: ${JSON.stringify(a)}`).join(`
|
|
2842
2852
|
`);
|
|
@@ -2871,7 +2881,7 @@ class F extends dc {
|
|
|
2871
2881
|
this.auth = i;
|
|
2872
2882
|
}
|
|
2873
2883
|
}
|
|
2874
|
-
class
|
|
2884
|
+
class xS extends F {
|
|
2875
2885
|
async startConversation(e, s) {
|
|
2876
2886
|
return this.enqueueRequest({
|
|
2877
2887
|
description: "Start agent conversation",
|
|
@@ -3056,15 +3066,15 @@ class Te extends k {
|
|
|
3056
3066
|
}), n;
|
|
3057
3067
|
}
|
|
3058
3068
|
}
|
|
3059
|
-
class
|
|
3069
|
+
class zS extends Te {
|
|
3060
3070
|
constructor() {
|
|
3061
3071
|
super(...arguments);
|
|
3062
3072
|
A(this, "name", "Asset Attachment");
|
|
3063
3073
|
A(this, "url", "/asset-attachments");
|
|
3064
|
-
A(this, "initializeAttachments",
|
|
3065
|
-
A(this, "addAttachments",
|
|
3074
|
+
A(this, "initializeAttachments", Yt);
|
|
3075
|
+
A(this, "addAttachments", bn);
|
|
3066
3076
|
A(this, "updateAttachments", er);
|
|
3067
|
-
A(this, "removeAttachments",
|
|
3077
|
+
A(this, "removeAttachments", Sn);
|
|
3068
3078
|
A(this, "removeAttachment", tr);
|
|
3069
3079
|
A(this, "setAttachment", Zc);
|
|
3070
3080
|
A(this, "selectAttachment", nr);
|
|
@@ -3104,10 +3114,10 @@ class xS extends Te {
|
|
|
3104
3114
|
blocks: [],
|
|
3105
3115
|
blockers: []
|
|
3106
3116
|
});
|
|
3107
|
-
this.dispatch(
|
|
3117
|
+
this.dispatch(Yt(i));
|
|
3108
3118
|
}
|
|
3109
3119
|
}
|
|
3110
|
-
class
|
|
3120
|
+
class VS extends Te {
|
|
3111
3121
|
constructor() {
|
|
3112
3122
|
super(...arguments);
|
|
3113
3123
|
A(this, "name", "Asset Procedure Attachment");
|
|
@@ -3157,7 +3167,7 @@ class zS extends Te {
|
|
|
3157
3167
|
this.dispatch(rr(i));
|
|
3158
3168
|
}
|
|
3159
3169
|
}
|
|
3160
|
-
class
|
|
3170
|
+
class US extends k {
|
|
3161
3171
|
async bulkAdd(e) {
|
|
3162
3172
|
var l;
|
|
3163
3173
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -3222,7 +3232,7 @@ class VS extends k {
|
|
|
3222
3232
|
this.dispatch(yr(s));
|
|
3223
3233
|
}
|
|
3224
3234
|
}
|
|
3225
|
-
class
|
|
3235
|
+
class $S extends F {
|
|
3226
3236
|
add(e) {
|
|
3227
3237
|
var o;
|
|
3228
3238
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -3267,7 +3277,7 @@ function Ee(t, e) {
|
|
|
3267
3277
|
s.push(t.slice(i, i += e));
|
|
3268
3278
|
return s;
|
|
3269
3279
|
}
|
|
3270
|
-
class
|
|
3280
|
+
class GS extends k {
|
|
3271
3281
|
async bulkAdd(e, s) {
|
|
3272
3282
|
var r;
|
|
3273
3283
|
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 = [];
|
|
@@ -3359,7 +3369,7 @@ class $S extends k {
|
|
|
3359
3369
|
this.dispatch(Er(s));
|
|
3360
3370
|
}
|
|
3361
3371
|
}
|
|
3362
|
-
class
|
|
3372
|
+
class BS extends F {
|
|
3363
3373
|
add(e) {
|
|
3364
3374
|
var c;
|
|
3365
3375
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -3374,8 +3384,8 @@ class GS extends F {
|
|
|
3374
3384
|
blockers: [e.asset, e.fields_revision, e.asset_procedure_instance],
|
|
3375
3385
|
blocks: [n.uuid]
|
|
3376
3386
|
});
|
|
3377
|
-
return this.dispatch(
|
|
3378
|
-
this.dispatch(
|
|
3387
|
+
return this.dispatch(ts(n)), a.then((o) => (this.dispatch(Ke(o)), o)).catch(() => {
|
|
3388
|
+
this.dispatch(ss(n.uuid));
|
|
3379
3389
|
}), [n, a];
|
|
3380
3390
|
}
|
|
3381
3391
|
bulkAdd(e, s) {
|
|
@@ -3427,7 +3437,7 @@ class GS extends F {
|
|
|
3427
3437
|
}), [n, o];
|
|
3428
3438
|
}
|
|
3429
3439
|
update(e) {
|
|
3430
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3440
|
+
const { store: s } = this.client, i = s.getState(), n = is(e.uuid)(i);
|
|
3431
3441
|
if (!n)
|
|
3432
3442
|
throw new Error(`Expected AssetProcedureFieldValues with uuid ${e.uuid} to exist`);
|
|
3433
3443
|
const a = {
|
|
@@ -3454,11 +3464,11 @@ class GS extends F {
|
|
|
3454
3464
|
}), [a, c];
|
|
3455
3465
|
}
|
|
3456
3466
|
async delete(e) {
|
|
3457
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3467
|
+
const { store: s } = this.client, i = s.getState(), n = is(e)(i);
|
|
3458
3468
|
if (!n)
|
|
3459
3469
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3460
3470
|
const a = Mr(e)(i);
|
|
3461
|
-
this.dispatch(
|
|
3471
|
+
this.dispatch(ss(e)), this.dispatch(
|
|
3462
3472
|
Tt(a.map((c) => c.uuid))
|
|
3463
3473
|
);
|
|
3464
3474
|
try {
|
|
@@ -3470,7 +3480,7 @@ class GS extends F {
|
|
|
3470
3480
|
blocks: []
|
|
3471
3481
|
});
|
|
3472
3482
|
} catch (c) {
|
|
3473
|
-
throw this.dispatch(
|
|
3483
|
+
throw this.dispatch(ts(n)), this.dispatch(gt(a)), c;
|
|
3474
3484
|
}
|
|
3475
3485
|
}
|
|
3476
3486
|
async refreshStore(e) {
|
|
@@ -3487,7 +3497,7 @@ class GS extends F {
|
|
|
3487
3497
|
this.dispatch(Dr(s));
|
|
3488
3498
|
}
|
|
3489
3499
|
}
|
|
3490
|
-
class
|
|
3500
|
+
class LS extends F {
|
|
3491
3501
|
add(e) {
|
|
3492
3502
|
var o;
|
|
3493
3503
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -3495,7 +3505,7 @@ class BS extends F {
|
|
|
3495
3505
|
created_by: i,
|
|
3496
3506
|
submitted_at: n
|
|
3497
3507
|
});
|
|
3498
|
-
this.dispatch(
|
|
3508
|
+
this.dispatch(as(a));
|
|
3499
3509
|
const c = this.enqueueRequest({
|
|
3500
3510
|
description: "Create asset procedure instance",
|
|
3501
3511
|
method: u.POST,
|
|
@@ -3507,11 +3517,11 @@ class BS extends F {
|
|
|
3507
3517
|
return c.then((l) => {
|
|
3508
3518
|
this.dispatch(Ye(l));
|
|
3509
3519
|
}).catch(() => {
|
|
3510
|
-
this.dispatch(
|
|
3520
|
+
this.dispatch(cs(a.uuid));
|
|
3511
3521
|
}), [a, c];
|
|
3512
3522
|
}
|
|
3513
3523
|
update(e) {
|
|
3514
|
-
const { store: s } = this.client, i =
|
|
3524
|
+
const { store: s } = this.client, i = rs(e.uuid)(s.getState());
|
|
3515
3525
|
if (!i)
|
|
3516
3526
|
throw new Error(`Expected asset procedure instance with uuid ${e.uuid} to exist`);
|
|
3517
3527
|
const n = {
|
|
@@ -3534,17 +3544,17 @@ class BS extends F {
|
|
|
3534
3544
|
}), [n, a];
|
|
3535
3545
|
}
|
|
3536
3546
|
async remove(e) {
|
|
3537
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3547
|
+
const { store: s } = this.client, i = s.getState(), n = rs(e)(i);
|
|
3538
3548
|
if (!n)
|
|
3539
3549
|
throw new Error(`Expected asset procedure instance with uuid ${e} to exist`);
|
|
3540
|
-
return this.dispatch(
|
|
3550
|
+
return this.dispatch(cs(e)), this.enqueueRequest({
|
|
3541
3551
|
description: "Delete asset procedure instance",
|
|
3542
3552
|
method: u.DELETE,
|
|
3543
3553
|
url: `/asset-procedure-instances/${e}/`,
|
|
3544
3554
|
blockers: [e],
|
|
3545
3555
|
blocks: []
|
|
3546
3556
|
}).catch((a) => {
|
|
3547
|
-
throw this.dispatch(
|
|
3557
|
+
throw this.dispatch(as(n)), a;
|
|
3548
3558
|
});
|
|
3549
3559
|
}
|
|
3550
3560
|
async refreshStore(e) {
|
|
@@ -3561,7 +3571,7 @@ class BS extends F {
|
|
|
3561
3571
|
this.dispatch(Gr(s));
|
|
3562
3572
|
}
|
|
3563
3573
|
}
|
|
3564
|
-
class
|
|
3574
|
+
class NS extends F {
|
|
3565
3575
|
add(e) {
|
|
3566
3576
|
var o;
|
|
3567
3577
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -3569,7 +3579,7 @@ class LS extends F {
|
|
|
3569
3579
|
created_by: i,
|
|
3570
3580
|
submitted_at: n
|
|
3571
3581
|
});
|
|
3572
|
-
this.dispatch(
|
|
3582
|
+
this.dispatch(ds(a));
|
|
3573
3583
|
const c = this.enqueueRequest({
|
|
3574
3584
|
description: "Create asset procedure",
|
|
3575
3585
|
method: u.POST,
|
|
@@ -3581,11 +3591,11 @@ class LS extends F {
|
|
|
3581
3591
|
return c.then((l) => {
|
|
3582
3592
|
this.dispatch(Je(l));
|
|
3583
3593
|
}).catch(() => {
|
|
3584
|
-
this.dispatch(
|
|
3594
|
+
this.dispatch(us(a.uuid));
|
|
3585
3595
|
}), [a, c];
|
|
3586
3596
|
}
|
|
3587
3597
|
update(e) {
|
|
3588
|
-
const { store: s } = this.client, i =
|
|
3598
|
+
const { store: s } = this.client, i = ls(e.uuid)(s.getState());
|
|
3589
3599
|
if (!i)
|
|
3590
3600
|
throw new Error(`Expected asset procedure with uuid ${e.uuid} to exist`);
|
|
3591
3601
|
const n = {
|
|
@@ -3608,18 +3618,18 @@ class LS extends F {
|
|
|
3608
3618
|
}), [n, a];
|
|
3609
3619
|
}
|
|
3610
3620
|
async remove(e) {
|
|
3611
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3621
|
+
const { store: s } = this.client, i = s.getState(), n = ls(e)(i);
|
|
3612
3622
|
if (!n)
|
|
3613
3623
|
throw new Error(`Expected asset procedure with uuid ${e} to exist`);
|
|
3614
3624
|
const a = Nr(e)(i);
|
|
3615
|
-
return this.dispatch(
|
|
3625
|
+
return this.dispatch(us(e)), this.dispatch(Lr(a.map((c) => c.uuid))), this.enqueueRequest({
|
|
3616
3626
|
description: "Delete asset procedure",
|
|
3617
3627
|
method: u.DELETE,
|
|
3618
3628
|
url: `/asset-procedures/${e}/`,
|
|
3619
3629
|
blockers: [e],
|
|
3620
3630
|
blocks: []
|
|
3621
3631
|
}).catch((c) => {
|
|
3622
|
-
throw this.dispatch(
|
|
3632
|
+
throw this.dispatch(ds(n)), this.dispatch(Br(a)), c;
|
|
3623
3633
|
});
|
|
3624
3634
|
}
|
|
3625
3635
|
async refreshStore(e) {
|
|
@@ -3636,7 +3646,7 @@ class LS extends F {
|
|
|
3636
3646
|
this.dispatch(Wr(s));
|
|
3637
3647
|
}
|
|
3638
3648
|
}
|
|
3639
|
-
class
|
|
3649
|
+
class HS extends k {
|
|
3640
3650
|
async bulkAdd(e) {
|
|
3641
3651
|
var l;
|
|
3642
3652
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -3701,7 +3711,7 @@ class NS extends k {
|
|
|
3701
3711
|
this.dispatch(Jr(s));
|
|
3702
3712
|
}
|
|
3703
3713
|
}
|
|
3704
|
-
class
|
|
3714
|
+
class WS extends F {
|
|
3705
3715
|
add(e) {
|
|
3706
3716
|
var o;
|
|
3707
3717
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -3738,7 +3748,7 @@ class HS extends F {
|
|
|
3738
3748
|
this.dispatch(io(s));
|
|
3739
3749
|
}
|
|
3740
3750
|
}
|
|
3741
|
-
class
|
|
3751
|
+
class KS extends k {
|
|
3742
3752
|
async bulkAdd(e, s) {
|
|
3743
3753
|
var r;
|
|
3744
3754
|
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 = [];
|
|
@@ -3828,7 +3838,7 @@ class WS extends k {
|
|
|
3828
3838
|
this.dispatch(oo(s));
|
|
3829
3839
|
}
|
|
3830
3840
|
}
|
|
3831
|
-
class
|
|
3841
|
+
class YS extends F {
|
|
3832
3842
|
add(e) {
|
|
3833
3843
|
var c;
|
|
3834
3844
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -3843,8 +3853,8 @@ class KS extends F {
|
|
|
3843
3853
|
blockers: [e.asset, e.fields_revision, e.asset_procedure_instance],
|
|
3844
3854
|
blocks: [n.uuid]
|
|
3845
3855
|
});
|
|
3846
|
-
return this.dispatch(
|
|
3847
|
-
this.dispatch(
|
|
3856
|
+
return this.dispatch(As(n)), a.then((o) => (this.dispatch(Qe(o)), o)).catch(() => {
|
|
3857
|
+
this.dispatch(ys(n.uuid));
|
|
3848
3858
|
}), [n, a];
|
|
3849
3859
|
}
|
|
3850
3860
|
bulkAdd(e, s) {
|
|
@@ -3898,7 +3908,7 @@ class KS extends F {
|
|
|
3898
3908
|
}), [n, o];
|
|
3899
3909
|
}
|
|
3900
3910
|
update(e) {
|
|
3901
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3911
|
+
const { store: s } = this.client, i = s.getState(), n = bs(e.uuid)(i);
|
|
3902
3912
|
if (!n)
|
|
3903
3913
|
throw new Error(`Expected AssetProcedureStepFieldValues with uuid ${e.uuid} to exist`);
|
|
3904
3914
|
const a = {
|
|
@@ -3925,11 +3935,11 @@ class KS extends F {
|
|
|
3925
3935
|
}), [a, c];
|
|
3926
3936
|
}
|
|
3927
3937
|
async delete(e) {
|
|
3928
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3938
|
+
const { store: s } = this.client, i = s.getState(), n = bs(e)(i);
|
|
3929
3939
|
if (!n)
|
|
3930
3940
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3931
3941
|
const a = po(e)(i);
|
|
3932
|
-
this.dispatch(
|
|
3942
|
+
this.dispatch(ys(e)), this.dispatch(
|
|
3933
3943
|
_t(a.map((c) => c.uuid))
|
|
3934
3944
|
);
|
|
3935
3945
|
try {
|
|
@@ -3941,7 +3951,7 @@ class KS extends F {
|
|
|
3941
3951
|
blocks: []
|
|
3942
3952
|
});
|
|
3943
3953
|
} catch (c) {
|
|
3944
|
-
throw this.dispatch(
|
|
3954
|
+
throw this.dispatch(As(n)), this.dispatch(Pt(a)), c;
|
|
3945
3955
|
}
|
|
3946
3956
|
}
|
|
3947
3957
|
async refreshStore(e) {
|
|
@@ -3958,11 +3968,11 @@ class KS extends F {
|
|
|
3958
3968
|
this.dispatch(fo(s));
|
|
3959
3969
|
}
|
|
3960
3970
|
}
|
|
3961
|
-
class
|
|
3971
|
+
class JS extends F {
|
|
3962
3972
|
bulkAdd(e, s) {
|
|
3963
3973
|
var l;
|
|
3964
3974
|
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 }));
|
|
3965
|
-
this.dispatch(
|
|
3975
|
+
this.dispatch(gs(c));
|
|
3966
3976
|
const o = this.enqueueRequest({
|
|
3967
3977
|
description: "Add asset procedure steps",
|
|
3968
3978
|
method: u.POST,
|
|
@@ -3978,11 +3988,11 @@ class YS extends F {
|
|
|
3978
3988
|
return o.then((r) => {
|
|
3979
3989
|
this.dispatch(lt(r));
|
|
3980
3990
|
}).catch(() => {
|
|
3981
|
-
this.dispatch(
|
|
3991
|
+
this.dispatch(Ps(c.map(({ uuid: r }) => r)));
|
|
3982
3992
|
}), [c, o];
|
|
3983
3993
|
}
|
|
3984
3994
|
async bulkUpdate(e, s) {
|
|
3985
|
-
const n = this.client.store.getState(), a =
|
|
3995
|
+
const n = this.client.store.getState(), a = _s(e.map(({ uuid: c }) => c))(n);
|
|
3986
3996
|
return this.dispatch(lt(e)), this.enqueueRequest({
|
|
3987
3997
|
description: "Edit asset procedure steps",
|
|
3988
3998
|
method: u.PATCH,
|
|
@@ -3997,8 +4007,8 @@ class YS extends F {
|
|
|
3997
4007
|
});
|
|
3998
4008
|
}
|
|
3999
4009
|
async bulkDelete(e) {
|
|
4000
|
-
const { store: s } = this.client, i =
|
|
4001
|
-
this.dispatch(
|
|
4010
|
+
const { store: s } = this.client, i = _s(e)(s.getState());
|
|
4011
|
+
this.dispatch(Ps(e));
|
|
4002
4012
|
const n = this.enqueueRequest({
|
|
4003
4013
|
description: "Delete asset procedure steps",
|
|
4004
4014
|
method: u.DELETE,
|
|
@@ -4010,7 +4020,7 @@ class YS extends F {
|
|
|
4010
4020
|
blocks: []
|
|
4011
4021
|
});
|
|
4012
4022
|
return n.catch(() => {
|
|
4013
|
-
this.dispatch(
|
|
4023
|
+
this.dispatch(gs(i));
|
|
4014
4024
|
}), n;
|
|
4015
4025
|
}
|
|
4016
4026
|
update(e) {
|
|
@@ -4020,7 +4030,7 @@ class YS extends F {
|
|
|
4020
4030
|
...i,
|
|
4021
4031
|
...e
|
|
4022
4032
|
};
|
|
4023
|
-
this.dispatch(
|
|
4033
|
+
this.dispatch(Ts(n));
|
|
4024
4034
|
const a = this.enqueueRequest({
|
|
4025
4035
|
description: "Update asset procedure step",
|
|
4026
4036
|
method: u.PATCH,
|
|
@@ -4035,7 +4045,7 @@ class YS extends F {
|
|
|
4035
4045
|
blocks: [i.uuid]
|
|
4036
4046
|
});
|
|
4037
4047
|
return a.then((c) => {
|
|
4038
|
-
this.dispatch(
|
|
4048
|
+
this.dispatch(Ts(c));
|
|
4039
4049
|
}).catch(() => {
|
|
4040
4050
|
this.dispatch(Po(i));
|
|
4041
4051
|
}), [n, a];
|
|
@@ -4054,7 +4064,7 @@ class YS extends F {
|
|
|
4054
4064
|
this.dispatch(To(s));
|
|
4055
4065
|
}
|
|
4056
4066
|
}
|
|
4057
|
-
class
|
|
4067
|
+
class QS extends F {
|
|
4058
4068
|
// Basic CRUD functions
|
|
4059
4069
|
add(e) {
|
|
4060
4070
|
var o;
|
|
@@ -4066,7 +4076,7 @@ class JS extends F {
|
|
|
4066
4076
|
created_by: i,
|
|
4067
4077
|
submitted_at: n
|
|
4068
4078
|
});
|
|
4069
|
-
this.dispatch(
|
|
4079
|
+
this.dispatch(Fs(a));
|
|
4070
4080
|
const c = this.enqueueRequest({
|
|
4071
4081
|
description: "Create asset",
|
|
4072
4082
|
method: u.POST,
|
|
@@ -4078,11 +4088,11 @@ class JS extends F {
|
|
|
4078
4088
|
return c.then((l) => {
|
|
4079
4089
|
this.dispatch(Xe(l));
|
|
4080
4090
|
}).catch(() => {
|
|
4081
|
-
this.dispatch(
|
|
4091
|
+
this.dispatch(Os(a.uuid));
|
|
4082
4092
|
}), [a, c];
|
|
4083
4093
|
}
|
|
4084
4094
|
update(e) {
|
|
4085
|
-
const { store: s } = this.client, i =
|
|
4095
|
+
const { store: s } = this.client, i = Is(e.uuid)(s.getState());
|
|
4086
4096
|
if (!i)
|
|
4087
4097
|
throw new Error(`No asset with uuid ${e.uuid} found in the store`);
|
|
4088
4098
|
const n = {
|
|
@@ -4107,16 +4117,16 @@ class JS extends F {
|
|
|
4107
4117
|
}), [n, a];
|
|
4108
4118
|
}
|
|
4109
4119
|
async remove(e) {
|
|
4110
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4120
|
+
const { store: s } = this.client, i = s.getState(), n = Is(e)(i);
|
|
4111
4121
|
if (!n) throw new Error(`No asset with uuid ${e} found in the store`);
|
|
4112
4122
|
const a = ar(e)(i), c = wu(e)(i), o = Nu(e)(i);
|
|
4113
|
-
if (this.dispatch(
|
|
4123
|
+
if (this.dispatch(Os(e)), a.length > 0) {
|
|
4114
4124
|
const l = a.map(({ uuid: r }) => r);
|
|
4115
|
-
this.dispatch(
|
|
4125
|
+
this.dispatch(Sn(l));
|
|
4116
4126
|
}
|
|
4117
4127
|
if (c.length > 0) {
|
|
4118
4128
|
const l = c.map(({ uuid: r }) => r);
|
|
4119
|
-
this.dispatch(
|
|
4129
|
+
this.dispatch(zt(l));
|
|
4120
4130
|
}
|
|
4121
4131
|
if (o.length > 0) {
|
|
4122
4132
|
const l = o.map(({ uuid: r }) => r);
|
|
@@ -4129,7 +4139,7 @@ class JS extends F {
|
|
|
4129
4139
|
blockers: [e],
|
|
4130
4140
|
blocks: []
|
|
4131
4141
|
}).catch((l) => {
|
|
4132
|
-
throw this.dispatch(
|
|
4142
|
+
throw this.dispatch(Fs(n)), this.dispatch(bn(a)), this.dispatch(xt(c)), this.dispatch(Ra(o)), l;
|
|
4133
4143
|
});
|
|
4134
4144
|
}
|
|
4135
4145
|
bulkAdd(e, s, i, n) {
|
|
@@ -4181,7 +4191,7 @@ class JS extends F {
|
|
|
4181
4191
|
this.dispatch(Oo(s));
|
|
4182
4192
|
}
|
|
4183
4193
|
}
|
|
4184
|
-
class
|
|
4194
|
+
class XS extends F {
|
|
4185
4195
|
add(e) {
|
|
4186
4196
|
var o;
|
|
4187
4197
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -4189,7 +4199,7 @@ class QS extends F {
|
|
|
4189
4199
|
created_by: i,
|
|
4190
4200
|
submitted_at: n
|
|
4191
4201
|
});
|
|
4192
|
-
this.dispatch(
|
|
4202
|
+
this.dispatch(ws(a));
|
|
4193
4203
|
const c = this.enqueueRequest({
|
|
4194
4204
|
description: "Add asset stage completion",
|
|
4195
4205
|
method: u.POST,
|
|
@@ -4201,14 +4211,14 @@ class QS extends F {
|
|
|
4201
4211
|
return c.then((l) => {
|
|
4202
4212
|
this.dispatch(ko(l));
|
|
4203
4213
|
}).catch(() => {
|
|
4204
|
-
this.dispatch(
|
|
4214
|
+
this.dispatch(ks(a.uuid));
|
|
4205
4215
|
}), [a, c];
|
|
4206
4216
|
}
|
|
4207
4217
|
delete(e) {
|
|
4208
4218
|
const { store: s } = this.client, i = Mo(e)(s.getState());
|
|
4209
4219
|
if (!i)
|
|
4210
4220
|
throw new Error(`Expected asset stage completion with uuid ${e} to exist`);
|
|
4211
|
-
this.dispatch(
|
|
4221
|
+
this.dispatch(ks(e));
|
|
4212
4222
|
const n = this.enqueueRequest({
|
|
4213
4223
|
description: "Delete asset stage completion",
|
|
4214
4224
|
method: u.DELETE,
|
|
@@ -4217,7 +4227,7 @@ class QS extends F {
|
|
|
4217
4227
|
blocks: []
|
|
4218
4228
|
});
|
|
4219
4229
|
return n.catch(() => {
|
|
4220
|
-
this.dispatch(
|
|
4230
|
+
this.dispatch(ws(i));
|
|
4221
4231
|
}), n;
|
|
4222
4232
|
}
|
|
4223
4233
|
bulkAdd(e) {
|
|
@@ -4227,7 +4237,7 @@ class QS extends F {
|
|
|
4227
4237
|
created_by: n,
|
|
4228
4238
|
submitted_at: i
|
|
4229
4239
|
})), o = c.map(({ uuid: d }) => d);
|
|
4230
|
-
this.dispatch(
|
|
4240
|
+
this.dispatch(Es(c));
|
|
4231
4241
|
const l = this.enqueueRequest({
|
|
4232
4242
|
description: "Bulk create asset stage completions",
|
|
4233
4243
|
method: u.POST,
|
|
@@ -4246,12 +4256,12 @@ class QS extends F {
|
|
|
4246
4256
|
return l.then((d) => {
|
|
4247
4257
|
this.dispatch(qo(d));
|
|
4248
4258
|
}).catch(() => {
|
|
4249
|
-
this.dispatch(
|
|
4259
|
+
this.dispatch(qs(o));
|
|
4250
4260
|
}), [c, l];
|
|
4251
4261
|
}
|
|
4252
4262
|
bulkDelete(e) {
|
|
4253
4263
|
const { store: s } = this.client, i = Co(e)(s.getState());
|
|
4254
|
-
this.dispatch(
|
|
4264
|
+
this.dispatch(qs(e));
|
|
4255
4265
|
const n = this.enqueueRequest({
|
|
4256
4266
|
description: "Deleting asset stage completions",
|
|
4257
4267
|
method: u.DELETE,
|
|
@@ -4263,7 +4273,7 @@ class QS extends F {
|
|
|
4263
4273
|
blocks: []
|
|
4264
4274
|
});
|
|
4265
4275
|
return n.catch(() => {
|
|
4266
|
-
this.dispatch(
|
|
4276
|
+
this.dispatch(Es(i));
|
|
4267
4277
|
}), n;
|
|
4268
4278
|
}
|
|
4269
4279
|
async refreshStore(e) {
|
|
@@ -4280,11 +4290,11 @@ class QS extends F {
|
|
|
4280
4290
|
this.dispatch(Eo(s));
|
|
4281
4291
|
}
|
|
4282
4292
|
}
|
|
4283
|
-
class
|
|
4293
|
+
class ZS extends F {
|
|
4284
4294
|
bulkAdd(e, s) {
|
|
4285
4295
|
var l;
|
|
4286
4296
|
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 }));
|
|
4287
|
-
this.dispatch(
|
|
4297
|
+
this.dispatch(Ms(c));
|
|
4288
4298
|
const o = this.enqueueRequest({
|
|
4289
4299
|
description: "Add asset stages",
|
|
4290
4300
|
method: u.POST,
|
|
@@ -4300,11 +4310,11 @@ class XS extends F {
|
|
|
4300
4310
|
return o.then((r) => {
|
|
4301
4311
|
this.dispatch(ht(r));
|
|
4302
4312
|
}).catch(() => {
|
|
4303
|
-
this.dispatch(
|
|
4313
|
+
this.dispatch(Ds(c.map(({ uuid: r }) => r)));
|
|
4304
4314
|
}), [c, o];
|
|
4305
4315
|
}
|
|
4306
4316
|
async bulkUpdate(e, s) {
|
|
4307
|
-
const n = this.client.store.getState(), a =
|
|
4317
|
+
const n = this.client.store.getState(), a = xs(e.map(({ uuid: c }) => c))(n);
|
|
4308
4318
|
return this.dispatch(ht(e)), this.enqueueRequest({
|
|
4309
4319
|
description: "Edit asset stages",
|
|
4310
4320
|
method: u.PATCH,
|
|
@@ -4319,8 +4329,8 @@ class XS extends F {
|
|
|
4319
4329
|
});
|
|
4320
4330
|
}
|
|
4321
4331
|
async bulkDelete(e) {
|
|
4322
|
-
const { store: s } = this.client, i =
|
|
4323
|
-
this.dispatch(
|
|
4332
|
+
const { store: s } = this.client, i = xs(e)(s.getState());
|
|
4333
|
+
this.dispatch(Ds(e));
|
|
4324
4334
|
const n = this.enqueueRequest({
|
|
4325
4335
|
description: "Delete asset stages",
|
|
4326
4336
|
method: u.DELETE,
|
|
@@ -4332,7 +4342,7 @@ class XS extends F {
|
|
|
4332
4342
|
blocks: []
|
|
4333
4343
|
});
|
|
4334
4344
|
return n.catch(() => {
|
|
4335
|
-
this.dispatch(
|
|
4345
|
+
this.dispatch(Ms(i));
|
|
4336
4346
|
}), n;
|
|
4337
4347
|
}
|
|
4338
4348
|
update(e) {
|
|
@@ -4342,7 +4352,7 @@ class XS extends F {
|
|
|
4342
4352
|
...i,
|
|
4343
4353
|
...e
|
|
4344
4354
|
};
|
|
4345
|
-
this.dispatch(
|
|
4355
|
+
this.dispatch(Cs(n));
|
|
4346
4356
|
const a = this.enqueueRequest({
|
|
4347
4357
|
description: "Update asset stage",
|
|
4348
4358
|
method: u.PATCH,
|
|
@@ -4357,7 +4367,7 @@ class XS extends F {
|
|
|
4357
4367
|
blocks: [i.uuid]
|
|
4358
4368
|
});
|
|
4359
4369
|
return a.then((c) => {
|
|
4360
|
-
this.dispatch(
|
|
4370
|
+
this.dispatch(Cs(c));
|
|
4361
4371
|
}).catch(() => {
|
|
4362
4372
|
this.dispatch(xo(i));
|
|
4363
4373
|
}), [n, a];
|
|
@@ -4376,7 +4386,7 @@ class XS extends F {
|
|
|
4376
4386
|
this.dispatch(Do(s));
|
|
4377
4387
|
}
|
|
4378
4388
|
}
|
|
4379
|
-
class
|
|
4389
|
+
class eg extends Te {
|
|
4380
4390
|
constructor() {
|
|
4381
4391
|
super(...arguments);
|
|
4382
4392
|
A(this, "name", "Asset Type Attachment");
|
|
@@ -4426,7 +4436,7 @@ class ZS extends Te {
|
|
|
4426
4436
|
this.dispatch($o(i));
|
|
4427
4437
|
}
|
|
4428
4438
|
}
|
|
4429
|
-
class
|
|
4439
|
+
class tg extends k {
|
|
4430
4440
|
async bulkAdd(e) {
|
|
4431
4441
|
var l;
|
|
4432
4442
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -4491,7 +4501,7 @@ class eg extends k {
|
|
|
4491
4501
|
this.dispatch(Jo(s));
|
|
4492
4502
|
}
|
|
4493
4503
|
}
|
|
4494
|
-
class
|
|
4504
|
+
class sg extends F {
|
|
4495
4505
|
add(e) {
|
|
4496
4506
|
var o;
|
|
4497
4507
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -4528,7 +4538,7 @@ class tg extends F {
|
|
|
4528
4538
|
this.dispatch(id(s));
|
|
4529
4539
|
}
|
|
4530
4540
|
}
|
|
4531
|
-
class
|
|
4541
|
+
class ig extends k {
|
|
4532
4542
|
async bulkAdd(e, s) {
|
|
4533
4543
|
var r;
|
|
4534
4544
|
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 = [];
|
|
@@ -4618,7 +4628,7 @@ class sg extends k {
|
|
|
4618
4628
|
this.dispatch(dd(s));
|
|
4619
4629
|
}
|
|
4620
4630
|
}
|
|
4621
|
-
class
|
|
4631
|
+
class ng extends F {
|
|
4622
4632
|
add(e) {
|
|
4623
4633
|
var c;
|
|
4624
4634
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -4633,8 +4643,8 @@ class ig extends F {
|
|
|
4633
4643
|
blockers: [e.asset, e.fields_revision],
|
|
4634
4644
|
blocks: [n.uuid]
|
|
4635
4645
|
});
|
|
4636
|
-
return this.dispatch(
|
|
4637
|
-
this.dispatch(
|
|
4646
|
+
return this.dispatch(Bs(n)), a.then((o) => (this.dispatch(Ze(o)), o)).catch(() => {
|
|
4647
|
+
this.dispatch(Ls(n.uuid));
|
|
4638
4648
|
}), [n, a];
|
|
4639
4649
|
}
|
|
4640
4650
|
bulkAdd(e, s) {
|
|
@@ -4683,7 +4693,7 @@ class ig extends F {
|
|
|
4683
4693
|
}), [n, o];
|
|
4684
4694
|
}
|
|
4685
4695
|
update(e) {
|
|
4686
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4696
|
+
const { store: s } = this.client, i = s.getState(), n = Ns(e.uuid)(i);
|
|
4687
4697
|
if (!n)
|
|
4688
4698
|
throw new Error(`Expected AssetTypeFieldValues with uuid ${e.uuid} to exist`);
|
|
4689
4699
|
const a = {
|
|
@@ -4710,11 +4720,11 @@ class ig extends F {
|
|
|
4710
4720
|
}), [a, c];
|
|
4711
4721
|
}
|
|
4712
4722
|
async delete(e) {
|
|
4713
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4723
|
+
const { store: s } = this.client, i = s.getState(), n = Ns(e)(i);
|
|
4714
4724
|
if (!n)
|
|
4715
4725
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
4716
4726
|
const a = pd(e)(i);
|
|
4717
|
-
this.dispatch(
|
|
4727
|
+
this.dispatch(Ls(e)), this.dispatch(Ft(a.map((c) => c.uuid)));
|
|
4718
4728
|
try {
|
|
4719
4729
|
await this.enqueueRequest({
|
|
4720
4730
|
description: "Delete asset type field values",
|
|
@@ -4724,7 +4734,7 @@ class ig extends F {
|
|
|
4724
4734
|
blocks: []
|
|
4725
4735
|
});
|
|
4726
4736
|
} catch (c) {
|
|
4727
|
-
throw this.dispatch(
|
|
4737
|
+
throw this.dispatch(Bs(n)), this.dispatch(Rt(a)), c;
|
|
4728
4738
|
}
|
|
4729
4739
|
}
|
|
4730
4740
|
async refreshStore(e) {
|
|
@@ -4741,7 +4751,7 @@ class ig extends F {
|
|
|
4741
4751
|
this.dispatch(fd(s));
|
|
4742
4752
|
}
|
|
4743
4753
|
}
|
|
4744
|
-
class
|
|
4754
|
+
class ag extends F {
|
|
4745
4755
|
add(e) {
|
|
4746
4756
|
var o;
|
|
4747
4757
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -4749,7 +4759,7 @@ class ng extends F {
|
|
|
4749
4759
|
created_by: i,
|
|
4750
4760
|
submitted_at: n
|
|
4751
4761
|
});
|
|
4752
|
-
this.dispatch(
|
|
4762
|
+
this.dispatch(Ws(a));
|
|
4753
4763
|
const c = this.enqueueRequest({
|
|
4754
4764
|
description: "Create asset type",
|
|
4755
4765
|
method: u.POST,
|
|
@@ -4761,11 +4771,11 @@ class ng extends F {
|
|
|
4761
4771
|
return c.then((l) => {
|
|
4762
4772
|
this.dispatch(et(l));
|
|
4763
4773
|
}).catch(() => {
|
|
4764
|
-
this.dispatch(
|
|
4774
|
+
this.dispatch(Ks(a.uuid));
|
|
4765
4775
|
}), [a, c];
|
|
4766
4776
|
}
|
|
4767
4777
|
update(e) {
|
|
4768
|
-
const { store: s } = this.client, i =
|
|
4778
|
+
const { store: s } = this.client, i = Ys(e.uuid)(s.getState());
|
|
4769
4779
|
if (!i)
|
|
4770
4780
|
throw new Error(`Expected asset type with uuid ${e.uuid} to exist`);
|
|
4771
4781
|
const n = {
|
|
@@ -4793,18 +4803,18 @@ class ng extends F {
|
|
|
4793
4803
|
}), [n, a];
|
|
4794
4804
|
}
|
|
4795
4805
|
async delete(e) {
|
|
4796
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4806
|
+
const { store: s } = this.client, i = s.getState(), n = Ys(e)(i);
|
|
4797
4807
|
if (!n)
|
|
4798
4808
|
throw new Error(`Expected asset type with uuid ${e} to exist`);
|
|
4799
4809
|
const a = Ln(e)(i), c = Ko(e)(i);
|
|
4800
|
-
return this.dispatch(
|
|
4810
|
+
return this.dispatch(Ks(e)), this.dispatch(Io(a.map((o) => o.uuid))), this.dispatch(Jn(c.map(({ uuid: o }) => o))), this.enqueueRequest({
|
|
4801
4811
|
description: "Delete asset type",
|
|
4802
4812
|
method: u.DELETE,
|
|
4803
4813
|
url: `/asset-types/${e}/`,
|
|
4804
4814
|
blockers: [e],
|
|
4805
4815
|
blocks: []
|
|
4806
4816
|
}).catch((o) => {
|
|
4807
|
-
throw this.dispatch(
|
|
4817
|
+
throw this.dispatch(Ws(n)), this.dispatch(Gn(a)), this.dispatch(Yn(c)), o;
|
|
4808
4818
|
});
|
|
4809
4819
|
}
|
|
4810
4820
|
async refreshStore(e) {
|
|
@@ -4821,7 +4831,7 @@ class ng extends F {
|
|
|
4821
4831
|
this.dispatch(Td(s));
|
|
4822
4832
|
}
|
|
4823
4833
|
}
|
|
4824
|
-
class
|
|
4834
|
+
class cg extends F {
|
|
4825
4835
|
add(e) {
|
|
4826
4836
|
var o;
|
|
4827
4837
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -4829,7 +4839,7 @@ class ag extends F {
|
|
|
4829
4839
|
created_by: i,
|
|
4830
4840
|
submitted_at: n
|
|
4831
4841
|
});
|
|
4832
|
-
this.dispatch(
|
|
4842
|
+
this.dispatch(Xs(a));
|
|
4833
4843
|
const c = this.enqueueRequest({
|
|
4834
4844
|
description: "Create Category",
|
|
4835
4845
|
method: u.POST,
|
|
@@ -4841,7 +4851,7 @@ class ag extends F {
|
|
|
4841
4851
|
return [a, c];
|
|
4842
4852
|
}
|
|
4843
4853
|
update(e) {
|
|
4844
|
-
const s = this.client.store.getState(), i =
|
|
4854
|
+
const s = this.client.store.getState(), i = Zs(e.uuid)(s);
|
|
4845
4855
|
if (!i)
|
|
4846
4856
|
throw new Error(`Expected an existing category with uuid ${e.uuid}`);
|
|
4847
4857
|
const n = { ...i, ...e };
|
|
@@ -4857,7 +4867,7 @@ class ag extends F {
|
|
|
4857
4867
|
return [n, a];
|
|
4858
4868
|
}
|
|
4859
4869
|
remove(e) {
|
|
4860
|
-
const { store: s } = this.client, i =
|
|
4870
|
+
const { store: s } = this.client, i = Zs(e)(s.getState());
|
|
4861
4871
|
if (!i)
|
|
4862
4872
|
throw new Error(`No category with uuid ${e} found in the store`);
|
|
4863
4873
|
this.dispatch(Id(e));
|
|
@@ -4869,7 +4879,7 @@ class ag extends F {
|
|
|
4869
4879
|
blocks: []
|
|
4870
4880
|
});
|
|
4871
4881
|
return n.catch(() => {
|
|
4872
|
-
this.dispatch(
|
|
4882
|
+
this.dispatch(Xs(i));
|
|
4873
4883
|
}), n;
|
|
4874
4884
|
}
|
|
4875
4885
|
async refreshStore(e) {
|
|
@@ -4886,7 +4896,7 @@ class ag extends F {
|
|
|
4886
4896
|
this.dispatch(Fd(s));
|
|
4887
4897
|
}
|
|
4888
4898
|
}
|
|
4889
|
-
class
|
|
4899
|
+
class rg extends Te {
|
|
4890
4900
|
constructor() {
|
|
4891
4901
|
super(...arguments);
|
|
4892
4902
|
A(this, "name", "Document Attachment");
|
|
@@ -5001,7 +5011,7 @@ class cg extends Te {
|
|
|
5001
5011
|
this.dispatch(this.addAttachments(a));
|
|
5002
5012
|
}
|
|
5003
5013
|
}
|
|
5004
|
-
class
|
|
5014
|
+
class og extends F {
|
|
5005
5015
|
add(e) {
|
|
5006
5016
|
var o;
|
|
5007
5017
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -5023,7 +5033,7 @@ class rg extends F {
|
|
|
5023
5033
|
blocks: [a.uuid]
|
|
5024
5034
|
});
|
|
5025
5035
|
return c.catch(() => {
|
|
5026
|
-
this.dispatch(
|
|
5036
|
+
this.dispatch(si([a.uuid]));
|
|
5027
5037
|
}), [a, c];
|
|
5028
5038
|
}
|
|
5029
5039
|
update(e) {
|
|
@@ -5086,7 +5096,7 @@ class rg extends F {
|
|
|
5086
5096
|
if (!n)
|
|
5087
5097
|
throw new Error(`attempting to delete a document with uuid ${e} that does not exist in store.documents`);
|
|
5088
5098
|
const a = n.parent_document ? i[n.parent_document] : void 0;
|
|
5089
|
-
this.dispatch(
|
|
5099
|
+
this.dispatch(si([e]));
|
|
5090
5100
|
const c = this.enqueueRequest({
|
|
5091
5101
|
description: "Delete Document",
|
|
5092
5102
|
method: u.DELETE,
|
|
@@ -5117,7 +5127,7 @@ class rg extends F {
|
|
|
5117
5127
|
this.dispatch(Vd([...await i, ...await n]));
|
|
5118
5128
|
}
|
|
5119
5129
|
}
|
|
5120
|
-
class
|
|
5130
|
+
class dg extends F {
|
|
5121
5131
|
async add(e, s) {
|
|
5122
5132
|
return this.enqueueRequest({
|
|
5123
5133
|
description: "Add email domain to organization",
|
|
@@ -5153,7 +5163,7 @@ class og extends F {
|
|
|
5153
5163
|
this.dispatch(Hd(s));
|
|
5154
5164
|
}
|
|
5155
5165
|
}
|
|
5156
|
-
class
|
|
5166
|
+
class ug extends F {
|
|
5157
5167
|
async getVerificationCode(e) {
|
|
5158
5168
|
return this.enqueueRequest({
|
|
5159
5169
|
description: "Get verification code",
|
|
@@ -5179,7 +5189,7 @@ class dg extends F {
|
|
|
5179
5189
|
const nt = {}, At = /* @__PURE__ */ new Set();
|
|
5180
5190
|
let at = 0, yt = 0, bt = 0;
|
|
5181
5191
|
const Bp = 20;
|
|
5182
|
-
class
|
|
5192
|
+
class lg extends F {
|
|
5183
5193
|
constructor() {
|
|
5184
5194
|
super(...arguments);
|
|
5185
5195
|
A(this, "host");
|
|
@@ -5194,7 +5204,7 @@ class ug extends F {
|
|
|
5194
5204
|
async renewUploadUrl(s) {
|
|
5195
5205
|
const i = await this.fetchCache(s);
|
|
5196
5206
|
if (!i) throw new Error(`File with sha1 ${s} not found in cache`);
|
|
5197
|
-
const n = await
|
|
5207
|
+
const n = await Nt(i, s), a = await this.enqueueRequest({
|
|
5198
5208
|
description: "Get S3 URL",
|
|
5199
5209
|
method: u.GET,
|
|
5200
5210
|
url: "/authentication/files/presigned-upload-url/",
|
|
@@ -5243,7 +5253,7 @@ class ug extends F {
|
|
|
5243
5253
|
async uploadFileToS3(s) {
|
|
5244
5254
|
const i = await this.fetchCache(s);
|
|
5245
5255
|
if (!i) throw new Error(`File with sha1 ${s} not found in cache`);
|
|
5246
|
-
const n = await
|
|
5256
|
+
const n = await Nt(i, s), a = {
|
|
5247
5257
|
file_name: i.name,
|
|
5248
5258
|
file_sha1: s,
|
|
5249
5259
|
file: n
|
|
@@ -5336,7 +5346,7 @@ class ug extends F {
|
|
|
5336
5346
|
return r;
|
|
5337
5347
|
}
|
|
5338
5348
|
}
|
|
5339
|
-
class
|
|
5349
|
+
class hg extends k {
|
|
5340
5350
|
async bulkAdd(e) {
|
|
5341
5351
|
var l;
|
|
5342
5352
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -5399,7 +5409,7 @@ class lg extends k {
|
|
|
5399
5409
|
this.dispatch(su(s));
|
|
5400
5410
|
}
|
|
5401
5411
|
}
|
|
5402
|
-
class
|
|
5412
|
+
class pg extends k {
|
|
5403
5413
|
add(e) {
|
|
5404
5414
|
var o;
|
|
5405
5415
|
const { store: s } = this.client, n = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, a = R({
|
|
@@ -5436,7 +5446,7 @@ class hg extends k {
|
|
|
5436
5446
|
this.dispatch(uu(s));
|
|
5437
5447
|
}
|
|
5438
5448
|
}
|
|
5439
|
-
class
|
|
5449
|
+
class mg extends k {
|
|
5440
5450
|
add(e, s) {
|
|
5441
5451
|
var r;
|
|
5442
5452
|
const { store: i } = this.client, n = (/* @__PURE__ */ new Date()).toISOString(), a = (r = i.getState().userReducer.currentUser) == null ? void 0 : r.id, c = R({
|
|
@@ -5449,7 +5459,7 @@ class pg extends k {
|
|
|
5449
5459
|
submitted_at: n,
|
|
5450
5460
|
created_by: a
|
|
5451
5461
|
});
|
|
5452
|
-
this.dispatch(
|
|
5462
|
+
this.dispatch(ri(c)), this.dispatch(ma(o));
|
|
5453
5463
|
const l = this.enqueueRequest({
|
|
5454
5464
|
description: "Create form",
|
|
5455
5465
|
method: u.POST,
|
|
@@ -5468,7 +5478,7 @@ class pg extends k {
|
|
|
5468
5478
|
blocks: [c.uuid, o.uuid]
|
|
5469
5479
|
});
|
|
5470
5480
|
return l.catch((d) => {
|
|
5471
|
-
throw this.dispatch(
|
|
5481
|
+
throw this.dispatch(oi(c.uuid)), this.dispatch(fa(o.uuid)), d;
|
|
5472
5482
|
}), [c, o, l];
|
|
5473
5483
|
}
|
|
5474
5484
|
async delete(e) {
|
|
@@ -5476,9 +5486,9 @@ class pg extends k {
|
|
|
5476
5486
|
if (!n)
|
|
5477
5487
|
throw new Error("Expected form to exist");
|
|
5478
5488
|
const a = Iu(e)(i);
|
|
5479
|
-
a.length > 0 && this.dispatch(
|
|
5489
|
+
a.length > 0 && this.dispatch(zt(a.map(({ uuid: o }) => o)));
|
|
5480
5490
|
const c = mu(e)(i);
|
|
5481
|
-
c.length > 0 && this.dispatch(hu(c.map(({ uuid: o }) => o))), this.dispatch(
|
|
5491
|
+
c.length > 0 && this.dispatch(hu(c.map(({ uuid: o }) => o))), this.dispatch(oi(e));
|
|
5482
5492
|
try {
|
|
5483
5493
|
return await this.enqueueRequest({
|
|
5484
5494
|
description: "Delete form",
|
|
@@ -5488,7 +5498,7 @@ class pg extends k {
|
|
|
5488
5498
|
blocks: []
|
|
5489
5499
|
});
|
|
5490
5500
|
} catch (o) {
|
|
5491
|
-
throw this.dispatch(
|
|
5501
|
+
throw this.dispatch(ri(n)), c.length > 0 && this.dispatch(lu(c)), a.length > 0 && this.dispatch(xt(a)), o;
|
|
5492
5502
|
}
|
|
5493
5503
|
}
|
|
5494
5504
|
async refreshStore(e) {
|
|
@@ -5505,7 +5515,7 @@ class pg extends k {
|
|
|
5505
5515
|
this.dispatch(Au(s));
|
|
5506
5516
|
}
|
|
5507
5517
|
}
|
|
5508
|
-
class
|
|
5518
|
+
class fg extends k {
|
|
5509
5519
|
async bulkAdd(e) {
|
|
5510
5520
|
var l;
|
|
5511
5521
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -5586,7 +5596,7 @@ class mg extends k {
|
|
|
5586
5596
|
this.dispatch(gu(s));
|
|
5587
5597
|
}
|
|
5588
5598
|
}
|
|
5589
|
-
class
|
|
5599
|
+
class Ag extends k {
|
|
5590
5600
|
add(e) {
|
|
5591
5601
|
var c;
|
|
5592
5602
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -5606,12 +5616,12 @@ class fg extends k {
|
|
|
5606
5616
|
],
|
|
5607
5617
|
blocks: [n.uuid]
|
|
5608
5618
|
});
|
|
5609
|
-
return this.dispatch(
|
|
5610
|
-
this.dispatch(
|
|
5619
|
+
return this.dispatch(li(n)), a.then((o) => (this.dispatch(pt(o)), o)).catch(() => {
|
|
5620
|
+
this.dispatch(hi(n.uuid));
|
|
5611
5621
|
}), [n, a];
|
|
5612
5622
|
}
|
|
5613
5623
|
update(e) {
|
|
5614
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5624
|
+
const { store: s } = this.client, i = s.getState(), n = pi(e.uuid)(i);
|
|
5615
5625
|
if (!n)
|
|
5616
5626
|
throw new Error(`Expected submission with uuid ${e.uuid} to exist`);
|
|
5617
5627
|
const a = {
|
|
@@ -5634,11 +5644,11 @@ class fg extends k {
|
|
|
5634
5644
|
}), [a, c];
|
|
5635
5645
|
}
|
|
5636
5646
|
async delete(e) {
|
|
5637
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5647
|
+
const { store: s } = this.client, i = s.getState(), n = pi(e)(i);
|
|
5638
5648
|
if (!n)
|
|
5639
5649
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
5640
5650
|
const a = _u(e)(i);
|
|
5641
|
-
this.dispatch(
|
|
5651
|
+
this.dispatch(hi(e)), this.dispatch(It(a.map((c) => c.uuid)));
|
|
5642
5652
|
try {
|
|
5643
5653
|
return await this.enqueueRequest({
|
|
5644
5654
|
description: "Delete user form submissions",
|
|
@@ -5648,7 +5658,7 @@ class fg extends k {
|
|
|
5648
5658
|
blocks: []
|
|
5649
5659
|
});
|
|
5650
5660
|
} catch (c) {
|
|
5651
|
-
throw this.dispatch(
|
|
5661
|
+
throw this.dispatch(li(n)), this.dispatch(Ot(a)), c;
|
|
5652
5662
|
}
|
|
5653
5663
|
}
|
|
5654
5664
|
async refreshStore(e) {
|
|
@@ -5665,7 +5675,7 @@ class fg extends k {
|
|
|
5665
5675
|
this.dispatch(Fu(s));
|
|
5666
5676
|
}
|
|
5667
5677
|
}
|
|
5668
|
-
class
|
|
5678
|
+
class yg extends k {
|
|
5669
5679
|
async add(e) {
|
|
5670
5680
|
var h;
|
|
5671
5681
|
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({
|
|
@@ -5701,7 +5711,7 @@ class Ag extends k {
|
|
|
5701
5711
|
return d.then((p) => {
|
|
5702
5712
|
this.processPresignedUrls(p.presigned_urls), this.dispatch(tt(p.geo_image));
|
|
5703
5713
|
}).catch(() => {
|
|
5704
|
-
this.dispatch(
|
|
5714
|
+
this.dispatch(fi(r.uuid));
|
|
5705
5715
|
}), [r, d.then((p) => p.geo_image)];
|
|
5706
5716
|
}
|
|
5707
5717
|
async bulkAdd(e, s) {
|
|
@@ -5752,7 +5762,7 @@ class Ag extends k {
|
|
|
5752
5762
|
}), [c, d.then((p) => p.geo_images)];
|
|
5753
5763
|
}
|
|
5754
5764
|
update(e) {
|
|
5755
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5765
|
+
const { store: s } = this.client, i = s.getState(), n = Ai(e.uuid)(i);
|
|
5756
5766
|
if (!n)
|
|
5757
5767
|
throw new Error(`Map image with uuid ${e.uuid} does not exist in the store`);
|
|
5758
5768
|
const a = { ...n, ...e };
|
|
@@ -5772,10 +5782,10 @@ class Ag extends k {
|
|
|
5772
5782
|
}), [a, c];
|
|
5773
5783
|
}
|
|
5774
5784
|
async delete(e) {
|
|
5775
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5785
|
+
const { store: s } = this.client, i = s.getState(), n = Ai(e)(i);
|
|
5776
5786
|
if (!n)
|
|
5777
5787
|
throw new Error(`Map image with uuid ${e} does not exist in the store`);
|
|
5778
|
-
this.dispatch(
|
|
5788
|
+
this.dispatch(fi(e));
|
|
5779
5789
|
const a = this.enqueueRequest({
|
|
5780
5790
|
description: "Delete geo image",
|
|
5781
5791
|
method: u.DELETE,
|
|
@@ -5801,7 +5811,7 @@ class Ag extends k {
|
|
|
5801
5811
|
this.dispatch(ku(s));
|
|
5802
5812
|
}
|
|
5803
5813
|
}
|
|
5804
|
-
class
|
|
5814
|
+
class bg extends F {
|
|
5805
5815
|
add(e) {
|
|
5806
5816
|
var o;
|
|
5807
5817
|
const { store: s } = this.client, i = (/* @__PURE__ */ new Date()).toISOString(), n = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, a = R({
|
|
@@ -5809,7 +5819,7 @@ class yg extends F {
|
|
|
5809
5819
|
submitted_at: i,
|
|
5810
5820
|
created_by: n
|
|
5811
5821
|
});
|
|
5812
|
-
this.dispatch(
|
|
5822
|
+
this.dispatch(bi(a));
|
|
5813
5823
|
const c = this.enqueueRequest({
|
|
5814
5824
|
description: "Add issue association",
|
|
5815
5825
|
method: u.POST,
|
|
@@ -5825,14 +5835,14 @@ class yg extends F {
|
|
|
5825
5835
|
return c.then((l) => {
|
|
5826
5836
|
this.dispatch($u(l));
|
|
5827
5837
|
}).catch(() => {
|
|
5828
|
-
this.dispatch(
|
|
5838
|
+
this.dispatch(Si(a.uuid));
|
|
5829
5839
|
}), [a, c];
|
|
5830
5840
|
}
|
|
5831
5841
|
async delete(e) {
|
|
5832
5842
|
const { store: s } = this.client, i = Gu(e)(s.getState());
|
|
5833
5843
|
if (!i)
|
|
5834
5844
|
throw new Error(`Issue association with uuid ${e} not found in store.`);
|
|
5835
|
-
this.dispatch(
|
|
5845
|
+
this.dispatch(Si(e));
|
|
5836
5846
|
const n = this.enqueueRequest({
|
|
5837
5847
|
description: "Delete issue association",
|
|
5838
5848
|
method: u.DELETE,
|
|
@@ -5841,7 +5851,7 @@ class yg extends F {
|
|
|
5841
5851
|
blocks: []
|
|
5842
5852
|
});
|
|
5843
5853
|
return n.catch(() => {
|
|
5844
|
-
this.dispatch(
|
|
5854
|
+
this.dispatch(bi(i));
|
|
5845
5855
|
}), n;
|
|
5846
5856
|
}
|
|
5847
5857
|
async refreshStore(e) {
|
|
@@ -5856,12 +5866,12 @@ class yg extends F {
|
|
|
5856
5866
|
this.dispatch(Uu(s));
|
|
5857
5867
|
}
|
|
5858
5868
|
}
|
|
5859
|
-
class
|
|
5869
|
+
class Sg extends Te {
|
|
5860
5870
|
constructor() {
|
|
5861
5871
|
super(...arguments);
|
|
5862
5872
|
A(this, "name", "Issue Attachment");
|
|
5863
5873
|
A(this, "url", "/issue-attachments");
|
|
5864
|
-
A(this, "initializeAttachments",
|
|
5874
|
+
A(this, "initializeAttachments", Ti);
|
|
5865
5875
|
A(this, "addAttachments", Ia);
|
|
5866
5876
|
A(this, "updateAttachments", Ku);
|
|
5867
5877
|
A(this, "removeAttachments", va);
|
|
@@ -5904,15 +5914,15 @@ class bg extends Te {
|
|
|
5904
5914
|
blocks: [],
|
|
5905
5915
|
blockers: []
|
|
5906
5916
|
});
|
|
5907
|
-
this.dispatch(
|
|
5917
|
+
this.dispatch(Ti(i));
|
|
5908
5918
|
}
|
|
5909
5919
|
}
|
|
5910
|
-
class
|
|
5920
|
+
class gg extends Te {
|
|
5911
5921
|
constructor() {
|
|
5912
5922
|
super(...arguments);
|
|
5913
5923
|
A(this, "name", "Issue Comment Attachment");
|
|
5914
5924
|
A(this, "url", "/issue-comment-attachments");
|
|
5915
|
-
A(this, "initializeAttachments",
|
|
5925
|
+
A(this, "initializeAttachments", _i);
|
|
5916
5926
|
A(this, "addAttachments", tl);
|
|
5917
5927
|
A(this, "updateAttachments", il);
|
|
5918
5928
|
A(this, "removeAttachments", al);
|
|
@@ -5955,10 +5965,10 @@ class Sg extends Te {
|
|
|
5955
5965
|
blocks: [],
|
|
5956
5966
|
blockers: []
|
|
5957
5967
|
});
|
|
5958
|
-
this.dispatch(
|
|
5968
|
+
this.dispatch(_i(i));
|
|
5959
5969
|
}
|
|
5960
5970
|
}
|
|
5961
|
-
class
|
|
5971
|
+
class Tg extends F {
|
|
5962
5972
|
add(e) {
|
|
5963
5973
|
var a;
|
|
5964
5974
|
const { store: s } = this.client, i = R({
|
|
@@ -5966,7 +5976,7 @@ class gg extends F {
|
|
|
5966
5976
|
author: (a = s.getState().userReducer.currentUser) == null ? void 0 : a.id,
|
|
5967
5977
|
submitted_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
5968
5978
|
});
|
|
5969
|
-
this.dispatch(
|
|
5979
|
+
this.dispatch(Oi(i));
|
|
5970
5980
|
const n = this.enqueueRequest({
|
|
5971
5981
|
description: "Add issue comment",
|
|
5972
5982
|
method: u.POST,
|
|
@@ -5976,18 +5986,18 @@ class gg extends F {
|
|
|
5976
5986
|
blocks: [i.uuid]
|
|
5977
5987
|
});
|
|
5978
5988
|
return n.catch(() => {
|
|
5979
|
-
this.dispatch(
|
|
5989
|
+
this.dispatch(Ii(i.uuid));
|
|
5980
5990
|
}), [i, n];
|
|
5981
5991
|
}
|
|
5982
5992
|
update(e) {
|
|
5983
|
-
const { store: s } = this.client, i =
|
|
5993
|
+
const { store: s } = this.client, i = vi(e.uuid)(s.getState());
|
|
5984
5994
|
if (!i)
|
|
5985
5995
|
throw new Error(`Comment with uuid ${e.uuid} not found in store`);
|
|
5986
5996
|
const n = {
|
|
5987
5997
|
...i,
|
|
5988
5998
|
...e
|
|
5989
5999
|
};
|
|
5990
|
-
this.dispatch(
|
|
6000
|
+
this.dispatch(Fi(n));
|
|
5991
6001
|
const a = this.enqueueRequest({
|
|
5992
6002
|
description: "Edit issue comment",
|
|
5993
6003
|
method: u.PATCH,
|
|
@@ -5997,14 +6007,14 @@ class gg extends F {
|
|
|
5997
6007
|
blocks: [e.uuid]
|
|
5998
6008
|
});
|
|
5999
6009
|
return a.catch(() => {
|
|
6000
|
-
this.dispatch(
|
|
6010
|
+
this.dispatch(Fi(i));
|
|
6001
6011
|
}), [n, a];
|
|
6002
6012
|
}
|
|
6003
6013
|
remove(e) {
|
|
6004
|
-
const { store: s } = this.client, i =
|
|
6014
|
+
const { store: s } = this.client, i = vi(e)(s.getState());
|
|
6005
6015
|
if (!i)
|
|
6006
6016
|
throw new Error(`Comment with uuid ${e} not found in store`);
|
|
6007
|
-
this.dispatch(
|
|
6017
|
+
this.dispatch(Ii(e));
|
|
6008
6018
|
const n = this.enqueueRequest({
|
|
6009
6019
|
description: "Delete comment",
|
|
6010
6020
|
method: u.DELETE,
|
|
@@ -6013,7 +6023,7 @@ class gg extends F {
|
|
|
6013
6023
|
blocks: []
|
|
6014
6024
|
});
|
|
6015
6025
|
return n.catch(() => {
|
|
6016
|
-
this.dispatch(
|
|
6026
|
+
this.dispatch(Oi(i));
|
|
6017
6027
|
}), n;
|
|
6018
6028
|
}
|
|
6019
6029
|
async refreshStore(e) {
|
|
@@ -6030,7 +6040,7 @@ class gg extends F {
|
|
|
6030
6040
|
this.dispatch(ul(s));
|
|
6031
6041
|
}
|
|
6032
6042
|
}
|
|
6033
|
-
class
|
|
6043
|
+
class Pg extends F {
|
|
6034
6044
|
add(e) {
|
|
6035
6045
|
var l;
|
|
6036
6046
|
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({
|
|
@@ -6038,7 +6048,7 @@ class Tg extends F {
|
|
|
6038
6048
|
submitted_at: n,
|
|
6039
6049
|
created_by: a
|
|
6040
6050
|
});
|
|
6041
|
-
this.dispatch(
|
|
6051
|
+
this.dispatch(Ei(c));
|
|
6042
6052
|
const o = this.enqueueRequest({
|
|
6043
6053
|
description: "Create issue",
|
|
6044
6054
|
method: u.POST,
|
|
@@ -6055,12 +6065,12 @@ class Tg extends F {
|
|
|
6055
6065
|
return o.then((r) => {
|
|
6056
6066
|
this.dispatch(mt(r));
|
|
6057
6067
|
}).catch((r) => {
|
|
6058
|
-
throw this.dispatch(
|
|
6068
|
+
throw this.dispatch(ki(c.uuid)), r;
|
|
6059
6069
|
}), [c, o];
|
|
6060
6070
|
}
|
|
6061
6071
|
update(e) {
|
|
6062
6072
|
var l;
|
|
6063
|
-
const s = this.client.store.getState(), i =
|
|
6073
|
+
const s = this.client.store.getState(), i = qi(e.uuid)(s);
|
|
6064
6074
|
if (!i)
|
|
6065
6075
|
throw new Error(`Attempting to update an issue with uuid ${e.uuid} that doesn't exist in the store`);
|
|
6066
6076
|
const n = { ...i, ...e };
|
|
@@ -6136,7 +6146,7 @@ class Tg extends F {
|
|
|
6136
6146
|
}), [n, o];
|
|
6137
6147
|
}
|
|
6138
6148
|
async remove(e) {
|
|
6139
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
6149
|
+
const { store: s } = this.client, i = s.getState(), n = qi(e)(i);
|
|
6140
6150
|
if (!n)
|
|
6141
6151
|
throw new Error(`No issue with uuid ${e} found in the store`);
|
|
6142
6152
|
const a = Xu(e)(i), c = rh(e)(i), o = vu(e)(i), l = {};
|
|
@@ -6145,7 +6155,7 @@ class Tg extends F {
|
|
|
6145
6155
|
for (const d of Lu(e)(i))
|
|
6146
6156
|
l[d.uuid] = d;
|
|
6147
6157
|
const r = Object.values(l);
|
|
6148
|
-
this.dispatch(
|
|
6158
|
+
this.dispatch(ki(e)), a.length > 0 && this.dispatch(va(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(Fa(r.map(({ uuid: d }) => d)));
|
|
6149
6159
|
try {
|
|
6150
6160
|
return await this.enqueueRequest({
|
|
6151
6161
|
description: "Delete issue",
|
|
@@ -6155,7 +6165,7 @@ class Tg extends F {
|
|
|
6155
6165
|
blocks: []
|
|
6156
6166
|
});
|
|
6157
6167
|
} catch (d) {
|
|
6158
|
-
throw this.dispatch(
|
|
6168
|
+
throw this.dispatch(Ei(n)), this.dispatch(Ia(a)), this.dispatch(ih(c)), this.dispatch(xt(o)), this.dispatch(Ra(r)), d;
|
|
6159
6169
|
}
|
|
6160
6170
|
}
|
|
6161
6171
|
async refreshStore(e) {
|
|
@@ -6172,12 +6182,12 @@ class Tg extends F {
|
|
|
6172
6182
|
this.dispatch(pl(s));
|
|
6173
6183
|
}
|
|
6174
6184
|
}
|
|
6175
|
-
class
|
|
6185
|
+
class _g extends Te {
|
|
6176
6186
|
constructor() {
|
|
6177
6187
|
super(...arguments);
|
|
6178
6188
|
A(this, "name", "Issue Type Attachment");
|
|
6179
6189
|
A(this, "url", "/issue-type-attachments");
|
|
6180
|
-
A(this, "initializeAttachments",
|
|
6190
|
+
A(this, "initializeAttachments", Mi);
|
|
6181
6191
|
A(this, "addAttachments", bl);
|
|
6182
6192
|
A(this, "updateAttachments", gl);
|
|
6183
6193
|
A(this, "removeAttachments", Pl);
|
|
@@ -6220,10 +6230,10 @@ class Pg extends Te {
|
|
|
6220
6230
|
blocks: [],
|
|
6221
6231
|
blockers: []
|
|
6222
6232
|
});
|
|
6223
|
-
this.dispatch(
|
|
6233
|
+
this.dispatch(Mi(i));
|
|
6224
6234
|
}
|
|
6225
6235
|
}
|
|
6226
|
-
class
|
|
6236
|
+
class Rg extends k {
|
|
6227
6237
|
async bulkAdd(e) {
|
|
6228
6238
|
var l;
|
|
6229
6239
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -6288,7 +6298,7 @@ class _g extends k {
|
|
|
6288
6298
|
this.dispatch(Il(s));
|
|
6289
6299
|
}
|
|
6290
6300
|
}
|
|
6291
|
-
class
|
|
6301
|
+
class Fg extends F {
|
|
6292
6302
|
add(e) {
|
|
6293
6303
|
var o;
|
|
6294
6304
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = R({
|
|
@@ -6325,7 +6335,7 @@ class Rg extends F {
|
|
|
6325
6335
|
this.dispatch(xl(s));
|
|
6326
6336
|
}
|
|
6327
6337
|
}
|
|
6328
|
-
class
|
|
6338
|
+
class Og extends k {
|
|
6329
6339
|
async bulkAdd(e) {
|
|
6330
6340
|
var l;
|
|
6331
6341
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, n = {}, a = [], c = [];
|
|
@@ -6406,7 +6416,7 @@ class Fg extends k {
|
|
|
6406
6416
|
this.dispatch(Bl(s));
|
|
6407
6417
|
}
|
|
6408
6418
|
}
|
|
6409
|
-
class
|
|
6419
|
+
class Ig extends F {
|
|
6410
6420
|
add(e) {
|
|
6411
6421
|
var c;
|
|
6412
6422
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -6421,12 +6431,12 @@ class Og extends F {
|
|
|
6421
6431
|
blockers: [e.issue, e.fields_revision],
|
|
6422
6432
|
blocks: [n.uuid]
|
|
6423
6433
|
});
|
|
6424
|
-
return this.dispatch(
|
|
6425
|
-
this.dispatch(
|
|
6434
|
+
return this.dispatch(xi(n)), a.then((o) => (this.dispatch(st(o)), o)).catch(() => {
|
|
6435
|
+
this.dispatch(zi(n.uuid));
|
|
6426
6436
|
}), [n, a];
|
|
6427
6437
|
}
|
|
6428
6438
|
update(e) {
|
|
6429
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
6439
|
+
const { store: s } = this.client, i = s.getState(), n = Vi(e.uuid)(i);
|
|
6430
6440
|
if (!n)
|
|
6431
6441
|
throw new Error(`Expected IssueTypeFieldValues with uuid ${e.uuid} to exist`);
|
|
6432
6442
|
const a = {
|
|
@@ -6453,11 +6463,11 @@ class Og extends F {
|
|
|
6453
6463
|
}), [a, c];
|
|
6454
6464
|
}
|
|
6455
6465
|
async delete(e) {
|
|
6456
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
6466
|
+
const { store: s } = this.client, i = s.getState(), n = Vi(e)(i);
|
|
6457
6467
|
if (!n)
|
|
6458
6468
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
6459
6469
|
const a = Wl(e)(i);
|
|
6460
|
-
this.dispatch(
|
|
6470
|
+
this.dispatch(zi(e)), this.dispatch(wt(a.map((c) => c.uuid)));
|
|
6461
6471
|
try {
|
|
6462
6472
|
await this.enqueueRequest({
|
|
6463
6473
|
description: "Delete issue type field values",
|
|
@@ -6467,7 +6477,7 @@ class Og extends F {
|
|
|
6467
6477
|
blocks: []
|
|
6468
6478
|
});
|
|
6469
6479
|
} catch (c) {
|
|
6470
|
-
throw this.dispatch(
|
|
6480
|
+
throw this.dispatch(xi(n)), this.dispatch(vt(a)), c;
|
|
6471
6481
|
}
|
|
6472
6482
|
}
|
|
6473
6483
|
async refreshStore(e) {
|
|
@@ -6484,7 +6494,7 @@ class Og extends F {
|
|
|
6484
6494
|
this.dispatch(Ml(s));
|
|
6485
6495
|
}
|
|
6486
6496
|
}
|
|
6487
|
-
class
|
|
6497
|
+
class vg extends F {
|
|
6488
6498
|
add(e) {
|
|
6489
6499
|
var c;
|
|
6490
6500
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -6503,11 +6513,11 @@ class Ig extends F {
|
|
|
6503
6513
|
return a.then((o) => {
|
|
6504
6514
|
this.dispatch(it(o));
|
|
6505
6515
|
}).catch(() => {
|
|
6506
|
-
this.dispatch(
|
|
6516
|
+
this.dispatch(Bi(n.uuid));
|
|
6507
6517
|
}), [n, a];
|
|
6508
6518
|
}
|
|
6509
6519
|
update(e) {
|
|
6510
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
6520
|
+
const { store: s } = this.client, i = s.getState(), n = Li(e.uuid)(i);
|
|
6511
6521
|
if (!n)
|
|
6512
6522
|
throw new Error(`IssueType with uuid ${e.uuid} does not exist in the store.`);
|
|
6513
6523
|
const a = {
|
|
@@ -6529,11 +6539,11 @@ class Ig extends F {
|
|
|
6529
6539
|
}), [a, c];
|
|
6530
6540
|
}
|
|
6531
6541
|
delete(e) {
|
|
6532
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
6542
|
+
const { store: s } = this.client, i = s.getState(), n = Li(e)(i);
|
|
6533
6543
|
if (!n)
|
|
6534
6544
|
throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
|
|
6535
6545
|
const a = Ua(e)(i);
|
|
6536
|
-
this.dispatch(
|
|
6546
|
+
this.dispatch(Bi(e)), this.dispatch(fl(a.map((o) => o.uuid)));
|
|
6537
6547
|
const c = this.enqueueRequest({
|
|
6538
6548
|
method: u.DELETE,
|
|
6539
6549
|
url: `/issue-types/${e}/`,
|
|
@@ -6557,7 +6567,7 @@ class Ig extends F {
|
|
|
6557
6567
|
this.dispatch(Yl(s));
|
|
6558
6568
|
}
|
|
6559
6569
|
}
|
|
6560
|
-
class
|
|
6570
|
+
class wg extends F {
|
|
6561
6571
|
async refreshStore(e) {
|
|
6562
6572
|
const s = await this.enqueueRequest({
|
|
6563
6573
|
description: "Get issue updates",
|
|
@@ -6578,7 +6588,7 @@ function Np(t) {
|
|
|
6578
6588
|
if (!t.refresh) throw new Error("Missing refresh token");
|
|
6579
6589
|
return { accessToken: t.access, refreshToken: t.refresh };
|
|
6580
6590
|
}
|
|
6581
|
-
class
|
|
6591
|
+
class Eg extends Gp {
|
|
6582
6592
|
constructor() {
|
|
6583
6593
|
super(...arguments);
|
|
6584
6594
|
// _getTokenPair and _getRenewedTokens don't need to use enqueueRequest from the BaseApiService because
|
|
@@ -6700,7 +6710,7 @@ class wg extends Gp {
|
|
|
6700
6710
|
});
|
|
6701
6711
|
}
|
|
6702
6712
|
}
|
|
6703
|
-
class
|
|
6713
|
+
class kg extends F {
|
|
6704
6714
|
async getLicense(e) {
|
|
6705
6715
|
const s = await this.enqueueRequest({
|
|
6706
6716
|
description: "Get license",
|
|
@@ -6802,7 +6812,7 @@ class Eg extends F {
|
|
|
6802
6812
|
this.dispatch(dh(Object.values(i)));
|
|
6803
6813
|
}
|
|
6804
6814
|
}
|
|
6805
|
-
class
|
|
6815
|
+
class qg extends F {
|
|
6806
6816
|
async update(e) {
|
|
6807
6817
|
const s = this.enqueueRequest({
|
|
6808
6818
|
description: "Edit organization access",
|
|
@@ -6839,7 +6849,7 @@ class kg extends F {
|
|
|
6839
6849
|
this.dispatch(fh(s));
|
|
6840
6850
|
}
|
|
6841
6851
|
}
|
|
6842
|
-
class
|
|
6852
|
+
class jg extends F {
|
|
6843
6853
|
create(e) {
|
|
6844
6854
|
return this.enqueueRequest({
|
|
6845
6855
|
description: "Create organization",
|
|
@@ -6889,7 +6899,7 @@ class qg extends F {
|
|
|
6889
6899
|
i[a.uuid] = a, this.dispatch(jh(Object.values(i)));
|
|
6890
6900
|
}
|
|
6891
6901
|
}
|
|
6892
|
-
class
|
|
6902
|
+
class Mg extends F {
|
|
6893
6903
|
async update(e) {
|
|
6894
6904
|
return this.dispatch(gh(e)), this.enqueueRequest({
|
|
6895
6905
|
description: "Edit project access",
|
|
@@ -6924,7 +6934,7 @@ class jg extends F {
|
|
|
6924
6934
|
this.dispatch(Wa(s));
|
|
6925
6935
|
}
|
|
6926
6936
|
}
|
|
6927
|
-
class
|
|
6937
|
+
class Cg extends Te {
|
|
6928
6938
|
constructor() {
|
|
6929
6939
|
super(...arguments);
|
|
6930
6940
|
A(this, "name", "Project Attachment");
|
|
@@ -6974,7 +6984,7 @@ class Mg extends Te {
|
|
|
6974
6984
|
this.dispatch(Lh(i));
|
|
6975
6985
|
}
|
|
6976
6986
|
}
|
|
6977
|
-
class
|
|
6987
|
+
class Dg extends F {
|
|
6978
6988
|
async saveExisting(e) {
|
|
6979
6989
|
if (!e.uuid)
|
|
6980
6990
|
throw new Error(
|
|
@@ -6990,7 +7000,7 @@ class Cg extends F {
|
|
|
6990
7000
|
blocks: [e.uuid]
|
|
6991
7001
|
});
|
|
6992
7002
|
return i.then((n) => {
|
|
6993
|
-
this.dispatch(
|
|
7003
|
+
this.dispatch(tn(n));
|
|
6994
7004
|
}), i;
|
|
6995
7005
|
}
|
|
6996
7006
|
// TODO: This needs to be seperated into a update and create method
|
|
@@ -7030,7 +7040,7 @@ class Cg extends F {
|
|
|
7030
7040
|
});
|
|
7031
7041
|
const o = Promise.resolve(a).then((l) => this.enqueueRequest(l));
|
|
7032
7042
|
return o.then((l) => {
|
|
7033
|
-
this.dispatch(
|
|
7043
|
+
this.dispatch(tn(l));
|
|
7034
7044
|
}), this.dispatch(rp), this.dispatch(cp(null)), this.dispatch(ap(!1)), [n, o];
|
|
7035
7045
|
}
|
|
7036
7046
|
delete(e) {
|
|
@@ -7052,7 +7062,7 @@ class Cg extends F {
|
|
|
7052
7062
|
this.dispatch(tp(s));
|
|
7053
7063
|
}
|
|
7054
7064
|
}
|
|
7055
|
-
class
|
|
7065
|
+
class xg extends F {
|
|
7056
7066
|
async add(e) {
|
|
7057
7067
|
if (!e.bounds && !e.canvas_bounds)
|
|
7058
7068
|
throw new Error("Project must either have bounds or canvas_bounds set");
|
|
@@ -7085,7 +7095,7 @@ class Dg extends F {
|
|
|
7085
7095
|
});
|
|
7086
7096
|
}
|
|
7087
7097
|
async delete(e) {
|
|
7088
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
7098
|
+
const { store: s } = this.client, i = s.getState(), n = Bt(i), a = n[e];
|
|
7089
7099
|
if (!a)
|
|
7090
7100
|
throw new Error("Expected project to exist");
|
|
7091
7101
|
const c = dp(i).filter((d) => d.project === e);
|
|
@@ -7143,7 +7153,7 @@ class Dg extends F {
|
|
|
7143
7153
|
});
|
|
7144
7154
|
}
|
|
7145
7155
|
}
|
|
7146
|
-
class
|
|
7156
|
+
class zg extends F {
|
|
7147
7157
|
add(e) {
|
|
7148
7158
|
const s = R({
|
|
7149
7159
|
...e,
|
|
@@ -7163,7 +7173,7 @@ class xg extends F {
|
|
|
7163
7173
|
return i.then((n) => {
|
|
7164
7174
|
this.dispatch(ze(n));
|
|
7165
7175
|
}).catch(() => {
|
|
7166
|
-
this.dispatch(
|
|
7176
|
+
this.dispatch(an(s.uuid));
|
|
7167
7177
|
}), [s, i];
|
|
7168
7178
|
}
|
|
7169
7179
|
update(e) {
|
|
@@ -7174,7 +7184,7 @@ class xg extends F {
|
|
|
7174
7184
|
...i,
|
|
7175
7185
|
...e
|
|
7176
7186
|
};
|
|
7177
|
-
this.dispatch(
|
|
7187
|
+
this.dispatch(nn(n));
|
|
7178
7188
|
const a = this.enqueueRequest({
|
|
7179
7189
|
description: "Update team",
|
|
7180
7190
|
method: u.PATCH,
|
|
@@ -7193,7 +7203,7 @@ class xg extends F {
|
|
|
7193
7203
|
const { store: s } = this.client, i = s.getState(), n = Ve(e)(i);
|
|
7194
7204
|
if (!n)
|
|
7195
7205
|
throw new Error(`Expected team with uuid ${e} to exist`);
|
|
7196
|
-
this.dispatch(
|
|
7206
|
+
this.dispatch(an(e));
|
|
7197
7207
|
try {
|
|
7198
7208
|
return await this.enqueueRequest({
|
|
7199
7209
|
description: "Delete team",
|
|
@@ -7212,7 +7222,7 @@ class xg extends F {
|
|
|
7212
7222
|
throw new Error(`Expected team with uuid ${e} to exist`);
|
|
7213
7223
|
if (s.length !== new Set(s).size)
|
|
7214
7224
|
throw new Error("Duplicate members found in the list");
|
|
7215
|
-
this.dispatch(
|
|
7225
|
+
this.dispatch(nn({ ...n, members: s }));
|
|
7216
7226
|
const a = this.enqueueRequest({
|
|
7217
7227
|
description: "Set team members",
|
|
7218
7228
|
method: u.PUT,
|
|
@@ -7255,7 +7265,7 @@ class xg extends F {
|
|
|
7255
7265
|
this.dispatch(pp(s));
|
|
7256
7266
|
}
|
|
7257
7267
|
}
|
|
7258
|
-
class
|
|
7268
|
+
class Vg extends F {
|
|
7259
7269
|
async refreshStore(e, s) {
|
|
7260
7270
|
const i = {}, n = await this.enqueueRequest({
|
|
7261
7271
|
description: "Fetch organization users",
|
|
@@ -7278,7 +7288,7 @@ class zg extends F {
|
|
|
7278
7288
|
this.dispatch(hh(Object.values(i)));
|
|
7279
7289
|
}
|
|
7280
7290
|
}
|
|
7281
|
-
class
|
|
7291
|
+
class Ug {
|
|
7282
7292
|
constructor(e) {
|
|
7283
7293
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7284
7294
|
A(this, "store");
|
|
@@ -7490,102 +7500,102 @@ class Be {
|
|
|
7490
7500
|
this.requestAttemptCounter[e] = (this.requestAttemptCounter[e] || 0) + 1;
|
|
7491
7501
|
}
|
|
7492
7502
|
}
|
|
7493
|
-
const
|
|
7503
|
+
const $g = (t, e) => {
|
|
7494
7504
|
const s = new e(t);
|
|
7495
7505
|
return Tp(s), gp(t), s;
|
|
7496
7506
|
};
|
|
7497
7507
|
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 || {});
|
|
7498
7508
|
export {
|
|
7499
7509
|
j as APIError,
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
|
|
7510
|
+
xS as AgentService,
|
|
7511
|
+
zS as AssetAttachmentService,
|
|
7512
|
+
VS as AssetProcedureAttachmentService,
|
|
7513
|
+
GS as AssetProcedureFieldValuesAttachmentService,
|
|
7514
|
+
BS as AssetProcedureFieldValuesService,
|
|
7515
|
+
US as AssetProcedureFieldsAttachmentService,
|
|
7516
|
+
$S as AssetProcedureFieldsService,
|
|
7517
|
+
LS as AssetProcedureInstanceService,
|
|
7518
|
+
NS as AssetProcedureService,
|
|
7519
|
+
KS as AssetProcedureStepFieldValuesAttachmentService,
|
|
7520
|
+
YS as AssetProcedureStepFieldValuesService,
|
|
7521
|
+
HS as AssetProcedureStepFieldsAttachmentService,
|
|
7522
|
+
WS as AssetProcedureStepFieldsService,
|
|
7523
|
+
JS as AssetProcedureStepService,
|
|
7524
|
+
QS as AssetService,
|
|
7525
|
+
XS as AssetStageCompletionService,
|
|
7526
|
+
ZS as AssetStageService,
|
|
7527
|
+
eg as AssetTypeAttachmentService,
|
|
7528
|
+
ig as AssetTypeFieldValuesAttachmentService,
|
|
7529
|
+
ng as AssetTypeFieldValuesService,
|
|
7530
|
+
tg as AssetTypeFieldsAttachmentService,
|
|
7531
|
+
sg as AssetTypeFieldsService,
|
|
7532
|
+
ag as AssetTypeService,
|
|
7523
7533
|
kc as AttachmentModel,
|
|
7524
7534
|
F as BaseApiService,
|
|
7525
|
-
|
|
7535
|
+
Ug as BaseSDK,
|
|
7526
7536
|
Nc as COMMON_AUTO_FIELDS,
|
|
7527
|
-
|
|
7537
|
+
cg as CategoryService,
|
|
7528
7538
|
lm as DEFAULT_ISSUE_PRIORITY,
|
|
7529
7539
|
um as DEFAULT_ISSUE_STATUS,
|
|
7530
7540
|
xc as DeferredPromise,
|
|
7531
|
-
|
|
7532
|
-
|
|
7541
|
+
rg as DocumentAttachmentService,
|
|
7542
|
+
og as DocumentService,
|
|
7533
7543
|
wc as EMPTY_ARRAY,
|
|
7534
7544
|
Ec as EMPTY_OBJECT,
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7545
|
+
dg as EmailDomainsService,
|
|
7546
|
+
ug as EmailVerificationService,
|
|
7547
|
+
lg as FileService,
|
|
7548
|
+
hg as FormRevisionAttachmentService,
|
|
7549
|
+
pg as FormRevisionService,
|
|
7550
|
+
mg as FormService,
|
|
7551
|
+
fg as FormSubmissionAttachmentService,
|
|
7552
|
+
Ag as FormSubmissionService,
|
|
7553
|
+
yg as GeoImageService,
|
|
7544
7554
|
u as HttpMethod,
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7555
|
+
bg as IssueAssociationService,
|
|
7556
|
+
Sg as IssueAttachmentService,
|
|
7557
|
+
gg as IssueCommentAttachmentService,
|
|
7558
|
+
Tg as IssueCommentService,
|
|
7559
|
+
hn as IssuePriority,
|
|
7560
|
+
Pg as IssueService,
|
|
7561
|
+
pn as IssueStatus,
|
|
7562
|
+
_g as IssueTypeAttachmentService,
|
|
7563
|
+
Og as IssueTypeFieldValuesAttachmentService,
|
|
7564
|
+
Ig as IssueTypeFieldValuesService,
|
|
7565
|
+
Rg as IssueTypeFieldsAttachmentService,
|
|
7566
|
+
Fg as IssueTypeFieldsService,
|
|
7567
|
+
vg as IssueTypeService,
|
|
7558
7568
|
E as IssueUpdateChange,
|
|
7559
|
-
|
|
7560
|
-
|
|
7569
|
+
wg as IssueUpdateService,
|
|
7570
|
+
Eg as JWTService,
|
|
7561
7571
|
jc as LicenseLevel,
|
|
7562
|
-
|
|
7572
|
+
kg as LicenseService,
|
|
7563
7573
|
Mc as LicenseStatus,
|
|
7564
7574
|
Cc as OUTBOX_RETRY_DELAY,
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7575
|
+
ln as OrganizationAccessLevel,
|
|
7576
|
+
qg as OrganizationAccessService,
|
|
7577
|
+
jg as OrganizationService,
|
|
7568
7578
|
Be as OutboxCoordinator,
|
|
7569
7579
|
qc as PaddleCheckoutEvent,
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7580
|
+
un as ProjectAccessLevel,
|
|
7581
|
+
Mg as ProjectAccessService,
|
|
7582
|
+
Cg as ProjectAttachmentService,
|
|
7583
|
+
Dg as ProjectFileService,
|
|
7584
|
+
xg as ProjectService,
|
|
7585
|
+
zg as TeamService,
|
|
7576
7586
|
He as UNKNOWN_ERROR_MESSAGE,
|
|
7577
|
-
|
|
7587
|
+
Vg as UserService,
|
|
7578
7588
|
dt as VERSION_REDUCER_KEY,
|
|
7579
7589
|
Hp as VerificationCodeType,
|
|
7580
7590
|
Gh as _setLatestRetryTime,
|
|
7581
7591
|
wh as acceptProjectInvite,
|
|
7582
|
-
|
|
7592
|
+
Fs as addAsset,
|
|
7583
7593
|
Mm as addAssetAttachment,
|
|
7584
|
-
|
|
7585
|
-
|
|
7594
|
+
bn as addAssetAttachments,
|
|
7595
|
+
ds as addAssetProcedure,
|
|
7586
7596
|
xm as addAssetProcedureAttachment,
|
|
7587
7597
|
or as addAssetProcedureAttachments,
|
|
7588
|
-
|
|
7598
|
+
ts as addAssetProcedureFieldValues,
|
|
7589
7599
|
sf as addAssetProcedureFieldValuesAttachment,
|
|
7590
7600
|
gt as addAssetProcedureFieldValuesAttachments,
|
|
7591
7601
|
xr as addAssetProcedureFieldValuesMany,
|
|
@@ -7593,116 +7603,116 @@ export {
|
|
|
7593
7603
|
$m as addAssetProcedureFieldsAttachment,
|
|
7594
7604
|
br as addAssetProcedureFieldsAttachments,
|
|
7595
7605
|
Km as addAssetProcedureFieldsMany,
|
|
7596
|
-
|
|
7606
|
+
as as addAssetProcedureInstance,
|
|
7597
7607
|
Br as addAssetProcedureInstances,
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7608
|
+
Xf as addAssetProcedureStep,
|
|
7609
|
+
As as addAssetProcedureStepFieldValues,
|
|
7610
|
+
$f as addAssetProcedureStepFieldValuesAttachment,
|
|
7601
7611
|
Pt as addAssetProcedureStepFieldValuesAttachments,
|
|
7602
7612
|
Ao as addAssetProcedureStepFieldValuesMany,
|
|
7603
7613
|
no as addAssetProcedureStepFields,
|
|
7604
7614
|
Ff as addAssetProcedureStepFieldsAttachment,
|
|
7605
7615
|
Qr as addAssetProcedureStepFieldsAttachments,
|
|
7606
7616
|
qf as addAssetProcedureStepFieldsMany,
|
|
7607
|
-
|
|
7617
|
+
gs as addAssetProcedureSteps,
|
|
7608
7618
|
bf as addAssetProcedures,
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
-
|
|
7619
|
+
dA as addAssetStage,
|
|
7620
|
+
ws as addAssetStageCompletion,
|
|
7621
|
+
Es as addAssetStageCompletions,
|
|
7622
|
+
Ms as addAssetStages,
|
|
7623
|
+
Ws as addAssetType,
|
|
7624
|
+
pA as addAssetTypeAttachment,
|
|
7615
7625
|
Yn as addAssetTypeAttachments,
|
|
7616
|
-
|
|
7617
|
-
|
|
7626
|
+
Bs as addAssetTypeFieldValues,
|
|
7627
|
+
kA as addAssetTypeFieldValuesAttachment,
|
|
7618
7628
|
Rt as addAssetTypeFieldValuesAttachments,
|
|
7619
7629
|
Ad as addAssetTypeFieldValuesMany,
|
|
7620
7630
|
nd as addAssetTypeFields,
|
|
7621
|
-
|
|
7631
|
+
AA as addAssetTypeFieldsAttachment,
|
|
7622
7632
|
Qo as addAssetTypeFieldsAttachments,
|
|
7623
|
-
|
|
7624
|
-
|
|
7633
|
+
_A as addAssetTypeFieldsMany,
|
|
7634
|
+
BA as addAssetTypes,
|
|
7625
7635
|
Gn as addAssets,
|
|
7626
|
-
|
|
7636
|
+
Xs as addCategory,
|
|
7627
7637
|
Yc as addConversation,
|
|
7628
|
-
|
|
7638
|
+
ty as addDocumentAttachment,
|
|
7629
7639
|
Ed as addDocumentAttachments,
|
|
7630
7640
|
Ud as addDocuments,
|
|
7631
7641
|
Wd as addEmailDomain,
|
|
7632
|
-
|
|
7642
|
+
ri as addForm,
|
|
7633
7643
|
ma as addFormRevision,
|
|
7634
|
-
|
|
7644
|
+
dy as addFormRevisionAttachment,
|
|
7635
7645
|
iu as addFormRevisionAttachments,
|
|
7636
7646
|
lu as addFormRevisions,
|
|
7637
|
-
|
|
7638
|
-
|
|
7647
|
+
li as addFormSubmission,
|
|
7648
|
+
Ty as addFormSubmissionAttachment,
|
|
7639
7649
|
Ot as addFormSubmissionAttachments,
|
|
7640
|
-
|
|
7641
|
-
|
|
7650
|
+
xt as addFormSubmissions,
|
|
7651
|
+
by as addForms,
|
|
7642
7652
|
ju as addGeoImage,
|
|
7643
7653
|
Mu as addGeoImages,
|
|
7644
|
-
|
|
7645
|
-
|
|
7654
|
+
Ei as addIssue,
|
|
7655
|
+
bi as addIssueAssociation,
|
|
7646
7656
|
Ra as addIssueAssociations,
|
|
7647
|
-
|
|
7657
|
+
My as addIssueAttachment,
|
|
7648
7658
|
Ia as addIssueAttachments,
|
|
7649
|
-
|
|
7650
|
-
|
|
7659
|
+
Oi as addIssueComment,
|
|
7660
|
+
xy as addIssueCommentAttachment,
|
|
7651
7661
|
tl as addIssueCommentAttachments,
|
|
7652
|
-
|
|
7662
|
+
$y as addIssueComments,
|
|
7653
7663
|
Jl as addIssueType,
|
|
7654
|
-
|
|
7664
|
+
Ny as addIssueTypeAttachment,
|
|
7655
7665
|
bl as addIssueTypeAttachments,
|
|
7656
|
-
|
|
7657
|
-
|
|
7666
|
+
xi as addIssueTypeFieldValues,
|
|
7667
|
+
yb as addIssueTypeFieldValuesAttachment,
|
|
7658
7668
|
vt as addIssueTypeFieldValuesAttachments,
|
|
7659
|
-
|
|
7669
|
+
sb as addIssueTypeFieldValuesMany,
|
|
7660
7670
|
zl as addIssueTypeFields,
|
|
7661
|
-
|
|
7671
|
+
Yy as addIssueTypeFieldsAttachment,
|
|
7662
7672
|
vl as addIssueTypeFieldsAttachments,
|
|
7663
|
-
|
|
7673
|
+
ob as addIssueTypeFieldsMany,
|
|
7664
7674
|
sh as addIssueUpdate,
|
|
7665
7675
|
ih as addIssueUpdates,
|
|
7666
7676
|
ml as addIssues,
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7677
|
+
Ib as addLicenses,
|
|
7678
|
+
cS as addOrganization,
|
|
7679
|
+
aS as addOrganizations,
|
|
7680
|
+
Qb as addProject,
|
|
7681
|
+
SS as addProjectAttachment,
|
|
7672
7682
|
Nh as addProjectAttachments,
|
|
7673
|
-
|
|
7683
|
+
_S as addProjectFile,
|
|
7674
7684
|
sp as addProjectFiles,
|
|
7675
|
-
|
|
7685
|
+
Jb as addProjects,
|
|
7676
7686
|
mp as addTeam,
|
|
7677
|
-
|
|
7678
|
-
|
|
7687
|
+
Mb as addUser,
|
|
7688
|
+
jb as addUsers,
|
|
7679
7689
|
Xc as agentsReducer,
|
|
7680
|
-
|
|
7690
|
+
fn as agentsSlice,
|
|
7681
7691
|
ym as areArraysEqual,
|
|
7682
7692
|
cr as assetAttachmentReducer,
|
|
7683
|
-
|
|
7693
|
+
yn as assetAttachmentSlice,
|
|
7684
7694
|
Ar as assetProcedureAttachmentReducer,
|
|
7685
|
-
|
|
7695
|
+
gn as assetProcedureAttachmentSlice,
|
|
7686
7696
|
Cr as assetProcedureFieldValuesAttachmentReducer,
|
|
7687
|
-
|
|
7697
|
+
Rn as assetProcedureFieldValuesAttachmentSlice,
|
|
7688
7698
|
$r as assetProcedureFieldValuesReducer,
|
|
7689
|
-
|
|
7699
|
+
On as assetProcedureFieldValuesSlice,
|
|
7690
7700
|
_r as assetProcedureFieldsAttachmentReducer,
|
|
7691
|
-
|
|
7701
|
+
Tn as assetProcedureFieldsAttachmentSlice,
|
|
7692
7702
|
wr as assetProcedureFieldsReducer,
|
|
7693
|
-
|
|
7703
|
+
Pn as assetProcedureFieldsSlice,
|
|
7694
7704
|
Hr as assetProcedureInstanceReducer,
|
|
7695
|
-
|
|
7705
|
+
vn as assetProcedureInstanceSlice,
|
|
7696
7706
|
Yr as assetProcedureReducer,
|
|
7697
|
-
|
|
7707
|
+
kn as assetProcedureSlice,
|
|
7698
7708
|
mo as assetProcedureStepFieldValuesAttachmentReducer,
|
|
7699
7709
|
Dn as assetProcedureStepFieldValuesAttachmentSlice,
|
|
7700
7710
|
go as assetProcedureStepFieldValuesReducer,
|
|
7701
7711
|
zn as assetProcedureStepFieldValuesSlice,
|
|
7702
7712
|
so as assetProcedureStepFieldsAttachmentReducer,
|
|
7703
|
-
|
|
7713
|
+
jn as assetProcedureStepFieldsAttachmentSlice,
|
|
7704
7714
|
ro as assetProcedureStepFieldsReducer,
|
|
7705
|
-
|
|
7715
|
+
Mn as assetProcedureStepFieldsSlice,
|
|
7706
7716
|
_o as assetProcedureStepReducer,
|
|
7707
7717
|
Un as assetProcedureStepSlice,
|
|
7708
7718
|
wo as assetReducer,
|
|
@@ -7724,13 +7734,13 @@ export {
|
|
|
7724
7734
|
Pd as assetTypeReducer,
|
|
7725
7735
|
ia as assetTypeSlice,
|
|
7726
7736
|
Rd as authReducer,
|
|
7727
|
-
|
|
7728
|
-
|
|
7737
|
+
Ct as authSlice,
|
|
7738
|
+
MS as baseReducer,
|
|
7729
7739
|
ac as baseReducers,
|
|
7730
7740
|
_m as blobToBase64,
|
|
7731
7741
|
vd as categoryReducer,
|
|
7732
7742
|
aa as categorySlice,
|
|
7733
|
-
|
|
7743
|
+
YA as clearTokens,
|
|
7734
7744
|
Pm as constructUploadedFilePayloads,
|
|
7735
7745
|
fm as coordinatesAreEqual,
|
|
7736
7746
|
_ as createModelAdapter,
|
|
@@ -7739,13 +7749,13 @@ export {
|
|
|
7739
7749
|
I as createPayload,
|
|
7740
7750
|
pm as createPointGeometry,
|
|
7741
7751
|
hm as createSelectionAdapter,
|
|
7742
|
-
|
|
7752
|
+
Os as deleteAsset,
|
|
7743
7753
|
tr as deleteAssetAttachment,
|
|
7744
|
-
|
|
7745
|
-
|
|
7754
|
+
Sn as deleteAssetAttachments,
|
|
7755
|
+
us as deleteAssetProcedure,
|
|
7746
7756
|
lr as deleteAssetProcedureAttachment,
|
|
7747
7757
|
hr as deleteAssetProcedureAttachments,
|
|
7748
|
-
|
|
7758
|
+
ss as deleteAssetProcedureFieldValues,
|
|
7749
7759
|
rf as deleteAssetProcedureFieldValuesAttachment,
|
|
7750
7760
|
Tt as deleteAssetProcedureFieldValuesAttachments,
|
|
7751
7761
|
Vr as deleteAssetProcedureFieldValuesMany,
|
|
@@ -7753,76 +7763,76 @@ export {
|
|
|
7753
7763
|
Nm as deleteAssetProcedureFieldsAttachment,
|
|
7754
7764
|
gr as deleteAssetProcedureFieldsAttachments,
|
|
7755
7765
|
Xm as deleteAssetProcedureFieldsMany,
|
|
7756
|
-
|
|
7766
|
+
cs as deleteAssetProcedureInstance,
|
|
7757
7767
|
Lr as deleteAssetProcedureInstances,
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7768
|
+
Zf as deleteAssetProcedureStep,
|
|
7769
|
+
ys as deleteAssetProcedureStepFieldValues,
|
|
7770
|
+
Nf as deleteAssetProcedureStepFieldValuesAttachment,
|
|
7761
7771
|
_t as deleteAssetProcedureStepFieldValuesAttachments,
|
|
7762
7772
|
bo as deleteAssetProcedureStepFieldValuesMany,
|
|
7763
7773
|
co as deleteAssetProcedureStepFields,
|
|
7764
7774
|
wf as deleteAssetProcedureStepFieldsAttachment,
|
|
7765
7775
|
Zr as deleteAssetProcedureStepFieldsAttachments,
|
|
7766
7776
|
Df as deleteAssetProcedureStepFieldsMany,
|
|
7767
|
-
|
|
7777
|
+
Ps as deleteAssetProcedureSteps,
|
|
7768
7778
|
gf as deleteAssetProcedures,
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7779
|
+
uA as deleteAssetStage,
|
|
7780
|
+
ks as deleteAssetStageCompletion,
|
|
7781
|
+
qs as deleteAssetStageCompletions,
|
|
7782
|
+
Ds as deleteAssetStages,
|
|
7783
|
+
Ks as deleteAssetType,
|
|
7774
7784
|
Lo as deleteAssetTypeAttachment,
|
|
7775
7785
|
Jn as deleteAssetTypeAttachments,
|
|
7776
|
-
|
|
7777
|
-
|
|
7786
|
+
Ls as deleteAssetTypeFieldValues,
|
|
7787
|
+
CA as deleteAssetTypeFieldValuesAttachment,
|
|
7778
7788
|
Ft as deleteAssetTypeFieldValuesAttachments,
|
|
7779
7789
|
bd as deleteAssetTypeFieldValuesMany,
|
|
7780
7790
|
cd as deleteAssetTypeFields,
|
|
7781
|
-
|
|
7791
|
+
gA as deleteAssetTypeFieldsAttachment,
|
|
7782
7792
|
Zo as deleteAssetTypeFieldsAttachments,
|
|
7783
|
-
|
|
7784
|
-
|
|
7793
|
+
IA as deleteAssetTypeFieldsMany,
|
|
7794
|
+
NA as deleteAssetTypes,
|
|
7785
7795
|
Io as deleteAssets,
|
|
7786
7796
|
Id as deleteCategory,
|
|
7787
7797
|
jd as deleteDocumentAttachment,
|
|
7788
7798
|
Md as deleteDocumentAttachments,
|
|
7789
7799
|
Kd as deleteEmailDomain,
|
|
7790
|
-
|
|
7800
|
+
oi as deleteForm,
|
|
7791
7801
|
fa as deleteFormRevision,
|
|
7792
|
-
|
|
7802
|
+
py as deleteFormRevisionAttachment,
|
|
7793
7803
|
au as deleteFormRevisionAttachments,
|
|
7794
7804
|
hu as deleteFormRevisions,
|
|
7795
|
-
|
|
7796
|
-
|
|
7805
|
+
hi as deleteFormSubmission,
|
|
7806
|
+
Fy as deleteFormSubmissionAttachment,
|
|
7797
7807
|
It as deleteFormSubmissionAttachments,
|
|
7798
|
-
|
|
7799
|
-
|
|
7808
|
+
zt as deleteFormSubmissions,
|
|
7809
|
+
fi as deleteGeoImage,
|
|
7800
7810
|
Du as deleteGeoImages,
|
|
7801
|
-
|
|
7802
|
-
|
|
7811
|
+
ki as deleteIssue,
|
|
7812
|
+
Si as deleteIssueAssociation,
|
|
7803
7813
|
Fa as deleteIssueAssociations,
|
|
7804
7814
|
Yu as deleteIssueAttachment,
|
|
7805
7815
|
va as deleteIssueAttachments,
|
|
7806
|
-
|
|
7816
|
+
Ii as deleteIssueComment,
|
|
7807
7817
|
nl as deleteIssueCommentAttachment,
|
|
7808
7818
|
al as deleteIssueCommentAttachments,
|
|
7809
|
-
|
|
7819
|
+
Gy as deleteIssueComments,
|
|
7810
7820
|
Tl as deleteIssueTypeAttachment,
|
|
7811
7821
|
Pl as deleteIssueTypeAttachments,
|
|
7812
|
-
|
|
7813
|
-
|
|
7822
|
+
zi as deleteIssueTypeFieldValues,
|
|
7823
|
+
Tb as deleteIssueTypeFieldValuesAttachment,
|
|
7814
7824
|
wt as deleteIssueTypeFieldValuesAttachments,
|
|
7815
|
-
|
|
7825
|
+
cb as deleteIssueTypeFieldValuesMany,
|
|
7816
7826
|
Ul as deleteIssueTypeFields,
|
|
7817
|
-
|
|
7827
|
+
Zy as deleteIssueTypeFieldsAttachment,
|
|
7818
7828
|
El as deleteIssueTypeFieldsAttachments,
|
|
7819
|
-
|
|
7829
|
+
hb as deleteIssueTypeFieldsMany,
|
|
7820
7830
|
nh as deleteIssueUpdate,
|
|
7821
7831
|
ah as deleteIssueUpdates,
|
|
7822
7832
|
fl as deleteIssues,
|
|
7823
|
-
|
|
7833
|
+
dS as deleteOrganization,
|
|
7824
7834
|
yh as deleteOrganizationAccess,
|
|
7825
|
-
|
|
7835
|
+
uS as deleteOrganizations,
|
|
7826
7836
|
vh as deleteProject,
|
|
7827
7837
|
Th as deleteProjectAccess,
|
|
7828
7838
|
Ph as deleteProjectAccesses,
|
|
@@ -7830,10 +7840,10 @@ export {
|
|
|
7830
7840
|
Za as deleteProjectAttachments,
|
|
7831
7841
|
ip as deleteProjectFile,
|
|
7832
7842
|
np as deleteProjectFiles,
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7843
|
+
Zb as deleteProjects,
|
|
7844
|
+
an as deleteTeam,
|
|
7845
|
+
xb as deleteUser,
|
|
7846
|
+
zb as deleteUsers,
|
|
7837
7847
|
vp as dequeue,
|
|
7838
7848
|
Ac as discard,
|
|
7839
7849
|
zd as documentAttachmentReducer,
|
|
@@ -7865,14 +7875,14 @@ export {
|
|
|
7865
7875
|
Vu as geoImageReducer,
|
|
7866
7876
|
Pa as geoImageSlice,
|
|
7867
7877
|
gm as getFileIdentifier,
|
|
7868
|
-
|
|
7878
|
+
Nt as getFileS3Key,
|
|
7869
7879
|
Vc as getLocalDateString,
|
|
7870
7880
|
Sm as getLocalRelativeDateString,
|
|
7871
7881
|
Ce as getOutboxCoordinator,
|
|
7872
7882
|
Bc as getRenamedFile,
|
|
7873
7883
|
Le as hashFile,
|
|
7874
|
-
|
|
7875
|
-
|
|
7884
|
+
$g as initSDK,
|
|
7885
|
+
Yt as initializeAssetAttachments,
|
|
7876
7886
|
rr as initializeAssetProcedureAttachments,
|
|
7877
7887
|
Dr as initializeAssetProcedureFieldValues,
|
|
7878
7888
|
Er as initializeAssetProcedureFieldValuesAttachments,
|
|
@@ -7905,9 +7915,9 @@ export {
|
|
|
7905
7915
|
Au as initializeForms,
|
|
7906
7916
|
ku as initializeGeoImages,
|
|
7907
7917
|
Uu as initializeIssueAssociations,
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7918
|
+
Ti as initializeIssueAttachments,
|
|
7919
|
+
_i as initializeIssueCommentAttachments,
|
|
7920
|
+
Mi as initializeIssueTypeAttachments,
|
|
7911
7921
|
Ml as initializeIssueTypeFieldValues,
|
|
7912
7922
|
Bl as initializeIssueTypeFieldValuesAttachments,
|
|
7913
7923
|
xl as initializeIssueTypeFields,
|
|
@@ -7917,11 +7927,11 @@ export {
|
|
|
7917
7927
|
pl as initializeIssues,
|
|
7918
7928
|
dh as initializeLicences,
|
|
7919
7929
|
fh as initializeOrganizationAccesses,
|
|
7920
|
-
|
|
7930
|
+
iS as initializeOrganizations,
|
|
7921
7931
|
Wa as initializeProjectAccesses,
|
|
7922
7932
|
Lh as initializeProjectAttachments,
|
|
7923
7933
|
tp as initializeProjectFiles,
|
|
7924
|
-
|
|
7934
|
+
Kb as initializeProjects,
|
|
7925
7935
|
pp as initializeTeams,
|
|
7926
7936
|
hh as initializeUsers,
|
|
7927
7937
|
bm as isToday,
|
|
@@ -7953,8 +7963,8 @@ export {
|
|
|
7953
7963
|
Ga as licenseSlice,
|
|
7954
7964
|
Fm as logOnlyOnce,
|
|
7955
7965
|
$h as markAsDeleted,
|
|
7956
|
-
|
|
7957
|
-
|
|
7966
|
+
bS as markForDeletion,
|
|
7967
|
+
mn as memoize,
|
|
7958
7968
|
$d as moveDocument,
|
|
7959
7969
|
R as offline,
|
|
7960
7970
|
Em as onlyUniqueHashes,
|
|
@@ -7965,8 +7975,8 @@ export {
|
|
|
7965
7975
|
Ja as organizationSlice,
|
|
7966
7976
|
Bh as outboxReducer,
|
|
7967
7977
|
Qa as outboxSlice,
|
|
7968
|
-
|
|
7969
|
-
|
|
7978
|
+
DS as overmapEnhancer,
|
|
7979
|
+
CS as overmapReducer,
|
|
7970
7980
|
Sp as overmapReducers,
|
|
7971
7981
|
pc as performRequest,
|
|
7972
7982
|
Fh as projectAccessReducer,
|
|
@@ -7979,109 +7989,109 @@ export {
|
|
|
7979
7989
|
Ya as projectSlice,
|
|
7980
7990
|
hp as rehydratedReducer,
|
|
7981
7991
|
tc as rehydratedSlice,
|
|
7982
|
-
|
|
7983
|
-
|
|
7992
|
+
si as removeDocuments,
|
|
7993
|
+
Bi as removeIssueType,
|
|
7984
7994
|
ph as removeUser,
|
|
7985
|
-
|
|
7995
|
+
FS as resetProjectFileObjectUrls,
|
|
7986
7996
|
Dc as resetStore,
|
|
7987
7997
|
y as restructureCreateSelectorWithArgs,
|
|
7988
7998
|
rp as saveActiveProjectFileBounds,
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7999
|
+
JA as selectAccessToken,
|
|
8000
|
+
Lb as selectActiveOrganizationAccess,
|
|
8001
|
+
IS as selectActiveProjectFileId,
|
|
8002
|
+
wb as selectActiveStatusLicenses,
|
|
7993
8003
|
Dd as selectAllDocumentAttachments,
|
|
7994
8004
|
Qh as selectAllProjectAttachments,
|
|
7995
|
-
|
|
8005
|
+
cy as selectAncestorIdsOfDocument,
|
|
7996
8006
|
nr as selectAssetAttachmentById,
|
|
7997
8007
|
sr as selectAssetAttachmentMapping,
|
|
7998
8008
|
ir as selectAssetAttachments,
|
|
7999
|
-
|
|
8009
|
+
Is as selectAssetById,
|
|
8000
8010
|
fr as selectAssetProcedureAttachmentById,
|
|
8001
8011
|
pr as selectAssetProcedureAttachmentMapping,
|
|
8002
8012
|
mr as selectAssetProcedureAttachments,
|
|
8003
|
-
|
|
8004
|
-
|
|
8013
|
+
ls as selectAssetProcedureById,
|
|
8014
|
+
In as selectAssetProcedureFieldValues,
|
|
8005
8015
|
of as selectAssetProcedureFieldValuesAttachmentById,
|
|
8006
8016
|
qr as selectAssetProcedureFieldValuesAttachments,
|
|
8007
8017
|
jr as selectAssetProcedureFieldValuesAttachmentsByIds,
|
|
8008
|
-
|
|
8009
|
-
|
|
8018
|
+
Fn as selectAssetProcedureFieldValuesAttachmentsMapping,
|
|
8019
|
+
is as selectAssetProcedureFieldValuesById,
|
|
8010
8020
|
Ur as selectAssetProcedureFieldValuesMapping,
|
|
8011
8021
|
lf as selectAssetProcedureFieldValuesOfAsset,
|
|
8012
|
-
|
|
8022
|
+
_n as selectAssetProcedureFields,
|
|
8013
8023
|
Wm as selectAssetProcedureFieldsAttachmentById,
|
|
8014
8024
|
Pr as selectAssetProcedureFieldsAttachments,
|
|
8015
8025
|
Tr as selectAssetProcedureFieldsAttachmentsMapping,
|
|
8016
8026
|
tf as selectAssetProcedureFieldsById,
|
|
8017
8027
|
vr as selectAssetProcedureFieldsMapping,
|
|
8018
8028
|
Zm as selectAssetProcedureFieldsOfAssetProcedure,
|
|
8019
|
-
|
|
8020
|
-
|
|
8029
|
+
rs as selectAssetProcedureInstanceById,
|
|
8030
|
+
En as selectAssetProcedureInstances,
|
|
8021
8031
|
yf as selectAssetProcedureInstancesByIds,
|
|
8022
|
-
|
|
8032
|
+
wn as selectAssetProcedureInstancesMapping,
|
|
8023
8033
|
Nr as selectAssetProcedureInstancesOfAssetProcedure,
|
|
8024
8034
|
Af as selectAssetProcedureInstancesOfAssetType,
|
|
8025
8035
|
Ro as selectAssetProcedureStepById,
|
|
8026
8036
|
So as selectAssetProcedureStepFieldValues,
|
|
8027
|
-
|
|
8037
|
+
Hf as selectAssetProcedureStepFieldValuesAttachmentById,
|
|
8028
8038
|
lo as selectAssetProcedureStepFieldValuesAttachments,
|
|
8029
8039
|
ho as selectAssetProcedureStepFieldValuesAttachmentsByIds,
|
|
8030
8040
|
xn as selectAssetProcedureStepFieldValuesAttachmentsMapping,
|
|
8031
|
-
|
|
8041
|
+
bs as selectAssetProcedureStepFieldValuesById,
|
|
8032
8042
|
Vn as selectAssetProcedureStepFieldValuesMapping,
|
|
8033
|
-
|
|
8034
|
-
|
|
8043
|
+
Yf as selectAssetProcedureStepFieldValuesOfAsset,
|
|
8044
|
+
Jf as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
|
|
8035
8045
|
Cn as selectAssetProcedureStepFields,
|
|
8036
8046
|
kf as selectAssetProcedureStepFieldsAttachmentById,
|
|
8037
8047
|
to as selectAssetProcedureStepFieldsAttachments,
|
|
8038
8048
|
eo as selectAssetProcedureStepFieldsAttachmentsMapping,
|
|
8039
|
-
|
|
8040
|
-
|
|
8049
|
+
Uf as selectAssetProcedureStepFieldsById,
|
|
8050
|
+
kt as selectAssetProcedureStepFieldsMapping,
|
|
8041
8051
|
xf as selectAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
8042
|
-
|
|
8052
|
+
qt as selectAssetProcedureStepMapping,
|
|
8043
8053
|
Fo as selectAssetProcedureSteps,
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8054
|
+
_s as selectAssetProcedureStepsByIds,
|
|
8055
|
+
eA as selectAssetProcedureStepsMappingOfAssetProcedure,
|
|
8056
|
+
tA as selectAssetProcedureStepsOfAssetProcedure,
|
|
8047
8057
|
Kr as selectAssetProcedures,
|
|
8048
8058
|
Rf as selectAssetProceduresByIds,
|
|
8049
|
-
|
|
8059
|
+
qn as selectAssetProceduresMapping,
|
|
8050
8060
|
_f as selectAssetProceduresOfOrganization,
|
|
8051
8061
|
Vo as selectAssetStageById,
|
|
8052
8062
|
Mo as selectAssetStageCompletionById,
|
|
8053
8063
|
Hn as selectAssetStageCompletionMapping,
|
|
8054
|
-
|
|
8064
|
+
rA as selectAssetStageCompletions,
|
|
8055
8065
|
Co as selectAssetStageCompletionsByIds,
|
|
8056
8066
|
Uo as selectAssetStages,
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8067
|
+
xs as selectAssetStagesByIds,
|
|
8068
|
+
lA as selectAssetStagesMappingOfAssetProcedure,
|
|
8069
|
+
hA as selectAssetStagesOfAssetProcedure,
|
|
8060
8070
|
Wo as selectAssetTypeAttachmentById,
|
|
8061
8071
|
No as selectAssetTypeAttachmentMapping,
|
|
8062
8072
|
Ho as selectAssetTypeAttachments,
|
|
8063
|
-
|
|
8073
|
+
Ys as selectAssetTypeById,
|
|
8064
8074
|
sa as selectAssetTypeFieldValues,
|
|
8065
|
-
|
|
8075
|
+
DA as selectAssetTypeFieldValuesAttachmentById,
|
|
8066
8076
|
ld as selectAssetTypeFieldValuesAttachments,
|
|
8067
8077
|
hd as selectAssetTypeFieldValuesAttachmentsByIds,
|
|
8068
8078
|
ea as selectAssetTypeFieldValuesAttachmentsMapping,
|
|
8069
|
-
|
|
8079
|
+
Ns as selectAssetTypeFieldValuesById,
|
|
8070
8080
|
Sd as selectAssetTypeFieldValuesMapping,
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8081
|
+
VA as selectAssetTypeFieldValuesOfAsset,
|
|
8082
|
+
Mt as selectAssetTypeFields,
|
|
8083
|
+
PA as selectAssetTypeFieldsAttachmentById,
|
|
8074
8084
|
td as selectAssetTypeFieldsAttachments,
|
|
8075
8085
|
ed as selectAssetTypeFieldsAttachmentsMapping,
|
|
8076
|
-
|
|
8086
|
+
EA as selectAssetTypeFieldsById,
|
|
8077
8087
|
rd as selectAssetTypeFieldsMapping,
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8088
|
+
vA as selectAssetTypeFieldsOfAssetType,
|
|
8089
|
+
UA as selectAssetTypeValuesOfAssetType,
|
|
8090
|
+
HA as selectAssetTypes,
|
|
8091
|
+
WA as selectAssetTypesByIds,
|
|
8082
8092
|
na as selectAssetTypesMapping,
|
|
8083
8093
|
vo as selectAssets,
|
|
8084
|
-
|
|
8094
|
+
aA as selectAssetsByIds,
|
|
8085
8095
|
Bn as selectAssetsMapping,
|
|
8086
8096
|
Ln as selectAssetsOfAssetType,
|
|
8087
8097
|
ar as selectAttachmentsOfAsset,
|
|
@@ -8092,159 +8102,160 @@ export {
|
|
|
8092
8102
|
Ef as selectAttachmentsOfAssetProcedureStepFields,
|
|
8093
8103
|
Ko as selectAttachmentsOfAssetType,
|
|
8094
8104
|
pd as selectAttachmentsOfAssetTypeFieldValues,
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8105
|
+
TA as selectAttachmentsOfAssetTypeFields,
|
|
8106
|
+
ny as selectAttachmentsOfDocument,
|
|
8107
|
+
my as selectAttachmentsOfFormRevision,
|
|
8098
8108
|
_u as selectAttachmentsOfFormSubmission,
|
|
8099
8109
|
Xu as selectAttachmentsOfIssue,
|
|
8100
|
-
|
|
8101
|
-
|
|
8110
|
+
Uy as selectAttachmentsOfIssueComment,
|
|
8111
|
+
Ky as selectAttachmentsOfIssueType,
|
|
8102
8112
|
Wl as selectAttachmentsOfIssueTypeFieldValues,
|
|
8103
|
-
|
|
8113
|
+
eb as selectAttachmentsOfIssueTypeFields,
|
|
8104
8114
|
Zh as selectAttachmentsOfProject,
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
|
|
8115
|
+
XA as selectCategories,
|
|
8116
|
+
ZA as selectCategoriesByIds,
|
|
8117
|
+
Zs as selectCategoryById,
|
|
8108
8118
|
ca as selectCategoryMapping,
|
|
8109
|
-
|
|
8119
|
+
By as selectCommentsOfIssue,
|
|
8110
8120
|
jm as selectConversation,
|
|
8111
|
-
|
|
8121
|
+
An as selectConversationMapping,
|
|
8112
8122
|
qm as selectConversations,
|
|
8113
|
-
|
|
8114
|
-
|
|
8123
|
+
$t as selectCurrentUser,
|
|
8124
|
+
AS as selectDeletedRequests,
|
|
8115
8125
|
xd as selectDocumentAttachmentById,
|
|
8116
8126
|
Cd as selectDocumentAttachmentMapping,
|
|
8117
8127
|
Bd as selectDocumentById,
|
|
8118
8128
|
Gd as selectDocuments,
|
|
8119
|
-
|
|
8129
|
+
ay as selectDocumentsByIds,
|
|
8120
8130
|
Ne as selectDocumentsMapping,
|
|
8121
8131
|
Jd as selectEmailDomains,
|
|
8122
8132
|
Yd as selectEmailDomainsAsMapping,
|
|
8123
|
-
|
|
8133
|
+
oy as selectEmailDomainsOfOrganization,
|
|
8124
8134
|
hf as selectFieldValuesOfAssetProcedureInstance,
|
|
8125
8135
|
Su as selectFormById,
|
|
8126
8136
|
bu as selectFormMapping,
|
|
8127
8137
|
cu as selectFormRevisionAttachmentsMapping,
|
|
8128
|
-
|
|
8129
|
-
|
|
8138
|
+
fy as selectFormRevisionById,
|
|
8139
|
+
Dt as selectFormRevisionMapping,
|
|
8130
8140
|
pu as selectFormRevisions,
|
|
8131
8141
|
mu as selectFormRevisionsOfForm,
|
|
8132
8142
|
Pu as selectFormSubmissionAttachemntsByIds,
|
|
8133
8143
|
ba as selectFormSubmissionAttachmentsMapping,
|
|
8134
|
-
|
|
8144
|
+
pi as selectFormSubmissionById,
|
|
8135
8145
|
Ta as selectFormSubmissions,
|
|
8136
8146
|
ga as selectFormSubmissionsMapping,
|
|
8137
8147
|
wu as selectFormSubmissionsOfAsset,
|
|
8138
8148
|
Iu as selectFormSubmissionsOfForm,
|
|
8139
8149
|
vu as selectFormSubmissionsOfIssue,
|
|
8140
|
-
|
|
8141
|
-
|
|
8150
|
+
gy as selectForms,
|
|
8151
|
+
Ai as selectGeoImageById,
|
|
8142
8152
|
xu as selectGeoImageMapping,
|
|
8143
8153
|
zu as selectGeoImages,
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8154
|
+
wy as selectGeoImagesOfProject,
|
|
8155
|
+
vS as selectIsImportingProjectFile,
|
|
8156
|
+
QA as selectIsLoggedIn,
|
|
8147
8157
|
Gu as selectIssueAssociationById,
|
|
8148
8158
|
ut as selectIssueAssociationMapping,
|
|
8149
|
-
|
|
8159
|
+
jy as selectIssueAssociations,
|
|
8150
8160
|
Nu as selectIssueAssociationsOfAsset,
|
|
8151
8161
|
Lu as selectIssueAssociationsOfIssue,
|
|
8152
8162
|
Bu as selectIssueAssociationsToIssue,
|
|
8153
8163
|
Zu as selectIssueAttachmentById,
|
|
8154
8164
|
Ju as selectIssueAttachmentMapping,
|
|
8155
8165
|
Qu as selectIssueAttachments,
|
|
8156
|
-
|
|
8166
|
+
qi as selectIssueById,
|
|
8157
8167
|
ol as selectIssueCommentAttachmentById,
|
|
8158
8168
|
cl as selectIssueCommentAttachmentMapping,
|
|
8159
8169
|
rl as selectIssueCommentAttachments,
|
|
8160
|
-
|
|
8170
|
+
vi as selectIssueCommentById,
|
|
8161
8171
|
ll as selectIssueCommentMapping,
|
|
8162
|
-
|
|
8172
|
+
ey as selectIssueCountOfCategory,
|
|
8163
8173
|
Al as selectIssueMapping,
|
|
8164
8174
|
Fl as selectIssueTypeAttachmentById,
|
|
8165
8175
|
_l as selectIssueTypeAttachmentMapping,
|
|
8166
8176
|
Rl as selectIssueTypeAttachments,
|
|
8167
|
-
|
|
8177
|
+
Li as selectIssueTypeById,
|
|
8168
8178
|
Ca as selectIssueTypeFieldValues,
|
|
8169
|
-
|
|
8179
|
+
Pb as selectIssueTypeFieldValuesAttachmentById,
|
|
8170
8180
|
Nl as selectIssueTypeFieldValuesAttachments,
|
|
8171
8181
|
Hl as selectIssueTypeFieldValuesAttachmentsByIds,
|
|
8172
8182
|
za as selectIssueTypeFieldValuesAttachmentsMapping,
|
|
8173
|
-
|
|
8183
|
+
Vi as selectIssueTypeFieldValuesById,
|
|
8174
8184
|
Cl as selectIssueTypeFieldValuesMapping,
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8185
|
+
rb as selectIssueTypeFieldValuesOfIssue,
|
|
8186
|
+
Vt as selectIssueTypeFields,
|
|
8187
|
+
tb as selectIssueTypeFieldsAttachmentById,
|
|
8178
8188
|
ql as selectIssueTypeFieldsAttachments,
|
|
8179
8189
|
kl as selectIssueTypeFieldsAttachmentsMapping,
|
|
8180
|
-
|
|
8190
|
+
Ab as selectIssueTypeFieldsById,
|
|
8181
8191
|
$l as selectIssueTypeFieldsMapping,
|
|
8182
|
-
|
|
8192
|
+
pb as selectIssueTypeFieldsOfIssueType,
|
|
8183
8193
|
Xl as selectIssueTypeMapping,
|
|
8184
|
-
|
|
8194
|
+
fb as selectIssueTypeValuesOfIssueType,
|
|
8185
8195
|
Zl as selectIssueTypes,
|
|
8186
|
-
|
|
8187
|
-
|
|
8196
|
+
_b as selectIssueTypesByIds,
|
|
8197
|
+
Rb as selectIssueTypesOfOrganization,
|
|
8188
8198
|
ch as selectIssueUpdateMapping,
|
|
8189
8199
|
rh as selectIssueUpdatesOfIssue,
|
|
8190
|
-
|
|
8200
|
+
Ly as selectIssuesByIds,
|
|
8191
8201
|
Ua as selectIssuesOfIssueType,
|
|
8192
|
-
|
|
8202
|
+
Fb as selectIssuesOfIssueTypeCount,
|
|
8193
8203
|
ef as selectLatestAssetProcedureFieldsOfAssetProcedure,
|
|
8194
8204
|
zf as selectLatestAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8205
|
+
wA as selectLatestAssetTypeFieldsOfAssetType,
|
|
8206
|
+
Vf as selectLatestFieldsByAssetProcedureStep,
|
|
8207
|
+
Ay as selectLatestFormRevisionOfForm,
|
|
8208
|
+
mb as selectLatestIssueTypeFieldsOfIssueType,
|
|
8209
|
+
yS as selectLatestRetryTime,
|
|
8210
|
+
vb as selectLicense,
|
|
8200
8211
|
uh as selectLicenseForProject,
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8212
|
+
Ut as selectLicenses,
|
|
8213
|
+
Eb as selectLicensesForProjectsMapping,
|
|
8214
|
+
mS as selectLicensesOfOrganization,
|
|
8215
|
+
cA as selectNumberOfAssetsOfAssetType,
|
|
8216
|
+
Bb as selectOrganizationAccessById,
|
|
8217
|
+
Nb as selectOrganizationAccessForUser,
|
|
8207
8218
|
bh as selectOrganizationAccessUserMapping,
|
|
8208
8219
|
Na as selectOrganizationAccesses,
|
|
8209
|
-
|
|
8220
|
+
lS as selectOrganizationById,
|
|
8210
8221
|
xh as selectOrganizationUsersAsMapping,
|
|
8211
8222
|
Dh as selectOrganizationUsersIds,
|
|
8212
8223
|
Ch as selectOrganizations,
|
|
8213
8224
|
Mh as selectOrganizationsMapping,
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8225
|
+
hS as selectOrganizationsWithAccess,
|
|
8226
|
+
Hb as selectProjectAccessById,
|
|
8227
|
+
Wb as selectProjectAccessForUser,
|
|
8217
8228
|
Ka as selectProjectAccessMapping,
|
|
8218
8229
|
Rh as selectProjectAccessUserMapping,
|
|
8219
8230
|
_h as selectProjectAccesses,
|
|
8220
8231
|
Xh as selectProjectAttachmentById,
|
|
8221
8232
|
Jh as selectProjectAttachmentMapping,
|
|
8222
|
-
|
|
8223
|
-
|
|
8233
|
+
tS as selectProjectById,
|
|
8234
|
+
OS as selectProjectFileById,
|
|
8224
8235
|
op as selectProjectFileMapping,
|
|
8225
8236
|
dp as selectProjectFiles,
|
|
8226
|
-
|
|
8237
|
+
Bt as selectProjectMapping,
|
|
8227
8238
|
qh as selectProjectUsersAsMapping,
|
|
8228
8239
|
kh as selectProjectUsersIds,
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8240
|
+
eS as selectProjects,
|
|
8241
|
+
pS as selectProjectsOfOrganization,
|
|
8242
|
+
ES as selectRehydrated,
|
|
8243
|
+
ry as selectRootDocuments,
|
|
8244
|
+
fS as selectSortedOrganizationUsers,
|
|
8245
|
+
sS as selectSortedProjectUsers,
|
|
8246
|
+
jt as selectStageMapping,
|
|
8236
8247
|
Ve as selectTeamById,
|
|
8237
8248
|
nc as selectTeams,
|
|
8238
|
-
|
|
8249
|
+
kS as selectTeamsByIds,
|
|
8239
8250
|
ic as selectTeamsMapping,
|
|
8240
|
-
|
|
8241
|
-
|
|
8251
|
+
qS as selectTeamsOfOrganization,
|
|
8252
|
+
jS as selectTeamsOfUser,
|
|
8242
8253
|
eu as selectUploadUrl,
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8254
|
+
$b as selectUserById,
|
|
8255
|
+
Gb as selectUsersByIds,
|
|
8256
|
+
Gt as selectUsersMapping,
|
|
8246
8257
|
cp as setActiveProjectFileId,
|
|
8247
|
-
|
|
8258
|
+
iA as setAsset,
|
|
8248
8259
|
Zc as setAssetAttachment,
|
|
8249
8260
|
Cm as setAssetAttachments,
|
|
8250
8261
|
Tf as setAssetProcedure,
|
|
@@ -8261,83 +8272,83 @@ export {
|
|
|
8261
8272
|
mf as setAssetProcedureInstance,
|
|
8262
8273
|
ff as setAssetProcedureInstances,
|
|
8263
8274
|
Po as setAssetProcedureStep,
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8275
|
+
Wf as setAssetProcedureStepFieldValues,
|
|
8276
|
+
Gf as setAssetProcedureStepFieldValuesAttachment,
|
|
8277
|
+
Bf as setAssetProcedureStepFieldValuesAttachments,
|
|
8278
|
+
Kf as setAssetProcedureStepFieldValuesMany,
|
|
8268
8279
|
jf as setAssetProcedureStepFields,
|
|
8269
8280
|
Of as setAssetProcedureStepFieldsAttachment,
|
|
8270
8281
|
If as setAssetProcedureStepFieldsAttachments,
|
|
8271
8282
|
Mf as setAssetProcedureStepFieldsMany,
|
|
8272
|
-
|
|
8283
|
+
Qf as setAssetProcedureSteps,
|
|
8273
8284
|
Pf as setAssetProcedures,
|
|
8274
8285
|
xo as setAssetStage,
|
|
8275
|
-
|
|
8276
|
-
|
|
8286
|
+
oA as setAssetStages,
|
|
8287
|
+
$A as setAssetType,
|
|
8277
8288
|
Go as setAssetTypeAttachment,
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
+
mA as setAssetTypeAttachments,
|
|
8290
|
+
xA as setAssetTypeFieldValues,
|
|
8291
|
+
qA as setAssetTypeFieldValuesAttachment,
|
|
8292
|
+
jA as setAssetTypeFieldValuesAttachments,
|
|
8293
|
+
zA as setAssetTypeFieldValuesMany,
|
|
8294
|
+
RA as setAssetTypeFields,
|
|
8295
|
+
yA as setAssetTypeFieldsAttachment,
|
|
8296
|
+
bA as setAssetTypeFieldsAttachments,
|
|
8297
|
+
FA as setAssetTypeFieldsMany,
|
|
8298
|
+
GA as setAssetTypes,
|
|
8299
|
+
nA as setAssets,
|
|
8289
8300
|
Jc as setConversation,
|
|
8290
|
-
|
|
8301
|
+
Vb as setCurrentUser,
|
|
8291
8302
|
kd as setDocumentAttachment,
|
|
8292
|
-
|
|
8303
|
+
sy as setDocumentAttachments,
|
|
8293
8304
|
Vd as setDocuments,
|
|
8294
|
-
|
|
8305
|
+
yy as setForm,
|
|
8295
8306
|
du as setFormRevision,
|
|
8296
|
-
|
|
8297
|
-
|
|
8307
|
+
uy as setFormRevisionAttachment,
|
|
8308
|
+
ly as setFormRevisionAttachments,
|
|
8298
8309
|
pt as setFormSubmission,
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8310
|
+
Py as setFormSubmissionAttachment,
|
|
8311
|
+
_y as setFormSubmissionAttachments,
|
|
8312
|
+
Oy as setFormSubmissions,
|
|
8302
8313
|
tt as setGeoImage,
|
|
8303
8314
|
qu as setGeoImages,
|
|
8304
8315
|
ap as setIsImportingProjectFile,
|
|
8305
|
-
|
|
8306
|
-
|
|
8316
|
+
ky as setIssueAssociation,
|
|
8317
|
+
Ey as setIssueAssociations,
|
|
8307
8318
|
Wu as setIssueAttachment,
|
|
8308
|
-
|
|
8309
|
-
|
|
8319
|
+
Cy as setIssueAttachments,
|
|
8320
|
+
Fi as setIssueComment,
|
|
8310
8321
|
sl as setIssueCommentAttachment,
|
|
8311
|
-
|
|
8322
|
+
zy as setIssueCommentAttachments,
|
|
8312
8323
|
ul as setIssueComments,
|
|
8313
8324
|
it as setIssueType,
|
|
8314
8325
|
Sl as setIssueTypeAttachment,
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
|
|
8321
|
-
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8326
|
+
Hy as setIssueTypeAttachments,
|
|
8327
|
+
ib as setIssueTypeFieldValues,
|
|
8328
|
+
bb as setIssueTypeFieldValuesAttachment,
|
|
8329
|
+
Sb as setIssueTypeFieldValuesAttachments,
|
|
8330
|
+
nb as setIssueTypeFieldValuesMany,
|
|
8331
|
+
db as setIssueTypeFields,
|
|
8332
|
+
Jy as setIssueTypeFieldsAttachment,
|
|
8333
|
+
Qy as setIssueTypeFieldsAttachments,
|
|
8334
|
+
ub as setIssueTypeFieldsMany,
|
|
8335
|
+
Ob as setIssueUpdate,
|
|
8325
8336
|
_d as setLoggedIn,
|
|
8326
|
-
|
|
8337
|
+
nS as setOrganization,
|
|
8327
8338
|
jh as setOrganizations,
|
|
8328
|
-
|
|
8329
|
-
|
|
8339
|
+
Ub as setProfilePicture,
|
|
8340
|
+
Yb as setProject,
|
|
8330
8341
|
Hh as setProjectAttachment,
|
|
8331
8342
|
Wh as setProjectAttachments,
|
|
8332
|
-
|
|
8333
|
-
|
|
8343
|
+
TS as setProjectFile,
|
|
8344
|
+
PS as setProjectFiles,
|
|
8334
8345
|
Oh as setProjects,
|
|
8335
|
-
|
|
8346
|
+
wS as setRehydrated,
|
|
8336
8347
|
ze as setTeam,
|
|
8337
|
-
|
|
8348
|
+
KA as setTokens,
|
|
8338
8349
|
Zd as setUploadUrl,
|
|
8339
|
-
|
|
8340
|
-
|
|
8350
|
+
qb as setUser,
|
|
8351
|
+
kb as setUsers,
|
|
8341
8352
|
Am as shallowEqual,
|
|
8342
8353
|
vm as slugify,
|
|
8343
8354
|
Im as spacesToDashesLower,
|
|
@@ -8362,9 +8373,9 @@ export {
|
|
|
8362
8373
|
Qm as updateAssetProcedureFieldsMany,
|
|
8363
8374
|
Ye as updateAssetProcedureInstance,
|
|
8364
8375
|
pf as updateAssetProcedureInstances,
|
|
8365
|
-
|
|
8376
|
+
Ts as updateAssetProcedureStep,
|
|
8366
8377
|
Qe as updateAssetProcedureStepFieldValues,
|
|
8367
|
-
|
|
8378
|
+
Lf as updateAssetProcedureStepFieldValuesAttachment,
|
|
8368
8379
|
uo as updateAssetProcedureStepFieldValuesAttachments,
|
|
8369
8380
|
yo as updateAssetProcedureStepFieldValuesMany,
|
|
8370
8381
|
ao as updateAssetProcedureStepFields,
|
|
@@ -8373,69 +8384,69 @@ export {
|
|
|
8373
8384
|
Cf as updateAssetProcedureStepFieldsMany,
|
|
8374
8385
|
lt as updateAssetProcedureSteps,
|
|
8375
8386
|
Sf as updateAssetProcedures,
|
|
8376
|
-
|
|
8387
|
+
Cs as updateAssetStage,
|
|
8377
8388
|
ko as updateAssetStageCompletion,
|
|
8378
8389
|
qo as updateAssetStageCompletions,
|
|
8379
8390
|
ht as updateAssetStages,
|
|
8380
8391
|
et as updateAssetType,
|
|
8381
|
-
|
|
8392
|
+
fA as updateAssetTypeAttachment,
|
|
8382
8393
|
Bo as updateAssetTypeAttachments,
|
|
8383
8394
|
Ze as updateAssetTypeFieldValues,
|
|
8384
|
-
|
|
8395
|
+
MA as updateAssetTypeFieldValuesAttachment,
|
|
8385
8396
|
ud as updateAssetTypeFieldValuesAttachments,
|
|
8386
8397
|
yd as updateAssetTypeFieldValuesMany,
|
|
8387
8398
|
ad as updateAssetTypeFields,
|
|
8388
|
-
|
|
8399
|
+
SA as updateAssetTypeFieldsAttachment,
|
|
8389
8400
|
Xo as updateAssetTypeFieldsAttachments,
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8401
|
+
OA as updateAssetTypeFieldsMany,
|
|
8402
|
+
LA as updateAssetTypes,
|
|
8403
|
+
sA as updateAssets,
|
|
8393
8404
|
Od as updateCategory,
|
|
8394
8405
|
Qc as updateConversation,
|
|
8395
|
-
|
|
8406
|
+
iy as updateDocumentAttachment,
|
|
8396
8407
|
qd as updateDocumentAttachments,
|
|
8397
8408
|
_e as updateDocuments,
|
|
8398
|
-
|
|
8399
|
-
|
|
8409
|
+
Sy as updateForm,
|
|
8410
|
+
hy as updateFormRevisionAttachment,
|
|
8400
8411
|
nu as updateFormRevisionAttachments,
|
|
8401
8412
|
Ou as updateFormSubmission,
|
|
8402
|
-
|
|
8413
|
+
Ry as updateFormSubmissionAttachment,
|
|
8403
8414
|
Tu as updateFormSubmissionAttachments,
|
|
8404
|
-
|
|
8415
|
+
Iy as updateFormSubmissions,
|
|
8405
8416
|
Cu as updateGeoImage,
|
|
8406
|
-
|
|
8417
|
+
vy as updateGeoImages,
|
|
8407
8418
|
mt as updateIssue,
|
|
8408
8419
|
$u as updateIssueAssociation,
|
|
8409
|
-
|
|
8410
|
-
|
|
8420
|
+
qy as updateIssueAssociations,
|
|
8421
|
+
Dy as updateIssueAttachment,
|
|
8411
8422
|
Ku as updateIssueAttachments,
|
|
8412
|
-
|
|
8423
|
+
Vy as updateIssueCommentAttachment,
|
|
8413
8424
|
il as updateIssueCommentAttachments,
|
|
8414
8425
|
Ql as updateIssueType,
|
|
8415
|
-
|
|
8426
|
+
Wy as updateIssueTypeAttachment,
|
|
8416
8427
|
gl as updateIssueTypeAttachments,
|
|
8417
8428
|
st as updateIssueTypeFieldValues,
|
|
8418
|
-
|
|
8429
|
+
gb as updateIssueTypeFieldValuesAttachment,
|
|
8419
8430
|
Ll as updateIssueTypeFieldValuesAttachments,
|
|
8420
|
-
|
|
8431
|
+
ab as updateIssueTypeFieldValuesMany,
|
|
8421
8432
|
Vl as updateIssueTypeFields,
|
|
8422
|
-
|
|
8433
|
+
Xy as updateIssueTypeFieldsAttachment,
|
|
8423
8434
|
wl as updateIssueTypeFieldsAttachments,
|
|
8424
|
-
|
|
8435
|
+
lb as updateIssueTypeFieldsMany,
|
|
8425
8436
|
ge as updateLicense,
|
|
8426
|
-
|
|
8437
|
+
oS as updateOrganization,
|
|
8427
8438
|
Ah as updateOrganizationAccess,
|
|
8428
|
-
|
|
8439
|
+
rS as updateOrganizations,
|
|
8429
8440
|
Ih as updateProject,
|
|
8430
8441
|
gh as updateProjectAccess,
|
|
8431
|
-
|
|
8442
|
+
gS as updateProjectAttachment,
|
|
8432
8443
|
Kh as updateProjectAttachments,
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8444
|
+
tn as updateProjectFile,
|
|
8445
|
+
RS as updateProjectFiles,
|
|
8446
|
+
Xb as updateProjects,
|
|
8447
|
+
nn as updateTeam,
|
|
8448
|
+
Db as updateUser,
|
|
8449
|
+
Cb as updateUsers,
|
|
8439
8450
|
mh as userReducer,
|
|
8440
8451
|
Ba as userSlice,
|
|
8441
8452
|
bp as versioningReducer,
|