@overmap-ai/core 1.0.78-procedure-steps.3 → 1.0.78-procedure-steps.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/overmap-core.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var A = (t, e, s) =>
|
|
1
|
+
var bc = Object.defineProperty;
|
|
2
|
+
var Sc = (t, e, s) => e in t ? bc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
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 dn, compose 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
|
-
import { saveAs as
|
|
9
|
-
import { offline as
|
|
8
|
+
import { saveAs as Tc } from "file-saver";
|
|
9
|
+
import { offline as Pc } from "@redux-offline/redux-offline";
|
|
10
10
|
import Lt from "@redux-offline/redux-offline/lib/defaults";
|
|
11
11
|
import "buffer";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import _c from "localforage";
|
|
13
|
+
import Rc from "redux-persist-migrate";
|
|
14
14
|
import "@overmap-ai/forms";
|
|
15
|
-
import { openDB as
|
|
16
|
-
import { RESET_STATE as
|
|
17
|
-
import
|
|
18
|
-
import { DepGraph as
|
|
15
|
+
import { openDB as Fc } from "idb";
|
|
16
|
+
import { RESET_STATE as Oc } from "@redux-offline/redux-offline/lib/constants";
|
|
17
|
+
import Ic from "jwt-decode";
|
|
18
|
+
import { DepGraph as vc } from "dependency-graph";
|
|
19
19
|
import "@tiptap/core";
|
|
20
|
-
const
|
|
21
|
-
var un = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(un || {}), ln = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(ln || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}),
|
|
22
|
-
const um = pn.BACKLOG, lm = hn.MEDIUM,
|
|
20
|
+
const wc = Object.freeze([]), Ec = Object.freeze({});
|
|
21
|
+
var un = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(un || {}), ln = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(ln || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), 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) => {
|
|
@@ -112,10 +112,10 @@ function hm() {
|
|
|
112
112
|
})
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
const dt = "versioning",
|
|
115
|
+
const dt = "versioning", Dc = "RESET";
|
|
116
116
|
var on;
|
|
117
117
|
on = Symbol.toStringTag;
|
|
118
|
-
class
|
|
118
|
+
class xc {
|
|
119
119
|
constructor() {
|
|
120
120
|
A(this, on, "Promise");
|
|
121
121
|
A(this, "_promise");
|
|
@@ -155,8 +155,8 @@ const pm = (t) => ({
|
|
|
155
155
|
coordinates: t
|
|
156
156
|
}), fm = (t, e) => t[0] === e[0] && t[1] === e[1];
|
|
157
157
|
let St = !1;
|
|
158
|
-
const
|
|
159
|
-
["true", "1"].includes(
|
|
158
|
+
const zc = "";
|
|
159
|
+
["true", "1"].includes(zc.toLowerCase()) && (St = !0);
|
|
160
160
|
function Am(t, e) {
|
|
161
161
|
if (t === e) return !0;
|
|
162
162
|
if (typeof t != typeof e)
|
|
@@ -183,15 +183,15 @@ function ym(t, e) {
|
|
|
183
183
|
if (t[s] !== e[s]) return !1;
|
|
184
184
|
return !0;
|
|
185
185
|
}
|
|
186
|
-
const b = (t) => t.length === 0 ?
|
|
186
|
+
const b = (t) => t.length === 0 ? 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
|
-
}),
|
|
191
|
-
const i = Math.round((new Date(t).getTime() - Et.getTime()) /
|
|
192
|
-
return i < e || i > s ?
|
|
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
|
+
const i = Math.round((new Date(t).getTime() - Et.getTime()) / $c);
|
|
192
|
+
return i < e || i > s ? Vc(t) : Uc.format(i, "days");
|
|
193
193
|
});
|
|
194
|
-
function
|
|
194
|
+
function Gc(t) {
|
|
195
195
|
return new Uint8Array(t).reduce((s, i) => s + i.toString(16).padStart(2, "0"), "");
|
|
196
196
|
}
|
|
197
197
|
const Nt = async (t, e) => {
|
|
@@ -211,7 +211,7 @@ function Le(t) {
|
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
213
|
crypto.subtle.digest("SHA-1", n).then((a) => {
|
|
214
|
-
const c =
|
|
214
|
+
const c = Gc(a);
|
|
215
215
|
e(c);
|
|
216
216
|
});
|
|
217
217
|
}, i.readAsArrayBuffer(t);
|
|
@@ -224,7 +224,7 @@ function gm(t) {
|
|
|
224
224
|
}
|
|
225
225
|
return `${t.name}&${t.type}${t.size}`;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Bc(t, e) {
|
|
228
228
|
return new File([t], e, { type: t.type });
|
|
229
229
|
}
|
|
230
230
|
function Tm(t, e) {
|
|
@@ -243,7 +243,7 @@ const Pm = async (t) => {
|
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
245
|
return Object.values(e);
|
|
246
|
-
},
|
|
246
|
+
}, Lc = async (t) => (await fetch(t)).blob(), _m = (t) => new Promise((e, s) => {
|
|
247
247
|
const i = new FileReader();
|
|
248
248
|
i.onloadend = () => {
|
|
249
249
|
var n;
|
|
@@ -252,7 +252,7 @@ const Pm = async (t) => {
|
|
|
252
252
|
});
|
|
253
253
|
function Rm(t) {
|
|
254
254
|
const e = new Blob([t]);
|
|
255
|
-
|
|
255
|
+
Tc(e, t.name);
|
|
256
256
|
}
|
|
257
257
|
const Ht = {};
|
|
258
258
|
function Fm(t, e, s, ...i) {
|
|
@@ -260,11 +260,11 @@ function Fm(t, e, s, ...i) {
|
|
|
260
260
|
let a = !1;
|
|
261
261
|
n ? n[e] || (n[e] = !0, a = !0) : (Ht[t] = { [e]: !0 }, a = !0), a && console[s](...i);
|
|
262
262
|
}
|
|
263
|
-
const
|
|
263
|
+
const Nc = ["created_at", "updated_at", "index", "revision"];
|
|
264
264
|
function R(t) {
|
|
265
265
|
return { ...t, uuid: we() };
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Hc(t) {
|
|
268
268
|
const e = {};
|
|
269
269
|
for (const s of t)
|
|
270
270
|
e[s.uuid] = s;
|
|
@@ -293,7 +293,7 @@ function wm(t, e) {
|
|
|
293
293
|
return s.slice(0, s.lastIndexOf(" ")) + "…";
|
|
294
294
|
}
|
|
295
295
|
const y = (t) => (e) => (s) => t(s, e);
|
|
296
|
-
function
|
|
296
|
+
function Wc(t, e, s) {
|
|
297
297
|
return s.findIndex((i) => i.uuid === t.uuid) === e;
|
|
298
298
|
}
|
|
299
299
|
function Em(t, e, s) {
|
|
@@ -302,7 +302,7 @@ function Em(t, e, s) {
|
|
|
302
302
|
const km = /^.+@.+\..+$/;
|
|
303
303
|
function I(t) {
|
|
304
304
|
const e = { ...t };
|
|
305
|
-
for (const s of [...
|
|
305
|
+
for (const s of [...Nc, "created_by"])
|
|
306
306
|
s in e && delete e[s];
|
|
307
307
|
return e;
|
|
308
308
|
}
|
|
@@ -318,7 +318,7 @@ const Ue = _(
|
|
|
318
318
|
setConversation: Ue.setOne,
|
|
319
319
|
updateConversation: Ue.updateOne
|
|
320
320
|
}
|
|
321
|
-
}), { initializeConversations:
|
|
321
|
+
}), { initializeConversations: Kc, addConversation: Yc, setConversation: Jc, updateConversation: Qc } = fn.actions, An = (t) => t.agentsReducer.instances, qm = m(
|
|
322
322
|
[An],
|
|
323
323
|
(t) => Object.values(t)
|
|
324
324
|
), jm = y(
|
|
@@ -326,7 +326,7 @@ const Ue = _(
|
|
|
326
326
|
[An, (t, e) => e],
|
|
327
327
|
(t, e) => t[e]
|
|
328
328
|
)
|
|
329
|
-
),
|
|
329
|
+
), Xc = fn.reducer, C = _(
|
|
330
330
|
(t) => t.uuid
|
|
331
331
|
), Kt = C.getInitialState({}), yn = T({
|
|
332
332
|
name: "assetAttachments",
|
|
@@ -347,21 +347,21 @@ const Ue = _(
|
|
|
347
347
|
initializeAssetAttachments: Yt,
|
|
348
348
|
addAssetAttachment: Mm,
|
|
349
349
|
addAssetAttachments: bn,
|
|
350
|
-
setAssetAttachment:
|
|
350
|
+
setAssetAttachment: Zc,
|
|
351
351
|
setAssetAttachments: Cm,
|
|
352
352
|
updateAssetAttachment: Dm,
|
|
353
|
-
updateAssetAttachments:
|
|
354
|
-
deleteAssetAttachment:
|
|
353
|
+
updateAssetAttachments: er,
|
|
354
|
+
deleteAssetAttachment: tr,
|
|
355
355
|
deleteAssetAttachments: Sn
|
|
356
|
-
} = yn.actions,
|
|
357
|
-
[
|
|
356
|
+
} = yn.actions, sr = (t) => t.assetAttachmentReducer.instances, ir = m(
|
|
357
|
+
[sr],
|
|
358
358
|
(t) => Object.values(t)
|
|
359
|
-
),
|
|
359
|
+
), nr = (t) => (e) => e.assetAttachmentReducer.instances[t], ar = y(
|
|
360
360
|
m(
|
|
361
|
-
[
|
|
361
|
+
[ir, (t, e) => e],
|
|
362
362
|
(t, e) => b(t.filter(({ asset: s }) => e === s))
|
|
363
363
|
)
|
|
364
|
-
),
|
|
364
|
+
), cr = yn.reducer, D = _((t) => t.uuid), Jt = D.getInitialState({}), gn = T({
|
|
365
365
|
name: "assetProcedureAttachments",
|
|
366
366
|
initialState: Jt,
|
|
367
367
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Jt)),
|
|
@@ -377,29 +377,29 @@ const Ue = _(
|
|
|
377
377
|
deleteAssetProcedureAttachments: D.deleteMany
|
|
378
378
|
}
|
|
379
379
|
}), {
|
|
380
|
-
initializeAssetProcedureAttachments:
|
|
380
|
+
initializeAssetProcedureAttachments: rr,
|
|
381
381
|
addAssetProcedureAttachment: xm,
|
|
382
|
-
addAssetProcedureAttachments:
|
|
383
|
-
setAssetProcedureAttachment:
|
|
382
|
+
addAssetProcedureAttachments: or,
|
|
383
|
+
setAssetProcedureAttachment: dr,
|
|
384
384
|
setAssetProcedureAttachments: zm,
|
|
385
385
|
updateAssetProcedureAttachment: Vm,
|
|
386
|
-
updateAssetProcedureAttachments:
|
|
387
|
-
deleteAssetProcedureAttachment:
|
|
388
|
-
deleteAssetProcedureAttachments:
|
|
389
|
-
} = gn.actions,
|
|
390
|
-
[
|
|
386
|
+
updateAssetProcedureAttachments: ur,
|
|
387
|
+
deleteAssetProcedureAttachment: lr,
|
|
388
|
+
deleteAssetProcedureAttachments: hr
|
|
389
|
+
} = gn.actions, pr = (t) => t.assetProcedureAttachmentReducer.instances, mr = m(
|
|
390
|
+
[pr],
|
|
391
391
|
(t) => Object.values(t)
|
|
392
|
-
),
|
|
392
|
+
), fr = (t) => (e) => e.assetProcedureAttachmentReducer.instances[t], Um = y(
|
|
393
393
|
m(
|
|
394
394
|
[
|
|
395
|
-
|
|
395
|
+
mr,
|
|
396
396
|
(t, e) => e
|
|
397
397
|
],
|
|
398
398
|
(t, e) => b(
|
|
399
399
|
t.filter(({ asset_procedure: s }) => e === s)
|
|
400
400
|
)
|
|
401
401
|
)
|
|
402
|
-
),
|
|
402
|
+
), Ar = gn.reducer, x = _((t) => t.uuid), Qt = x.getInitialState({}), Tn = T({
|
|
403
403
|
name: "assetProcedureFieldsAttachments",
|
|
404
404
|
initialState: Qt,
|
|
405
405
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qt)),
|
|
@@ -415,21 +415,21 @@ const Ue = _(
|
|
|
415
415
|
deleteAssetProcedureFieldsAttachments: x.deleteMany
|
|
416
416
|
}
|
|
417
417
|
}), {
|
|
418
|
-
initializeAssetProcedureFieldsAttachments:
|
|
418
|
+
initializeAssetProcedureFieldsAttachments: yr,
|
|
419
419
|
addAssetProcedureFieldsAttachment: $m,
|
|
420
|
-
addAssetProcedureFieldsAttachments:
|
|
420
|
+
addAssetProcedureFieldsAttachments: br,
|
|
421
421
|
setAssetProcedureFieldsAttachment: Gm,
|
|
422
422
|
setAssetProcedureFieldsAttachments: Bm,
|
|
423
423
|
updateAssetProcedureFieldsAttachment: Lm,
|
|
424
|
-
updateAssetProcedureFieldsAttachments:
|
|
424
|
+
updateAssetProcedureFieldsAttachments: Sr,
|
|
425
425
|
deleteAssetProcedureFieldsAttachment: Nm,
|
|
426
|
-
deleteAssetProcedureFieldsAttachments:
|
|
427
|
-
} = Tn.actions,
|
|
428
|
-
[
|
|
426
|
+
deleteAssetProcedureFieldsAttachments: gr
|
|
427
|
+
} = Tn.actions, Tr = (t) => t.assetProcedureFieldsAttachmentReducer.instances, Pr = m(
|
|
428
|
+
[Tr],
|
|
429
429
|
(t) => Object.values(t)
|
|
430
430
|
), Hm = y(
|
|
431
|
-
m([
|
|
432
|
-
), Wm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t],
|
|
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 = Tn.reducer, z = _(
|
|
433
433
|
(t) => t.uuid
|
|
434
434
|
), Xt = z.getInitialState({}), Pn = T({
|
|
435
435
|
name: "assetProcedureFields",
|
|
@@ -447,23 +447,23 @@ const Ue = _(
|
|
|
447
447
|
deleteAssetProcedureFieldsMany: z.deleteMany
|
|
448
448
|
}
|
|
449
449
|
}), {
|
|
450
|
-
initializeAssetProcedureFields:
|
|
451
|
-
addAssetProcedureFields:
|
|
450
|
+
initializeAssetProcedureFields: Rr,
|
|
451
|
+
addAssetProcedureFields: Fr,
|
|
452
452
|
addAssetProcedureFieldsMany: Km,
|
|
453
453
|
setAssetProcedureFields: Ym,
|
|
454
454
|
setAssetProcedureFieldsMany: Jm,
|
|
455
|
-
updateAssetProcedureFields:
|
|
455
|
+
updateAssetProcedureFields: Or,
|
|
456
456
|
updateAssetProcedureFieldsMany: Qm,
|
|
457
|
-
deleteAssetProcedureFields:
|
|
457
|
+
deleteAssetProcedureFields: Ir,
|
|
458
458
|
deleteAssetProcedureFieldsMany: Xm
|
|
459
|
-
} = Pn.actions,
|
|
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
465
|
m([_n, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
466
|
-
), tf = (t) => (e) => e.assetProcedureFieldsReducer.instances[t],
|
|
466
|
+
), tf = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], wr = Pn.reducer, V = _((t) => t.uuid), Zt = V.getInitialState({}), Rn = T({
|
|
467
467
|
name: "assetProcedureFieldValuesAttachments",
|
|
468
468
|
initialState: Zt,
|
|
469
469
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zt)),
|
|
@@ -479,19 +479,19 @@ const Ue = _(
|
|
|
479
479
|
deleteAssetProcedureFieldValuesAttachments: V.deleteMany
|
|
480
480
|
}
|
|
481
481
|
}), {
|
|
482
|
-
initializeAssetProcedureFieldValuesAttachments:
|
|
482
|
+
initializeAssetProcedureFieldValuesAttachments: Er,
|
|
483
483
|
addAssetProcedureFieldValuesAttachment: sf,
|
|
484
484
|
addAssetProcedureFieldValuesAttachments: gt,
|
|
485
485
|
setAssetProcedureFieldValuesAttachment: nf,
|
|
486
486
|
setAssetProcedureFieldValuesAttachments: af,
|
|
487
487
|
updateAssetProcedureFieldValuesAttachment: cf,
|
|
488
|
-
updateAssetProcedureFieldValuesAttachments:
|
|
488
|
+
updateAssetProcedureFieldValuesAttachments: kr,
|
|
489
489
|
deleteAssetProcedureFieldValuesAttachment: rf,
|
|
490
490
|
deleteAssetProcedureFieldValuesAttachments: Tt
|
|
491
|
-
} = Rn.actions, Fn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances,
|
|
491
|
+
} = Rn.actions, Fn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, qr = m(
|
|
492
492
|
[Fn],
|
|
493
493
|
(t) => Object.values(t)
|
|
494
|
-
), of = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t],
|
|
494
|
+
), of = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], jr = y(
|
|
495
495
|
m(
|
|
496
496
|
[
|
|
497
497
|
Fn,
|
|
@@ -502,12 +502,12 @@ const Ue = _(
|
|
|
502
502
|
return b(Object.values(t).filter((i) => s.has(i.uuid)));
|
|
503
503
|
}
|
|
504
504
|
)
|
|
505
|
-
),
|
|
505
|
+
), Mr = y(
|
|
506
506
|
m(
|
|
507
|
-
[
|
|
507
|
+
[qr, (t, e) => e],
|
|
508
508
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
509
509
|
)
|
|
510
|
-
),
|
|
510
|
+
), Cr = Rn.reducer, U = _((t) => t.uuid), es = U.getInitialState({}), On = T({
|
|
511
511
|
name: "assetProcedureFieldValues",
|
|
512
512
|
initialState: es,
|
|
513
513
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, es)),
|
|
@@ -523,23 +523,23 @@ const Ue = _(
|
|
|
523
523
|
deleteAssetProcedureFieldValuesMany: U.deleteMany
|
|
524
524
|
}
|
|
525
525
|
}), {
|
|
526
|
-
initializeAssetProcedureFieldValues:
|
|
526
|
+
initializeAssetProcedureFieldValues: Dr,
|
|
527
527
|
addAssetProcedureFieldValues: ts,
|
|
528
|
-
addAssetProcedureFieldValuesMany:
|
|
528
|
+
addAssetProcedureFieldValuesMany: xr,
|
|
529
529
|
setAssetProcedureFieldValues: df,
|
|
530
530
|
setAssetProcedureFieldValuesMany: uf,
|
|
531
531
|
updateAssetProcedureFieldValues: Ke,
|
|
532
|
-
updateAssetProcedureFieldValuesMany:
|
|
532
|
+
updateAssetProcedureFieldValuesMany: zr,
|
|
533
533
|
deleteAssetProcedureFieldValues: ss,
|
|
534
|
-
deleteAssetProcedureFieldValuesMany:
|
|
535
|
-
} = On.actions,
|
|
536
|
-
[
|
|
534
|
+
deleteAssetProcedureFieldValuesMany: Vr
|
|
535
|
+
} = On.actions, Ur = (t) => t.assetProcedureFieldValuesReducer.instances, In = m(
|
|
536
|
+
[Ur],
|
|
537
537
|
(t) => Object.values(t)
|
|
538
538
|
), lf = y(
|
|
539
539
|
m([In, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
540
540
|
), hf = y(
|
|
541
541
|
m([In, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
542
|
-
), is = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t],
|
|
542
|
+
), is = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t], $r = On.reducer, $ = _((t) => t.uuid), ns = $.getInitialState({}), vn = T({
|
|
543
543
|
name: "assetProcedureInstances",
|
|
544
544
|
initialState: ns,
|
|
545
545
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ns)),
|
|
@@ -555,19 +555,19 @@ const Ue = _(
|
|
|
555
555
|
deleteAssetProcedureInstances: $.deleteMany
|
|
556
556
|
}
|
|
557
557
|
}), {
|
|
558
|
-
initializeAssetProcedureInstances:
|
|
558
|
+
initializeAssetProcedureInstances: Gr,
|
|
559
559
|
addAssetProcedureInstance: as,
|
|
560
|
-
addAssetProcedureInstances:
|
|
560
|
+
addAssetProcedureInstances: Br,
|
|
561
561
|
updateAssetProcedureInstance: Ye,
|
|
562
562
|
updateAssetProcedureInstances: pf,
|
|
563
563
|
deleteAssetProcedureInstance: cs,
|
|
564
|
-
deleteAssetProcedureInstances:
|
|
564
|
+
deleteAssetProcedureInstances: Lr,
|
|
565
565
|
setAssetProcedureInstance: mf,
|
|
566
566
|
setAssetProcedureInstances: ff
|
|
567
567
|
} = vn.actions, wn = (t) => t.assetProcedureInstanceReducer.instances, En = m(
|
|
568
568
|
[wn],
|
|
569
569
|
(t) => Object.values(t)
|
|
570
|
-
),
|
|
570
|
+
), Nr = y(
|
|
571
571
|
m(
|
|
572
572
|
[En, (t, e) => e],
|
|
573
573
|
(t, e) => b(
|
|
@@ -597,7 +597,7 @@ const Ue = _(
|
|
|
597
597
|
return b(s);
|
|
598
598
|
}
|
|
599
599
|
)
|
|
600
|
-
),
|
|
600
|
+
), Hr = vn.reducer, G = _(
|
|
601
601
|
(t) => t.uuid
|
|
602
602
|
), os = G.getInitialState({}), kn = T({
|
|
603
603
|
name: "assetProcedures",
|
|
@@ -615,7 +615,7 @@ const Ue = _(
|
|
|
615
615
|
deleteAssetProcedures: G.deleteMany
|
|
616
616
|
}
|
|
617
617
|
}), {
|
|
618
|
-
initializeAssetProcedures:
|
|
618
|
+
initializeAssetProcedures: Wr,
|
|
619
619
|
addAssetProcedure: ds,
|
|
620
620
|
addAssetProcedures: bf,
|
|
621
621
|
updateAssetProcedure: Je,
|
|
@@ -624,9 +624,9 @@ const Ue = _(
|
|
|
624
624
|
deleteAssetProcedures: gf,
|
|
625
625
|
setAssetProcedure: Tf,
|
|
626
626
|
setAssetProcedures: Pf
|
|
627
|
-
} = kn.actions, qn = (t) => t.assetProcedureReducer.instances,
|
|
627
|
+
} = kn.actions, qn = (t) => t.assetProcedureReducer.instances, 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
|
)
|
|
@@ -643,7 +643,7 @@ const Ue = _(
|
|
|
643
643
|
return b(s);
|
|
644
644
|
}
|
|
645
645
|
)
|
|
646
|
-
),
|
|
646
|
+
), Yr = kn.reducer, B = _((t) => t.uuid), hs = B.getInitialState(
|
|
647
647
|
{}
|
|
648
648
|
), jn = T({
|
|
649
649
|
name: "assetProcedureStepFieldsAttachments",
|
|
@@ -661,21 +661,21 @@ const Ue = _(
|
|
|
661
661
|
deleteAssetProcedureStepFieldsAttachments: B.deleteMany
|
|
662
662
|
}
|
|
663
663
|
}), {
|
|
664
|
-
initializeAssetProcedureStepFieldsAttachments:
|
|
664
|
+
initializeAssetProcedureStepFieldsAttachments: Jr,
|
|
665
665
|
addAssetProcedureStepFieldsAttachment: Ff,
|
|
666
|
-
addAssetProcedureStepFieldsAttachments:
|
|
666
|
+
addAssetProcedureStepFieldsAttachments: Qr,
|
|
667
667
|
setAssetProcedureStepFieldsAttachment: Of,
|
|
668
668
|
setAssetProcedureStepFieldsAttachments: If,
|
|
669
669
|
updateAssetProcedureStepFieldsAttachment: vf,
|
|
670
|
-
updateAssetProcedureStepFieldsAttachments:
|
|
670
|
+
updateAssetProcedureStepFieldsAttachments: Xr,
|
|
671
671
|
deleteAssetProcedureStepFieldsAttachment: wf,
|
|
672
|
-
deleteAssetProcedureStepFieldsAttachments:
|
|
673
|
-
} = jn.actions,
|
|
674
|
-
[
|
|
672
|
+
deleteAssetProcedureStepFieldsAttachments: Zr
|
|
673
|
+
} = jn.actions, eo = (t) => t.assetProcedureStepFieldsAttachmentReducer.instances, to = m(
|
|
674
|
+
[eo],
|
|
675
675
|
(t) => Object.values(t)
|
|
676
676
|
), Ef = y(
|
|
677
|
-
m([
|
|
678
|
-
), kf = (t) => (e) => e.assetProcedureStepFieldsAttachmentReducer.instances[t],
|
|
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 = jn.reducer, L = _((t) => t.uuid), ps = L.getInitialState({}), Mn = T({
|
|
679
679
|
name: "assetProcedureStepFields",
|
|
680
680
|
initialState: ps,
|
|
681
681
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ps)),
|
|
@@ -691,27 +691,27 @@ const Ue = _(
|
|
|
691
691
|
deleteAssetProcedureStepFieldsMany: L.deleteMany
|
|
692
692
|
}
|
|
693
693
|
}), {
|
|
694
|
-
initializeAssetProcedureStepFields:
|
|
695
|
-
addAssetProcedureStepFields:
|
|
694
|
+
initializeAssetProcedureStepFields: io,
|
|
695
|
+
addAssetProcedureStepFields: no,
|
|
696
696
|
addAssetProcedureStepFieldsMany: qf,
|
|
697
697
|
setAssetProcedureStepFields: jf,
|
|
698
698
|
setAssetProcedureStepFieldsMany: Mf,
|
|
699
|
-
updateAssetProcedureStepFields:
|
|
699
|
+
updateAssetProcedureStepFields: ao,
|
|
700
700
|
updateAssetProcedureStepFieldsMany: Cf,
|
|
701
|
-
deleteAssetProcedureStepFields:
|
|
701
|
+
deleteAssetProcedureStepFields: co,
|
|
702
702
|
deleteAssetProcedureStepFieldsMany: Df
|
|
703
|
-
} = Mn.actions,
|
|
704
|
-
[
|
|
703
|
+
} = Mn.actions, Cn = (t) => t.assetProcedureStepFieldsReducer.instances, Dn = m(
|
|
704
|
+
[Cn],
|
|
705
705
|
(t) => Object.values(t)
|
|
706
706
|
), xf = y(
|
|
707
707
|
m(
|
|
708
|
-
[
|
|
708
|
+
[Dn, (t, e) => e],
|
|
709
709
|
(t, e) => b(t.filter((s) => s.asset_procedure_step === e))
|
|
710
710
|
)
|
|
711
711
|
), zf = y(
|
|
712
|
-
m([
|
|
712
|
+
m([Dn, (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
713
|
), Vf = m(
|
|
714
|
-
[
|
|
714
|
+
[Cn],
|
|
715
715
|
(t) => {
|
|
716
716
|
const e = {};
|
|
717
717
|
for (const s of Object.values(t)) {
|
|
@@ -720,7 +720,7 @@ const Ue = _(
|
|
|
720
720
|
}
|
|
721
721
|
return e;
|
|
722
722
|
}
|
|
723
|
-
), Uf = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t],
|
|
723
|
+
), Uf = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t], ro = Mn.reducer, N = _((t) => t.uuid), ms = N.getInitialState({}), xn = T({
|
|
724
724
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
725
725
|
initialState: ms,
|
|
726
726
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ms)),
|
|
@@ -736,22 +736,22 @@ const Ue = _(
|
|
|
736
736
|
deleteAssetProcedureStepFieldValuesAttachments: N.deleteMany
|
|
737
737
|
}
|
|
738
738
|
}), {
|
|
739
|
-
initializeAssetProcedureStepFieldValuesAttachments:
|
|
739
|
+
initializeAssetProcedureStepFieldValuesAttachments: oo,
|
|
740
740
|
addAssetProcedureStepFieldValuesAttachment: $f,
|
|
741
741
|
addAssetProcedureStepFieldValuesAttachments: Pt,
|
|
742
742
|
setAssetProcedureStepFieldValuesAttachment: Gf,
|
|
743
743
|
setAssetProcedureStepFieldValuesAttachments: Bf,
|
|
744
744
|
updateAssetProcedureStepFieldValuesAttachment: Lf,
|
|
745
|
-
updateAssetProcedureStepFieldValuesAttachments:
|
|
745
|
+
updateAssetProcedureStepFieldValuesAttachments: uo,
|
|
746
746
|
deleteAssetProcedureStepFieldValuesAttachment: Nf,
|
|
747
747
|
deleteAssetProcedureStepFieldValuesAttachments: _t
|
|
748
|
-
} =
|
|
749
|
-
[
|
|
748
|
+
} = xn.actions, zn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, lo = m(
|
|
749
|
+
[zn],
|
|
750
750
|
(t) => Object.values(t)
|
|
751
|
-
), Hf = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t],
|
|
751
|
+
), Hf = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t], ho = y(
|
|
752
752
|
m(
|
|
753
753
|
[
|
|
754
|
-
|
|
754
|
+
zn,
|
|
755
755
|
(t, e) => e
|
|
756
756
|
],
|
|
757
757
|
(t, e) => {
|
|
@@ -759,12 +759,12 @@ const Ue = _(
|
|
|
759
759
|
return b(Object.values(t).filter((i) => s.has(i.uuid)));
|
|
760
760
|
}
|
|
761
761
|
)
|
|
762
|
-
),
|
|
762
|
+
), po = y(
|
|
763
763
|
m(
|
|
764
|
-
[
|
|
764
|
+
[lo, (t, e) => e],
|
|
765
765
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
766
766
|
)
|
|
767
|
-
),
|
|
767
|
+
), mo = xn.reducer, H = _((t) => t.uuid), fs = H.getInitialState({}), Vn = T({
|
|
768
768
|
name: "assetProcedureStepFieldValues",
|
|
769
769
|
initialState: fs,
|
|
770
770
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, fs)),
|
|
@@ -780,42 +780,30 @@ const Ue = _(
|
|
|
780
780
|
deleteAssetProcedureStepFieldValuesMany: H.deleteMany
|
|
781
781
|
}
|
|
782
782
|
}), {
|
|
783
|
-
initializeAssetProcedureStepFieldValues:
|
|
783
|
+
initializeAssetProcedureStepFieldValues: fo,
|
|
784
784
|
addAssetProcedureStepFieldValues: As,
|
|
785
|
-
addAssetProcedureStepFieldValuesMany:
|
|
785
|
+
addAssetProcedureStepFieldValuesMany: Ao,
|
|
786
786
|
setAssetProcedureStepFieldValues: Wf,
|
|
787
787
|
setAssetProcedureStepFieldValuesMany: Kf,
|
|
788
788
|
updateAssetProcedureStepFieldValues: Qe,
|
|
789
|
-
updateAssetProcedureStepFieldValuesMany:
|
|
789
|
+
updateAssetProcedureStepFieldValuesMany: yo,
|
|
790
790
|
deleteAssetProcedureStepFieldValues: ys,
|
|
791
|
-
deleteAssetProcedureStepFieldValuesMany:
|
|
792
|
-
} =
|
|
793
|
-
[
|
|
791
|
+
deleteAssetProcedureStepFieldValuesMany: bo
|
|
792
|
+
} = Vn.actions, So = (t) => t.assetProcedureStepFieldValuesReducer.instances, kt = m(
|
|
793
|
+
[So],
|
|
794
794
|
(t) => Object.values(t)
|
|
795
795
|
), Yf = y(
|
|
796
796
|
m(
|
|
797
|
-
[
|
|
797
|
+
[kt, (t, e) => e],
|
|
798
798
|
(t, e) => b(t.filter((s) => s.asset === e))
|
|
799
799
|
)
|
|
800
800
|
), Jf = y(
|
|
801
|
-
m([
|
|
801
|
+
m([kt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
802
802
|
), Qf = y(
|
|
803
|
-
m(
|
|
804
|
-
|
|
805
|
-
Vn,
|
|
806
|
-
kt,
|
|
807
|
-
(t, e) => e
|
|
808
|
-
],
|
|
809
|
-
(t, e, s) => {
|
|
810
|
-
const i = /* @__PURE__ */ new Set();
|
|
811
|
-
for (const n of Object.values(e))
|
|
812
|
-
n.asset_procedure_step === s && i.add(n.uuid);
|
|
813
|
-
return Object.values(t).filter((n) => i.has(n.fields_revision));
|
|
814
|
-
}
|
|
815
|
-
)
|
|
816
|
-
), bs = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t], go = zn.reducer, W = _(
|
|
803
|
+
m([kt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_step === e)))
|
|
804
|
+
), bs = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t], go = Vn.reducer, W = _(
|
|
817
805
|
(t) => t.uuid
|
|
818
|
-
), Ss = W.getInitialState({}),
|
|
806
|
+
), Ss = W.getInitialState({}), Un = T({
|
|
819
807
|
name: "assetProcedureSteps",
|
|
820
808
|
initialState: Ss,
|
|
821
809
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ss)),
|
|
@@ -840,7 +828,7 @@ const Ue = _(
|
|
|
840
828
|
updateAssetProcedureSteps: lt,
|
|
841
829
|
deleteAssetProcedureStep: eA,
|
|
842
830
|
deleteAssetProcedureSteps: Ps
|
|
843
|
-
} =
|
|
831
|
+
} = Un.actions, _o = Un.reducer, qt = (t) => t.assetProcedureStepReducer.instances, Ro = (t) => (e) => e.assetProcedureStepReducer.instances[t], Fo = m([qt], (t) => Object.values(t)), tA = y(
|
|
844
832
|
m([qt, (t, e) => e], (t, e) => {
|
|
845
833
|
const s = {};
|
|
846
834
|
for (const [i, n] of Object.entries(t))
|
|
@@ -861,7 +849,7 @@ const Ue = _(
|
|
|
861
849
|
return b(s);
|
|
862
850
|
}
|
|
863
851
|
)
|
|
864
|
-
), K = _((t) => t.uuid), Rs = K.getInitialState({}),
|
|
852
|
+
), K = _((t) => t.uuid), Rs = K.getInitialState({}), $n = T({
|
|
865
853
|
name: "assets",
|
|
866
854
|
initialState: Rs,
|
|
867
855
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Rs)),
|
|
@@ -879,17 +867,17 @@ const Ue = _(
|
|
|
879
867
|
}), {
|
|
880
868
|
initializeAssets: Oo,
|
|
881
869
|
addAsset: Fs,
|
|
882
|
-
addAssets:
|
|
870
|
+
addAssets: Gn,
|
|
883
871
|
updateAsset: Xe,
|
|
884
872
|
updateAssets: iA,
|
|
885
873
|
deleteAsset: Os,
|
|
886
874
|
deleteAssets: Io,
|
|
887
875
|
setAsset: nA,
|
|
888
876
|
setAssets: aA
|
|
889
|
-
} =
|
|
877
|
+
} = $n.actions, Bn = (t) => t.assetReducer.instances, vo = m([Bn], (t) => b(Object.values(t))), Ln = y(
|
|
890
878
|
m([vo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
891
879
|
), Is = (t) => (e) => e.assetReducer.instances[t], cA = y(
|
|
892
|
-
m([
|
|
880
|
+
m([Bn, (t, e) => e], (t, e) => {
|
|
893
881
|
const s = [];
|
|
894
882
|
for (const i of e) {
|
|
895
883
|
const n = t[i];
|
|
@@ -897,9 +885,9 @@ const Ue = _(
|
|
|
897
885
|
}
|
|
898
886
|
return b(s);
|
|
899
887
|
})
|
|
900
|
-
), rA = (t) => (e) =>
|
|
888
|
+
), rA = (t) => (e) => Ln(t)(e).length, wo = $n.reducer, Se = _(
|
|
901
889
|
(t) => t.uuid
|
|
902
|
-
), vs = Se.getInitialState({}),
|
|
890
|
+
), vs = Se.getInitialState({}), Nn = T({
|
|
903
891
|
name: "assetStageCompletions",
|
|
904
892
|
initialState: vs,
|
|
905
893
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, vs)),
|
|
@@ -920,12 +908,12 @@ const Ue = _(
|
|
|
920
908
|
updateAssetStageCompletions: qo,
|
|
921
909
|
deleteAssetStageCompletion: ks,
|
|
922
910
|
deleteAssetStageCompletions: qs
|
|
923
|
-
} =
|
|
924
|
-
[
|
|
911
|
+
} = Nn.actions, jo = Nn.reducer, Hn = (t) => t.assetStageCompletionReducer.instances, oA = m(
|
|
912
|
+
[Hn],
|
|
925
913
|
(t) => Object.values(t)
|
|
926
914
|
), Mo = (t) => (e) => e.assetStageCompletionReducer.instances[t], Co = y(
|
|
927
915
|
m(
|
|
928
|
-
[
|
|
916
|
+
[Hn, (t, e) => e],
|
|
929
917
|
(t, e) => {
|
|
930
918
|
const s = new Set(e);
|
|
931
919
|
return b(
|
|
@@ -935,7 +923,7 @@ const Ue = _(
|
|
|
935
923
|
);
|
|
936
924
|
}
|
|
937
925
|
)
|
|
938
|
-
), Y = _((t) => t.uuid), js = Y.getInitialState({}),
|
|
926
|
+
), Y = _((t) => t.uuid), js = Y.getInitialState({}), Wn = T({
|
|
939
927
|
name: "assetStages",
|
|
940
928
|
initialState: js,
|
|
941
929
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, js)),
|
|
@@ -960,7 +948,7 @@ const Ue = _(
|
|
|
960
948
|
updateAssetStages: ht,
|
|
961
949
|
deleteAssetStage: lA,
|
|
962
950
|
deleteAssetStages: Ds
|
|
963
|
-
} =
|
|
951
|
+
} = Wn.actions, zo = Wn.reducer, jt = (t) => t.assetStageReducer.instances, Vo = (t) => (e) => e.assetStageReducer.instances[t], Uo = m([jt], (t) => Object.values(t)), hA = y(
|
|
964
952
|
m([jt, (t, e) => e], (t, e) => {
|
|
965
953
|
const s = {};
|
|
966
954
|
for (const [i, n] of Object.entries(t))
|
|
@@ -980,7 +968,7 @@ const Ue = _(
|
|
|
980
968
|
})
|
|
981
969
|
), J = _(
|
|
982
970
|
(t) => t.uuid
|
|
983
|
-
), zs = J.getInitialState({}),
|
|
971
|
+
), zs = J.getInitialState({}), Kn = T({
|
|
984
972
|
name: "assetTypeAttachments",
|
|
985
973
|
initialState: zs,
|
|
986
974
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, zs)),
|
|
@@ -998,14 +986,14 @@ const Ue = _(
|
|
|
998
986
|
}), {
|
|
999
987
|
initializeAssetTypeAttachments: $o,
|
|
1000
988
|
addAssetTypeAttachment: mA,
|
|
1001
|
-
addAssetTypeAttachments:
|
|
989
|
+
addAssetTypeAttachments: Yn,
|
|
1002
990
|
setAssetTypeAttachment: Go,
|
|
1003
991
|
setAssetTypeAttachments: fA,
|
|
1004
992
|
updateAssetTypeAttachment: AA,
|
|
1005
993
|
updateAssetTypeAttachments: Bo,
|
|
1006
994
|
deleteAssetTypeAttachment: Lo,
|
|
1007
|
-
deleteAssetTypeAttachments:
|
|
1008
|
-
} =
|
|
995
|
+
deleteAssetTypeAttachments: Jn
|
|
996
|
+
} = Kn.actions, No = (t) => t.assetTypeAttachmentReducer.instances, Ho = m(
|
|
1009
997
|
[No],
|
|
1010
998
|
(t) => Object.values(t)
|
|
1011
999
|
), Wo = (t) => (e) => e.assetTypeAttachmentReducer.instances[t], Ko = y(
|
|
@@ -1013,7 +1001,7 @@ const Ue = _(
|
|
|
1013
1001
|
[Ho, (t, e) => e],
|
|
1014
1002
|
(t, e) => b(t.filter(({ asset_type: s }) => e === s))
|
|
1015
1003
|
)
|
|
1016
|
-
), Yo =
|
|
1004
|
+
), Yo = Kn.reducer, Q = _((t) => t.uuid), Vs = Q.getInitialState({}), Qn = T({
|
|
1017
1005
|
name: "assetTypeFieldsAttachments",
|
|
1018
1006
|
initialState: Vs,
|
|
1019
1007
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Vs)),
|
|
@@ -1038,14 +1026,14 @@ const Ue = _(
|
|
|
1038
1026
|
updateAssetTypeFieldsAttachments: Xo,
|
|
1039
1027
|
deleteAssetTypeFieldsAttachment: TA,
|
|
1040
1028
|
deleteAssetTypeFieldsAttachments: Zo
|
|
1041
|
-
} =
|
|
1029
|
+
} = Qn.actions, ed = (t) => t.assetTypeFieldsAttachmentReducer.instances, td = m(
|
|
1042
1030
|
[ed],
|
|
1043
1031
|
(t) => Object.values(t)
|
|
1044
1032
|
), PA = y(
|
|
1045
1033
|
m([td, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
1046
|
-
), _A = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], sd =
|
|
1034
|
+
), _A = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], sd = Qn.reducer, X = _(
|
|
1047
1035
|
(t) => t.uuid
|
|
1048
|
-
), Us = X.getInitialState({}),
|
|
1036
|
+
), Us = X.getInitialState({}), Xn = T({
|
|
1049
1037
|
name: "assetTypeFields",
|
|
1050
1038
|
initialState: Us,
|
|
1051
1039
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Us)),
|
|
@@ -1070,11 +1058,11 @@ const Ue = _(
|
|
|
1070
1058
|
updateAssetTypeFieldsMany: IA,
|
|
1071
1059
|
deleteAssetTypeFields: cd,
|
|
1072
1060
|
deleteAssetTypeFieldsMany: vA
|
|
1073
|
-
} =
|
|
1061
|
+
} = Xn.actions, rd = (t) => t.assetTypeFieldsReducer.instances, Mt = m([rd], (t) => Object.values(t)), wA = y(
|
|
1074
1062
|
m([Mt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
1075
1063
|
), EA = y(
|
|
1076
1064
|
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])
|
|
1077
|
-
), kA = (t) => (e) => e.assetTypeFieldsReducer.instances[t], od =
|
|
1065
|
+
), kA = (t) => (e) => e.assetTypeFieldsReducer.instances[t], od = Xn.reducer, Z = _((t) => t.uuid), $s = Z.getInitialState({}), Zn = T({
|
|
1078
1066
|
name: "assetTypeFieldValuesAttachments",
|
|
1079
1067
|
initialState: $s,
|
|
1080
1068
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, $s)),
|
|
@@ -1099,13 +1087,13 @@ const Ue = _(
|
|
|
1099
1087
|
updateAssetTypeFieldValuesAttachments: ud,
|
|
1100
1088
|
deleteAssetTypeFieldValuesAttachment: DA,
|
|
1101
1089
|
deleteAssetTypeFieldValuesAttachments: Ft
|
|
1102
|
-
} =
|
|
1103
|
-
[
|
|
1090
|
+
} = Zn.actions, ea = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, ld = m(
|
|
1091
|
+
[ea],
|
|
1104
1092
|
(t) => Object.values(t)
|
|
1105
1093
|
), xA = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], hd = y(
|
|
1106
1094
|
m(
|
|
1107
1095
|
[
|
|
1108
|
-
|
|
1096
|
+
ea,
|
|
1109
1097
|
(t, e) => e
|
|
1110
1098
|
],
|
|
1111
1099
|
(t, e) => {
|
|
@@ -1117,9 +1105,9 @@ const Ue = _(
|
|
|
1117
1105
|
)
|
|
1118
1106
|
), pd = y(
|
|
1119
1107
|
m([ld, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
|
|
1120
|
-
), md =
|
|
1108
|
+
), md = Zn.reducer, ee = _(
|
|
1121
1109
|
(t) => t.uuid
|
|
1122
|
-
), Gs = ee.getInitialState({}),
|
|
1110
|
+
), Gs = ee.getInitialState({}), ta = T({
|
|
1123
1111
|
name: "assetTypeFieldValues",
|
|
1124
1112
|
initialState: Gs,
|
|
1125
1113
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Gs)),
|
|
@@ -1144,11 +1132,11 @@ const Ue = _(
|
|
|
1144
1132
|
updateAssetTypeFieldValuesMany: yd,
|
|
1145
1133
|
deleteAssetTypeFieldValues: Ls,
|
|
1146
1134
|
deleteAssetTypeFieldValuesMany: bd
|
|
1147
|
-
} =
|
|
1148
|
-
m([
|
|
1135
|
+
} = ta.actions, Sd = (t) => t.assetTypeFieldValuesReducer.instances, sa = m([Sd], (t) => Object.values(t)), UA = y(
|
|
1136
|
+
m([sa, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
1149
1137
|
), $A = y(
|
|
1150
1138
|
m(
|
|
1151
|
-
[Mt,
|
|
1139
|
+
[Mt, sa, (t, e) => e],
|
|
1152
1140
|
(t, e, s) => {
|
|
1153
1141
|
const i = new Set(
|
|
1154
1142
|
t.filter((n) => n.asset_type === s).map((n) => n.uuid)
|
|
@@ -1156,7 +1144,7 @@ const Ue = _(
|
|
|
1156
1144
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1157
1145
|
}
|
|
1158
1146
|
)
|
|
1159
|
-
), Ns = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], gd =
|
|
1147
|
+
), Ns = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], gd = ta.reducer, te = _((t) => t.uuid), Hs = te.getInitialState({}), ia = T({
|
|
1160
1148
|
name: "assetTypes",
|
|
1161
1149
|
initialState: Hs,
|
|
1162
1150
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Hs)),
|
|
@@ -1181,12 +1169,12 @@ const Ue = _(
|
|
|
1181
1169
|
updateAssetTypes: NA,
|
|
1182
1170
|
deleteAssetType: Ks,
|
|
1183
1171
|
deleteAssetTypes: HA
|
|
1184
|
-
} =
|
|
1185
|
-
[
|
|
1172
|
+
} = ia.actions, na = (t) => t.assetTypeReducer.instances, WA = m(
|
|
1173
|
+
[na],
|
|
1186
1174
|
(t) => Object.values(t)
|
|
1187
1175
|
), Ys = (t) => (e) => e.assetTypeReducer.instances[t], KA = y(
|
|
1188
1176
|
m(
|
|
1189
|
-
[
|
|
1177
|
+
[na, (t, e) => e],
|
|
1190
1178
|
(t, e) => {
|
|
1191
1179
|
const s = [];
|
|
1192
1180
|
for (const i of e) {
|
|
@@ -1196,7 +1184,7 @@ const Ue = _(
|
|
|
1196
1184
|
return b(s);
|
|
1197
1185
|
}
|
|
1198
1186
|
)
|
|
1199
|
-
), Pd =
|
|
1187
|
+
), Pd = ia.reducer, Js = {
|
|
1200
1188
|
accessToken: "",
|
|
1201
1189
|
refreshToken: "",
|
|
1202
1190
|
isLoggedIn: !1
|
|
@@ -1215,7 +1203,7 @@ const Ue = _(
|
|
|
1215
1203
|
e.payload || Ct.caseReducers.clearTokens(t), t.isLoggedIn = e.payload;
|
|
1216
1204
|
}
|
|
1217
1205
|
}
|
|
1218
|
-
}), { setTokens: YA, clearTokens: JA, setLoggedIn: _d } = Ct.actions, QA = (t) => t.authReducer.accessToken, XA = (t) => t.authReducer.isLoggedIn, Rd = Ct.reducer, $e = _((t) => t.uuid), Qs = $e.getInitialState({}),
|
|
1206
|
+
}), { setTokens: YA, clearTokens: JA, setLoggedIn: _d } = Ct.actions, QA = (t) => t.authReducer.accessToken, XA = (t) => t.authReducer.isLoggedIn, Rd = Ct.reducer, $e = _((t) => t.uuid), Qs = $e.getInitialState({}), aa = T({
|
|
1219
1207
|
name: "categories",
|
|
1220
1208
|
initialState: Qs,
|
|
1221
1209
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qs)),
|
|
@@ -1225,9 +1213,9 @@ const Ue = _(
|
|
|
1225
1213
|
updateCategory: $e.updateOne,
|
|
1226
1214
|
deleteCategory: $e.deleteOne
|
|
1227
1215
|
}
|
|
1228
|
-
}), { initializeCategories: Fd, addCategory: Xs, updateCategory: Od, deleteCategory: Id } =
|
|
1216
|
+
}), { initializeCategories: Fd, addCategory: Xs, updateCategory: Od, deleteCategory: Id } = aa.actions, ca = (t) => t.categoryReducer.instances, ZA = m([ca], (t) => Object.values(t)), Zs = (t) => (e) => e.categoryReducer.instances[t], ey = y(
|
|
1229
1217
|
m(
|
|
1230
|
-
[
|
|
1218
|
+
[ca, (t, e) => e],
|
|
1231
1219
|
(t, e) => {
|
|
1232
1220
|
const s = [];
|
|
1233
1221
|
for (const i of e) {
|
|
@@ -1237,9 +1225,9 @@ const Ue = _(
|
|
|
1237
1225
|
return b(s);
|
|
1238
1226
|
}
|
|
1239
1227
|
)
|
|
1240
|
-
), ty = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, vd =
|
|
1228
|
+
), ty = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, vd = aa.reducer, se = _(
|
|
1241
1229
|
(t) => t.uuid
|
|
1242
|
-
), ei = se.getInitialState({}),
|
|
1230
|
+
), ei = se.getInitialState({}), ra = T({
|
|
1243
1231
|
name: "documentAttachments",
|
|
1244
1232
|
initialState: ei,
|
|
1245
1233
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ei)),
|
|
@@ -1264,7 +1252,7 @@ const Ue = _(
|
|
|
1264
1252
|
updateDocumentAttachments: qd,
|
|
1265
1253
|
deleteDocumentAttachment: jd,
|
|
1266
1254
|
deleteDocumentAttachments: Md
|
|
1267
|
-
} =
|
|
1255
|
+
} = ra.actions, Cd = (t) => t.documentAttachmentReducer.instances, Dd = m(
|
|
1268
1256
|
[Cd],
|
|
1269
1257
|
(t) => Object.values(t)
|
|
1270
1258
|
), xd = (t) => (e) => e.documentAttachmentReducer.instances[t], ay = y(
|
|
@@ -1272,9 +1260,9 @@ const Ue = _(
|
|
|
1272
1260
|
[Dd, (t, e) => e],
|
|
1273
1261
|
(t, e) => b(t.filter(({ document: s }) => e === s))
|
|
1274
1262
|
)
|
|
1275
|
-
), zd =
|
|
1263
|
+
), zd = ra.reducer, ti = {
|
|
1276
1264
|
documents: {}
|
|
1277
|
-
},
|
|
1265
|
+
}, oa = T({
|
|
1278
1266
|
name: "documents",
|
|
1279
1267
|
initialState: ti,
|
|
1280
1268
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -1282,9 +1270,9 @@ const Ue = _(
|
|
|
1282
1270
|
}),
|
|
1283
1271
|
reducers: {
|
|
1284
1272
|
setDocuments: (t, e) => {
|
|
1285
|
-
if (e.payload.filter(
|
|
1273
|
+
if (e.payload.filter(Wc).length !== e.payload.length)
|
|
1286
1274
|
throw new Error("Tried to use setIssues reducer with duplicate ID's");
|
|
1287
|
-
t.documents =
|
|
1275
|
+
t.documents = Hc(e.payload);
|
|
1288
1276
|
},
|
|
1289
1277
|
addDocuments: (t, e) => {
|
|
1290
1278
|
for (const s of e.payload)
|
|
@@ -1398,7 +1386,7 @@ const Ue = _(
|
|
|
1398
1386
|
}
|
|
1399
1387
|
}
|
|
1400
1388
|
}
|
|
1401
|
-
}), { setDocuments: Vd, addDocuments: Ud, updateDocuments: _e, moveDocument: $d, removeDocuments: si } =
|
|
1389
|
+
}), { setDocuments: Vd, addDocuments: Ud, updateDocuments: _e, moveDocument: $d, removeDocuments: si } = oa.actions, Ne = (t) => t.documentsReducer.documents, Gd = m(
|
|
1402
1390
|
[Ne],
|
|
1403
1391
|
(t) => Object.values(t)
|
|
1404
1392
|
), Bd = (t) => (e) => e.documentsReducer.documents[t], cy = y(
|
|
@@ -1428,9 +1416,9 @@ const Ue = _(
|
|
|
1428
1416
|
), oy = m(
|
|
1429
1417
|
[Gd],
|
|
1430
1418
|
(t) => b(t.filter((e) => !e.parent_document))
|
|
1431
|
-
), Ld =
|
|
1419
|
+
), Ld = oa.reducer, ct = _(
|
|
1432
1420
|
(t) => t.uuid
|
|
1433
|
-
), Nd = ct.getInitialState({}),
|
|
1421
|
+
), Nd = ct.getInitialState({}), da = T({
|
|
1434
1422
|
name: "emailDomains",
|
|
1435
1423
|
initialState: Nd,
|
|
1436
1424
|
reducers: {
|
|
@@ -1438,16 +1426,16 @@ const Ue = _(
|
|
|
1438
1426
|
addEmailDomain: ct.addOne,
|
|
1439
1427
|
deleteEmailDomain: ct.deleteOne
|
|
1440
1428
|
}
|
|
1441
|
-
}), { initializeEmailDomains: Hd, addEmailDomain: Wd, deleteEmailDomain: Kd } =
|
|
1429
|
+
}), { initializeEmailDomains: Hd, addEmailDomain: Wd, deleteEmailDomain: Kd } = da.actions, Yd = (t) => t.emailDomainsReducer.instances, Jd = m([Yd], (t) => Object.values(t)), dy = y(
|
|
1442
1430
|
m(
|
|
1443
1431
|
[Jd, (t, e) => e],
|
|
1444
1432
|
(t, e) => b(
|
|
1445
1433
|
t.filter((s) => s.organization === e)
|
|
1446
1434
|
)
|
|
1447
1435
|
)
|
|
1448
|
-
), Qd =
|
|
1436
|
+
), Qd = da.reducer, ii = {
|
|
1449
1437
|
s3Urls: {}
|
|
1450
|
-
},
|
|
1438
|
+
}, ua = 1e3 * 60 * 60, Xd = ua * 24 * 7, la = T({
|
|
1451
1439
|
name: "file",
|
|
1452
1440
|
initialState: ii,
|
|
1453
1441
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ii)),
|
|
@@ -1461,14 +1449,14 @@ const Ue = _(
|
|
|
1461
1449
|
};
|
|
1462
1450
|
}
|
|
1463
1451
|
}
|
|
1464
|
-
}), { setUploadUrl: Zd } =
|
|
1452
|
+
}), { setUploadUrl: Zd } = la.actions, eu = (t) => (e) => {
|
|
1465
1453
|
const s = e.fileReducer.s3Urls[t];
|
|
1466
1454
|
if (!s)
|
|
1467
1455
|
return;
|
|
1468
1456
|
const i = (/* @__PURE__ */ new Date()).getTime();
|
|
1469
|
-
if (!((s.exp ?? i) - i <
|
|
1457
|
+
if (!((s.exp ?? i) - i < ua))
|
|
1470
1458
|
return s;
|
|
1471
|
-
}, tu =
|
|
1459
|
+
}, tu = la.reducer, ie = _((t) => t.uuid), ni = ie.getInitialState({}), ha = T({
|
|
1472
1460
|
name: "formRevisionAttachments",
|
|
1473
1461
|
initialState: ni,
|
|
1474
1462
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ni)),
|
|
@@ -1493,17 +1481,17 @@ const Ue = _(
|
|
|
1493
1481
|
updateFormRevisionAttachments: nu,
|
|
1494
1482
|
deleteFormRevisionAttachment: my,
|
|
1495
1483
|
deleteFormRevisionAttachments: au
|
|
1496
|
-
} =
|
|
1484
|
+
} = ha.actions, cu = (t) => t.formRevisionAttachmentReducer.instances, fy = y(
|
|
1497
1485
|
m(
|
|
1498
1486
|
[cu, (t, e) => e],
|
|
1499
1487
|
(t, e) => b(
|
|
1500
1488
|
Object.values(t).filter((s) => s.form_revision === e)
|
|
1501
1489
|
)
|
|
1502
1490
|
)
|
|
1503
|
-
), ru =
|
|
1491
|
+
), ru = ha.reducer, ou = (t, e) => {
|
|
1504
1492
|
const s = t.revision, i = e.revision;
|
|
1505
1493
|
return s === void 0 && i === void 0 ? t.submitted_at < e.submitted_at ? -1 : 1 : s === void 0 ? 1 : i === void 0 || s < i ? -1 : 1;
|
|
1506
|
-
}, Re = _((t) => t.uuid), ai = Re.getInitialState({}),
|
|
1494
|
+
}, Re = _((t) => t.uuid), ai = Re.getInitialState({}), pa = T({
|
|
1507
1495
|
name: "formRevisions",
|
|
1508
1496
|
initialState: ai,
|
|
1509
1497
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ai)),
|
|
@@ -1518,11 +1506,11 @@ const Ue = _(
|
|
|
1518
1506
|
}), {
|
|
1519
1507
|
setFormRevision: du,
|
|
1520
1508
|
initializeFormRevisions: uu,
|
|
1521
|
-
addFormRevision:
|
|
1509
|
+
addFormRevision: ma,
|
|
1522
1510
|
addFormRevisions: lu,
|
|
1523
|
-
deleteFormRevision:
|
|
1511
|
+
deleteFormRevision: fa,
|
|
1524
1512
|
deleteFormRevisions: hu
|
|
1525
|
-
} =
|
|
1513
|
+
} = pa.actions, Dt = (t) => t.formRevisionReducer.instances, pu = m(
|
|
1526
1514
|
[Dt],
|
|
1527
1515
|
(t) => Object.values(t)
|
|
1528
1516
|
), Ay = (t) => (e) => e.formRevisionReducer.instances[t], yy = y(
|
|
@@ -1540,7 +1528,7 @@ const Ue = _(
|
|
|
1540
1528
|
[pu, (t, e) => e],
|
|
1541
1529
|
(t, e) => b(t.filter((s) => s.form === e))
|
|
1542
1530
|
)
|
|
1543
|
-
), fu =
|
|
1531
|
+
), fu = pa.reducer, Fe = _((t) => t.uuid), ci = Fe.getInitialState({}), Aa = T({
|
|
1544
1532
|
name: "forms",
|
|
1545
1533
|
initialState: ci,
|
|
1546
1534
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ci)),
|
|
@@ -1552,7 +1540,7 @@ const Ue = _(
|
|
|
1552
1540
|
updateForm: Fe.updateOne,
|
|
1553
1541
|
deleteForm: Fe.deleteOne
|
|
1554
1542
|
}
|
|
1555
|
-
}), { initializeForms: Au, setForm: by, addForm: ri, addForms: Sy, updateForm: gy, deleteForm: oi } =
|
|
1543
|
+
}), { initializeForms: Au, setForm: by, addForm: ri, addForms: Sy, updateForm: gy, deleteForm: oi } = Aa.actions, yu = Aa.reducer, bu = (t) => t.formReducer.instances, Ty = m([bu], (t) => Object.values(t)), Su = (t) => (e) => e.formReducer.instances[t], ne = _((t) => t.uuid), di = ne.getInitialState({}), ya = T({
|
|
1556
1544
|
name: "formSubmissionAttachments",
|
|
1557
1545
|
initialState: di,
|
|
1558
1546
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, di)),
|
|
@@ -1577,10 +1565,10 @@ const Ue = _(
|
|
|
1577
1565
|
updateFormSubmissionAttachments: Tu,
|
|
1578
1566
|
deleteFormSubmissionAttachment: Oy,
|
|
1579
1567
|
deleteFormSubmissionAttachments: It
|
|
1580
|
-
} =
|
|
1568
|
+
} = ya.actions, ba = (t) => t.formSubmissionAttachmentReducer.instances, Pu = y(
|
|
1581
1569
|
m(
|
|
1582
1570
|
[
|
|
1583
|
-
|
|
1571
|
+
ba,
|
|
1584
1572
|
(t, e) => e
|
|
1585
1573
|
],
|
|
1586
1574
|
(t, e) => {
|
|
@@ -1592,14 +1580,14 @@ const Ue = _(
|
|
|
1592
1580
|
)
|
|
1593
1581
|
), _u = y(
|
|
1594
1582
|
m(
|
|
1595
|
-
[
|
|
1583
|
+
[ba, (t, e) => e],
|
|
1596
1584
|
(t, e) => b(
|
|
1597
1585
|
Object.values(t).filter((s) => s.form_submission === e)
|
|
1598
1586
|
)
|
|
1599
1587
|
)
|
|
1600
|
-
), Ru =
|
|
1588
|
+
), Ru = ya.reducer, ae = _(
|
|
1601
1589
|
(t) => t.uuid
|
|
1602
|
-
), ui = ae.getInitialState({}),
|
|
1590
|
+
), ui = ae.getInitialState({}), Sa = T({
|
|
1603
1591
|
name: "formSubmissions",
|
|
1604
1592
|
initialState: ui,
|
|
1605
1593
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ui)),
|
|
@@ -1624,13 +1612,13 @@ const Ue = _(
|
|
|
1624
1612
|
updateFormSubmissions: vy,
|
|
1625
1613
|
deleteFormSubmission: hi,
|
|
1626
1614
|
deleteFormSubmissions: zt
|
|
1627
|
-
} =
|
|
1628
|
-
[
|
|
1615
|
+
} = Sa.actions, ga = (t) => t.formSubmissionReducer.instances, Ta = m(
|
|
1616
|
+
[ga],
|
|
1629
1617
|
(t) => Object.values(t)
|
|
1630
1618
|
), pi = (t) => (e) => e.formSubmissionReducer.instances[t], Iu = y(
|
|
1631
1619
|
m(
|
|
1632
1620
|
[
|
|
1633
|
-
|
|
1621
|
+
ga,
|
|
1634
1622
|
Dt,
|
|
1635
1623
|
(t, e) => e
|
|
1636
1624
|
],
|
|
@@ -1645,15 +1633,15 @@ const Ue = _(
|
|
|
1645
1633
|
)
|
|
1646
1634
|
), vu = y(
|
|
1647
1635
|
m(
|
|
1648
|
-
[
|
|
1636
|
+
[Ta, (t, e) => e],
|
|
1649
1637
|
(t, e) => Object.values(t).filter((s) => s.issue === e)
|
|
1650
1638
|
)
|
|
1651
1639
|
), wu = y(
|
|
1652
1640
|
m(
|
|
1653
|
-
[
|
|
1641
|
+
[Ta, (t, e) => e],
|
|
1654
1642
|
(t, e) => t.filter((s) => s.asset === e)
|
|
1655
1643
|
)
|
|
1656
|
-
), Eu =
|
|
1644
|
+
), Eu = Sa.reducer, ce = _((t) => t.uuid), mi = ce.getInitialState({}), Pa = T({
|
|
1657
1645
|
name: "geoImages",
|
|
1658
1646
|
initialState: mi,
|
|
1659
1647
|
extraReducers: (t) => {
|
|
@@ -1682,11 +1670,11 @@ const Ue = _(
|
|
|
1682
1670
|
updateGeoImages: wy,
|
|
1683
1671
|
deleteGeoImage: fi,
|
|
1684
1672
|
deleteGeoImages: Du
|
|
1685
|
-
} =
|
|
1673
|
+
} = Pa.actions, xu = (t) => t.geoImageReducer.instances, zu = m([xu], (t) => Object.values(t)), Ai = (t) => (e) => e.geoImageReducer.instances[t], Ey = y(
|
|
1686
1674
|
m([zu, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
|
|
1687
|
-
), Vu =
|
|
1675
|
+
), Vu = Pa.reducer, re = _(
|
|
1688
1676
|
(t) => t.uuid
|
|
1689
|
-
), yi = re.getInitialState({}),
|
|
1677
|
+
), yi = re.getInitialState({}), _a = T({
|
|
1690
1678
|
name: "issueAssociations",
|
|
1691
1679
|
initialState: yi,
|
|
1692
1680
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, yi)),
|
|
@@ -1708,10 +1696,10 @@ const Ue = _(
|
|
|
1708
1696
|
updateIssueAssociation: $u,
|
|
1709
1697
|
updateIssueAssociations: jy,
|
|
1710
1698
|
addIssueAssociation: bi,
|
|
1711
|
-
addIssueAssociations:
|
|
1699
|
+
addIssueAssociations: Ra,
|
|
1712
1700
|
deleteIssueAssociation: Si,
|
|
1713
|
-
deleteIssueAssociations:
|
|
1714
|
-
} =
|
|
1701
|
+
deleteIssueAssociations: Fa
|
|
1702
|
+
} = _a.actions, ut = (t) => t.issueAssociationReducer.instances, My = m([ut], (t) => Object.values(t)), Gu = (t) => (e) => e.issueAssociationReducer.instances[t], Bu = y(
|
|
1715
1703
|
m(
|
|
1716
1704
|
[ut, (t, e) => e],
|
|
1717
1705
|
(t, e) => b(
|
|
@@ -1728,9 +1716,9 @@ const Ue = _(
|
|
|
1728
1716
|
[ut, (t, e) => e],
|
|
1729
1717
|
(t, e) => b(Object.values(t).filter((s) => s.asset === e))
|
|
1730
1718
|
)
|
|
1731
|
-
), Hu =
|
|
1719
|
+
), Hu = _a.reducer, oe = _(
|
|
1732
1720
|
(t) => t.uuid
|
|
1733
|
-
), gi = oe.getInitialState({}),
|
|
1721
|
+
), gi = oe.getInitialState({}), Oa = T({
|
|
1734
1722
|
name: "issueAttachments",
|
|
1735
1723
|
initialState: gi,
|
|
1736
1724
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, gi)),
|
|
@@ -1748,14 +1736,14 @@ const Ue = _(
|
|
|
1748
1736
|
}), {
|
|
1749
1737
|
initializeIssueAttachments: Ti,
|
|
1750
1738
|
addIssueAttachment: Cy,
|
|
1751
|
-
addIssueAttachments:
|
|
1739
|
+
addIssueAttachments: Ia,
|
|
1752
1740
|
setIssueAttachment: Wu,
|
|
1753
1741
|
setIssueAttachments: Dy,
|
|
1754
1742
|
updateIssueAttachment: xy,
|
|
1755
1743
|
updateIssueAttachments: Ku,
|
|
1756
1744
|
deleteIssueAttachment: Yu,
|
|
1757
|
-
deleteIssueAttachments:
|
|
1758
|
-
} =
|
|
1745
|
+
deleteIssueAttachments: va
|
|
1746
|
+
} = Oa.actions, Ju = (t) => t.issueAttachmentReducer.instances, Qu = m(
|
|
1759
1747
|
[Ju],
|
|
1760
1748
|
(t) => Object.values(t)
|
|
1761
1749
|
), Xu = y(
|
|
@@ -1763,7 +1751,7 @@ const Ue = _(
|
|
|
1763
1751
|
[Qu, (t, e) => e],
|
|
1764
1752
|
(t, e) => b(t.filter(({ issue: s }) => e === s))
|
|
1765
1753
|
)
|
|
1766
|
-
), Zu = (t) => (e) => e.issueAttachmentReducer.instances[t], el =
|
|
1754
|
+
), Zu = (t) => (e) => e.issueAttachmentReducer.instances[t], el = Oa.reducer, de = _((t) => t.uuid), Pi = de.getInitialState({}), wa = T({
|
|
1767
1755
|
name: "issueCommentAttachments",
|
|
1768
1756
|
initialState: Pi,
|
|
1769
1757
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Pi)),
|
|
@@ -1788,7 +1776,7 @@ const Ue = _(
|
|
|
1788
1776
|
updateIssueCommentAttachments: il,
|
|
1789
1777
|
deleteIssueCommentAttachment: nl,
|
|
1790
1778
|
deleteIssueCommentAttachments: al
|
|
1791
|
-
} =
|
|
1779
|
+
} = wa.actions, cl = (t) => t.issueCommentAttachmentReducer.instances, rl = m(
|
|
1792
1780
|
[cl],
|
|
1793
1781
|
(t) => Object.values(t)
|
|
1794
1782
|
), ol = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], $y = y(
|
|
@@ -1799,7 +1787,7 @@ const Ue = _(
|
|
|
1799
1787
|
],
|
|
1800
1788
|
(t, e) => b(t.filter(({ issue_comment: s }) => e === s))
|
|
1801
1789
|
)
|
|
1802
|
-
), dl =
|
|
1790
|
+
), dl = wa.reducer, Oe = _((t) => t.uuid), Ri = Oe.getInitialState({}), Ea = T({
|
|
1803
1791
|
name: "issueComments",
|
|
1804
1792
|
initialState: Ri,
|
|
1805
1793
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ri)),
|
|
@@ -1818,12 +1806,12 @@ const Ue = _(
|
|
|
1818
1806
|
addIssueComments: Gy,
|
|
1819
1807
|
deleteIssueComment: Ii,
|
|
1820
1808
|
deleteIssueComments: By
|
|
1821
|
-
} =
|
|
1809
|
+
} = Ea.actions, ll = (t) => t.issueCommentReducer.instances, vi = (t) => (e) => e.issueCommentReducer.instances[t], Ly = y(
|
|
1822
1810
|
m(
|
|
1823
1811
|
[ll, (t, e) => e],
|
|
1824
1812
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1825
1813
|
)
|
|
1826
|
-
), hl =
|
|
1814
|
+
), hl = Ea.reducer, Ie = _((t) => t.uuid), wi = Ie.getInitialState({}), ka = T({
|
|
1827
1815
|
name: "issues",
|
|
1828
1816
|
initialState: wi,
|
|
1829
1817
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -1837,7 +1825,7 @@ const Ue = _(
|
|
|
1837
1825
|
deleteIssue: Ie.deleteOne,
|
|
1838
1826
|
deleteIssues: Ie.deleteMany
|
|
1839
1827
|
}
|
|
1840
|
-
}), { initializeIssues: pl, addIssue: Ei, addIssues: ml, updateIssue: mt, deleteIssue: ki, deleteIssues: fl } =
|
|
1828
|
+
}), { 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], Ny = y(
|
|
1841
1829
|
m([Al, (t, e) => e], (t, e) => {
|
|
1842
1830
|
const s = [];
|
|
1843
1831
|
for (const i of e) {
|
|
@@ -1846,9 +1834,9 @@ const Ue = _(
|
|
|
1846
1834
|
}
|
|
1847
1835
|
return b(s);
|
|
1848
1836
|
})
|
|
1849
|
-
), yl =
|
|
1837
|
+
), yl = ka.reducer, ue = _(
|
|
1850
1838
|
(t) => t.uuid
|
|
1851
|
-
), ji = ue.getInitialState({}),
|
|
1839
|
+
), ji = ue.getInitialState({}), qa = T({
|
|
1852
1840
|
name: "issueTypeAttachments",
|
|
1853
1841
|
initialState: ji,
|
|
1854
1842
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ji)),
|
|
@@ -1873,7 +1861,7 @@ const Ue = _(
|
|
|
1873
1861
|
updateIssueTypeAttachments: gl,
|
|
1874
1862
|
deleteIssueTypeAttachment: Tl,
|
|
1875
1863
|
deleteIssueTypeAttachments: Pl
|
|
1876
|
-
} =
|
|
1864
|
+
} = qa.actions, _l = (t) => t.issueTypeAttachmentReducer.instances, Rl = m(
|
|
1877
1865
|
[_l],
|
|
1878
1866
|
(t) => Object.values(t)
|
|
1879
1867
|
), Fl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Yy = y(
|
|
@@ -1881,7 +1869,7 @@ const Ue = _(
|
|
|
1881
1869
|
[Rl, (t, e) => e],
|
|
1882
1870
|
(t, e) => b(t.filter(({ issue_type: s }) => e === s))
|
|
1883
1871
|
)
|
|
1884
|
-
), Ol =
|
|
1872
|
+
), Ol = qa.reducer, le = _((t) => t.uuid), Ci = le.getInitialState({}), ja = T({
|
|
1885
1873
|
name: "issueTypeFieldsAttachments",
|
|
1886
1874
|
initialState: Ci,
|
|
1887
1875
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ci)),
|
|
@@ -1906,7 +1894,7 @@ const Ue = _(
|
|
|
1906
1894
|
updateIssueTypeFieldsAttachments: wl,
|
|
1907
1895
|
deleteIssueTypeFieldsAttachment: eb,
|
|
1908
1896
|
deleteIssueTypeFieldsAttachments: El
|
|
1909
|
-
} =
|
|
1897
|
+
} = ja.actions, kl = (t) => t.issueTypeFieldsAttachmentReducer.instances, ql = m(
|
|
1910
1898
|
[kl],
|
|
1911
1899
|
(t) => Object.values(t)
|
|
1912
1900
|
), tb = y(
|
|
@@ -1916,9 +1904,9 @@ const Ue = _(
|
|
|
1916
1904
|
t.filter((s) => s.fields_revision === e)
|
|
1917
1905
|
)
|
|
1918
1906
|
)
|
|
1919
|
-
), sb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], jl =
|
|
1907
|
+
), sb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], jl = ja.reducer, he = _(
|
|
1920
1908
|
(t) => t.uuid
|
|
1921
|
-
), Di = he.getInitialState({}),
|
|
1909
|
+
), Di = he.getInitialState({}), Ma = T({
|
|
1922
1910
|
name: "issueTypeFieldValues",
|
|
1923
1911
|
initialState: Di,
|
|
1924
1912
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Di)),
|
|
@@ -1943,11 +1931,11 @@ const Ue = _(
|
|
|
1943
1931
|
updateIssueTypeFieldValuesMany: cb,
|
|
1944
1932
|
deleteIssueTypeFieldValues: zi,
|
|
1945
1933
|
deleteIssueTypeFieldValuesMany: rb
|
|
1946
|
-
} =
|
|
1947
|
-
m([
|
|
1948
|
-
), Vi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Dl =
|
|
1934
|
+
} = Ma.actions, Cl = (t) => t.issueTypeFieldValuesReducer.instances, Ca = m([Cl], (t) => Object.values(t)), ob = y(
|
|
1935
|
+
m([Ca, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
|
|
1936
|
+
), Vi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Dl = Ma.reducer, pe = _(
|
|
1949
1937
|
(t) => t.uuid
|
|
1950
|
-
), Ui = pe.getInitialState({}),
|
|
1938
|
+
), Ui = pe.getInitialState({}), Da = T({
|
|
1951
1939
|
name: "issueTypeFields",
|
|
1952
1940
|
initialState: Ui,
|
|
1953
1941
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ui)),
|
|
@@ -1972,13 +1960,13 @@ const Ue = _(
|
|
|
1972
1960
|
updateIssueTypeFieldsMany: hb,
|
|
1973
1961
|
deleteIssueTypeFields: Ul,
|
|
1974
1962
|
deleteIssueTypeFieldsMany: pb
|
|
1975
|
-
} =
|
|
1963
|
+
} = Da.actions, $l = (t) => t.issueTypeFieldsReducer.instances, Vt = m([$l], (t) => Object.values(t)), mb = y(
|
|
1976
1964
|
m([Vt, (t, e) => e], (t, e) => b(t.filter((s) => s.issue_type === e)))
|
|
1977
1965
|
), fb = y(
|
|
1978
1966
|
m([Vt, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1979
1967
|
), Ab = y(
|
|
1980
1968
|
m(
|
|
1981
|
-
[Vt,
|
|
1969
|
+
[Vt, Ca, (t, e) => e],
|
|
1982
1970
|
(t, e, s) => {
|
|
1983
1971
|
const i = new Set(
|
|
1984
1972
|
t.filter((n) => n.issue_type === s).map((n) => n.uuid)
|
|
@@ -1986,7 +1974,7 @@ const Ue = _(
|
|
|
1986
1974
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1987
1975
|
}
|
|
1988
1976
|
)
|
|
1989
|
-
), yb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Gl =
|
|
1977
|
+
), yb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Gl = Da.reducer, me = _((t) => t.uuid), $i = me.getInitialState({}), xa = T({
|
|
1990
1978
|
name: "issueTypeFieldValuesAttachments",
|
|
1991
1979
|
initialState: $i,
|
|
1992
1980
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, $i)),
|
|
@@ -2011,13 +1999,13 @@ const Ue = _(
|
|
|
2011
1999
|
updateIssueTypeFieldValuesAttachments: Ll,
|
|
2012
2000
|
deleteIssueTypeFieldValuesAttachment: Pb,
|
|
2013
2001
|
deleteIssueTypeFieldValuesAttachments: wt
|
|
2014
|
-
} =
|
|
2015
|
-
[
|
|
2002
|
+
} = xa.actions, za = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Nl = m(
|
|
2003
|
+
[za],
|
|
2016
2004
|
(t) => Object.values(t)
|
|
2017
2005
|
), _b = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t], Hl = y(
|
|
2018
2006
|
m(
|
|
2019
2007
|
[
|
|
2020
|
-
|
|
2008
|
+
za,
|
|
2021
2009
|
(t, e) => e
|
|
2022
2010
|
],
|
|
2023
2011
|
(t, e) => {
|
|
@@ -2032,7 +2020,7 @@ const Ue = _(
|
|
|
2032
2020
|
[Nl, (t, e) => e],
|
|
2033
2021
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
2034
2022
|
)
|
|
2035
|
-
), Kl =
|
|
2023
|
+
), Kl = xa.reducer, je = _((t) => t.uuid), Gi = je.getInitialState({}), Va = T({
|
|
2036
2024
|
name: "issueTypes",
|
|
2037
2025
|
initialState: Gi,
|
|
2038
2026
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -2045,7 +2033,7 @@ const Ue = _(
|
|
|
2045
2033
|
updateIssueType: je.updateOne,
|
|
2046
2034
|
removeIssueType: je.deleteOne
|
|
2047
2035
|
}
|
|
2048
|
-
}), { initializeIssueTypes: Yl, setIssueType: it, addIssueType: Jl, updateIssueType: Ql, removeIssueType: Bi } =
|
|
2036
|
+
}), { initializeIssueTypes: Yl, setIssueType: it, addIssueType: Jl, updateIssueType: Ql, removeIssueType: Bi } = Va.actions, Xl = (t) => t.issueTypeReducer.instances, Zl = m(
|
|
2049
2037
|
Xl,
|
|
2050
2038
|
(t) => Object.values(t)
|
|
2051
2039
|
), Li = (t) => (e) => e.issueTypeReducer.instances[t], Rb = (t) => (e) => {
|
|
@@ -2060,16 +2048,16 @@ const Ue = _(
|
|
|
2060
2048
|
[Zl, (t, e) => e],
|
|
2061
2049
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2062
2050
|
)
|
|
2063
|
-
),
|
|
2051
|
+
), Ua = y(
|
|
2064
2052
|
m(
|
|
2065
2053
|
[(t) => t.issueReducer.instances, (t, e) => e],
|
|
2066
2054
|
(t, e) => b(
|
|
2067
2055
|
Object.values(t).filter((s) => s.issue_type === e)
|
|
2068
2056
|
)
|
|
2069
2057
|
)
|
|
2070
|
-
), Ob = (t) => (e) =>
|
|
2058
|
+
), Ob = (t) => (e) => Ua(t)(e).length, eh = Va.reducer, ve = _(
|
|
2071
2059
|
(t) => t.uuid
|
|
2072
|
-
), Ni = ve.getInitialState({}),
|
|
2060
|
+
), Ni = ve.getInitialState({}), $a = T({
|
|
2073
2061
|
name: "issueUpdates",
|
|
2074
2062
|
initialState: Ni,
|
|
2075
2063
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ni)),
|
|
@@ -2088,12 +2076,12 @@ const Ue = _(
|
|
|
2088
2076
|
addIssueUpdates: ih,
|
|
2089
2077
|
deleteIssueUpdate: nh,
|
|
2090
2078
|
deleteIssueUpdates: ah
|
|
2091
|
-
} =
|
|
2079
|
+
} = $a.actions, ch = (t) => t.issueUpdateReducer.instances, rh = y(
|
|
2092
2080
|
m(
|
|
2093
2081
|
[ch, (t, e) => e],
|
|
2094
2082
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
2095
2083
|
)
|
|
2096
|
-
), oh =
|
|
2084
|
+
), oh = $a.reducer, rt = _((t) => t.uuid), Hi = rt.getInitialState({}), Ga = T({
|
|
2097
2085
|
name: "license",
|
|
2098
2086
|
initialState: Hi,
|
|
2099
2087
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Hi)),
|
|
@@ -2102,7 +2090,7 @@ const Ue = _(
|
|
|
2102
2090
|
addLicenses: rt.addMany,
|
|
2103
2091
|
updateLicense: rt.updateOne
|
|
2104
2092
|
}
|
|
2105
|
-
}), { initializeLicences: dh, addLicenses: vb, updateLicense: ge } =
|
|
2093
|
+
}), { initializeLicences: dh, addLicenses: vb, updateLicense: ge } = Ga.actions, Ut = (t) => t.licenseReducer.instances, wb = (t) => (e) => e.licenseReducer.instances[t], uh = (t) => (e) => Object.values(e.licenseReducer.instances).find((s) => s.project === t), Eb = m(
|
|
2106
2094
|
[Ut],
|
|
2107
2095
|
(t) => b(Object.values(t).filter((e) => e.is_active))
|
|
2108
2096
|
), kb = m(
|
|
@@ -2110,9 +2098,9 @@ const Ue = _(
|
|
|
2110
2098
|
(t) => De(
|
|
2111
2099
|
Object.values(t).filter((e) => e.project).reduce((e, s) => ({ ...e, [s.project]: s }), {})
|
|
2112
2100
|
)
|
|
2113
|
-
), lh =
|
|
2101
|
+
), lh = Ga.reducer, q = _((t) => t.id), Wi = q.getInitialState({
|
|
2114
2102
|
currentUser: null
|
|
2115
|
-
}),
|
|
2103
|
+
}), Ba = T({
|
|
2116
2104
|
name: "users",
|
|
2117
2105
|
initialState: Wi,
|
|
2118
2106
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Wi)),
|
|
@@ -2153,7 +2141,7 @@ const Ue = _(
|
|
|
2153
2141
|
removeUser: ph,
|
|
2154
2142
|
setCurrentUser: Ub,
|
|
2155
2143
|
setProfilePicture: $b
|
|
2156
|
-
} =
|
|
2144
|
+
} = Ba.actions, mh = Ba.reducer, $t = (t) => t.userReducer.currentUser, Gt = (t) => t.userReducer.instances, Gb = (t) => (e) => e.userReducer.instances[t], Bb = y(
|
|
2157
2145
|
m([Gt, (t, e) => e], (t, e) => {
|
|
2158
2146
|
const s = [];
|
|
2159
2147
|
for (const i of e) {
|
|
@@ -2164,7 +2152,7 @@ const Ue = _(
|
|
|
2164
2152
|
})
|
|
2165
2153
|
), ot = _(
|
|
2166
2154
|
(t) => t.uuid
|
|
2167
|
-
), Ki = ot.getInitialState({}),
|
|
2155
|
+
), Ki = ot.getInitialState({}), La = T({
|
|
2168
2156
|
name: "organizationAccess",
|
|
2169
2157
|
initialState: Ki,
|
|
2170
2158
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ki)),
|
|
@@ -2173,8 +2161,8 @@ const Ue = _(
|
|
|
2173
2161
|
updateOrganizationAccess: ot.updateOne,
|
|
2174
2162
|
deleteOrganizationAccess: ot.deleteOne
|
|
2175
2163
|
}
|
|
2176
|
-
}), { initializeOrganizationAccesses: fh, updateOrganizationAccess: Ah, deleteOrganizationAccess: yh } =
|
|
2177
|
-
[$t,
|
|
2164
|
+
}), { initializeOrganizationAccesses: fh, updateOrganizationAccess: Ah, deleteOrganizationAccess: yh } = La.actions, Na = (t) => t.organizationAccessReducer.instances, Lb = (t) => (e) => e.organizationAccessReducer.instances[t], Nb = m(
|
|
2165
|
+
[$t, Na],
|
|
2178
2166
|
(t, e) => Object.values(e).find(
|
|
2179
2167
|
(i) => i.user === (t == null ? void 0 : t.id)
|
|
2180
2168
|
) ?? null
|
|
@@ -2185,9 +2173,9 @@ const Ue = _(
|
|
|
2185
2173
|
for (const s of Object.values(t.organizationAccessReducer.instances))
|
|
2186
2174
|
e[s.user] = s;
|
|
2187
2175
|
return De(e);
|
|
2188
|
-
}, Sh =
|
|
2176
|
+
}, Sh = La.reducer, Ge = _(
|
|
2189
2177
|
(t) => t.uuid
|
|
2190
|
-
), Yi = Ge.getInitialState({}),
|
|
2178
|
+
), Yi = Ge.getInitialState({}), Ha = T({
|
|
2191
2179
|
name: "projectAccess",
|
|
2192
2180
|
initialState: Yi,
|
|
2193
2181
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Yi)),
|
|
@@ -2197,8 +2185,8 @@ const Ue = _(
|
|
|
2197
2185
|
deleteProjectAccess: Ge.deleteOne,
|
|
2198
2186
|
deleteProjectAccesses: Ge.deleteMany
|
|
2199
2187
|
}
|
|
2200
|
-
}), { initializeProjectAccesses:
|
|
2201
|
-
|
|
2188
|
+
}), { initializeProjectAccesses: Wa, updateProjectAccess: gh, deleteProjectAccess: Th, deleteProjectAccesses: Ph } = Ha.actions, Ka = (t) => t.projectAccessReducer.instances, _h = m(
|
|
2189
|
+
Ka,
|
|
2202
2190
|
(t) => Object.values(t)
|
|
2203
2191
|
), Wb = (t) => (e) => e.projectAccessReducer.instances[t], Kb = (t) => (e) => Object.values(e.projectAccessReducer.instances).find(
|
|
2204
2192
|
(s) => s.user === t.id
|
|
@@ -2207,7 +2195,7 @@ const Ue = _(
|
|
|
2207
2195
|
for (const s of Object.values(t.projectAccessReducer.instances))
|
|
2208
2196
|
e[s.user] = s;
|
|
2209
2197
|
return De(e);
|
|
2210
|
-
}, Fh =
|
|
2198
|
+
}, Fh = Ha.reducer, fe = _((t) => t.uuid), Ji = fe.getInitialState({}), Ya = T({
|
|
2211
2199
|
name: "projects",
|
|
2212
2200
|
initialState: Ji,
|
|
2213
2201
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ji)),
|
|
@@ -2239,8 +2227,8 @@ const Ue = _(
|
|
|
2239
2227
|
deleteProject: vh,
|
|
2240
2228
|
deleteProjects: eS,
|
|
2241
2229
|
acceptProjectInvite: wh
|
|
2242
|
-
} =
|
|
2243
|
-
[
|
|
2230
|
+
} = Ya.actions, Eh = Ya.reducer, Bt = (t) => t.projectReducer.instances, tS = m([Bt], (t) => b(Object.values(t))), sS = (t) => (e) => e.projectReducer.instances[t], kh = m(
|
|
2231
|
+
[Ka],
|
|
2244
2232
|
(t) => Object.values(t).map((e) => e.user)
|
|
2245
2233
|
), qh = m(
|
|
2246
2234
|
[kh, Gt],
|
|
@@ -2257,7 +2245,7 @@ const Ue = _(
|
|
|
2257
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) === un.ADMIN ? -1 : 1;
|
|
2258
2246
|
})
|
|
2259
2247
|
)
|
|
2260
|
-
), Ae = _((t) => t.uuid), Qi = Ae.getInitialState({}),
|
|
2248
|
+
), Ae = _((t) => t.uuid), Qi = Ae.getInitialState({}), Ja = T({
|
|
2261
2249
|
name: "organizations",
|
|
2262
2250
|
initialState: Qi,
|
|
2263
2251
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qi)),
|
|
@@ -2282,13 +2270,13 @@ const Ue = _(
|
|
|
2282
2270
|
updateOrganization: dS,
|
|
2283
2271
|
deleteOrganization: uS,
|
|
2284
2272
|
deleteOrganizations: lS
|
|
2285
|
-
} =
|
|
2273
|
+
} = Ja.actions, Mh = (t) => t.organizationReducer.instances, Ch = m([Mh], (t) => Object.values(t)), hS = (t) => (e) => e.organizationReducer.instances[t], pS = m(
|
|
2286
2274
|
[Ch],
|
|
2287
2275
|
(t) => b(
|
|
2288
2276
|
Object.values(t).filter((e) => e.has_access)
|
|
2289
2277
|
)
|
|
2290
2278
|
), Dh = m(
|
|
2291
|
-
[
|
|
2279
|
+
[Na],
|
|
2292
2280
|
(t) => Object.values(t).map((e) => e.user)
|
|
2293
2281
|
), mS = y(
|
|
2294
2282
|
m(
|
|
@@ -2321,7 +2309,7 @@ const Ue = _(
|
|
|
2321
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) === ln.ADMIN ? -1 : 1;
|
|
2322
2310
|
})
|
|
2323
2311
|
)
|
|
2324
|
-
), zh =
|
|
2312
|
+
), zh = Ja.reducer, Vh = (t, e, s) => {
|
|
2325
2313
|
const i = t.uuid ? t : { ...t, uuid: we() };
|
|
2326
2314
|
return {
|
|
2327
2315
|
payload: i,
|
|
@@ -2340,7 +2328,7 @@ const Ue = _(
|
|
|
2340
2328
|
}, Xi = {
|
|
2341
2329
|
deletedRequests: [],
|
|
2342
2330
|
latestRetryTime: 0
|
|
2343
|
-
},
|
|
2331
|
+
}, Qa = T({
|
|
2344
2332
|
name: "outbox",
|
|
2345
2333
|
initialState: Xi,
|
|
2346
2334
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Xi)),
|
|
@@ -2367,9 +2355,9 @@ const Ue = _(
|
|
|
2367
2355
|
t.latestRetryTime = e.payload;
|
|
2368
2356
|
}
|
|
2369
2357
|
}
|
|
2370
|
-
}), yS = (t) => t.outboxReducer.deletedRequests, bS = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Uh, markForDeletion: SS, markAsDeleted: $h, _setLatestRetryTime: Gh } =
|
|
2358
|
+
}), yS = (t) => t.outboxReducer.deletedRequests, bS = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Uh, markForDeletion: SS, markAsDeleted: $h, _setLatestRetryTime: Gh } = Qa.actions, Bh = Qa.reducer, ye = _(
|
|
2371
2359
|
(t) => t.uuid
|
|
2372
|
-
), Zi = ye.getInitialState({}),
|
|
2360
|
+
), Zi = ye.getInitialState({}), Xa = T({
|
|
2373
2361
|
name: "projectAttachments",
|
|
2374
2362
|
initialState: Zi,
|
|
2375
2363
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zi)),
|
|
@@ -2393,8 +2381,8 @@ const Ue = _(
|
|
|
2393
2381
|
updateProjectAttachment: TS,
|
|
2394
2382
|
updateProjectAttachments: Kh,
|
|
2395
2383
|
deleteProjectAttachment: Yh,
|
|
2396
|
-
deleteProjectAttachments:
|
|
2397
|
-
} =
|
|
2384
|
+
deleteProjectAttachments: Za
|
|
2385
|
+
} = Xa.actions, Jh = (t) => t.projectAttachmentReducer.instances, Qh = m(
|
|
2398
2386
|
[Jh],
|
|
2399
2387
|
(t) => Object.values(t)
|
|
2400
2388
|
), Xh = (t) => (e) => e.projectAttachmentReducer.instances[t], Zh = y(
|
|
@@ -2402,12 +2390,12 @@ const Ue = _(
|
|
|
2402
2390
|
[Qh, (t, e) => e],
|
|
2403
2391
|
(t, e) => b(t.filter(({ project: s }) => e === s))
|
|
2404
2392
|
)
|
|
2405
|
-
), ep =
|
|
2393
|
+
), ep = Xa.reducer, be = _(
|
|
2406
2394
|
(t) => t.uuid
|
|
2407
2395
|
), en = be.getInitialState({
|
|
2408
2396
|
activeProjectFileId: null,
|
|
2409
2397
|
isImportingProjectFile: !1
|
|
2410
|
-
}),
|
|
2398
|
+
}), ec = T({
|
|
2411
2399
|
name: "projectFiles",
|
|
2412
2400
|
initialState: en,
|
|
2413
2401
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, en)),
|
|
@@ -2459,9 +2447,9 @@ const Ue = _(
|
|
|
2459
2447
|
setActiveProjectFileId: cp,
|
|
2460
2448
|
saveActiveProjectFileBounds: rp,
|
|
2461
2449
|
resetProjectFileObjectUrls: OS
|
|
2462
|
-
} =
|
|
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))), IS = (t) => (e) => e.projectFileReducer.instances[t], vS = (t) => t.projectFileReducer.activeProjectFileId, wS = (t) => t.projectFileReducer.isImportingProjectFile, up = ec.reducer, lp = {
|
|
2463
2451
|
isRehydrated: !1
|
|
2464
|
-
},
|
|
2452
|
+
}, tc = T({
|
|
2465
2453
|
name: "rehydrated",
|
|
2466
2454
|
initialState: lp,
|
|
2467
2455
|
// The `reducers` field lets us define reducers and generate associated actions
|
|
@@ -2470,7 +2458,7 @@ const Ue = _(
|
|
|
2470
2458
|
t.isRehydrated = e.payload;
|
|
2471
2459
|
}
|
|
2472
2460
|
}
|
|
2473
|
-
}), { setRehydrated: ES } =
|
|
2461
|
+
}), { setRehydrated: ES } = tc.actions, kS = (t) => t.rehydratedReducer.isRehydrated, hp = tc.reducer, Me = _((t) => t.uuid), sn = Me.getInitialState({}), sc = T({
|
|
2474
2462
|
name: "teams",
|
|
2475
2463
|
initialState: sn,
|
|
2476
2464
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, sn)),
|
|
@@ -2481,9 +2469,9 @@ const Ue = _(
|
|
|
2481
2469
|
updateTeam: Me.updateOne,
|
|
2482
2470
|
deleteTeam: Me.deleteOne
|
|
2483
2471
|
}
|
|
2484
|
-
}), { setTeam: ze, initializeTeams: pp, addTeam: mp, updateTeam: nn, deleteTeam: an } =
|
|
2472
|
+
}), { 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], qS = y(
|
|
2485
2473
|
m(
|
|
2486
|
-
[
|
|
2474
|
+
[ic, (t, e) => e],
|
|
2487
2475
|
(t, e) => {
|
|
2488
2476
|
const s = [];
|
|
2489
2477
|
for (const i of e) {
|
|
@@ -2495,27 +2483,27 @@ const Ue = _(
|
|
|
2495
2483
|
)
|
|
2496
2484
|
), jS = y(
|
|
2497
2485
|
m(
|
|
2498
|
-
[
|
|
2486
|
+
[nc, (t, e) => e],
|
|
2499
2487
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2500
2488
|
)
|
|
2501
2489
|
), MS = y(
|
|
2502
|
-
m([
|
|
2503
|
-
), fp =
|
|
2490
|
+
m([nc, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
|
|
2491
|
+
), fp = sc.reducer, Ap = {
|
|
2504
2492
|
version: 0
|
|
2505
2493
|
}, yp = T({
|
|
2506
2494
|
name: "versioning",
|
|
2507
2495
|
initialState: Ap,
|
|
2508
2496
|
reducers: {}
|
|
2509
|
-
}), bp = yp.reducer,
|
|
2497
|
+
}), bp = yp.reducer, ac = {
|
|
2510
2498
|
outboxReducer: Bh,
|
|
2511
2499
|
fileReducer: tu,
|
|
2512
2500
|
authReducer: Rd
|
|
2513
|
-
}, CS = dn(
|
|
2514
|
-
...
|
|
2501
|
+
}, CS = dn(ac), Sp = {
|
|
2502
|
+
...ac,
|
|
2515
2503
|
[dt]: bp,
|
|
2516
2504
|
categoryReducer: vd,
|
|
2517
2505
|
assetReducer: wo,
|
|
2518
|
-
assetAttachmentReducer:
|
|
2506
|
+
assetAttachmentReducer: cr,
|
|
2519
2507
|
assetStageCompletionReducer: jo,
|
|
2520
2508
|
assetStageReducer: zo,
|
|
2521
2509
|
assetTypeReducer: Pd,
|
|
@@ -2542,7 +2530,7 @@ const Ue = _(
|
|
|
2542
2530
|
documentsReducer: Ld,
|
|
2543
2531
|
documentAttachmentReducer: zd,
|
|
2544
2532
|
teamReducer: fp,
|
|
2545
|
-
agentsReducer:
|
|
2533
|
+
agentsReducer: Xc,
|
|
2546
2534
|
issueCommentReducer: hl,
|
|
2547
2535
|
issueCommentAttachmentReducer: dl,
|
|
2548
2536
|
issueUpdateReducer: oh,
|
|
@@ -2556,38 +2544,38 @@ const Ue = _(
|
|
|
2556
2544
|
assetTypeFieldValuesReducer: gd,
|
|
2557
2545
|
assetTypeFieldsAttachmentReducer: sd,
|
|
2558
2546
|
assetTypeFieldValuesAttachmentReducer: md,
|
|
2559
|
-
assetProcedureReducer:
|
|
2560
|
-
assetProcedureInstanceReducer:
|
|
2561
|
-
assetProcedureFieldsReducer:
|
|
2562
|
-
assetProcedureFieldValuesReducer:
|
|
2563
|
-
assetProcedureFieldsAttachmentReducer:
|
|
2564
|
-
assetProcedureFieldValuesAttachmentReducer:
|
|
2565
|
-
assetProcedureAttachmentReducer:
|
|
2566
|
-
assetProcedureStepFieldsAttachmentReducer:
|
|
2567
|
-
assetProcedureStepFieldsReducer:
|
|
2568
|
-
assetProcedureStepFieldValuesAttachmentReducer:
|
|
2547
|
+
assetProcedureReducer: Yr,
|
|
2548
|
+
assetProcedureInstanceReducer: Hr,
|
|
2549
|
+
assetProcedureFieldsReducer: wr,
|
|
2550
|
+
assetProcedureFieldValuesReducer: $r,
|
|
2551
|
+
assetProcedureFieldsAttachmentReducer: _r,
|
|
2552
|
+
assetProcedureFieldValuesAttachmentReducer: Cr,
|
|
2553
|
+
assetProcedureAttachmentReducer: Ar,
|
|
2554
|
+
assetProcedureStepFieldsAttachmentReducer: so,
|
|
2555
|
+
assetProcedureStepFieldsReducer: ro,
|
|
2556
|
+
assetProcedureStepFieldValuesAttachmentReducer: mo,
|
|
2569
2557
|
assetProcedureStepFieldValuesReducer: go,
|
|
2570
2558
|
assetProcedureStepReducer: _o
|
|
2571
2559
|
}, DS = dn(Sp);
|
|
2572
|
-
let
|
|
2560
|
+
let cc;
|
|
2573
2561
|
function gp(t) {
|
|
2574
|
-
|
|
2562
|
+
cc = t;
|
|
2575
2563
|
}
|
|
2576
2564
|
function We() {
|
|
2577
|
-
return
|
|
2565
|
+
return cc;
|
|
2578
2566
|
}
|
|
2579
|
-
let
|
|
2567
|
+
let rc;
|
|
2580
2568
|
function Tp(t) {
|
|
2581
|
-
|
|
2569
|
+
rc = t;
|
|
2582
2570
|
}
|
|
2583
2571
|
function Pp() {
|
|
2584
|
-
return
|
|
2572
|
+
return rc;
|
|
2585
2573
|
}
|
|
2586
|
-
const
|
|
2587
|
-
class
|
|
2574
|
+
const oc = {};
|
|
2575
|
+
class dc {
|
|
2588
2576
|
constructor(e) {
|
|
2589
2577
|
A(this, "client");
|
|
2590
|
-
|
|
2578
|
+
oc[this.constructor.name] = this, this.client = e;
|
|
2591
2579
|
}
|
|
2592
2580
|
async enqueueRequest(e) {
|
|
2593
2581
|
return this.client.enqueueRequest(e, this.host, this.constructor.name);
|
|
@@ -2597,10 +2585,10 @@ class uc {
|
|
|
2597
2585
|
this.client.store.dispatch(e);
|
|
2598
2586
|
}
|
|
2599
2587
|
}
|
|
2600
|
-
const
|
|
2588
|
+
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) => {
|
|
2601
2589
|
var s;
|
|
2602
|
-
return e === void 0 && (e = {}), ((s = e[dt]) == null ? void 0 : s.version) ===
|
|
2603
|
-
},
|
|
2590
|
+
return e === void 0 && (e = {}), ((s = e[dt]) == null ? void 0 : s.version) === uc() ? e : t(e);
|
|
2591
|
+
}, hc = [lc, cn, cn, _p], Fp = Object.fromEntries(hc.map((t, e) => [e, Rp(t)]));
|
|
2604
2592
|
let ft = null;
|
|
2605
2593
|
function Ce() {
|
|
2606
2594
|
const t = We();
|
|
@@ -2635,13 +2623,13 @@ const Ep = {
|
|
|
2635
2623
|
effect: wp,
|
|
2636
2624
|
// Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
|
|
2637
2625
|
// but redux-offline does not know this.
|
|
2638
|
-
discard:
|
|
2626
|
+
discard: Ac,
|
|
2639
2627
|
returnPromises: !0,
|
|
2640
2628
|
persistCallback: Op,
|
|
2641
2629
|
retry: Vp,
|
|
2642
2630
|
// Modify the configuration of the offline store to use localforage
|
|
2643
2631
|
// which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
|
|
2644
|
-
persistOptions: { storage:
|
|
2632
|
+
persistOptions: { storage: _c },
|
|
2645
2633
|
// TODO: custom enqueue implementation to take care of intelligently cancelling "create/delete same issue",
|
|
2646
2634
|
// and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
|
|
2647
2635
|
// that same issue"
|
|
@@ -2652,7 +2640,7 @@ const Ep = {
|
|
|
2652
2640
|
// Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
|
|
2653
2641
|
peek: (...t) => zp(...t)
|
|
2654
2642
|
}
|
|
2655
|
-
}, kp =
|
|
2643
|
+
}, kp = Rc(Fp, dt), xS = gc(Pc(Ep), kp);
|
|
2656
2644
|
function qp(t) {
|
|
2657
2645
|
function e(s) {
|
|
2658
2646
|
return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((n) => n in s);
|
|
@@ -2664,8 +2652,8 @@ function qp(t) {
|
|
|
2664
2652
|
if (s.response && e(s.response.response)) return s.response.response;
|
|
2665
2653
|
}
|
|
2666
2654
|
}
|
|
2667
|
-
async function
|
|
2668
|
-
const s =
|
|
2655
|
+
async function pc(t, e) {
|
|
2656
|
+
const s = oc[t.meta.offline.effect.serviceName];
|
|
2669
2657
|
if (!s)
|
|
2670
2658
|
throw new Error(`Service ${t.meta.offline.effect.serviceName} not found`);
|
|
2671
2659
|
const i = s instanceof F;
|
|
@@ -2695,7 +2683,7 @@ async function mc(t, e) {
|
|
|
2695
2683
|
return w.set("x-amz-checksum-sha1", xe).field({ ...o, ...M.fields }).attach("file", O);
|
|
2696
2684
|
}
|
|
2697
2685
|
return w.send(o);
|
|
2698
|
-
},
|
|
2686
|
+
}, yc = {
|
|
2699
2687
|
[u.GET]: () => S ? qe.get(P.toString()).responseType("blob") : qe.get(P.toString()),
|
|
2700
2688
|
[u.POST]: () => {
|
|
2701
2689
|
const w = qe.post(P.toString());
|
|
@@ -2714,7 +2702,7 @@ async function mc(t, e) {
|
|
|
2714
2702
|
return v(w);
|
|
2715
2703
|
}
|
|
2716
2704
|
}[r];
|
|
2717
|
-
let Pe =
|
|
2705
|
+
let Pe = yc();
|
|
2718
2706
|
if (f && i) {
|
|
2719
2707
|
const w = s.auth.getAuthHeader();
|
|
2720
2708
|
Pe = Pe.set("Authorization", w);
|
|
@@ -2726,7 +2714,7 @@ async function mc(t, e) {
|
|
|
2726
2714
|
const M = qp(w), xe = M == null ? void 0 : M.status;
|
|
2727
2715
|
if (i && xe === 401)
|
|
2728
2716
|
return await s.auth.handleUnauthorized(Pe, M), Pe.query(d);
|
|
2729
|
-
throw new j({ response: M, innerError: w, discard:
|
|
2717
|
+
throw new j({ response: M, innerError: w, discard: fc.includes(xe) });
|
|
2730
2718
|
}
|
|
2731
2719
|
}
|
|
2732
2720
|
class jp {
|
|
@@ -2745,7 +2733,7 @@ class jp {
|
|
|
2745
2733
|
return this._all;
|
|
2746
2734
|
}
|
|
2747
2735
|
}
|
|
2748
|
-
class
|
|
2736
|
+
class mc {
|
|
2749
2737
|
constructor() {
|
|
2750
2738
|
A(this, "next");
|
|
2751
2739
|
this.next = null;
|
|
@@ -2760,16 +2748,16 @@ class fc {
|
|
|
2760
2748
|
if (console.debug("Middleware finished. Performing request:", e), !We()) throw new Error("Client store not set");
|
|
2761
2749
|
const i = Pp();
|
|
2762
2750
|
if (!i) throw new Error("Client SDK not set");
|
|
2763
|
-
return
|
|
2751
|
+
return pc(e, i);
|
|
2764
2752
|
}
|
|
2765
2753
|
}
|
|
2766
2754
|
}
|
|
2767
|
-
class Mp extends
|
|
2755
|
+
class Mp extends mc {
|
|
2768
2756
|
async run(e) {
|
|
2769
2757
|
return super.run(e);
|
|
2770
2758
|
}
|
|
2771
2759
|
}
|
|
2772
|
-
class Cp extends
|
|
2760
|
+
class Cp extends mc {
|
|
2773
2761
|
async run(e) {
|
|
2774
2762
|
return super.run(e);
|
|
2775
2763
|
}
|
|
@@ -2779,8 +2767,8 @@ function xp(t) {
|
|
|
2779
2767
|
var e;
|
|
2780
2768
|
return (e = Dp[0]) == null ? void 0 : e.run(t);
|
|
2781
2769
|
}
|
|
2782
|
-
const
|
|
2783
|
-
function
|
|
2770
|
+
const fc = [400, 409, 403, 404, 405, 500];
|
|
2771
|
+
function Ac(t, e, s = 0) {
|
|
2784
2772
|
var r;
|
|
2785
2773
|
if (console.debug(
|
|
2786
2774
|
"Considering discarding request due to error:",
|
|
@@ -2814,7 +2802,7 @@ Retries:`,
|
|
|
2814
2802
|
return console.debug("Discarding request due to deletion:", e), o();
|
|
2815
2803
|
if (t instanceof j) {
|
|
2816
2804
|
const d = t.status || ((r = t.response) == null ? void 0 : r.status);
|
|
2817
|
-
if (d || console.warn("Error has no status code:", t), d !== void 0 &&
|
|
2805
|
+
if (d || console.warn("Error has no status code:", t), d !== void 0 && fc.includes(d)) {
|
|
2818
2806
|
console.warn("Discarding request due to error:", t, `
|
|
2819
2807
|
Action:`, e);
|
|
2820
2808
|
const h = Ce();
|
|
@@ -2834,7 +2822,7 @@ function zp(t, e, s) {
|
|
|
2834
2822
|
return (i = Ce()) == null ? void 0 : i.peek();
|
|
2835
2823
|
}
|
|
2836
2824
|
function Vp(t, e) {
|
|
2837
|
-
return We().dispatch(Gh((/* @__PURE__ */ new Date()).getTime())),
|
|
2825
|
+
return We().dispatch(Gh((/* @__PURE__ */ new Date()).getTime())), Cc;
|
|
2838
2826
|
}
|
|
2839
2827
|
const He = "An unknown error occurred", Up = 500, rn = ["non_field_errors", "detail"];
|
|
2840
2828
|
function $p(t, e) {
|
|
@@ -2871,12 +2859,12 @@ class j extends Error {
|
|
|
2871
2859
|
this.message = s.message ?? $p(i, n) ?? He, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, s.discard = s.discard ?? !1, this.options = s;
|
|
2872
2860
|
}
|
|
2873
2861
|
}
|
|
2874
|
-
class Gp extends
|
|
2862
|
+
class Gp extends dc {
|
|
2875
2863
|
constructor(e) {
|
|
2876
2864
|
super(e);
|
|
2877
2865
|
}
|
|
2878
2866
|
}
|
|
2879
|
-
class F extends
|
|
2867
|
+
class F extends dc {
|
|
2880
2868
|
constructor(s, i) {
|
|
2881
2869
|
super(s);
|
|
2882
2870
|
A(this, "auth");
|
|
@@ -2895,7 +2883,7 @@ class zS extends F {
|
|
|
2895
2883
|
},
|
|
2896
2884
|
blockers: ["prompt"],
|
|
2897
2885
|
blocks: ["prompt"]
|
|
2898
|
-
}).then((i) => (this.dispatch(
|
|
2886
|
+
}).then((i) => (this.dispatch(Yc(i)), i));
|
|
2899
2887
|
}
|
|
2900
2888
|
async continueConversation(e, s, i) {
|
|
2901
2889
|
return this.enqueueRequest({
|
|
@@ -2910,7 +2898,7 @@ class zS extends F {
|
|
|
2910
2898
|
blocks: ["prompt"],
|
|
2911
2899
|
queryParams: { conversation_id: s }
|
|
2912
2900
|
}).then((n) => {
|
|
2913
|
-
this.dispatch(
|
|
2901
|
+
this.dispatch(Qc(n));
|
|
2914
2902
|
});
|
|
2915
2903
|
}
|
|
2916
2904
|
async fetchDetails(e) {
|
|
@@ -2921,7 +2909,7 @@ class zS extends F {
|
|
|
2921
2909
|
blockers: ["conversation"],
|
|
2922
2910
|
blocks: ["conversation"]
|
|
2923
2911
|
}).then((s) => {
|
|
2924
|
-
this.dispatch(
|
|
2912
|
+
this.dispatch(Jc(s));
|
|
2925
2913
|
});
|
|
2926
2914
|
}
|
|
2927
2915
|
async rate(e, s) {
|
|
@@ -2942,7 +2930,7 @@ class zS extends F {
|
|
|
2942
2930
|
blockers: ["agent-conversations"],
|
|
2943
2931
|
blocks: ["agent-conversations"]
|
|
2944
2932
|
});
|
|
2945
|
-
this.dispatch(
|
|
2933
|
+
this.dispatch(Kc(s));
|
|
2946
2934
|
}
|
|
2947
2935
|
}
|
|
2948
2936
|
class k extends F {
|
|
@@ -3075,11 +3063,11 @@ class VS extends Te {
|
|
|
3075
3063
|
A(this, "url", "/asset-attachments");
|
|
3076
3064
|
A(this, "initializeAttachments", Yt);
|
|
3077
3065
|
A(this, "addAttachments", bn);
|
|
3078
|
-
A(this, "updateAttachments",
|
|
3066
|
+
A(this, "updateAttachments", er);
|
|
3079
3067
|
A(this, "removeAttachments", Sn);
|
|
3080
|
-
A(this, "removeAttachment",
|
|
3081
|
-
A(this, "setAttachment",
|
|
3082
|
-
A(this, "selectAttachment",
|
|
3068
|
+
A(this, "removeAttachment", tr);
|
|
3069
|
+
A(this, "setAttachment", Zc);
|
|
3070
|
+
A(this, "selectAttachment", nr);
|
|
3083
3071
|
}
|
|
3084
3072
|
buildOfflineAttachment(s) {
|
|
3085
3073
|
return R({
|
|
@@ -3124,12 +3112,12 @@ class US extends Te {
|
|
|
3124
3112
|
super(...arguments);
|
|
3125
3113
|
A(this, "name", "Asset Procedure Attachment");
|
|
3126
3114
|
A(this, "url", "/asset-procedure-attachments");
|
|
3127
|
-
A(this, "addAttachments",
|
|
3128
|
-
A(this, "updateAttachments",
|
|
3129
|
-
A(this, "removeAttachments",
|
|
3130
|
-
A(this, "removeAttachment",
|
|
3131
|
-
A(this, "setAttachment",
|
|
3132
|
-
A(this, "selectAttachment",
|
|
3115
|
+
A(this, "addAttachments", or);
|
|
3116
|
+
A(this, "updateAttachments", ur);
|
|
3117
|
+
A(this, "removeAttachments", hr);
|
|
3118
|
+
A(this, "removeAttachment", lr);
|
|
3119
|
+
A(this, "setAttachment", dr);
|
|
3120
|
+
A(this, "selectAttachment", fr);
|
|
3133
3121
|
}
|
|
3134
3122
|
buildOfflineAttachment(s) {
|
|
3135
3123
|
return R({
|
|
@@ -3166,7 +3154,7 @@ class US extends Te {
|
|
|
3166
3154
|
blocks: [],
|
|
3167
3155
|
blockers: []
|
|
3168
3156
|
});
|
|
3169
|
-
this.dispatch(
|
|
3157
|
+
this.dispatch(rr(i));
|
|
3170
3158
|
}
|
|
3171
3159
|
}
|
|
3172
3160
|
class $S extends k {
|
|
@@ -3197,7 +3185,7 @@ class $S extends k {
|
|
|
3197
3185
|
};
|
|
3198
3186
|
c.push(g);
|
|
3199
3187
|
}
|
|
3200
|
-
this.dispatch(
|
|
3188
|
+
this.dispatch(br(a));
|
|
3201
3189
|
const o = this.enqueueRequest({
|
|
3202
3190
|
description: "Add asset procedure fields attachments",
|
|
3203
3191
|
method: u.POST,
|
|
@@ -3211,10 +3199,10 @@ class $S extends k {
|
|
|
3211
3199
|
blocks: a.map((r) => r.uuid)
|
|
3212
3200
|
});
|
|
3213
3201
|
return o.then((r) => {
|
|
3214
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3202
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(Sr(r.attachments));
|
|
3215
3203
|
}).catch(() => {
|
|
3216
3204
|
this.dispatch(
|
|
3217
|
-
|
|
3205
|
+
gr(
|
|
3218
3206
|
a.map((r) => r.uuid)
|
|
3219
3207
|
)
|
|
3220
3208
|
);
|
|
@@ -3231,7 +3219,7 @@ class $S extends k {
|
|
|
3231
3219
|
blockers: [],
|
|
3232
3220
|
blocks: []
|
|
3233
3221
|
});
|
|
3234
|
-
this.dispatch(
|
|
3222
|
+
this.dispatch(yr(s));
|
|
3235
3223
|
}
|
|
3236
3224
|
}
|
|
3237
3225
|
class GS extends F {
|
|
@@ -3242,7 +3230,7 @@ class GS extends F {
|
|
|
3242
3230
|
created_by: i,
|
|
3243
3231
|
submitted_at: n
|
|
3244
3232
|
});
|
|
3245
|
-
this.dispatch(
|
|
3233
|
+
this.dispatch(Fr(a));
|
|
3246
3234
|
const c = this.enqueueRequest({
|
|
3247
3235
|
description: "Add Asset Procedure Fields",
|
|
3248
3236
|
method: u.POST,
|
|
@@ -3252,9 +3240,9 @@ class GS extends F {
|
|
|
3252
3240
|
blocks: [a.uuid]
|
|
3253
3241
|
});
|
|
3254
3242
|
return c.then((l) => {
|
|
3255
|
-
this.dispatch(
|
|
3243
|
+
this.dispatch(Or(l));
|
|
3256
3244
|
}).catch((l) => {
|
|
3257
|
-
throw this.dispatch(
|
|
3245
|
+
throw this.dispatch(Ir(a.uuid)), l;
|
|
3258
3246
|
}), [a, c];
|
|
3259
3247
|
}
|
|
3260
3248
|
async refreshStore(e) {
|
|
@@ -3268,7 +3256,7 @@ class GS extends F {
|
|
|
3268
3256
|
blockers: [],
|
|
3269
3257
|
blocks: []
|
|
3270
3258
|
});
|
|
3271
|
-
this.dispatch(
|
|
3259
|
+
this.dispatch(Rr(s));
|
|
3272
3260
|
}
|
|
3273
3261
|
}
|
|
3274
3262
|
function Ee(t, e) {
|
|
@@ -3329,7 +3317,7 @@ class BS extends k {
|
|
|
3329
3317
|
return Promise.all(l).then((d) => {
|
|
3330
3318
|
for (const p of d) this.processPresignedUrls(p.presigned_urls);
|
|
3331
3319
|
const h = d.flatMap((p) => p.attachments);
|
|
3332
|
-
this.dispatch(
|
|
3320
|
+
this.dispatch(kr(h));
|
|
3333
3321
|
}).catch((d) => {
|
|
3334
3322
|
throw this.dispatch(
|
|
3335
3323
|
Tt(
|
|
@@ -3342,7 +3330,7 @@ class BS extends k {
|
|
|
3342
3330
|
];
|
|
3343
3331
|
}
|
|
3344
3332
|
async bulkDelete(e) {
|
|
3345
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3333
|
+
const { store: s } = this.client, i = s.getState(), n = jr(e)(i);
|
|
3346
3334
|
this.dispatch(Tt(e));
|
|
3347
3335
|
try {
|
|
3348
3336
|
await this.enqueueRequest({
|
|
@@ -3368,7 +3356,7 @@ class BS extends k {
|
|
|
3368
3356
|
blockers: [],
|
|
3369
3357
|
blocks: []
|
|
3370
3358
|
});
|
|
3371
|
-
this.dispatch(
|
|
3359
|
+
this.dispatch(Er(s));
|
|
3372
3360
|
}
|
|
3373
3361
|
}
|
|
3374
3362
|
class LS extends F {
|
|
@@ -3417,7 +3405,7 @@ class LS extends F {
|
|
|
3417
3405
|
field_values: d
|
|
3418
3406
|
});
|
|
3419
3407
|
}
|
|
3420
|
-
this.dispatch(
|
|
3408
|
+
this.dispatch(xr(n));
|
|
3421
3409
|
const o = [];
|
|
3422
3410
|
for (const r of c) {
|
|
3423
3411
|
const d = r.field_values.map((g) => g.asset), h = r.field_values.map((g) => g.fields_revision), p = r.field_values.map((g) => g.asset_procedure_instance), f = r.field_values.map((g) => g.uuid), S = this.enqueueRequest({
|
|
@@ -3431,10 +3419,10 @@ class LS extends F {
|
|
|
3431
3419
|
o.push(S);
|
|
3432
3420
|
}
|
|
3433
3421
|
return Promise.all(o).then((r) => {
|
|
3434
|
-
this.dispatch(
|
|
3422
|
+
this.dispatch(zr(r.flat()));
|
|
3435
3423
|
}).catch(() => {
|
|
3436
3424
|
this.dispatch(
|
|
3437
|
-
|
|
3425
|
+
Vr(n.map((r) => r.uuid))
|
|
3438
3426
|
);
|
|
3439
3427
|
}), [n, o];
|
|
3440
3428
|
}
|
|
@@ -3469,7 +3457,7 @@ class LS extends F {
|
|
|
3469
3457
|
const { store: s } = this.client, i = s.getState(), n = is(e)(i);
|
|
3470
3458
|
if (!n)
|
|
3471
3459
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3472
|
-
const a =
|
|
3460
|
+
const a = Mr(e)(i);
|
|
3473
3461
|
this.dispatch(ss(e)), this.dispatch(
|
|
3474
3462
|
Tt(a.map((c) => c.uuid))
|
|
3475
3463
|
);
|
|
@@ -3496,7 +3484,7 @@ class LS extends F {
|
|
|
3496
3484
|
blockers: [],
|
|
3497
3485
|
blocks: []
|
|
3498
3486
|
});
|
|
3499
|
-
this.dispatch(
|
|
3487
|
+
this.dispatch(Dr(s));
|
|
3500
3488
|
}
|
|
3501
3489
|
}
|
|
3502
3490
|
class NS extends F {
|
|
@@ -3570,7 +3558,7 @@ class NS extends F {
|
|
|
3570
3558
|
blockers: [],
|
|
3571
3559
|
blocks: []
|
|
3572
3560
|
});
|
|
3573
|
-
this.dispatch(
|
|
3561
|
+
this.dispatch(Gr(s));
|
|
3574
3562
|
}
|
|
3575
3563
|
}
|
|
3576
3564
|
class HS extends F {
|
|
@@ -3623,15 +3611,15 @@ class HS extends F {
|
|
|
3623
3611
|
const { store: s } = this.client, i = s.getState(), n = ls(e)(i);
|
|
3624
3612
|
if (!n)
|
|
3625
3613
|
throw new Error(`Expected asset procedure with uuid ${e} to exist`);
|
|
3626
|
-
const a =
|
|
3627
|
-
return this.dispatch(us(e)), this.dispatch(
|
|
3614
|
+
const a = Nr(e)(i);
|
|
3615
|
+
return this.dispatch(us(e)), this.dispatch(Lr(a.map((c) => c.uuid))), this.enqueueRequest({
|
|
3628
3616
|
description: "Delete asset procedure",
|
|
3629
3617
|
method: u.DELETE,
|
|
3630
3618
|
url: `/asset-procedures/${e}/`,
|
|
3631
3619
|
blockers: [e],
|
|
3632
3620
|
blocks: []
|
|
3633
3621
|
}).catch((c) => {
|
|
3634
|
-
throw this.dispatch(ds(n)), this.dispatch(
|
|
3622
|
+
throw this.dispatch(ds(n)), this.dispatch(Br(a)), c;
|
|
3635
3623
|
});
|
|
3636
3624
|
}
|
|
3637
3625
|
async refreshStore(e) {
|
|
@@ -3645,7 +3633,7 @@ class HS extends F {
|
|
|
3645
3633
|
blockers: [],
|
|
3646
3634
|
blocks: []
|
|
3647
3635
|
});
|
|
3648
|
-
this.dispatch(
|
|
3636
|
+
this.dispatch(Wr(s));
|
|
3649
3637
|
}
|
|
3650
3638
|
}
|
|
3651
3639
|
class WS extends k {
|
|
@@ -3676,7 +3664,7 @@ class WS extends k {
|
|
|
3676
3664
|
};
|
|
3677
3665
|
c.push(g);
|
|
3678
3666
|
}
|
|
3679
|
-
this.dispatch(
|
|
3667
|
+
this.dispatch(Qr(a));
|
|
3680
3668
|
const o = this.enqueueRequest({
|
|
3681
3669
|
description: "Add asset procedure step fields attachments",
|
|
3682
3670
|
method: u.POST,
|
|
@@ -3690,10 +3678,10 @@ class WS extends k {
|
|
|
3690
3678
|
blocks: a.map((r) => r.uuid)
|
|
3691
3679
|
});
|
|
3692
3680
|
return o.then((r) => {
|
|
3693
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3681
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(Xr(r.attachments));
|
|
3694
3682
|
}).catch(() => {
|
|
3695
3683
|
this.dispatch(
|
|
3696
|
-
|
|
3684
|
+
Zr(
|
|
3697
3685
|
a.map((r) => r.uuid)
|
|
3698
3686
|
)
|
|
3699
3687
|
);
|
|
@@ -3710,7 +3698,7 @@ class WS extends k {
|
|
|
3710
3698
|
blockers: [],
|
|
3711
3699
|
blocks: []
|
|
3712
3700
|
});
|
|
3713
|
-
this.dispatch(
|
|
3701
|
+
this.dispatch(Jr(s));
|
|
3714
3702
|
}
|
|
3715
3703
|
}
|
|
3716
3704
|
class KS extends F {
|
|
@@ -3721,7 +3709,7 @@ class KS extends F {
|
|
|
3721
3709
|
created_by: i,
|
|
3722
3710
|
submitted_at: n
|
|
3723
3711
|
});
|
|
3724
|
-
this.dispatch(
|
|
3712
|
+
this.dispatch(no(a));
|
|
3725
3713
|
const c = this.enqueueRequest({
|
|
3726
3714
|
description: "Add Asset Procedure Step Fields",
|
|
3727
3715
|
method: u.POST,
|
|
@@ -3731,9 +3719,9 @@ class KS extends F {
|
|
|
3731
3719
|
blocks: [a.uuid]
|
|
3732
3720
|
});
|
|
3733
3721
|
return c.then((l) => {
|
|
3734
|
-
this.dispatch(
|
|
3722
|
+
this.dispatch(ao(l));
|
|
3735
3723
|
}).catch((l) => {
|
|
3736
|
-
throw this.dispatch(
|
|
3724
|
+
throw this.dispatch(co(a.uuid)), l;
|
|
3737
3725
|
}), [a, c];
|
|
3738
3726
|
}
|
|
3739
3727
|
async refreshStore(e) {
|
|
@@ -3747,7 +3735,7 @@ class KS extends F {
|
|
|
3747
3735
|
blockers: [],
|
|
3748
3736
|
blocks: []
|
|
3749
3737
|
});
|
|
3750
|
-
this.dispatch(
|
|
3738
|
+
this.dispatch(io(s));
|
|
3751
3739
|
}
|
|
3752
3740
|
}
|
|
3753
3741
|
class YS extends k {
|
|
@@ -3798,7 +3786,7 @@ class YS extends k {
|
|
|
3798
3786
|
return Promise.all(l).then((d) => {
|
|
3799
3787
|
for (const p of d) this.processPresignedUrls(p.presigned_urls);
|
|
3800
3788
|
const h = d.flatMap((p) => p.attachments);
|
|
3801
|
-
this.dispatch(
|
|
3789
|
+
this.dispatch(uo(h));
|
|
3802
3790
|
}).catch((d) => {
|
|
3803
3791
|
throw this.dispatch(
|
|
3804
3792
|
_t(
|
|
@@ -3811,7 +3799,7 @@ class YS extends k {
|
|
|
3811
3799
|
];
|
|
3812
3800
|
}
|
|
3813
3801
|
async bulkDelete(e) {
|
|
3814
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3802
|
+
const { store: s } = this.client, i = s.getState(), n = ho(e)(i);
|
|
3815
3803
|
this.dispatch(_t(e));
|
|
3816
3804
|
try {
|
|
3817
3805
|
await this.enqueueRequest({
|
|
@@ -3837,7 +3825,7 @@ class YS extends k {
|
|
|
3837
3825
|
blockers: [],
|
|
3838
3826
|
blocks: []
|
|
3839
3827
|
});
|
|
3840
|
-
this.dispatch(
|
|
3828
|
+
this.dispatch(oo(s));
|
|
3841
3829
|
}
|
|
3842
3830
|
}
|
|
3843
3831
|
class JS extends F {
|
|
@@ -3876,6 +3864,7 @@ class JS extends F {
|
|
|
3876
3864
|
asset: h.asset,
|
|
3877
3865
|
fields_revision: h.fields_revision,
|
|
3878
3866
|
asset_procedure_instance: h.asset_procedure_instance,
|
|
3867
|
+
asset_procedure_step: h.asset_procedure_step,
|
|
3879
3868
|
published_at: h.published_at,
|
|
3880
3869
|
values: p.values
|
|
3881
3870
|
});
|
|
@@ -3886,7 +3875,7 @@ class JS extends F {
|
|
|
3886
3875
|
field_values: d
|
|
3887
3876
|
});
|
|
3888
3877
|
}
|
|
3889
|
-
this.dispatch(
|
|
3878
|
+
this.dispatch(Ao(n));
|
|
3890
3879
|
const o = [];
|
|
3891
3880
|
for (const r of c) {
|
|
3892
3881
|
const d = r.field_values.map((g) => g.asset), h = r.field_values.map((g) => g.fields_revision), p = r.field_values.map((g) => g.asset_procedure_instance), f = r.field_values.map((g) => g.uuid), S = this.enqueueRequest({
|
|
@@ -3900,10 +3889,10 @@ class JS extends F {
|
|
|
3900
3889
|
o.push(S);
|
|
3901
3890
|
}
|
|
3902
3891
|
return Promise.all(o).then((r) => {
|
|
3903
|
-
this.dispatch(
|
|
3892
|
+
this.dispatch(yo(r.flat()));
|
|
3904
3893
|
}).catch(() => {
|
|
3905
3894
|
this.dispatch(
|
|
3906
|
-
|
|
3895
|
+
bo(
|
|
3907
3896
|
n.map((r) => r.uuid)
|
|
3908
3897
|
)
|
|
3909
3898
|
);
|
|
@@ -3940,7 +3929,7 @@ class JS extends F {
|
|
|
3940
3929
|
const { store: s } = this.client, i = s.getState(), n = bs(e)(i);
|
|
3941
3930
|
if (!n)
|
|
3942
3931
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3943
|
-
const a =
|
|
3932
|
+
const a = po(e)(i);
|
|
3944
3933
|
this.dispatch(ys(e)), this.dispatch(
|
|
3945
3934
|
_t(a.map((c) => c.uuid))
|
|
3946
3935
|
);
|
|
@@ -3967,7 +3956,7 @@ class JS extends F {
|
|
|
3967
3956
|
blockers: [],
|
|
3968
3957
|
blocks: []
|
|
3969
3958
|
});
|
|
3970
|
-
this.dispatch(
|
|
3959
|
+
this.dispatch(fo(s));
|
|
3971
3960
|
}
|
|
3972
3961
|
}
|
|
3973
3962
|
class QS extends F {
|
|
@@ -4121,7 +4110,7 @@ class XS extends F {
|
|
|
4121
4110
|
async remove(e) {
|
|
4122
4111
|
const { store: s } = this.client, i = s.getState(), n = Is(e)(i);
|
|
4123
4112
|
if (!n) throw new Error(`No asset with uuid ${e} found in the store`);
|
|
4124
|
-
const a =
|
|
4113
|
+
const a = ar(e)(i), c = wu(e)(i), o = Nu(e)(i);
|
|
4125
4114
|
if (this.dispatch(Os(e)), a.length > 0) {
|
|
4126
4115
|
const l = a.map(({ uuid: r }) => r);
|
|
4127
4116
|
this.dispatch(Sn(l));
|
|
@@ -4132,7 +4121,7 @@ class XS extends F {
|
|
|
4132
4121
|
}
|
|
4133
4122
|
if (o.length > 0) {
|
|
4134
4123
|
const l = o.map(({ uuid: r }) => r);
|
|
4135
|
-
this.dispatch(
|
|
4124
|
+
this.dispatch(Fa(l));
|
|
4136
4125
|
}
|
|
4137
4126
|
return this.enqueueRequest({
|
|
4138
4127
|
description: "Delete asset",
|
|
@@ -4141,7 +4130,7 @@ class XS extends F {
|
|
|
4141
4130
|
blockers: [e],
|
|
4142
4131
|
blocks: []
|
|
4143
4132
|
}).catch((l) => {
|
|
4144
|
-
throw this.dispatch(Fs(n)), this.dispatch(bn(a)), this.dispatch(xt(c)), this.dispatch(
|
|
4133
|
+
throw this.dispatch(Fs(n)), this.dispatch(bn(a)), this.dispatch(xt(c)), this.dispatch(Ra(o)), l;
|
|
4145
4134
|
});
|
|
4146
4135
|
}
|
|
4147
4136
|
bulkAdd(e, s, i, n) {
|
|
@@ -4176,7 +4165,7 @@ class XS extends F {
|
|
|
4176
4165
|
}
|
|
4177
4166
|
return Promise.all(l).then((d) => {
|
|
4178
4167
|
const h = d.flat();
|
|
4179
|
-
this.dispatch(
|
|
4168
|
+
this.dispatch(Gn(h));
|
|
4180
4169
|
}), l;
|
|
4181
4170
|
}
|
|
4182
4171
|
async refreshStore(e) {
|
|
@@ -4393,9 +4382,9 @@ class tg extends Te {
|
|
|
4393
4382
|
super(...arguments);
|
|
4394
4383
|
A(this, "name", "Asset Type Attachment");
|
|
4395
4384
|
A(this, "url", "/asset-type-attachments");
|
|
4396
|
-
A(this, "addAttachments",
|
|
4385
|
+
A(this, "addAttachments", Yn);
|
|
4397
4386
|
A(this, "updateAttachments", Bo);
|
|
4398
|
-
A(this, "removeAttachments",
|
|
4387
|
+
A(this, "removeAttachments", Jn);
|
|
4399
4388
|
A(this, "removeAttachment", Lo);
|
|
4400
4389
|
A(this, "setAttachment", Go);
|
|
4401
4390
|
A(this, "selectAttachment", Wo);
|
|
@@ -4808,15 +4797,15 @@ class cg extends F {
|
|
|
4808
4797
|
const { store: s } = this.client, i = s.getState(), n = Ys(e)(i);
|
|
4809
4798
|
if (!n)
|
|
4810
4799
|
throw new Error(`Expected asset type with uuid ${e} to exist`);
|
|
4811
|
-
const a =
|
|
4812
|
-
return this.dispatch(Ks(e)), this.dispatch(Io(a.map((o) => o.uuid))), this.dispatch(
|
|
4800
|
+
const a = Ln(e)(i), c = Ko(e)(i);
|
|
4801
|
+
return this.dispatch(Ks(e)), this.dispatch(Io(a.map((o) => o.uuid))), this.dispatch(Jn(c.map(({ uuid: o }) => o))), this.enqueueRequest({
|
|
4813
4802
|
description: "Delete asset type",
|
|
4814
4803
|
method: u.DELETE,
|
|
4815
4804
|
url: `/asset-types/${e}/`,
|
|
4816
4805
|
blockers: [e],
|
|
4817
4806
|
blocks: []
|
|
4818
4807
|
}).catch((o) => {
|
|
4819
|
-
throw this.dispatch(Ws(n)), this.dispatch(
|
|
4808
|
+
throw this.dispatch(Ws(n)), this.dispatch(Gn(a)), this.dispatch(Yn(c)), o;
|
|
4820
4809
|
});
|
|
4821
4810
|
}
|
|
4822
4811
|
async refreshStore(e) {
|
|
@@ -5197,7 +5186,7 @@ class hg extends F {
|
|
|
5197
5186
|
A(this, "host");
|
|
5198
5187
|
// NOTE: If you alter the schema (of the IndexedDB database) in any way, you must increment the version in order to
|
|
5199
5188
|
// migrate the store. This allows idb to automatically migrate the user's existing data to the new schema.
|
|
5200
|
-
A(this, "_dbPromise",
|
|
5189
|
+
A(this, "_dbPromise", Fc("fileCache", 1, {
|
|
5201
5190
|
upgrade(s) {
|
|
5202
5191
|
s.createObjectStore("files");
|
|
5203
5192
|
}
|
|
@@ -5296,7 +5285,7 @@ class hg extends F {
|
|
|
5296
5285
|
return c;
|
|
5297
5286
|
}
|
|
5298
5287
|
if (s.startsWith("blob:")) {
|
|
5299
|
-
const d = await
|
|
5288
|
+
const d = await Lc(s), h = new File([d], n ?? i, { type: d.type });
|
|
5300
5289
|
return await this.addCache(h, i), h;
|
|
5301
5290
|
}
|
|
5302
5291
|
let o = nt[a], l = !0;
|
|
@@ -5339,7 +5328,7 @@ class hg extends F {
|
|
|
5339
5328
|
if (!h)
|
|
5340
5329
|
throw new Error("File has no extension");
|
|
5341
5330
|
const p = n ?? d + "." + h;
|
|
5342
|
-
if (r =
|
|
5331
|
+
if (r = Bc(r, p), !r.name)
|
|
5343
5332
|
throw new Error("Failed to set file's name");
|
|
5344
5333
|
await this.addCache(r, d), nt[a] = new Promise((f) => {
|
|
5345
5334
|
f(r);
|
|
@@ -5419,7 +5408,7 @@ class mg extends k {
|
|
|
5419
5408
|
created_by: n,
|
|
5420
5409
|
submitted_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
5421
5410
|
});
|
|
5422
|
-
this.dispatch(
|
|
5411
|
+
this.dispatch(ma(a));
|
|
5423
5412
|
const c = this.enqueueRequest({
|
|
5424
5413
|
description: "Create form revision",
|
|
5425
5414
|
method: u.POST,
|
|
@@ -5431,7 +5420,7 @@ class mg extends k {
|
|
|
5431
5420
|
return c.then((l) => {
|
|
5432
5421
|
this.dispatch(du(l));
|
|
5433
5422
|
}).catch(() => {
|
|
5434
|
-
this.dispatch(
|
|
5423
|
+
this.dispatch(fa(a.uuid));
|
|
5435
5424
|
}), [a, c];
|
|
5436
5425
|
}
|
|
5437
5426
|
async refreshStore(e) {
|
|
@@ -5461,7 +5450,7 @@ class fg extends k {
|
|
|
5461
5450
|
submitted_at: n,
|
|
5462
5451
|
created_by: a
|
|
5463
5452
|
});
|
|
5464
|
-
this.dispatch(ri(c)), this.dispatch(
|
|
5453
|
+
this.dispatch(ri(c)), this.dispatch(ma(o));
|
|
5465
5454
|
const l = this.enqueueRequest({
|
|
5466
5455
|
description: "Create form",
|
|
5467
5456
|
method: u.POST,
|
|
@@ -5480,7 +5469,7 @@ class fg extends k {
|
|
|
5480
5469
|
blocks: [c.uuid, o.uuid]
|
|
5481
5470
|
});
|
|
5482
5471
|
return l.catch((d) => {
|
|
5483
|
-
throw this.dispatch(oi(c.uuid)), this.dispatch(
|
|
5472
|
+
throw this.dispatch(oi(c.uuid)), this.dispatch(fa(o.uuid)), d;
|
|
5484
5473
|
}), [c, o, l];
|
|
5485
5474
|
}
|
|
5486
5475
|
async delete(e) {
|
|
@@ -5874,9 +5863,9 @@ class gg extends Te {
|
|
|
5874
5863
|
A(this, "name", "Issue Attachment");
|
|
5875
5864
|
A(this, "url", "/issue-attachments");
|
|
5876
5865
|
A(this, "initializeAttachments", Ti);
|
|
5877
|
-
A(this, "addAttachments",
|
|
5866
|
+
A(this, "addAttachments", Ia);
|
|
5878
5867
|
A(this, "updateAttachments", Ku);
|
|
5879
|
-
A(this, "removeAttachments",
|
|
5868
|
+
A(this, "removeAttachments", va);
|
|
5880
5869
|
A(this, "removeAttachment", Yu);
|
|
5881
5870
|
A(this, "setAttachment", Wu);
|
|
5882
5871
|
A(this, "selectAttachment", Zu);
|
|
@@ -6157,7 +6146,7 @@ class _g extends F {
|
|
|
6157
6146
|
for (const d of Lu(e)(i))
|
|
6158
6147
|
l[d.uuid] = d;
|
|
6159
6148
|
const r = Object.values(l);
|
|
6160
|
-
this.dispatch(ki(e)), a.length > 0 && this.dispatch(
|
|
6149
|
+
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)));
|
|
6161
6150
|
try {
|
|
6162
6151
|
return await this.enqueueRequest({
|
|
6163
6152
|
description: "Delete issue",
|
|
@@ -6167,7 +6156,7 @@ class _g extends F {
|
|
|
6167
6156
|
blocks: []
|
|
6168
6157
|
});
|
|
6169
6158
|
} catch (d) {
|
|
6170
|
-
throw this.dispatch(Ei(n)), this.dispatch(
|
|
6159
|
+
throw this.dispatch(Ei(n)), this.dispatch(Ia(a)), this.dispatch(ih(c)), this.dispatch(xt(o)), this.dispatch(Ra(r)), d;
|
|
6171
6160
|
}
|
|
6172
6161
|
}
|
|
6173
6162
|
async refreshStore(e) {
|
|
@@ -6544,7 +6533,7 @@ class wg extends F {
|
|
|
6544
6533
|
const { store: s } = this.client, i = s.getState(), n = Li(e)(i);
|
|
6545
6534
|
if (!n)
|
|
6546
6535
|
throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
|
|
6547
|
-
const a =
|
|
6536
|
+
const a = Ua(e)(i);
|
|
6548
6537
|
this.dispatch(Bi(e)), this.dispatch(fl(a.map((o) => o.uuid)));
|
|
6549
6538
|
const c = this.enqueueRequest({
|
|
6550
6539
|
method: u.DELETE,
|
|
@@ -6631,7 +6620,7 @@ class kg extends Gp {
|
|
|
6631
6620
|
* Logs the user out
|
|
6632
6621
|
*/
|
|
6633
6622
|
clearAuth() {
|
|
6634
|
-
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(_d(!1)), this.clearTokens(), this.dispatch({ type:
|
|
6623
|
+
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(_d(!1)), this.clearTokens(), this.dispatch({ type: Oc }), this.dispatch({ type: Dc });
|
|
6635
6624
|
}
|
|
6636
6625
|
/**
|
|
6637
6626
|
* Attempts to renew tokens
|
|
@@ -6657,7 +6646,7 @@ class kg extends Gp {
|
|
|
6657
6646
|
const i = Date.now() / 1e3;
|
|
6658
6647
|
let n;
|
|
6659
6648
|
try {
|
|
6660
|
-
n =
|
|
6649
|
+
n = Ic(s).exp ?? i;
|
|
6661
6650
|
} catch {
|
|
6662
6651
|
n = i;
|
|
6663
6652
|
}
|
|
@@ -6933,7 +6922,7 @@ class Cg extends F {
|
|
|
6933
6922
|
blockers: [],
|
|
6934
6923
|
blocks: []
|
|
6935
6924
|
});
|
|
6936
|
-
this.dispatch(
|
|
6925
|
+
this.dispatch(Wa(s));
|
|
6937
6926
|
}
|
|
6938
6927
|
}
|
|
6939
6928
|
class Dg extends Te {
|
|
@@ -6943,7 +6932,7 @@ class Dg extends Te {
|
|
|
6943
6932
|
A(this, "url", "/project-attachments");
|
|
6944
6933
|
A(this, "addAttachments", Nh);
|
|
6945
6934
|
A(this, "updateAttachments", Kh);
|
|
6946
|
-
A(this, "removeAttachments",
|
|
6935
|
+
A(this, "removeAttachments", Za);
|
|
6947
6936
|
A(this, "removeAttachment", Yh);
|
|
6948
6937
|
A(this, "setAttachment", Hh);
|
|
6949
6938
|
A(this, "selectAttachment", Xh);
|
|
@@ -7103,7 +7092,7 @@ class zg extends F {
|
|
|
7103
7092
|
const c = dp(i).filter((d) => d.project === e);
|
|
7104
7093
|
this.dispatch(np(c.map(({ uuid: d }) => d)));
|
|
7105
7094
|
const o = Zh(a.uuid)(i);
|
|
7106
|
-
this.dispatch(
|
|
7095
|
+
this.dispatch(Za(o.map(({ uuid: d }) => d)));
|
|
7107
7096
|
const l = _h(i);
|
|
7108
7097
|
this.dispatch(Ph(l.map(({ uuid: d }) => d))), this.dispatch({ type: "rehydrated/setRehydrated", payload: !1 }), this.dispatch(vh(a.uuid));
|
|
7109
7098
|
const r = uh(a.uuid)(i);
|
|
@@ -7117,7 +7106,7 @@ class zg extends F {
|
|
|
7117
7106
|
blocks: []
|
|
7118
7107
|
}), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 });
|
|
7119
7108
|
} catch (d) {
|
|
7120
|
-
throw this.dispatch(Oh(Object.values(n))), this.dispatch(
|
|
7109
|
+
throw this.dispatch(Oh(Object.values(n))), this.dispatch(Wa(Object.values(l))), this.dispatch(sp(c)), this.dispatch(Wh(o)), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }), r && this.dispatch(ge({ ...r, project: a.uuid })), d;
|
|
7121
7110
|
}
|
|
7122
7111
|
}
|
|
7123
7112
|
invite(e, s) {
|
|
@@ -7304,7 +7293,7 @@ class $g {
|
|
|
7304
7293
|
});
|
|
7305
7294
|
}
|
|
7306
7295
|
_enqueueRequest(e, s, i) {
|
|
7307
|
-
const n = new
|
|
7296
|
+
const n = new xc(), a = { ...e, BASE_URL: s, serviceName: i };
|
|
7308
7297
|
if (e.immediate) {
|
|
7309
7298
|
const c = {
|
|
7310
7299
|
...a,
|
|
@@ -7323,10 +7312,10 @@ class $g {
|
|
|
7323
7312
|
}
|
|
7324
7313
|
}
|
|
7325
7314
|
};
|
|
7326
|
-
|
|
7315
|
+
pc(o, this).then((l) => {
|
|
7327
7316
|
n.resolve(l.body);
|
|
7328
7317
|
}).catch((l) => {
|
|
7329
|
-
|
|
7318
|
+
Ac(l, o), l instanceof Error ? n.reject(l) : n.reject(new Error((l ?? He).toString()));
|
|
7330
7319
|
});
|
|
7331
7320
|
} else {
|
|
7332
7321
|
const c = this.store.dispatch(
|
|
@@ -7364,7 +7353,7 @@ class Be {
|
|
|
7364
7353
|
constructor() {
|
|
7365
7354
|
A(this, "graph");
|
|
7366
7355
|
A(this, "requestAttemptCounter");
|
|
7367
|
-
this.graph = new
|
|
7356
|
+
this.graph = new vc(), this.requestAttemptCounter = {};
|
|
7368
7357
|
}
|
|
7369
7358
|
/**
|
|
7370
7359
|
* Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
|
|
@@ -7532,18 +7521,18 @@ export {
|
|
|
7532
7521
|
sg as AssetTypeFieldsAttachmentService,
|
|
7533
7522
|
ig as AssetTypeFieldsService,
|
|
7534
7523
|
cg as AssetTypeService,
|
|
7535
|
-
|
|
7524
|
+
kc as AttachmentModel,
|
|
7536
7525
|
F as BaseApiService,
|
|
7537
7526
|
$g as BaseSDK,
|
|
7538
|
-
|
|
7527
|
+
Nc as COMMON_AUTO_FIELDS,
|
|
7539
7528
|
rg as CategoryService,
|
|
7540
7529
|
lm as DEFAULT_ISSUE_PRIORITY,
|
|
7541
7530
|
um as DEFAULT_ISSUE_STATUS,
|
|
7542
|
-
|
|
7531
|
+
xc as DeferredPromise,
|
|
7543
7532
|
og as DocumentAttachmentService,
|
|
7544
7533
|
dg as DocumentService,
|
|
7545
|
-
|
|
7546
|
-
|
|
7534
|
+
wc as EMPTY_ARRAY,
|
|
7535
|
+
Ec as EMPTY_OBJECT,
|
|
7547
7536
|
ug as EmailDomainsService,
|
|
7548
7537
|
lg as EmailVerificationService,
|
|
7549
7538
|
hg as FileService,
|
|
@@ -7570,15 +7559,15 @@ export {
|
|
|
7570
7559
|
E as IssueUpdateChange,
|
|
7571
7560
|
Eg as IssueUpdateService,
|
|
7572
7561
|
kg as JWTService,
|
|
7573
|
-
|
|
7562
|
+
jc as LicenseLevel,
|
|
7574
7563
|
qg as LicenseService,
|
|
7575
|
-
|
|
7576
|
-
|
|
7564
|
+
Mc as LicenseStatus,
|
|
7565
|
+
Cc as OUTBOX_RETRY_DELAY,
|
|
7577
7566
|
ln as OrganizationAccessLevel,
|
|
7578
7567
|
jg as OrganizationAccessService,
|
|
7579
7568
|
Mg as OrganizationService,
|
|
7580
7569
|
Be as OutboxCoordinator,
|
|
7581
|
-
|
|
7570
|
+
qc as PaddleCheckoutEvent,
|
|
7582
7571
|
un as ProjectAccessLevel,
|
|
7583
7572
|
Cg as ProjectAccessService,
|
|
7584
7573
|
Dg as ProjectAttachmentService,
|
|
@@ -7596,25 +7585,25 @@ export {
|
|
|
7596
7585
|
bn as addAssetAttachments,
|
|
7597
7586
|
ds as addAssetProcedure,
|
|
7598
7587
|
xm as addAssetProcedureAttachment,
|
|
7599
|
-
|
|
7588
|
+
or as addAssetProcedureAttachments,
|
|
7600
7589
|
ts as addAssetProcedureFieldValues,
|
|
7601
7590
|
sf as addAssetProcedureFieldValuesAttachment,
|
|
7602
7591
|
gt as addAssetProcedureFieldValuesAttachments,
|
|
7603
|
-
|
|
7604
|
-
|
|
7592
|
+
xr as addAssetProcedureFieldValuesMany,
|
|
7593
|
+
Fr as addAssetProcedureFields,
|
|
7605
7594
|
$m as addAssetProcedureFieldsAttachment,
|
|
7606
|
-
|
|
7595
|
+
br as addAssetProcedureFieldsAttachments,
|
|
7607
7596
|
Km as addAssetProcedureFieldsMany,
|
|
7608
7597
|
as as addAssetProcedureInstance,
|
|
7609
|
-
|
|
7598
|
+
Br as addAssetProcedureInstances,
|
|
7610
7599
|
Zf as addAssetProcedureStep,
|
|
7611
7600
|
As as addAssetProcedureStepFieldValues,
|
|
7612
7601
|
$f as addAssetProcedureStepFieldValuesAttachment,
|
|
7613
7602
|
Pt as addAssetProcedureStepFieldValuesAttachments,
|
|
7614
|
-
|
|
7615
|
-
|
|
7603
|
+
Ao as addAssetProcedureStepFieldValuesMany,
|
|
7604
|
+
no as addAssetProcedureStepFields,
|
|
7616
7605
|
Ff as addAssetProcedureStepFieldsAttachment,
|
|
7617
|
-
|
|
7606
|
+
Qr as addAssetProcedureStepFieldsAttachments,
|
|
7618
7607
|
qf as addAssetProcedureStepFieldsMany,
|
|
7619
7608
|
gs as addAssetProcedureSteps,
|
|
7620
7609
|
bf as addAssetProcedures,
|
|
@@ -7624,7 +7613,7 @@ export {
|
|
|
7624
7613
|
Ms as addAssetStages,
|
|
7625
7614
|
Ws as addAssetType,
|
|
7626
7615
|
mA as addAssetTypeAttachment,
|
|
7627
|
-
|
|
7616
|
+
Yn as addAssetTypeAttachments,
|
|
7628
7617
|
Bs as addAssetTypeFieldValues,
|
|
7629
7618
|
qA as addAssetTypeFieldValuesAttachment,
|
|
7630
7619
|
Rt as addAssetTypeFieldValuesAttachments,
|
|
@@ -7634,15 +7623,15 @@ export {
|
|
|
7634
7623
|
Qo as addAssetTypeFieldsAttachments,
|
|
7635
7624
|
RA as addAssetTypeFieldsMany,
|
|
7636
7625
|
LA as addAssetTypes,
|
|
7637
|
-
|
|
7626
|
+
Gn as addAssets,
|
|
7638
7627
|
Xs as addCategory,
|
|
7639
|
-
|
|
7628
|
+
Yc as addConversation,
|
|
7640
7629
|
sy as addDocumentAttachment,
|
|
7641
7630
|
Ed as addDocumentAttachments,
|
|
7642
7631
|
Ud as addDocuments,
|
|
7643
7632
|
Wd as addEmailDomain,
|
|
7644
7633
|
ri as addForm,
|
|
7645
|
-
|
|
7634
|
+
ma as addFormRevision,
|
|
7646
7635
|
uy as addFormRevisionAttachment,
|
|
7647
7636
|
iu as addFormRevisionAttachments,
|
|
7648
7637
|
lu as addFormRevisions,
|
|
@@ -7655,9 +7644,9 @@ export {
|
|
|
7655
7644
|
Mu as addGeoImages,
|
|
7656
7645
|
Ei as addIssue,
|
|
7657
7646
|
bi as addIssueAssociation,
|
|
7658
|
-
|
|
7647
|
+
Ra as addIssueAssociations,
|
|
7659
7648
|
Cy as addIssueAttachment,
|
|
7660
|
-
|
|
7649
|
+
Ia as addIssueAttachments,
|
|
7661
7650
|
Oi as addIssueComment,
|
|
7662
7651
|
zy as addIssueCommentAttachment,
|
|
7663
7652
|
tl as addIssueCommentAttachments,
|
|
@@ -7688,60 +7677,60 @@ export {
|
|
|
7688
7677
|
mp as addTeam,
|
|
7689
7678
|
Cb as addUser,
|
|
7690
7679
|
Mb as addUsers,
|
|
7691
|
-
|
|
7680
|
+
Xc as agentsReducer,
|
|
7692
7681
|
fn as agentsSlice,
|
|
7693
7682
|
ym as areArraysEqual,
|
|
7694
|
-
|
|
7683
|
+
cr as assetAttachmentReducer,
|
|
7695
7684
|
yn as assetAttachmentSlice,
|
|
7696
|
-
|
|
7685
|
+
Ar as assetProcedureAttachmentReducer,
|
|
7697
7686
|
gn as assetProcedureAttachmentSlice,
|
|
7698
|
-
|
|
7687
|
+
Cr as assetProcedureFieldValuesAttachmentReducer,
|
|
7699
7688
|
Rn as assetProcedureFieldValuesAttachmentSlice,
|
|
7700
|
-
|
|
7689
|
+
$r as assetProcedureFieldValuesReducer,
|
|
7701
7690
|
On as assetProcedureFieldValuesSlice,
|
|
7702
|
-
|
|
7691
|
+
_r as assetProcedureFieldsAttachmentReducer,
|
|
7703
7692
|
Tn as assetProcedureFieldsAttachmentSlice,
|
|
7704
|
-
|
|
7693
|
+
wr as assetProcedureFieldsReducer,
|
|
7705
7694
|
Pn as assetProcedureFieldsSlice,
|
|
7706
|
-
|
|
7695
|
+
Hr as assetProcedureInstanceReducer,
|
|
7707
7696
|
vn as assetProcedureInstanceSlice,
|
|
7708
|
-
|
|
7697
|
+
Yr as assetProcedureReducer,
|
|
7709
7698
|
kn as assetProcedureSlice,
|
|
7710
|
-
|
|
7711
|
-
|
|
7699
|
+
mo as assetProcedureStepFieldValuesAttachmentReducer,
|
|
7700
|
+
xn as assetProcedureStepFieldValuesAttachmentSlice,
|
|
7712
7701
|
go as assetProcedureStepFieldValuesReducer,
|
|
7713
|
-
|
|
7714
|
-
|
|
7702
|
+
Vn as assetProcedureStepFieldValuesSlice,
|
|
7703
|
+
so as assetProcedureStepFieldsAttachmentReducer,
|
|
7715
7704
|
jn as assetProcedureStepFieldsAttachmentSlice,
|
|
7716
|
-
|
|
7705
|
+
ro as assetProcedureStepFieldsReducer,
|
|
7717
7706
|
Mn as assetProcedureStepFieldsSlice,
|
|
7718
7707
|
_o as assetProcedureStepReducer,
|
|
7719
|
-
|
|
7708
|
+
Un as assetProcedureStepSlice,
|
|
7720
7709
|
wo as assetReducer,
|
|
7721
|
-
|
|
7710
|
+
$n as assetSlice,
|
|
7722
7711
|
jo as assetStageCompletionReducer,
|
|
7723
|
-
|
|
7712
|
+
Nn as assetStageCompletionSlice,
|
|
7724
7713
|
zo as assetStageReducer,
|
|
7725
|
-
|
|
7714
|
+
Wn as assetStageSlice,
|
|
7726
7715
|
Yo as assetTypeAttachmentReducer,
|
|
7727
|
-
|
|
7716
|
+
Kn as assetTypeAttachmentSlice,
|
|
7728
7717
|
md as assetTypeFieldValuesAttachmentReducer,
|
|
7729
|
-
|
|
7718
|
+
Zn as assetTypeFieldValuesAttachmentSlice,
|
|
7730
7719
|
gd as assetTypeFieldValuesReducer,
|
|
7731
|
-
|
|
7720
|
+
ta as assetTypeFieldValuesSlice,
|
|
7732
7721
|
sd as assetTypeFieldsAttachmentReducer,
|
|
7733
|
-
|
|
7722
|
+
Qn as assetTypeFieldsAttachmentSlice,
|
|
7734
7723
|
od as assetTypeFieldsReducer,
|
|
7735
|
-
|
|
7724
|
+
Xn as assetTypeFieldsSlice,
|
|
7736
7725
|
Pd as assetTypeReducer,
|
|
7737
|
-
|
|
7726
|
+
ia as assetTypeSlice,
|
|
7738
7727
|
Rd as authReducer,
|
|
7739
7728
|
Ct as authSlice,
|
|
7740
7729
|
CS as baseReducer,
|
|
7741
|
-
|
|
7730
|
+
ac as baseReducers,
|
|
7742
7731
|
_m as blobToBase64,
|
|
7743
7732
|
vd as categoryReducer,
|
|
7744
|
-
|
|
7733
|
+
aa as categorySlice,
|
|
7745
7734
|
JA as clearTokens,
|
|
7746
7735
|
Pm as constructUploadedFilePayloads,
|
|
7747
7736
|
fm as coordinatesAreEqual,
|
|
@@ -7752,29 +7741,29 @@ export {
|
|
|
7752
7741
|
pm as createPointGeometry,
|
|
7753
7742
|
hm as createSelectionAdapter,
|
|
7754
7743
|
Os as deleteAsset,
|
|
7755
|
-
|
|
7744
|
+
tr as deleteAssetAttachment,
|
|
7756
7745
|
Sn as deleteAssetAttachments,
|
|
7757
7746
|
us as deleteAssetProcedure,
|
|
7758
|
-
|
|
7759
|
-
|
|
7747
|
+
lr as deleteAssetProcedureAttachment,
|
|
7748
|
+
hr as deleteAssetProcedureAttachments,
|
|
7760
7749
|
ss as deleteAssetProcedureFieldValues,
|
|
7761
7750
|
rf as deleteAssetProcedureFieldValuesAttachment,
|
|
7762
7751
|
Tt as deleteAssetProcedureFieldValuesAttachments,
|
|
7763
|
-
|
|
7764
|
-
|
|
7752
|
+
Vr as deleteAssetProcedureFieldValuesMany,
|
|
7753
|
+
Ir as deleteAssetProcedureFields,
|
|
7765
7754
|
Nm as deleteAssetProcedureFieldsAttachment,
|
|
7766
|
-
|
|
7755
|
+
gr as deleteAssetProcedureFieldsAttachments,
|
|
7767
7756
|
Xm as deleteAssetProcedureFieldsMany,
|
|
7768
7757
|
cs as deleteAssetProcedureInstance,
|
|
7769
|
-
|
|
7758
|
+
Lr as deleteAssetProcedureInstances,
|
|
7770
7759
|
eA as deleteAssetProcedureStep,
|
|
7771
7760
|
ys as deleteAssetProcedureStepFieldValues,
|
|
7772
7761
|
Nf as deleteAssetProcedureStepFieldValuesAttachment,
|
|
7773
7762
|
_t as deleteAssetProcedureStepFieldValuesAttachments,
|
|
7774
|
-
|
|
7775
|
-
|
|
7763
|
+
bo as deleteAssetProcedureStepFieldValuesMany,
|
|
7764
|
+
co as deleteAssetProcedureStepFields,
|
|
7776
7765
|
wf as deleteAssetProcedureStepFieldsAttachment,
|
|
7777
|
-
|
|
7766
|
+
Zr as deleteAssetProcedureStepFieldsAttachments,
|
|
7778
7767
|
Df as deleteAssetProcedureStepFieldsMany,
|
|
7779
7768
|
Ps as deleteAssetProcedureSteps,
|
|
7780
7769
|
gf as deleteAssetProcedures,
|
|
@@ -7784,7 +7773,7 @@ export {
|
|
|
7784
7773
|
Ds as deleteAssetStages,
|
|
7785
7774
|
Ks as deleteAssetType,
|
|
7786
7775
|
Lo as deleteAssetTypeAttachment,
|
|
7787
|
-
|
|
7776
|
+
Jn as deleteAssetTypeAttachments,
|
|
7788
7777
|
Ls as deleteAssetTypeFieldValues,
|
|
7789
7778
|
DA as deleteAssetTypeFieldValuesAttachment,
|
|
7790
7779
|
Ft as deleteAssetTypeFieldValuesAttachments,
|
|
@@ -7800,7 +7789,7 @@ export {
|
|
|
7800
7789
|
Md as deleteDocumentAttachments,
|
|
7801
7790
|
Kd as deleteEmailDomain,
|
|
7802
7791
|
oi as deleteForm,
|
|
7803
|
-
|
|
7792
|
+
fa as deleteFormRevision,
|
|
7804
7793
|
my as deleteFormRevisionAttachment,
|
|
7805
7794
|
au as deleteFormRevisionAttachments,
|
|
7806
7795
|
hu as deleteFormRevisions,
|
|
@@ -7812,9 +7801,9 @@ export {
|
|
|
7812
7801
|
Du as deleteGeoImages,
|
|
7813
7802
|
ki as deleteIssue,
|
|
7814
7803
|
Si as deleteIssueAssociation,
|
|
7815
|
-
|
|
7804
|
+
Fa as deleteIssueAssociations,
|
|
7816
7805
|
Yu as deleteIssueAttachment,
|
|
7817
|
-
|
|
7806
|
+
va as deleteIssueAttachments,
|
|
7818
7807
|
Ii as deleteIssueComment,
|
|
7819
7808
|
nl as deleteIssueCommentAttachment,
|
|
7820
7809
|
al as deleteIssueCommentAttachments,
|
|
@@ -7839,7 +7828,7 @@ export {
|
|
|
7839
7828
|
Th as deleteProjectAccess,
|
|
7840
7829
|
Ph as deleteProjectAccesses,
|
|
7841
7830
|
Yh as deleteProjectAttachment,
|
|
7842
|
-
|
|
7831
|
+
Za as deleteProjectAttachments,
|
|
7843
7832
|
ip as deleteProjectFile,
|
|
7844
7833
|
np as deleteProjectFiles,
|
|
7845
7834
|
eS as deleteProjects,
|
|
@@ -7847,56 +7836,56 @@ export {
|
|
|
7847
7836
|
zb as deleteUser,
|
|
7848
7837
|
Vb as deleteUsers,
|
|
7849
7838
|
vp as dequeue,
|
|
7850
|
-
|
|
7839
|
+
Ac as discard,
|
|
7851
7840
|
zd as documentAttachmentReducer,
|
|
7852
|
-
|
|
7853
|
-
|
|
7841
|
+
ra as documentAttachmentSlice,
|
|
7842
|
+
oa as documentSlice,
|
|
7854
7843
|
Ld as documentsReducer,
|
|
7855
7844
|
Rm as downloadFile,
|
|
7856
7845
|
Tm as downloadInMemoryFile,
|
|
7857
7846
|
Qd as emailDomainsReducer,
|
|
7858
|
-
|
|
7847
|
+
da as emailDomainsSlice,
|
|
7859
7848
|
km as emailRegex,
|
|
7860
7849
|
Ip as enqueue,
|
|
7861
7850
|
Uh as enqueueRequest,
|
|
7862
7851
|
b as fallbackToEmptyArray,
|
|
7863
7852
|
De as fallbackToEmptyObject,
|
|
7864
7853
|
tu as fileReducer,
|
|
7865
|
-
|
|
7866
|
-
|
|
7854
|
+
la as fileSlice,
|
|
7855
|
+
Lc as fileToBlob,
|
|
7867
7856
|
yu as formReducer,
|
|
7868
7857
|
ru as formRevisionAttachmentReducer,
|
|
7869
|
-
|
|
7858
|
+
ha as formRevisionAttachmentSlice,
|
|
7870
7859
|
fu as formRevisionReducer,
|
|
7871
|
-
|
|
7872
|
-
|
|
7860
|
+
pa as formRevisionsSlice,
|
|
7861
|
+
Aa as formSlice,
|
|
7873
7862
|
Ru as formSubmissionAttachmentReducer,
|
|
7874
|
-
|
|
7863
|
+
ya as formSubmissionAttachmentSlice,
|
|
7875
7864
|
Eu as formSubmissionReducer,
|
|
7876
|
-
|
|
7865
|
+
Sa as formSubmissionSlice,
|
|
7877
7866
|
Vu as geoImageReducer,
|
|
7878
|
-
|
|
7867
|
+
Pa as geoImageSlice,
|
|
7879
7868
|
gm as getFileIdentifier,
|
|
7880
7869
|
Nt as getFileS3Key,
|
|
7881
|
-
|
|
7870
|
+
Vc as getLocalDateString,
|
|
7882
7871
|
Sm as getLocalRelativeDateString,
|
|
7883
7872
|
Ce as getOutboxCoordinator,
|
|
7884
|
-
|
|
7873
|
+
Bc as getRenamedFile,
|
|
7885
7874
|
Le as hashFile,
|
|
7886
7875
|
Gg as initSDK,
|
|
7887
7876
|
Yt as initializeAssetAttachments,
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7877
|
+
rr as initializeAssetProcedureAttachments,
|
|
7878
|
+
Dr as initializeAssetProcedureFieldValues,
|
|
7879
|
+
Er as initializeAssetProcedureFieldValuesAttachments,
|
|
7880
|
+
Rr as initializeAssetProcedureFields,
|
|
7881
|
+
yr as initializeAssetProcedureFieldsAttachments,
|
|
7882
|
+
Gr as initializeAssetProcedureInstances,
|
|
7883
|
+
fo as initializeAssetProcedureStepFieldValues,
|
|
7884
|
+
oo as initializeAssetProcedureStepFieldValuesAttachments,
|
|
7885
|
+
io as initializeAssetProcedureStepFields,
|
|
7886
|
+
Jr as initializeAssetProcedureStepFieldsAttachments,
|
|
7898
7887
|
To as initializeAssetProcedureSteps,
|
|
7899
|
-
|
|
7888
|
+
Wr as initializeAssetProcedures,
|
|
7900
7889
|
Eo as initializeAssetStageCompletions,
|
|
7901
7890
|
Do as initializeAssetStages,
|
|
7902
7891
|
$o as initializeAssetTypeAttachments,
|
|
@@ -7907,7 +7896,7 @@ export {
|
|
|
7907
7896
|
Td as initializeAssetTypes,
|
|
7908
7897
|
Oo as initializeAssets,
|
|
7909
7898
|
Fd as initializeCategories,
|
|
7910
|
-
|
|
7899
|
+
Kc as initializeConversations,
|
|
7911
7900
|
wd as initializeDocumentAttachments,
|
|
7912
7901
|
Hd as initializeEmailDomains,
|
|
7913
7902
|
su as initializeFormRevisionAttachments,
|
|
@@ -7930,7 +7919,7 @@ export {
|
|
|
7930
7919
|
dh as initializeLicences,
|
|
7931
7920
|
fh as initializeOrganizationAccesses,
|
|
7932
7921
|
nS as initializeOrganizations,
|
|
7933
|
-
|
|
7922
|
+
Wa as initializeProjectAccesses,
|
|
7934
7923
|
Lh as initializeProjectAttachments,
|
|
7935
7924
|
tp as initializeProjectFiles,
|
|
7936
7925
|
Yb as initializeProjects,
|
|
@@ -7938,31 +7927,31 @@ export {
|
|
|
7938
7927
|
hh as initializeUsers,
|
|
7939
7928
|
bm as isToday,
|
|
7940
7929
|
Hu as issueAssociationReducer,
|
|
7941
|
-
|
|
7930
|
+
_a as issueAssociationSlice,
|
|
7942
7931
|
el as issueAttachmentReducer,
|
|
7943
|
-
|
|
7932
|
+
Oa as issueAttachmentSlice,
|
|
7944
7933
|
dl as issueCommentAttachmentReducer,
|
|
7945
|
-
|
|
7934
|
+
wa as issueCommentAttachmentSlice,
|
|
7946
7935
|
hl as issueCommentReducer,
|
|
7947
|
-
|
|
7936
|
+
Ea as issueCommentSlice,
|
|
7948
7937
|
yl as issueReducer,
|
|
7949
|
-
|
|
7938
|
+
ka as issueSlice,
|
|
7950
7939
|
Ol as issueTypeAttachmentReducer,
|
|
7951
|
-
|
|
7940
|
+
qa as issueTypeAttachmentSlice,
|
|
7952
7941
|
Kl as issueTypeFieldValuesAttachmentReducer,
|
|
7953
|
-
|
|
7942
|
+
xa as issueTypeFieldValuesAttachmentSlice,
|
|
7954
7943
|
Dl as issueTypeFieldValuesReducer,
|
|
7955
|
-
|
|
7944
|
+
Ma as issueTypeFieldValuesSlice,
|
|
7956
7945
|
jl as issueTypeFieldsAttachmentReducer,
|
|
7957
|
-
|
|
7946
|
+
ja as issueTypeFieldsAttachmentSlice,
|
|
7958
7947
|
Gl as issueTypeFieldsReducer,
|
|
7959
|
-
|
|
7948
|
+
Da as issueTypeFieldsSlice,
|
|
7960
7949
|
eh as issueTypeReducer,
|
|
7961
|
-
|
|
7950
|
+
Va as issueTypeSlice,
|
|
7962
7951
|
oh as issueUpdateReducer,
|
|
7963
|
-
|
|
7952
|
+
$a as issueUpdateSlice,
|
|
7964
7953
|
lh as licenseReducer,
|
|
7965
|
-
|
|
7954
|
+
Ga as licenseSlice,
|
|
7966
7955
|
Fm as logOnlyOnce,
|
|
7967
7956
|
$h as markAsDeleted,
|
|
7968
7957
|
SS as markForDeletion,
|
|
@@ -7970,32 +7959,32 @@ export {
|
|
|
7970
7959
|
$d as moveDocument,
|
|
7971
7960
|
R as offline,
|
|
7972
7961
|
Em as onlyUniqueHashes,
|
|
7973
|
-
|
|
7962
|
+
Wc as onlyUniqueOfflineIds,
|
|
7974
7963
|
Sh as organizationAccessReducer,
|
|
7975
|
-
|
|
7964
|
+
La as organizationAccessSlice,
|
|
7976
7965
|
zh as organizationReducer,
|
|
7977
|
-
|
|
7966
|
+
Ja as organizationSlice,
|
|
7978
7967
|
Bh as outboxReducer,
|
|
7979
|
-
|
|
7968
|
+
Qa as outboxSlice,
|
|
7980
7969
|
xS as overmapEnhancer,
|
|
7981
7970
|
DS as overmapReducer,
|
|
7982
7971
|
Sp as overmapReducers,
|
|
7983
|
-
|
|
7972
|
+
pc as performRequest,
|
|
7984
7973
|
Fh as projectAccessReducer,
|
|
7985
|
-
|
|
7974
|
+
Ha as projectAccessSlice,
|
|
7986
7975
|
ep as projectAttachmentReducer,
|
|
7987
|
-
|
|
7976
|
+
Xa as projectAttachmentSlice,
|
|
7988
7977
|
up as projectFileReducer,
|
|
7989
|
-
|
|
7978
|
+
ec as projectFileSlice,
|
|
7990
7979
|
Eh as projectReducer,
|
|
7991
|
-
|
|
7980
|
+
Ya as projectSlice,
|
|
7992
7981
|
hp as rehydratedReducer,
|
|
7993
|
-
|
|
7982
|
+
tc as rehydratedSlice,
|
|
7994
7983
|
si as removeDocuments,
|
|
7995
7984
|
Bi as removeIssueType,
|
|
7996
7985
|
ph as removeUser,
|
|
7997
7986
|
OS as resetProjectFileObjectUrls,
|
|
7998
|
-
|
|
7987
|
+
Dc as resetStore,
|
|
7999
7988
|
y as restructureCreateSelectorWithArgs,
|
|
8000
7989
|
rp as saveActiveProjectFileBounds,
|
|
8001
7990
|
QA as selectAccessToken,
|
|
@@ -8005,65 +7994,65 @@ export {
|
|
|
8005
7994
|
Dd as selectAllDocumentAttachments,
|
|
8006
7995
|
Qh as selectAllProjectAttachments,
|
|
8007
7996
|
ry as selectAncestorIdsOfDocument,
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
7997
|
+
nr as selectAssetAttachmentById,
|
|
7998
|
+
sr as selectAssetAttachmentMapping,
|
|
7999
|
+
ir as selectAssetAttachments,
|
|
8011
8000
|
Is as selectAssetById,
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8001
|
+
fr as selectAssetProcedureAttachmentById,
|
|
8002
|
+
pr as selectAssetProcedureAttachmentMapping,
|
|
8003
|
+
mr as selectAssetProcedureAttachments,
|
|
8015
8004
|
ls as selectAssetProcedureById,
|
|
8016
8005
|
In as selectAssetProcedureFieldValues,
|
|
8017
8006
|
of as selectAssetProcedureFieldValuesAttachmentById,
|
|
8018
|
-
|
|
8019
|
-
|
|
8007
|
+
qr as selectAssetProcedureFieldValuesAttachments,
|
|
8008
|
+
jr as selectAssetProcedureFieldValuesAttachmentsByIds,
|
|
8020
8009
|
Fn as selectAssetProcedureFieldValuesAttachmentsMapping,
|
|
8021
8010
|
is as selectAssetProcedureFieldValuesById,
|
|
8022
|
-
|
|
8011
|
+
Ur as selectAssetProcedureFieldValuesMapping,
|
|
8023
8012
|
lf as selectAssetProcedureFieldValuesOfAsset,
|
|
8024
8013
|
_n as selectAssetProcedureFields,
|
|
8025
8014
|
Wm as selectAssetProcedureFieldsAttachmentById,
|
|
8026
|
-
|
|
8027
|
-
|
|
8015
|
+
Pr as selectAssetProcedureFieldsAttachments,
|
|
8016
|
+
Tr as selectAssetProcedureFieldsAttachmentsMapping,
|
|
8028
8017
|
tf as selectAssetProcedureFieldsById,
|
|
8029
|
-
|
|
8018
|
+
vr as selectAssetProcedureFieldsMapping,
|
|
8030
8019
|
Zm as selectAssetProcedureFieldsOfAssetProcedure,
|
|
8031
8020
|
rs as selectAssetProcedureInstanceById,
|
|
8032
8021
|
En as selectAssetProcedureInstances,
|
|
8033
8022
|
yf as selectAssetProcedureInstancesByIds,
|
|
8034
8023
|
wn as selectAssetProcedureInstancesMapping,
|
|
8035
|
-
|
|
8024
|
+
Nr as selectAssetProcedureInstancesOfAssetProcedure,
|
|
8036
8025
|
Af as selectAssetProcedureInstancesOfAssetType,
|
|
8037
8026
|
Ro as selectAssetProcedureStepById,
|
|
8038
|
-
|
|
8027
|
+
kt as selectAssetProcedureStepFieldValues,
|
|
8039
8028
|
Hf as selectAssetProcedureStepFieldValuesAttachmentById,
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8029
|
+
lo as selectAssetProcedureStepFieldValuesAttachments,
|
|
8030
|
+
ho as selectAssetProcedureStepFieldValuesAttachmentsByIds,
|
|
8031
|
+
zn as selectAssetProcedureStepFieldValuesAttachmentsMapping,
|
|
8043
8032
|
bs as selectAssetProcedureStepFieldValuesById,
|
|
8044
|
-
|
|
8033
|
+
So as selectAssetProcedureStepFieldValuesMapping,
|
|
8045
8034
|
Yf as selectAssetProcedureStepFieldValuesOfAsset,
|
|
8046
8035
|
Jf as selectAssetProcedureStepFieldValuesOfAssetProcedureInstance,
|
|
8047
8036
|
Qf as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
|
|
8048
|
-
|
|
8037
|
+
Dn as selectAssetProcedureStepFields,
|
|
8049
8038
|
kf as selectAssetProcedureStepFieldsAttachmentById,
|
|
8050
|
-
|
|
8051
|
-
|
|
8039
|
+
to as selectAssetProcedureStepFieldsAttachments,
|
|
8040
|
+
eo as selectAssetProcedureStepFieldsAttachmentsMapping,
|
|
8052
8041
|
Uf as selectAssetProcedureStepFieldsById,
|
|
8053
|
-
|
|
8042
|
+
Cn as selectAssetProcedureStepFieldsMapping,
|
|
8054
8043
|
xf as selectAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
8055
8044
|
qt as selectAssetProcedureStepMapping,
|
|
8056
8045
|
Fo as selectAssetProcedureSteps,
|
|
8057
8046
|
_s as selectAssetProcedureStepsByIds,
|
|
8058
8047
|
tA as selectAssetProcedureStepsMappingOfAssetProcedure,
|
|
8059
8048
|
sA as selectAssetProcedureStepsOfAssetProcedure,
|
|
8060
|
-
|
|
8049
|
+
Kr as selectAssetProcedures,
|
|
8061
8050
|
Rf as selectAssetProceduresByIds,
|
|
8062
8051
|
qn as selectAssetProceduresMapping,
|
|
8063
8052
|
_f as selectAssetProceduresOfOrganization,
|
|
8064
8053
|
Vo as selectAssetStageById,
|
|
8065
8054
|
Mo as selectAssetStageCompletionById,
|
|
8066
|
-
|
|
8055
|
+
Hn as selectAssetStageCompletionMapping,
|
|
8067
8056
|
oA as selectAssetStageCompletions,
|
|
8068
8057
|
Co as selectAssetStageCompletionsByIds,
|
|
8069
8058
|
Uo as selectAssetStages,
|
|
@@ -8074,11 +8063,11 @@ export {
|
|
|
8074
8063
|
No as selectAssetTypeAttachmentMapping,
|
|
8075
8064
|
Ho as selectAssetTypeAttachments,
|
|
8076
8065
|
Ys as selectAssetTypeById,
|
|
8077
|
-
|
|
8066
|
+
sa as selectAssetTypeFieldValues,
|
|
8078
8067
|
xA as selectAssetTypeFieldValuesAttachmentById,
|
|
8079
8068
|
ld as selectAssetTypeFieldValuesAttachments,
|
|
8080
8069
|
hd as selectAssetTypeFieldValuesAttachmentsByIds,
|
|
8081
|
-
|
|
8070
|
+
ea as selectAssetTypeFieldValuesAttachmentsMapping,
|
|
8082
8071
|
Ns as selectAssetTypeFieldValuesById,
|
|
8083
8072
|
Sd as selectAssetTypeFieldValuesMapping,
|
|
8084
8073
|
UA as selectAssetTypeFieldValuesOfAsset,
|
|
@@ -8092,16 +8081,16 @@ export {
|
|
|
8092
8081
|
$A as selectAssetTypeValuesOfAssetType,
|
|
8093
8082
|
WA as selectAssetTypes,
|
|
8094
8083
|
KA as selectAssetTypesByIds,
|
|
8095
|
-
|
|
8084
|
+
na as selectAssetTypesMapping,
|
|
8096
8085
|
vo as selectAssets,
|
|
8097
8086
|
cA as selectAssetsByIds,
|
|
8098
|
-
|
|
8099
|
-
|
|
8100
|
-
|
|
8087
|
+
Bn as selectAssetsMapping,
|
|
8088
|
+
Ln as selectAssetsOfAssetType,
|
|
8089
|
+
ar as selectAttachmentsOfAsset,
|
|
8101
8090
|
Um as selectAttachmentsOfAssetProcedure,
|
|
8102
|
-
|
|
8091
|
+
Mr as selectAttachmentsOfAssetProcedureFieldValues,
|
|
8103
8092
|
Hm as selectAttachmentsOfAssetProcedureFields,
|
|
8104
|
-
|
|
8093
|
+
po as selectAttachmentsOfAssetProcedureStepFieldValues,
|
|
8105
8094
|
Ef as selectAttachmentsOfAssetProcedureStepFields,
|
|
8106
8095
|
Ko as selectAttachmentsOfAssetType,
|
|
8107
8096
|
pd as selectAttachmentsOfAssetTypeFieldValues,
|
|
@@ -8118,7 +8107,7 @@ export {
|
|
|
8118
8107
|
ZA as selectCategories,
|
|
8119
8108
|
ey as selectCategoriesByIds,
|
|
8120
8109
|
Zs as selectCategoryById,
|
|
8121
|
-
|
|
8110
|
+
ca as selectCategoryMapping,
|
|
8122
8111
|
Ly as selectCommentsOfIssue,
|
|
8123
8112
|
jm as selectConversation,
|
|
8124
8113
|
An as selectConversationMapping,
|
|
@@ -8143,10 +8132,10 @@ export {
|
|
|
8143
8132
|
pu as selectFormRevisions,
|
|
8144
8133
|
mu as selectFormRevisionsOfForm,
|
|
8145
8134
|
Pu as selectFormSubmissionAttachemntsByIds,
|
|
8146
|
-
|
|
8135
|
+
ba as selectFormSubmissionAttachmentsMapping,
|
|
8147
8136
|
pi as selectFormSubmissionById,
|
|
8148
|
-
|
|
8149
|
-
|
|
8137
|
+
Ta as selectFormSubmissions,
|
|
8138
|
+
ga as selectFormSubmissionsMapping,
|
|
8150
8139
|
wu as selectFormSubmissionsOfAsset,
|
|
8151
8140
|
Iu as selectFormSubmissionsOfForm,
|
|
8152
8141
|
vu as selectFormSubmissionsOfIssue,
|
|
@@ -8178,11 +8167,11 @@ export {
|
|
|
8178
8167
|
_l as selectIssueTypeAttachmentMapping,
|
|
8179
8168
|
Rl as selectIssueTypeAttachments,
|
|
8180
8169
|
Li as selectIssueTypeById,
|
|
8181
|
-
|
|
8170
|
+
Ca as selectIssueTypeFieldValues,
|
|
8182
8171
|
_b as selectIssueTypeFieldValuesAttachmentById,
|
|
8183
8172
|
Nl as selectIssueTypeFieldValuesAttachments,
|
|
8184
8173
|
Hl as selectIssueTypeFieldValuesAttachmentsByIds,
|
|
8185
|
-
|
|
8174
|
+
za as selectIssueTypeFieldValuesAttachmentsMapping,
|
|
8186
8175
|
Vi as selectIssueTypeFieldValuesById,
|
|
8187
8176
|
Cl as selectIssueTypeFieldValuesMapping,
|
|
8188
8177
|
ob as selectIssueTypeFieldValuesOfIssue,
|
|
@@ -8201,7 +8190,7 @@ export {
|
|
|
8201
8190
|
ch as selectIssueUpdateMapping,
|
|
8202
8191
|
rh as selectIssueUpdatesOfIssue,
|
|
8203
8192
|
Ny as selectIssuesByIds,
|
|
8204
|
-
|
|
8193
|
+
Ua as selectIssuesOfIssueType,
|
|
8205
8194
|
Ob as selectIssuesOfIssueTypeCount,
|
|
8206
8195
|
ef as selectLatestAssetProcedureFieldsOfAssetProcedure,
|
|
8207
8196
|
zf as selectLatestAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
@@ -8219,7 +8208,7 @@ export {
|
|
|
8219
8208
|
Lb as selectOrganizationAccessById,
|
|
8220
8209
|
Hb as selectOrganizationAccessForUser,
|
|
8221
8210
|
bh as selectOrganizationAccessUserMapping,
|
|
8222
|
-
|
|
8211
|
+
Na as selectOrganizationAccesses,
|
|
8223
8212
|
hS as selectOrganizationById,
|
|
8224
8213
|
xh as selectOrganizationUsersAsMapping,
|
|
8225
8214
|
Dh as selectOrganizationUsersIds,
|
|
@@ -8228,7 +8217,7 @@ export {
|
|
|
8228
8217
|
pS as selectOrganizationsWithAccess,
|
|
8229
8218
|
Wb as selectProjectAccessById,
|
|
8230
8219
|
Kb as selectProjectAccessForUser,
|
|
8231
|
-
|
|
8220
|
+
Ka as selectProjectAccessMapping,
|
|
8232
8221
|
Rh as selectProjectAccessUserMapping,
|
|
8233
8222
|
_h as selectProjectAccesses,
|
|
8234
8223
|
Xh as selectProjectAttachmentById,
|
|
@@ -8248,9 +8237,9 @@ export {
|
|
|
8248
8237
|
iS as selectSortedProjectUsers,
|
|
8249
8238
|
jt as selectStageMapping,
|
|
8250
8239
|
Ve as selectTeamById,
|
|
8251
|
-
|
|
8240
|
+
nc as selectTeams,
|
|
8252
8241
|
qS as selectTeamsByIds,
|
|
8253
|
-
|
|
8242
|
+
ic as selectTeamsMapping,
|
|
8254
8243
|
jS as selectTeamsOfOrganization,
|
|
8255
8244
|
MS as selectTeamsOfUser,
|
|
8256
8245
|
eu as selectUploadUrl,
|
|
@@ -8259,10 +8248,10 @@ export {
|
|
|
8259
8248
|
Gt as selectUsersMapping,
|
|
8260
8249
|
cp as setActiveProjectFileId,
|
|
8261
8250
|
nA as setAsset,
|
|
8262
|
-
|
|
8251
|
+
Zc as setAssetAttachment,
|
|
8263
8252
|
Cm as setAssetAttachments,
|
|
8264
8253
|
Tf as setAssetProcedure,
|
|
8265
|
-
|
|
8254
|
+
dr as setAssetProcedureAttachment,
|
|
8266
8255
|
zm as setAssetProcedureAttachments,
|
|
8267
8256
|
df as setAssetProcedureFieldValues,
|
|
8268
8257
|
nf as setAssetProcedureFieldValuesAttachment,
|
|
@@ -8300,7 +8289,7 @@ export {
|
|
|
8300
8289
|
OA as setAssetTypeFieldsMany,
|
|
8301
8290
|
BA as setAssetTypes,
|
|
8302
8291
|
aA as setAssets,
|
|
8303
|
-
|
|
8292
|
+
Jc as setConversation,
|
|
8304
8293
|
Ub as setCurrentUser,
|
|
8305
8294
|
kd as setDocumentAttachment,
|
|
8306
8295
|
iy as setDocumentAttachments,
|
|
@@ -8356,34 +8345,34 @@ export {
|
|
|
8356
8345
|
vm as slugify,
|
|
8357
8346
|
Im as spacesToDashesLower,
|
|
8358
8347
|
fp as teamReducer,
|
|
8359
|
-
|
|
8348
|
+
sc as teamSlice,
|
|
8360
8349
|
Om as toFileNameSafeString,
|
|
8361
|
-
|
|
8350
|
+
Hc as toOfflineIdRecord,
|
|
8362
8351
|
wm as truncate,
|
|
8363
8352
|
Xe as updateAsset,
|
|
8364
8353
|
Dm as updateAssetAttachment,
|
|
8365
|
-
|
|
8354
|
+
er as updateAssetAttachments,
|
|
8366
8355
|
Je as updateAssetProcedure,
|
|
8367
8356
|
Vm as updateAssetProcedureAttachment,
|
|
8368
|
-
|
|
8357
|
+
ur as updateAssetProcedureAttachments,
|
|
8369
8358
|
Ke as updateAssetProcedureFieldValues,
|
|
8370
8359
|
cf as updateAssetProcedureFieldValuesAttachment,
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
|
|
8360
|
+
kr as updateAssetProcedureFieldValuesAttachments,
|
|
8361
|
+
zr as updateAssetProcedureFieldValuesMany,
|
|
8362
|
+
Or as updateAssetProcedureFields,
|
|
8374
8363
|
Lm as updateAssetProcedureFieldsAttachment,
|
|
8375
|
-
|
|
8364
|
+
Sr as updateAssetProcedureFieldsAttachments,
|
|
8376
8365
|
Qm as updateAssetProcedureFieldsMany,
|
|
8377
8366
|
Ye as updateAssetProcedureInstance,
|
|
8378
8367
|
pf as updateAssetProcedureInstances,
|
|
8379
8368
|
Ts as updateAssetProcedureStep,
|
|
8380
8369
|
Qe as updateAssetProcedureStepFieldValues,
|
|
8381
8370
|
Lf as updateAssetProcedureStepFieldValuesAttachment,
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8371
|
+
uo as updateAssetProcedureStepFieldValuesAttachments,
|
|
8372
|
+
yo as updateAssetProcedureStepFieldValuesMany,
|
|
8373
|
+
ao as updateAssetProcedureStepFields,
|
|
8385
8374
|
vf as updateAssetProcedureStepFieldsAttachment,
|
|
8386
|
-
|
|
8375
|
+
Xr as updateAssetProcedureStepFieldsAttachments,
|
|
8387
8376
|
Cf as updateAssetProcedureStepFieldsMany,
|
|
8388
8377
|
lt as updateAssetProcedureSteps,
|
|
8389
8378
|
Sf as updateAssetProcedures,
|
|
@@ -8405,7 +8394,7 @@ export {
|
|
|
8405
8394
|
NA as updateAssetTypes,
|
|
8406
8395
|
iA as updateAssets,
|
|
8407
8396
|
Od as updateCategory,
|
|
8408
|
-
|
|
8397
|
+
Qc as updateConversation,
|
|
8409
8398
|
ny as updateDocumentAttachment,
|
|
8410
8399
|
qd as updateDocumentAttachments,
|
|
8411
8400
|
_e as updateDocuments,
|
|
@@ -8451,7 +8440,7 @@ export {
|
|
|
8451
8440
|
xb as updateUser,
|
|
8452
8441
|
Db as updateUsers,
|
|
8453
8442
|
mh as userReducer,
|
|
8454
|
-
|
|
8443
|
+
Ba as userSlice,
|
|
8455
8444
|
bp as versioningReducer,
|
|
8456
8445
|
yp as versioningSlice
|
|
8457
8446
|
};
|