@overmap-ai/core 1.0.78-procedure-steps.0 → 1.0.78-procedure-steps.1
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 on, compose as
|
|
5
|
+
import { createSlice as T, createSelector as m, combineReducers as on, 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 Bt 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 dn = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(dn || {}), un = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(un || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}),
|
|
22
|
-
const um = hn.BACKLOG, lm = ln.MEDIUM,
|
|
20
|
+
const wc = Object.freeze([]), Ec = Object.freeze({});
|
|
21
|
+
var dn = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(dn || {}), un = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(un || {}), 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 || {}), ln = /* @__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))(ln || {}), hn = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.SELECTED = 2] = "SELECTED", t[t.DONE = 4] = "DONE", t))(hn || {}), 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 = hn.BACKLOG, lm = ln.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 rn;
|
|
117
117
|
rn = Symbol.toStringTag;
|
|
118
|
-
class
|
|
118
|
+
class xc {
|
|
119
119
|
constructor() {
|
|
120
120
|
A(this, rn, "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 = pn((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 = pn((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 Lt = 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 Nt = {};
|
|
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) : (Nt[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 } = mn.actions, fn = (t) => t.agentsReducer.instances, qm = m(
|
|
322
322
|
[fn],
|
|
323
323
|
(t) => Object.values(t)
|
|
324
324
|
), jm = y(
|
|
@@ -326,7 +326,7 @@ const Ue = _(
|
|
|
326
326
|
[fn, (t, e) => e],
|
|
327
327
|
(t, e) => t[e]
|
|
328
328
|
)
|
|
329
|
-
),
|
|
329
|
+
), Xc = mn.reducer, C = _(
|
|
330
330
|
(t) => t.uuid
|
|
331
331
|
), Wt = C.getInitialState({}), An = T({
|
|
332
332
|
name: "assetAttachments",
|
|
@@ -347,21 +347,21 @@ const Ue = _(
|
|
|
347
347
|
initializeAssetAttachments: Kt,
|
|
348
348
|
addAssetAttachment: Mm,
|
|
349
349
|
addAssetAttachments: yn,
|
|
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: bn
|
|
356
|
-
} = An.actions,
|
|
357
|
-
[
|
|
356
|
+
} = An.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 = An.reducer, D = _((t) => t.uuid), Yt = D.getInitialState({}), Sn = T({
|
|
365
365
|
name: "assetProcedureAttachments",
|
|
366
366
|
initialState: Yt,
|
|
367
367
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Yt)),
|
|
@@ -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
|
-
} = Sn.actions,
|
|
390
|
-
[
|
|
386
|
+
updateAssetProcedureAttachments: ur,
|
|
387
|
+
deleteAssetProcedureAttachment: lr,
|
|
388
|
+
deleteAssetProcedureAttachments: hr
|
|
389
|
+
} = Sn.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 = Sn.reducer, x = _((t) => t.uuid), Jt = x.getInitialState({}), gn = T({
|
|
403
403
|
name: "assetProcedureFieldsAttachments",
|
|
404
404
|
initialState: Jt,
|
|
405
405
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Jt)),
|
|
@@ -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
|
-
} = gn.actions,
|
|
428
|
-
[
|
|
426
|
+
deleteAssetProcedureFieldsAttachments: gr
|
|
427
|
+
} = gn.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 = gn.reducer, z = _(
|
|
433
433
|
(t) => t.uuid
|
|
434
434
|
), Qt = z.getInitialState({}), Tn = 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
|
-
} = Tn.actions,
|
|
459
|
+
} = Tn.actions, vr = (t) => t.assetProcedureFieldsReducer.instances, Pn = m([vr], (t) => Object.values(t)), Zm = y(
|
|
460
460
|
m(
|
|
461
461
|
[Pn, (t, e) => e],
|
|
462
462
|
(t, e) => b(t.filter((s) => s.asset_procedure === e))
|
|
463
463
|
)
|
|
464
464
|
), ef = y(
|
|
465
465
|
m([Pn, (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 = Tn.reducer, V = _((t) => t.uuid), Xt = V.getInitialState({}), _n = T({
|
|
467
467
|
name: "assetProcedureFieldValuesAttachments",
|
|
468
468
|
initialState: Xt,
|
|
469
469
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Xt)),
|
|
@@ -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
|
-
} = _n.actions, Rn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances,
|
|
491
|
+
} = _n.actions, Rn = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, qr = m(
|
|
492
492
|
[Rn],
|
|
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
|
Rn,
|
|
@@ -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 = _n.reducer, U = _((t) => t.uuid), Zt = U.getInitialState({}), Fn = T({
|
|
511
511
|
name: "assetProcedureFieldValues",
|
|
512
512
|
initialState: Zt,
|
|
513
513
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zt)),
|
|
@@ -523,23 +523,23 @@ const Ue = _(
|
|
|
523
523
|
deleteAssetProcedureFieldValuesMany: U.deleteMany
|
|
524
524
|
}
|
|
525
525
|
}), {
|
|
526
|
-
initializeAssetProcedureFieldValues:
|
|
526
|
+
initializeAssetProcedureFieldValues: Dr,
|
|
527
527
|
addAssetProcedureFieldValues: es,
|
|
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: ts,
|
|
534
|
-
deleteAssetProcedureFieldValuesMany:
|
|
535
|
-
} = Fn.actions,
|
|
536
|
-
[
|
|
534
|
+
deleteAssetProcedureFieldValuesMany: Vr
|
|
535
|
+
} = Fn.actions, Ur = (t) => t.assetProcedureFieldValuesReducer.instances, On = m(
|
|
536
|
+
[Ur],
|
|
537
537
|
(t) => Object.values(t)
|
|
538
538
|
), lf = y(
|
|
539
539
|
m([On, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
540
540
|
), hf = y(
|
|
541
541
|
m([On, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
542
|
-
), ss = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t],
|
|
542
|
+
), ss = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t], $r = Fn.reducer, $ = _((t) => t.uuid), is = $.getInitialState({}), In = T({
|
|
543
543
|
name: "assetProcedureInstances",
|
|
544
544
|
initialState: is,
|
|
545
545
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, is)),
|
|
@@ -555,19 +555,19 @@ const Ue = _(
|
|
|
555
555
|
deleteAssetProcedureInstances: $.deleteMany
|
|
556
556
|
}
|
|
557
557
|
}), {
|
|
558
|
-
initializeAssetProcedureInstances:
|
|
558
|
+
initializeAssetProcedureInstances: Gr,
|
|
559
559
|
addAssetProcedureInstance: ns,
|
|
560
|
-
addAssetProcedureInstances:
|
|
560
|
+
addAssetProcedureInstances: Br,
|
|
561
561
|
updateAssetProcedureInstance: Ye,
|
|
562
562
|
updateAssetProcedureInstances: pf,
|
|
563
563
|
deleteAssetProcedureInstance: as,
|
|
564
|
-
deleteAssetProcedureInstances:
|
|
564
|
+
deleteAssetProcedureInstances: Lr,
|
|
565
565
|
setAssetProcedureInstance: mf,
|
|
566
566
|
setAssetProcedureInstances: ff
|
|
567
567
|
} = In.actions, vn = (t) => t.assetProcedureInstanceReducer.instances, wn = m(
|
|
568
568
|
[vn],
|
|
569
569
|
(t) => Object.values(t)
|
|
570
|
-
),
|
|
570
|
+
), Nr = y(
|
|
571
571
|
m(
|
|
572
572
|
[wn, (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 = In.reducer, G = _(
|
|
601
601
|
(t) => t.uuid
|
|
602
602
|
), rs = G.getInitialState({}), En = 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: os,
|
|
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
|
-
} = En.actions, kn = (t) => t.assetProcedureReducer.instances,
|
|
627
|
+
} = En.actions, kn = (t) => t.assetProcedureReducer.instances, Kr = m([kn], (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 = En.reducer, B = _((t) => t.uuid), ls = B.getInitialState(
|
|
647
647
|
{}
|
|
648
648
|
), qn = 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
|
-
} = qn.actions,
|
|
674
|
-
[
|
|
672
|
+
deleteAssetProcedureStepFieldsAttachments: Zr
|
|
673
|
+
} = qn.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 = qn.reducer, L = _((t) => t.uuid), hs = L.getInitialState({}), jn = T({
|
|
679
679
|
name: "assetProcedureStepFields",
|
|
680
680
|
initialState: hs,
|
|
681
681
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, hs)),
|
|
@@ -691,26 +691,26 @@ 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
|
-
} = jn.actions,
|
|
704
|
-
[
|
|
703
|
+
} = jn.actions, Mn = (t) => t.assetProcedureStepFieldsReducer.instances, Cn = m(
|
|
704
|
+
[Mn],
|
|
705
705
|
(t) => Object.values(t)
|
|
706
706
|
), xf = y(
|
|
707
707
|
m(
|
|
708
|
-
[
|
|
708
|
+
[Cn, (t, e) => e],
|
|
709
709
|
(t, e) => b(t.filter((s) => s.asset_procedure_step === e))
|
|
710
710
|
)
|
|
711
711
|
), zf = y(
|
|
712
|
-
m([
|
|
713
|
-
), Vf = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t], ro = jn.reducer, N = _((t) => t.uuid), ps = N.getInitialState({}),
|
|
712
|
+
m([Cn, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure_step === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
713
|
+
), Vf = (t) => (e) => e.assetProcedureStepFieldsReducer.instances[t], ro = jn.reducer, N = _((t) => t.uuid), ps = N.getInitialState({}), Dn = T({
|
|
714
714
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
715
715
|
initialState: ps,
|
|
716
716
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ps)),
|
|
@@ -735,13 +735,13 @@ const Ue = _(
|
|
|
735
735
|
updateAssetProcedureStepFieldValuesAttachments: uo,
|
|
736
736
|
deleteAssetProcedureStepFieldValuesAttachment: Lf,
|
|
737
737
|
deleteAssetProcedureStepFieldValuesAttachments: _t
|
|
738
|
-
} =
|
|
739
|
-
[
|
|
738
|
+
} = Dn.actions, xn = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, lo = m(
|
|
739
|
+
[xn],
|
|
740
740
|
(t) => Object.values(t)
|
|
741
741
|
), Nf = (t) => (e) => e.assetProcedureStepFieldValuesAttachmentReducer.instances[t], ho = y(
|
|
742
742
|
m(
|
|
743
743
|
[
|
|
744
|
-
|
|
744
|
+
xn,
|
|
745
745
|
(t, e) => e
|
|
746
746
|
],
|
|
747
747
|
(t, e) => {
|
|
@@ -754,7 +754,7 @@ const Ue = _(
|
|
|
754
754
|
[lo, (t, e) => e],
|
|
755
755
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
756
756
|
)
|
|
757
|
-
), mo =
|
|
757
|
+
), mo = Dn.reducer, H = _((t) => t.uuid), ms = H.getInitialState({}), zn = T({
|
|
758
758
|
name: "assetProcedureStepFieldValues",
|
|
759
759
|
initialState: ms,
|
|
760
760
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ms)),
|
|
@@ -779,19 +779,31 @@ const Ue = _(
|
|
|
779
779
|
updateAssetProcedureStepFieldValuesMany: yo,
|
|
780
780
|
deleteAssetProcedureStepFieldValues: As,
|
|
781
781
|
deleteAssetProcedureStepFieldValuesMany: bo
|
|
782
|
-
} =
|
|
783
|
-
[
|
|
782
|
+
} = zn.actions, Vn = (t) => t.assetProcedureStepFieldValuesReducer.instances, So = m(
|
|
783
|
+
[Vn],
|
|
784
784
|
(t) => Object.values(t)
|
|
785
785
|
), Kf = y(
|
|
786
786
|
m(
|
|
787
|
-
[
|
|
787
|
+
[So, (t, e) => e],
|
|
788
788
|
(t, e) => b(t.filter((s) => s.asset === e))
|
|
789
789
|
)
|
|
790
790
|
), Yf = y(
|
|
791
|
-
m(
|
|
792
|
-
|
|
791
|
+
m(
|
|
792
|
+
[
|
|
793
|
+
Vn,
|
|
794
|
+
Mn,
|
|
795
|
+
(t, e) => e
|
|
796
|
+
],
|
|
797
|
+
(t, e, s) => {
|
|
798
|
+
const i = /* @__PURE__ */ new Set();
|
|
799
|
+
for (const n of Object.values(e))
|
|
800
|
+
n.asset_procedure_step === s && i.add(n.uuid);
|
|
801
|
+
return Object.values(t).filter((n) => i.has(n.fields_revision));
|
|
802
|
+
}
|
|
803
|
+
)
|
|
804
|
+
), ys = (t) => (e) => e.assetProcedureStepFieldValuesReducer.instances[t], go = zn.reducer, W = _(
|
|
793
805
|
(t) => t.uuid
|
|
794
|
-
), bs = W.getInitialState({}),
|
|
806
|
+
), bs = W.getInitialState({}), Un = T({
|
|
795
807
|
name: "assetProcedureSteps",
|
|
796
808
|
initialState: bs,
|
|
797
809
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, bs)),
|
|
@@ -816,7 +828,7 @@ const Ue = _(
|
|
|
816
828
|
updateAssetProcedureSteps: lt,
|
|
817
829
|
deleteAssetProcedureStep: Xf,
|
|
818
830
|
deleteAssetProcedureSteps: Ts
|
|
819
|
-
} =
|
|
831
|
+
} = Un.actions, _o = Un.reducer, kt = (t) => t.assetProcedureStepReducer.instances, Ro = (t) => (e) => e.assetProcedureStepReducer.instances[t], Fo = m([kt], (t) => Object.values(t)), Zf = y(
|
|
820
832
|
m([kt, (t, e) => e], (t, e) => {
|
|
821
833
|
const s = {};
|
|
822
834
|
for (const [i, n] of Object.entries(t))
|
|
@@ -837,7 +849,7 @@ const Ue = _(
|
|
|
837
849
|
return b(s);
|
|
838
850
|
}
|
|
839
851
|
)
|
|
840
|
-
), K = _((t) => t.uuid), _s = K.getInitialState({}),
|
|
852
|
+
), K = _((t) => t.uuid), _s = K.getInitialState({}), $n = T({
|
|
841
853
|
name: "assets",
|
|
842
854
|
initialState: _s,
|
|
843
855
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, _s)),
|
|
@@ -855,17 +867,17 @@ const Ue = _(
|
|
|
855
867
|
}), {
|
|
856
868
|
initializeAssets: Oo,
|
|
857
869
|
addAsset: Rs,
|
|
858
|
-
addAssets:
|
|
870
|
+
addAssets: Gn,
|
|
859
871
|
updateAsset: Xe,
|
|
860
872
|
updateAssets: tA,
|
|
861
873
|
deleteAsset: Fs,
|
|
862
874
|
deleteAssets: Io,
|
|
863
875
|
setAsset: sA,
|
|
864
876
|
setAssets: iA
|
|
865
|
-
} =
|
|
877
|
+
} = $n.actions, Bn = (t) => t.assetReducer.instances, vo = m([Bn], (t) => b(Object.values(t))), Ln = y(
|
|
866
878
|
m([vo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
867
879
|
), Os = (t) => (e) => e.assetReducer.instances[t], nA = y(
|
|
868
|
-
m([
|
|
880
|
+
m([Bn, (t, e) => e], (t, e) => {
|
|
869
881
|
const s = [];
|
|
870
882
|
for (const i of e) {
|
|
871
883
|
const n = t[i];
|
|
@@ -873,9 +885,9 @@ const Ue = _(
|
|
|
873
885
|
}
|
|
874
886
|
return b(s);
|
|
875
887
|
})
|
|
876
|
-
), aA = (t) => (e) =>
|
|
888
|
+
), aA = (t) => (e) => Ln(t)(e).length, wo = $n.reducer, Se = _(
|
|
877
889
|
(t) => t.uuid
|
|
878
|
-
), Is = Se.getInitialState({}),
|
|
890
|
+
), Is = Se.getInitialState({}), Nn = T({
|
|
879
891
|
name: "assetStageCompletions",
|
|
880
892
|
initialState: Is,
|
|
881
893
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Is)),
|
|
@@ -896,12 +908,12 @@ const Ue = _(
|
|
|
896
908
|
updateAssetStageCompletions: qo,
|
|
897
909
|
deleteAssetStageCompletion: Es,
|
|
898
910
|
deleteAssetStageCompletions: ks
|
|
899
|
-
} =
|
|
900
|
-
[
|
|
911
|
+
} = Nn.actions, jo = Nn.reducer, Hn = (t) => t.assetStageCompletionReducer.instances, cA = m(
|
|
912
|
+
[Hn],
|
|
901
913
|
(t) => Object.values(t)
|
|
902
914
|
), Mo = (t) => (e) => e.assetStageCompletionReducer.instances[t], Co = y(
|
|
903
915
|
m(
|
|
904
|
-
[
|
|
916
|
+
[Hn, (t, e) => e],
|
|
905
917
|
(t, e) => {
|
|
906
918
|
const s = new Set(e);
|
|
907
919
|
return b(
|
|
@@ -911,7 +923,7 @@ const Ue = _(
|
|
|
911
923
|
);
|
|
912
924
|
}
|
|
913
925
|
)
|
|
914
|
-
), Y = _((t) => t.uuid), qs = Y.getInitialState({}),
|
|
926
|
+
), Y = _((t) => t.uuid), qs = Y.getInitialState({}), Wn = T({
|
|
915
927
|
name: "assetStages",
|
|
916
928
|
initialState: qs,
|
|
917
929
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, qs)),
|
|
@@ -936,7 +948,7 @@ const Ue = _(
|
|
|
936
948
|
updateAssetStages: ht,
|
|
937
949
|
deleteAssetStage: dA,
|
|
938
950
|
deleteAssetStages: Cs
|
|
939
|
-
} =
|
|
951
|
+
} = Wn.actions, zo = Wn.reducer, qt = (t) => t.assetStageReducer.instances, Vo = (t) => (e) => e.assetStageReducer.instances[t], Uo = m([qt], (t) => Object.values(t)), uA = y(
|
|
940
952
|
m([qt, (t, e) => e], (t, e) => {
|
|
941
953
|
const s = {};
|
|
942
954
|
for (const [i, n] of Object.entries(t))
|
|
@@ -956,7 +968,7 @@ const Ue = _(
|
|
|
956
968
|
})
|
|
957
969
|
), J = _(
|
|
958
970
|
(t) => t.uuid
|
|
959
|
-
), xs = J.getInitialState({}),
|
|
971
|
+
), xs = J.getInitialState({}), Kn = T({
|
|
960
972
|
name: "assetTypeAttachments",
|
|
961
973
|
initialState: xs,
|
|
962
974
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, xs)),
|
|
@@ -974,14 +986,14 @@ const Ue = _(
|
|
|
974
986
|
}), {
|
|
975
987
|
initializeAssetTypeAttachments: $o,
|
|
976
988
|
addAssetTypeAttachment: hA,
|
|
977
|
-
addAssetTypeAttachments:
|
|
989
|
+
addAssetTypeAttachments: Yn,
|
|
978
990
|
setAssetTypeAttachment: Go,
|
|
979
991
|
setAssetTypeAttachments: pA,
|
|
980
992
|
updateAssetTypeAttachment: mA,
|
|
981
993
|
updateAssetTypeAttachments: Bo,
|
|
982
994
|
deleteAssetTypeAttachment: Lo,
|
|
983
|
-
deleteAssetTypeAttachments:
|
|
984
|
-
} =
|
|
995
|
+
deleteAssetTypeAttachments: Jn
|
|
996
|
+
} = Kn.actions, No = (t) => t.assetTypeAttachmentReducer.instances, Ho = m(
|
|
985
997
|
[No],
|
|
986
998
|
(t) => Object.values(t)
|
|
987
999
|
), Wo = (t) => (e) => e.assetTypeAttachmentReducer.instances[t], Ko = y(
|
|
@@ -989,7 +1001,7 @@ const Ue = _(
|
|
|
989
1001
|
[Ho, (t, e) => e],
|
|
990
1002
|
(t, e) => b(t.filter(({ asset_type: s }) => e === s))
|
|
991
1003
|
)
|
|
992
|
-
), Yo =
|
|
1004
|
+
), Yo = Kn.reducer, Q = _((t) => t.uuid), zs = Q.getInitialState({}), Qn = T({
|
|
993
1005
|
name: "assetTypeFieldsAttachments",
|
|
994
1006
|
initialState: zs,
|
|
995
1007
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, zs)),
|
|
@@ -1014,14 +1026,14 @@ const Ue = _(
|
|
|
1014
1026
|
updateAssetTypeFieldsAttachments: Xo,
|
|
1015
1027
|
deleteAssetTypeFieldsAttachment: SA,
|
|
1016
1028
|
deleteAssetTypeFieldsAttachments: Zo
|
|
1017
|
-
} =
|
|
1029
|
+
} = Qn.actions, ed = (t) => t.assetTypeFieldsAttachmentReducer.instances, td = m(
|
|
1018
1030
|
[ed],
|
|
1019
1031
|
(t) => Object.values(t)
|
|
1020
1032
|
), gA = y(
|
|
1021
1033
|
m([td, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
1022
|
-
), TA = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], sd =
|
|
1034
|
+
), TA = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], sd = Qn.reducer, X = _(
|
|
1023
1035
|
(t) => t.uuid
|
|
1024
|
-
), Vs = X.getInitialState({}),
|
|
1036
|
+
), Vs = X.getInitialState({}), Xn = T({
|
|
1025
1037
|
name: "assetTypeFields",
|
|
1026
1038
|
initialState: Vs,
|
|
1027
1039
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Vs)),
|
|
@@ -1046,11 +1058,11 @@ const Ue = _(
|
|
|
1046
1058
|
updateAssetTypeFieldsMany: FA,
|
|
1047
1059
|
deleteAssetTypeFields: cd,
|
|
1048
1060
|
deleteAssetTypeFieldsMany: OA
|
|
1049
|
-
} =
|
|
1061
|
+
} = Xn.actions, rd = (t) => t.assetTypeFieldsReducer.instances, jt = m([rd], (t) => Object.values(t)), IA = y(
|
|
1050
1062
|
m([jt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
1051
1063
|
), vA = y(
|
|
1052
1064
|
m([jt, (t, e) => e], (t, e) => t.filter((s) => s.asset_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1053
|
-
), wA = (t) => (e) => e.assetTypeFieldsReducer.instances[t], od =
|
|
1065
|
+
), wA = (t) => (e) => e.assetTypeFieldsReducer.instances[t], od = Xn.reducer, Z = _((t) => t.uuid), Us = Z.getInitialState({}), Zn = T({
|
|
1054
1066
|
name: "assetTypeFieldValuesAttachments",
|
|
1055
1067
|
initialState: Us,
|
|
1056
1068
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Us)),
|
|
@@ -1075,13 +1087,13 @@ const Ue = _(
|
|
|
1075
1087
|
updateAssetTypeFieldValuesAttachments: ud,
|
|
1076
1088
|
deleteAssetTypeFieldValuesAttachment: MA,
|
|
1077
1089
|
deleteAssetTypeFieldValuesAttachments: Ft
|
|
1078
|
-
} =
|
|
1079
|
-
[
|
|
1090
|
+
} = Zn.actions, ea = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, ld = m(
|
|
1091
|
+
[ea],
|
|
1080
1092
|
(t) => Object.values(t)
|
|
1081
1093
|
), CA = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], hd = y(
|
|
1082
1094
|
m(
|
|
1083
1095
|
[
|
|
1084
|
-
|
|
1096
|
+
ea,
|
|
1085
1097
|
(t, e) => e
|
|
1086
1098
|
],
|
|
1087
1099
|
(t, e) => {
|
|
@@ -1093,9 +1105,9 @@ const Ue = _(
|
|
|
1093
1105
|
)
|
|
1094
1106
|
), pd = y(
|
|
1095
1107
|
m([ld, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
|
|
1096
|
-
), md =
|
|
1108
|
+
), md = Zn.reducer, ee = _(
|
|
1097
1109
|
(t) => t.uuid
|
|
1098
|
-
), $s = ee.getInitialState({}),
|
|
1110
|
+
), $s = ee.getInitialState({}), ta = T({
|
|
1099
1111
|
name: "assetTypeFieldValues",
|
|
1100
1112
|
initialState: $s,
|
|
1101
1113
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, $s)),
|
|
@@ -1120,11 +1132,11 @@ const Ue = _(
|
|
|
1120
1132
|
updateAssetTypeFieldValuesMany: yd,
|
|
1121
1133
|
deleteAssetTypeFieldValues: Bs,
|
|
1122
1134
|
deleteAssetTypeFieldValuesMany: bd
|
|
1123
|
-
} =
|
|
1124
|
-
m([
|
|
1135
|
+
} = ta.actions, Sd = (t) => t.assetTypeFieldValuesReducer.instances, sa = m([Sd], (t) => Object.values(t)), zA = y(
|
|
1136
|
+
m([sa, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
1125
1137
|
), VA = y(
|
|
1126
1138
|
m(
|
|
1127
|
-
[jt,
|
|
1139
|
+
[jt, sa, (t, e) => e],
|
|
1128
1140
|
(t, e, s) => {
|
|
1129
1141
|
const i = new Set(
|
|
1130
1142
|
t.filter((n) => n.asset_type === s).map((n) => n.uuid)
|
|
@@ -1132,7 +1144,7 @@ const Ue = _(
|
|
|
1132
1144
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1133
1145
|
}
|
|
1134
1146
|
)
|
|
1135
|
-
), Ls = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], gd =
|
|
1147
|
+
), Ls = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], gd = ta.reducer, te = _((t) => t.uuid), Ns = te.getInitialState({}), ia = T({
|
|
1136
1148
|
name: "assetTypes",
|
|
1137
1149
|
initialState: Ns,
|
|
1138
1150
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ns)),
|
|
@@ -1157,12 +1169,12 @@ const Ue = _(
|
|
|
1157
1169
|
updateAssetTypes: BA,
|
|
1158
1170
|
deleteAssetType: Ws,
|
|
1159
1171
|
deleteAssetTypes: LA
|
|
1160
|
-
} =
|
|
1161
|
-
[
|
|
1172
|
+
} = ia.actions, na = (t) => t.assetTypeReducer.instances, NA = m(
|
|
1173
|
+
[na],
|
|
1162
1174
|
(t) => Object.values(t)
|
|
1163
1175
|
), Ks = (t) => (e) => e.assetTypeReducer.instances[t], HA = y(
|
|
1164
1176
|
m(
|
|
1165
|
-
[
|
|
1177
|
+
[na, (t, e) => e],
|
|
1166
1178
|
(t, e) => {
|
|
1167
1179
|
const s = [];
|
|
1168
1180
|
for (const i of e) {
|
|
@@ -1172,7 +1184,7 @@ const Ue = _(
|
|
|
1172
1184
|
return b(s);
|
|
1173
1185
|
}
|
|
1174
1186
|
)
|
|
1175
|
-
), Pd =
|
|
1187
|
+
), Pd = ia.reducer, Ys = {
|
|
1176
1188
|
accessToken: "",
|
|
1177
1189
|
refreshToken: "",
|
|
1178
1190
|
isLoggedIn: !1
|
|
@@ -1191,7 +1203,7 @@ const Ue = _(
|
|
|
1191
1203
|
e.payload || Mt.caseReducers.clearTokens(t), t.isLoggedIn = e.payload;
|
|
1192
1204
|
}
|
|
1193
1205
|
}
|
|
1194
|
-
}), { setTokens: WA, clearTokens: KA, setLoggedIn: _d } = Mt.actions, YA = (t) => t.authReducer.accessToken, JA = (t) => t.authReducer.isLoggedIn, Rd = Mt.reducer, $e = _((t) => t.uuid), Js = $e.getInitialState({}),
|
|
1206
|
+
}), { setTokens: WA, clearTokens: KA, setLoggedIn: _d } = Mt.actions, YA = (t) => t.authReducer.accessToken, JA = (t) => t.authReducer.isLoggedIn, Rd = Mt.reducer, $e = _((t) => t.uuid), Js = $e.getInitialState({}), aa = T({
|
|
1195
1207
|
name: "categories",
|
|
1196
1208
|
initialState: Js,
|
|
1197
1209
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Js)),
|
|
@@ -1201,9 +1213,9 @@ const Ue = _(
|
|
|
1201
1213
|
updateCategory: $e.updateOne,
|
|
1202
1214
|
deleteCategory: $e.deleteOne
|
|
1203
1215
|
}
|
|
1204
|
-
}), { initializeCategories: Fd, addCategory: Qs, updateCategory: Od, deleteCategory: Id } =
|
|
1216
|
+
}), { initializeCategories: Fd, addCategory: Qs, updateCategory: Od, deleteCategory: Id } = aa.actions, ca = (t) => t.categoryReducer.instances, QA = m([ca], (t) => Object.values(t)), Xs = (t) => (e) => e.categoryReducer.instances[t], XA = y(
|
|
1205
1217
|
m(
|
|
1206
|
-
[
|
|
1218
|
+
[ca, (t, e) => e],
|
|
1207
1219
|
(t, e) => {
|
|
1208
1220
|
const s = [];
|
|
1209
1221
|
for (const i of e) {
|
|
@@ -1213,9 +1225,9 @@ const Ue = _(
|
|
|
1213
1225
|
return b(s);
|
|
1214
1226
|
}
|
|
1215
1227
|
)
|
|
1216
|
-
), ZA = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, vd =
|
|
1228
|
+
), ZA = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, vd = aa.reducer, se = _(
|
|
1217
1229
|
(t) => t.uuid
|
|
1218
|
-
), Zs = se.getInitialState({}),
|
|
1230
|
+
), Zs = se.getInitialState({}), ra = T({
|
|
1219
1231
|
name: "documentAttachments",
|
|
1220
1232
|
initialState: Zs,
|
|
1221
1233
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zs)),
|
|
@@ -1240,7 +1252,7 @@ const Ue = _(
|
|
|
1240
1252
|
updateDocumentAttachments: qd,
|
|
1241
1253
|
deleteDocumentAttachment: jd,
|
|
1242
1254
|
deleteDocumentAttachments: Md
|
|
1243
|
-
} =
|
|
1255
|
+
} = ra.actions, Cd = (t) => t.documentAttachmentReducer.instances, Dd = m(
|
|
1244
1256
|
[Cd],
|
|
1245
1257
|
(t) => Object.values(t)
|
|
1246
1258
|
), xd = (t) => (e) => e.documentAttachmentReducer.instances[t], iy = y(
|
|
@@ -1248,9 +1260,9 @@ const Ue = _(
|
|
|
1248
1260
|
[Dd, (t, e) => e],
|
|
1249
1261
|
(t, e) => b(t.filter(({ document: s }) => e === s))
|
|
1250
1262
|
)
|
|
1251
|
-
), zd =
|
|
1263
|
+
), zd = ra.reducer, ei = {
|
|
1252
1264
|
documents: {}
|
|
1253
|
-
},
|
|
1265
|
+
}, oa = T({
|
|
1254
1266
|
name: "documents",
|
|
1255
1267
|
initialState: ei,
|
|
1256
1268
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -1258,9 +1270,9 @@ const Ue = _(
|
|
|
1258
1270
|
}),
|
|
1259
1271
|
reducers: {
|
|
1260
1272
|
setDocuments: (t, e) => {
|
|
1261
|
-
if (e.payload.filter(
|
|
1273
|
+
if (e.payload.filter(Wc).length !== e.payload.length)
|
|
1262
1274
|
throw new Error("Tried to use setIssues reducer with duplicate ID's");
|
|
1263
|
-
t.documents =
|
|
1275
|
+
t.documents = Hc(e.payload);
|
|
1264
1276
|
},
|
|
1265
1277
|
addDocuments: (t, e) => {
|
|
1266
1278
|
for (const s of e.payload)
|
|
@@ -1374,7 +1386,7 @@ const Ue = _(
|
|
|
1374
1386
|
}
|
|
1375
1387
|
}
|
|
1376
1388
|
}
|
|
1377
|
-
}), { setDocuments: Vd, addDocuments: Ud, updateDocuments: _e, moveDocument: $d, removeDocuments: ti } =
|
|
1389
|
+
}), { setDocuments: Vd, addDocuments: Ud, updateDocuments: _e, moveDocument: $d, removeDocuments: ti } = oa.actions, Ne = (t) => t.documentsReducer.documents, Gd = m(
|
|
1378
1390
|
[Ne],
|
|
1379
1391
|
(t) => Object.values(t)
|
|
1380
1392
|
), Bd = (t) => (e) => e.documentsReducer.documents[t], ny = y(
|
|
@@ -1404,9 +1416,9 @@ const Ue = _(
|
|
|
1404
1416
|
), cy = m(
|
|
1405
1417
|
[Gd],
|
|
1406
1418
|
(t) => b(t.filter((e) => !e.parent_document))
|
|
1407
|
-
), Ld =
|
|
1419
|
+
), Ld = oa.reducer, ct = _(
|
|
1408
1420
|
(t) => t.uuid
|
|
1409
|
-
), Nd = ct.getInitialState({}),
|
|
1421
|
+
), Nd = ct.getInitialState({}), da = T({
|
|
1410
1422
|
name: "emailDomains",
|
|
1411
1423
|
initialState: Nd,
|
|
1412
1424
|
reducers: {
|
|
@@ -1414,16 +1426,16 @@ const Ue = _(
|
|
|
1414
1426
|
addEmailDomain: ct.addOne,
|
|
1415
1427
|
deleteEmailDomain: ct.deleteOne
|
|
1416
1428
|
}
|
|
1417
|
-
}), { 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)), ry = y(
|
|
1418
1430
|
m(
|
|
1419
1431
|
[Jd, (t, e) => e],
|
|
1420
1432
|
(t, e) => b(
|
|
1421
1433
|
t.filter((s) => s.organization === e)
|
|
1422
1434
|
)
|
|
1423
1435
|
)
|
|
1424
|
-
), Qd =
|
|
1436
|
+
), Qd = da.reducer, si = {
|
|
1425
1437
|
s3Urls: {}
|
|
1426
|
-
},
|
|
1438
|
+
}, ua = 1e3 * 60 * 60, Xd = ua * 24 * 7, la = T({
|
|
1427
1439
|
name: "file",
|
|
1428
1440
|
initialState: si,
|
|
1429
1441
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, si)),
|
|
@@ -1437,14 +1449,14 @@ const Ue = _(
|
|
|
1437
1449
|
};
|
|
1438
1450
|
}
|
|
1439
1451
|
}
|
|
1440
|
-
}), { setUploadUrl: Zd } =
|
|
1452
|
+
}), { setUploadUrl: Zd } = la.actions, eu = (t) => (e) => {
|
|
1441
1453
|
const s = e.fileReducer.s3Urls[t];
|
|
1442
1454
|
if (!s)
|
|
1443
1455
|
return;
|
|
1444
1456
|
const i = (/* @__PURE__ */ new Date()).getTime();
|
|
1445
|
-
if (!((s.exp ?? i) - i <
|
|
1457
|
+
if (!((s.exp ?? i) - i < ua))
|
|
1446
1458
|
return s;
|
|
1447
|
-
}, tu =
|
|
1459
|
+
}, tu = la.reducer, ie = _((t) => t.uuid), ii = ie.getInitialState({}), ha = T({
|
|
1448
1460
|
name: "formRevisionAttachments",
|
|
1449
1461
|
initialState: ii,
|
|
1450
1462
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ii)),
|
|
@@ -1469,17 +1481,17 @@ const Ue = _(
|
|
|
1469
1481
|
updateFormRevisionAttachments: nu,
|
|
1470
1482
|
deleteFormRevisionAttachment: hy,
|
|
1471
1483
|
deleteFormRevisionAttachments: au
|
|
1472
|
-
} =
|
|
1484
|
+
} = ha.actions, cu = (t) => t.formRevisionAttachmentReducer.instances, py = y(
|
|
1473
1485
|
m(
|
|
1474
1486
|
[cu, (t, e) => e],
|
|
1475
1487
|
(t, e) => b(
|
|
1476
1488
|
Object.values(t).filter((s) => s.form_revision === e)
|
|
1477
1489
|
)
|
|
1478
1490
|
)
|
|
1479
|
-
), ru =
|
|
1491
|
+
), ru = ha.reducer, ou = (t, e) => {
|
|
1480
1492
|
const s = t.revision, i = e.revision;
|
|
1481
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;
|
|
1482
|
-
}, Re = _((t) => t.uuid), ni = Re.getInitialState({}),
|
|
1494
|
+
}, Re = _((t) => t.uuid), ni = Re.getInitialState({}), pa = T({
|
|
1483
1495
|
name: "formRevisions",
|
|
1484
1496
|
initialState: ni,
|
|
1485
1497
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ni)),
|
|
@@ -1494,11 +1506,11 @@ const Ue = _(
|
|
|
1494
1506
|
}), {
|
|
1495
1507
|
setFormRevision: du,
|
|
1496
1508
|
initializeFormRevisions: uu,
|
|
1497
|
-
addFormRevision:
|
|
1509
|
+
addFormRevision: ma,
|
|
1498
1510
|
addFormRevisions: lu,
|
|
1499
|
-
deleteFormRevision:
|
|
1511
|
+
deleteFormRevision: fa,
|
|
1500
1512
|
deleteFormRevisions: hu
|
|
1501
|
-
} =
|
|
1513
|
+
} = pa.actions, Ct = (t) => t.formRevisionReducer.instances, pu = m(
|
|
1502
1514
|
[Ct],
|
|
1503
1515
|
(t) => Object.values(t)
|
|
1504
1516
|
), my = (t) => (e) => e.formRevisionReducer.instances[t], fy = y(
|
|
@@ -1516,7 +1528,7 @@ const Ue = _(
|
|
|
1516
1528
|
[pu, (t, e) => e],
|
|
1517
1529
|
(t, e) => b(t.filter((s) => s.form === e))
|
|
1518
1530
|
)
|
|
1519
|
-
), fu =
|
|
1531
|
+
), fu = pa.reducer, Fe = _((t) => t.uuid), ai = Fe.getInitialState({}), Aa = T({
|
|
1520
1532
|
name: "forms",
|
|
1521
1533
|
initialState: ai,
|
|
1522
1534
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ai)),
|
|
@@ -1528,7 +1540,7 @@ const Ue = _(
|
|
|
1528
1540
|
updateForm: Fe.updateOne,
|
|
1529
1541
|
deleteForm: Fe.deleteOne
|
|
1530
1542
|
}
|
|
1531
|
-
}), { initializeForms: Au, setForm: Ay, addForm: ci, addForms: yy, updateForm: by, deleteForm: ri } =
|
|
1543
|
+
}), { initializeForms: Au, setForm: Ay, addForm: ci, addForms: yy, updateForm: by, deleteForm: ri } = Aa.actions, yu = Aa.reducer, bu = (t) => t.formReducer.instances, Sy = m([bu], (t) => Object.values(t)), Su = (t) => (e) => e.formReducer.instances[t], ne = _((t) => t.uuid), oi = ne.getInitialState({}), ya = T({
|
|
1532
1544
|
name: "formSubmissionAttachments",
|
|
1533
1545
|
initialState: oi,
|
|
1534
1546
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, oi)),
|
|
@@ -1553,10 +1565,10 @@ const Ue = _(
|
|
|
1553
1565
|
updateFormSubmissionAttachments: Tu,
|
|
1554
1566
|
deleteFormSubmissionAttachment: Ry,
|
|
1555
1567
|
deleteFormSubmissionAttachments: It
|
|
1556
|
-
} =
|
|
1568
|
+
} = ya.actions, ba = (t) => t.formSubmissionAttachmentReducer.instances, Pu = y(
|
|
1557
1569
|
m(
|
|
1558
1570
|
[
|
|
1559
|
-
|
|
1571
|
+
ba,
|
|
1560
1572
|
(t, e) => e
|
|
1561
1573
|
],
|
|
1562
1574
|
(t, e) => {
|
|
@@ -1568,14 +1580,14 @@ const Ue = _(
|
|
|
1568
1580
|
)
|
|
1569
1581
|
), _u = y(
|
|
1570
1582
|
m(
|
|
1571
|
-
[
|
|
1583
|
+
[ba, (t, e) => e],
|
|
1572
1584
|
(t, e) => b(
|
|
1573
1585
|
Object.values(t).filter((s) => s.form_submission === e)
|
|
1574
1586
|
)
|
|
1575
1587
|
)
|
|
1576
|
-
), Ru =
|
|
1588
|
+
), Ru = ya.reducer, ae = _(
|
|
1577
1589
|
(t) => t.uuid
|
|
1578
|
-
), di = ae.getInitialState({}),
|
|
1590
|
+
), di = ae.getInitialState({}), Sa = T({
|
|
1579
1591
|
name: "formSubmissions",
|
|
1580
1592
|
initialState: di,
|
|
1581
1593
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, di)),
|
|
@@ -1600,13 +1612,13 @@ const Ue = _(
|
|
|
1600
1612
|
updateFormSubmissions: Oy,
|
|
1601
1613
|
deleteFormSubmission: li,
|
|
1602
1614
|
deleteFormSubmissions: xt
|
|
1603
|
-
} =
|
|
1604
|
-
[
|
|
1615
|
+
} = Sa.actions, ga = (t) => t.formSubmissionReducer.instances, Ta = m(
|
|
1616
|
+
[ga],
|
|
1605
1617
|
(t) => Object.values(t)
|
|
1606
1618
|
), hi = (t) => (e) => e.formSubmissionReducer.instances[t], Iu = y(
|
|
1607
1619
|
m(
|
|
1608
1620
|
[
|
|
1609
|
-
|
|
1621
|
+
ga,
|
|
1610
1622
|
Ct,
|
|
1611
1623
|
(t, e) => e
|
|
1612
1624
|
],
|
|
@@ -1621,15 +1633,15 @@ const Ue = _(
|
|
|
1621
1633
|
)
|
|
1622
1634
|
), vu = y(
|
|
1623
1635
|
m(
|
|
1624
|
-
[
|
|
1636
|
+
[Ta, (t, e) => e],
|
|
1625
1637
|
(t, e) => Object.values(t).filter((s) => s.issue === e)
|
|
1626
1638
|
)
|
|
1627
1639
|
), wu = y(
|
|
1628
1640
|
m(
|
|
1629
|
-
[
|
|
1641
|
+
[Ta, (t, e) => e],
|
|
1630
1642
|
(t, e) => t.filter((s) => s.asset === e)
|
|
1631
1643
|
)
|
|
1632
|
-
), Eu =
|
|
1644
|
+
), Eu = Sa.reducer, ce = _((t) => t.uuid), pi = ce.getInitialState({}), Pa = T({
|
|
1633
1645
|
name: "geoImages",
|
|
1634
1646
|
initialState: pi,
|
|
1635
1647
|
extraReducers: (t) => {
|
|
@@ -1658,11 +1670,11 @@ const Ue = _(
|
|
|
1658
1670
|
updateGeoImages: Iy,
|
|
1659
1671
|
deleteGeoImage: mi,
|
|
1660
1672
|
deleteGeoImages: Du
|
|
1661
|
-
} =
|
|
1673
|
+
} = Pa.actions, xu = (t) => t.geoImageReducer.instances, zu = m([xu], (t) => Object.values(t)), fi = (t) => (e) => e.geoImageReducer.instances[t], vy = y(
|
|
1662
1674
|
m([zu, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
|
|
1663
|
-
), Vu =
|
|
1675
|
+
), Vu = Pa.reducer, re = _(
|
|
1664
1676
|
(t) => t.uuid
|
|
1665
|
-
), Ai = re.getInitialState({}),
|
|
1677
|
+
), Ai = re.getInitialState({}), _a = T({
|
|
1666
1678
|
name: "issueAssociations",
|
|
1667
1679
|
initialState: Ai,
|
|
1668
1680
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ai)),
|
|
@@ -1684,10 +1696,10 @@ const Ue = _(
|
|
|
1684
1696
|
updateIssueAssociation: $u,
|
|
1685
1697
|
updateIssueAssociations: ky,
|
|
1686
1698
|
addIssueAssociation: yi,
|
|
1687
|
-
addIssueAssociations:
|
|
1699
|
+
addIssueAssociations: Ra,
|
|
1688
1700
|
deleteIssueAssociation: bi,
|
|
1689
|
-
deleteIssueAssociations:
|
|
1690
|
-
} =
|
|
1701
|
+
deleteIssueAssociations: Fa
|
|
1702
|
+
} = _a.actions, ut = (t) => t.issueAssociationReducer.instances, qy = m([ut], (t) => Object.values(t)), Gu = (t) => (e) => e.issueAssociationReducer.instances[t], Bu = y(
|
|
1691
1703
|
m(
|
|
1692
1704
|
[ut, (t, e) => e],
|
|
1693
1705
|
(t, e) => b(
|
|
@@ -1704,9 +1716,9 @@ const Ue = _(
|
|
|
1704
1716
|
[ut, (t, e) => e],
|
|
1705
1717
|
(t, e) => b(Object.values(t).filter((s) => s.asset === e))
|
|
1706
1718
|
)
|
|
1707
|
-
), Hu =
|
|
1719
|
+
), Hu = _a.reducer, oe = _(
|
|
1708
1720
|
(t) => t.uuid
|
|
1709
|
-
), Si = oe.getInitialState({}),
|
|
1721
|
+
), Si = oe.getInitialState({}), Oa = T({
|
|
1710
1722
|
name: "issueAttachments",
|
|
1711
1723
|
initialState: Si,
|
|
1712
1724
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Si)),
|
|
@@ -1724,14 +1736,14 @@ const Ue = _(
|
|
|
1724
1736
|
}), {
|
|
1725
1737
|
initializeIssueAttachments: gi,
|
|
1726
1738
|
addIssueAttachment: jy,
|
|
1727
|
-
addIssueAttachments:
|
|
1739
|
+
addIssueAttachments: Ia,
|
|
1728
1740
|
setIssueAttachment: Wu,
|
|
1729
1741
|
setIssueAttachments: My,
|
|
1730
1742
|
updateIssueAttachment: Cy,
|
|
1731
1743
|
updateIssueAttachments: Ku,
|
|
1732
1744
|
deleteIssueAttachment: Yu,
|
|
1733
|
-
deleteIssueAttachments:
|
|
1734
|
-
} =
|
|
1745
|
+
deleteIssueAttachments: va
|
|
1746
|
+
} = Oa.actions, Ju = (t) => t.issueAttachmentReducer.instances, Qu = m(
|
|
1735
1747
|
[Ju],
|
|
1736
1748
|
(t) => Object.values(t)
|
|
1737
1749
|
), Xu = y(
|
|
@@ -1739,7 +1751,7 @@ const Ue = _(
|
|
|
1739
1751
|
[Qu, (t, e) => e],
|
|
1740
1752
|
(t, e) => b(t.filter(({ issue: s }) => e === s))
|
|
1741
1753
|
)
|
|
1742
|
-
), Zu = (t) => (e) => e.issueAttachmentReducer.instances[t], el =
|
|
1754
|
+
), Zu = (t) => (e) => e.issueAttachmentReducer.instances[t], el = Oa.reducer, de = _((t) => t.uuid), Ti = de.getInitialState({}), wa = T({
|
|
1743
1755
|
name: "issueCommentAttachments",
|
|
1744
1756
|
initialState: Ti,
|
|
1745
1757
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ti)),
|
|
@@ -1764,7 +1776,7 @@ const Ue = _(
|
|
|
1764
1776
|
updateIssueCommentAttachments: il,
|
|
1765
1777
|
deleteIssueCommentAttachment: nl,
|
|
1766
1778
|
deleteIssueCommentAttachments: al
|
|
1767
|
-
} =
|
|
1779
|
+
} = wa.actions, cl = (t) => t.issueCommentAttachmentReducer.instances, rl = m(
|
|
1768
1780
|
[cl],
|
|
1769
1781
|
(t) => Object.values(t)
|
|
1770
1782
|
), ol = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], Vy = y(
|
|
@@ -1775,7 +1787,7 @@ const Ue = _(
|
|
|
1775
1787
|
],
|
|
1776
1788
|
(t, e) => b(t.filter(({ issue_comment: s }) => e === s))
|
|
1777
1789
|
)
|
|
1778
|
-
), dl =
|
|
1790
|
+
), dl = wa.reducer, Oe = _((t) => t.uuid), _i = Oe.getInitialState({}), Ea = T({
|
|
1779
1791
|
name: "issueComments",
|
|
1780
1792
|
initialState: _i,
|
|
1781
1793
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, _i)),
|
|
@@ -1794,12 +1806,12 @@ const Ue = _(
|
|
|
1794
1806
|
addIssueComments: Uy,
|
|
1795
1807
|
deleteIssueComment: Oi,
|
|
1796
1808
|
deleteIssueComments: $y
|
|
1797
|
-
} =
|
|
1809
|
+
} = Ea.actions, ll = (t) => t.issueCommentReducer.instances, Ii = (t) => (e) => e.issueCommentReducer.instances[t], Gy = y(
|
|
1798
1810
|
m(
|
|
1799
1811
|
[ll, (t, e) => e],
|
|
1800
1812
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1801
1813
|
)
|
|
1802
|
-
), hl =
|
|
1814
|
+
), hl = Ea.reducer, Ie = _((t) => t.uuid), vi = Ie.getInitialState({}), ka = T({
|
|
1803
1815
|
name: "issues",
|
|
1804
1816
|
initialState: vi,
|
|
1805
1817
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -1813,7 +1825,7 @@ const Ue = _(
|
|
|
1813
1825
|
deleteIssue: Ie.deleteOne,
|
|
1814
1826
|
deleteIssues: Ie.deleteMany
|
|
1815
1827
|
}
|
|
1816
|
-
}), { initializeIssues: pl, addIssue: wi, addIssues: ml, updateIssue: mt, deleteIssue: Ei, deleteIssues: fl } =
|
|
1828
|
+
}), { initializeIssues: pl, addIssue: wi, addIssues: ml, updateIssue: mt, deleteIssue: Ei, deleteIssues: fl } = ka.actions, Al = (t) => t.issueReducer.instances, ki = (t) => (e) => e.issueReducer.instances[t], By = y(
|
|
1817
1829
|
m([Al, (t, e) => e], (t, e) => {
|
|
1818
1830
|
const s = [];
|
|
1819
1831
|
for (const i of e) {
|
|
@@ -1822,9 +1834,9 @@ const Ue = _(
|
|
|
1822
1834
|
}
|
|
1823
1835
|
return b(s);
|
|
1824
1836
|
})
|
|
1825
|
-
), yl =
|
|
1837
|
+
), yl = ka.reducer, ue = _(
|
|
1826
1838
|
(t) => t.uuid
|
|
1827
|
-
), qi = ue.getInitialState({}),
|
|
1839
|
+
), qi = ue.getInitialState({}), qa = T({
|
|
1828
1840
|
name: "issueTypeAttachments",
|
|
1829
1841
|
initialState: qi,
|
|
1830
1842
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, qi)),
|
|
@@ -1849,7 +1861,7 @@ const Ue = _(
|
|
|
1849
1861
|
updateIssueTypeAttachments: gl,
|
|
1850
1862
|
deleteIssueTypeAttachment: Tl,
|
|
1851
1863
|
deleteIssueTypeAttachments: Pl
|
|
1852
|
-
} =
|
|
1864
|
+
} = qa.actions, _l = (t) => t.issueTypeAttachmentReducer.instances, Rl = m(
|
|
1853
1865
|
[_l],
|
|
1854
1866
|
(t) => Object.values(t)
|
|
1855
1867
|
), Fl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Wy = y(
|
|
@@ -1857,7 +1869,7 @@ const Ue = _(
|
|
|
1857
1869
|
[Rl, (t, e) => e],
|
|
1858
1870
|
(t, e) => b(t.filter(({ issue_type: s }) => e === s))
|
|
1859
1871
|
)
|
|
1860
|
-
), Ol =
|
|
1872
|
+
), Ol = qa.reducer, le = _((t) => t.uuid), Mi = le.getInitialState({}), ja = T({
|
|
1861
1873
|
name: "issueTypeFieldsAttachments",
|
|
1862
1874
|
initialState: Mi,
|
|
1863
1875
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Mi)),
|
|
@@ -1882,7 +1894,7 @@ const Ue = _(
|
|
|
1882
1894
|
updateIssueTypeFieldsAttachments: wl,
|
|
1883
1895
|
deleteIssueTypeFieldsAttachment: Xy,
|
|
1884
1896
|
deleteIssueTypeFieldsAttachments: El
|
|
1885
|
-
} =
|
|
1897
|
+
} = ja.actions, kl = (t) => t.issueTypeFieldsAttachmentReducer.instances, ql = m(
|
|
1886
1898
|
[kl],
|
|
1887
1899
|
(t) => Object.values(t)
|
|
1888
1900
|
), Zy = y(
|
|
@@ -1892,9 +1904,9 @@ const Ue = _(
|
|
|
1892
1904
|
t.filter((s) => s.fields_revision === e)
|
|
1893
1905
|
)
|
|
1894
1906
|
)
|
|
1895
|
-
), eb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], jl =
|
|
1907
|
+
), eb = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], jl = ja.reducer, he = _(
|
|
1896
1908
|
(t) => t.uuid
|
|
1897
|
-
), Ci = he.getInitialState({}),
|
|
1909
|
+
), Ci = he.getInitialState({}), Ma = T({
|
|
1898
1910
|
name: "issueTypeFieldValues",
|
|
1899
1911
|
initialState: Ci,
|
|
1900
1912
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ci)),
|
|
@@ -1919,11 +1931,11 @@ const Ue = _(
|
|
|
1919
1931
|
updateIssueTypeFieldValuesMany: nb,
|
|
1920
1932
|
deleteIssueTypeFieldValues: xi,
|
|
1921
1933
|
deleteIssueTypeFieldValuesMany: ab
|
|
1922
|
-
} =
|
|
1923
|
-
m([
|
|
1924
|
-
), zi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Dl =
|
|
1934
|
+
} = Ma.actions, Cl = (t) => t.issueTypeFieldValuesReducer.instances, Ca = m([Cl], (t) => Object.values(t)), cb = y(
|
|
1935
|
+
m([Ca, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
|
|
1936
|
+
), zi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], Dl = Ma.reducer, pe = _(
|
|
1925
1937
|
(t) => t.uuid
|
|
1926
|
-
), Vi = pe.getInitialState({}),
|
|
1938
|
+
), Vi = pe.getInitialState({}), Da = T({
|
|
1927
1939
|
name: "issueTypeFields",
|
|
1928
1940
|
initialState: Vi,
|
|
1929
1941
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Vi)),
|
|
@@ -1948,13 +1960,13 @@ const Ue = _(
|
|
|
1948
1960
|
updateIssueTypeFieldsMany: ub,
|
|
1949
1961
|
deleteIssueTypeFields: Ul,
|
|
1950
1962
|
deleteIssueTypeFieldsMany: lb
|
|
1951
|
-
} =
|
|
1963
|
+
} = Da.actions, $l = (t) => t.issueTypeFieldsReducer.instances, zt = m([$l], (t) => Object.values(t)), hb = y(
|
|
1952
1964
|
m([zt, (t, e) => e], (t, e) => b(t.filter((s) => s.issue_type === e)))
|
|
1953
1965
|
), pb = y(
|
|
1954
1966
|
m([zt, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1955
1967
|
), mb = y(
|
|
1956
1968
|
m(
|
|
1957
|
-
[zt,
|
|
1969
|
+
[zt, Ca, (t, e) => e],
|
|
1958
1970
|
(t, e, s) => {
|
|
1959
1971
|
const i = new Set(
|
|
1960
1972
|
t.filter((n) => n.issue_type === s).map((n) => n.uuid)
|
|
@@ -1962,7 +1974,7 @@ const Ue = _(
|
|
|
1962
1974
|
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1963
1975
|
}
|
|
1964
1976
|
)
|
|
1965
|
-
), fb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Gl =
|
|
1977
|
+
), fb = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Gl = Da.reducer, me = _((t) => t.uuid), Ui = me.getInitialState({}), xa = T({
|
|
1966
1978
|
name: "issueTypeFieldValuesAttachments",
|
|
1967
1979
|
initialState: Ui,
|
|
1968
1980
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ui)),
|
|
@@ -1987,13 +1999,13 @@ const Ue = _(
|
|
|
1987
1999
|
updateIssueTypeFieldValuesAttachments: Ll,
|
|
1988
2000
|
deleteIssueTypeFieldValuesAttachment: gb,
|
|
1989
2001
|
deleteIssueTypeFieldValuesAttachments: wt
|
|
1990
|
-
} =
|
|
1991
|
-
[
|
|
2002
|
+
} = xa.actions, za = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Nl = m(
|
|
2003
|
+
[za],
|
|
1992
2004
|
(t) => Object.values(t)
|
|
1993
2005
|
), Tb = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t], Hl = y(
|
|
1994
2006
|
m(
|
|
1995
2007
|
[
|
|
1996
|
-
|
|
2008
|
+
za,
|
|
1997
2009
|
(t, e) => e
|
|
1998
2010
|
],
|
|
1999
2011
|
(t, e) => {
|
|
@@ -2008,7 +2020,7 @@ const Ue = _(
|
|
|
2008
2020
|
[Nl, (t, e) => e],
|
|
2009
2021
|
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
2010
2022
|
)
|
|
2011
|
-
), Kl =
|
|
2023
|
+
), Kl = xa.reducer, je = _((t) => t.uuid), $i = je.getInitialState({}), Va = T({
|
|
2012
2024
|
name: "issueTypes",
|
|
2013
2025
|
initialState: $i,
|
|
2014
2026
|
extraReducers: (t) => t.addCase("RESET", (e) => {
|
|
@@ -2021,7 +2033,7 @@ const Ue = _(
|
|
|
2021
2033
|
updateIssueType: je.updateOne,
|
|
2022
2034
|
removeIssueType: je.deleteOne
|
|
2023
2035
|
}
|
|
2024
|
-
}), { initializeIssueTypes: Yl, setIssueType: it, addIssueType: Jl, updateIssueType: Ql, removeIssueType: Gi } =
|
|
2036
|
+
}), { initializeIssueTypes: Yl, setIssueType: it, addIssueType: Jl, updateIssueType: Ql, removeIssueType: Gi } = Va.actions, Xl = (t) => t.issueTypeReducer.instances, Zl = m(
|
|
2025
2037
|
Xl,
|
|
2026
2038
|
(t) => Object.values(t)
|
|
2027
2039
|
), Bi = (t) => (e) => e.issueTypeReducer.instances[t], Pb = (t) => (e) => {
|
|
@@ -2036,16 +2048,16 @@ const Ue = _(
|
|
|
2036
2048
|
[Zl, (t, e) => e],
|
|
2037
2049
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2038
2050
|
)
|
|
2039
|
-
),
|
|
2051
|
+
), Ua = y(
|
|
2040
2052
|
m(
|
|
2041
2053
|
[(t) => t.issueReducer.instances, (t, e) => e],
|
|
2042
2054
|
(t, e) => b(
|
|
2043
2055
|
Object.values(t).filter((s) => s.issue_type === e)
|
|
2044
2056
|
)
|
|
2045
2057
|
)
|
|
2046
|
-
), Rb = (t) => (e) =>
|
|
2058
|
+
), Rb = (t) => (e) => Ua(t)(e).length, eh = Va.reducer, ve = _(
|
|
2047
2059
|
(t) => t.uuid
|
|
2048
|
-
), Li = ve.getInitialState({}),
|
|
2060
|
+
), Li = ve.getInitialState({}), $a = T({
|
|
2049
2061
|
name: "issueUpdates",
|
|
2050
2062
|
initialState: Li,
|
|
2051
2063
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Li)),
|
|
@@ -2064,12 +2076,12 @@ const Ue = _(
|
|
|
2064
2076
|
addIssueUpdates: ih,
|
|
2065
2077
|
deleteIssueUpdate: nh,
|
|
2066
2078
|
deleteIssueUpdates: ah
|
|
2067
|
-
} =
|
|
2079
|
+
} = $a.actions, ch = (t) => t.issueUpdateReducer.instances, rh = y(
|
|
2068
2080
|
m(
|
|
2069
2081
|
[ch, (t, e) => e],
|
|
2070
2082
|
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
2071
2083
|
)
|
|
2072
|
-
), oh =
|
|
2084
|
+
), oh = $a.reducer, rt = _((t) => t.uuid), Ni = rt.getInitialState({}), Ga = T({
|
|
2073
2085
|
name: "license",
|
|
2074
2086
|
initialState: Ni,
|
|
2075
2087
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ni)),
|
|
@@ -2078,7 +2090,7 @@ const Ue = _(
|
|
|
2078
2090
|
addLicenses: rt.addMany,
|
|
2079
2091
|
updateLicense: rt.updateOne
|
|
2080
2092
|
}
|
|
2081
|
-
}), { initializeLicences: dh, addLicenses: Ob, updateLicense: ge } =
|
|
2093
|
+
}), { initializeLicences: dh, addLicenses: Ob, updateLicense: ge } = Ga.actions, Vt = (t) => t.licenseReducer.instances, Ib = (t) => (e) => e.licenseReducer.instances[t], uh = (t) => (e) => Object.values(e.licenseReducer.instances).find((s) => s.project === t), vb = m(
|
|
2082
2094
|
[Vt],
|
|
2083
2095
|
(t) => b(Object.values(t).filter((e) => e.is_active))
|
|
2084
2096
|
), wb = m(
|
|
@@ -2086,9 +2098,9 @@ const Ue = _(
|
|
|
2086
2098
|
(t) => De(
|
|
2087
2099
|
Object.values(t).filter((e) => e.project).reduce((e, s) => ({ ...e, [s.project]: s }), {})
|
|
2088
2100
|
)
|
|
2089
|
-
), lh =
|
|
2101
|
+
), lh = Ga.reducer, q = _((t) => t.id), Hi = q.getInitialState({
|
|
2090
2102
|
currentUser: null
|
|
2091
|
-
}),
|
|
2103
|
+
}), Ba = T({
|
|
2092
2104
|
name: "users",
|
|
2093
2105
|
initialState: Hi,
|
|
2094
2106
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Hi)),
|
|
@@ -2129,7 +2141,7 @@ const Ue = _(
|
|
|
2129
2141
|
removeUser: ph,
|
|
2130
2142
|
setCurrentUser: zb,
|
|
2131
2143
|
setProfilePicture: Vb
|
|
2132
|
-
} =
|
|
2144
|
+
} = Ba.actions, mh = Ba.reducer, Ut = (t) => t.userReducer.currentUser, $t = (t) => t.userReducer.instances, Ub = (t) => (e) => e.userReducer.instances[t], $b = y(
|
|
2133
2145
|
m([$t, (t, e) => e], (t, e) => {
|
|
2134
2146
|
const s = [];
|
|
2135
2147
|
for (const i of e) {
|
|
@@ -2140,7 +2152,7 @@ const Ue = _(
|
|
|
2140
2152
|
})
|
|
2141
2153
|
), ot = _(
|
|
2142
2154
|
(t) => t.uuid
|
|
2143
|
-
), Wi = ot.getInitialState({}),
|
|
2155
|
+
), Wi = ot.getInitialState({}), La = T({
|
|
2144
2156
|
name: "organizationAccess",
|
|
2145
2157
|
initialState: Wi,
|
|
2146
2158
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Wi)),
|
|
@@ -2149,8 +2161,8 @@ const Ue = _(
|
|
|
2149
2161
|
updateOrganizationAccess: ot.updateOne,
|
|
2150
2162
|
deleteOrganizationAccess: ot.deleteOne
|
|
2151
2163
|
}
|
|
2152
|
-
}), { initializeOrganizationAccesses: fh, updateOrganizationAccess: Ah, deleteOrganizationAccess: yh } =
|
|
2153
|
-
[Ut,
|
|
2164
|
+
}), { initializeOrganizationAccesses: fh, updateOrganizationAccess: Ah, deleteOrganizationAccess: yh } = La.actions, Na = (t) => t.organizationAccessReducer.instances, Gb = (t) => (e) => e.organizationAccessReducer.instances[t], Bb = m(
|
|
2165
|
+
[Ut, Na],
|
|
2154
2166
|
(t, e) => Object.values(e).find(
|
|
2155
2167
|
(i) => i.user === (t == null ? void 0 : t.id)
|
|
2156
2168
|
) ?? null
|
|
@@ -2161,9 +2173,9 @@ const Ue = _(
|
|
|
2161
2173
|
for (const s of Object.values(t.organizationAccessReducer.instances))
|
|
2162
2174
|
e[s.user] = s;
|
|
2163
2175
|
return De(e);
|
|
2164
|
-
}, Sh =
|
|
2176
|
+
}, Sh = La.reducer, Ge = _(
|
|
2165
2177
|
(t) => t.uuid
|
|
2166
|
-
), Ki = Ge.getInitialState({}),
|
|
2178
|
+
), Ki = Ge.getInitialState({}), Ha = T({
|
|
2167
2179
|
name: "projectAccess",
|
|
2168
2180
|
initialState: Ki,
|
|
2169
2181
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ki)),
|
|
@@ -2173,8 +2185,8 @@ const Ue = _(
|
|
|
2173
2185
|
deleteProjectAccess: Ge.deleteOne,
|
|
2174
2186
|
deleteProjectAccesses: Ge.deleteMany
|
|
2175
2187
|
}
|
|
2176
|
-
}), { initializeProjectAccesses:
|
|
2177
|
-
|
|
2188
|
+
}), { initializeProjectAccesses: Wa, updateProjectAccess: gh, deleteProjectAccess: Th, deleteProjectAccesses: Ph } = Ha.actions, Ka = (t) => t.projectAccessReducer.instances, _h = m(
|
|
2189
|
+
Ka,
|
|
2178
2190
|
(t) => Object.values(t)
|
|
2179
2191
|
), Nb = (t) => (e) => e.projectAccessReducer.instances[t], Hb = (t) => (e) => Object.values(e.projectAccessReducer.instances).find(
|
|
2180
2192
|
(s) => s.user === t.id
|
|
@@ -2183,7 +2195,7 @@ const Ue = _(
|
|
|
2183
2195
|
for (const s of Object.values(t.projectAccessReducer.instances))
|
|
2184
2196
|
e[s.user] = s;
|
|
2185
2197
|
return De(e);
|
|
2186
|
-
}, Fh =
|
|
2198
|
+
}, Fh = Ha.reducer, fe = _((t) => t.uuid), Yi = fe.getInitialState({}), Ya = T({
|
|
2187
2199
|
name: "projects",
|
|
2188
2200
|
initialState: Yi,
|
|
2189
2201
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Yi)),
|
|
@@ -2215,8 +2227,8 @@ const Ue = _(
|
|
|
2215
2227
|
deleteProject: vh,
|
|
2216
2228
|
deleteProjects: Xb,
|
|
2217
2229
|
acceptProjectInvite: wh
|
|
2218
|
-
} =
|
|
2219
|
-
[
|
|
2230
|
+
} = Ya.actions, Eh = Ya.reducer, Gt = (t) => t.projectReducer.instances, Zb = m([Gt], (t) => b(Object.values(t))), eS = (t) => (e) => e.projectReducer.instances[t], kh = m(
|
|
2231
|
+
[Ka],
|
|
2220
2232
|
(t) => Object.values(t).map((e) => e.user)
|
|
2221
2233
|
), qh = m(
|
|
2222
2234
|
[kh, $t],
|
|
@@ -2233,7 +2245,7 @@ const Ue = _(
|
|
|
2233
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) === dn.ADMIN ? -1 : 1;
|
|
2234
2246
|
})
|
|
2235
2247
|
)
|
|
2236
|
-
), Ae = _((t) => t.uuid), Ji = Ae.getInitialState({}),
|
|
2248
|
+
), Ae = _((t) => t.uuid), Ji = Ae.getInitialState({}), Ja = T({
|
|
2237
2249
|
name: "organizations",
|
|
2238
2250
|
initialState: Ji,
|
|
2239
2251
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ji)),
|
|
@@ -2258,13 +2270,13 @@ const Ue = _(
|
|
|
2258
2270
|
updateOrganization: rS,
|
|
2259
2271
|
deleteOrganization: oS,
|
|
2260
2272
|
deleteOrganizations: dS
|
|
2261
|
-
} =
|
|
2273
|
+
} = Ja.actions, Mh = (t) => t.organizationReducer.instances, Ch = m([Mh], (t) => Object.values(t)), uS = (t) => (e) => e.organizationReducer.instances[t], lS = m(
|
|
2262
2274
|
[Ch],
|
|
2263
2275
|
(t) => b(
|
|
2264
2276
|
Object.values(t).filter((e) => e.has_access)
|
|
2265
2277
|
)
|
|
2266
2278
|
), Dh = m(
|
|
2267
|
-
[
|
|
2279
|
+
[Na],
|
|
2268
2280
|
(t) => Object.values(t).map((e) => e.user)
|
|
2269
2281
|
), hS = y(
|
|
2270
2282
|
m(
|
|
@@ -2297,7 +2309,7 @@ const Ue = _(
|
|
|
2297
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) === un.ADMIN ? -1 : 1;
|
|
2298
2310
|
})
|
|
2299
2311
|
)
|
|
2300
|
-
), zh =
|
|
2312
|
+
), zh = Ja.reducer, Vh = (t, e, s) => {
|
|
2301
2313
|
const i = t.uuid ? t : { ...t, uuid: we() };
|
|
2302
2314
|
return {
|
|
2303
2315
|
payload: i,
|
|
@@ -2316,7 +2328,7 @@ const Ue = _(
|
|
|
2316
2328
|
}, Qi = {
|
|
2317
2329
|
deletedRequests: [],
|
|
2318
2330
|
latestRetryTime: 0
|
|
2319
|
-
},
|
|
2331
|
+
}, Qa = T({
|
|
2320
2332
|
name: "outbox",
|
|
2321
2333
|
initialState: Qi,
|
|
2322
2334
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Qi)),
|
|
@@ -2343,9 +2355,9 @@ const Ue = _(
|
|
|
2343
2355
|
t.latestRetryTime = e.payload;
|
|
2344
2356
|
}
|
|
2345
2357
|
}
|
|
2346
|
-
}), fS = (t) => t.outboxReducer.deletedRequests, AS = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Uh, markForDeletion: yS, markAsDeleted: $h, _setLatestRetryTime: Gh } =
|
|
2358
|
+
}), fS = (t) => t.outboxReducer.deletedRequests, AS = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Uh, markForDeletion: yS, markAsDeleted: $h, _setLatestRetryTime: Gh } = Qa.actions, Bh = Qa.reducer, ye = _(
|
|
2347
2359
|
(t) => t.uuid
|
|
2348
|
-
), Xi = ye.getInitialState({}),
|
|
2360
|
+
), Xi = ye.getInitialState({}), Xa = T({
|
|
2349
2361
|
name: "projectAttachments",
|
|
2350
2362
|
initialState: Xi,
|
|
2351
2363
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Xi)),
|
|
@@ -2369,8 +2381,8 @@ const Ue = _(
|
|
|
2369
2381
|
updateProjectAttachment: SS,
|
|
2370
2382
|
updateProjectAttachments: Kh,
|
|
2371
2383
|
deleteProjectAttachment: Yh,
|
|
2372
|
-
deleteProjectAttachments:
|
|
2373
|
-
} =
|
|
2384
|
+
deleteProjectAttachments: Za
|
|
2385
|
+
} = Xa.actions, Jh = (t) => t.projectAttachmentReducer.instances, Qh = m(
|
|
2374
2386
|
[Jh],
|
|
2375
2387
|
(t) => Object.values(t)
|
|
2376
2388
|
), Xh = (t) => (e) => e.projectAttachmentReducer.instances[t], Zh = y(
|
|
@@ -2378,12 +2390,12 @@ const Ue = _(
|
|
|
2378
2390
|
[Qh, (t, e) => e],
|
|
2379
2391
|
(t, e) => b(t.filter(({ project: s }) => e === s))
|
|
2380
2392
|
)
|
|
2381
|
-
), ep =
|
|
2393
|
+
), ep = Xa.reducer, be = _(
|
|
2382
2394
|
(t) => t.uuid
|
|
2383
2395
|
), Zi = be.getInitialState({
|
|
2384
2396
|
activeProjectFileId: null,
|
|
2385
2397
|
isImportingProjectFile: !1
|
|
2386
|
-
}),
|
|
2398
|
+
}), ec = T({
|
|
2387
2399
|
name: "projectFiles",
|
|
2388
2400
|
initialState: Zi,
|
|
2389
2401
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zi)),
|
|
@@ -2435,9 +2447,9 @@ const Ue = _(
|
|
|
2435
2447
|
setActiveProjectFileId: cp,
|
|
2436
2448
|
saveActiveProjectFileBounds: rp,
|
|
2437
2449
|
resetProjectFileObjectUrls: RS
|
|
2438
|
-
} =
|
|
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))), FS = (t) => (e) => e.projectFileReducer.instances[t], OS = (t) => t.projectFileReducer.activeProjectFileId, IS = (t) => t.projectFileReducer.isImportingProjectFile, up = ec.reducer, lp = {
|
|
2439
2451
|
isRehydrated: !1
|
|
2440
|
-
},
|
|
2452
|
+
}, tc = T({
|
|
2441
2453
|
name: "rehydrated",
|
|
2442
2454
|
initialState: lp,
|
|
2443
2455
|
// The `reducers` field lets us define reducers and generate associated actions
|
|
@@ -2446,7 +2458,7 @@ const Ue = _(
|
|
|
2446
2458
|
t.isRehydrated = e.payload;
|
|
2447
2459
|
}
|
|
2448
2460
|
}
|
|
2449
|
-
}), { setRehydrated: vS } =
|
|
2461
|
+
}), { setRehydrated: vS } = tc.actions, wS = (t) => t.rehydratedReducer.isRehydrated, hp = tc.reducer, Me = _((t) => t.uuid), tn = Me.getInitialState({}), sc = T({
|
|
2450
2462
|
name: "teams",
|
|
2451
2463
|
initialState: tn,
|
|
2452
2464
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, tn)),
|
|
@@ -2457,9 +2469,9 @@ const Ue = _(
|
|
|
2457
2469
|
updateTeam: Me.updateOne,
|
|
2458
2470
|
deleteTeam: Me.deleteOne
|
|
2459
2471
|
}
|
|
2460
|
-
}), { setTeam: ze, initializeTeams: pp, addTeam: mp, updateTeam: sn, deleteTeam: nn } =
|
|
2472
|
+
}), { setTeam: ze, initializeTeams: pp, addTeam: mp, updateTeam: sn, deleteTeam: nn } = sc.actions, ic = (t) => t.teamReducer.instances, nc = m([ic], (t) => Object.values(t)), Ve = (t) => (e) => e.teamReducer.instances[t], ES = y(
|
|
2461
2473
|
m(
|
|
2462
|
-
[
|
|
2474
|
+
[ic, (t, e) => e],
|
|
2463
2475
|
(t, e) => {
|
|
2464
2476
|
const s = [];
|
|
2465
2477
|
for (const i of e) {
|
|
@@ -2471,27 +2483,27 @@ const Ue = _(
|
|
|
2471
2483
|
)
|
|
2472
2484
|
), kS = y(
|
|
2473
2485
|
m(
|
|
2474
|
-
[
|
|
2486
|
+
[nc, (t, e) => e],
|
|
2475
2487
|
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2476
2488
|
)
|
|
2477
2489
|
), qS = y(
|
|
2478
|
-
m([
|
|
2479
|
-
), fp =
|
|
2490
|
+
m([nc, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
|
|
2491
|
+
), fp = sc.reducer, Ap = {
|
|
2480
2492
|
version: 0
|
|
2481
2493
|
}, yp = T({
|
|
2482
2494
|
name: "versioning",
|
|
2483
2495
|
initialState: Ap,
|
|
2484
2496
|
reducers: {}
|
|
2485
|
-
}), bp = yp.reducer,
|
|
2497
|
+
}), bp = yp.reducer, ac = {
|
|
2486
2498
|
outboxReducer: Bh,
|
|
2487
2499
|
fileReducer: tu,
|
|
2488
2500
|
authReducer: Rd
|
|
2489
|
-
}, jS = on(
|
|
2490
|
-
...
|
|
2501
|
+
}, jS = on(ac), Sp = {
|
|
2502
|
+
...ac,
|
|
2491
2503
|
[dt]: bp,
|
|
2492
2504
|
categoryReducer: vd,
|
|
2493
2505
|
assetReducer: wo,
|
|
2494
|
-
assetAttachmentReducer:
|
|
2506
|
+
assetAttachmentReducer: cr,
|
|
2495
2507
|
assetStageCompletionReducer: jo,
|
|
2496
2508
|
assetStageReducer: zo,
|
|
2497
2509
|
assetTypeReducer: Pd,
|
|
@@ -2518,7 +2530,7 @@ const Ue = _(
|
|
|
2518
2530
|
documentsReducer: Ld,
|
|
2519
2531
|
documentAttachmentReducer: zd,
|
|
2520
2532
|
teamReducer: fp,
|
|
2521
|
-
agentsReducer:
|
|
2533
|
+
agentsReducer: Xc,
|
|
2522
2534
|
issueCommentReducer: hl,
|
|
2523
2535
|
issueCommentAttachmentReducer: dl,
|
|
2524
2536
|
issueUpdateReducer: oh,
|
|
@@ -2532,38 +2544,38 @@ const Ue = _(
|
|
|
2532
2544
|
assetTypeFieldValuesReducer: gd,
|
|
2533
2545
|
assetTypeFieldsAttachmentReducer: sd,
|
|
2534
2546
|
assetTypeFieldValuesAttachmentReducer: md,
|
|
2535
|
-
assetProcedureReducer:
|
|
2536
|
-
assetProcedureInstanceReducer:
|
|
2537
|
-
assetProcedureFieldsReducer:
|
|
2538
|
-
assetProcedureFieldValuesReducer:
|
|
2539
|
-
assetProcedureFieldsAttachmentReducer:
|
|
2540
|
-
assetProcedureFieldValuesAttachmentReducer:
|
|
2541
|
-
assetProcedureAttachmentReducer:
|
|
2542
|
-
assetProcedureStepFieldsAttachmentReducer:
|
|
2547
|
+
assetProcedureReducer: Yr,
|
|
2548
|
+
assetProcedureInstanceReducer: Hr,
|
|
2549
|
+
assetProcedureFieldsReducer: wr,
|
|
2550
|
+
assetProcedureFieldValuesReducer: $r,
|
|
2551
|
+
assetProcedureFieldsAttachmentReducer: _r,
|
|
2552
|
+
assetProcedureFieldValuesAttachmentReducer: Cr,
|
|
2553
|
+
assetProcedureAttachmentReducer: Ar,
|
|
2554
|
+
assetProcedureStepFieldsAttachmentReducer: so,
|
|
2543
2555
|
assetProcedureStepFieldsReducer: ro,
|
|
2544
2556
|
assetProcedureStepFieldValuesAttachmentReducer: mo,
|
|
2545
2557
|
assetProcedureStepFieldValuesReducer: go,
|
|
2546
2558
|
assetProcedureStepReducer: _o
|
|
2547
2559
|
}, MS = on(Sp);
|
|
2548
|
-
let
|
|
2560
|
+
let cc;
|
|
2549
2561
|
function gp(t) {
|
|
2550
|
-
|
|
2562
|
+
cc = t;
|
|
2551
2563
|
}
|
|
2552
2564
|
function We() {
|
|
2553
|
-
return
|
|
2565
|
+
return cc;
|
|
2554
2566
|
}
|
|
2555
|
-
let
|
|
2567
|
+
let rc;
|
|
2556
2568
|
function Tp(t) {
|
|
2557
|
-
|
|
2569
|
+
rc = t;
|
|
2558
2570
|
}
|
|
2559
2571
|
function Pp() {
|
|
2560
|
-
return
|
|
2572
|
+
return rc;
|
|
2561
2573
|
}
|
|
2562
|
-
const
|
|
2563
|
-
class
|
|
2574
|
+
const oc = {};
|
|
2575
|
+
class dc {
|
|
2564
2576
|
constructor(e) {
|
|
2565
2577
|
A(this, "client");
|
|
2566
|
-
|
|
2578
|
+
oc[this.constructor.name] = this, this.client = e;
|
|
2567
2579
|
}
|
|
2568
2580
|
async enqueueRequest(e) {
|
|
2569
2581
|
return this.client.enqueueRequest(e, this.host, this.constructor.name);
|
|
@@ -2573,10 +2585,10 @@ class oc {
|
|
|
2573
2585
|
this.client.store.dispatch(e);
|
|
2574
2586
|
}
|
|
2575
2587
|
}
|
|
2576
|
-
const
|
|
2588
|
+
const uc = () => hc.length - 1, lc = (t) => (t[dt] = { version: uc() }, t), an = () => lc({}), _p = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Rp = (t) => (e) => {
|
|
2577
2589
|
var s;
|
|
2578
|
-
return e === void 0 && (e = {}), ((s = e[dt]) == null ? void 0 : s.version) ===
|
|
2579
|
-
},
|
|
2590
|
+
return e === void 0 && (e = {}), ((s = e[dt]) == null ? void 0 : s.version) === uc() ? e : t(e);
|
|
2591
|
+
}, hc = [lc, an, an, _p], Fp = Object.fromEntries(hc.map((t, e) => [e, Rp(t)]));
|
|
2580
2592
|
let ft = null;
|
|
2581
2593
|
function Ce() {
|
|
2582
2594
|
const t = We();
|
|
@@ -2611,13 +2623,13 @@ const Ep = {
|
|
|
2611
2623
|
effect: wp,
|
|
2612
2624
|
// Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
|
|
2613
2625
|
// but redux-offline does not know this.
|
|
2614
|
-
discard:
|
|
2626
|
+
discard: Ac,
|
|
2615
2627
|
returnPromises: !0,
|
|
2616
2628
|
persistCallback: Op,
|
|
2617
2629
|
retry: Vp,
|
|
2618
2630
|
// Modify the configuration of the offline store to use localforage
|
|
2619
2631
|
// which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
|
|
2620
|
-
persistOptions: { storage:
|
|
2632
|
+
persistOptions: { storage: _c },
|
|
2621
2633
|
// TODO: custom enqueue implementation to take care of intelligently cancelling "create/delete same issue",
|
|
2622
2634
|
// and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
|
|
2623
2635
|
// that same issue"
|
|
@@ -2628,7 +2640,7 @@ const Ep = {
|
|
|
2628
2640
|
// Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
|
|
2629
2641
|
peek: (...t) => zp(...t)
|
|
2630
2642
|
}
|
|
2631
|
-
}, kp =
|
|
2643
|
+
}, kp = Rc(Fp, dt), CS = gc(Pc(Ep), kp);
|
|
2632
2644
|
function qp(t) {
|
|
2633
2645
|
function e(s) {
|
|
2634
2646
|
return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((n) => n in s);
|
|
@@ -2640,8 +2652,8 @@ function qp(t) {
|
|
|
2640
2652
|
if (s.response && e(s.response.response)) return s.response.response;
|
|
2641
2653
|
}
|
|
2642
2654
|
}
|
|
2643
|
-
async function
|
|
2644
|
-
const s =
|
|
2655
|
+
async function pc(t, e) {
|
|
2656
|
+
const s = oc[t.meta.offline.effect.serviceName];
|
|
2645
2657
|
if (!s)
|
|
2646
2658
|
throw new Error(`Service ${t.meta.offline.effect.serviceName} not found`);
|
|
2647
2659
|
const i = s instanceof F;
|
|
@@ -2671,7 +2683,7 @@ async function hc(t, e) {
|
|
|
2671
2683
|
return w.set("x-amz-checksum-sha1", xe).field({ ...o, ...M.fields }).attach("file", O);
|
|
2672
2684
|
}
|
|
2673
2685
|
return w.send(o);
|
|
2674
|
-
},
|
|
2686
|
+
}, yc = {
|
|
2675
2687
|
[u.GET]: () => S ? qe.get(P.toString()).responseType("blob") : qe.get(P.toString()),
|
|
2676
2688
|
[u.POST]: () => {
|
|
2677
2689
|
const w = qe.post(P.toString());
|
|
@@ -2690,7 +2702,7 @@ async function hc(t, e) {
|
|
|
2690
2702
|
return v(w);
|
|
2691
2703
|
}
|
|
2692
2704
|
}[r];
|
|
2693
|
-
let Pe =
|
|
2705
|
+
let Pe = yc();
|
|
2694
2706
|
if (f && i) {
|
|
2695
2707
|
const w = s.auth.getAuthHeader();
|
|
2696
2708
|
Pe = Pe.set("Authorization", w);
|
|
@@ -2702,7 +2714,7 @@ async function hc(t, e) {
|
|
|
2702
2714
|
const M = qp(w), xe = M == null ? void 0 : M.status;
|
|
2703
2715
|
if (i && xe === 401)
|
|
2704
2716
|
return await s.auth.handleUnauthorized(Pe, M), Pe.query(d);
|
|
2705
|
-
throw new j({ response: M, innerError: w, discard:
|
|
2717
|
+
throw new j({ response: M, innerError: w, discard: fc.includes(xe) });
|
|
2706
2718
|
}
|
|
2707
2719
|
}
|
|
2708
2720
|
class jp {
|
|
@@ -2721,7 +2733,7 @@ class jp {
|
|
|
2721
2733
|
return this._all;
|
|
2722
2734
|
}
|
|
2723
2735
|
}
|
|
2724
|
-
class
|
|
2736
|
+
class mc {
|
|
2725
2737
|
constructor() {
|
|
2726
2738
|
A(this, "next");
|
|
2727
2739
|
this.next = null;
|
|
@@ -2736,16 +2748,16 @@ class pc {
|
|
|
2736
2748
|
if (console.debug("Middleware finished. Performing request:", e), !We()) throw new Error("Client store not set");
|
|
2737
2749
|
const i = Pp();
|
|
2738
2750
|
if (!i) throw new Error("Client SDK not set");
|
|
2739
|
-
return
|
|
2751
|
+
return pc(e, i);
|
|
2740
2752
|
}
|
|
2741
2753
|
}
|
|
2742
2754
|
}
|
|
2743
|
-
class Mp extends
|
|
2755
|
+
class Mp extends mc {
|
|
2744
2756
|
async run(e) {
|
|
2745
2757
|
return super.run(e);
|
|
2746
2758
|
}
|
|
2747
2759
|
}
|
|
2748
|
-
class Cp extends
|
|
2760
|
+
class Cp extends mc {
|
|
2749
2761
|
async run(e) {
|
|
2750
2762
|
return super.run(e);
|
|
2751
2763
|
}
|
|
@@ -2755,8 +2767,8 @@ function xp(t) {
|
|
|
2755
2767
|
var e;
|
|
2756
2768
|
return (e = Dp[0]) == null ? void 0 : e.run(t);
|
|
2757
2769
|
}
|
|
2758
|
-
const
|
|
2759
|
-
function
|
|
2770
|
+
const fc = [400, 409, 403, 404, 405, 500];
|
|
2771
|
+
function Ac(t, e, s = 0) {
|
|
2760
2772
|
var r;
|
|
2761
2773
|
if (console.debug(
|
|
2762
2774
|
"Considering discarding request due to error:",
|
|
@@ -2790,7 +2802,7 @@ Retries:`,
|
|
|
2790
2802
|
return console.debug("Discarding request due to deletion:", e), o();
|
|
2791
2803
|
if (t instanceof j) {
|
|
2792
2804
|
const d = t.status || ((r = t.response) == null ? void 0 : r.status);
|
|
2793
|
-
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)) {
|
|
2794
2806
|
console.warn("Discarding request due to error:", t, `
|
|
2795
2807
|
Action:`, e);
|
|
2796
2808
|
const h = Ce();
|
|
@@ -2810,7 +2822,7 @@ function zp(t, e, s) {
|
|
|
2810
2822
|
return (i = Ce()) == null ? void 0 : i.peek();
|
|
2811
2823
|
}
|
|
2812
2824
|
function Vp(t, e) {
|
|
2813
|
-
return We().dispatch(Gh((/* @__PURE__ */ new Date()).getTime())),
|
|
2825
|
+
return We().dispatch(Gh((/* @__PURE__ */ new Date()).getTime())), Cc;
|
|
2814
2826
|
}
|
|
2815
2827
|
const He = "An unknown error occurred", Up = 500, cn = ["non_field_errors", "detail"];
|
|
2816
2828
|
function $p(t, e) {
|
|
@@ -2847,12 +2859,12 @@ class j extends Error {
|
|
|
2847
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;
|
|
2848
2860
|
}
|
|
2849
2861
|
}
|
|
2850
|
-
class Gp extends
|
|
2862
|
+
class Gp extends dc {
|
|
2851
2863
|
constructor(e) {
|
|
2852
2864
|
super(e);
|
|
2853
2865
|
}
|
|
2854
2866
|
}
|
|
2855
|
-
class F extends
|
|
2867
|
+
class F extends dc {
|
|
2856
2868
|
constructor(s, i) {
|
|
2857
2869
|
super(s);
|
|
2858
2870
|
A(this, "auth");
|
|
@@ -2871,7 +2883,7 @@ class DS extends F {
|
|
|
2871
2883
|
},
|
|
2872
2884
|
blockers: ["prompt"],
|
|
2873
2885
|
blocks: ["prompt"]
|
|
2874
|
-
}).then((i) => (this.dispatch(
|
|
2886
|
+
}).then((i) => (this.dispatch(Yc(i)), i));
|
|
2875
2887
|
}
|
|
2876
2888
|
async continueConversation(e, s, i) {
|
|
2877
2889
|
return this.enqueueRequest({
|
|
@@ -2886,7 +2898,7 @@ class DS extends F {
|
|
|
2886
2898
|
blocks: ["prompt"],
|
|
2887
2899
|
queryParams: { conversation_id: s }
|
|
2888
2900
|
}).then((n) => {
|
|
2889
|
-
this.dispatch(
|
|
2901
|
+
this.dispatch(Qc(n));
|
|
2890
2902
|
});
|
|
2891
2903
|
}
|
|
2892
2904
|
async fetchDetails(e) {
|
|
@@ -2897,7 +2909,7 @@ class DS extends F {
|
|
|
2897
2909
|
blockers: ["conversation"],
|
|
2898
2910
|
blocks: ["conversation"]
|
|
2899
2911
|
}).then((s) => {
|
|
2900
|
-
this.dispatch(
|
|
2912
|
+
this.dispatch(Jc(s));
|
|
2901
2913
|
});
|
|
2902
2914
|
}
|
|
2903
2915
|
async rate(e, s) {
|
|
@@ -2918,7 +2930,7 @@ class DS extends F {
|
|
|
2918
2930
|
blockers: ["agent-conversations"],
|
|
2919
2931
|
blocks: ["agent-conversations"]
|
|
2920
2932
|
});
|
|
2921
|
-
this.dispatch(
|
|
2933
|
+
this.dispatch(Kc(s));
|
|
2922
2934
|
}
|
|
2923
2935
|
}
|
|
2924
2936
|
class k extends F {
|
|
@@ -3051,11 +3063,11 @@ class xS extends Te {
|
|
|
3051
3063
|
A(this, "url", "/asset-attachments");
|
|
3052
3064
|
A(this, "initializeAttachments", Kt);
|
|
3053
3065
|
A(this, "addAttachments", yn);
|
|
3054
|
-
A(this, "updateAttachments",
|
|
3066
|
+
A(this, "updateAttachments", er);
|
|
3055
3067
|
A(this, "removeAttachments", bn);
|
|
3056
|
-
A(this, "removeAttachment",
|
|
3057
|
-
A(this, "setAttachment",
|
|
3058
|
-
A(this, "selectAttachment",
|
|
3068
|
+
A(this, "removeAttachment", tr);
|
|
3069
|
+
A(this, "setAttachment", Zc);
|
|
3070
|
+
A(this, "selectAttachment", nr);
|
|
3059
3071
|
}
|
|
3060
3072
|
buildOfflineAttachment(s) {
|
|
3061
3073
|
return R({
|
|
@@ -3100,12 +3112,12 @@ class zS extends Te {
|
|
|
3100
3112
|
super(...arguments);
|
|
3101
3113
|
A(this, "name", "Asset Procedure Attachment");
|
|
3102
3114
|
A(this, "url", "/asset-procedure-attachments");
|
|
3103
|
-
A(this, "addAttachments",
|
|
3104
|
-
A(this, "updateAttachments",
|
|
3105
|
-
A(this, "removeAttachments",
|
|
3106
|
-
A(this, "removeAttachment",
|
|
3107
|
-
A(this, "setAttachment",
|
|
3108
|
-
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);
|
|
3109
3121
|
}
|
|
3110
3122
|
buildOfflineAttachment(s) {
|
|
3111
3123
|
return R({
|
|
@@ -3142,7 +3154,7 @@ class zS extends Te {
|
|
|
3142
3154
|
blocks: [],
|
|
3143
3155
|
blockers: []
|
|
3144
3156
|
});
|
|
3145
|
-
this.dispatch(
|
|
3157
|
+
this.dispatch(rr(i));
|
|
3146
3158
|
}
|
|
3147
3159
|
}
|
|
3148
3160
|
class VS extends k {
|
|
@@ -3173,7 +3185,7 @@ class VS extends k {
|
|
|
3173
3185
|
};
|
|
3174
3186
|
c.push(g);
|
|
3175
3187
|
}
|
|
3176
|
-
this.dispatch(
|
|
3188
|
+
this.dispatch(br(a));
|
|
3177
3189
|
const o = this.enqueueRequest({
|
|
3178
3190
|
description: "Add asset procedure fields attachments",
|
|
3179
3191
|
method: u.POST,
|
|
@@ -3187,10 +3199,10 @@ class VS extends k {
|
|
|
3187
3199
|
blocks: a.map((r) => r.uuid)
|
|
3188
3200
|
});
|
|
3189
3201
|
return o.then((r) => {
|
|
3190
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3202
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(Sr(r.attachments));
|
|
3191
3203
|
}).catch(() => {
|
|
3192
3204
|
this.dispatch(
|
|
3193
|
-
|
|
3205
|
+
gr(
|
|
3194
3206
|
a.map((r) => r.uuid)
|
|
3195
3207
|
)
|
|
3196
3208
|
);
|
|
@@ -3207,7 +3219,7 @@ class VS extends k {
|
|
|
3207
3219
|
blockers: [],
|
|
3208
3220
|
blocks: []
|
|
3209
3221
|
});
|
|
3210
|
-
this.dispatch(
|
|
3222
|
+
this.dispatch(yr(s));
|
|
3211
3223
|
}
|
|
3212
3224
|
}
|
|
3213
3225
|
class US extends F {
|
|
@@ -3218,7 +3230,7 @@ class US extends F {
|
|
|
3218
3230
|
created_by: i,
|
|
3219
3231
|
submitted_at: n
|
|
3220
3232
|
});
|
|
3221
|
-
this.dispatch(
|
|
3233
|
+
this.dispatch(Fr(a));
|
|
3222
3234
|
const c = this.enqueueRequest({
|
|
3223
3235
|
description: "Add Asset Procedure Fields",
|
|
3224
3236
|
method: u.POST,
|
|
@@ -3228,9 +3240,9 @@ class US extends F {
|
|
|
3228
3240
|
blocks: [a.uuid]
|
|
3229
3241
|
});
|
|
3230
3242
|
return c.then((l) => {
|
|
3231
|
-
this.dispatch(
|
|
3243
|
+
this.dispatch(Or(l));
|
|
3232
3244
|
}).catch((l) => {
|
|
3233
|
-
throw this.dispatch(
|
|
3245
|
+
throw this.dispatch(Ir(a.uuid)), l;
|
|
3234
3246
|
}), [a, c];
|
|
3235
3247
|
}
|
|
3236
3248
|
async refreshStore(e) {
|
|
@@ -3244,7 +3256,7 @@ class US extends F {
|
|
|
3244
3256
|
blockers: [],
|
|
3245
3257
|
blocks: []
|
|
3246
3258
|
});
|
|
3247
|
-
this.dispatch(
|
|
3259
|
+
this.dispatch(Rr(s));
|
|
3248
3260
|
}
|
|
3249
3261
|
}
|
|
3250
3262
|
function Ee(t, e) {
|
|
@@ -3305,7 +3317,7 @@ class $S extends k {
|
|
|
3305
3317
|
return Promise.all(l).then((d) => {
|
|
3306
3318
|
for (const p of d) this.processPresignedUrls(p.presigned_urls);
|
|
3307
3319
|
const h = d.flatMap((p) => p.attachments);
|
|
3308
|
-
this.dispatch(
|
|
3320
|
+
this.dispatch(kr(h));
|
|
3309
3321
|
}).catch((d) => {
|
|
3310
3322
|
throw this.dispatch(
|
|
3311
3323
|
Tt(
|
|
@@ -3318,7 +3330,7 @@ class $S extends k {
|
|
|
3318
3330
|
];
|
|
3319
3331
|
}
|
|
3320
3332
|
async bulkDelete(e) {
|
|
3321
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3333
|
+
const { store: s } = this.client, i = s.getState(), n = jr(e)(i);
|
|
3322
3334
|
this.dispatch(Tt(e));
|
|
3323
3335
|
try {
|
|
3324
3336
|
await this.enqueueRequest({
|
|
@@ -3344,7 +3356,7 @@ class $S extends k {
|
|
|
3344
3356
|
blockers: [],
|
|
3345
3357
|
blocks: []
|
|
3346
3358
|
});
|
|
3347
|
-
this.dispatch(
|
|
3359
|
+
this.dispatch(Er(s));
|
|
3348
3360
|
}
|
|
3349
3361
|
}
|
|
3350
3362
|
class GS extends F {
|
|
@@ -3393,7 +3405,7 @@ class GS extends F {
|
|
|
3393
3405
|
field_values: d
|
|
3394
3406
|
});
|
|
3395
3407
|
}
|
|
3396
|
-
this.dispatch(
|
|
3408
|
+
this.dispatch(xr(n));
|
|
3397
3409
|
const o = [];
|
|
3398
3410
|
for (const r of c) {
|
|
3399
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({
|
|
@@ -3407,10 +3419,10 @@ class GS extends F {
|
|
|
3407
3419
|
o.push(S);
|
|
3408
3420
|
}
|
|
3409
3421
|
return Promise.all(o).then((r) => {
|
|
3410
|
-
this.dispatch(
|
|
3422
|
+
this.dispatch(zr(r.flat()));
|
|
3411
3423
|
}).catch(() => {
|
|
3412
3424
|
this.dispatch(
|
|
3413
|
-
|
|
3425
|
+
Vr(n.map((r) => r.uuid))
|
|
3414
3426
|
);
|
|
3415
3427
|
}), [n, o];
|
|
3416
3428
|
}
|
|
@@ -3445,7 +3457,7 @@ class GS extends F {
|
|
|
3445
3457
|
const { store: s } = this.client, i = s.getState(), n = ss(e)(i);
|
|
3446
3458
|
if (!n)
|
|
3447
3459
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
3448
|
-
const a =
|
|
3460
|
+
const a = Mr(e)(i);
|
|
3449
3461
|
this.dispatch(ts(e)), this.dispatch(
|
|
3450
3462
|
Tt(a.map((c) => c.uuid))
|
|
3451
3463
|
);
|
|
@@ -3472,7 +3484,7 @@ class GS extends F {
|
|
|
3472
3484
|
blockers: [],
|
|
3473
3485
|
blocks: []
|
|
3474
3486
|
});
|
|
3475
|
-
this.dispatch(
|
|
3487
|
+
this.dispatch(Dr(s));
|
|
3476
3488
|
}
|
|
3477
3489
|
}
|
|
3478
3490
|
class BS extends F {
|
|
@@ -3546,7 +3558,7 @@ class BS extends F {
|
|
|
3546
3558
|
blockers: [],
|
|
3547
3559
|
blocks: []
|
|
3548
3560
|
});
|
|
3549
|
-
this.dispatch(
|
|
3561
|
+
this.dispatch(Gr(s));
|
|
3550
3562
|
}
|
|
3551
3563
|
}
|
|
3552
3564
|
class LS extends F {
|
|
@@ -3599,15 +3611,15 @@ class LS extends F {
|
|
|
3599
3611
|
const { store: s } = this.client, i = s.getState(), n = us(e)(i);
|
|
3600
3612
|
if (!n)
|
|
3601
3613
|
throw new Error(`Expected asset procedure with uuid ${e} to exist`);
|
|
3602
|
-
const a =
|
|
3603
|
-
return this.dispatch(ds(e)), this.dispatch(
|
|
3614
|
+
const a = Nr(e)(i);
|
|
3615
|
+
return this.dispatch(ds(e)), this.dispatch(Lr(a.map((c) => c.uuid))), this.enqueueRequest({
|
|
3604
3616
|
description: "Delete asset procedure",
|
|
3605
3617
|
method: u.DELETE,
|
|
3606
3618
|
url: `/asset-procedures/${e}/`,
|
|
3607
3619
|
blockers: [e],
|
|
3608
3620
|
blocks: []
|
|
3609
3621
|
}).catch((c) => {
|
|
3610
|
-
throw this.dispatch(os(n)), this.dispatch(
|
|
3622
|
+
throw this.dispatch(os(n)), this.dispatch(Br(a)), c;
|
|
3611
3623
|
});
|
|
3612
3624
|
}
|
|
3613
3625
|
async refreshStore(e) {
|
|
@@ -3621,7 +3633,7 @@ class LS extends F {
|
|
|
3621
3633
|
blockers: [],
|
|
3622
3634
|
blocks: []
|
|
3623
3635
|
});
|
|
3624
|
-
this.dispatch(
|
|
3636
|
+
this.dispatch(Wr(s));
|
|
3625
3637
|
}
|
|
3626
3638
|
}
|
|
3627
3639
|
class NS extends k {
|
|
@@ -3652,7 +3664,7 @@ class NS extends k {
|
|
|
3652
3664
|
};
|
|
3653
3665
|
c.push(g);
|
|
3654
3666
|
}
|
|
3655
|
-
this.dispatch(
|
|
3667
|
+
this.dispatch(Qr(a));
|
|
3656
3668
|
const o = this.enqueueRequest({
|
|
3657
3669
|
description: "Add asset procedure step fields attachments",
|
|
3658
3670
|
method: u.POST,
|
|
@@ -3666,10 +3678,10 @@ class NS extends k {
|
|
|
3666
3678
|
blocks: a.map((r) => r.uuid)
|
|
3667
3679
|
});
|
|
3668
3680
|
return o.then((r) => {
|
|
3669
|
-
this.processPresignedUrls(r.presigned_urls), this.dispatch(
|
|
3681
|
+
this.processPresignedUrls(r.presigned_urls), this.dispatch(Xr(r.attachments));
|
|
3670
3682
|
}).catch(() => {
|
|
3671
3683
|
this.dispatch(
|
|
3672
|
-
|
|
3684
|
+
Zr(
|
|
3673
3685
|
a.map((r) => r.uuid)
|
|
3674
3686
|
)
|
|
3675
3687
|
);
|
|
@@ -3686,7 +3698,7 @@ class NS extends k {
|
|
|
3686
3698
|
blockers: [],
|
|
3687
3699
|
blocks: []
|
|
3688
3700
|
});
|
|
3689
|
-
this.dispatch(
|
|
3701
|
+
this.dispatch(Jr(s));
|
|
3690
3702
|
}
|
|
3691
3703
|
}
|
|
3692
3704
|
class HS extends F {
|
|
@@ -3697,7 +3709,7 @@ class HS extends F {
|
|
|
3697
3709
|
created_by: i,
|
|
3698
3710
|
submitted_at: n
|
|
3699
3711
|
});
|
|
3700
|
-
this.dispatch(
|
|
3712
|
+
this.dispatch(no(a));
|
|
3701
3713
|
const c = this.enqueueRequest({
|
|
3702
3714
|
description: "Add Asset Procedure Step Fields",
|
|
3703
3715
|
method: u.POST,
|
|
@@ -3707,9 +3719,9 @@ class HS extends F {
|
|
|
3707
3719
|
blocks: [a.uuid]
|
|
3708
3720
|
});
|
|
3709
3721
|
return c.then((l) => {
|
|
3710
|
-
this.dispatch(
|
|
3722
|
+
this.dispatch(ao(l));
|
|
3711
3723
|
}).catch((l) => {
|
|
3712
|
-
throw this.dispatch(
|
|
3724
|
+
throw this.dispatch(co(a.uuid)), l;
|
|
3713
3725
|
}), [a, c];
|
|
3714
3726
|
}
|
|
3715
3727
|
async refreshStore(e) {
|
|
@@ -3723,7 +3735,7 @@ class HS extends F {
|
|
|
3723
3735
|
blockers: [],
|
|
3724
3736
|
blocks: []
|
|
3725
3737
|
});
|
|
3726
|
-
this.dispatch(
|
|
3738
|
+
this.dispatch(io(s));
|
|
3727
3739
|
}
|
|
3728
3740
|
}
|
|
3729
3741
|
class WS extends k {
|
|
@@ -4097,7 +4109,7 @@ class JS extends F {
|
|
|
4097
4109
|
async remove(e) {
|
|
4098
4110
|
const { store: s } = this.client, i = s.getState(), n = Os(e)(i);
|
|
4099
4111
|
if (!n) throw new Error(`No asset with uuid ${e} found in the store`);
|
|
4100
|
-
const a =
|
|
4112
|
+
const a = ar(e)(i), c = wu(e)(i), o = Nu(e)(i);
|
|
4101
4113
|
if (this.dispatch(Fs(e)), a.length > 0) {
|
|
4102
4114
|
const l = a.map(({ uuid: r }) => r);
|
|
4103
4115
|
this.dispatch(bn(l));
|
|
@@ -4108,7 +4120,7 @@ class JS extends F {
|
|
|
4108
4120
|
}
|
|
4109
4121
|
if (o.length > 0) {
|
|
4110
4122
|
const l = o.map(({ uuid: r }) => r);
|
|
4111
|
-
this.dispatch(
|
|
4123
|
+
this.dispatch(Fa(l));
|
|
4112
4124
|
}
|
|
4113
4125
|
return this.enqueueRequest({
|
|
4114
4126
|
description: "Delete asset",
|
|
@@ -4117,7 +4129,7 @@ class JS extends F {
|
|
|
4117
4129
|
blockers: [e],
|
|
4118
4130
|
blocks: []
|
|
4119
4131
|
}).catch((l) => {
|
|
4120
|
-
throw this.dispatch(Rs(n)), this.dispatch(yn(a)), this.dispatch(Dt(c)), this.dispatch(
|
|
4132
|
+
throw this.dispatch(Rs(n)), this.dispatch(yn(a)), this.dispatch(Dt(c)), this.dispatch(Ra(o)), l;
|
|
4121
4133
|
});
|
|
4122
4134
|
}
|
|
4123
4135
|
bulkAdd(e, s, i, n) {
|
|
@@ -4152,7 +4164,7 @@ class JS extends F {
|
|
|
4152
4164
|
}
|
|
4153
4165
|
return Promise.all(l).then((d) => {
|
|
4154
4166
|
const h = d.flat();
|
|
4155
|
-
this.dispatch(
|
|
4167
|
+
this.dispatch(Gn(h));
|
|
4156
4168
|
}), l;
|
|
4157
4169
|
}
|
|
4158
4170
|
async refreshStore(e) {
|
|
@@ -4369,9 +4381,9 @@ class ZS extends Te {
|
|
|
4369
4381
|
super(...arguments);
|
|
4370
4382
|
A(this, "name", "Asset Type Attachment");
|
|
4371
4383
|
A(this, "url", "/asset-type-attachments");
|
|
4372
|
-
A(this, "addAttachments",
|
|
4384
|
+
A(this, "addAttachments", Yn);
|
|
4373
4385
|
A(this, "updateAttachments", Bo);
|
|
4374
|
-
A(this, "removeAttachments",
|
|
4386
|
+
A(this, "removeAttachments", Jn);
|
|
4375
4387
|
A(this, "removeAttachment", Lo);
|
|
4376
4388
|
A(this, "setAttachment", Go);
|
|
4377
4389
|
A(this, "selectAttachment", Wo);
|
|
@@ -4784,15 +4796,15 @@ class ng extends F {
|
|
|
4784
4796
|
const { store: s } = this.client, i = s.getState(), n = Ks(e)(i);
|
|
4785
4797
|
if (!n)
|
|
4786
4798
|
throw new Error(`Expected asset type with uuid ${e} to exist`);
|
|
4787
|
-
const a =
|
|
4788
|
-
return this.dispatch(Ws(e)), this.dispatch(Io(a.map((o) => o.uuid))), this.dispatch(
|
|
4799
|
+
const a = Ln(e)(i), c = Ko(e)(i);
|
|
4800
|
+
return this.dispatch(Ws(e)), this.dispatch(Io(a.map((o) => o.uuid))), this.dispatch(Jn(c.map(({ uuid: o }) => o))), this.enqueueRequest({
|
|
4789
4801
|
description: "Delete asset type",
|
|
4790
4802
|
method: u.DELETE,
|
|
4791
4803
|
url: `/asset-types/${e}/`,
|
|
4792
4804
|
blockers: [e],
|
|
4793
4805
|
blocks: []
|
|
4794
4806
|
}).catch((o) => {
|
|
4795
|
-
throw this.dispatch(Hs(n)), this.dispatch(
|
|
4807
|
+
throw this.dispatch(Hs(n)), this.dispatch(Gn(a)), this.dispatch(Yn(c)), o;
|
|
4796
4808
|
});
|
|
4797
4809
|
}
|
|
4798
4810
|
async refreshStore(e) {
|
|
@@ -5173,7 +5185,7 @@ class ug extends F {
|
|
|
5173
5185
|
A(this, "host");
|
|
5174
5186
|
// NOTE: If you alter the schema (of the IndexedDB database) in any way, you must increment the version in order to
|
|
5175
5187
|
// migrate the store. This allows idb to automatically migrate the user's existing data to the new schema.
|
|
5176
|
-
A(this, "_dbPromise",
|
|
5188
|
+
A(this, "_dbPromise", Fc("fileCache", 1, {
|
|
5177
5189
|
upgrade(s) {
|
|
5178
5190
|
s.createObjectStore("files");
|
|
5179
5191
|
}
|
|
@@ -5272,7 +5284,7 @@ class ug extends F {
|
|
|
5272
5284
|
return c;
|
|
5273
5285
|
}
|
|
5274
5286
|
if (s.startsWith("blob:")) {
|
|
5275
|
-
const d = await
|
|
5287
|
+
const d = await Lc(s), h = new File([d], n ?? i, { type: d.type });
|
|
5276
5288
|
return await this.addCache(h, i), h;
|
|
5277
5289
|
}
|
|
5278
5290
|
let o = nt[a], l = !0;
|
|
@@ -5315,7 +5327,7 @@ class ug extends F {
|
|
|
5315
5327
|
if (!h)
|
|
5316
5328
|
throw new Error("File has no extension");
|
|
5317
5329
|
const p = n ?? d + "." + h;
|
|
5318
|
-
if (r =
|
|
5330
|
+
if (r = Bc(r, p), !r.name)
|
|
5319
5331
|
throw new Error("Failed to set file's name");
|
|
5320
5332
|
await this.addCache(r, d), nt[a] = new Promise((f) => {
|
|
5321
5333
|
f(r);
|
|
@@ -5395,7 +5407,7 @@ class hg extends k {
|
|
|
5395
5407
|
created_by: n,
|
|
5396
5408
|
submitted_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
5397
5409
|
});
|
|
5398
|
-
this.dispatch(
|
|
5410
|
+
this.dispatch(ma(a));
|
|
5399
5411
|
const c = this.enqueueRequest({
|
|
5400
5412
|
description: "Create form revision",
|
|
5401
5413
|
method: u.POST,
|
|
@@ -5407,7 +5419,7 @@ class hg extends k {
|
|
|
5407
5419
|
return c.then((l) => {
|
|
5408
5420
|
this.dispatch(du(l));
|
|
5409
5421
|
}).catch(() => {
|
|
5410
|
-
this.dispatch(
|
|
5422
|
+
this.dispatch(fa(a.uuid));
|
|
5411
5423
|
}), [a, c];
|
|
5412
5424
|
}
|
|
5413
5425
|
async refreshStore(e) {
|
|
@@ -5437,7 +5449,7 @@ class pg extends k {
|
|
|
5437
5449
|
submitted_at: n,
|
|
5438
5450
|
created_by: a
|
|
5439
5451
|
});
|
|
5440
|
-
this.dispatch(ci(c)), this.dispatch(
|
|
5452
|
+
this.dispatch(ci(c)), this.dispatch(ma(o));
|
|
5441
5453
|
const l = this.enqueueRequest({
|
|
5442
5454
|
description: "Create form",
|
|
5443
5455
|
method: u.POST,
|
|
@@ -5456,7 +5468,7 @@ class pg extends k {
|
|
|
5456
5468
|
blocks: [c.uuid, o.uuid]
|
|
5457
5469
|
});
|
|
5458
5470
|
return l.catch((d) => {
|
|
5459
|
-
throw this.dispatch(ri(c.uuid)), this.dispatch(
|
|
5471
|
+
throw this.dispatch(ri(c.uuid)), this.dispatch(fa(o.uuid)), d;
|
|
5460
5472
|
}), [c, o, l];
|
|
5461
5473
|
}
|
|
5462
5474
|
async delete(e) {
|
|
@@ -5850,9 +5862,9 @@ class bg extends Te {
|
|
|
5850
5862
|
A(this, "name", "Issue Attachment");
|
|
5851
5863
|
A(this, "url", "/issue-attachments");
|
|
5852
5864
|
A(this, "initializeAttachments", gi);
|
|
5853
|
-
A(this, "addAttachments",
|
|
5865
|
+
A(this, "addAttachments", Ia);
|
|
5854
5866
|
A(this, "updateAttachments", Ku);
|
|
5855
|
-
A(this, "removeAttachments",
|
|
5867
|
+
A(this, "removeAttachments", va);
|
|
5856
5868
|
A(this, "removeAttachment", Yu);
|
|
5857
5869
|
A(this, "setAttachment", Wu);
|
|
5858
5870
|
A(this, "selectAttachment", Zu);
|
|
@@ -6133,7 +6145,7 @@ class Tg extends F {
|
|
|
6133
6145
|
for (const d of Lu(e)(i))
|
|
6134
6146
|
l[d.uuid] = d;
|
|
6135
6147
|
const r = Object.values(l);
|
|
6136
|
-
this.dispatch(Ei(e)), a.length > 0 && this.dispatch(
|
|
6148
|
+
this.dispatch(Ei(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(xt(o.map(({ uuid: d }) => d))), r.length > 0 && this.dispatch(Fa(r.map(({ uuid: d }) => d)));
|
|
6137
6149
|
try {
|
|
6138
6150
|
return await this.enqueueRequest({
|
|
6139
6151
|
description: "Delete issue",
|
|
@@ -6143,7 +6155,7 @@ class Tg extends F {
|
|
|
6143
6155
|
blocks: []
|
|
6144
6156
|
});
|
|
6145
6157
|
} catch (d) {
|
|
6146
|
-
throw this.dispatch(wi(n)), this.dispatch(
|
|
6158
|
+
throw this.dispatch(wi(n)), this.dispatch(Ia(a)), this.dispatch(ih(c)), this.dispatch(Dt(o)), this.dispatch(Ra(r)), d;
|
|
6147
6159
|
}
|
|
6148
6160
|
}
|
|
6149
6161
|
async refreshStore(e) {
|
|
@@ -6520,7 +6532,7 @@ class Ig extends F {
|
|
|
6520
6532
|
const { store: s } = this.client, i = s.getState(), n = Bi(e)(i);
|
|
6521
6533
|
if (!n)
|
|
6522
6534
|
throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
|
|
6523
|
-
const a =
|
|
6535
|
+
const a = Ua(e)(i);
|
|
6524
6536
|
this.dispatch(Gi(e)), this.dispatch(fl(a.map((o) => o.uuid)));
|
|
6525
6537
|
const c = this.enqueueRequest({
|
|
6526
6538
|
method: u.DELETE,
|
|
@@ -6607,7 +6619,7 @@ class wg extends Gp {
|
|
|
6607
6619
|
* Logs the user out
|
|
6608
6620
|
*/
|
|
6609
6621
|
clearAuth() {
|
|
6610
|
-
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(_d(!1)), this.clearTokens(), this.dispatch({ type:
|
|
6622
|
+
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(_d(!1)), this.clearTokens(), this.dispatch({ type: Oc }), this.dispatch({ type: Dc });
|
|
6611
6623
|
}
|
|
6612
6624
|
/**
|
|
6613
6625
|
* Attempts to renew tokens
|
|
@@ -6633,7 +6645,7 @@ class wg extends Gp {
|
|
|
6633
6645
|
const i = Date.now() / 1e3;
|
|
6634
6646
|
let n;
|
|
6635
6647
|
try {
|
|
6636
|
-
n =
|
|
6648
|
+
n = Ic(s).exp ?? i;
|
|
6637
6649
|
} catch {
|
|
6638
6650
|
n = i;
|
|
6639
6651
|
}
|
|
@@ -6909,7 +6921,7 @@ class jg extends F {
|
|
|
6909
6921
|
blockers: [],
|
|
6910
6922
|
blocks: []
|
|
6911
6923
|
});
|
|
6912
|
-
this.dispatch(
|
|
6924
|
+
this.dispatch(Wa(s));
|
|
6913
6925
|
}
|
|
6914
6926
|
}
|
|
6915
6927
|
class Mg extends Te {
|
|
@@ -6919,7 +6931,7 @@ class Mg extends Te {
|
|
|
6919
6931
|
A(this, "url", "/project-attachments");
|
|
6920
6932
|
A(this, "addAttachments", Nh);
|
|
6921
6933
|
A(this, "updateAttachments", Kh);
|
|
6922
|
-
A(this, "removeAttachments",
|
|
6934
|
+
A(this, "removeAttachments", Za);
|
|
6923
6935
|
A(this, "removeAttachment", Yh);
|
|
6924
6936
|
A(this, "setAttachment", Hh);
|
|
6925
6937
|
A(this, "selectAttachment", Xh);
|
|
@@ -7079,7 +7091,7 @@ class Dg extends F {
|
|
|
7079
7091
|
const c = dp(i).filter((d) => d.project === e);
|
|
7080
7092
|
this.dispatch(np(c.map(({ uuid: d }) => d)));
|
|
7081
7093
|
const o = Zh(a.uuid)(i);
|
|
7082
|
-
this.dispatch(
|
|
7094
|
+
this.dispatch(Za(o.map(({ uuid: d }) => d)));
|
|
7083
7095
|
const l = _h(i);
|
|
7084
7096
|
this.dispatch(Ph(l.map(({ uuid: d }) => d))), this.dispatch({ type: "rehydrated/setRehydrated", payload: !1 }), this.dispatch(vh(a.uuid));
|
|
7085
7097
|
const r = uh(a.uuid)(i);
|
|
@@ -7093,7 +7105,7 @@ class Dg extends F {
|
|
|
7093
7105
|
blocks: []
|
|
7094
7106
|
}), this.dispatch({ type: "rehydrated/setRehydrated", payload: !0 });
|
|
7095
7107
|
} catch (d) {
|
|
7096
|
-
throw this.dispatch(Oh(Object.values(n))), this.dispatch(
|
|
7108
|
+
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;
|
|
7097
7109
|
}
|
|
7098
7110
|
}
|
|
7099
7111
|
invite(e, s) {
|
|
@@ -7280,7 +7292,7 @@ class Vg {
|
|
|
7280
7292
|
});
|
|
7281
7293
|
}
|
|
7282
7294
|
_enqueueRequest(e, s, i) {
|
|
7283
|
-
const n = new
|
|
7295
|
+
const n = new xc(), a = { ...e, BASE_URL: s, serviceName: i };
|
|
7284
7296
|
if (e.immediate) {
|
|
7285
7297
|
const c = {
|
|
7286
7298
|
...a,
|
|
@@ -7299,10 +7311,10 @@ class Vg {
|
|
|
7299
7311
|
}
|
|
7300
7312
|
}
|
|
7301
7313
|
};
|
|
7302
|
-
|
|
7314
|
+
pc(o, this).then((l) => {
|
|
7303
7315
|
n.resolve(l.body);
|
|
7304
7316
|
}).catch((l) => {
|
|
7305
|
-
|
|
7317
|
+
Ac(l, o), l instanceof Error ? n.reject(l) : n.reject(new Error((l ?? He).toString()));
|
|
7306
7318
|
});
|
|
7307
7319
|
} else {
|
|
7308
7320
|
const c = this.store.dispatch(
|
|
@@ -7340,7 +7352,7 @@ class Be {
|
|
|
7340
7352
|
constructor() {
|
|
7341
7353
|
A(this, "graph");
|
|
7342
7354
|
A(this, "requestAttemptCounter");
|
|
7343
|
-
this.graph = new
|
|
7355
|
+
this.graph = new vc(), this.requestAttemptCounter = {};
|
|
7344
7356
|
}
|
|
7345
7357
|
/**
|
|
7346
7358
|
* Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
|
|
@@ -7508,18 +7520,18 @@ export {
|
|
|
7508
7520
|
eg as AssetTypeFieldsAttachmentService,
|
|
7509
7521
|
tg as AssetTypeFieldsService,
|
|
7510
7522
|
ng as AssetTypeService,
|
|
7511
|
-
|
|
7523
|
+
kc as AttachmentModel,
|
|
7512
7524
|
F as BaseApiService,
|
|
7513
7525
|
Vg as BaseSDK,
|
|
7514
|
-
|
|
7526
|
+
Nc as COMMON_AUTO_FIELDS,
|
|
7515
7527
|
ag as CategoryService,
|
|
7516
7528
|
lm as DEFAULT_ISSUE_PRIORITY,
|
|
7517
7529
|
um as DEFAULT_ISSUE_STATUS,
|
|
7518
|
-
|
|
7530
|
+
xc as DeferredPromise,
|
|
7519
7531
|
cg as DocumentAttachmentService,
|
|
7520
7532
|
rg as DocumentService,
|
|
7521
|
-
|
|
7522
|
-
|
|
7533
|
+
wc as EMPTY_ARRAY,
|
|
7534
|
+
Ec as EMPTY_OBJECT,
|
|
7523
7535
|
og as EmailDomainsService,
|
|
7524
7536
|
dg as EmailVerificationService,
|
|
7525
7537
|
ug as FileService,
|
|
@@ -7546,15 +7558,15 @@ export {
|
|
|
7546
7558
|
E as IssueUpdateChange,
|
|
7547
7559
|
vg as IssueUpdateService,
|
|
7548
7560
|
wg as JWTService,
|
|
7549
|
-
|
|
7561
|
+
jc as LicenseLevel,
|
|
7550
7562
|
Eg as LicenseService,
|
|
7551
|
-
|
|
7552
|
-
|
|
7563
|
+
Mc as LicenseStatus,
|
|
7564
|
+
Cc as OUTBOX_RETRY_DELAY,
|
|
7553
7565
|
un as OrganizationAccessLevel,
|
|
7554
7566
|
kg as OrganizationAccessService,
|
|
7555
7567
|
qg as OrganizationService,
|
|
7556
7568
|
Be as OutboxCoordinator,
|
|
7557
|
-
|
|
7569
|
+
qc as PaddleCheckoutEvent,
|
|
7558
7570
|
dn as ProjectAccessLevel,
|
|
7559
7571
|
jg as ProjectAccessService,
|
|
7560
7572
|
Mg as ProjectAttachmentService,
|
|
@@ -7572,25 +7584,25 @@ export {
|
|
|
7572
7584
|
yn as addAssetAttachments,
|
|
7573
7585
|
os as addAssetProcedure,
|
|
7574
7586
|
xm as addAssetProcedureAttachment,
|
|
7575
|
-
|
|
7587
|
+
or as addAssetProcedureAttachments,
|
|
7576
7588
|
es as addAssetProcedureFieldValues,
|
|
7577
7589
|
sf as addAssetProcedureFieldValuesAttachment,
|
|
7578
7590
|
gt as addAssetProcedureFieldValuesAttachments,
|
|
7579
|
-
|
|
7580
|
-
|
|
7591
|
+
xr as addAssetProcedureFieldValuesMany,
|
|
7592
|
+
Fr as addAssetProcedureFields,
|
|
7581
7593
|
$m as addAssetProcedureFieldsAttachment,
|
|
7582
|
-
|
|
7594
|
+
br as addAssetProcedureFieldsAttachments,
|
|
7583
7595
|
Km as addAssetProcedureFieldsMany,
|
|
7584
7596
|
ns as addAssetProcedureInstance,
|
|
7585
|
-
|
|
7597
|
+
Br as addAssetProcedureInstances,
|
|
7586
7598
|
Qf as addAssetProcedureStep,
|
|
7587
7599
|
fs as addAssetProcedureStepFieldValues,
|
|
7588
7600
|
Uf as addAssetProcedureStepFieldValuesAttachment,
|
|
7589
7601
|
Pt as addAssetProcedureStepFieldValuesAttachments,
|
|
7590
7602
|
Ao as addAssetProcedureStepFieldValuesMany,
|
|
7591
|
-
|
|
7603
|
+
no as addAssetProcedureStepFields,
|
|
7592
7604
|
Ff as addAssetProcedureStepFieldsAttachment,
|
|
7593
|
-
|
|
7605
|
+
Qr as addAssetProcedureStepFieldsAttachments,
|
|
7594
7606
|
qf as addAssetProcedureStepFieldsMany,
|
|
7595
7607
|
Ss as addAssetProcedureSteps,
|
|
7596
7608
|
bf as addAssetProcedures,
|
|
@@ -7600,7 +7612,7 @@ export {
|
|
|
7600
7612
|
js as addAssetStages,
|
|
7601
7613
|
Hs as addAssetType,
|
|
7602
7614
|
hA as addAssetTypeAttachment,
|
|
7603
|
-
|
|
7615
|
+
Yn as addAssetTypeAttachments,
|
|
7604
7616
|
Gs as addAssetTypeFieldValues,
|
|
7605
7617
|
EA as addAssetTypeFieldValuesAttachment,
|
|
7606
7618
|
Rt as addAssetTypeFieldValuesAttachments,
|
|
@@ -7610,15 +7622,15 @@ export {
|
|
|
7610
7622
|
Qo as addAssetTypeFieldsAttachments,
|
|
7611
7623
|
PA as addAssetTypeFieldsMany,
|
|
7612
7624
|
GA as addAssetTypes,
|
|
7613
|
-
|
|
7625
|
+
Gn as addAssets,
|
|
7614
7626
|
Qs as addCategory,
|
|
7615
|
-
|
|
7627
|
+
Yc as addConversation,
|
|
7616
7628
|
ey as addDocumentAttachment,
|
|
7617
7629
|
Ed as addDocumentAttachments,
|
|
7618
7630
|
Ud as addDocuments,
|
|
7619
7631
|
Wd as addEmailDomain,
|
|
7620
7632
|
ci as addForm,
|
|
7621
|
-
|
|
7633
|
+
ma as addFormRevision,
|
|
7622
7634
|
oy as addFormRevisionAttachment,
|
|
7623
7635
|
iu as addFormRevisionAttachments,
|
|
7624
7636
|
lu as addFormRevisions,
|
|
@@ -7631,9 +7643,9 @@ export {
|
|
|
7631
7643
|
Mu as addGeoImages,
|
|
7632
7644
|
wi as addIssue,
|
|
7633
7645
|
yi as addIssueAssociation,
|
|
7634
|
-
|
|
7646
|
+
Ra as addIssueAssociations,
|
|
7635
7647
|
jy as addIssueAttachment,
|
|
7636
|
-
|
|
7648
|
+
Ia as addIssueAttachments,
|
|
7637
7649
|
Fi as addIssueComment,
|
|
7638
7650
|
Dy as addIssueCommentAttachment,
|
|
7639
7651
|
tl as addIssueCommentAttachments,
|
|
@@ -7664,60 +7676,60 @@ export {
|
|
|
7664
7676
|
mp as addTeam,
|
|
7665
7677
|
jb as addUser,
|
|
7666
7678
|
qb as addUsers,
|
|
7667
|
-
|
|
7679
|
+
Xc as agentsReducer,
|
|
7668
7680
|
mn as agentsSlice,
|
|
7669
7681
|
ym as areArraysEqual,
|
|
7670
|
-
|
|
7682
|
+
cr as assetAttachmentReducer,
|
|
7671
7683
|
An as assetAttachmentSlice,
|
|
7672
|
-
|
|
7684
|
+
Ar as assetProcedureAttachmentReducer,
|
|
7673
7685
|
Sn as assetProcedureAttachmentSlice,
|
|
7674
|
-
|
|
7686
|
+
Cr as assetProcedureFieldValuesAttachmentReducer,
|
|
7675
7687
|
_n as assetProcedureFieldValuesAttachmentSlice,
|
|
7676
|
-
|
|
7688
|
+
$r as assetProcedureFieldValuesReducer,
|
|
7677
7689
|
Fn as assetProcedureFieldValuesSlice,
|
|
7678
|
-
|
|
7690
|
+
_r as assetProcedureFieldsAttachmentReducer,
|
|
7679
7691
|
gn as assetProcedureFieldsAttachmentSlice,
|
|
7680
|
-
|
|
7692
|
+
wr as assetProcedureFieldsReducer,
|
|
7681
7693
|
Tn as assetProcedureFieldsSlice,
|
|
7682
|
-
|
|
7694
|
+
Hr as assetProcedureInstanceReducer,
|
|
7683
7695
|
In as assetProcedureInstanceSlice,
|
|
7684
|
-
|
|
7696
|
+
Yr as assetProcedureReducer,
|
|
7685
7697
|
En as assetProcedureSlice,
|
|
7686
7698
|
mo as assetProcedureStepFieldValuesAttachmentReducer,
|
|
7687
|
-
|
|
7699
|
+
Dn as assetProcedureStepFieldValuesAttachmentSlice,
|
|
7688
7700
|
go as assetProcedureStepFieldValuesReducer,
|
|
7689
|
-
|
|
7690
|
-
|
|
7701
|
+
zn as assetProcedureStepFieldValuesSlice,
|
|
7702
|
+
so as assetProcedureStepFieldsAttachmentReducer,
|
|
7691
7703
|
qn as assetProcedureStepFieldsAttachmentSlice,
|
|
7692
7704
|
ro as assetProcedureStepFieldsReducer,
|
|
7693
7705
|
jn as assetProcedureStepFieldsSlice,
|
|
7694
7706
|
_o as assetProcedureStepReducer,
|
|
7695
|
-
|
|
7707
|
+
Un as assetProcedureStepSlice,
|
|
7696
7708
|
wo as assetReducer,
|
|
7697
|
-
|
|
7709
|
+
$n as assetSlice,
|
|
7698
7710
|
jo as assetStageCompletionReducer,
|
|
7699
|
-
|
|
7711
|
+
Nn as assetStageCompletionSlice,
|
|
7700
7712
|
zo as assetStageReducer,
|
|
7701
|
-
|
|
7713
|
+
Wn as assetStageSlice,
|
|
7702
7714
|
Yo as assetTypeAttachmentReducer,
|
|
7703
|
-
|
|
7715
|
+
Kn as assetTypeAttachmentSlice,
|
|
7704
7716
|
md as assetTypeFieldValuesAttachmentReducer,
|
|
7705
|
-
|
|
7717
|
+
Zn as assetTypeFieldValuesAttachmentSlice,
|
|
7706
7718
|
gd as assetTypeFieldValuesReducer,
|
|
7707
|
-
|
|
7719
|
+
ta as assetTypeFieldValuesSlice,
|
|
7708
7720
|
sd as assetTypeFieldsAttachmentReducer,
|
|
7709
|
-
|
|
7721
|
+
Qn as assetTypeFieldsAttachmentSlice,
|
|
7710
7722
|
od as assetTypeFieldsReducer,
|
|
7711
|
-
|
|
7723
|
+
Xn as assetTypeFieldsSlice,
|
|
7712
7724
|
Pd as assetTypeReducer,
|
|
7713
|
-
|
|
7725
|
+
ia as assetTypeSlice,
|
|
7714
7726
|
Rd as authReducer,
|
|
7715
7727
|
Mt as authSlice,
|
|
7716
7728
|
jS as baseReducer,
|
|
7717
|
-
|
|
7729
|
+
ac as baseReducers,
|
|
7718
7730
|
_m as blobToBase64,
|
|
7719
7731
|
vd as categoryReducer,
|
|
7720
|
-
|
|
7732
|
+
aa as categorySlice,
|
|
7721
7733
|
KA as clearTokens,
|
|
7722
7734
|
Pm as constructUploadedFilePayloads,
|
|
7723
7735
|
fm as coordinatesAreEqual,
|
|
@@ -7728,29 +7740,29 @@ export {
|
|
|
7728
7740
|
pm as createPointGeometry,
|
|
7729
7741
|
hm as createSelectionAdapter,
|
|
7730
7742
|
Fs as deleteAsset,
|
|
7731
|
-
|
|
7743
|
+
tr as deleteAssetAttachment,
|
|
7732
7744
|
bn as deleteAssetAttachments,
|
|
7733
7745
|
ds as deleteAssetProcedure,
|
|
7734
|
-
|
|
7735
|
-
|
|
7746
|
+
lr as deleteAssetProcedureAttachment,
|
|
7747
|
+
hr as deleteAssetProcedureAttachments,
|
|
7736
7748
|
ts as deleteAssetProcedureFieldValues,
|
|
7737
7749
|
rf as deleteAssetProcedureFieldValuesAttachment,
|
|
7738
7750
|
Tt as deleteAssetProcedureFieldValuesAttachments,
|
|
7739
|
-
|
|
7740
|
-
|
|
7751
|
+
Vr as deleteAssetProcedureFieldValuesMany,
|
|
7752
|
+
Ir as deleteAssetProcedureFields,
|
|
7741
7753
|
Nm as deleteAssetProcedureFieldsAttachment,
|
|
7742
|
-
|
|
7754
|
+
gr as deleteAssetProcedureFieldsAttachments,
|
|
7743
7755
|
Xm as deleteAssetProcedureFieldsMany,
|
|
7744
7756
|
as as deleteAssetProcedureInstance,
|
|
7745
|
-
|
|
7757
|
+
Lr as deleteAssetProcedureInstances,
|
|
7746
7758
|
Xf as deleteAssetProcedureStep,
|
|
7747
7759
|
As as deleteAssetProcedureStepFieldValues,
|
|
7748
7760
|
Lf as deleteAssetProcedureStepFieldValuesAttachment,
|
|
7749
7761
|
_t as deleteAssetProcedureStepFieldValuesAttachments,
|
|
7750
7762
|
bo as deleteAssetProcedureStepFieldValuesMany,
|
|
7751
|
-
|
|
7763
|
+
co as deleteAssetProcedureStepFields,
|
|
7752
7764
|
wf as deleteAssetProcedureStepFieldsAttachment,
|
|
7753
|
-
|
|
7765
|
+
Zr as deleteAssetProcedureStepFieldsAttachments,
|
|
7754
7766
|
Df as deleteAssetProcedureStepFieldsMany,
|
|
7755
7767
|
Ts as deleteAssetProcedureSteps,
|
|
7756
7768
|
gf as deleteAssetProcedures,
|
|
@@ -7760,7 +7772,7 @@ export {
|
|
|
7760
7772
|
Cs as deleteAssetStages,
|
|
7761
7773
|
Ws as deleteAssetType,
|
|
7762
7774
|
Lo as deleteAssetTypeAttachment,
|
|
7763
|
-
|
|
7775
|
+
Jn as deleteAssetTypeAttachments,
|
|
7764
7776
|
Bs as deleteAssetTypeFieldValues,
|
|
7765
7777
|
MA as deleteAssetTypeFieldValuesAttachment,
|
|
7766
7778
|
Ft as deleteAssetTypeFieldValuesAttachments,
|
|
@@ -7776,7 +7788,7 @@ export {
|
|
|
7776
7788
|
Md as deleteDocumentAttachments,
|
|
7777
7789
|
Kd as deleteEmailDomain,
|
|
7778
7790
|
ri as deleteForm,
|
|
7779
|
-
|
|
7791
|
+
fa as deleteFormRevision,
|
|
7780
7792
|
hy as deleteFormRevisionAttachment,
|
|
7781
7793
|
au as deleteFormRevisionAttachments,
|
|
7782
7794
|
hu as deleteFormRevisions,
|
|
@@ -7788,9 +7800,9 @@ export {
|
|
|
7788
7800
|
Du as deleteGeoImages,
|
|
7789
7801
|
Ei as deleteIssue,
|
|
7790
7802
|
bi as deleteIssueAssociation,
|
|
7791
|
-
|
|
7803
|
+
Fa as deleteIssueAssociations,
|
|
7792
7804
|
Yu as deleteIssueAttachment,
|
|
7793
|
-
|
|
7805
|
+
va as deleteIssueAttachments,
|
|
7794
7806
|
Oi as deleteIssueComment,
|
|
7795
7807
|
nl as deleteIssueCommentAttachment,
|
|
7796
7808
|
al as deleteIssueCommentAttachments,
|
|
@@ -7815,7 +7827,7 @@ export {
|
|
|
7815
7827
|
Th as deleteProjectAccess,
|
|
7816
7828
|
Ph as deleteProjectAccesses,
|
|
7817
7829
|
Yh as deleteProjectAttachment,
|
|
7818
|
-
|
|
7830
|
+
Za as deleteProjectAttachments,
|
|
7819
7831
|
ip as deleteProjectFile,
|
|
7820
7832
|
np as deleteProjectFiles,
|
|
7821
7833
|
Xb as deleteProjects,
|
|
@@ -7823,56 +7835,56 @@ export {
|
|
|
7823
7835
|
Db as deleteUser,
|
|
7824
7836
|
xb as deleteUsers,
|
|
7825
7837
|
vp as dequeue,
|
|
7826
|
-
|
|
7838
|
+
Ac as discard,
|
|
7827
7839
|
zd as documentAttachmentReducer,
|
|
7828
|
-
|
|
7829
|
-
|
|
7840
|
+
ra as documentAttachmentSlice,
|
|
7841
|
+
oa as documentSlice,
|
|
7830
7842
|
Ld as documentsReducer,
|
|
7831
7843
|
Rm as downloadFile,
|
|
7832
7844
|
Tm as downloadInMemoryFile,
|
|
7833
7845
|
Qd as emailDomainsReducer,
|
|
7834
|
-
|
|
7846
|
+
da as emailDomainsSlice,
|
|
7835
7847
|
km as emailRegex,
|
|
7836
7848
|
Ip as enqueue,
|
|
7837
7849
|
Uh as enqueueRequest,
|
|
7838
7850
|
b as fallbackToEmptyArray,
|
|
7839
7851
|
De as fallbackToEmptyObject,
|
|
7840
7852
|
tu as fileReducer,
|
|
7841
|
-
|
|
7842
|
-
|
|
7853
|
+
la as fileSlice,
|
|
7854
|
+
Lc as fileToBlob,
|
|
7843
7855
|
yu as formReducer,
|
|
7844
7856
|
ru as formRevisionAttachmentReducer,
|
|
7845
|
-
|
|
7857
|
+
ha as formRevisionAttachmentSlice,
|
|
7846
7858
|
fu as formRevisionReducer,
|
|
7847
|
-
|
|
7848
|
-
|
|
7859
|
+
pa as formRevisionsSlice,
|
|
7860
|
+
Aa as formSlice,
|
|
7849
7861
|
Ru as formSubmissionAttachmentReducer,
|
|
7850
|
-
|
|
7862
|
+
ya as formSubmissionAttachmentSlice,
|
|
7851
7863
|
Eu as formSubmissionReducer,
|
|
7852
|
-
|
|
7864
|
+
Sa as formSubmissionSlice,
|
|
7853
7865
|
Vu as geoImageReducer,
|
|
7854
|
-
|
|
7866
|
+
Pa as geoImageSlice,
|
|
7855
7867
|
gm as getFileIdentifier,
|
|
7856
7868
|
Lt as getFileS3Key,
|
|
7857
|
-
|
|
7869
|
+
Vc as getLocalDateString,
|
|
7858
7870
|
Sm as getLocalRelativeDateString,
|
|
7859
7871
|
Ce as getOutboxCoordinator,
|
|
7860
|
-
|
|
7872
|
+
Bc as getRenamedFile,
|
|
7861
7873
|
Le as hashFile,
|
|
7862
7874
|
Ug as initSDK,
|
|
7863
7875
|
Kt as initializeAssetAttachments,
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7876
|
+
rr as initializeAssetProcedureAttachments,
|
|
7877
|
+
Dr as initializeAssetProcedureFieldValues,
|
|
7878
|
+
Er as initializeAssetProcedureFieldValuesAttachments,
|
|
7879
|
+
Rr as initializeAssetProcedureFields,
|
|
7880
|
+
yr as initializeAssetProcedureFieldsAttachments,
|
|
7881
|
+
Gr as initializeAssetProcedureInstances,
|
|
7870
7882
|
fo as initializeAssetProcedureStepFieldValues,
|
|
7871
7883
|
oo as initializeAssetProcedureStepFieldValuesAttachments,
|
|
7872
|
-
|
|
7873
|
-
|
|
7884
|
+
io as initializeAssetProcedureStepFields,
|
|
7885
|
+
Jr as initializeAssetProcedureStepFieldsAttachments,
|
|
7874
7886
|
To as initializeAssetProcedureSteps,
|
|
7875
|
-
|
|
7887
|
+
Wr as initializeAssetProcedures,
|
|
7876
7888
|
Eo as initializeAssetStageCompletions,
|
|
7877
7889
|
Do as initializeAssetStages,
|
|
7878
7890
|
$o as initializeAssetTypeAttachments,
|
|
@@ -7883,7 +7895,7 @@ export {
|
|
|
7883
7895
|
Td as initializeAssetTypes,
|
|
7884
7896
|
Oo as initializeAssets,
|
|
7885
7897
|
Fd as initializeCategories,
|
|
7886
|
-
|
|
7898
|
+
Kc as initializeConversations,
|
|
7887
7899
|
wd as initializeDocumentAttachments,
|
|
7888
7900
|
Hd as initializeEmailDomains,
|
|
7889
7901
|
su as initializeFormRevisionAttachments,
|
|
@@ -7906,7 +7918,7 @@ export {
|
|
|
7906
7918
|
dh as initializeLicences,
|
|
7907
7919
|
fh as initializeOrganizationAccesses,
|
|
7908
7920
|
sS as initializeOrganizations,
|
|
7909
|
-
|
|
7921
|
+
Wa as initializeProjectAccesses,
|
|
7910
7922
|
Lh as initializeProjectAttachments,
|
|
7911
7923
|
tp as initializeProjectFiles,
|
|
7912
7924
|
Wb as initializeProjects,
|
|
@@ -7914,31 +7926,31 @@ export {
|
|
|
7914
7926
|
hh as initializeUsers,
|
|
7915
7927
|
bm as isToday,
|
|
7916
7928
|
Hu as issueAssociationReducer,
|
|
7917
|
-
|
|
7929
|
+
_a as issueAssociationSlice,
|
|
7918
7930
|
el as issueAttachmentReducer,
|
|
7919
|
-
|
|
7931
|
+
Oa as issueAttachmentSlice,
|
|
7920
7932
|
dl as issueCommentAttachmentReducer,
|
|
7921
|
-
|
|
7933
|
+
wa as issueCommentAttachmentSlice,
|
|
7922
7934
|
hl as issueCommentReducer,
|
|
7923
|
-
|
|
7935
|
+
Ea as issueCommentSlice,
|
|
7924
7936
|
yl as issueReducer,
|
|
7925
|
-
|
|
7937
|
+
ka as issueSlice,
|
|
7926
7938
|
Ol as issueTypeAttachmentReducer,
|
|
7927
|
-
|
|
7939
|
+
qa as issueTypeAttachmentSlice,
|
|
7928
7940
|
Kl as issueTypeFieldValuesAttachmentReducer,
|
|
7929
|
-
|
|
7941
|
+
xa as issueTypeFieldValuesAttachmentSlice,
|
|
7930
7942
|
Dl as issueTypeFieldValuesReducer,
|
|
7931
|
-
|
|
7943
|
+
Ma as issueTypeFieldValuesSlice,
|
|
7932
7944
|
jl as issueTypeFieldsAttachmentReducer,
|
|
7933
|
-
|
|
7945
|
+
ja as issueTypeFieldsAttachmentSlice,
|
|
7934
7946
|
Gl as issueTypeFieldsReducer,
|
|
7935
|
-
|
|
7947
|
+
Da as issueTypeFieldsSlice,
|
|
7936
7948
|
eh as issueTypeReducer,
|
|
7937
|
-
|
|
7949
|
+
Va as issueTypeSlice,
|
|
7938
7950
|
oh as issueUpdateReducer,
|
|
7939
|
-
|
|
7951
|
+
$a as issueUpdateSlice,
|
|
7940
7952
|
lh as licenseReducer,
|
|
7941
|
-
|
|
7953
|
+
Ga as licenseSlice,
|
|
7942
7954
|
Fm as logOnlyOnce,
|
|
7943
7955
|
$h as markAsDeleted,
|
|
7944
7956
|
yS as markForDeletion,
|
|
@@ -7946,32 +7958,32 @@ export {
|
|
|
7946
7958
|
$d as moveDocument,
|
|
7947
7959
|
R as offline,
|
|
7948
7960
|
Em as onlyUniqueHashes,
|
|
7949
|
-
|
|
7961
|
+
Wc as onlyUniqueOfflineIds,
|
|
7950
7962
|
Sh as organizationAccessReducer,
|
|
7951
|
-
|
|
7963
|
+
La as organizationAccessSlice,
|
|
7952
7964
|
zh as organizationReducer,
|
|
7953
|
-
|
|
7965
|
+
Ja as organizationSlice,
|
|
7954
7966
|
Bh as outboxReducer,
|
|
7955
|
-
|
|
7967
|
+
Qa as outboxSlice,
|
|
7956
7968
|
CS as overmapEnhancer,
|
|
7957
7969
|
MS as overmapReducer,
|
|
7958
7970
|
Sp as overmapReducers,
|
|
7959
|
-
|
|
7971
|
+
pc as performRequest,
|
|
7960
7972
|
Fh as projectAccessReducer,
|
|
7961
|
-
|
|
7973
|
+
Ha as projectAccessSlice,
|
|
7962
7974
|
ep as projectAttachmentReducer,
|
|
7963
|
-
|
|
7975
|
+
Xa as projectAttachmentSlice,
|
|
7964
7976
|
up as projectFileReducer,
|
|
7965
|
-
|
|
7977
|
+
ec as projectFileSlice,
|
|
7966
7978
|
Eh as projectReducer,
|
|
7967
|
-
|
|
7979
|
+
Ya as projectSlice,
|
|
7968
7980
|
hp as rehydratedReducer,
|
|
7969
|
-
|
|
7981
|
+
tc as rehydratedSlice,
|
|
7970
7982
|
ti as removeDocuments,
|
|
7971
7983
|
Gi as removeIssueType,
|
|
7972
7984
|
ph as removeUser,
|
|
7973
7985
|
RS as resetProjectFileObjectUrls,
|
|
7974
|
-
|
|
7986
|
+
Dc as resetStore,
|
|
7975
7987
|
y as restructureCreateSelectorWithArgs,
|
|
7976
7988
|
rp as saveActiveProjectFileBounds,
|
|
7977
7989
|
YA as selectAccessToken,
|
|
@@ -7981,64 +7993,64 @@ export {
|
|
|
7981
7993
|
Dd as selectAllDocumentAttachments,
|
|
7982
7994
|
Qh as selectAllProjectAttachments,
|
|
7983
7995
|
ay as selectAncestorIdsOfDocument,
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7996
|
+
nr as selectAssetAttachmentById,
|
|
7997
|
+
sr as selectAssetAttachmentMapping,
|
|
7998
|
+
ir as selectAssetAttachments,
|
|
7987
7999
|
Os as selectAssetById,
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
8000
|
+
fr as selectAssetProcedureAttachmentById,
|
|
8001
|
+
pr as selectAssetProcedureAttachmentMapping,
|
|
8002
|
+
mr as selectAssetProcedureAttachments,
|
|
7991
8003
|
us as selectAssetProcedureById,
|
|
7992
8004
|
On as selectAssetProcedureFieldValues,
|
|
7993
8005
|
of as selectAssetProcedureFieldValuesAttachmentById,
|
|
7994
|
-
|
|
7995
|
-
|
|
8006
|
+
qr as selectAssetProcedureFieldValuesAttachments,
|
|
8007
|
+
jr as selectAssetProcedureFieldValuesAttachmentsByIds,
|
|
7996
8008
|
Rn as selectAssetProcedureFieldValuesAttachmentsMapping,
|
|
7997
8009
|
ss as selectAssetProcedureFieldValuesById,
|
|
7998
|
-
|
|
8010
|
+
Ur as selectAssetProcedureFieldValuesMapping,
|
|
7999
8011
|
lf as selectAssetProcedureFieldValuesOfAsset,
|
|
8000
8012
|
Pn as selectAssetProcedureFields,
|
|
8001
8013
|
Wm as selectAssetProcedureFieldsAttachmentById,
|
|
8002
|
-
|
|
8003
|
-
|
|
8014
|
+
Pr as selectAssetProcedureFieldsAttachments,
|
|
8015
|
+
Tr as selectAssetProcedureFieldsAttachmentsMapping,
|
|
8004
8016
|
tf as selectAssetProcedureFieldsById,
|
|
8005
|
-
|
|
8017
|
+
vr as selectAssetProcedureFieldsMapping,
|
|
8006
8018
|
Zm as selectAssetProcedureFieldsOfAssetProcedure,
|
|
8007
8019
|
cs as selectAssetProcedureInstanceById,
|
|
8008
8020
|
wn as selectAssetProcedureInstances,
|
|
8009
8021
|
yf as selectAssetProcedureInstancesByIds,
|
|
8010
8022
|
vn as selectAssetProcedureInstancesMapping,
|
|
8011
|
-
|
|
8023
|
+
Nr as selectAssetProcedureInstancesOfAssetProcedure,
|
|
8012
8024
|
Af as selectAssetProcedureInstancesOfAssetType,
|
|
8013
8025
|
Ro as selectAssetProcedureStepById,
|
|
8014
|
-
|
|
8026
|
+
So as selectAssetProcedureStepFieldValues,
|
|
8015
8027
|
Nf as selectAssetProcedureStepFieldValuesAttachmentById,
|
|
8016
8028
|
lo as selectAssetProcedureStepFieldValuesAttachments,
|
|
8017
8029
|
ho as selectAssetProcedureStepFieldValuesAttachmentsByIds,
|
|
8018
|
-
|
|
8030
|
+
xn as selectAssetProcedureStepFieldValuesAttachmentsMapping,
|
|
8019
8031
|
ys as selectAssetProcedureStepFieldValuesById,
|
|
8020
|
-
|
|
8032
|
+
Vn as selectAssetProcedureStepFieldValuesMapping,
|
|
8021
8033
|
Kf as selectAssetProcedureStepFieldValuesOfAsset,
|
|
8022
|
-
Yf as
|
|
8023
|
-
|
|
8034
|
+
Yf as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
|
|
8035
|
+
Cn as selectAssetProcedureStepFields,
|
|
8024
8036
|
kf as selectAssetProcedureStepFieldsAttachmentById,
|
|
8025
|
-
|
|
8026
|
-
|
|
8037
|
+
to as selectAssetProcedureStepFieldsAttachments,
|
|
8038
|
+
eo as selectAssetProcedureStepFieldsAttachmentsMapping,
|
|
8027
8039
|
Vf as selectAssetProcedureStepFieldsById,
|
|
8028
|
-
|
|
8040
|
+
Mn as selectAssetProcedureStepFieldsMapping,
|
|
8029
8041
|
xf as selectAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
8030
8042
|
kt as selectAssetProcedureStepMapping,
|
|
8031
8043
|
Fo as selectAssetProcedureSteps,
|
|
8032
8044
|
Ps as selectAssetProcedureStepsByIds,
|
|
8033
8045
|
Zf as selectAssetProcedureStepsMappingOfAssetProcedure,
|
|
8034
8046
|
eA as selectAssetProcedureStepsOfAssetProcedure,
|
|
8035
|
-
|
|
8047
|
+
Kr as selectAssetProcedures,
|
|
8036
8048
|
Rf as selectAssetProceduresByIds,
|
|
8037
8049
|
kn as selectAssetProceduresMapping,
|
|
8038
8050
|
_f as selectAssetProceduresOfOrganization,
|
|
8039
8051
|
Vo as selectAssetStageById,
|
|
8040
8052
|
Mo as selectAssetStageCompletionById,
|
|
8041
|
-
|
|
8053
|
+
Hn as selectAssetStageCompletionMapping,
|
|
8042
8054
|
cA as selectAssetStageCompletions,
|
|
8043
8055
|
Co as selectAssetStageCompletionsByIds,
|
|
8044
8056
|
Uo as selectAssetStages,
|
|
@@ -8049,11 +8061,11 @@ export {
|
|
|
8049
8061
|
No as selectAssetTypeAttachmentMapping,
|
|
8050
8062
|
Ho as selectAssetTypeAttachments,
|
|
8051
8063
|
Ks as selectAssetTypeById,
|
|
8052
|
-
|
|
8064
|
+
sa as selectAssetTypeFieldValues,
|
|
8053
8065
|
CA as selectAssetTypeFieldValuesAttachmentById,
|
|
8054
8066
|
ld as selectAssetTypeFieldValuesAttachments,
|
|
8055
8067
|
hd as selectAssetTypeFieldValuesAttachmentsByIds,
|
|
8056
|
-
|
|
8068
|
+
ea as selectAssetTypeFieldValuesAttachmentsMapping,
|
|
8057
8069
|
Ls as selectAssetTypeFieldValuesById,
|
|
8058
8070
|
Sd as selectAssetTypeFieldValuesMapping,
|
|
8059
8071
|
zA as selectAssetTypeFieldValuesOfAsset,
|
|
@@ -8067,14 +8079,14 @@ export {
|
|
|
8067
8079
|
VA as selectAssetTypeValuesOfAssetType,
|
|
8068
8080
|
NA as selectAssetTypes,
|
|
8069
8081
|
HA as selectAssetTypesByIds,
|
|
8070
|
-
|
|
8082
|
+
na as selectAssetTypesMapping,
|
|
8071
8083
|
vo as selectAssets,
|
|
8072
8084
|
nA as selectAssetsByIds,
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8085
|
+
Bn as selectAssetsMapping,
|
|
8086
|
+
Ln as selectAssetsOfAssetType,
|
|
8087
|
+
ar as selectAttachmentsOfAsset,
|
|
8076
8088
|
Um as selectAttachmentsOfAssetProcedure,
|
|
8077
|
-
|
|
8089
|
+
Mr as selectAttachmentsOfAssetProcedureFieldValues,
|
|
8078
8090
|
Hm as selectAttachmentsOfAssetProcedureFields,
|
|
8079
8091
|
po as selectAttachmentsOfAssetProcedureStepFieldValues,
|
|
8080
8092
|
Ef as selectAttachmentsOfAssetProcedureStepFields,
|
|
@@ -8093,7 +8105,7 @@ export {
|
|
|
8093
8105
|
QA as selectCategories,
|
|
8094
8106
|
XA as selectCategoriesByIds,
|
|
8095
8107
|
Xs as selectCategoryById,
|
|
8096
|
-
|
|
8108
|
+
ca as selectCategoryMapping,
|
|
8097
8109
|
Gy as selectCommentsOfIssue,
|
|
8098
8110
|
jm as selectConversation,
|
|
8099
8111
|
fn as selectConversationMapping,
|
|
@@ -8118,10 +8130,10 @@ export {
|
|
|
8118
8130
|
pu as selectFormRevisions,
|
|
8119
8131
|
mu as selectFormRevisionsOfForm,
|
|
8120
8132
|
Pu as selectFormSubmissionAttachemntsByIds,
|
|
8121
|
-
|
|
8133
|
+
ba as selectFormSubmissionAttachmentsMapping,
|
|
8122
8134
|
hi as selectFormSubmissionById,
|
|
8123
|
-
|
|
8124
|
-
|
|
8135
|
+
Ta as selectFormSubmissions,
|
|
8136
|
+
ga as selectFormSubmissionsMapping,
|
|
8125
8137
|
wu as selectFormSubmissionsOfAsset,
|
|
8126
8138
|
Iu as selectFormSubmissionsOfForm,
|
|
8127
8139
|
vu as selectFormSubmissionsOfIssue,
|
|
@@ -8153,11 +8165,11 @@ export {
|
|
|
8153
8165
|
_l as selectIssueTypeAttachmentMapping,
|
|
8154
8166
|
Rl as selectIssueTypeAttachments,
|
|
8155
8167
|
Bi as selectIssueTypeById,
|
|
8156
|
-
|
|
8168
|
+
Ca as selectIssueTypeFieldValues,
|
|
8157
8169
|
Tb as selectIssueTypeFieldValuesAttachmentById,
|
|
8158
8170
|
Nl as selectIssueTypeFieldValuesAttachments,
|
|
8159
8171
|
Hl as selectIssueTypeFieldValuesAttachmentsByIds,
|
|
8160
|
-
|
|
8172
|
+
za as selectIssueTypeFieldValuesAttachmentsMapping,
|
|
8161
8173
|
zi as selectIssueTypeFieldValuesById,
|
|
8162
8174
|
Cl as selectIssueTypeFieldValuesMapping,
|
|
8163
8175
|
cb as selectIssueTypeFieldValuesOfIssue,
|
|
@@ -8176,7 +8188,7 @@ export {
|
|
|
8176
8188
|
ch as selectIssueUpdateMapping,
|
|
8177
8189
|
rh as selectIssueUpdatesOfIssue,
|
|
8178
8190
|
By as selectIssuesByIds,
|
|
8179
|
-
|
|
8191
|
+
Ua as selectIssuesOfIssueType,
|
|
8180
8192
|
Rb as selectIssuesOfIssueTypeCount,
|
|
8181
8193
|
ef as selectLatestAssetProcedureFieldsOfAssetProcedure,
|
|
8182
8194
|
zf as selectLatestAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
@@ -8193,7 +8205,7 @@ export {
|
|
|
8193
8205
|
Gb as selectOrganizationAccessById,
|
|
8194
8206
|
Lb as selectOrganizationAccessForUser,
|
|
8195
8207
|
bh as selectOrganizationAccessUserMapping,
|
|
8196
|
-
|
|
8208
|
+
Na as selectOrganizationAccesses,
|
|
8197
8209
|
uS as selectOrganizationById,
|
|
8198
8210
|
xh as selectOrganizationUsersAsMapping,
|
|
8199
8211
|
Dh as selectOrganizationUsersIds,
|
|
@@ -8202,7 +8214,7 @@ export {
|
|
|
8202
8214
|
lS as selectOrganizationsWithAccess,
|
|
8203
8215
|
Nb as selectProjectAccessById,
|
|
8204
8216
|
Hb as selectProjectAccessForUser,
|
|
8205
|
-
|
|
8217
|
+
Ka as selectProjectAccessMapping,
|
|
8206
8218
|
Rh as selectProjectAccessUserMapping,
|
|
8207
8219
|
_h as selectProjectAccesses,
|
|
8208
8220
|
Xh as selectProjectAttachmentById,
|
|
@@ -8222,9 +8234,9 @@ export {
|
|
|
8222
8234
|
tS as selectSortedProjectUsers,
|
|
8223
8235
|
qt as selectStageMapping,
|
|
8224
8236
|
Ve as selectTeamById,
|
|
8225
|
-
|
|
8237
|
+
nc as selectTeams,
|
|
8226
8238
|
ES as selectTeamsByIds,
|
|
8227
|
-
|
|
8239
|
+
ic as selectTeamsMapping,
|
|
8228
8240
|
kS as selectTeamsOfOrganization,
|
|
8229
8241
|
qS as selectTeamsOfUser,
|
|
8230
8242
|
eu as selectUploadUrl,
|
|
@@ -8233,10 +8245,10 @@ export {
|
|
|
8233
8245
|
$t as selectUsersMapping,
|
|
8234
8246
|
cp as setActiveProjectFileId,
|
|
8235
8247
|
sA as setAsset,
|
|
8236
|
-
|
|
8248
|
+
Zc as setAssetAttachment,
|
|
8237
8249
|
Cm as setAssetAttachments,
|
|
8238
8250
|
Tf as setAssetProcedure,
|
|
8239
|
-
|
|
8251
|
+
dr as setAssetProcedureAttachment,
|
|
8240
8252
|
zm as setAssetProcedureAttachments,
|
|
8241
8253
|
df as setAssetProcedureFieldValues,
|
|
8242
8254
|
nf as setAssetProcedureFieldValuesAttachment,
|
|
@@ -8274,7 +8286,7 @@ export {
|
|
|
8274
8286
|
RA as setAssetTypeFieldsMany,
|
|
8275
8287
|
$A as setAssetTypes,
|
|
8276
8288
|
iA as setAssets,
|
|
8277
|
-
|
|
8289
|
+
Jc as setConversation,
|
|
8278
8290
|
zb as setCurrentUser,
|
|
8279
8291
|
kd as setDocumentAttachment,
|
|
8280
8292
|
ty as setDocumentAttachments,
|
|
@@ -8330,23 +8342,23 @@ export {
|
|
|
8330
8342
|
vm as slugify,
|
|
8331
8343
|
Im as spacesToDashesLower,
|
|
8332
8344
|
fp as teamReducer,
|
|
8333
|
-
|
|
8345
|
+
sc as teamSlice,
|
|
8334
8346
|
Om as toFileNameSafeString,
|
|
8335
|
-
|
|
8347
|
+
Hc as toOfflineIdRecord,
|
|
8336
8348
|
wm as truncate,
|
|
8337
8349
|
Xe as updateAsset,
|
|
8338
8350
|
Dm as updateAssetAttachment,
|
|
8339
|
-
|
|
8351
|
+
er as updateAssetAttachments,
|
|
8340
8352
|
Je as updateAssetProcedure,
|
|
8341
8353
|
Vm as updateAssetProcedureAttachment,
|
|
8342
|
-
|
|
8354
|
+
ur as updateAssetProcedureAttachments,
|
|
8343
8355
|
Ke as updateAssetProcedureFieldValues,
|
|
8344
8356
|
cf as updateAssetProcedureFieldValuesAttachment,
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8357
|
+
kr as updateAssetProcedureFieldValuesAttachments,
|
|
8358
|
+
zr as updateAssetProcedureFieldValuesMany,
|
|
8359
|
+
Or as updateAssetProcedureFields,
|
|
8348
8360
|
Lm as updateAssetProcedureFieldsAttachment,
|
|
8349
|
-
|
|
8361
|
+
Sr as updateAssetProcedureFieldsAttachments,
|
|
8350
8362
|
Qm as updateAssetProcedureFieldsMany,
|
|
8351
8363
|
Ye as updateAssetProcedureInstance,
|
|
8352
8364
|
pf as updateAssetProcedureInstances,
|
|
@@ -8355,9 +8367,9 @@ export {
|
|
|
8355
8367
|
Bf as updateAssetProcedureStepFieldValuesAttachment,
|
|
8356
8368
|
uo as updateAssetProcedureStepFieldValuesAttachments,
|
|
8357
8369
|
yo as updateAssetProcedureStepFieldValuesMany,
|
|
8358
|
-
|
|
8370
|
+
ao as updateAssetProcedureStepFields,
|
|
8359
8371
|
vf as updateAssetProcedureStepFieldsAttachment,
|
|
8360
|
-
|
|
8372
|
+
Xr as updateAssetProcedureStepFieldsAttachments,
|
|
8361
8373
|
Cf as updateAssetProcedureStepFieldsMany,
|
|
8362
8374
|
lt as updateAssetProcedureSteps,
|
|
8363
8375
|
Sf as updateAssetProcedures,
|
|
@@ -8379,7 +8391,7 @@ export {
|
|
|
8379
8391
|
BA as updateAssetTypes,
|
|
8380
8392
|
tA as updateAssets,
|
|
8381
8393
|
Od as updateCategory,
|
|
8382
|
-
|
|
8394
|
+
Qc as updateConversation,
|
|
8383
8395
|
sy as updateDocumentAttachment,
|
|
8384
8396
|
qd as updateDocumentAttachments,
|
|
8385
8397
|
_e as updateDocuments,
|
|
@@ -8425,7 +8437,7 @@ export {
|
|
|
8425
8437
|
Cb as updateUser,
|
|
8426
8438
|
Mb as updateUsers,
|
|
8427
8439
|
mh as userReducer,
|
|
8428
|
-
|
|
8440
|
+
Ba as userSlice,
|
|
8429
8441
|
bp as versioningReducer,
|
|
8430
8442
|
yp as versioningSlice
|
|
8431
8443
|
};
|