@overmap-ai/core 1.0.78-workflows.1 → 1.0.78-workflows.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/overmap-core.js
CHANGED
|
@@ -2,13 +2,13 @@ var Xc = Object.defineProperty;
|
|
|
2
2
|
var eo = (t, s, e) => s in t ? Xc(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
|
|
3
3
|
var h = (t, s, e) => eo(t, typeof s != "symbol" ? s + "" : s, e);
|
|
4
4
|
import "@redux-offline/redux-offline/lib/types";
|
|
5
|
-
import { createAction as Wt, createSelector as m, createSlice as
|
|
5
|
+
import { createAction as Wt, createSelector as m, createSlice as g, isAnyOf as R, combineReducers as sn, compose as to } from "@reduxjs/toolkit";
|
|
6
6
|
import ft from "superagent";
|
|
7
7
|
import { v4 as mt } from "uuid";
|
|
8
8
|
import { useMemo as so } from "react";
|
|
9
9
|
import { saveAs as io } from "file-saver";
|
|
10
10
|
import nn from "fast-tree-builder";
|
|
11
|
-
import { Tree as
|
|
11
|
+
import { Tree as kt } from "ts-tree-lib";
|
|
12
12
|
import { offline as no } from "@redux-offline/redux-offline";
|
|
13
13
|
import bs from "@redux-offline/redux-offline/lib/defaults";
|
|
14
14
|
import ao from "localforage";
|
|
@@ -112,7 +112,7 @@ function RP() {
|
|
|
112
112
|
})
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
const
|
|
115
|
+
const gt = "versioning", k = Wt("RESET"), V = Wt("RESET_PROJECT_STATE"), F = Wt("RESET_ORGANIZATION_STATE");
|
|
116
116
|
function FP(t, s) {
|
|
117
117
|
return so(t, s);
|
|
118
118
|
}
|
|
@@ -191,7 +191,7 @@ const A = (t) => t.length === 0 ? uo : t, Dt = (t) => Object.keys(t).length ===
|
|
|
191
191
|
function _o(t) {
|
|
192
192
|
return new Uint8Array(t).reduce((e, i) => e + i.toString(16).padStart(2, "0"), "");
|
|
193
193
|
}
|
|
194
|
-
const
|
|
194
|
+
const ks = async (t, s) => {
|
|
195
195
|
s || (s = await At(t));
|
|
196
196
|
let e = t.type;
|
|
197
197
|
if (e.includes("/") && (e = e.split("/")[1]), !e)
|
|
@@ -221,14 +221,14 @@ function BP(t) {
|
|
|
221
221
|
}
|
|
222
222
|
return `${t.name}&${t.type}${t.size}`;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function ko(t, s) {
|
|
225
225
|
return new File([t], s, { type: t.type });
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function $P(t, s) {
|
|
228
228
|
const e = document.createElement("a");
|
|
229
229
|
e.setAttribute("href", "data:text/plain;charset=utf-8," + encodeURIComponent(s)), e.setAttribute("download", t), e.style.display = "none", document.body.appendChild(e), e.click(), document.body.removeChild(e);
|
|
230
230
|
}
|
|
231
|
-
const
|
|
231
|
+
const VP = async (t) => {
|
|
232
232
|
const s = {};
|
|
233
233
|
for (const e of t) {
|
|
234
234
|
const i = await At(e);
|
|
@@ -240,7 +240,7 @@ const $P = async (t) => {
|
|
|
240
240
|
};
|
|
241
241
|
}
|
|
242
242
|
return Object.values(s);
|
|
243
|
-
},
|
|
243
|
+
}, go = async (t) => (await fetch(t)).blob(), jP = (t) => new Promise((s, e) => {
|
|
244
244
|
const i = new FileReader();
|
|
245
245
|
i.onloadend = () => {
|
|
246
246
|
var n;
|
|
@@ -251,11 +251,11 @@ function CP(t) {
|
|
|
251
251
|
const s = new Blob([t]);
|
|
252
252
|
io(s, t.name);
|
|
253
253
|
}
|
|
254
|
-
const
|
|
254
|
+
const gs = {};
|
|
255
255
|
function WP(t, s, e, ...i) {
|
|
256
|
-
const n =
|
|
256
|
+
const n = gs[t];
|
|
257
257
|
let a = !1;
|
|
258
|
-
n ? n[s] || (n[s] = !0, a = !0) : (
|
|
258
|
+
n ? n[s] || (n[s] = !0, a = !0) : (gs[t] = { [s]: !0 }, a = !0), a && console[e](...i);
|
|
259
259
|
}
|
|
260
260
|
const Po = [
|
|
261
261
|
// TimestamptedModel
|
|
@@ -275,7 +275,7 @@ function DP(t) {
|
|
|
275
275
|
s[e.uuid] = e;
|
|
276
276
|
return s;
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function $(t) {
|
|
279
279
|
return t.map(({ uuid: s }) => s);
|
|
280
280
|
}
|
|
281
281
|
function Ut(t, s) {
|
|
@@ -323,12 +323,12 @@ const on = (t) => {
|
|
|
323
323
|
});
|
|
324
324
|
}, GP = (t) => {
|
|
325
325
|
const { roots: s } = on(t);
|
|
326
|
-
return s.map((e) => new
|
|
326
|
+
return s.map((e) => new kt(e));
|
|
327
327
|
}, Mo = (t, s) => {
|
|
328
328
|
const { nodes: e } = on(s), i = e.get(t);
|
|
329
329
|
if (!i)
|
|
330
330
|
throw new Error(`Node with uuid ${t} does not exist in asset procedure step tree.`);
|
|
331
|
-
return new
|
|
331
|
+
return new kt(i);
|
|
332
332
|
}, Ro = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, Fo = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, dn = (t) => nn(t, {
|
|
333
333
|
id: (s) => s.uuid,
|
|
334
334
|
parentId: (s) => s.parent_document,
|
|
@@ -336,12 +336,12 @@ const on = (t) => {
|
|
|
336
336
|
valueKey: !1
|
|
337
337
|
}), KP = (t) => {
|
|
338
338
|
const { roots: s } = dn(t);
|
|
339
|
-
return s.map((e) => new
|
|
339
|
+
return s.map((e) => new kt(e));
|
|
340
340
|
}, Eo = (t, s) => {
|
|
341
341
|
const { nodes: e } = dn(s), i = e.get(t);
|
|
342
342
|
if (!i)
|
|
343
343
|
throw new Error(`Node with uuid ${t} does not exist in document tree.`);
|
|
344
|
-
return new
|
|
344
|
+
return new kt(i);
|
|
345
345
|
};
|
|
346
346
|
class YP {
|
|
347
347
|
constructor(s) {
|
|
@@ -397,11 +397,11 @@ const S = (
|
|
|
397
397
|
(t) => (...s) => (e) => t(e, ...s)
|
|
398
398
|
), x = M((t) => t.uuid), Ps = {
|
|
399
399
|
instances: {}
|
|
400
|
-
}, ln =
|
|
400
|
+
}, ln = g({
|
|
401
401
|
name: "agents",
|
|
402
402
|
initialState: Ps,
|
|
403
403
|
extraReducers: (t) => t.addMatcher(
|
|
404
|
-
R(
|
|
404
|
+
R(k, V, F),
|
|
405
405
|
(s) => Object.assign(s, Ps)
|
|
406
406
|
),
|
|
407
407
|
reducers: {
|
|
@@ -433,13 +433,13 @@ const S = (
|
|
|
433
433
|
[un, (t, s) => s],
|
|
434
434
|
(t, s) => t[s]
|
|
435
435
|
)
|
|
436
|
-
),
|
|
436
|
+
), $o = ln.reducer, U = M((t) => t.uuid), Ms = {
|
|
437
437
|
instances: {}
|
|
438
|
-
}, hn =
|
|
438
|
+
}, hn = g({
|
|
439
439
|
name: "assetAttachments",
|
|
440
440
|
initialState: Ms,
|
|
441
441
|
extraReducers: (t) => t.addMatcher(
|
|
442
|
-
R(
|
|
442
|
+
R(k, V, F),
|
|
443
443
|
(s) => Object.assign(s, Ms)
|
|
444
444
|
),
|
|
445
445
|
reducers: {
|
|
@@ -454,7 +454,7 @@ const S = (
|
|
|
454
454
|
deleteAssetAttachments: U.deleteMany
|
|
455
455
|
}
|
|
456
456
|
}), {
|
|
457
|
-
initializeAssetAttachments:
|
|
457
|
+
initializeAssetAttachments: Vo,
|
|
458
458
|
addAssetAttachment: jo,
|
|
459
459
|
addAssetAttachments: pn,
|
|
460
460
|
setAssetAttachment: Co,
|
|
@@ -475,11 +475,11 @@ const S = (
|
|
|
475
475
|
m([fn, (t, s) => s], (t, s) => A(t.filter(({ asset: e }) => s === e)))
|
|
476
476
|
), Ko = hn.reducer, L = M(({ uuid: t }) => t), Rs = {
|
|
477
477
|
instances: {}
|
|
478
|
-
}, yn =
|
|
478
|
+
}, yn = g({
|
|
479
479
|
name: "assetProcedureTypeAttachments",
|
|
480
480
|
initialState: Rs,
|
|
481
481
|
extraReducers: (t) => t.addMatcher(
|
|
482
|
-
R(
|
|
482
|
+
R(k, F),
|
|
483
483
|
(s) => Object.assign(s, Rs)
|
|
484
484
|
),
|
|
485
485
|
reducers: {
|
|
@@ -518,11 +518,11 @@ const S = (
|
|
|
518
518
|
)
|
|
519
519
|
), N = M(({ uuid: t }) => t), Fs = {
|
|
520
520
|
instances: {}
|
|
521
|
-
}, An =
|
|
521
|
+
}, An = g({
|
|
522
522
|
name: "assetProcedureTypeFieldsAttachments",
|
|
523
523
|
initialState: Fs,
|
|
524
524
|
extraReducers: (t) => t.addMatcher(
|
|
525
|
-
R(
|
|
525
|
+
R(k, F),
|
|
526
526
|
(s) => Object.assign(s, Fs)
|
|
527
527
|
),
|
|
528
528
|
reducers: {
|
|
@@ -564,11 +564,11 @@ const S = (
|
|
|
564
564
|
)
|
|
565
565
|
), H = M(({ uuid: t }) => t), Es = {
|
|
566
566
|
instances: {}
|
|
567
|
-
}, On =
|
|
567
|
+
}, On = g({
|
|
568
568
|
name: "assetProcedureTypeFields",
|
|
569
569
|
initialState: Es,
|
|
570
570
|
extraReducers: (t) => t.addMatcher(
|
|
571
|
-
R(
|
|
571
|
+
R(k, F),
|
|
572
572
|
(s) => Object.assign(s, Es)
|
|
573
573
|
),
|
|
574
574
|
reducers: {
|
|
@@ -587,8 +587,8 @@ const S = (
|
|
|
587
587
|
addAssetProcedureTypeFields: Id,
|
|
588
588
|
addAssetProcedureTypeFieldsMany: bd,
|
|
589
589
|
setAssetProcedureTypeFields: _d,
|
|
590
|
-
setAssetProcedureTypeFieldsMany:
|
|
591
|
-
updateAssetProcedureTypeFields:
|
|
590
|
+
setAssetProcedureTypeFieldsMany: kd,
|
|
591
|
+
updateAssetProcedureTypeFields: gd,
|
|
592
592
|
updateAssetProcedureTypeFieldsMany: Pd,
|
|
593
593
|
deleteAssetProcedureTypeFields: Md,
|
|
594
594
|
deleteAssetProcedureTypeFieldsMany: Rd
|
|
@@ -615,11 +615,11 @@ const S = (
|
|
|
615
615
|
)
|
|
616
616
|
), G = M(({ uuid: t }) => t), vs = {
|
|
617
617
|
instances: {}
|
|
618
|
-
}, Tn =
|
|
618
|
+
}, Tn = g({
|
|
619
619
|
name: "assetProcedureTypeFieldValuesAttachments",
|
|
620
620
|
initialState: vs,
|
|
621
621
|
extraReducers: (t) => t.addMatcher(
|
|
622
|
-
R(
|
|
622
|
+
R(k, V, F),
|
|
623
623
|
(s) => Object.assign(s, vs)
|
|
624
624
|
),
|
|
625
625
|
reducers: {
|
|
@@ -637,8 +637,8 @@ const S = (
|
|
|
637
637
|
initializeAssetProcedureTypeFieldValuesAttachments: zd,
|
|
638
638
|
addAssetProcedureTypeFieldValuesAttachment: Bd,
|
|
639
639
|
addAssetProcedureTypeFieldValuesAttachments: In,
|
|
640
|
-
setAssetProcedureTypeFieldValuesAttachment:
|
|
641
|
-
setAssetProcedureTypeFieldValuesAttachments:
|
|
640
|
+
setAssetProcedureTypeFieldValuesAttachment: $d,
|
|
641
|
+
setAssetProcedureTypeFieldValuesAttachments: Vd,
|
|
642
642
|
updateAssetProcedureTypeFieldValuesAttachment: jd,
|
|
643
643
|
updateAssetProcedureTypeFieldValuesAttachments: Cd,
|
|
644
644
|
deleteAssetProcedureTypeFieldValuesAttachment: Wd,
|
|
@@ -664,11 +664,11 @@ const S = (
|
|
|
664
664
|
)
|
|
665
665
|
), K = M(({ uuid: t }) => t), qs = {
|
|
666
666
|
instances: {}
|
|
667
|
-
},
|
|
667
|
+
}, kn = g({
|
|
668
668
|
name: "assetProcedureTypeFieldValues",
|
|
669
669
|
initialState: qs,
|
|
670
670
|
extraReducers: (t) => t.addMatcher(
|
|
671
|
-
R(
|
|
671
|
+
R(k, V, F),
|
|
672
672
|
(s) => Object.assign(s, qs)
|
|
673
673
|
),
|
|
674
674
|
reducers: {
|
|
@@ -692,7 +692,7 @@ const S = (
|
|
|
692
692
|
updateAssetProcedureTypeFieldValuesMany: Jd,
|
|
693
693
|
deleteAssetProcedureTypeFieldValues: Xd,
|
|
694
694
|
deleteAssetProcedureTypeFieldValuesMany: el
|
|
695
|
-
} =
|
|
695
|
+
} = kn.actions, tl = kn.reducer, sl = (t) => t.assetProcedureTypeFieldValuesReducer.instances, Nt = m(
|
|
696
696
|
[sl],
|
|
697
697
|
(t) => Object.values(t)
|
|
698
698
|
), cM = S(
|
|
@@ -717,11 +717,11 @@ const S = (
|
|
|
717
717
|
({ uuid: t }) => t
|
|
718
718
|
), zs = {
|
|
719
719
|
instances: {}
|
|
720
|
-
},
|
|
720
|
+
}, gn = g({
|
|
721
721
|
name: "assetProcedures",
|
|
722
722
|
initialState: zs,
|
|
723
723
|
extraReducers: (t) => t.addMatcher(
|
|
724
|
-
R(
|
|
724
|
+
R(k, V, F),
|
|
725
725
|
(s) => Object.assign(s, zs)
|
|
726
726
|
),
|
|
727
727
|
reducers: {
|
|
@@ -745,7 +745,7 @@ const S = (
|
|
|
745
745
|
deleteAssetProcedures: Mn,
|
|
746
746
|
setAssetProcedure: ll,
|
|
747
747
|
setAssetProcedures: ul
|
|
748
|
-
} =
|
|
748
|
+
} = gn.actions, hl = gn.reducer, pl = (t) => t.assetProcedureReducer.instances, Ht = m([pl], (t) => Object.values(t)), ml = S(
|
|
749
749
|
m(
|
|
750
750
|
[Ht, (t, s) => s],
|
|
751
751
|
(t, s) => A(
|
|
@@ -761,11 +761,11 @@ const S = (
|
|
|
761
761
|
})
|
|
762
762
|
), Q = M((t) => t.uuid), Bs = {
|
|
763
763
|
instances: {}
|
|
764
|
-
}, Rn =
|
|
764
|
+
}, Rn = g({
|
|
765
765
|
name: "assetProcedureTypes",
|
|
766
766
|
initialState: Bs,
|
|
767
767
|
extraReducers: (t) => t.addMatcher(
|
|
768
|
-
R(
|
|
768
|
+
R(k, F),
|
|
769
769
|
(s) => Object.assign(s, Bs)
|
|
770
770
|
),
|
|
771
771
|
reducers: {
|
|
@@ -788,8 +788,8 @@ const S = (
|
|
|
788
788
|
deleteAssetProcedureType: Il,
|
|
789
789
|
deleteAssetProcedureTypes: bl,
|
|
790
790
|
setAssetProcedureType: _l,
|
|
791
|
-
setAssetProcedureTypes:
|
|
792
|
-
} = Rn.actions,
|
|
791
|
+
setAssetProcedureTypes: kl
|
|
792
|
+
} = Rn.actions, gl = Rn.reducer, Pl = (t) => t.assetProcedureTypeReducer.instances, Fn = m(
|
|
793
793
|
[Pl],
|
|
794
794
|
(t) => Object.values(t)
|
|
795
795
|
), Ml = (t) => (s) => s.assetProcedureTypeReducer.instances[t], Rl = S(
|
|
@@ -805,14 +805,14 @@ const S = (
|
|
|
805
805
|
[Fn, (t, s) => s],
|
|
806
806
|
(t, s) => A(t.filter((e) => e.organization === s))
|
|
807
807
|
)
|
|
808
|
-
), Z = M((t) => t.uuid),
|
|
808
|
+
), Z = M((t) => t.uuid), $s = {
|
|
809
809
|
instances: {}
|
|
810
|
-
}, En =
|
|
810
|
+
}, En = g({
|
|
811
811
|
name: "assetProcedureStepFieldsAttachments",
|
|
812
|
-
initialState:
|
|
812
|
+
initialState: $s,
|
|
813
813
|
extraReducers: (t) => t.addMatcher(
|
|
814
|
-
R(
|
|
815
|
-
(s) => Object.assign(s,
|
|
814
|
+
R(k, F),
|
|
815
|
+
(s) => Object.assign(s, $s)
|
|
816
816
|
),
|
|
817
817
|
reducers: {
|
|
818
818
|
initializeAssetProcedureStepFieldsAttachments: Z.initialize,
|
|
@@ -832,8 +832,8 @@ const S = (
|
|
|
832
832
|
setAssetProcedureStepFieldsAttachment: ql,
|
|
833
833
|
setAssetProcedureStepFieldsAttachments: zl,
|
|
834
834
|
updateAssetProcedureStepFieldsAttachment: Bl,
|
|
835
|
-
updateAssetProcedureStepFieldsAttachments:
|
|
836
|
-
deleteAssetProcedureStepFieldsAttachment:
|
|
835
|
+
updateAssetProcedureStepFieldsAttachments: $l,
|
|
836
|
+
deleteAssetProcedureStepFieldsAttachment: Vl,
|
|
837
837
|
deleteAssetProcedureStepFieldsAttachments: jl
|
|
838
838
|
} = En.actions, Cl = (t) => t.assetProcedureStepFieldsAttachmentReducer.instances, vn = m(
|
|
839
839
|
[Cl],
|
|
@@ -851,14 +851,14 @@ const S = (
|
|
|
851
851
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
852
852
|
}
|
|
853
853
|
)
|
|
854
|
-
), xl = En.reducer, J = M((t) => t.uuid),
|
|
854
|
+
), xl = En.reducer, J = M((t) => t.uuid), Vs = {
|
|
855
855
|
instances: {}
|
|
856
|
-
}, qn =
|
|
856
|
+
}, qn = g({
|
|
857
857
|
name: "assetProcedureStepFields",
|
|
858
|
-
initialState:
|
|
858
|
+
initialState: Vs,
|
|
859
859
|
extraReducers: (t) => t.addMatcher(
|
|
860
|
-
R(
|
|
861
|
-
(s) => Object.assign(s,
|
|
860
|
+
R(k, F),
|
|
861
|
+
(s) => Object.assign(s, Vs)
|
|
862
862
|
),
|
|
863
863
|
reducers: {
|
|
864
864
|
initializeAssetProcedureStepFields: J.initialize,
|
|
@@ -914,11 +914,11 @@ const S = (
|
|
|
914
914
|
)
|
|
915
915
|
), eu = qn.reducer, X = M((t) => t.uuid), js = {
|
|
916
916
|
instances: {}
|
|
917
|
-
}, Bn =
|
|
917
|
+
}, Bn = g({
|
|
918
918
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
919
919
|
initialState: js,
|
|
920
920
|
extraReducers: (t) => t.addMatcher(
|
|
921
|
-
R(
|
|
921
|
+
R(k, V, F),
|
|
922
922
|
(s) => Object.assign(s, js)
|
|
923
923
|
),
|
|
924
924
|
reducers: {
|
|
@@ -935,13 +935,13 @@ const S = (
|
|
|
935
935
|
}), {
|
|
936
936
|
initializeAssetProcedureStepFieldValuesAttachments: tu,
|
|
937
937
|
addAssetProcedureStepFieldValuesAttachment: su,
|
|
938
|
-
addAssetProcedureStepFieldValuesAttachments:
|
|
938
|
+
addAssetProcedureStepFieldValuesAttachments: $n,
|
|
939
939
|
setAssetProcedureStepFieldValuesAttachment: iu,
|
|
940
940
|
setAssetProcedureStepFieldValuesAttachments: nu,
|
|
941
941
|
updateAssetProcedureStepFieldValuesAttachment: au,
|
|
942
942
|
updateAssetProcedureStepFieldValuesAttachments: ru,
|
|
943
943
|
deleteAssetProcedureStepFieldValuesAttachment: cu,
|
|
944
|
-
deleteAssetProcedureStepFieldValuesAttachments:
|
|
944
|
+
deleteAssetProcedureStepFieldValuesAttachments: Vn
|
|
945
945
|
} = Bn.actions, ou = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, jn = m(
|
|
946
946
|
[ou],
|
|
947
947
|
(t) => Object.values(t)
|
|
@@ -963,11 +963,11 @@ const S = (
|
|
|
963
963
|
)
|
|
964
964
|
), hu = Bn.reducer, ee = M((t) => t.uuid), Cs = {
|
|
965
965
|
instances: {}
|
|
966
|
-
}, Cn =
|
|
966
|
+
}, Cn = g({
|
|
967
967
|
name: "assetProcedureStepFieldValues",
|
|
968
968
|
initialState: Cs,
|
|
969
969
|
extraReducers: (t) => t.addMatcher(
|
|
970
|
-
R(
|
|
970
|
+
R(k, V, F),
|
|
971
971
|
(s) => Object.assign(s, Cs)
|
|
972
972
|
),
|
|
973
973
|
reducers: {
|
|
@@ -1017,13 +1017,13 @@ const S = (
|
|
|
1017
1017
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
1018
1018
|
}
|
|
1019
1019
|
)
|
|
1020
|
-
),
|
|
1020
|
+
), ku = Cn.reducer, te = M((t) => t.uuid), Ws = {
|
|
1021
1021
|
instances: {}
|
|
1022
|
-
}, Wn =
|
|
1022
|
+
}, Wn = g({
|
|
1023
1023
|
name: "assetProcedureSteps",
|
|
1024
1024
|
initialState: Ws,
|
|
1025
1025
|
extraReducers: (t) => t.addMatcher(
|
|
1026
|
-
R(
|
|
1026
|
+
R(k, F),
|
|
1027
1027
|
(s) => Object.assign(s, Ws)
|
|
1028
1028
|
),
|
|
1029
1029
|
reducers: {
|
|
@@ -1038,7 +1038,7 @@ const S = (
|
|
|
1038
1038
|
deleteAssetProcedureSteps: te.deleteMany
|
|
1039
1039
|
}
|
|
1040
1040
|
}), {
|
|
1041
|
-
initializeAssetProcedureSteps:
|
|
1041
|
+
initializeAssetProcedureSteps: gu,
|
|
1042
1042
|
setAssetProcedureStep: Pu,
|
|
1043
1043
|
setAssetProcedureSteps: Mu,
|
|
1044
1044
|
addAssetProcedureStep: Ru,
|
|
@@ -1047,7 +1047,7 @@ const S = (
|
|
|
1047
1047
|
updateAssetProcedureSteps: vu,
|
|
1048
1048
|
deleteAssetProcedureStep: qu,
|
|
1049
1049
|
deleteAssetProcedureSteps: zu
|
|
1050
|
-
} = Wn.actions, Bu = Wn.reducer, Kt = (t) => t.assetProcedureStepReducer.instances,
|
|
1050
|
+
} = Wn.actions, Bu = Wn.reducer, Kt = (t) => t.assetProcedureStepReducer.instances, $u = (t) => (s) => s.assetProcedureStepReducer.instances[t], Dn = m([Kt], (t) => Object.values(t)), AM = S(
|
|
1051
1051
|
m(
|
|
1052
1052
|
[Kt, (t, s) => s],
|
|
1053
1053
|
(t, s) => {
|
|
@@ -1059,7 +1059,7 @@ const S = (
|
|
|
1059
1059
|
)
|
|
1060
1060
|
), wM = S(
|
|
1061
1061
|
m([Dn, (t, s) => s], (t, s) => A(t.filter((e) => e.asset_procedure_type === s)))
|
|
1062
|
-
),
|
|
1062
|
+
), Vu = S(
|
|
1063
1063
|
m(
|
|
1064
1064
|
[Dn, (t, s) => s],
|
|
1065
1065
|
(t, s) => {
|
|
@@ -1078,11 +1078,11 @@ const S = (
|
|
|
1078
1078
|
)
|
|
1079
1079
|
), se = M((t) => t.uuid), Ds = {
|
|
1080
1080
|
instances: {}
|
|
1081
|
-
}, xn =
|
|
1081
|
+
}, xn = g({
|
|
1082
1082
|
name: "assets",
|
|
1083
1083
|
initialState: Ds,
|
|
1084
1084
|
extraReducers: (t) => t.addMatcher(
|
|
1085
|
-
R(
|
|
1085
|
+
R(k, V, F),
|
|
1086
1086
|
(s) => Object.assign(s, Ds)
|
|
1087
1087
|
),
|
|
1088
1088
|
reducers: {
|
|
@@ -1117,11 +1117,11 @@ const S = (
|
|
|
1117
1117
|
})
|
|
1118
1118
|
), Qu = xn.reducer, ie = M((t) => t.uuid), xs = {
|
|
1119
1119
|
instances: {}
|
|
1120
|
-
}, Nn =
|
|
1120
|
+
}, Nn = g({
|
|
1121
1121
|
name: "assetStageCompletions",
|
|
1122
1122
|
initialState: xs,
|
|
1123
1123
|
extraReducers: (t) => t.addMatcher(
|
|
1124
|
-
R(
|
|
1124
|
+
R(k, V, F),
|
|
1125
1125
|
(s) => Object.assign(s, xs)
|
|
1126
1126
|
),
|
|
1127
1127
|
reducers: {
|
|
@@ -1160,11 +1160,11 @@ const S = (
|
|
|
1160
1160
|
(t) => t.uuid
|
|
1161
1161
|
), Us = {
|
|
1162
1162
|
instances: {}
|
|
1163
|
-
}, Hn =
|
|
1163
|
+
}, Hn = g({
|
|
1164
1164
|
name: "assetStages",
|
|
1165
1165
|
initialState: Us,
|
|
1166
1166
|
extraReducers: (t) => t.addMatcher(
|
|
1167
|
-
R(
|
|
1167
|
+
R(k, F),
|
|
1168
1168
|
(s) => Object.assign(s, Us)
|
|
1169
1169
|
),
|
|
1170
1170
|
reducers: {
|
|
@@ -1204,11 +1204,11 @@ const S = (
|
|
|
1204
1204
|
})
|
|
1205
1205
|
), ae = M((t) => t.uuid), Ls = {
|
|
1206
1206
|
instances: {}
|
|
1207
|
-
}, Yn =
|
|
1207
|
+
}, Yn = g({
|
|
1208
1208
|
name: "assetTypeAttachments",
|
|
1209
1209
|
initialState: Ls,
|
|
1210
1210
|
extraReducers: (t) => t.addMatcher(
|
|
1211
|
-
R(
|
|
1211
|
+
R(k, F),
|
|
1212
1212
|
(s) => Object.assign(s, Ls)
|
|
1213
1213
|
),
|
|
1214
1214
|
reducers: {
|
|
@@ -1226,8 +1226,8 @@ const S = (
|
|
|
1226
1226
|
initializeAssetTypeAttachments: bh,
|
|
1227
1227
|
addAssetTypeAttachment: _h,
|
|
1228
1228
|
addAssetTypeAttachments: Qn,
|
|
1229
|
-
setAssetTypeAttachment:
|
|
1230
|
-
setAssetTypeAttachments:
|
|
1229
|
+
setAssetTypeAttachment: kh,
|
|
1230
|
+
setAssetTypeAttachments: gh,
|
|
1231
1231
|
updateAssetTypeAttachment: Ph,
|
|
1232
1232
|
updateAssetTypeAttachments: Mh,
|
|
1233
1233
|
deleteAssetTypeAttachment: Rh,
|
|
@@ -1247,11 +1247,11 @@ const S = (
|
|
|
1247
1247
|
m([Jn, (t, s) => s], (t, s) => A(t.filter(({ asset_type: e }) => s === e)))
|
|
1248
1248
|
), zh = Yn.reducer, re = M((t) => t.uuid), Ns = {
|
|
1249
1249
|
instances: {}
|
|
1250
|
-
}, Xn =
|
|
1250
|
+
}, Xn = g({
|
|
1251
1251
|
name: "assetTypeFieldsAttachments",
|
|
1252
1252
|
initialState: Ns,
|
|
1253
1253
|
extraReducers: (t) => t.addMatcher(
|
|
1254
|
-
R(
|
|
1254
|
+
R(k, F),
|
|
1255
1255
|
(s) => Object.assign(s, Ns)
|
|
1256
1256
|
),
|
|
1257
1257
|
reducers: {
|
|
@@ -1267,8 +1267,8 @@ const S = (
|
|
|
1267
1267
|
}
|
|
1268
1268
|
}), {
|
|
1269
1269
|
initializeAssetTypeFieldsAttachments: Bh,
|
|
1270
|
-
addAssetTypeFieldsAttachment:
|
|
1271
|
-
addAssetTypeFieldsAttachments:
|
|
1270
|
+
addAssetTypeFieldsAttachment: $h,
|
|
1271
|
+
addAssetTypeFieldsAttachments: Vh,
|
|
1272
1272
|
setAssetTypeFieldsAttachment: jh,
|
|
1273
1273
|
setAssetTypeFieldsAttachments: Ch,
|
|
1274
1274
|
updateAssetTypeFieldsAttachment: Wh,
|
|
@@ -1293,11 +1293,11 @@ const S = (
|
|
|
1293
1293
|
)
|
|
1294
1294
|
), Gh = Xn.reducer, ce = M((t) => t.uuid), Hs = {
|
|
1295
1295
|
instances: {}
|
|
1296
|
-
}, ta =
|
|
1296
|
+
}, ta = g({
|
|
1297
1297
|
name: "assetTypeFields",
|
|
1298
1298
|
initialState: Hs,
|
|
1299
1299
|
extraReducers: (t) => t.addMatcher(
|
|
1300
|
-
R(
|
|
1300
|
+
R(k, F),
|
|
1301
1301
|
(s) => Object.assign(s, Hs)
|
|
1302
1302
|
),
|
|
1303
1303
|
reducers: {
|
|
@@ -1323,7 +1323,7 @@ const S = (
|
|
|
1323
1323
|
deleteAssetTypeFieldsMany: sp
|
|
1324
1324
|
} = ta.actions, ip = (t) => t.assetTypeFieldsReducer.instances, Mt = m([ip], (t) => Object.values(t)), _M = S(
|
|
1325
1325
|
m([Mt, (t, s) => s], (t, s) => A(t.filter((e) => e.asset_type === s)))
|
|
1326
|
-
),
|
|
1326
|
+
), kM = S(
|
|
1327
1327
|
m([Mt, (t, s) => s], (t, s) => t.filter((e) => e.asset_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1328
1328
|
), np = (t) => (s) => s.assetTypeFieldsReducer.instances[t], ap = S(
|
|
1329
1329
|
m([Mt, (t, s) => s], (t, s) => {
|
|
@@ -1332,11 +1332,11 @@ const S = (
|
|
|
1332
1332
|
})
|
|
1333
1333
|
), rp = ta.reducer, oe = M((t) => t.uuid), Gs = {
|
|
1334
1334
|
instances: {}
|
|
1335
|
-
}, sa =
|
|
1335
|
+
}, sa = g({
|
|
1336
1336
|
name: "assetTypeFieldValuesAttachments",
|
|
1337
1337
|
initialState: Gs,
|
|
1338
1338
|
extraReducers: (t) => t.addMatcher(
|
|
1339
|
-
R(
|
|
1339
|
+
R(k, V, F),
|
|
1340
1340
|
(s) => Object.assign(s, Gs)
|
|
1341
1341
|
),
|
|
1342
1342
|
reducers: {
|
|
@@ -1378,11 +1378,11 @@ const S = (
|
|
|
1378
1378
|
)
|
|
1379
1379
|
), Ap = sa.reducer, de = M((t) => t.uuid), Ks = {
|
|
1380
1380
|
instances: {}
|
|
1381
|
-
}, ra =
|
|
1381
|
+
}, ra = g({
|
|
1382
1382
|
name: "assetTypeFieldValues",
|
|
1383
1383
|
initialState: Ks,
|
|
1384
1384
|
extraReducers: (t) => t.addMatcher(
|
|
1385
|
-
R(
|
|
1385
|
+
R(k, V, F),
|
|
1386
1386
|
(s) => Object.assign(s, Ks)
|
|
1387
1387
|
),
|
|
1388
1388
|
reducers: {
|
|
@@ -1403,10 +1403,10 @@ const S = (
|
|
|
1403
1403
|
setAssetTypeFieldValues: Ip,
|
|
1404
1404
|
setAssetTypeFieldValuesMany: bp,
|
|
1405
1405
|
updateAssetTypeFieldValues: _p,
|
|
1406
|
-
updateAssetTypeFieldValuesMany:
|
|
1407
|
-
deleteAssetTypeFieldValues:
|
|
1406
|
+
updateAssetTypeFieldValuesMany: kp,
|
|
1407
|
+
deleteAssetTypeFieldValues: gp,
|
|
1408
1408
|
deleteAssetTypeFieldValuesMany: Pp
|
|
1409
|
-
} = ra.actions, Mp = (t) => t.assetTypeFieldValuesReducer.instances, Qt = m([Mp], (t) => Object.values(t)),
|
|
1409
|
+
} = ra.actions, Mp = (t) => t.assetTypeFieldValuesReducer.instances, Qt = m([Mp], (t) => Object.values(t)), gM = S(
|
|
1410
1410
|
m([Qt, (t, s) => s], (t, s) => A(t.filter((e) => e.asset === s)))
|
|
1411
1411
|
), PM = S(
|
|
1412
1412
|
m(
|
|
@@ -1428,11 +1428,11 @@ const S = (
|
|
|
1428
1428
|
)
|
|
1429
1429
|
), Ep = ra.reducer, le = M((t) => t.uuid), Ys = {
|
|
1430
1430
|
instances: {}
|
|
1431
|
-
}, ca =
|
|
1431
|
+
}, ca = g({
|
|
1432
1432
|
name: "assetTypeIdentifiers",
|
|
1433
1433
|
initialState: Ys,
|
|
1434
1434
|
extraReducers: (t) => t.addMatcher(
|
|
1435
|
-
R(
|
|
1435
|
+
R(k, F),
|
|
1436
1436
|
(s) => Object.assign(s, Ys)
|
|
1437
1437
|
),
|
|
1438
1438
|
reducers: {
|
|
@@ -1451,8 +1451,8 @@ const S = (
|
|
|
1451
1451
|
addAssetTypeIdentifier: qp,
|
|
1452
1452
|
addAssetTypeIdentifiers: zp,
|
|
1453
1453
|
setAssetTypeIdentifier: Bp,
|
|
1454
|
-
setAssetTypeIdentifiers:
|
|
1455
|
-
updateAssetTypeIdentifier:
|
|
1454
|
+
setAssetTypeIdentifiers: $p,
|
|
1455
|
+
updateAssetTypeIdentifier: Vp,
|
|
1456
1456
|
updateAssetTypeIdentifiers: jp,
|
|
1457
1457
|
deleteAssetTypeIdentifier: Cp,
|
|
1458
1458
|
deleteAssetTypeIdentifiers: Wp
|
|
@@ -1471,11 +1471,11 @@ const S = (
|
|
|
1471
1471
|
m([oa, (t, s) => s], (t, s) => A(t.filter((e) => e.asset_type === s)))
|
|
1472
1472
|
), Lp = ca.reducer, ue = M((t) => t.uuid), Qs = {
|
|
1473
1473
|
instances: {}
|
|
1474
|
-
}, da =
|
|
1474
|
+
}, da = g({
|
|
1475
1475
|
name: "assetTypeIdentifierValues",
|
|
1476
1476
|
initialState: Qs,
|
|
1477
1477
|
extraReducers: (t) => t.addMatcher(
|
|
1478
|
-
R(
|
|
1478
|
+
R(k, V, F),
|
|
1479
1479
|
(s) => Object.assign(s, Qs)
|
|
1480
1480
|
),
|
|
1481
1481
|
reducers: {
|
|
@@ -1523,11 +1523,11 @@ const S = (
|
|
|
1523
1523
|
(t) => t.uuid
|
|
1524
1524
|
), Zs = {
|
|
1525
1525
|
instances: {}
|
|
1526
|
-
}, la =
|
|
1526
|
+
}, la = g({
|
|
1527
1527
|
name: "assetTypes",
|
|
1528
1528
|
initialState: Zs,
|
|
1529
1529
|
extraReducers: (t) => t.addMatcher(
|
|
1530
|
-
R(
|
|
1530
|
+
R(k, F),
|
|
1531
1531
|
(s) => Object.assign(s, Zs)
|
|
1532
1532
|
),
|
|
1533
1533
|
reducers: {
|
|
@@ -1563,11 +1563,11 @@ const S = (
|
|
|
1563
1563
|
m([ua, (t, s) => s], (t, s) => A(t.filter((e) => e.organization === s)))
|
|
1564
1564
|
), ym = la.reducer, pe = M((t) => t.uuid), Js = {
|
|
1565
1565
|
instances: {}
|
|
1566
|
-
}, ha =
|
|
1566
|
+
}, ha = g({
|
|
1567
1567
|
name: "assetTypeStatuses",
|
|
1568
1568
|
initialState: Js,
|
|
1569
1569
|
extraReducers: (t) => t.addMatcher(
|
|
1570
|
-
R(
|
|
1570
|
+
R(k, F),
|
|
1571
1571
|
(s) => Object.assign(s, Js)
|
|
1572
1572
|
),
|
|
1573
1573
|
reducers: {
|
|
@@ -1590,8 +1590,8 @@ const S = (
|
|
|
1590
1590
|
updateAssetTypeStatus: Im,
|
|
1591
1591
|
updateAssetTypeStatuses: bm,
|
|
1592
1592
|
deleteAssetTypeStatus: _m,
|
|
1593
|
-
deleteAssetTypeStatuses:
|
|
1594
|
-
} = ha.actions,
|
|
1593
|
+
deleteAssetTypeStatuses: km
|
|
1594
|
+
} = ha.actions, gm = (t) => t.assetTypeStatusReducer.instances, pa = m([gm], (t) => A(Object.values(t).toSorted(Ro))), Pm = (t) => (s) => s.assetTypeStatusReducer.instances[t], Mm = S(
|
|
1595
1595
|
m([pa, (t, s) => s], (t, s) => {
|
|
1596
1596
|
const e = new Set(s);
|
|
1597
1597
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -1602,10 +1602,10 @@ const S = (
|
|
|
1602
1602
|
accessToken: "",
|
|
1603
1603
|
refreshToken: "",
|
|
1604
1604
|
isLoggedIn: !1
|
|
1605
|
-
}, Jt =
|
|
1605
|
+
}, Jt = g({
|
|
1606
1606
|
name: "auth",
|
|
1607
1607
|
initialState: Xs,
|
|
1608
|
-
extraReducers: (t) => t.addCase(
|
|
1608
|
+
extraReducers: (t) => t.addCase(k, (s) => Object.assign(s, Xs)),
|
|
1609
1609
|
reducers: {
|
|
1610
1610
|
setTokens: (t, s) => {
|
|
1611
1611
|
t.accessToken = s.payload.accessToken, t.refreshToken = s.payload.refreshToken;
|
|
@@ -1617,15 +1617,15 @@ const S = (
|
|
|
1617
1617
|
s.payload || Jt.caseReducers.clearTokens(t), t.isLoggedIn = s.payload;
|
|
1618
1618
|
}
|
|
1619
1619
|
}
|
|
1620
|
-
}), { setTokens: qM, clearTokens: zM, setLoggedIn: Fm } = Jt.actions, BM = (t) => t.authReducer.accessToken,
|
|
1620
|
+
}), { setTokens: qM, clearTokens: zM, setLoggedIn: Fm } = Jt.actions, BM = (t) => t.authReducer.accessToken, $M = (t) => t.authReducer.isLoggedIn, Em = Jt.reducer, me = M(
|
|
1621
1621
|
(t) => t.uuid
|
|
1622
1622
|
), ei = {
|
|
1623
1623
|
instances: {}
|
|
1624
|
-
}, ma =
|
|
1624
|
+
}, ma = g({
|
|
1625
1625
|
name: "categories",
|
|
1626
1626
|
initialState: ei,
|
|
1627
1627
|
extraReducers: (t) => t.addMatcher(
|
|
1628
|
-
R(
|
|
1628
|
+
R(k, F),
|
|
1629
1629
|
(s) => Object.assign(s, ei)
|
|
1630
1630
|
),
|
|
1631
1631
|
reducers: {
|
|
@@ -1644,8 +1644,8 @@ const S = (
|
|
|
1644
1644
|
addCategory: qm,
|
|
1645
1645
|
addCategories: zm,
|
|
1646
1646
|
setCategory: Bm,
|
|
1647
|
-
setCategories:
|
|
1648
|
-
updateCategory:
|
|
1647
|
+
setCategories: $m,
|
|
1648
|
+
updateCategory: Vm,
|
|
1649
1649
|
updateCategories: jm,
|
|
1650
1650
|
deleteCategory: Cm,
|
|
1651
1651
|
deleteCategories: Wm
|
|
@@ -1654,14 +1654,14 @@ const S = (
|
|
|
1654
1654
|
const e = new Set(s);
|
|
1655
1655
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
1656
1656
|
})
|
|
1657
|
-
),
|
|
1657
|
+
), VM = S(
|
|
1658
1658
|
m([fa, (t, s) => s], (t, s) => A(t.filter((e) => e.project === s)))
|
|
1659
1659
|
), Um = ma.reducer, fe = M((t) => t.uuid), ti = {
|
|
1660
1660
|
instances: {}
|
|
1661
|
-
}, Sa =
|
|
1661
|
+
}, Sa = g({
|
|
1662
1662
|
name: "documentAttachments",
|
|
1663
1663
|
initialState: ti,
|
|
1664
|
-
extraReducers: (t) => t.addCase(
|
|
1664
|
+
extraReducers: (t) => t.addCase(k, (s) => Object.assign(s, ti)),
|
|
1665
1665
|
reducers: {
|
|
1666
1666
|
initializeDocumentAttachments: fe.initialize,
|
|
1667
1667
|
addDocumentAttachment: fe.addOne,
|
|
@@ -1698,10 +1698,10 @@ const S = (
|
|
|
1698
1698
|
m([Aa, (t, s) => s], (t, s) => A(t.filter(({ document: e }) => s === e)))
|
|
1699
1699
|
), sf = Sa.reducer, ye = M(({ uuid: t }) => t), si = {
|
|
1700
1700
|
instances: {}
|
|
1701
|
-
}, wa =
|
|
1701
|
+
}, wa = g({
|
|
1702
1702
|
name: "documents",
|
|
1703
1703
|
initialState: si,
|
|
1704
|
-
extraReducers: (t) => t.addMatcher(R(
|
|
1704
|
+
extraReducers: (t) => t.addMatcher(R(k, F), (s) => {
|
|
1705
1705
|
Object.assign(s, si);
|
|
1706
1706
|
}),
|
|
1707
1707
|
reducers: {
|
|
@@ -1747,11 +1747,11 @@ const S = (
|
|
|
1747
1747
|
(t) => t.uuid
|
|
1748
1748
|
), ii = {
|
|
1749
1749
|
instances: {}
|
|
1750
|
-
}, Ta =
|
|
1750
|
+
}, Ta = g({
|
|
1751
1751
|
name: "emailDomains",
|
|
1752
1752
|
initialState: ii,
|
|
1753
1753
|
extraReducers: (t) => t.addMatcher(
|
|
1754
|
-
R(
|
|
1754
|
+
R(k, F),
|
|
1755
1755
|
(s) => Object.assign(s, ii)
|
|
1756
1756
|
),
|
|
1757
1757
|
reducers: {
|
|
@@ -1774,8 +1774,8 @@ const S = (
|
|
|
1774
1774
|
updateEmailDomain: If,
|
|
1775
1775
|
updateEmailDomains: bf,
|
|
1776
1776
|
deleteEmailDomain: _f,
|
|
1777
|
-
deleteEmailDomains:
|
|
1778
|
-
} = Ta.actions,
|
|
1777
|
+
deleteEmailDomains: kf
|
|
1778
|
+
} = Ta.actions, gf = (t) => t.emailDomainsReducer.instances, Ia = m([gf], (t) => Object.values(t)), Pf = (t) => (s) => s.emailDomainsReducer.instances[t], Mf = S(
|
|
1779
1779
|
m([Ia, (t, s) => s], (t, s) => {
|
|
1780
1780
|
const e = new Set(s);
|
|
1781
1781
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -1784,10 +1784,10 @@ const S = (
|
|
|
1784
1784
|
m([Ia, (t, s) => s], (t, s) => A(t.filter((e) => e.organization === s)))
|
|
1785
1785
|
), Rf = Ta.reducer, ni = {
|
|
1786
1786
|
s3Urls: {}
|
|
1787
|
-
}, ba = 1e3 * 60 * 60, Ff = ba * 24 * 7, _a =
|
|
1787
|
+
}, ba = 1e3 * 60 * 60, Ff = ba * 24 * 7, _a = g({
|
|
1788
1788
|
name: "file",
|
|
1789
1789
|
initialState: ni,
|
|
1790
|
-
extraReducers: (t) => t.addCase(
|
|
1790
|
+
extraReducers: (t) => t.addCase(k, (s) => Object.assign(s, ni)),
|
|
1791
1791
|
reducers: {
|
|
1792
1792
|
setUploadUrl: (t, s) => {
|
|
1793
1793
|
const { url: e, fields: i, sha1: n } = s.payload, a = /* @__PURE__ */ new Date(), c = new Date(a.getTime() + Ff);
|
|
@@ -1809,11 +1809,11 @@ const S = (
|
|
|
1809
1809
|
(t) => t.uuid
|
|
1810
1810
|
), ai = {
|
|
1811
1811
|
instances: {}
|
|
1812
|
-
},
|
|
1812
|
+
}, ka = g({
|
|
1813
1813
|
name: "formIdentifiers",
|
|
1814
1814
|
initialState: ai,
|
|
1815
1815
|
extraReducers: (t) => t.addMatcher(
|
|
1816
|
-
R(
|
|
1816
|
+
R(k, F),
|
|
1817
1817
|
(s) => Object.assign(s, ai)
|
|
1818
1818
|
),
|
|
1819
1819
|
reducers: {
|
|
@@ -1830,30 +1830,30 @@ const S = (
|
|
|
1830
1830
|
}), {
|
|
1831
1831
|
initializeFormIdentifiers: zf,
|
|
1832
1832
|
addFormIdentifier: Bf,
|
|
1833
|
-
addFormIdentifiers:
|
|
1834
|
-
setFormIdentifier:
|
|
1833
|
+
addFormIdentifiers: $f,
|
|
1834
|
+
setFormIdentifier: Vf,
|
|
1835
1835
|
setFormIdentifiers: jf,
|
|
1836
1836
|
updateFormIdentifier: Cf,
|
|
1837
1837
|
updateFormIdentifiers: Wf,
|
|
1838
1838
|
deleteFormIdentifier: Df,
|
|
1839
1839
|
deleteFormIdentifiers: xf
|
|
1840
|
-
} =
|
|
1840
|
+
} = ka.actions, Uf = (t) => t.formIdentifierReducer.instances, ga = m(
|
|
1841
1841
|
[Uf],
|
|
1842
1842
|
(t) => Object.values(t)
|
|
1843
1843
|
), Lf = (t) => (s) => s.formIdentifierReducer.instances[t], Nf = S(
|
|
1844
|
-
m([
|
|
1844
|
+
m([ga, (t, s) => s], (t, s) => {
|
|
1845
1845
|
const e = new Set(s);
|
|
1846
1846
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
1847
1847
|
})
|
|
1848
1848
|
), xM = S(
|
|
1849
|
-
m([
|
|
1850
|
-
), Hf =
|
|
1849
|
+
m([ga, (t, s) => s], (t, s) => A(t.filter((e) => e.form === s)))
|
|
1850
|
+
), Hf = ka.reducer, we = M((t) => t.uuid), ri = {
|
|
1851
1851
|
instances: {}
|
|
1852
|
-
}, Pa =
|
|
1852
|
+
}, Pa = g({
|
|
1853
1853
|
name: "formIdentifierValues",
|
|
1854
1854
|
initialState: ri,
|
|
1855
1855
|
extraReducers: (t) => t.addMatcher(
|
|
1856
|
-
R(
|
|
1856
|
+
R(k, F),
|
|
1857
1857
|
(s) => Object.assign(s, ri)
|
|
1858
1858
|
),
|
|
1859
1859
|
reducers: {
|
|
@@ -1904,11 +1904,11 @@ const S = (
|
|
|
1904
1904
|
)
|
|
1905
1905
|
), ay = Pa.reducer, Oe = M((t) => t.uuid), ci = {
|
|
1906
1906
|
instances: {}
|
|
1907
|
-
}, Ma =
|
|
1907
|
+
}, Ma = g({
|
|
1908
1908
|
name: "formRevisionAttachments",
|
|
1909
1909
|
initialState: ci,
|
|
1910
1910
|
extraReducers: (t) => t.addMatcher(
|
|
1911
|
-
R(
|
|
1911
|
+
R(k, F),
|
|
1912
1912
|
(s) => Object.assign(s, ci)
|
|
1913
1913
|
),
|
|
1914
1914
|
reducers: {
|
|
@@ -1956,11 +1956,11 @@ const S = (
|
|
|
1956
1956
|
(t) => t.uuid
|
|
1957
1957
|
), oi = {
|
|
1958
1958
|
instances: {}
|
|
1959
|
-
}, Ra =
|
|
1959
|
+
}, Ra = g({
|
|
1960
1960
|
name: "formRevisions",
|
|
1961
1961
|
initialState: oi,
|
|
1962
1962
|
extraReducers: (t) => t.addMatcher(
|
|
1963
|
-
R(
|
|
1963
|
+
R(k, F),
|
|
1964
1964
|
(s) => Object.assign(s, oi)
|
|
1965
1965
|
),
|
|
1966
1966
|
reducers: {
|
|
@@ -1987,25 +1987,25 @@ const S = (
|
|
|
1987
1987
|
} = Ra.actions, za = (t) => t.formRevisionReducer.instances, ss = m(
|
|
1988
1988
|
[za],
|
|
1989
1989
|
(t) => Object.values(t)
|
|
1990
|
-
), _y = (t) => (s) => s.formRevisionReducer.instances[t],
|
|
1990
|
+
), _y = (t) => (s) => s.formRevisionReducer.instances[t], ky = S(
|
|
1991
1991
|
m([ss, (t, s) => s], (t, s) => {
|
|
1992
1992
|
const e = new Set(s);
|
|
1993
1993
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
1994
1994
|
})
|
|
1995
1995
|
), HM = S(
|
|
1996
1996
|
m([ss, (t, s) => s], (t, s) => t.filter((e) => e.form === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1997
|
-
),
|
|
1997
|
+
), gy = S(
|
|
1998
1998
|
m(
|
|
1999
1999
|
[ss, (t, s) => s],
|
|
2000
2000
|
(t, s) => A(t.filter((e) => e.form === s))
|
|
2001
2001
|
)
|
|
2002
2002
|
), Py = Ra.reducer, Ie = M((t) => t.uuid), di = {
|
|
2003
2003
|
instances: {}
|
|
2004
|
-
}, Ba =
|
|
2004
|
+
}, Ba = g({
|
|
2005
2005
|
name: "forms",
|
|
2006
2006
|
initialState: di,
|
|
2007
2007
|
extraReducers: (t) => t.addMatcher(
|
|
2008
|
-
R(
|
|
2008
|
+
R(k, F),
|
|
2009
2009
|
(s) => Object.assign(s, di)
|
|
2010
2010
|
),
|
|
2011
2011
|
reducers: {
|
|
@@ -2028,21 +2028,21 @@ const S = (
|
|
|
2028
2028
|
updateForm: qy,
|
|
2029
2029
|
updateForms: zy,
|
|
2030
2030
|
deleteForm: By,
|
|
2031
|
-
deleteForms:
|
|
2032
|
-
} = Ba.actions,
|
|
2033
|
-
m([
|
|
2031
|
+
deleteForms: $y
|
|
2032
|
+
} = Ba.actions, Vy = Ba.reducer, jy = (t) => t.formReducer.instances, $a = m([jy], (t) => Object.values(t)), Cy = (t) => (s) => s.formReducer.instances[t], Wy = S(
|
|
2033
|
+
m([$a, (t, s) => s], (t, s) => {
|
|
2034
2034
|
const e = new Set(s);
|
|
2035
2035
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
2036
2036
|
})
|
|
2037
2037
|
), GM = S(
|
|
2038
|
-
m([
|
|
2038
|
+
m([$a, (t, s) => s], (t, s) => A(t.filter((e) => e.organization === s)))
|
|
2039
2039
|
), be = M((t) => t.uuid), li = {
|
|
2040
2040
|
instances: {}
|
|
2041
|
-
},
|
|
2041
|
+
}, Va = g({
|
|
2042
2042
|
name: "formSubmissionAttachments",
|
|
2043
2043
|
initialState: li,
|
|
2044
2044
|
extraReducers: (t) => t.addMatcher(
|
|
2045
|
-
R(
|
|
2045
|
+
R(k, F),
|
|
2046
2046
|
(s) => Object.assign(s, li)
|
|
2047
2047
|
),
|
|
2048
2048
|
reducers: {
|
|
@@ -2066,7 +2066,7 @@ const S = (
|
|
|
2066
2066
|
updateFormSubmissionAttachments: Hy,
|
|
2067
2067
|
deleteFormSubmissionAttachment: Gy,
|
|
2068
2068
|
deleteFormSubmissionAttachments: Ca
|
|
2069
|
-
} =
|
|
2069
|
+
} = Va.actions, Wa = (t) => t.formSubmissionAttachmentReducer.instances, Da = m(
|
|
2070
2070
|
[Wa],
|
|
2071
2071
|
(t) => Object.values(t)
|
|
2072
2072
|
), Ky = S(
|
|
@@ -2091,15 +2091,15 @@ const S = (
|
|
|
2091
2091
|
t.filter((e) => e.form_submission === s)
|
|
2092
2092
|
)
|
|
2093
2093
|
)
|
|
2094
|
-
), Zy =
|
|
2094
|
+
), Zy = Va.reducer, _e = M(
|
|
2095
2095
|
(t) => t.uuid
|
|
2096
2096
|
), ui = {
|
|
2097
2097
|
instances: {}
|
|
2098
|
-
}, Ua =
|
|
2098
|
+
}, Ua = g({
|
|
2099
2099
|
name: "formSubmissions",
|
|
2100
2100
|
initialState: ui,
|
|
2101
2101
|
extraReducers: (t) => t.addMatcher(
|
|
2102
|
-
R(
|
|
2102
|
+
R(k, F),
|
|
2103
2103
|
(s) => Object.assign(s, ui)
|
|
2104
2104
|
),
|
|
2105
2105
|
reducers: {
|
|
@@ -2143,27 +2143,27 @@ const S = (
|
|
|
2143
2143
|
);
|
|
2144
2144
|
}
|
|
2145
2145
|
)
|
|
2146
|
-
), dS = Ua.reducer,
|
|
2146
|
+
), dS = Ua.reducer, ke = M(
|
|
2147
2147
|
(t) => t.uuid
|
|
2148
2148
|
), hi = {
|
|
2149
2149
|
instances: {}
|
|
2150
|
-
}, Ga =
|
|
2150
|
+
}, Ga = g({
|
|
2151
2151
|
name: "geoImages",
|
|
2152
2152
|
initialState: hi,
|
|
2153
2153
|
extraReducers: (t) => t.addMatcher(
|
|
2154
|
-
R(
|
|
2154
|
+
R(k, V, F),
|
|
2155
2155
|
(s) => Object.assign(s, hi)
|
|
2156
2156
|
),
|
|
2157
2157
|
reducers: {
|
|
2158
|
-
initializeGeoImages:
|
|
2159
|
-
setGeoImage:
|
|
2160
|
-
setGeoImages:
|
|
2161
|
-
addGeoImage:
|
|
2162
|
-
addGeoImages:
|
|
2163
|
-
updateGeoImage:
|
|
2164
|
-
updateGeoImages:
|
|
2165
|
-
deleteGeoImage:
|
|
2166
|
-
deleteGeoImages:
|
|
2158
|
+
initializeGeoImages: ke.initialize,
|
|
2159
|
+
setGeoImage: ke.setOne,
|
|
2160
|
+
setGeoImages: ke.setMany,
|
|
2161
|
+
addGeoImage: ke.addOne,
|
|
2162
|
+
addGeoImages: ke.addMany,
|
|
2163
|
+
updateGeoImage: ke.updateOne,
|
|
2164
|
+
updateGeoImages: ke.updateMany,
|
|
2165
|
+
deleteGeoImage: ke.deleteOne,
|
|
2166
|
+
deleteGeoImages: ke.deleteMany
|
|
2167
2167
|
}
|
|
2168
2168
|
}), {
|
|
2169
2169
|
initializeGeoImages: lS,
|
|
@@ -2182,31 +2182,31 @@ const S = (
|
|
|
2182
2182
|
})
|
|
2183
2183
|
), KM = S(
|
|
2184
2184
|
m([Ka, (t, s) => s], (t, s) => A(t.filter((e) => e.project === s)))
|
|
2185
|
-
), IS = Ga.reducer,
|
|
2185
|
+
), IS = Ga.reducer, ge = M((t) => t.uuid), pi = {
|
|
2186
2186
|
instances: {}
|
|
2187
|
-
}, Ya =
|
|
2187
|
+
}, Ya = g({
|
|
2188
2188
|
name: "issueAssociations",
|
|
2189
2189
|
initialState: pi,
|
|
2190
2190
|
extraReducers: (t) => t.addMatcher(
|
|
2191
|
-
R(
|
|
2191
|
+
R(k, V, F),
|
|
2192
2192
|
(s) => Object.assign(s, pi)
|
|
2193
2193
|
),
|
|
2194
2194
|
reducers: {
|
|
2195
|
-
initializeIssueAssociations:
|
|
2196
|
-
addIssueAssociation:
|
|
2197
|
-
addIssueAssociations:
|
|
2198
|
-
setIssueAssociation:
|
|
2199
|
-
setIssueAssociations:
|
|
2200
|
-
updateIssueAssociation:
|
|
2201
|
-
updateIssueAssociations:
|
|
2202
|
-
deleteIssueAssociation:
|
|
2203
|
-
deleteIssueAssociations:
|
|
2195
|
+
initializeIssueAssociations: ge.initialize,
|
|
2196
|
+
addIssueAssociation: ge.addOne,
|
|
2197
|
+
addIssueAssociations: ge.addMany,
|
|
2198
|
+
setIssueAssociation: ge.setOne,
|
|
2199
|
+
setIssueAssociations: ge.setMany,
|
|
2200
|
+
updateIssueAssociation: ge.updateOne,
|
|
2201
|
+
updateIssueAssociations: ge.updateMany,
|
|
2202
|
+
deleteIssueAssociation: ge.deleteOne,
|
|
2203
|
+
deleteIssueAssociations: ge.deleteMany
|
|
2204
2204
|
}
|
|
2205
2205
|
}), {
|
|
2206
2206
|
initializeIssueAssociations: bS,
|
|
2207
2207
|
setIssueAssociations: _S,
|
|
2208
|
-
setIssueAssociation:
|
|
2209
|
-
updateIssueAssociation:
|
|
2208
|
+
setIssueAssociation: kS,
|
|
2209
|
+
updateIssueAssociation: gS,
|
|
2210
2210
|
updateIssueAssociations: PS,
|
|
2211
2211
|
addIssueAssociation: MS,
|
|
2212
2212
|
addIssueAssociations: is,
|
|
@@ -2234,13 +2234,13 @@ const S = (
|
|
|
2234
2234
|
[Rt, (t, s) => s],
|
|
2235
2235
|
(t, s) => A(Object.values(t).filter((e) => e.asset === s))
|
|
2236
2236
|
)
|
|
2237
|
-
),
|
|
2237
|
+
), $S = Ya.reducer, Pe = M((t) => t.uuid), mi = {
|
|
2238
2238
|
instances: {}
|
|
2239
|
-
}, Qa =
|
|
2239
|
+
}, Qa = g({
|
|
2240
2240
|
name: "issueAttachments",
|
|
2241
2241
|
initialState: mi,
|
|
2242
2242
|
extraReducers: (t) => t.addMatcher(
|
|
2243
|
-
R(
|
|
2243
|
+
R(k, V, F),
|
|
2244
2244
|
(s) => Object.assign(s, mi)
|
|
2245
2245
|
),
|
|
2246
2246
|
reducers: {
|
|
@@ -2255,7 +2255,7 @@ const S = (
|
|
|
2255
2255
|
deleteIssueAttachments: Pe.deleteMany
|
|
2256
2256
|
}
|
|
2257
2257
|
}), {
|
|
2258
|
-
initializeIssueAttachments:
|
|
2258
|
+
initializeIssueAttachments: VS,
|
|
2259
2259
|
addIssueAttachment: jS,
|
|
2260
2260
|
addIssueAttachments: Za,
|
|
2261
2261
|
setIssueAttachment: CS,
|
|
@@ -2279,11 +2279,11 @@ const S = (
|
|
|
2279
2279
|
})
|
|
2280
2280
|
), KS = Qa.reducer, Me = M((t) => t.uuid), fi = {
|
|
2281
2281
|
instances: {}
|
|
2282
|
-
}, er =
|
|
2282
|
+
}, er = g({
|
|
2283
2283
|
name: "issueCommentAttachments",
|
|
2284
2284
|
initialState: fi,
|
|
2285
2285
|
extraReducers: (t) => t.addMatcher(
|
|
2286
|
-
R(
|
|
2286
|
+
R(k, V, F),
|
|
2287
2287
|
(s) => Object.assign(s, fi)
|
|
2288
2288
|
),
|
|
2289
2289
|
reducers: {
|
|
@@ -2324,11 +2324,11 @@ const S = (
|
|
|
2324
2324
|
(t) => t.uuid
|
|
2325
2325
|
), yi = {
|
|
2326
2326
|
instances: {}
|
|
2327
|
-
}, sr =
|
|
2327
|
+
}, sr = g({
|
|
2328
2328
|
name: "issueComments",
|
|
2329
2329
|
initialState: yi,
|
|
2330
2330
|
extraReducers: (t) => t.addMatcher(
|
|
2331
|
-
R(
|
|
2331
|
+
R(k, V, F),
|
|
2332
2332
|
(s) => Object.assign(s, yi)
|
|
2333
2333
|
),
|
|
2334
2334
|
reducers: {
|
|
@@ -2366,11 +2366,11 @@ const S = (
|
|
|
2366
2366
|
)
|
|
2367
2367
|
), wA = sr.reducer, Fe = M((t) => t.uuid), Si = {
|
|
2368
2368
|
instances: {}
|
|
2369
|
-
}, nr =
|
|
2369
|
+
}, nr = g({
|
|
2370
2370
|
name: "issues",
|
|
2371
2371
|
initialState: Si,
|
|
2372
2372
|
extraReducers: (t) => t.addMatcher(
|
|
2373
|
-
R(
|
|
2373
|
+
R(k, V, F),
|
|
2374
2374
|
(s) => Object.assign(s, Si)
|
|
2375
2375
|
),
|
|
2376
2376
|
reducers: {
|
|
@@ -2391,8 +2391,8 @@ const S = (
|
|
|
2391
2391
|
setIssue: IA,
|
|
2392
2392
|
setIssues: bA,
|
|
2393
2393
|
updateIssue: _A,
|
|
2394
|
-
updateIssues:
|
|
2395
|
-
deleteIssue:
|
|
2394
|
+
updateIssues: kA,
|
|
2395
|
+
deleteIssue: gA,
|
|
2396
2396
|
deleteIssues: rr
|
|
2397
2397
|
} = nr.actions, PA = (t) => t.issueReducer.instances, as = m(
|
|
2398
2398
|
[PA],
|
|
@@ -2408,11 +2408,11 @@ const S = (
|
|
|
2408
2408
|
m([as, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s))
|
|
2409
2409
|
), EA = nr.reducer, Ee = M((t) => t.uuid), Ai = {
|
|
2410
2410
|
instances: {}
|
|
2411
|
-
}, cr =
|
|
2411
|
+
}, cr = g({
|
|
2412
2412
|
name: "issueTypeAttachments",
|
|
2413
2413
|
initialState: Ai,
|
|
2414
2414
|
extraReducers: (t) => t.addMatcher(
|
|
2415
|
-
R(
|
|
2415
|
+
R(k, F),
|
|
2416
2416
|
(s) => Object.assign(s, Ai)
|
|
2417
2417
|
),
|
|
2418
2418
|
reducers: {
|
|
@@ -2431,8 +2431,8 @@ const S = (
|
|
|
2431
2431
|
addIssueTypeAttachment: qA,
|
|
2432
2432
|
addIssueTypeAttachments: zA,
|
|
2433
2433
|
setIssueTypeAttachment: BA,
|
|
2434
|
-
setIssueTypeAttachments:
|
|
2435
|
-
updateIssueTypeAttachment:
|
|
2434
|
+
setIssueTypeAttachments: $A,
|
|
2435
|
+
updateIssueTypeAttachment: VA,
|
|
2436
2436
|
updateIssueTypeAttachments: jA,
|
|
2437
2437
|
deleteIssueTypeAttachment: CA,
|
|
2438
2438
|
deleteIssueTypeAttachments: WA
|
|
@@ -2451,11 +2451,11 @@ const S = (
|
|
|
2451
2451
|
m([or, (t, s) => s], (t, s) => A(t.filter(({ issue_type: e }) => s === e)))
|
|
2452
2452
|
), LA = cr.reducer, ve = M((t) => t.uuid), wi = {
|
|
2453
2453
|
instances: {}
|
|
2454
|
-
}, dr =
|
|
2454
|
+
}, dr = g({
|
|
2455
2455
|
name: "issueTypeFieldsAttachments",
|
|
2456
2456
|
initialState: wi,
|
|
2457
2457
|
extraReducers: (t) => t.addMatcher(
|
|
2458
|
-
R(
|
|
2458
|
+
R(k, F),
|
|
2459
2459
|
(s) => Object.assign(s, wi)
|
|
2460
2460
|
),
|
|
2461
2461
|
reducers: {
|
|
@@ -2497,11 +2497,11 @@ const S = (
|
|
|
2497
2497
|
)
|
|
2498
2498
|
), iw = dr.reducer, qe = M((t) => t.uuid), Oi = {
|
|
2499
2499
|
instances: {}
|
|
2500
|
-
}, ur =
|
|
2500
|
+
}, ur = g({
|
|
2501
2501
|
name: "issueTypeFieldValues",
|
|
2502
2502
|
initialState: Oi,
|
|
2503
2503
|
extraReducers: (t) => t.addMatcher(
|
|
2504
|
-
R(
|
|
2504
|
+
R(k, V, F),
|
|
2505
2505
|
(s) => Object.assign(s, Oi)
|
|
2506
2506
|
),
|
|
2507
2507
|
reducers: {
|
|
@@ -2537,11 +2537,11 @@ const S = (
|
|
|
2537
2537
|
)
|
|
2538
2538
|
), yw = ur.reducer, ze = M((t) => t.uuid), Ti = {
|
|
2539
2539
|
instances: {}
|
|
2540
|
-
}, hr =
|
|
2540
|
+
}, hr = g({
|
|
2541
2541
|
name: "issueTypeFields",
|
|
2542
2542
|
initialState: Ti,
|
|
2543
2543
|
extraReducers: (t) => t.addMatcher(
|
|
2544
|
-
R(
|
|
2544
|
+
R(k, F),
|
|
2545
2545
|
(s) => Object.assign(s, Ti)
|
|
2546
2546
|
),
|
|
2547
2547
|
reducers: {
|
|
@@ -2564,8 +2564,8 @@ const S = (
|
|
|
2564
2564
|
updateIssueTypeFields: Iw,
|
|
2565
2565
|
updateIssueTypeFieldsMany: bw,
|
|
2566
2566
|
deleteIssueTypeFields: _w,
|
|
2567
|
-
deleteIssueTypeFieldsMany:
|
|
2568
|
-
} = hr.actions,
|
|
2567
|
+
deleteIssueTypeFieldsMany: kw
|
|
2568
|
+
} = hr.actions, gw = (t) => t.issueTypeFieldsReducer.instances, Ft = m([gw], (t) => Object.values(t)), tR = S(
|
|
2569
2569
|
m([Ft, (t, s) => s], (t, s) => A(t.filter((e) => e.issue_type === s)))
|
|
2570
2570
|
), sR = S(
|
|
2571
2571
|
m([Ft, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
@@ -2586,11 +2586,11 @@ const S = (
|
|
|
2586
2586
|
})
|
|
2587
2587
|
), Rw = hr.reducer, Be = M((t) => t.uuid), Ii = {
|
|
2588
2588
|
instances: {}
|
|
2589
|
-
}, pr =
|
|
2589
|
+
}, pr = g({
|
|
2590
2590
|
name: "issueTypeFieldValuesAttachments",
|
|
2591
2591
|
initialState: Ii,
|
|
2592
2592
|
extraReducers: (t) => t.addMatcher(
|
|
2593
|
-
R(
|
|
2593
|
+
R(k, V, F),
|
|
2594
2594
|
(s) => Object.assign(s, Ii)
|
|
2595
2595
|
),
|
|
2596
2596
|
reducers: {
|
|
@@ -2612,10 +2612,10 @@ const S = (
|
|
|
2612
2612
|
setIssueTypeFieldValuesAttachments: qw,
|
|
2613
2613
|
updateIssueTypeFieldValuesAttachment: zw,
|
|
2614
2614
|
updateIssueTypeFieldValuesAttachments: Bw,
|
|
2615
|
-
deleteIssueTypeFieldValuesAttachment:
|
|
2615
|
+
deleteIssueTypeFieldValuesAttachment: $w,
|
|
2616
2616
|
deleteIssueTypeFieldValuesAttachments: fr
|
|
2617
|
-
} = pr.actions,
|
|
2618
|
-
[
|
|
2617
|
+
} = pr.actions, Vw = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, yr = m(
|
|
2618
|
+
[Vw],
|
|
2619
2619
|
(t) => Object.values(t)
|
|
2620
2620
|
), jw = (t) => (s) => s.issueTypeFieldValuesAttachmentReducer.instances[t], Cw = S(
|
|
2621
2621
|
m(
|
|
@@ -2630,25 +2630,25 @@ const S = (
|
|
|
2630
2630
|
[yr, (t, s) => s],
|
|
2631
2631
|
(t, s) => A(t.filter((e) => e.field_values === s))
|
|
2632
2632
|
)
|
|
2633
|
-
), Dw = pr.reducer,
|
|
2633
|
+
), Dw = pr.reducer, $e = M((t) => t.uuid), bi = {
|
|
2634
2634
|
instances: {}
|
|
2635
|
-
}, Sr =
|
|
2635
|
+
}, Sr = g({
|
|
2636
2636
|
name: "issueTypeIdentifiers",
|
|
2637
2637
|
initialState: bi,
|
|
2638
2638
|
extraReducers: (t) => t.addMatcher(
|
|
2639
|
-
R(
|
|
2639
|
+
R(k, F),
|
|
2640
2640
|
(s) => Object.assign(s, bi)
|
|
2641
2641
|
),
|
|
2642
2642
|
reducers: {
|
|
2643
|
-
initializeIssueTypeIdentifiers:
|
|
2644
|
-
addIssueTypeIdentifier:
|
|
2645
|
-
addIssueTypeIdentifiers:
|
|
2646
|
-
setIssueTypeIdentifier:
|
|
2647
|
-
setIssueTypeIdentifiers:
|
|
2648
|
-
updateIssueTypeIdentifier:
|
|
2649
|
-
updateIssueTypeIdentifiers:
|
|
2650
|
-
deleteIssueTypeIdentifier:
|
|
2651
|
-
deleteIssueTypeIdentifiers:
|
|
2643
|
+
initializeIssueTypeIdentifiers: $e.initialize,
|
|
2644
|
+
addIssueTypeIdentifier: $e.addOne,
|
|
2645
|
+
addIssueTypeIdentifiers: $e.addMany,
|
|
2646
|
+
setIssueTypeIdentifier: $e.setOne,
|
|
2647
|
+
setIssueTypeIdentifiers: $e.setMany,
|
|
2648
|
+
updateIssueTypeIdentifier: $e.updateOne,
|
|
2649
|
+
updateIssueTypeIdentifiers: $e.updateMany,
|
|
2650
|
+
deleteIssueTypeIdentifier: $e.deleteOne,
|
|
2651
|
+
deleteIssueTypeIdentifiers: $e.deleteMany
|
|
2652
2652
|
}
|
|
2653
2653
|
}), {
|
|
2654
2654
|
initializeIssueTypeIdentifiers: xw,
|
|
@@ -2673,25 +2673,25 @@ const S = (
|
|
|
2673
2673
|
)
|
|
2674
2674
|
), nR = S(
|
|
2675
2675
|
m([Ar, (t, s) => s], (t, s) => A(t.filter((e) => e.issue_type === s)))
|
|
2676
|
-
), eO = Sr.reducer,
|
|
2676
|
+
), eO = Sr.reducer, Ve = M((t) => t.uuid), _i = {
|
|
2677
2677
|
instances: {}
|
|
2678
|
-
}, wr =
|
|
2678
|
+
}, wr = g({
|
|
2679
2679
|
name: "issueTypeIdentifierValues",
|
|
2680
2680
|
initialState: _i,
|
|
2681
2681
|
extraReducers: (t) => t.addMatcher(
|
|
2682
|
-
R(
|
|
2682
|
+
R(k, V, F),
|
|
2683
2683
|
(s) => Object.assign(s, _i)
|
|
2684
2684
|
),
|
|
2685
2685
|
reducers: {
|
|
2686
|
-
initializeIssueTypeIdentifierValues:
|
|
2687
|
-
addIssueTypeIdentifierValue:
|
|
2688
|
-
addIssueTypeIdentifierValues:
|
|
2689
|
-
setIssueTypeIdentifierValue:
|
|
2690
|
-
setIssueTypeIdentifierValues:
|
|
2691
|
-
updateIssueTypeIdentifierValue:
|
|
2692
|
-
updateIssueTypeIdentifierValues:
|
|
2693
|
-
deleteIssueTypeIdentifierValue:
|
|
2694
|
-
deleteIssueTypeIdentifierValues:
|
|
2686
|
+
initializeIssueTypeIdentifierValues: Ve.initialize,
|
|
2687
|
+
addIssueTypeIdentifierValue: Ve.addOne,
|
|
2688
|
+
addIssueTypeIdentifierValues: Ve.addMany,
|
|
2689
|
+
setIssueTypeIdentifierValue: Ve.setOne,
|
|
2690
|
+
setIssueTypeIdentifierValues: Ve.setMany,
|
|
2691
|
+
updateIssueTypeIdentifierValue: Ve.updateOne,
|
|
2692
|
+
updateIssueTypeIdentifierValues: Ve.updateMany,
|
|
2693
|
+
deleteIssueTypeIdentifierValue: Ve.deleteOne,
|
|
2694
|
+
deleteIssueTypeIdentifierValues: Ve.deleteMany
|
|
2695
2695
|
}
|
|
2696
2696
|
}), {
|
|
2697
2697
|
initializeIssueTypeIdentifierValues: tO,
|
|
@@ -2725,14 +2725,14 @@ const S = (
|
|
|
2725
2725
|
)
|
|
2726
2726
|
), pO = wr.reducer, je = M(
|
|
2727
2727
|
(t) => t.uuid
|
|
2728
|
-
),
|
|
2728
|
+
), ki = {
|
|
2729
2729
|
instances: {}
|
|
2730
|
-
}, Or =
|
|
2730
|
+
}, Or = g({
|
|
2731
2731
|
name: "issueTypes",
|
|
2732
|
-
initialState:
|
|
2732
|
+
initialState: ki,
|
|
2733
2733
|
extraReducers: (t) => t.addMatcher(
|
|
2734
|
-
R(
|
|
2735
|
-
(s) => Object.assign(s,
|
|
2734
|
+
R(k, F),
|
|
2735
|
+
(s) => Object.assign(s, ki)
|
|
2736
2736
|
),
|
|
2737
2737
|
reducers: {
|
|
2738
2738
|
initializeIssueTypes: je.initialize,
|
|
@@ -2758,21 +2758,21 @@ const S = (
|
|
|
2758
2758
|
} = Or.actions, bO = (t) => t.issueTypeReducer.instances, Tr = m(
|
|
2759
2759
|
bO,
|
|
2760
2760
|
(t) => Object.values(t)
|
|
2761
|
-
), _O = (t) => (s) => s.issueTypeReducer.instances[t],
|
|
2761
|
+
), _O = (t) => (s) => s.issueTypeReducer.instances[t], kO = S(
|
|
2762
2762
|
m([Tr, (t, s) => s], (t, s) => {
|
|
2763
2763
|
const e = new Set(s);
|
|
2764
2764
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
2765
2765
|
})
|
|
2766
2766
|
), cR = S(
|
|
2767
2767
|
m([Tr, (t, s) => s], (t, s) => A(t.filter((e) => e.organization === s)))
|
|
2768
|
-
),
|
|
2768
|
+
), gO = Or.reducer, Ce = M((t) => t.uuid), gi = {
|
|
2769
2769
|
instances: {}
|
|
2770
|
-
}, Ir =
|
|
2770
|
+
}, Ir = g({
|
|
2771
2771
|
name: "issueTypeStatuses",
|
|
2772
|
-
initialState:
|
|
2772
|
+
initialState: gi,
|
|
2773
2773
|
extraReducers: (t) => t.addMatcher(
|
|
2774
|
-
R(
|
|
2775
|
-
(s) => Object.assign(s,
|
|
2774
|
+
R(k, F),
|
|
2775
|
+
(s) => Object.assign(s, gi)
|
|
2776
2776
|
),
|
|
2777
2777
|
reducers: {
|
|
2778
2778
|
initializeIssueTypeStatuses: Ce.initialize,
|
|
@@ -2795,7 +2795,7 @@ const S = (
|
|
|
2795
2795
|
updateIssueTypeStatuses: qO,
|
|
2796
2796
|
deleteIssueTypeStatus: zO,
|
|
2797
2797
|
deleteIssueTypeStatuses: BO
|
|
2798
|
-
} = Ir.actions,
|
|
2798
|
+
} = Ir.actions, $O = (t) => t.issueTypeStatusReducer.instances, br = m([$O], (t) => A(Object.values(t).toSorted(Fo))), _r = (t) => (s) => s.issueTypeStatusReducer.instances[t], VO = S(
|
|
2799
2799
|
m([br, (t, s) => s], (t, s) => {
|
|
2800
2800
|
const e = new Set(s);
|
|
2801
2801
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -2806,11 +2806,11 @@ const S = (
|
|
|
2806
2806
|
(t) => t.uuid
|
|
2807
2807
|
), Pi = {
|
|
2808
2808
|
instances: {}
|
|
2809
|
-
},
|
|
2809
|
+
}, kr = g({
|
|
2810
2810
|
name: "issueUpdates",
|
|
2811
2811
|
initialState: Pi,
|
|
2812
2812
|
extraReducers: (t) => t.addMatcher(
|
|
2813
|
-
R(
|
|
2813
|
+
R(k, V, F),
|
|
2814
2814
|
(s) => Object.assign(s, Pi)
|
|
2815
2815
|
),
|
|
2816
2816
|
reducers: {
|
|
@@ -2826,7 +2826,7 @@ const S = (
|
|
|
2826
2826
|
}
|
|
2827
2827
|
}), {
|
|
2828
2828
|
initializeIssueUpdates: CO,
|
|
2829
|
-
addIssueUpdate:
|
|
2829
|
+
addIssueUpdate: gr,
|
|
2830
2830
|
addIssueUpdates: Pr,
|
|
2831
2831
|
setIssueUpdate: WO,
|
|
2832
2832
|
setIssueUpdates: DO,
|
|
@@ -2834,7 +2834,7 @@ const S = (
|
|
|
2834
2834
|
updateIssueUpdates: UO,
|
|
2835
2835
|
deleteIssueUpdate: Mr,
|
|
2836
2836
|
deleteIssueUpdates: Rr
|
|
2837
|
-
} =
|
|
2837
|
+
} = kr.actions, Fr = (t) => t.issueUpdateReducer.instances, Er = m(
|
|
2838
2838
|
[Fr],
|
|
2839
2839
|
(t) => Object.values(t)
|
|
2840
2840
|
), LO = S(
|
|
@@ -2852,14 +2852,14 @@ const S = (
|
|
|
2852
2852
|
)
|
|
2853
2853
|
), HO = S(
|
|
2854
2854
|
m([Er, (t, s) => s], (t, s) => A(t.filter((e) => e.issue === s)))
|
|
2855
|
-
), GO =
|
|
2855
|
+
), GO = kr.reducer, De = M((t) => t.id), Mi = {
|
|
2856
2856
|
instances: {},
|
|
2857
2857
|
currentUser: null
|
|
2858
|
-
}, vr =
|
|
2858
|
+
}, vr = g({
|
|
2859
2859
|
name: "users",
|
|
2860
2860
|
initialState: Mi,
|
|
2861
2861
|
extraReducers: (t) => t.addMatcher(
|
|
2862
|
-
R(
|
|
2862
|
+
R(k, F),
|
|
2863
2863
|
(s) => Object.assign(s, Mi)
|
|
2864
2864
|
),
|
|
2865
2865
|
reducers: {
|
|
@@ -2903,11 +2903,11 @@ const S = (
|
|
|
2903
2903
|
})
|
|
2904
2904
|
), xe = M((t) => t.uuid), Ri = {
|
|
2905
2905
|
instances: {}
|
|
2906
|
-
},
|
|
2906
|
+
}, $r = g({
|
|
2907
2907
|
name: "organizationAccess",
|
|
2908
2908
|
initialState: Ri,
|
|
2909
2909
|
extraReducers: (t) => t.addMatcher(
|
|
2910
|
-
R(
|
|
2910
|
+
R(k, F),
|
|
2911
2911
|
(s) => Object.assign(s, Ri)
|
|
2912
2912
|
),
|
|
2913
2913
|
reducers: {
|
|
@@ -2931,7 +2931,7 @@ const S = (
|
|
|
2931
2931
|
updateOrganizationAccesses: lT,
|
|
2932
2932
|
deleteOrganizationAccess: uT,
|
|
2933
2933
|
deleteOrganizationAccesses: hT
|
|
2934
|
-
} =
|
|
2934
|
+
} = $r.actions, pT = $r.reducer, ls = (t) => t.organizationAccessReducer.instances, mT = (t) => (s) => s.organizationAccessReducer.instances[t], fT = S(
|
|
2935
2935
|
m(
|
|
2936
2936
|
[ls, (t, s) => s],
|
|
2937
2937
|
(t, s) => {
|
|
@@ -2961,11 +2961,11 @@ const S = (
|
|
|
2961
2961
|
)
|
|
2962
2962
|
), Ue = M((t) => t.uuid), Fi = {
|
|
2963
2963
|
instances: {}
|
|
2964
|
-
},
|
|
2964
|
+
}, Vr = g({
|
|
2965
2965
|
name: "organizations",
|
|
2966
2966
|
initialState: Fi,
|
|
2967
2967
|
extraReducers: (t) => t.addMatcher(
|
|
2968
|
-
R(
|
|
2968
|
+
R(k, F),
|
|
2969
2969
|
(s) => Object.assign(s, Fi)
|
|
2970
2970
|
),
|
|
2971
2971
|
reducers: {
|
|
@@ -2988,13 +2988,13 @@ const S = (
|
|
|
2988
2988
|
updateOrganizations: IT,
|
|
2989
2989
|
updateOrganization: bT,
|
|
2990
2990
|
deleteOrganization: _T,
|
|
2991
|
-
deleteOrganizations:
|
|
2992
|
-
} =
|
|
2991
|
+
deleteOrganizations: kT
|
|
2992
|
+
} = Vr.actions, gT = (t) => t.organizationReducer.instances, PT = m([gT], (t) => Object.values(t)), MT = (t) => (s) => s.organizationReducer.instances[t], RT = S(
|
|
2993
2993
|
m([PT, (t, s) => s], (t, s) => {
|
|
2994
2994
|
const e = new Set(s);
|
|
2995
2995
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
2996
2996
|
})
|
|
2997
|
-
), FT =
|
|
2997
|
+
), FT = Vr.reducer, ET = (t, s, e) => {
|
|
2998
2998
|
const i = t.uuid ? t : { ...t, uuid: mt() };
|
|
2999
2999
|
return {
|
|
3000
3000
|
payload: i,
|
|
@@ -3013,10 +3013,10 @@ const S = (
|
|
|
3013
3013
|
}, Ei = {
|
|
3014
3014
|
deletedRequests: [],
|
|
3015
3015
|
latestRetryTime: 0
|
|
3016
|
-
}, jr =
|
|
3016
|
+
}, jr = g({
|
|
3017
3017
|
name: "outbox",
|
|
3018
3018
|
initialState: Ei,
|
|
3019
|
-
extraReducers: (t) => t.addCase(
|
|
3019
|
+
extraReducers: (t) => t.addCase(k, (s) => Object.assign(s, Ei)),
|
|
3020
3020
|
reducers: {
|
|
3021
3021
|
// enqueueActions is a reducer that does nothing but enqueue API request to the Redux Offline outbox
|
|
3022
3022
|
// Whenever an issue is being created, a reducer addIssue() is responsible for adding it to the offline store
|
|
@@ -3044,11 +3044,11 @@ const S = (
|
|
|
3044
3044
|
(t) => t.uuid
|
|
3045
3045
|
), vi = {
|
|
3046
3046
|
instances: {}
|
|
3047
|
-
}, Cr =
|
|
3047
|
+
}, Cr = g({
|
|
3048
3048
|
name: "projectAccess",
|
|
3049
3049
|
initialState: vi,
|
|
3050
3050
|
extraReducers: (t) => t.addMatcher(
|
|
3051
|
-
R(
|
|
3051
|
+
R(k, F),
|
|
3052
3052
|
(s) => Object.assign(s, vi)
|
|
3053
3053
|
),
|
|
3054
3054
|
reducers: {
|
|
@@ -3063,8 +3063,8 @@ const S = (
|
|
|
3063
3063
|
deleteProjectAccesses: Le.deleteMany
|
|
3064
3064
|
}
|
|
3065
3065
|
}), {
|
|
3066
|
-
initializeProjectAccesses:
|
|
3067
|
-
addProjectAccess:
|
|
3066
|
+
initializeProjectAccesses: $T,
|
|
3067
|
+
addProjectAccess: VT,
|
|
3068
3068
|
addProjectAccesses: jT,
|
|
3069
3069
|
setProjectAccess: CT,
|
|
3070
3070
|
setProjectAccesses: WT,
|
|
@@ -3104,11 +3104,11 @@ const S = (
|
|
|
3104
3104
|
)
|
|
3105
3105
|
), Ne = M((t) => t.uuid), qi = {
|
|
3106
3106
|
instances: {}
|
|
3107
|
-
}, Dr =
|
|
3107
|
+
}, Dr = g({
|
|
3108
3108
|
name: "projectAttachments",
|
|
3109
3109
|
initialState: qi,
|
|
3110
3110
|
extraReducers: (t) => t.addMatcher(
|
|
3111
|
-
R(
|
|
3111
|
+
R(k, F),
|
|
3112
3112
|
(s) => Object.assign(s, qi)
|
|
3113
3113
|
),
|
|
3114
3114
|
reducers: {
|
|
@@ -3148,11 +3148,11 @@ const S = (
|
|
|
3148
3148
|
instances: {},
|
|
3149
3149
|
activeProjectFileId: null,
|
|
3150
3150
|
isImportingProjectFile: !1
|
|
3151
|
-
}, Ur =
|
|
3151
|
+
}, Ur = g({
|
|
3152
3152
|
name: "projectFiles",
|
|
3153
3153
|
initialState: zi,
|
|
3154
3154
|
extraReducers: (t) => t.addMatcher(
|
|
3155
|
-
R(
|
|
3155
|
+
R(k, V, F),
|
|
3156
3156
|
(s) => Object.assign(s, zi)
|
|
3157
3157
|
),
|
|
3158
3158
|
reducers: {
|
|
@@ -3205,11 +3205,11 @@ const S = (
|
|
|
3205
3205
|
})
|
|
3206
3206
|
), OR = (t) => t.projectFileReducer.activeProjectFileId, TR = (t) => t.projectFileReducer.isImportingProjectFile, bI = Ur.reducer, Ge = M((t) => t.uuid), Bi = {
|
|
3207
3207
|
instances: {}
|
|
3208
|
-
}, Lr =
|
|
3208
|
+
}, Lr = g({
|
|
3209
3209
|
name: "projects",
|
|
3210
3210
|
initialState: Bi,
|
|
3211
3211
|
extraReducers: (t) => t.addMatcher(
|
|
3212
|
-
R(
|
|
3212
|
+
R(k, F),
|
|
3213
3213
|
(s) => Object.assign(s, Bi)
|
|
3214
3214
|
),
|
|
3215
3215
|
reducers: {
|
|
@@ -3225,15 +3225,15 @@ const S = (
|
|
|
3225
3225
|
}
|
|
3226
3226
|
}), {
|
|
3227
3227
|
initializeProjects: _I,
|
|
3228
|
-
setProjects:
|
|
3229
|
-
setProject:
|
|
3228
|
+
setProjects: kI,
|
|
3229
|
+
setProject: gI,
|
|
3230
3230
|
addProjects: PI,
|
|
3231
3231
|
addProject: MI,
|
|
3232
3232
|
updateProjects: RI,
|
|
3233
3233
|
updateProject: FI,
|
|
3234
3234
|
deleteProject: EI,
|
|
3235
3235
|
deleteProjects: vI
|
|
3236
|
-
} = Lr.actions, qI = Lr.reducer, zI = (t) => t.projectReducer.instances, us = m([zI], (t) => Object.values(t)), BI = (t) => (s) => s.projectReducer.instances[t],
|
|
3236
|
+
} = Lr.actions, qI = Lr.reducer, zI = (t) => t.projectReducer.instances, us = m([zI], (t) => Object.values(t)), BI = (t) => (s) => s.projectReducer.instances[t], $I = S(
|
|
3237
3237
|
m([us, (t, s) => s], (t, s) => {
|
|
3238
3238
|
const e = new Set(s);
|
|
3239
3239
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -3245,27 +3245,27 @@ const S = (
|
|
|
3245
3245
|
})
|
|
3246
3246
|
), bR = S(
|
|
3247
3247
|
m([us, (t, s) => s], (t, s) => A(t.filter((e) => e.organization === s)))
|
|
3248
|
-
),
|
|
3248
|
+
), VI = {
|
|
3249
3249
|
isRehydrated: !1
|
|
3250
|
-
}, Nr =
|
|
3250
|
+
}, Nr = g({
|
|
3251
3251
|
name: "rehydrated",
|
|
3252
|
-
initialState:
|
|
3252
|
+
initialState: VI,
|
|
3253
3253
|
// The `reducers` field lets us define reducers and generate associated actions
|
|
3254
3254
|
reducers: {
|
|
3255
3255
|
setRehydrated: (t, s) => {
|
|
3256
3256
|
t.isRehydrated = s.payload;
|
|
3257
3257
|
}
|
|
3258
3258
|
}
|
|
3259
|
-
}), { setRehydrated: _R } = Nr.actions,
|
|
3259
|
+
}), { setRehydrated: _R } = Nr.actions, kR = (t) => t.rehydratedReducer.isRehydrated, jI = Nr.reducer, Ke = M(
|
|
3260
3260
|
(t) => t.uuid
|
|
3261
|
-
),
|
|
3261
|
+
), $i = {
|
|
3262
3262
|
instances: {}
|
|
3263
|
-
}, Hr =
|
|
3263
|
+
}, Hr = g({
|
|
3264
3264
|
name: "teamMemberships",
|
|
3265
|
-
initialState:
|
|
3265
|
+
initialState: $i,
|
|
3266
3266
|
extraReducers: (t) => t.addMatcher(
|
|
3267
|
-
R(
|
|
3268
|
-
(s) => Object.assign(s,
|
|
3267
|
+
R(k, F),
|
|
3268
|
+
(s) => Object.assign(s, $i)
|
|
3269
3269
|
),
|
|
3270
3270
|
reducers: {
|
|
3271
3271
|
initializeTeamMemberships: Ke.initialize,
|
|
@@ -3296,7 +3296,7 @@ const S = (
|
|
|
3296
3296
|
const e = new Set(s);
|
|
3297
3297
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
3298
3298
|
})
|
|
3299
|
-
),
|
|
3299
|
+
), gR = S(
|
|
3300
3300
|
m([hs, (t, s) => s], (t, s) => {
|
|
3301
3301
|
const e = {};
|
|
3302
3302
|
for (const i of t.filter((n) => n.team === s))
|
|
@@ -3311,14 +3311,14 @@ const S = (
|
|
|
3311
3311
|
return A(t.filter((n) => i.has(n.id)));
|
|
3312
3312
|
}
|
|
3313
3313
|
)
|
|
3314
|
-
), Ye = M((t) => t.uuid),
|
|
3314
|
+
), Ye = M((t) => t.uuid), Vi = {
|
|
3315
3315
|
instances: {}
|
|
3316
|
-
}, Gr =
|
|
3316
|
+
}, Gr = g({
|
|
3317
3317
|
name: "teams",
|
|
3318
|
-
initialState:
|
|
3318
|
+
initialState: Vi,
|
|
3319
3319
|
extraReducers: (t) => t.addMatcher(
|
|
3320
|
-
R(
|
|
3321
|
-
(s) => Object.assign(s,
|
|
3320
|
+
R(k, F),
|
|
3321
|
+
(s) => Object.assign(s, Vi)
|
|
3322
3322
|
),
|
|
3323
3323
|
reducers: {
|
|
3324
3324
|
initializeTeams: Ye.initialize,
|
|
@@ -3352,11 +3352,11 @@ const S = (
|
|
|
3352
3352
|
(t) => t.uuid
|
|
3353
3353
|
), ji = {
|
|
3354
3354
|
instances: {}
|
|
3355
|
-
}, Yr =
|
|
3355
|
+
}, Yr = g({
|
|
3356
3356
|
name: "workflows",
|
|
3357
3357
|
initialState: ji,
|
|
3358
3358
|
extraReducers: (t) => t.addMatcher(
|
|
3359
|
-
R(
|
|
3359
|
+
R(k, V, F),
|
|
3360
3360
|
(s) => Object.assign(s, ji)
|
|
3361
3361
|
),
|
|
3362
3362
|
reducers: {
|
|
@@ -3394,11 +3394,11 @@ const S = (
|
|
|
3394
3394
|
m([ps, (t, s) => s], (t, s) => A(t.filter((e) => e.workflow_type === s)))
|
|
3395
3395
|
), Ib = Yr.reducer, Ze = M((t) => t.uuid), Ci = {
|
|
3396
3396
|
instances: {}
|
|
3397
|
-
}, Jr =
|
|
3397
|
+
}, Jr = g({
|
|
3398
3398
|
name: "workflowStepAssignees",
|
|
3399
3399
|
initialState: Ci,
|
|
3400
3400
|
extraReducers: (t) => t.addMatcher(
|
|
3401
|
-
R(
|
|
3401
|
+
R(k, V, F),
|
|
3402
3402
|
(s) => Object.assign(s, Ci)
|
|
3403
3403
|
),
|
|
3404
3404
|
reducers: {
|
|
@@ -3416,8 +3416,8 @@ const S = (
|
|
|
3416
3416
|
initializeWorkflowStepAssignees: bb,
|
|
3417
3417
|
addWorkflowStepAssignee: _b,
|
|
3418
3418
|
addWorkflowStepAssignees: Xr,
|
|
3419
|
-
setWorkflowStepAssignee:
|
|
3420
|
-
setWorkflowStepAssignees:
|
|
3419
|
+
setWorkflowStepAssignee: kb,
|
|
3420
|
+
setWorkflowStepAssignees: gb,
|
|
3421
3421
|
updateWorkflowStepAssignee: Pb,
|
|
3422
3422
|
updateWorkflowStepAssignees: Mb,
|
|
3423
3423
|
deleteWorkflowStepAssignee: Rb,
|
|
@@ -3438,11 +3438,11 @@ const S = (
|
|
|
3438
3438
|
m([vt, (t, s) => s], (t, s) => A(t.filter((e) => e.user === s)))
|
|
3439
3439
|
), zb = Jr.reducer, Je = M((t) => t.uuid), Wi = {
|
|
3440
3440
|
instances: {}
|
|
3441
|
-
}, tc =
|
|
3441
|
+
}, tc = g({
|
|
3442
3442
|
name: "workflowStepCommentAttachments",
|
|
3443
3443
|
initialState: Wi,
|
|
3444
3444
|
extraReducers: (t) => t.addMatcher(
|
|
3445
|
-
R(
|
|
3445
|
+
R(k, V, F),
|
|
3446
3446
|
(s) => Object.assign(s, Wi)
|
|
3447
3447
|
),
|
|
3448
3448
|
reducers: {
|
|
@@ -3458,9 +3458,9 @@ const S = (
|
|
|
3458
3458
|
}
|
|
3459
3459
|
}), {
|
|
3460
3460
|
initializeWorkflowStepCommentAttachments: Bb,
|
|
3461
|
-
addWorkflowStepCommentAttachment:
|
|
3461
|
+
addWorkflowStepCommentAttachment: $b,
|
|
3462
3462
|
addWorkflowStepCommentAttachments: ms,
|
|
3463
|
-
setWorkflowStepCommentAttachment:
|
|
3463
|
+
setWorkflowStepCommentAttachment: Vb,
|
|
3464
3464
|
setWorkflowStepCommentAttachments: jb,
|
|
3465
3465
|
updateWorkflowStepCommentAttachment: Cb,
|
|
3466
3466
|
updateWorkflowStepCommentAttachments: Wb,
|
|
@@ -3481,11 +3481,11 @@ const S = (
|
|
|
3481
3481
|
)
|
|
3482
3482
|
), Nb = tc.reducer, Xe = M((t) => t.uuid), Di = {
|
|
3483
3483
|
instances: {}
|
|
3484
|
-
}, nc =
|
|
3484
|
+
}, nc = g({
|
|
3485
3485
|
name: "workflowStepComments",
|
|
3486
3486
|
initialState: Di,
|
|
3487
3487
|
extraReducers: (t) => t.addMatcher(
|
|
3488
|
-
R(
|
|
3488
|
+
R(k, V, F),
|
|
3489
3489
|
(s) => Object.assign(s, Di)
|
|
3490
3490
|
),
|
|
3491
3491
|
reducers: {
|
|
@@ -3523,11 +3523,11 @@ const S = (
|
|
|
3523
3523
|
m([ys, (t, s) => s], (t, s) => A(t.filter((e) => e.workflow_step === s)))
|
|
3524
3524
|
), i_ = nc.reducer, et = M((t) => t.uuid), xi = {
|
|
3525
3525
|
instances: {}
|
|
3526
|
-
}, cc =
|
|
3526
|
+
}, cc = g({
|
|
3527
3527
|
name: "workflowStepCompletions",
|
|
3528
3528
|
initialState: xi,
|
|
3529
3529
|
extraReducers: (t) => t.addMatcher(
|
|
3530
|
-
R(
|
|
3530
|
+
R(k, V, F),
|
|
3531
3531
|
(s) => Object.assign(s, xi)
|
|
3532
3532
|
),
|
|
3533
3533
|
reducers: {
|
|
@@ -3568,11 +3568,11 @@ const S = (
|
|
|
3568
3568
|
)
|
|
3569
3569
|
), f_ = cc.reducer, tt = M((t) => t.uuid), Ui = {
|
|
3570
3570
|
instances: {}
|
|
3571
|
-
}, lc =
|
|
3571
|
+
}, lc = g({
|
|
3572
3572
|
name: "workflowStepEvents",
|
|
3573
3573
|
initialState: Ui,
|
|
3574
3574
|
extraReducers: (t) => t.addMatcher(
|
|
3575
|
-
R(
|
|
3575
|
+
R(k, V, F),
|
|
3576
3576
|
(s) => Object.assign(s, Ui)
|
|
3577
3577
|
),
|
|
3578
3578
|
reducers: {
|
|
@@ -3612,7 +3612,7 @@ const S = (
|
|
|
3612
3612
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
3613
3613
|
}
|
|
3614
3614
|
)
|
|
3615
|
-
),
|
|
3615
|
+
), k_ = S(
|
|
3616
3616
|
m(
|
|
3617
3617
|
[As, (t, s) => s],
|
|
3618
3618
|
(t, s) => A(t.filter((e) => e.workflow === s))
|
|
@@ -3622,13 +3622,13 @@ const S = (
|
|
|
3622
3622
|
[As, (t, s) => s],
|
|
3623
3623
|
(t, s) => A(t.filter((e) => e.workflow_step === s))
|
|
3624
3624
|
)
|
|
3625
|
-
),
|
|
3625
|
+
), g_ = lc.reducer, st = M((t) => t.uuid), Li = {
|
|
3626
3626
|
instances: {}
|
|
3627
|
-
}, mc =
|
|
3627
|
+
}, mc = g({
|
|
3628
3628
|
name: "workflowStepFieldValuesAttachments",
|
|
3629
3629
|
initialState: Li,
|
|
3630
3630
|
extraReducers: (t) => t.addMatcher(
|
|
3631
|
-
R(
|
|
3631
|
+
R(k, V, F),
|
|
3632
3632
|
(s) => Object.assign(s, Li)
|
|
3633
3633
|
),
|
|
3634
3634
|
reducers: {
|
|
@@ -3655,7 +3655,7 @@ const S = (
|
|
|
3655
3655
|
} = mc.actions, z_ = (t) => t.workflowStepFieldValuesAttachmentReducer.instances, Sc = m(
|
|
3656
3656
|
[z_],
|
|
3657
3657
|
(t) => Object.values(t)
|
|
3658
|
-
), B_ = (t) => (s) => s.workflowStepFieldValuesAttachmentReducer.instances[t],
|
|
3658
|
+
), B_ = (t) => (s) => s.workflowStepFieldValuesAttachmentReducer.instances[t], $_ = S(
|
|
3659
3659
|
m(
|
|
3660
3660
|
[Sc, (t, s) => s],
|
|
3661
3661
|
(t, s) => {
|
|
@@ -3663,18 +3663,18 @@ const S = (
|
|
|
3663
3663
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
3664
3664
|
}
|
|
3665
3665
|
)
|
|
3666
|
-
),
|
|
3666
|
+
), V_ = S(
|
|
3667
3667
|
m(
|
|
3668
3668
|
[Sc, (t, s) => s],
|
|
3669
3669
|
(t, s) => A(t.filter((e) => e.field_values === s))
|
|
3670
3670
|
)
|
|
3671
3671
|
), j_ = mc.reducer, it = M((t) => t.uuid), Ni = {
|
|
3672
3672
|
instances: {}
|
|
3673
|
-
}, Ac =
|
|
3673
|
+
}, Ac = g({
|
|
3674
3674
|
name: "workflowStepFieldValues",
|
|
3675
3675
|
initialState: Ni,
|
|
3676
3676
|
extraReducers: (t) => t.addMatcher(
|
|
3677
|
-
R(
|
|
3677
|
+
R(k, V, F),
|
|
3678
3678
|
(s) => Object.assign(s, Ni)
|
|
3679
3679
|
),
|
|
3680
3680
|
reducers: {
|
|
@@ -3708,7 +3708,7 @@ const S = (
|
|
|
3708
3708
|
[qt, (t, s) => s],
|
|
3709
3709
|
(t, s) => A(t.filter((e) => e.workflow_step === s))
|
|
3710
3710
|
)
|
|
3711
|
-
),
|
|
3711
|
+
), $R = S(
|
|
3712
3712
|
m(
|
|
3713
3713
|
[qt, (t, s) => s],
|
|
3714
3714
|
(t, s) => A(t.filter((e) => e.fields_revision === s))
|
|
@@ -3723,11 +3723,11 @@ const S = (
|
|
|
3723
3723
|
)
|
|
3724
3724
|
), Q_ = Ac.reducer, nt = M((t) => t.uuid), Hi = {
|
|
3725
3725
|
instances: {}
|
|
3726
|
-
}, Tc =
|
|
3726
|
+
}, Tc = g({
|
|
3727
3727
|
name: "workflowStepFieldsAttachments",
|
|
3728
3728
|
initialState: Hi,
|
|
3729
3729
|
extraReducers: (t) => t.addMatcher(
|
|
3730
|
-
R(
|
|
3730
|
+
R(k, F),
|
|
3731
3731
|
(s) => Object.assign(s, Hi)
|
|
3732
3732
|
),
|
|
3733
3733
|
reducers: {
|
|
@@ -3746,20 +3746,20 @@ const S = (
|
|
|
3746
3746
|
addWorkflowStepFieldsAttachment: J_,
|
|
3747
3747
|
addWorkflowStepFieldsAttachments: Ic,
|
|
3748
3748
|
setWorkflowStepFieldsAttachment: X_,
|
|
3749
|
-
setWorkflowStepFieldsAttachments:
|
|
3750
|
-
updateWorkflowStepFieldsAttachment:
|
|
3751
|
-
updateWorkflowStepFieldsAttachments:
|
|
3752
|
-
deleteWorkflowStepFieldsAttachment:
|
|
3749
|
+
setWorkflowStepFieldsAttachments: ek,
|
|
3750
|
+
updateWorkflowStepFieldsAttachment: tk,
|
|
3751
|
+
updateWorkflowStepFieldsAttachments: sk,
|
|
3752
|
+
deleteWorkflowStepFieldsAttachment: ik,
|
|
3753
3753
|
deleteWorkflowStepFieldsAttachments: bc
|
|
3754
|
-
} = Tc.actions,
|
|
3755
|
-
[
|
|
3754
|
+
} = Tc.actions, nk = (t) => t.workflowStepFieldsAttachmentReducer.instances, _c = m(
|
|
3755
|
+
[nk],
|
|
3756
3756
|
(t) => Object.values(t)
|
|
3757
|
-
),
|
|
3757
|
+
), ak = S(
|
|
3758
3758
|
m(
|
|
3759
3759
|
[_c, (t, s) => s],
|
|
3760
3760
|
(t, s) => A(t.filter((e) => e.fields_revision === s))
|
|
3761
3761
|
)
|
|
3762
|
-
),
|
|
3762
|
+
), rk = (t) => (s) => s.workflowStepFieldsAttachmentReducer.instances[t], ck = S(
|
|
3763
3763
|
m(
|
|
3764
3764
|
[_c, (t, s) => s],
|
|
3765
3765
|
(t, s) => {
|
|
@@ -3767,13 +3767,13 @@ const S = (
|
|
|
3767
3767
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
3768
3768
|
}
|
|
3769
3769
|
)
|
|
3770
|
-
),
|
|
3770
|
+
), ok = Tc.reducer, at = M((t) => t.uuid), Gi = {
|
|
3771
3771
|
instances: {}
|
|
3772
|
-
},
|
|
3772
|
+
}, kc = g({
|
|
3773
3773
|
name: "workflowStepFields",
|
|
3774
3774
|
initialState: Gi,
|
|
3775
3775
|
extraReducers: (t) => t.addMatcher(
|
|
3776
|
-
R(
|
|
3776
|
+
R(k, F),
|
|
3777
3777
|
(s) => Object.assign(s, Gi)
|
|
3778
3778
|
),
|
|
3779
3779
|
reducers: {
|
|
@@ -3788,27 +3788,27 @@ const S = (
|
|
|
3788
3788
|
deleteWorkflowStepFieldsMany: at.deleteMany
|
|
3789
3789
|
}
|
|
3790
3790
|
}), {
|
|
3791
|
-
initializeWorkflowStepFields:
|
|
3792
|
-
addWorkflowStepFields:
|
|
3793
|
-
addWorkflowStepFieldsMany:
|
|
3794
|
-
setWorkflowStepFields:
|
|
3795
|
-
setWorkflowStepFieldsMany:
|
|
3796
|
-
updateWorkflowStepFields:
|
|
3797
|
-
updateWorkflowStepFieldsMany:
|
|
3798
|
-
deleteWorkflowStepFields:
|
|
3799
|
-
deleteWorkflowStepFieldsMany:
|
|
3800
|
-
} =
|
|
3791
|
+
initializeWorkflowStepFields: dk,
|
|
3792
|
+
addWorkflowStepFields: lk,
|
|
3793
|
+
addWorkflowStepFieldsMany: uk,
|
|
3794
|
+
setWorkflowStepFields: hk,
|
|
3795
|
+
setWorkflowStepFieldsMany: pk,
|
|
3796
|
+
updateWorkflowStepFields: mk,
|
|
3797
|
+
updateWorkflowStepFieldsMany: fk,
|
|
3798
|
+
deleteWorkflowStepFields: yk,
|
|
3799
|
+
deleteWorkflowStepFieldsMany: Sk
|
|
3800
|
+
} = kc.actions, gc = (t) => t.workflowStepFieldsReducer.instances, ws = m([gc], (t) => Object.values(t)), VR = S(
|
|
3801
3801
|
m([ws, (t, s) => s], (t, s) => A(t.filter((e) => e.workflow_step === s)))
|
|
3802
3802
|
), jR = S(
|
|
3803
3803
|
m([ws, (t, s) => s], (t, s) => t.filter((e) => e.workflow_step === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
3804
|
-
), CR = m([
|
|
3804
|
+
), CR = m([gc], (t) => {
|
|
3805
3805
|
const s = {};
|
|
3806
3806
|
for (const e of Object.values(t)) {
|
|
3807
3807
|
const i = s[e.workflow_step];
|
|
3808
3808
|
(!i || i.submitted_at < e.submitted_at) && (s[e.workflow_step] = e);
|
|
3809
3809
|
}
|
|
3810
3810
|
return s;
|
|
3811
|
-
}),
|
|
3811
|
+
}), Ak = (t) => (s) => s.workflowStepFieldsReducer.instances[t], wk = S(
|
|
3812
3812
|
m(
|
|
3813
3813
|
[ws, (t, s) => s],
|
|
3814
3814
|
(t, s) => {
|
|
@@ -3816,13 +3816,13 @@ const S = (
|
|
|
3816
3816
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
3817
3817
|
}
|
|
3818
3818
|
)
|
|
3819
|
-
),
|
|
3819
|
+
), Ok = kc.reducer, rt = M((t) => t.uuid), Ki = {
|
|
3820
3820
|
instances: {}
|
|
3821
|
-
}, Pc =
|
|
3821
|
+
}, Pc = g({
|
|
3822
3822
|
name: "workflowStepReviewers",
|
|
3823
3823
|
initialState: Ki,
|
|
3824
3824
|
extraReducers: (t) => t.addMatcher(
|
|
3825
|
-
R(
|
|
3825
|
+
R(k, V, F),
|
|
3826
3826
|
(s) => Object.assign(s, Ki)
|
|
3827
3827
|
),
|
|
3828
3828
|
reducers: {
|
|
@@ -3837,16 +3837,16 @@ const S = (
|
|
|
3837
3837
|
deleteWorkflowStepReviewers: rt.deleteMany
|
|
3838
3838
|
}
|
|
3839
3839
|
}), {
|
|
3840
|
-
initializeWorkflowStepReviewers:
|
|
3841
|
-
addWorkflowStepReviewer:
|
|
3840
|
+
initializeWorkflowStepReviewers: Tk,
|
|
3841
|
+
addWorkflowStepReviewer: Ik,
|
|
3842
3842
|
addWorkflowStepReviewers: Mc,
|
|
3843
|
-
setWorkflowStepReviewer:
|
|
3844
|
-
setWorkflowStepReviewers:
|
|
3845
|
-
updateWorkflowStepReviewer:
|
|
3846
|
-
updateWorkflowStepReviewers:
|
|
3847
|
-
deleteWorkflowStepReviewer:
|
|
3843
|
+
setWorkflowStepReviewer: bk,
|
|
3844
|
+
setWorkflowStepReviewers: _k,
|
|
3845
|
+
updateWorkflowStepReviewer: kk,
|
|
3846
|
+
updateWorkflowStepReviewers: gk,
|
|
3847
|
+
deleteWorkflowStepReviewer: Pk,
|
|
3848
3848
|
deleteWorkflowStepReviewers: Rc
|
|
3849
|
-
} = Pc.actions,
|
|
3849
|
+
} = Pc.actions, Mk = (t) => t.workflowStepReviewerReducer.instances, zt = m([Mk], (t) => Object.values(t)), Rk = (t) => (s) => s.workflowStepReviewerReducer.instances[t], Fk = S(
|
|
3850
3850
|
m(
|
|
3851
3851
|
[zt, (t, s) => s],
|
|
3852
3852
|
(t, s) => {
|
|
@@ -3854,7 +3854,7 @@ const S = (
|
|
|
3854
3854
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
3855
3855
|
}
|
|
3856
3856
|
)
|
|
3857
|
-
),
|
|
3857
|
+
), Ek = S(
|
|
3858
3858
|
m([zt, (t, s) => s], (t, s) => A(t.filter((e) => e.workflow === s)))
|
|
3859
3859
|
), WR = S(
|
|
3860
3860
|
m(
|
|
@@ -3863,13 +3863,13 @@ const S = (
|
|
|
3863
3863
|
)
|
|
3864
3864
|
), DR = S(
|
|
3865
3865
|
m([zt, (t, s) => s], (t, s) => A(t.filter((e) => e.user === s)))
|
|
3866
|
-
),
|
|
3866
|
+
), vk = Pc.reducer, ct = M((t) => t.uuid), Yi = {
|
|
3867
3867
|
instances: {}
|
|
3868
|
-
}, Fc =
|
|
3868
|
+
}, Fc = g({
|
|
3869
3869
|
name: "workflowStepReviewRequests",
|
|
3870
3870
|
initialState: Yi,
|
|
3871
3871
|
extraReducers: (t) => t.addMatcher(
|
|
3872
|
-
R(
|
|
3872
|
+
R(k, V, F),
|
|
3873
3873
|
(s) => Object.assign(s, Yi)
|
|
3874
3874
|
),
|
|
3875
3875
|
reducers: {
|
|
@@ -3884,16 +3884,16 @@ const S = (
|
|
|
3884
3884
|
deleteWorkflowStepReviewRequests: ct.deleteMany
|
|
3885
3885
|
}
|
|
3886
3886
|
}), {
|
|
3887
|
-
initializeWorkflowStepReviewRequests:
|
|
3888
|
-
addWorkflowStepReviewRequest:
|
|
3887
|
+
initializeWorkflowStepReviewRequests: qk,
|
|
3888
|
+
addWorkflowStepReviewRequest: zk,
|
|
3889
3889
|
addWorkflowStepReviewRequests: Ec,
|
|
3890
|
-
setWorkflowStepReviewRequest:
|
|
3891
|
-
setWorkflowStepReviewRequests:
|
|
3892
|
-
updateWorkflowStepReviewRequest:
|
|
3893
|
-
updateWorkflowStepReviewRequests:
|
|
3894
|
-
deleteWorkflowStepReviewRequest:
|
|
3890
|
+
setWorkflowStepReviewRequest: Bk,
|
|
3891
|
+
setWorkflowStepReviewRequests: $k,
|
|
3892
|
+
updateWorkflowStepReviewRequest: Vk,
|
|
3893
|
+
updateWorkflowStepReviewRequests: jk,
|
|
3894
|
+
deleteWorkflowStepReviewRequest: Ck,
|
|
3895
3895
|
deleteWorkflowStepReviewRequests: vc
|
|
3896
|
-
} = Fc.actions,
|
|
3896
|
+
} = Fc.actions, Wk = (t) => t.workflowStepReviewRequestReducer.instances, Os = m([Wk], (t) => Object.values(t)), Dk = (t) => (s) => s.workflowStepReviewRequestReducer.instances[t], xk = S(
|
|
3897
3897
|
m(
|
|
3898
3898
|
[Os, (t, s) => s],
|
|
3899
3899
|
(t, s) => {
|
|
@@ -3901,7 +3901,7 @@ const S = (
|
|
|
3901
3901
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
3902
3902
|
}
|
|
3903
3903
|
)
|
|
3904
|
-
),
|
|
3904
|
+
), Uk = S(
|
|
3905
3905
|
m(
|
|
3906
3906
|
[Os, (t, s) => s],
|
|
3907
3907
|
(t, s) => A(t.filter((e) => e.workflow === s))
|
|
@@ -3911,13 +3911,13 @@ const S = (
|
|
|
3911
3911
|
[Os, (t, s) => s],
|
|
3912
3912
|
(t, s) => A(t.filter((e) => e.workflow_step === s))
|
|
3913
3913
|
)
|
|
3914
|
-
),
|
|
3914
|
+
), Lk = Fc.reducer, ot = M((t) => t.uuid), Qi = {
|
|
3915
3915
|
instances: {}
|
|
3916
|
-
}, qc =
|
|
3916
|
+
}, qc = g({
|
|
3917
3917
|
name: "workflowStepReviews",
|
|
3918
3918
|
initialState: Qi,
|
|
3919
3919
|
extraReducers: (t) => t.addMatcher(
|
|
3920
|
-
R(
|
|
3920
|
+
R(k, V, F),
|
|
3921
3921
|
(s) => Object.assign(s, Qi)
|
|
3922
3922
|
),
|
|
3923
3923
|
reducers: {
|
|
@@ -3932,16 +3932,16 @@ const S = (
|
|
|
3932
3932
|
deleteWorkflowStepReviews: ot.deleteMany
|
|
3933
3933
|
}
|
|
3934
3934
|
}), {
|
|
3935
|
-
initializeWorkflowStepReviews:
|
|
3936
|
-
addWorkflowStepReview:
|
|
3935
|
+
initializeWorkflowStepReviews: Nk,
|
|
3936
|
+
addWorkflowStepReview: Hk,
|
|
3937
3937
|
addWorkflowStepReviews: zc,
|
|
3938
|
-
setWorkflowStepReview:
|
|
3939
|
-
setWorkflowStepReviews:
|
|
3940
|
-
updateWorkflowStepReview:
|
|
3941
|
-
updateWorkflowStepReviews:
|
|
3942
|
-
deleteWorkflowStepReview:
|
|
3938
|
+
setWorkflowStepReview: Gk,
|
|
3939
|
+
setWorkflowStepReviews: Kk,
|
|
3940
|
+
updateWorkflowStepReview: Yk,
|
|
3941
|
+
updateWorkflowStepReviews: Qk,
|
|
3942
|
+
deleteWorkflowStepReview: Zk,
|
|
3943
3943
|
deleteWorkflowStepReviews: Bc
|
|
3944
|
-
} = qc.actions,
|
|
3944
|
+
} = qc.actions, Jk = (t) => t.workflowStepReviewReducer.instances, Ts = m([Jk], (t) => Object.values(t)), Xk = (t) => (s) => s.workflowStepReviewReducer.instances[t], eg = S(
|
|
3945
3945
|
m(
|
|
3946
3946
|
[Ts, (t, s) => s],
|
|
3947
3947
|
(t, s) => {
|
|
@@ -3949,19 +3949,19 @@ const S = (
|
|
|
3949
3949
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
3950
3950
|
}
|
|
3951
3951
|
)
|
|
3952
|
-
),
|
|
3952
|
+
), tg = S(
|
|
3953
3953
|
m([Ts, (t, s) => s], (t, s) => A(t.filter((e) => e.workflow === s)))
|
|
3954
3954
|
), UR = S(
|
|
3955
3955
|
m([Ts, (t, s) => s], (t, s) => A(t.filter((e) => e.workflow_step === s)))
|
|
3956
|
-
),
|
|
3956
|
+
), sg = qc.reducer, dt = M(
|
|
3957
3957
|
(t) => t.uuid
|
|
3958
3958
|
), Zi = {
|
|
3959
3959
|
instances: {}
|
|
3960
|
-
},
|
|
3960
|
+
}, $c = g({
|
|
3961
3961
|
name: "workflowSteps",
|
|
3962
3962
|
initialState: Zi,
|
|
3963
3963
|
extraReducers: (t) => t.addMatcher(
|
|
3964
|
-
R(
|
|
3964
|
+
R(k, F),
|
|
3965
3965
|
(s) => Object.assign(s, Zi)
|
|
3966
3966
|
),
|
|
3967
3967
|
reducers: {
|
|
@@ -3976,18 +3976,18 @@ const S = (
|
|
|
3976
3976
|
deleteWorkflowSteps: dt.deleteMany
|
|
3977
3977
|
}
|
|
3978
3978
|
}), {
|
|
3979
|
-
initializeWorkflowSteps:
|
|
3980
|
-
addWorkflowStep:
|
|
3981
|
-
addWorkflowSteps:
|
|
3982
|
-
setWorkflowStep:
|
|
3983
|
-
setWorkflowSteps:
|
|
3984
|
-
updateWorkflowStep:
|
|
3985
|
-
updateWorkflowSteps:
|
|
3986
|
-
deleteWorkflowStep:
|
|
3979
|
+
initializeWorkflowSteps: ig,
|
|
3980
|
+
addWorkflowStep: ng,
|
|
3981
|
+
addWorkflowSteps: Vc,
|
|
3982
|
+
setWorkflowStep: ag,
|
|
3983
|
+
setWorkflowSteps: rg,
|
|
3984
|
+
updateWorkflowStep: cg,
|
|
3985
|
+
updateWorkflowSteps: og,
|
|
3986
|
+
deleteWorkflowStep: dg,
|
|
3987
3987
|
deleteWorkflowSteps: jc
|
|
3988
|
-
} =
|
|
3988
|
+
} = $c.actions, lg = $c.reducer, ug = (t) => t.workflowStepReducer.instances, Cc = m([ug], (t) => Object.values(t)), hg = (t) => (s) => s.workflowStepReducer.instances[t], pg = S(
|
|
3989
3989
|
m([Cc, (t, s) => s], (t, s) => A(t.filter((e) => e.workflow_type === s)))
|
|
3990
|
-
),
|
|
3990
|
+
), mg = S(
|
|
3991
3991
|
m([Cc, (t, s) => s], (t, s) => {
|
|
3992
3992
|
const e = new Set(s);
|
|
3993
3993
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -3996,11 +3996,11 @@ const S = (
|
|
|
3996
3996
|
(t) => t.uuid
|
|
3997
3997
|
), Ji = {
|
|
3998
3998
|
instances: {}
|
|
3999
|
-
}, Wc =
|
|
3999
|
+
}, Wc = g({
|
|
4000
4000
|
name: "workflowTypes",
|
|
4001
4001
|
initialState: Ji,
|
|
4002
4002
|
extraReducers: (t) => t.addMatcher(
|
|
4003
|
-
R(
|
|
4003
|
+
R(k, F),
|
|
4004
4004
|
(s) => Object.assign(s, Ji)
|
|
4005
4005
|
),
|
|
4006
4006
|
reducers: {
|
|
@@ -4015,38 +4015,38 @@ const S = (
|
|
|
4015
4015
|
deleteWorkflowTypes: lt.deleteMany
|
|
4016
4016
|
}
|
|
4017
4017
|
}), {
|
|
4018
|
-
initializeWorkflowTypes:
|
|
4019
|
-
addWorkflowType:
|
|
4020
|
-
addWorkflowTypes:
|
|
4021
|
-
setWorkflowType:
|
|
4022
|
-
setWorkflowTypes:
|
|
4023
|
-
updateWorkflowType:
|
|
4024
|
-
updateWorkflowTypes:
|
|
4025
|
-
deleteWorkflowType:
|
|
4026
|
-
deleteWorkflowTypes:
|
|
4027
|
-
} = Wc.actions,
|
|
4028
|
-
[
|
|
4018
|
+
initializeWorkflowTypes: fg,
|
|
4019
|
+
addWorkflowType: yg,
|
|
4020
|
+
addWorkflowTypes: Sg,
|
|
4021
|
+
setWorkflowType: Ag,
|
|
4022
|
+
setWorkflowTypes: wg,
|
|
4023
|
+
updateWorkflowType: Og,
|
|
4024
|
+
updateWorkflowTypes: Tg,
|
|
4025
|
+
deleteWorkflowType: Ig,
|
|
4026
|
+
deleteWorkflowTypes: bg
|
|
4027
|
+
} = Wc.actions, _g = (t) => t.workflowTypeReducer.instances, Dc = m(
|
|
4028
|
+
[_g],
|
|
4029
4029
|
(t) => Object.values(t)
|
|
4030
|
-
),
|
|
4030
|
+
), kg = (t) => (s) => s.workflowTypeReducer.instances[t], gg = S(
|
|
4031
4031
|
m([Dc, (t, s) => s], (t, s) => {
|
|
4032
4032
|
const e = new Set(s);
|
|
4033
4033
|
return A(t.filter(({ uuid: i }) => e.has(i)));
|
|
4034
4034
|
})
|
|
4035
4035
|
), LR = S(
|
|
4036
4036
|
m([Dc, (t, s) => s], (t, s) => A(t.filter((e) => e.organization === s)))
|
|
4037
|
-
),
|
|
4037
|
+
), Pg = Wc.reducer, Mg = {
|
|
4038
4038
|
version: 0
|
|
4039
|
-
},
|
|
4039
|
+
}, Rg = g({
|
|
4040
4040
|
name: "versioning",
|
|
4041
|
-
initialState:
|
|
4041
|
+
initialState: Mg,
|
|
4042
4042
|
reducers: {}
|
|
4043
|
-
}),
|
|
4043
|
+
}), Fg = Rg.reducer, xc = {
|
|
4044
4044
|
outboxReducer: BT,
|
|
4045
4045
|
fileReducer: qf,
|
|
4046
4046
|
authReducer: Em
|
|
4047
|
-
}, NR = sn(xc),
|
|
4047
|
+
}, NR = sn(xc), Eg = {
|
|
4048
4048
|
...xc,
|
|
4049
|
-
[
|
|
4049
|
+
[gt]: Fg,
|
|
4050
4050
|
categoryReducer: Um,
|
|
4051
4051
|
assetReducer: Qu,
|
|
4052
4052
|
assetAttachmentReducer: Ko,
|
|
@@ -4056,7 +4056,7 @@ const S = (
|
|
|
4056
4056
|
assetTypeAttachmentReducer: zh,
|
|
4057
4057
|
issueReducer: EA,
|
|
4058
4058
|
issueAttachmentReducer: KS,
|
|
4059
|
-
issueTypeReducer:
|
|
4059
|
+
issueTypeReducer: gO,
|
|
4060
4060
|
issueTypeAttachmentReducer: LA,
|
|
4061
4061
|
organizationReducer: FT,
|
|
4062
4062
|
projectReducer: qI,
|
|
@@ -4065,7 +4065,7 @@ const S = (
|
|
|
4065
4065
|
organizationAccessReducer: pT,
|
|
4066
4066
|
projectFileReducer: bI,
|
|
4067
4067
|
rehydratedReducer: jI,
|
|
4068
|
-
formReducer:
|
|
4068
|
+
formReducer: Vy,
|
|
4069
4069
|
formRevisionReducer: Py,
|
|
4070
4070
|
formRevisionAttachmentReducer: Ay,
|
|
4071
4071
|
formSubmissionAttachmentReducer: Zy,
|
|
@@ -4077,12 +4077,12 @@ const S = (
|
|
|
4077
4077
|
documentsReducer: pf,
|
|
4078
4078
|
documentAttachmentReducer: sf,
|
|
4079
4079
|
teamReducer: lb,
|
|
4080
|
-
agentsReducer:
|
|
4080
|
+
agentsReducer: $o,
|
|
4081
4081
|
issueCommentReducer: wA,
|
|
4082
4082
|
issueCommentAttachmentReducer: cA,
|
|
4083
4083
|
issueUpdateReducer: GO,
|
|
4084
4084
|
geoImageReducer: IS,
|
|
4085
|
-
issueAssociationReducer:
|
|
4085
|
+
issueAssociationReducer: $S,
|
|
4086
4086
|
issueTypeFieldsReducer: Rw,
|
|
4087
4087
|
issueTypeFieldValuesReducer: yw,
|
|
4088
4088
|
issueTypeFieldsAttachmentReducer: iw,
|
|
@@ -4097,7 +4097,7 @@ const S = (
|
|
|
4097
4097
|
assetTypeIdentifierReducer: Lp,
|
|
4098
4098
|
assetTypeIdentifierValueReducer: im,
|
|
4099
4099
|
assetTypeStatusReducer: Rm,
|
|
4100
|
-
assetProcedureTypeReducer:
|
|
4100
|
+
assetProcedureTypeReducer: gl,
|
|
4101
4101
|
assetProcedureReducer: hl,
|
|
4102
4102
|
assetProcedureTypeFieldsReducer: Fd,
|
|
4103
4103
|
assetProcedureTypeFieldValuesReducer: tl,
|
|
@@ -4107,29 +4107,29 @@ const S = (
|
|
|
4107
4107
|
assetProcedureStepFieldsAttachmentReducer: xl,
|
|
4108
4108
|
assetProcedureStepFieldsReducer: eu,
|
|
4109
4109
|
assetProcedureStepFieldValuesAttachmentReducer: hu,
|
|
4110
|
-
assetProcedureStepFieldValuesReducer:
|
|
4110
|
+
assetProcedureStepFieldValuesReducer: ku,
|
|
4111
4111
|
assetProcedureStepReducer: Bu,
|
|
4112
4112
|
teamMembershipReducer: KI,
|
|
4113
|
-
workflowTypeReducer:
|
|
4114
|
-
workflowStepReducer:
|
|
4113
|
+
workflowTypeReducer: Pg,
|
|
4114
|
+
workflowStepReducer: lg,
|
|
4115
4115
|
workflowReducer: Ib,
|
|
4116
|
-
workflowStepFieldsReducer:
|
|
4117
|
-
workflowStepFieldsAttachmentReducer:
|
|
4116
|
+
workflowStepFieldsReducer: Ok,
|
|
4117
|
+
workflowStepFieldsAttachmentReducer: ok,
|
|
4118
4118
|
workflowStepFieldValuesReducer: Q_,
|
|
4119
4119
|
workflowStepFieldValuesAttachmentReducer: j_,
|
|
4120
4120
|
workflowStepAssigneeReducer: zb,
|
|
4121
|
-
workflowStepReviewRequestReducer:
|
|
4122
|
-
workflowStepReviewReducer:
|
|
4121
|
+
workflowStepReviewRequestReducer: Lk,
|
|
4122
|
+
workflowStepReviewReducer: sg,
|
|
4123
4123
|
workflowStepCompletionReducer: f_,
|
|
4124
4124
|
workflowStepCommentReducer: i_,
|
|
4125
4125
|
workflowStepCommentAttachmentReducer: Nb,
|
|
4126
|
-
workflowStepReviewerReducer:
|
|
4127
|
-
workflowStepEventReducer:
|
|
4128
|
-
}, HR = sn(
|
|
4126
|
+
workflowStepReviewerReducer: vk,
|
|
4127
|
+
workflowStepEventReducer: g_
|
|
4128
|
+
}, HR = sn(Eg), vg = 1e4, qg = 200, Uc = [400, 409, 403, 404, 405, 500], ut = 1e4, Lc = {};
|
|
4129
4129
|
class Nc {
|
|
4130
4130
|
constructor(s) {
|
|
4131
4131
|
h(this, "client");
|
|
4132
|
-
h(this, "pageSize",
|
|
4132
|
+
h(this, "pageSize", vg);
|
|
4133
4133
|
Lc[this.constructor.name] = this, this.client = s;
|
|
4134
4134
|
}
|
|
4135
4135
|
async performRequest(s, e) {
|
|
@@ -4146,37 +4146,37 @@ class Nc {
|
|
|
4146
4146
|
this.client.store.dispatch(s);
|
|
4147
4147
|
}
|
|
4148
4148
|
}
|
|
4149
|
-
const Hc = () => Kc.length - 1, Gc = (t) => (t[
|
|
4149
|
+
const Hc = () => Kc.length - 1, Gc = (t) => (t[gt] = { version: Hc() }, t), Xi = () => Gc({}), zg = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Bg = (t) => (s) => {
|
|
4150
4150
|
var e;
|
|
4151
|
-
return s === void 0 && (s = {}), ((e = s[
|
|
4152
|
-
}, Kc = [Gc, Xi, Xi,
|
|
4151
|
+
return s === void 0 && (s = {}), ((e = s[gt]) == null ? void 0 : e.version) === Hc() ? s : t(s);
|
|
4152
|
+
}, Kc = [Gc, Xi, Xi, zg], $g = Object.fromEntries(Kc.map((t, s) => [s, Bg(t)])), Vg = (t) => {
|
|
4153
4153
|
if (t) throw t;
|
|
4154
4154
|
const s = It();
|
|
4155
4155
|
s ? s.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }) : console.error("Client store not set");
|
|
4156
|
-
},
|
|
4156
|
+
}, jg = (t, s, e) => {
|
|
4157
4157
|
const i = yt();
|
|
4158
4158
|
return i ? (i.addRequest(s), i.getQueue()) : (console.warn("Outbox coordinator not set; cannot enqueue request yet."), []);
|
|
4159
|
-
},
|
|
4159
|
+
}, Cg = (t, s, e) => {
|
|
4160
4160
|
const i = yt();
|
|
4161
4161
|
if (!i)
|
|
4162
4162
|
return console.warn("Outbox coordinator not set; cannot dequeue request yet."), [];
|
|
4163
4163
|
const a = s.meta.offlineAction.payload.uuid;
|
|
4164
4164
|
return i.remove(a), i.getQueue();
|
|
4165
4165
|
};
|
|
4166
|
-
async function
|
|
4166
|
+
async function Wg(t, s) {
|
|
4167
4167
|
if (!s.payload)
|
|
4168
4168
|
throw new Error("Received empty payload");
|
|
4169
4169
|
return cP(s);
|
|
4170
4170
|
}
|
|
4171
|
-
const
|
|
4171
|
+
const Dg = {
|
|
4172
4172
|
...bs,
|
|
4173
|
-
effect:
|
|
4173
|
+
effect: Wg,
|
|
4174
4174
|
// Casting needed because we are saving FullOfflineAction objects, not just OfflineAction objects,
|
|
4175
4175
|
// but redux-offline does not know this.
|
|
4176
|
-
discard:
|
|
4176
|
+
discard: Lg,
|
|
4177
4177
|
returnPromises: !0,
|
|
4178
|
-
persistCallback:
|
|
4179
|
-
retry:
|
|
4178
|
+
persistCallback: Vg,
|
|
4179
|
+
retry: Hg,
|
|
4180
4180
|
// Modify the configuration of the offline store to use localforage
|
|
4181
4181
|
// which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
|
|
4182
4182
|
persistOptions: { storage: ao },
|
|
@@ -4185,13 +4185,13 @@ const Dk = {
|
|
|
4185
4185
|
// that same issue"
|
|
4186
4186
|
queue: {
|
|
4187
4187
|
...bs.queue,
|
|
4188
|
-
enqueue:
|
|
4189
|
-
dequeue:
|
|
4188
|
+
enqueue: jg,
|
|
4189
|
+
dequeue: Cg,
|
|
4190
4190
|
// Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
|
|
4191
|
-
peek: (...t) =>
|
|
4191
|
+
peek: (...t) => Ng(...t)
|
|
4192
4192
|
}
|
|
4193
|
-
},
|
|
4194
|
-
async function
|
|
4193
|
+
}, xg = ro($g, gt), GR = to(no(Dg), xg);
|
|
4194
|
+
async function Ug(t, s, e) {
|
|
4195
4195
|
if (s.store.getState().outboxReducer.deletedRequests.includes(t.payload.uuid))
|
|
4196
4196
|
throw new Error("Request was marked for deletion");
|
|
4197
4197
|
const n = Lc[t.meta.offline.effect.serviceName];
|
|
@@ -4205,7 +4205,7 @@ async function Uk(t, s, e) {
|
|
|
4205
4205
|
e
|
|
4206
4206
|
);
|
|
4207
4207
|
}
|
|
4208
|
-
function
|
|
4208
|
+
function Lg(t, s, e = 0) {
|
|
4209
4209
|
var r;
|
|
4210
4210
|
if (console.debug(
|
|
4211
4211
|
"Considering discarding request due to error:",
|
|
@@ -4250,15 +4250,15 @@ Action:`, s);
|
|
|
4250
4250
|
throw new Error("Outbox coordinator not set");
|
|
4251
4251
|
return o.registerRetry(s.payload.uuid), !1;
|
|
4252
4252
|
}
|
|
4253
|
-
function
|
|
4253
|
+
function Ng(t, s, e) {
|
|
4254
4254
|
var i;
|
|
4255
4255
|
return (i = yt()) == null ? void 0 : i.peek();
|
|
4256
4256
|
}
|
|
4257
|
-
function
|
|
4257
|
+
function Hg(t, s) {
|
|
4258
4258
|
return It().dispatch(zT((/* @__PURE__ */ new Date()).getTime())), wo;
|
|
4259
4259
|
}
|
|
4260
|
-
const Ot = "An unknown error occurred",
|
|
4261
|
-
function
|
|
4260
|
+
const Ot = "An unknown error occurred", Gg = 500, en = ["non_field_errors", "detail"];
|
|
4261
|
+
function Kg(t, s) {
|
|
4262
4262
|
let e;
|
|
4263
4263
|
if (t != null && t.body)
|
|
4264
4264
|
if (typeof t.body == "object") {
|
|
@@ -4278,7 +4278,7 @@ function Kk(t, s) {
|
|
|
4278
4278
|
}
|
|
4279
4279
|
} else typeof t.body == "string" && (e = t.body);
|
|
4280
4280
|
else t != null && t.text ? e = t.text : s instanceof Error && (e = s.message);
|
|
4281
|
-
return !e || e.length >
|
|
4281
|
+
return !e || e.length > Gg ? Ot : e;
|
|
4282
4282
|
}
|
|
4283
4283
|
class D extends Error {
|
|
4284
4284
|
constructor(e) {
|
|
@@ -4289,10 +4289,10 @@ class D extends Error {
|
|
|
4289
4289
|
h(this, "message");
|
|
4290
4290
|
h(this, "options");
|
|
4291
4291
|
const { response: i, innerError: n } = e;
|
|
4292
|
-
this.message = e.message ??
|
|
4292
|
+
this.message = e.message ?? Kg(i, n) ?? Ot, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, e.discard = e.discard ?? !1, this.options = e;
|
|
4293
4293
|
}
|
|
4294
4294
|
}
|
|
4295
|
-
function
|
|
4295
|
+
function Yg(t) {
|
|
4296
4296
|
function s(e) {
|
|
4297
4297
|
return typeof e == "object" && e !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((n) => n in e);
|
|
4298
4298
|
}
|
|
@@ -4303,7 +4303,7 @@ function Yk(t) {
|
|
|
4303
4303
|
if (e.response && s(e.response.response)) return e.response.response;
|
|
4304
4304
|
}
|
|
4305
4305
|
}
|
|
4306
|
-
class
|
|
4306
|
+
class Qg extends Nc {
|
|
4307
4307
|
constructor(s) {
|
|
4308
4308
|
super(s);
|
|
4309
4309
|
}
|
|
@@ -4431,7 +4431,7 @@ class E extends St {
|
|
|
4431
4431
|
class pt extends E {
|
|
4432
4432
|
constructor() {
|
|
4433
4433
|
super(...arguments);
|
|
4434
|
-
h(this, "pageSize",
|
|
4434
|
+
h(this, "pageSize", qg);
|
|
4435
4435
|
}
|
|
4436
4436
|
async _bulkAdd(e) {
|
|
4437
4437
|
var y;
|
|
@@ -4500,7 +4500,7 @@ class YR extends pt {
|
|
|
4500
4500
|
updateMany: xo,
|
|
4501
4501
|
deleteOne: Uo,
|
|
4502
4502
|
deleteMany: mn,
|
|
4503
|
-
initialize:
|
|
4503
|
+
initialize: Vo
|
|
4504
4504
|
});
|
|
4505
4505
|
h(this, "selectors", {
|
|
4506
4506
|
selectById: No,
|
|
@@ -4700,8 +4700,8 @@ class JR extends E {
|
|
|
4700
4700
|
addOne: Id,
|
|
4701
4701
|
addMany: bd,
|
|
4702
4702
|
setOne: _d,
|
|
4703
|
-
setMany:
|
|
4704
|
-
updateOne:
|
|
4703
|
+
setMany: kd,
|
|
4704
|
+
updateOne: gd,
|
|
4705
4705
|
updateMany: Pd,
|
|
4706
4706
|
deleteOne: Md,
|
|
4707
4707
|
deleteMany: Rd,
|
|
@@ -4762,8 +4762,8 @@ class XR extends E {
|
|
|
4762
4762
|
h(this, "actions", {
|
|
4763
4763
|
addOne: Bd,
|
|
4764
4764
|
addMany: In,
|
|
4765
|
-
setOne:
|
|
4766
|
-
setMany:
|
|
4765
|
+
setOne: $d,
|
|
4766
|
+
setMany: Vd,
|
|
4767
4767
|
updateOne: jd,
|
|
4768
4768
|
updateMany: Cd,
|
|
4769
4769
|
deleteOne: Wd,
|
|
@@ -4945,7 +4945,7 @@ class eF extends E {
|
|
|
4945
4945
|
return Promise.all(O).then((T) => {
|
|
4946
4946
|
this.dispatch(d(T.flat()));
|
|
4947
4947
|
}).catch(() => {
|
|
4948
|
-
this.dispatch(o(
|
|
4948
|
+
this.dispatch(o($(p)));
|
|
4949
4949
|
}), [p, O];
|
|
4950
4950
|
}
|
|
4951
4951
|
update(e) {
|
|
@@ -4980,7 +4980,7 @@ class eF extends E {
|
|
|
4980
4980
|
if (!o)
|
|
4981
4981
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
4982
4982
|
const r = Nd(e)(d);
|
|
4983
|
-
this.dispatch(n(e)), this.dispatch(bn(
|
|
4983
|
+
this.dispatch(n(e)), this.dispatch(bn($(r)));
|
|
4984
4984
|
try {
|
|
4985
4985
|
return await this.enqueueRequest({
|
|
4986
4986
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -5110,7 +5110,7 @@ class sF extends E {
|
|
|
5110
5110
|
addOne: Al,
|
|
5111
5111
|
addMany: wl,
|
|
5112
5112
|
setOne: _l,
|
|
5113
|
-
setMany:
|
|
5113
|
+
setMany: kl,
|
|
5114
5114
|
updateOne: Ol,
|
|
5115
5115
|
updateMany: Tl,
|
|
5116
5116
|
deleteOne: Il,
|
|
@@ -5172,7 +5172,7 @@ class sF extends E {
|
|
|
5172
5172
|
if (!o)
|
|
5173
5173
|
throw new Error(`Expected asset procedure type with uuid ${e} to exist`);
|
|
5174
5174
|
const r = ml(e)(d);
|
|
5175
|
-
this.dispatch(n(e)), this.dispatch(Mn(
|
|
5175
|
+
this.dispatch(n(e)), this.dispatch(Mn($(r)));
|
|
5176
5176
|
try {
|
|
5177
5177
|
return await this.enqueueRequest({
|
|
5178
5178
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -5208,8 +5208,8 @@ class iF extends E {
|
|
|
5208
5208
|
setOne: ql,
|
|
5209
5209
|
setMany: zl,
|
|
5210
5210
|
updateOne: Bl,
|
|
5211
|
-
updateMany:
|
|
5212
|
-
deleteOne:
|
|
5211
|
+
updateMany: $l,
|
|
5212
|
+
deleteOne: Vl,
|
|
5213
5213
|
deleteMany: jl,
|
|
5214
5214
|
initialize: Fl
|
|
5215
5215
|
});
|
|
@@ -5380,13 +5380,13 @@ class aF extends E {
|
|
|
5380
5380
|
h(this, "url", "/asset-procedure-step-field-values-attachments");
|
|
5381
5381
|
h(this, "actions", {
|
|
5382
5382
|
addOne: su,
|
|
5383
|
-
addMany:
|
|
5383
|
+
addMany: $n,
|
|
5384
5384
|
setOne: iu,
|
|
5385
5385
|
setMany: nu,
|
|
5386
5386
|
updateOne: au,
|
|
5387
5387
|
updateMany: ru,
|
|
5388
5388
|
deleteOne: cu,
|
|
5389
|
-
deleteMany:
|
|
5389
|
+
deleteMany: Vn,
|
|
5390
5390
|
initialize: tu
|
|
5391
5391
|
});
|
|
5392
5392
|
h(this, "selectors", {
|
|
@@ -5565,7 +5565,7 @@ class rF extends E {
|
|
|
5565
5565
|
return Promise.all(O).then((T) => {
|
|
5566
5566
|
this.dispatch(d(T.flat()));
|
|
5567
5567
|
}).catch(() => {
|
|
5568
|
-
this.dispatch(o(
|
|
5568
|
+
this.dispatch(o($(p)));
|
|
5569
5569
|
}), [p, O];
|
|
5570
5570
|
}
|
|
5571
5571
|
update(e) {
|
|
@@ -5601,7 +5601,7 @@ class rF extends E {
|
|
|
5601
5601
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
5602
5602
|
const r = uu(e)(d);
|
|
5603
5603
|
this.dispatch(n(e)), this.dispatch(
|
|
5604
|
-
$
|
|
5604
|
+
Vn($(r))
|
|
5605
5605
|
);
|
|
5606
5606
|
try {
|
|
5607
5607
|
return await this.enqueueRequest({
|
|
@@ -5612,7 +5612,7 @@ class rF extends E {
|
|
|
5612
5612
|
blocks: []
|
|
5613
5613
|
});
|
|
5614
5614
|
} catch (l) {
|
|
5615
|
-
throw this.dispatch(a(o)), this.dispatch(
|
|
5615
|
+
throw this.dispatch(a(o)), this.dispatch($n(r)), l;
|
|
5616
5616
|
}
|
|
5617
5617
|
}
|
|
5618
5618
|
async refreshStore(e, i) {
|
|
@@ -5642,11 +5642,11 @@ class cF extends E {
|
|
|
5642
5642
|
updateMany: vu,
|
|
5643
5643
|
deleteOne: qu,
|
|
5644
5644
|
deleteMany: zu,
|
|
5645
|
-
initialize:
|
|
5645
|
+
initialize: gu
|
|
5646
5646
|
});
|
|
5647
5647
|
h(this, "selectors", {
|
|
5648
|
-
selectById:
|
|
5649
|
-
selectByIds:
|
|
5648
|
+
selectById: $u,
|
|
5649
|
+
selectByIds: Vu
|
|
5650
5650
|
});
|
|
5651
5651
|
}
|
|
5652
5652
|
add(e) {
|
|
@@ -5702,7 +5702,7 @@ class cF extends E {
|
|
|
5702
5702
|
const { store: i } = this.client, { deleteMany: n, addMany: a, addOne: c, deleteOne: d } = this.actions, { selectById: o } = this.selectors, r = i.getState(), l = o(e)(r);
|
|
5703
5703
|
if (!l) throw new Error(`No asset procedure step with uuid ${e} found in the store`);
|
|
5704
5704
|
const p = ju(e)(r);
|
|
5705
|
-
this.dispatch(d(e)), this.dispatch(n(
|
|
5705
|
+
this.dispatch(d(e)), this.dispatch(n($(p)));
|
|
5706
5706
|
try {
|
|
5707
5707
|
return await this.enqueueRequest({
|
|
5708
5708
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -5797,7 +5797,7 @@ class oF extends E {
|
|
|
5797
5797
|
const { store: i } = this.client, { addOne: n, deleteOne: a } = this.actions, { selectById: c } = this.selectors, d = i.getState(), o = c(e)(d);
|
|
5798
5798
|
if (!o) throw new Error(`No asset with uuid ${e} found in the store`);
|
|
5799
5799
|
const r = Go(e)(d), l = BS(e)(d);
|
|
5800
|
-
this.dispatch(a(e)), this.dispatch(mn(
|
|
5800
|
+
this.dispatch(a(e)), this.dispatch(mn($(r))), this.dispatch(ns($(l)));
|
|
5801
5801
|
try {
|
|
5802
5802
|
return await this.enqueueRequest({
|
|
5803
5803
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -5843,7 +5843,7 @@ class oF extends E {
|
|
|
5843
5843
|
}), o;
|
|
5844
5844
|
}
|
|
5845
5845
|
bulkUpdate(e, i) {
|
|
5846
|
-
const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: c } = this.selectors, d =
|
|
5846
|
+
const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: c } = this.selectors, d = $(e).toSorted(Ut);
|
|
5847
5847
|
if (d.length !== e.length)
|
|
5848
5848
|
throw new Error("payloads contains duplicate uuids.");
|
|
5849
5849
|
const o = c(d)(n.getState()).toSorted(cn);
|
|
@@ -5861,7 +5861,7 @@ class oF extends E {
|
|
|
5861
5861
|
const l = ht(e, Math.min(i ?? e.length, ut)), p = [];
|
|
5862
5862
|
let f = null;
|
|
5863
5863
|
for (const y of l) {
|
|
5864
|
-
const O = mt(), b =
|
|
5864
|
+
const O = mt(), b = $(y), T = y.map(({ status: _ }) => _).filter(Boolean), I = this.enqueueRequest({
|
|
5865
5865
|
description: w(u.PATCH, this.name, !0),
|
|
5866
5866
|
method: u.PATCH,
|
|
5867
5867
|
url: `${this.url}/bulk/`,
|
|
@@ -6125,8 +6125,8 @@ class uF extends pt {
|
|
|
6125
6125
|
h(this, "actions", {
|
|
6126
6126
|
addOne: _h,
|
|
6127
6127
|
addMany: Qn,
|
|
6128
|
-
setOne:
|
|
6129
|
-
setMany:
|
|
6128
|
+
setOne: kh,
|
|
6129
|
+
setMany: gh,
|
|
6130
6130
|
updateOne: Ph,
|
|
6131
6131
|
updateMany: Mh,
|
|
6132
6132
|
deleteOne: Rh,
|
|
@@ -6185,8 +6185,8 @@ class hF extends E {
|
|
|
6185
6185
|
h(this, "name", "Asset Type Fields Attachment");
|
|
6186
6186
|
h(this, "url", "/asset-type-fields-attachments");
|
|
6187
6187
|
h(this, "actions", {
|
|
6188
|
-
addOne:
|
|
6189
|
-
addMany:
|
|
6188
|
+
addOne: $h,
|
|
6189
|
+
addMany: Vh,
|
|
6190
6190
|
setOne: jh,
|
|
6191
6191
|
setMany: Ch,
|
|
6192
6192
|
updateOne: Wh,
|
|
@@ -6429,8 +6429,8 @@ class fF extends E {
|
|
|
6429
6429
|
setOne: Ip,
|
|
6430
6430
|
setMany: bp,
|
|
6431
6431
|
updateOne: _p,
|
|
6432
|
-
updateMany:
|
|
6433
|
-
deleteOne:
|
|
6432
|
+
updateMany: kp,
|
|
6433
|
+
deleteOne: gp,
|
|
6434
6434
|
deleteMany: Pp,
|
|
6435
6435
|
initialize: wp
|
|
6436
6436
|
});
|
|
@@ -6501,7 +6501,7 @@ class fF extends E {
|
|
|
6501
6501
|
return Promise.all(y).then((b) => {
|
|
6502
6502
|
this.dispatch(d(b.flat()));
|
|
6503
6503
|
}).catch(() => {
|
|
6504
|
-
this.dispatch(o(
|
|
6504
|
+
this.dispatch(o($(l)));
|
|
6505
6505
|
}), [l, y];
|
|
6506
6506
|
}
|
|
6507
6507
|
update(e) {
|
|
@@ -6536,7 +6536,7 @@ class fF extends E {
|
|
|
6536
6536
|
if (!o)
|
|
6537
6537
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
6538
6538
|
const r = Sp(e)(d);
|
|
6539
|
-
this.dispatch(n(e)), this.dispatch(na(
|
|
6539
|
+
this.dispatch(n(e)), this.dispatch(na($(r)));
|
|
6540
6540
|
try {
|
|
6541
6541
|
return await this.enqueueRequest({
|
|
6542
6542
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -6571,8 +6571,8 @@ class yF extends E {
|
|
|
6571
6571
|
addOne: qp,
|
|
6572
6572
|
addMany: zp,
|
|
6573
6573
|
setOne: Bp,
|
|
6574
|
-
setMany:
|
|
6575
|
-
updateOne:
|
|
6574
|
+
setMany: $p,
|
|
6575
|
+
updateOne: Vp,
|
|
6576
6576
|
updateMany: jp,
|
|
6577
6577
|
deleteOne: Cp,
|
|
6578
6578
|
deleteMany: Wp,
|
|
@@ -6823,7 +6823,7 @@ class AF extends E {
|
|
|
6823
6823
|
if (!o)
|
|
6824
6824
|
throw new Error(`Expected asset type with uuid ${e} to exist`);
|
|
6825
6825
|
const r = Gu(e)(d), l = qh(e)(d);
|
|
6826
|
-
this.dispatch(n(e)), this.dispatch(Ln(
|
|
6826
|
+
this.dispatch(n(e)), this.dispatch(Ln($(r))), this.dispatch(Zn($(l)));
|
|
6827
6827
|
try {
|
|
6828
6828
|
return await this.enqueueRequest({
|
|
6829
6829
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -6861,7 +6861,7 @@ class wF extends E {
|
|
|
6861
6861
|
updateOne: Im,
|
|
6862
6862
|
updateMany: bm,
|
|
6863
6863
|
deleteOne: _m,
|
|
6864
|
-
deleteMany:
|
|
6864
|
+
deleteMany: km,
|
|
6865
6865
|
initialize: Sm
|
|
6866
6866
|
});
|
|
6867
6867
|
h(this, "selectors", {
|
|
@@ -6949,8 +6949,8 @@ class OF extends E {
|
|
|
6949
6949
|
addOne: qm,
|
|
6950
6950
|
addMany: zm,
|
|
6951
6951
|
setOne: Bm,
|
|
6952
|
-
setMany:
|
|
6953
|
-
updateOne:
|
|
6952
|
+
setMany: $m,
|
|
6953
|
+
updateOne: Vm,
|
|
6954
6954
|
updateMany: jm,
|
|
6955
6955
|
deleteOne: Cm,
|
|
6956
6956
|
deleteMany: Wm,
|
|
@@ -7226,7 +7226,7 @@ class IF extends E {
|
|
|
7226
7226
|
if (!l)
|
|
7227
7227
|
throw new Error(`attempting to delete a document with uuid ${e} that does not exist in store.documents`);
|
|
7228
7228
|
const p = yf(e)(r);
|
|
7229
|
-
this.dispatch(n(e)), this.dispatch(d(
|
|
7229
|
+
this.dispatch(n(e)), this.dispatch(d($(p)));
|
|
7230
7230
|
try {
|
|
7231
7231
|
return await this.enqueueRequest({
|
|
7232
7232
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -7298,7 +7298,7 @@ class bF extends Tt {
|
|
|
7298
7298
|
updateOne: If,
|
|
7299
7299
|
updateMany: bf,
|
|
7300
7300
|
deleteOne: _f,
|
|
7301
|
-
deleteMany:
|
|
7301
|
+
deleteMany: kf,
|
|
7302
7302
|
initialize: Sf
|
|
7303
7303
|
});
|
|
7304
7304
|
h(this, "selectors", {
|
|
@@ -7367,9 +7367,9 @@ class _F extends St {
|
|
|
7367
7367
|
}
|
|
7368
7368
|
}
|
|
7369
7369
|
const bt = {}, Bt = /* @__PURE__ */ new Set();
|
|
7370
|
-
let _t = 0,
|
|
7371
|
-
const
|
|
7372
|
-
class
|
|
7370
|
+
let _t = 0, $t = 0, Vt = 0;
|
|
7371
|
+
const Zg = 20;
|
|
7372
|
+
class kF extends St {
|
|
7373
7373
|
constructor() {
|
|
7374
7374
|
super(...arguments);
|
|
7375
7375
|
h(this, "host");
|
|
@@ -7384,7 +7384,7 @@ class gF extends St {
|
|
|
7384
7384
|
async renewUploadUrl(e) {
|
|
7385
7385
|
const i = await this.fetchCache(e);
|
|
7386
7386
|
if (!i) throw new Error(`File with sha1 ${e} not found in cache`);
|
|
7387
|
-
const n = await
|
|
7387
|
+
const n = await ks(i, e), a = await this.enqueueRequest({
|
|
7388
7388
|
description: "Get S3 URL",
|
|
7389
7389
|
method: u.GET,
|
|
7390
7390
|
url: "/authentication/files/presigned-upload-url/",
|
|
@@ -7415,8 +7415,8 @@ class gF extends St {
|
|
|
7415
7415
|
if (!e.name || !e.size || !e.type)
|
|
7416
7416
|
throw new Error("Cannot add files to cache that do not have a name, size and type.");
|
|
7417
7417
|
const n = await this._dbPromise;
|
|
7418
|
-
!!await n.get("files", i) ? (console.error("File already cached (this is unexpected at this point):", e.name, i), _t++) : (await n.put("files", e, i),
|
|
7419
|
-
`File cache summary: ${_t} hits and ${
|
|
7418
|
+
!!await n.get("files", i) ? (console.error("File already cached (this is unexpected at this point):", e.name, i), _t++) : (await n.put("files", e, i), $t++), Bt.add(i), Vt++, Vt % Zg === 0 && console.debug(
|
|
7419
|
+
`File cache summary: ${_t} hits and ${$t} misses, ${_t / (_t + $t) * 100}% hit rate over ${Vt} calls to addCache.`
|
|
7420
7420
|
);
|
|
7421
7421
|
}
|
|
7422
7422
|
async removeCache(e) {
|
|
@@ -7433,7 +7433,7 @@ class gF extends St {
|
|
|
7433
7433
|
async uploadFileToS3(e) {
|
|
7434
7434
|
const i = await this.fetchCache(e);
|
|
7435
7435
|
if (!i) throw new Error(`File with sha1 ${e} not found in cache`);
|
|
7436
|
-
const n = await
|
|
7436
|
+
const n = await ks(i, e), a = {
|
|
7437
7437
|
file_name: i.name,
|
|
7438
7438
|
file_sha1: e,
|
|
7439
7439
|
file: n
|
|
@@ -7474,7 +7474,7 @@ class gF extends St {
|
|
|
7474
7474
|
return c;
|
|
7475
7475
|
}
|
|
7476
7476
|
if (e.startsWith("blob:")) {
|
|
7477
|
-
const l = await
|
|
7477
|
+
const l = await go(e), p = new File([l], n ?? i, { type: l.type });
|
|
7478
7478
|
return await this.addCache(p, i), p;
|
|
7479
7479
|
}
|
|
7480
7480
|
let d = bt[a], o = !0;
|
|
@@ -7517,7 +7517,7 @@ class gF extends St {
|
|
|
7517
7517
|
if (!p)
|
|
7518
7518
|
throw new Error("File has no extension");
|
|
7519
7519
|
const f = n ?? l + "." + p;
|
|
7520
|
-
if (r =
|
|
7520
|
+
if (r = ko(r, f), !r.name)
|
|
7521
7521
|
throw new Error("Failed to set file's name");
|
|
7522
7522
|
await this.addCache(r, l), bt[a] = new Promise((y) => {
|
|
7523
7523
|
y(r);
|
|
@@ -7552,15 +7552,15 @@ class gF extends St {
|
|
|
7552
7552
|
return await this.client.files.addCache(e, i), n;
|
|
7553
7553
|
}
|
|
7554
7554
|
}
|
|
7555
|
-
class
|
|
7555
|
+
class gF extends E {
|
|
7556
7556
|
constructor() {
|
|
7557
7557
|
super(...arguments);
|
|
7558
7558
|
h(this, "name", "Form Identifier");
|
|
7559
7559
|
h(this, "url", "/form-identifiers");
|
|
7560
7560
|
h(this, "actions", {
|
|
7561
7561
|
addOne: Bf,
|
|
7562
|
-
addMany:
|
|
7563
|
-
setOne:
|
|
7562
|
+
addMany: $f,
|
|
7563
|
+
setOne: Vf,
|
|
7564
7564
|
setMany: jf,
|
|
7565
7565
|
updateOne: Cf,
|
|
7566
7566
|
updateMany: Wf,
|
|
@@ -7839,7 +7839,7 @@ class RF extends E {
|
|
|
7839
7839
|
});
|
|
7840
7840
|
h(this, "selectors", {
|
|
7841
7841
|
selectById: _y,
|
|
7842
|
-
selectByIds:
|
|
7842
|
+
selectByIds: ky
|
|
7843
7843
|
});
|
|
7844
7844
|
}
|
|
7845
7845
|
add(e) {
|
|
@@ -7889,7 +7889,7 @@ class FF extends E {
|
|
|
7889
7889
|
updateOne: qy,
|
|
7890
7890
|
updateMany: zy,
|
|
7891
7891
|
deleteOne: By,
|
|
7892
|
-
deleteMany:
|
|
7892
|
+
deleteMany: $y,
|
|
7893
7893
|
initialize: My
|
|
7894
7894
|
});
|
|
7895
7895
|
h(this, "selectors", {
|
|
@@ -7935,8 +7935,8 @@ class FF extends E {
|
|
|
7935
7935
|
const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: c } = this.selectors, d = i.getState(), o = c(e)(d);
|
|
7936
7936
|
if (!o)
|
|
7937
7937
|
throw new Error("Expected form to exist");
|
|
7938
|
-
const r = oS(e)(d), l =
|
|
7939
|
-
this.dispatch(n(e)), this.dispatch(Na(
|
|
7938
|
+
const r = oS(e)(d), l = gy(e)(d);
|
|
7939
|
+
this.dispatch(n(e)), this.dispatch(Na($(r))), this.dispatch(qa($(l)));
|
|
7940
7940
|
try {
|
|
7941
7941
|
return await this.enqueueRequest({
|
|
7942
7942
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -8125,7 +8125,7 @@ class vF extends E {
|
|
|
8125
8125
|
if (!o)
|
|
8126
8126
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
8127
8127
|
const r = Qy(e)(d);
|
|
8128
|
-
this.dispatch(n(e)), this.dispatch(Ca(
|
|
8128
|
+
this.dispatch(n(e)), this.dispatch(Ca($(r)));
|
|
8129
8129
|
try {
|
|
8130
8130
|
return await this.enqueueRequest({
|
|
8131
8131
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -8317,9 +8317,9 @@ class zF extends E {
|
|
|
8317
8317
|
h(this, "actions", {
|
|
8318
8318
|
addOne: MS,
|
|
8319
8319
|
addMany: is,
|
|
8320
|
-
setOne:
|
|
8320
|
+
setOne: kS,
|
|
8321
8321
|
setMany: _S,
|
|
8322
|
-
updateOne:
|
|
8322
|
+
updateOne: gS,
|
|
8323
8323
|
updateMany: PS,
|
|
8324
8324
|
deleteOne: RS,
|
|
8325
8325
|
deleteMany: ns,
|
|
@@ -8399,7 +8399,7 @@ class BF extends pt {
|
|
|
8399
8399
|
updateMany: xS,
|
|
8400
8400
|
deleteOne: US,
|
|
8401
8401
|
deleteMany: Ja,
|
|
8402
|
-
initialize:
|
|
8402
|
+
initialize: VS
|
|
8403
8403
|
});
|
|
8404
8404
|
h(this, "selectors", {
|
|
8405
8405
|
selectById: HS,
|
|
@@ -8447,7 +8447,7 @@ class BF extends pt {
|
|
|
8447
8447
|
return this.dispatch(n(c)), c;
|
|
8448
8448
|
}
|
|
8449
8449
|
}
|
|
8450
|
-
class
|
|
8450
|
+
class $F extends pt {
|
|
8451
8451
|
constructor() {
|
|
8452
8452
|
super(...arguments);
|
|
8453
8453
|
h(this, "name", "Issue Comment Attachment");
|
|
@@ -8509,7 +8509,7 @@ class VF extends pt {
|
|
|
8509
8509
|
return this.dispatch(n(c)), c;
|
|
8510
8510
|
}
|
|
8511
8511
|
}
|
|
8512
|
-
class
|
|
8512
|
+
class VF extends E {
|
|
8513
8513
|
constructor() {
|
|
8514
8514
|
super(...arguments);
|
|
8515
8515
|
h(this, "name", "Issue Comment");
|
|
@@ -8614,8 +8614,8 @@ class jF extends E {
|
|
|
8614
8614
|
setOne: IA,
|
|
8615
8615
|
setMany: bA,
|
|
8616
8616
|
updateOne: _A,
|
|
8617
|
-
updateMany:
|
|
8618
|
-
deleteOne:
|
|
8617
|
+
updateMany: kA,
|
|
8618
|
+
deleteOne: gA,
|
|
8619
8619
|
deleteMany: rr,
|
|
8620
8620
|
initialize: OA
|
|
8621
8621
|
});
|
|
@@ -8730,7 +8730,7 @@ class jF extends E {
|
|
|
8730
8730
|
issue: c.uuid,
|
|
8731
8731
|
changes: o
|
|
8732
8732
|
});
|
|
8733
|
-
this.dispatch(
|
|
8733
|
+
this.dispatch(gr(r));
|
|
8734
8734
|
const l = this.enqueueRequest({
|
|
8735
8735
|
description: w(u.PATCH, this.name, !1),
|
|
8736
8736
|
method: u.PATCH,
|
|
@@ -8746,7 +8746,7 @@ class jF extends E {
|
|
|
8746
8746
|
}), [d, l];
|
|
8747
8747
|
}
|
|
8748
8748
|
bulkUpdate(e, i) {
|
|
8749
|
-
const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: c } = this.selectors, d =
|
|
8749
|
+
const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: c } = this.selectors, d = $(e).toSorted(Ut);
|
|
8750
8750
|
if (d.length !== e.length)
|
|
8751
8751
|
throw new Error("payloads contains duplicate uuids.");
|
|
8752
8752
|
const o = c(d)(n.getState()).toSorted(cn);
|
|
@@ -8764,7 +8764,7 @@ class jF extends E {
|
|
|
8764
8764
|
const l = ht(e, Math.min(i ?? e.length, ut)), p = [];
|
|
8765
8765
|
let f = null;
|
|
8766
8766
|
for (const y of l) {
|
|
8767
|
-
const O = mt(), b =
|
|
8767
|
+
const O = mt(), b = $(y), T = y.map(({ status: v }) => v).filter(Boolean), I = y.map(({ category: v }) => v).filter(Boolean), _ = this.enqueueRequest({
|
|
8768
8768
|
description: w(u.PATCH, this.name, !0),
|
|
8769
8769
|
method: u.PATCH,
|
|
8770
8770
|
url: `${this.url}/bulk/`,
|
|
@@ -8792,7 +8792,7 @@ class jF extends E {
|
|
|
8792
8792
|
for (const y of zS(e)(d))
|
|
8793
8793
|
p[y.uuid] = y;
|
|
8794
8794
|
const f = Object.values(p);
|
|
8795
|
-
this.dispatch(n(e)), this.dispatch(Ja(
|
|
8795
|
+
this.dispatch(n(e)), this.dispatch(Ja($(r))), this.dispatch(Rr($(l))), this.dispatch(ns($(f)));
|
|
8796
8796
|
try {
|
|
8797
8797
|
return await this.enqueueRequest({
|
|
8798
8798
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -8826,8 +8826,8 @@ class CF extends pt {
|
|
|
8826
8826
|
addOne: qA,
|
|
8827
8827
|
addMany: zA,
|
|
8828
8828
|
setOne: BA,
|
|
8829
|
-
setMany:
|
|
8830
|
-
updateOne:
|
|
8829
|
+
setMany: $A,
|
|
8830
|
+
updateOne: VA,
|
|
8831
8831
|
updateMany: jA,
|
|
8832
8832
|
deleteOne: CA,
|
|
8833
8833
|
deleteMany: WA,
|
|
@@ -8971,7 +8971,7 @@ class DF extends E {
|
|
|
8971
8971
|
updateOne: Iw,
|
|
8972
8972
|
updateMany: bw,
|
|
8973
8973
|
deleteOne: _w,
|
|
8974
|
-
deleteMany:
|
|
8974
|
+
deleteMany: kw,
|
|
8975
8975
|
initialize: Sw
|
|
8976
8976
|
});
|
|
8977
8977
|
h(this, "selectors", {
|
|
@@ -9025,7 +9025,7 @@ class xF extends E {
|
|
|
9025
9025
|
setMany: qw,
|
|
9026
9026
|
updateOne: zw,
|
|
9027
9027
|
updateMany: Bw,
|
|
9028
|
-
deleteOne:
|
|
9028
|
+
deleteOne: $w,
|
|
9029
9029
|
deleteMany: fr,
|
|
9030
9030
|
initialize: Fw
|
|
9031
9031
|
});
|
|
@@ -9182,7 +9182,7 @@ class UF extends E {
|
|
|
9182
9182
|
if (!o)
|
|
9183
9183
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
9184
9184
|
const r = Ww(e)(d);
|
|
9185
|
-
this.dispatch(n(e)), this.dispatch(fr(
|
|
9185
|
+
this.dispatch(n(e)), this.dispatch(fr($(r)));
|
|
9186
9186
|
try {
|
|
9187
9187
|
return await this.enqueueRequest({
|
|
9188
9188
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -9416,7 +9416,7 @@ class HF extends E {
|
|
|
9416
9416
|
});
|
|
9417
9417
|
h(this, "selectors", {
|
|
9418
9418
|
selectById: _O,
|
|
9419
|
-
selectByIds:
|
|
9419
|
+
selectByIds: kO
|
|
9420
9420
|
});
|
|
9421
9421
|
}
|
|
9422
9422
|
add(e) {
|
|
@@ -9467,7 +9467,7 @@ class HF extends E {
|
|
|
9467
9467
|
if (!o)
|
|
9468
9468
|
throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
|
|
9469
9469
|
const r = FA(e)(d);
|
|
9470
|
-
this.dispatch(n(e)), this.dispatch(rr(
|
|
9470
|
+
this.dispatch(n(e)), this.dispatch(rr($(r)));
|
|
9471
9471
|
try {
|
|
9472
9472
|
return await this.enqueueRequest({
|
|
9473
9473
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -9510,7 +9510,7 @@ class GF extends E {
|
|
|
9510
9510
|
});
|
|
9511
9511
|
h(this, "selectors", {
|
|
9512
9512
|
selectById: _r,
|
|
9513
|
-
selectByIds:
|
|
9513
|
+
selectByIds: VO
|
|
9514
9514
|
});
|
|
9515
9515
|
}
|
|
9516
9516
|
add(e) {
|
|
@@ -9590,7 +9590,7 @@ class KF extends E {
|
|
|
9590
9590
|
h(this, "name", "Issue Update");
|
|
9591
9591
|
h(this, "url", "/issue-updates");
|
|
9592
9592
|
h(this, "actions", {
|
|
9593
|
-
addOne:
|
|
9593
|
+
addOne: gr,
|
|
9594
9594
|
addMany: Pr,
|
|
9595
9595
|
setOne: WO,
|
|
9596
9596
|
setMany: DO,
|
|
@@ -9617,13 +9617,13 @@ class KF extends E {
|
|
|
9617
9617
|
return this.dispatch(n(c)), c;
|
|
9618
9618
|
}
|
|
9619
9619
|
}
|
|
9620
|
-
const
|
|
9621
|
-
function
|
|
9620
|
+
const Jg = 1800;
|
|
9621
|
+
function Xg(t) {
|
|
9622
9622
|
if (!t.access) throw new Error("Missing access token");
|
|
9623
9623
|
if (!t.refresh) throw new Error("Missing refresh token");
|
|
9624
9624
|
return { accessToken: t.access, refreshToken: t.refresh };
|
|
9625
9625
|
}
|
|
9626
|
-
class YF extends
|
|
9626
|
+
class YF extends Qg {
|
|
9627
9627
|
constructor() {
|
|
9628
9628
|
super(...arguments);
|
|
9629
9629
|
// _getTokenPair and _getRenewedTokens don't need to use enqueueRequest from the BaseApiService because
|
|
@@ -9659,7 +9659,7 @@ class YF extends Qk {
|
|
|
9659
9659
|
* Logs the user out
|
|
9660
9660
|
*/
|
|
9661
9661
|
clearAuth() {
|
|
9662
|
-
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(Fm(!1)), this.clearTokens(), this.dispatch(
|
|
9662
|
+
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(Fm(!1)), this.clearTokens(), this.dispatch(k()), this.dispatch(k());
|
|
9663
9663
|
}
|
|
9664
9664
|
/**
|
|
9665
9665
|
* Attempts to renew tokens
|
|
@@ -9689,7 +9689,7 @@ class YF extends Qk {
|
|
|
9689
9689
|
} catch {
|
|
9690
9690
|
n = i;
|
|
9691
9691
|
}
|
|
9692
|
-
return n - i <
|
|
9692
|
+
return n - i < Jg;
|
|
9693
9693
|
}
|
|
9694
9694
|
getAuthHeader() {
|
|
9695
9695
|
return `Bearer ${this.getAccessToken()}`;
|
|
@@ -9732,7 +9732,7 @@ class YF extends Qk {
|
|
|
9732
9732
|
isAuthNeeded: !1,
|
|
9733
9733
|
checkAuth: !1
|
|
9734
9734
|
}).then((n) => {
|
|
9735
|
-
this.setTokens(
|
|
9735
|
+
this.setTokens(Xg(n));
|
|
9736
9736
|
});
|
|
9737
9737
|
}
|
|
9738
9738
|
}
|
|
@@ -9818,7 +9818,7 @@ class ZF extends Tt {
|
|
|
9818
9818
|
updateOne: bT,
|
|
9819
9819
|
updateMany: IT,
|
|
9820
9820
|
deleteOne: _T,
|
|
9821
|
-
deleteMany:
|
|
9821
|
+
deleteMany: kT,
|
|
9822
9822
|
initialize: ST
|
|
9823
9823
|
});
|
|
9824
9824
|
h(this, "selectors", {
|
|
@@ -9868,7 +9868,7 @@ class JF extends E {
|
|
|
9868
9868
|
h(this, "name", "Project Access");
|
|
9869
9869
|
h(this, "url", "/project-accesses");
|
|
9870
9870
|
h(this, "actions", {
|
|
9871
|
-
addOne:
|
|
9871
|
+
addOne: VT,
|
|
9872
9872
|
addMany: jT,
|
|
9873
9873
|
setOne: CT,
|
|
9874
9874
|
setMany: WT,
|
|
@@ -9876,7 +9876,7 @@ class JF extends E {
|
|
|
9876
9876
|
updateMany: xT,
|
|
9877
9877
|
deleteOne: UT,
|
|
9878
9878
|
deleteMany: LT,
|
|
9879
|
-
initialize:
|
|
9879
|
+
initialize: $T
|
|
9880
9880
|
});
|
|
9881
9881
|
h(this, "selectors", {
|
|
9882
9882
|
selectById: HT,
|
|
@@ -10151,8 +10151,8 @@ class tE extends Tt {
|
|
|
10151
10151
|
h(this, "actions", {
|
|
10152
10152
|
addOne: MI,
|
|
10153
10153
|
addMany: PI,
|
|
10154
|
-
setOne:
|
|
10155
|
-
setMany:
|
|
10154
|
+
setOne: gI,
|
|
10155
|
+
setMany: kI,
|
|
10156
10156
|
updateOne: FI,
|
|
10157
10157
|
updateMany: RI,
|
|
10158
10158
|
deleteOne: EI,
|
|
@@ -10161,7 +10161,7 @@ class tE extends Tt {
|
|
|
10161
10161
|
});
|
|
10162
10162
|
h(this, "selectors", {
|
|
10163
10163
|
selectById: BI,
|
|
10164
|
-
selectByIds:
|
|
10164
|
+
selectByIds: $I
|
|
10165
10165
|
});
|
|
10166
10166
|
}
|
|
10167
10167
|
async add(e) {
|
|
@@ -10498,12 +10498,12 @@ class aE extends E {
|
|
|
10498
10498
|
const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: c } = this.selectors, d = i.getState(), o = c(e)(d);
|
|
10499
10499
|
if (!o)
|
|
10500
10500
|
throw new Error(`Expected workflow with uuid ${e} to exist`);
|
|
10501
|
-
const r = G_(e)(d), l = qb(e)(d), p =
|
|
10501
|
+
const r = G_(e)(d), l = qb(e)(d), p = Ek(e)(d), f = Uk(e)(d), y = tg(e)(d), O = m_(e)(d), b = s_(e)(d), T = k_(e)(d), I = {};
|
|
10502
10502
|
for (const v of b)
|
|
10503
10503
|
for (const z of ic(v.uuid)(d))
|
|
10504
10504
|
I[z.uuid] = z;
|
|
10505
10505
|
const _ = Object.values(I);
|
|
10506
|
-
this.dispatch(n(e)), this.dispatch(Oc(
|
|
10506
|
+
this.dispatch(n(e)), this.dispatch(Oc($(r))), this.dispatch(ec($(l))), this.dispatch(Rc($(p))), this.dispatch(vc($(f))), this.dispatch(Bc($(y))), this.dispatch(dc($(O))), this.dispatch(hc($(T))), this.dispatch(rc($(b))), this.dispatch(fs($(_)));
|
|
10507
10507
|
try {
|
|
10508
10508
|
return await this.enqueueRequest({
|
|
10509
10509
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -10536,8 +10536,8 @@ class rE extends E {
|
|
|
10536
10536
|
h(this, "actions", {
|
|
10537
10537
|
addOne: _b,
|
|
10538
10538
|
addMany: Xr,
|
|
10539
|
-
setOne:
|
|
10540
|
-
setMany:
|
|
10539
|
+
setOne: kb,
|
|
10540
|
+
setMany: gb,
|
|
10541
10541
|
updateOne: Pb,
|
|
10542
10542
|
updateMany: Mb,
|
|
10543
10543
|
deleteOne: Rb,
|
|
@@ -10571,6 +10571,32 @@ class rE extends E {
|
|
|
10571
10571
|
this.dispatch(c(r.uuid));
|
|
10572
10572
|
}), [r, l];
|
|
10573
10573
|
}
|
|
10574
|
+
bulkAdd(e) {
|
|
10575
|
+
var p;
|
|
10576
|
+
const { store: i } = this.client, { addMany: n, setMany: a, deleteMany: c } = this.actions, d = ((p = i.getState().userReducer.currentUser) == null ? void 0 : p.id) ?? null, o = (/* @__PURE__ */ new Date()).toISOString(), r = e.map((f) => P({ ...f, submitted_at: o, created_by: d }));
|
|
10577
|
+
this.dispatch(n(r));
|
|
10578
|
+
const l = this.enqueueRequest({
|
|
10579
|
+
description: w(u.POST, this.name, !0),
|
|
10580
|
+
method: u.POST,
|
|
10581
|
+
url: `${this.url}/bulk/`,
|
|
10582
|
+
payload: {
|
|
10583
|
+
// TODO: should just be payloads
|
|
10584
|
+
assignees: r.map((f) => q(f))
|
|
10585
|
+
},
|
|
10586
|
+
blockers: r.flatMap((f) => [
|
|
10587
|
+
f.workflow,
|
|
10588
|
+
f.workflow_step
|
|
10589
|
+
]),
|
|
10590
|
+
blocks: r.map((f) => f.uuid)
|
|
10591
|
+
});
|
|
10592
|
+
return l.then((f) => {
|
|
10593
|
+
this.dispatch(a(f));
|
|
10594
|
+
}).catch(() => {
|
|
10595
|
+
this.dispatch(
|
|
10596
|
+
c(r.map((f) => f.uuid))
|
|
10597
|
+
);
|
|
10598
|
+
}), [r, l];
|
|
10599
|
+
}
|
|
10574
10600
|
update(e) {
|
|
10575
10601
|
const { store: i } = this.client, { setOne: n } = this.actions, { selectById: a } = this.selectors, c = a(e.uuid)(i.getState());
|
|
10576
10602
|
if (!c)
|
|
@@ -10611,6 +10637,22 @@ class rE extends E {
|
|
|
10611
10637
|
throw this.dispatch(a(o)), r;
|
|
10612
10638
|
}
|
|
10613
10639
|
}
|
|
10640
|
+
async bulkDelete(e) {
|
|
10641
|
+
const { store: i } = this.client, { deleteMany: n, addMany: a } = this.actions, { selectByIds: c } = this.selectors, d = i.getState(), o = c(e)(d);
|
|
10642
|
+
this.dispatch(n(e));
|
|
10643
|
+
try {
|
|
10644
|
+
return await this.enqueueRequest({
|
|
10645
|
+
description: w(u.DELETE, this.name, !0),
|
|
10646
|
+
method: u.DELETE,
|
|
10647
|
+
url: `${this.url}/bulk/`,
|
|
10648
|
+
payload: { uuids: e },
|
|
10649
|
+
blockers: e,
|
|
10650
|
+
blocks: []
|
|
10651
|
+
});
|
|
10652
|
+
} catch (r) {
|
|
10653
|
+
throw this.dispatch(a(o)), r;
|
|
10654
|
+
}
|
|
10655
|
+
}
|
|
10614
10656
|
async refreshStore(e, i) {
|
|
10615
10657
|
const { initialize: n } = this.actions, c = (await this.listPaginated(
|
|
10616
10658
|
{
|
|
@@ -10629,9 +10671,9 @@ class cE extends pt {
|
|
|
10629
10671
|
h(this, "name", "Workflow Step Comment Attachment");
|
|
10630
10672
|
h(this, "url", "/workflow-step-comment-attachments");
|
|
10631
10673
|
h(this, "actions", {
|
|
10632
|
-
addOne:
|
|
10674
|
+
addOne: $b,
|
|
10633
10675
|
addMany: ms,
|
|
10634
|
-
setOne:
|
|
10676
|
+
setOne: Vb,
|
|
10635
10677
|
setMany: jb,
|
|
10636
10678
|
updateOne: Cb,
|
|
10637
10679
|
updateMany: Wb,
|
|
@@ -10756,7 +10798,7 @@ class oE extends E {
|
|
|
10756
10798
|
if (!d)
|
|
10757
10799
|
throw new Error(`Comment with uuid ${e} not found in store`);
|
|
10758
10800
|
const o = ic(e)(i.getState());
|
|
10759
|
-
this.dispatch(n(e)), this.dispatch(fs(
|
|
10801
|
+
this.dispatch(n(e)), this.dispatch(fs($(o)));
|
|
10760
10802
|
try {
|
|
10761
10803
|
return await this.enqueueRequest({
|
|
10762
10804
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -10927,7 +10969,7 @@ class uE extends E {
|
|
|
10927
10969
|
});
|
|
10928
10970
|
h(this, "selectors", {
|
|
10929
10971
|
selectById: B_,
|
|
10930
|
-
selectByIds:
|
|
10972
|
+
selectByIds: $_
|
|
10931
10973
|
});
|
|
10932
10974
|
}
|
|
10933
10975
|
async bulkAdd(e) {
|
|
@@ -11080,8 +11122,8 @@ class hE extends E {
|
|
|
11080
11122
|
const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: c } = this.selectors, d = i.getState(), o = c(e)(d);
|
|
11081
11123
|
if (!o)
|
|
11082
11124
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
11083
|
-
const r =
|
|
11084
|
-
this.dispatch(n(e)), this.dispatch(yc(
|
|
11125
|
+
const r = V_(e)(d);
|
|
11126
|
+
this.dispatch(n(e)), this.dispatch(yc($(r)));
|
|
11085
11127
|
try {
|
|
11086
11128
|
return await this.enqueueRequest({
|
|
11087
11129
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -11116,16 +11158,16 @@ class pE extends E {
|
|
|
11116
11158
|
addOne: J_,
|
|
11117
11159
|
addMany: Ic,
|
|
11118
11160
|
setOne: X_,
|
|
11119
|
-
setMany:
|
|
11120
|
-
updateOne:
|
|
11121
|
-
updateMany:
|
|
11122
|
-
deleteOne:
|
|
11161
|
+
setMany: ek,
|
|
11162
|
+
updateOne: tk,
|
|
11163
|
+
updateMany: sk,
|
|
11164
|
+
deleteOne: ik,
|
|
11123
11165
|
deleteMany: bc,
|
|
11124
11166
|
initialize: Z_
|
|
11125
11167
|
});
|
|
11126
11168
|
h(this, "selectors", {
|
|
11127
|
-
selectById:
|
|
11128
|
-
selectByIds:
|
|
11169
|
+
selectById: rk,
|
|
11170
|
+
selectByIds: ck
|
|
11129
11171
|
});
|
|
11130
11172
|
}
|
|
11131
11173
|
async bulkAdd(e) {
|
|
@@ -11192,19 +11234,19 @@ class mE extends E {
|
|
|
11192
11234
|
h(this, "name", "Workflow Step Fields");
|
|
11193
11235
|
h(this, "url", "/workflow-step-fields");
|
|
11194
11236
|
h(this, "actions", {
|
|
11195
|
-
addOne:
|
|
11196
|
-
addMany:
|
|
11197
|
-
setOne:
|
|
11198
|
-
setMany:
|
|
11199
|
-
updateOne:
|
|
11200
|
-
updateMany:
|
|
11201
|
-
deleteOne:
|
|
11202
|
-
deleteMany:
|
|
11203
|
-
initialize:
|
|
11237
|
+
addOne: lk,
|
|
11238
|
+
addMany: uk,
|
|
11239
|
+
setOne: hk,
|
|
11240
|
+
setMany: pk,
|
|
11241
|
+
updateOne: mk,
|
|
11242
|
+
updateMany: fk,
|
|
11243
|
+
deleteOne: yk,
|
|
11244
|
+
deleteMany: Sk,
|
|
11245
|
+
initialize: dk
|
|
11204
11246
|
});
|
|
11205
11247
|
h(this, "selectors", {
|
|
11206
|
-
selectById:
|
|
11207
|
-
selectByIds:
|
|
11248
|
+
selectById: Ak,
|
|
11249
|
+
selectByIds: wk
|
|
11208
11250
|
});
|
|
11209
11251
|
}
|
|
11210
11252
|
add(e) {
|
|
@@ -11256,8 +11298,8 @@ class mE extends E {
|
|
|
11256
11298
|
const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, c = i.getState().workflowStepFieldsReducer.instances[e];
|
|
11257
11299
|
if (!c)
|
|
11258
11300
|
throw new Error(`WorkflowStepFields with uuid ${e} not found`);
|
|
11259
|
-
const d =
|
|
11260
|
-
this.dispatch(n(e)), this.dispatch(bc(
|
|
11301
|
+
const d = ak(e)(i.getState());
|
|
11302
|
+
this.dispatch(n(e)), this.dispatch(bc($(d)));
|
|
11261
11303
|
try {
|
|
11262
11304
|
return await this.enqueueRequest({
|
|
11263
11305
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -11288,19 +11330,19 @@ class fE extends E {
|
|
|
11288
11330
|
h(this, "name", "Workflow Step Reviewer");
|
|
11289
11331
|
h(this, "url", "/workflow-step-reviewers");
|
|
11290
11332
|
h(this, "actions", {
|
|
11291
|
-
addOne:
|
|
11333
|
+
addOne: Ik,
|
|
11292
11334
|
addMany: Mc,
|
|
11293
|
-
setOne:
|
|
11294
|
-
setMany:
|
|
11295
|
-
updateOne:
|
|
11296
|
-
updateMany:
|
|
11297
|
-
deleteOne:
|
|
11335
|
+
setOne: bk,
|
|
11336
|
+
setMany: _k,
|
|
11337
|
+
updateOne: kk,
|
|
11338
|
+
updateMany: gk,
|
|
11339
|
+
deleteOne: Pk,
|
|
11298
11340
|
deleteMany: Rc,
|
|
11299
|
-
initialize:
|
|
11341
|
+
initialize: Tk
|
|
11300
11342
|
});
|
|
11301
11343
|
h(this, "selectors", {
|
|
11302
|
-
selectById:
|
|
11303
|
-
selectByIds:
|
|
11344
|
+
selectById: Rk,
|
|
11345
|
+
selectByIds: Fk
|
|
11304
11346
|
});
|
|
11305
11347
|
}
|
|
11306
11348
|
add(e) {
|
|
@@ -11325,6 +11367,32 @@ class fE extends E {
|
|
|
11325
11367
|
this.dispatch(c(r.uuid));
|
|
11326
11368
|
}), [r, l];
|
|
11327
11369
|
}
|
|
11370
|
+
bulkAdd(e) {
|
|
11371
|
+
var p;
|
|
11372
|
+
const { store: i } = this.client, { addMany: n, setMany: a, deleteMany: c } = this.actions, d = ((p = i.getState().userReducer.currentUser) == null ? void 0 : p.id) ?? null, o = (/* @__PURE__ */ new Date()).toISOString(), r = e.map((f) => P({ ...f, submitted_at: o, created_by: d }));
|
|
11373
|
+
this.dispatch(n(r));
|
|
11374
|
+
const l = this.enqueueRequest({
|
|
11375
|
+
description: w(u.POST, this.name, !0),
|
|
11376
|
+
method: u.POST,
|
|
11377
|
+
url: `${this.url}/bulk/`,
|
|
11378
|
+
payload: {
|
|
11379
|
+
// TODO: should just be payloads
|
|
11380
|
+
reviewers: r.map((f) => q(f))
|
|
11381
|
+
},
|
|
11382
|
+
blockers: r.flatMap((f) => [
|
|
11383
|
+
f.workflow,
|
|
11384
|
+
f.workflow_step
|
|
11385
|
+
]),
|
|
11386
|
+
blocks: r.map((f) => f.uuid)
|
|
11387
|
+
});
|
|
11388
|
+
return l.then((f) => {
|
|
11389
|
+
this.dispatch(a(f));
|
|
11390
|
+
}).catch(() => {
|
|
11391
|
+
this.dispatch(
|
|
11392
|
+
c(r.map((f) => f.uuid))
|
|
11393
|
+
);
|
|
11394
|
+
}), [r, l];
|
|
11395
|
+
}
|
|
11328
11396
|
update(e) {
|
|
11329
11397
|
const { store: i } = this.client, { setOne: n } = this.actions, { selectById: a } = this.selectors, c = a(e.uuid)(i.getState());
|
|
11330
11398
|
if (!c)
|
|
@@ -11365,6 +11433,22 @@ class fE extends E {
|
|
|
11365
11433
|
throw this.dispatch(a(o)), r;
|
|
11366
11434
|
}
|
|
11367
11435
|
}
|
|
11436
|
+
async bulkDelete(e) {
|
|
11437
|
+
const { store: i } = this.client, { deleteMany: n, addMany: a } = this.actions, { selectByIds: c } = this.selectors, d = i.getState(), o = c(e)(d);
|
|
11438
|
+
this.dispatch(n(e));
|
|
11439
|
+
try {
|
|
11440
|
+
return await this.enqueueRequest({
|
|
11441
|
+
description: w(u.DELETE, this.name, !0),
|
|
11442
|
+
method: u.DELETE,
|
|
11443
|
+
url: `${this.url}/bulk/`,
|
|
11444
|
+
payload: { uuids: e },
|
|
11445
|
+
blockers: e,
|
|
11446
|
+
blocks: []
|
|
11447
|
+
});
|
|
11448
|
+
} catch (r) {
|
|
11449
|
+
throw this.dispatch(a(o)), r;
|
|
11450
|
+
}
|
|
11451
|
+
}
|
|
11368
11452
|
async refreshStore(e, i) {
|
|
11369
11453
|
const { initialize: n } = this.actions, c = (await this.listPaginated(
|
|
11370
11454
|
{
|
|
@@ -11383,19 +11467,19 @@ class yE extends E {
|
|
|
11383
11467
|
h(this, "name", "Workflow Step Review Request");
|
|
11384
11468
|
h(this, "url", "/workflow-step-review-requests");
|
|
11385
11469
|
h(this, "actions", {
|
|
11386
|
-
addOne:
|
|
11470
|
+
addOne: zk,
|
|
11387
11471
|
addMany: Ec,
|
|
11388
|
-
setOne:
|
|
11389
|
-
setMany:
|
|
11390
|
-
updateOne:
|
|
11391
|
-
updateMany:
|
|
11392
|
-
deleteOne:
|
|
11472
|
+
setOne: Bk,
|
|
11473
|
+
setMany: $k,
|
|
11474
|
+
updateOne: Vk,
|
|
11475
|
+
updateMany: jk,
|
|
11476
|
+
deleteOne: Ck,
|
|
11393
11477
|
deleteMany: vc,
|
|
11394
|
-
initialize:
|
|
11478
|
+
initialize: qk
|
|
11395
11479
|
});
|
|
11396
11480
|
h(this, "selectors", {
|
|
11397
|
-
selectById:
|
|
11398
|
-
selectByIds:
|
|
11481
|
+
selectById: Dk,
|
|
11482
|
+
selectByIds: xk
|
|
11399
11483
|
});
|
|
11400
11484
|
}
|
|
11401
11485
|
add(e) {
|
|
@@ -11478,19 +11562,19 @@ class SE extends E {
|
|
|
11478
11562
|
h(this, "name", "Workflow Step Review");
|
|
11479
11563
|
h(this, "url", "/workflow-step-reviews");
|
|
11480
11564
|
h(this, "actions", {
|
|
11481
|
-
addOne:
|
|
11565
|
+
addOne: Hk,
|
|
11482
11566
|
addMany: zc,
|
|
11483
|
-
setOne:
|
|
11484
|
-
setMany:
|
|
11485
|
-
updateOne:
|
|
11486
|
-
updateMany:
|
|
11487
|
-
deleteOne:
|
|
11567
|
+
setOne: Gk,
|
|
11568
|
+
setMany: Kk,
|
|
11569
|
+
updateOne: Yk,
|
|
11570
|
+
updateMany: Qk,
|
|
11571
|
+
deleteOne: Zk,
|
|
11488
11572
|
deleteMany: Bc,
|
|
11489
|
-
initialize:
|
|
11573
|
+
initialize: Nk
|
|
11490
11574
|
});
|
|
11491
11575
|
h(this, "selectors", {
|
|
11492
|
-
selectById:
|
|
11493
|
-
selectByIds:
|
|
11576
|
+
selectById: Xk,
|
|
11577
|
+
selectByIds: eg
|
|
11494
11578
|
});
|
|
11495
11579
|
}
|
|
11496
11580
|
add(e) {
|
|
@@ -11573,19 +11657,19 @@ class AE extends E {
|
|
|
11573
11657
|
h(this, "name", "Workflow Step");
|
|
11574
11658
|
h(this, "url", "/workflow-steps");
|
|
11575
11659
|
h(this, "actions", {
|
|
11576
|
-
addOne:
|
|
11577
|
-
addMany:
|
|
11578
|
-
setOne:
|
|
11579
|
-
setMany:
|
|
11580
|
-
updateOne:
|
|
11581
|
-
updateMany:
|
|
11582
|
-
deleteOne:
|
|
11660
|
+
addOne: ng,
|
|
11661
|
+
addMany: Vc,
|
|
11662
|
+
setOne: ag,
|
|
11663
|
+
setMany: rg,
|
|
11664
|
+
updateOne: cg,
|
|
11665
|
+
updateMany: og,
|
|
11666
|
+
deleteOne: dg,
|
|
11583
11667
|
deleteMany: jc,
|
|
11584
|
-
initialize:
|
|
11668
|
+
initialize: ig
|
|
11585
11669
|
});
|
|
11586
11670
|
h(this, "selectors", {
|
|
11587
|
-
selectById:
|
|
11588
|
-
selectByIds:
|
|
11671
|
+
selectById: hg,
|
|
11672
|
+
selectByIds: mg
|
|
11589
11673
|
});
|
|
11590
11674
|
}
|
|
11591
11675
|
add(e) {
|
|
@@ -11669,19 +11753,19 @@ class wE extends E {
|
|
|
11669
11753
|
h(this, "name", "Workflow Type");
|
|
11670
11754
|
h(this, "url", "/workflow-types");
|
|
11671
11755
|
h(this, "actions", {
|
|
11672
|
-
addOne:
|
|
11673
|
-
addMany:
|
|
11674
|
-
setOne:
|
|
11675
|
-
setMany:
|
|
11676
|
-
updateOne:
|
|
11677
|
-
updateMany:
|
|
11678
|
-
deleteOne:
|
|
11679
|
-
deleteMany:
|
|
11680
|
-
initialize:
|
|
11756
|
+
addOne: yg,
|
|
11757
|
+
addMany: Sg,
|
|
11758
|
+
setOne: Ag,
|
|
11759
|
+
setMany: wg,
|
|
11760
|
+
updateOne: Og,
|
|
11761
|
+
updateMany: Tg,
|
|
11762
|
+
deleteOne: Ig,
|
|
11763
|
+
deleteMany: bg,
|
|
11764
|
+
initialize: fg
|
|
11681
11765
|
});
|
|
11682
11766
|
h(this, "selectors", {
|
|
11683
|
-
selectById:
|
|
11684
|
-
selectByIds:
|
|
11767
|
+
selectById: kg,
|
|
11768
|
+
selectByIds: gg
|
|
11685
11769
|
});
|
|
11686
11770
|
}
|
|
11687
11771
|
add(e) {
|
|
@@ -11733,8 +11817,8 @@ class wE extends E {
|
|
|
11733
11817
|
const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: c } = this.selectors, d = i.getState(), o = c(e)(d);
|
|
11734
11818
|
if (!o)
|
|
11735
11819
|
throw new Error(`Expected workflow type with uuid ${e} to exist`);
|
|
11736
|
-
const r = Tb(e)(d), l =
|
|
11737
|
-
this.dispatch(n(e)), this.dispatch(Zr(
|
|
11820
|
+
const r = Tb(e)(d), l = pg(e)(d);
|
|
11821
|
+
this.dispatch(n(e)), this.dispatch(Zr($(r))), this.dispatch(jc($(l)));
|
|
11738
11822
|
try {
|
|
11739
11823
|
return await this.enqueueRequest({
|
|
11740
11824
|
description: w(u.DELETE, this.name, !1),
|
|
@@ -11744,7 +11828,7 @@ class wE extends E {
|
|
|
11744
11828
|
blocks: []
|
|
11745
11829
|
});
|
|
11746
11830
|
} catch (p) {
|
|
11747
|
-
throw this.dispatch(a(o)), this.dispatch(Qr(r)), this.dispatch(
|
|
11831
|
+
throw this.dispatch(a(o)), this.dispatch(Qr(r)), this.dispatch(Vc(l)), p;
|
|
11748
11832
|
}
|
|
11749
11833
|
}
|
|
11750
11834
|
async refreshStore(e, i) {
|
|
@@ -11824,7 +11908,7 @@ async function Yc(t, s, e, i, n) {
|
|
|
11824
11908
|
try {
|
|
11825
11909
|
return await B.query(p);
|
|
11826
11910
|
} catch (C) {
|
|
11827
|
-
const j =
|
|
11911
|
+
const j = Yg(C), Is = j == null ? void 0 : j.status;
|
|
11828
11912
|
if (a && Is === 401)
|
|
11829
11913
|
return await i.auth.handleUnauthorized(B, j), B.query(p);
|
|
11830
11914
|
throw new D({
|
|
@@ -12121,7 +12205,7 @@ class Jc {
|
|
|
12121
12205
|
if (console.debug("Middleware finished. Performing request:", s.payload.url), !It()) throw new Error("Client store not set");
|
|
12122
12206
|
const i = sP();
|
|
12123
12207
|
if (!i) throw new Error("Client SDK not set");
|
|
12124
|
-
return
|
|
12208
|
+
return Ug(s, i);
|
|
12125
12209
|
}
|
|
12126
12210
|
}
|
|
12127
12211
|
}
|
|
@@ -12144,7 +12228,7 @@ var oP = /* @__PURE__ */ ((t) => (t[t.USER_REGISTRATION = 0] = "USER_REGISTRATIO
|
|
|
12144
12228
|
export {
|
|
12145
12229
|
rP as ALL_MIDDLEWARE,
|
|
12146
12230
|
D as APIError,
|
|
12147
|
-
|
|
12231
|
+
qg as ATTACHMENT_MODEL_DEFAULT_PAGE_SIZE,
|
|
12148
12232
|
KR as AgentService,
|
|
12149
12233
|
YR as AssetAttachmentService,
|
|
12150
12234
|
tF as AssetProcedureService,
|
|
@@ -12181,7 +12265,7 @@ export {
|
|
|
12181
12265
|
Po as COMMON_AUTO_FIELDS,
|
|
12182
12266
|
OF as CategoryService,
|
|
12183
12267
|
MP as DEFAULT_ISSUE_PRIORITY,
|
|
12184
|
-
|
|
12268
|
+
vg as DEFAULT_PAGE_SIZE,
|
|
12185
12269
|
Uc as DISCARD_HTTP_STATUSES,
|
|
12186
12270
|
_s as DeferredPromise,
|
|
12187
12271
|
TF as DocumentAttachmentService,
|
|
@@ -12190,8 +12274,8 @@ export {
|
|
|
12190
12274
|
ho as EMPTY_OBJECT,
|
|
12191
12275
|
bF as EmailDomainsService,
|
|
12192
12276
|
_F as EmailVerificationService,
|
|
12193
|
-
|
|
12194
|
-
|
|
12277
|
+
kF as FileService,
|
|
12278
|
+
gF as FormIdentifierService,
|
|
12195
12279
|
PF as FormIdentifierValueService,
|
|
12196
12280
|
MF as FormRevisionAttachmentService,
|
|
12197
12281
|
RF as FormRevisionService,
|
|
@@ -12202,8 +12286,8 @@ export {
|
|
|
12202
12286
|
u as HttpMethod,
|
|
12203
12287
|
zF as IssueAssociationService,
|
|
12204
12288
|
BF as IssueAttachmentService,
|
|
12205
|
-
|
|
12206
|
-
|
|
12289
|
+
$F as IssueCommentAttachmentService,
|
|
12290
|
+
VF as IssueCommentService,
|
|
12207
12291
|
an as IssuePriority,
|
|
12208
12292
|
jF as IssueService,
|
|
12209
12293
|
yo as IssueStatusType,
|
|
@@ -12232,15 +12316,15 @@ export {
|
|
|
12232
12316
|
eE as ProjectFileService,
|
|
12233
12317
|
tE as ProjectService,
|
|
12234
12318
|
F as RESET_ORGANIZATION_STATE,
|
|
12235
|
-
|
|
12236
|
-
|
|
12319
|
+
V as RESET_PROJECT_STATE,
|
|
12320
|
+
k as RESET_STATE,
|
|
12237
12321
|
aP as RateLimitingMiddleware,
|
|
12238
12322
|
YP as SelectorBuilder,
|
|
12239
12323
|
sE as TeamMembershipService,
|
|
12240
12324
|
iE as TeamService,
|
|
12241
12325
|
Ot as UNKNOWN_ERROR_MESSAGE,
|
|
12242
12326
|
nE as UserService,
|
|
12243
|
-
|
|
12327
|
+
gt as VERSION_REDUCER_KEY,
|
|
12244
12328
|
oP as VerificationCodeType,
|
|
12245
12329
|
So as WorkflowReviewType,
|
|
12246
12330
|
aE as WorkflowService,
|
|
@@ -12267,7 +12351,7 @@ export {
|
|
|
12267
12351
|
Ru as addAssetProcedureStep,
|
|
12268
12352
|
mu as addAssetProcedureStepFieldValues,
|
|
12269
12353
|
su as addAssetProcedureStepFieldValuesAttachment,
|
|
12270
|
-
|
|
12354
|
+
$n as addAssetProcedureStepFieldValuesAttachments,
|
|
12271
12355
|
fu as addAssetProcedureStepFieldValuesMany,
|
|
12272
12356
|
Ll as addAssetProcedureStepFields,
|
|
12273
12357
|
El as addAssetProcedureStepFieldsAttachment,
|
|
@@ -12299,8 +12383,8 @@ export {
|
|
|
12299
12383
|
ia as addAssetTypeFieldValuesAttachments,
|
|
12300
12384
|
Tp as addAssetTypeFieldValuesMany,
|
|
12301
12385
|
Yh as addAssetTypeFields,
|
|
12302
|
-
|
|
12303
|
-
|
|
12386
|
+
$h as addAssetTypeFieldsAttachment,
|
|
12387
|
+
Vh as addAssetTypeFieldsAttachments,
|
|
12304
12388
|
Qh as addAssetTypeFieldsMany,
|
|
12305
12389
|
qp as addAssetTypeIdentifier,
|
|
12306
12390
|
Hp as addAssetTypeIdentifierValue,
|
|
@@ -12324,7 +12408,7 @@ export {
|
|
|
12324
12408
|
Bf as addFormIdentifier,
|
|
12325
12409
|
Kf as addFormIdentifierValue,
|
|
12326
12410
|
Yf as addFormIdentifierValues,
|
|
12327
|
-
|
|
12411
|
+
$f as addFormIdentifiers,
|
|
12328
12412
|
Fa as addFormRevision,
|
|
12329
12413
|
cy as addFormRevisionAttachment,
|
|
12330
12414
|
oy as addFormRevisionAttachments,
|
|
@@ -12363,7 +12447,7 @@ export {
|
|
|
12363
12447
|
MO as addIssueTypeStatus,
|
|
12364
12448
|
RO as addIssueTypeStatuses,
|
|
12365
12449
|
yO as addIssueTypes,
|
|
12366
|
-
|
|
12450
|
+
gr as addIssueUpdate,
|
|
12367
12451
|
Pr as addIssueUpdates,
|
|
12368
12452
|
ar as addIssues,
|
|
12369
12453
|
TT as addOrganization,
|
|
@@ -12371,7 +12455,7 @@ export {
|
|
|
12371
12455
|
rT as addOrganizationAccesses,
|
|
12372
12456
|
OT as addOrganizations,
|
|
12373
12457
|
MI as addProject,
|
|
12374
|
-
|
|
12458
|
+
VT as addProjectAccess,
|
|
12375
12459
|
jT as addProjectAccesses,
|
|
12376
12460
|
YT as addProjectAttachment,
|
|
12377
12461
|
QT as addProjectAttachments,
|
|
@@ -12385,11 +12469,11 @@ export {
|
|
|
12385
12469
|
qr as addUser,
|
|
12386
12470
|
ZO as addUsers,
|
|
12387
12471
|
hb as addWorkflow,
|
|
12388
|
-
|
|
12472
|
+
ng as addWorkflowStep,
|
|
12389
12473
|
_b as addWorkflowStepAssignee,
|
|
12390
12474
|
Xr as addWorkflowStepAssignees,
|
|
12391
12475
|
Gb as addWorkflowStepComment,
|
|
12392
|
-
|
|
12476
|
+
$b as addWorkflowStepCommentAttachment,
|
|
12393
12477
|
ms as addWorkflowStepCommentAttachments,
|
|
12394
12478
|
ac as addWorkflowStepComments,
|
|
12395
12479
|
a_ as addWorkflowStepCompletion,
|
|
@@ -12400,30 +12484,30 @@ export {
|
|
|
12400
12484
|
M_ as addWorkflowStepFieldValuesAttachment,
|
|
12401
12485
|
fc as addWorkflowStepFieldValuesAttachments,
|
|
12402
12486
|
wc as addWorkflowStepFieldValuesMany,
|
|
12403
|
-
|
|
12487
|
+
lk as addWorkflowStepFields,
|
|
12404
12488
|
J_ as addWorkflowStepFieldsAttachment,
|
|
12405
12489
|
Ic as addWorkflowStepFieldsAttachments,
|
|
12406
|
-
|
|
12407
|
-
|
|
12408
|
-
|
|
12490
|
+
uk as addWorkflowStepFieldsMany,
|
|
12491
|
+
Hk as addWorkflowStepReview,
|
|
12492
|
+
zk as addWorkflowStepReviewRequest,
|
|
12409
12493
|
Ec as addWorkflowStepReviewRequests,
|
|
12410
|
-
|
|
12494
|
+
Ik as addWorkflowStepReviewer,
|
|
12411
12495
|
Mc as addWorkflowStepReviewers,
|
|
12412
12496
|
zc as addWorkflowStepReviews,
|
|
12413
|
-
|
|
12414
|
-
|
|
12415
|
-
|
|
12497
|
+
Vc as addWorkflowSteps,
|
|
12498
|
+
yg as addWorkflowType,
|
|
12499
|
+
Sg as addWorkflowTypes,
|
|
12416
12500
|
Qr as addWorkflows,
|
|
12417
|
-
|
|
12501
|
+
$o as agentsReducer,
|
|
12418
12502
|
ln as agentsSlice,
|
|
12419
12503
|
vP as areArraysEqual,
|
|
12420
12504
|
Ko as assetAttachmentReducer,
|
|
12421
12505
|
hn as assetAttachmentSlice,
|
|
12422
12506
|
hl as assetProcedureReducer,
|
|
12423
|
-
|
|
12507
|
+
gn as assetProcedureSlice,
|
|
12424
12508
|
hu as assetProcedureStepFieldValuesAttachmentReducer,
|
|
12425
12509
|
Bn as assetProcedureStepFieldValuesAttachmentSlice,
|
|
12426
|
-
|
|
12510
|
+
ku as assetProcedureStepFieldValuesReducer,
|
|
12427
12511
|
Cn as assetProcedureStepFieldValuesSlice,
|
|
12428
12512
|
xl as assetProcedureStepFieldsAttachmentReducer,
|
|
12429
12513
|
En as assetProcedureStepFieldsAttachmentSlice,
|
|
@@ -12436,12 +12520,12 @@ export {
|
|
|
12436
12520
|
Dd as assetProcedureTypeFieldValuesAttachmentReducer,
|
|
12437
12521
|
Tn as assetProcedureTypeFieldValuesAttachmentSlice,
|
|
12438
12522
|
tl as assetProcedureTypeFieldValuesReducer,
|
|
12439
|
-
|
|
12523
|
+
kn as assetProcedureTypeFieldValuesSlice,
|
|
12440
12524
|
Sd as assetProcedureTypeFieldsAttachmentReducer,
|
|
12441
12525
|
An as assetProcedureTypeFieldsAttachmentSlice,
|
|
12442
12526
|
Fd as assetProcedureTypeFieldsReducer,
|
|
12443
12527
|
On as assetProcedureTypeFieldsSlice,
|
|
12444
|
-
|
|
12528
|
+
gl as assetProcedureTypeReducer,
|
|
12445
12529
|
Rn as assetProcedureTypeSlice,
|
|
12446
12530
|
Qu as assetReducer,
|
|
12447
12531
|
xn as assetSlice,
|
|
@@ -12476,7 +12560,7 @@ export {
|
|
|
12476
12560
|
Um as categoryReducer,
|
|
12477
12561
|
ma as categorySlice,
|
|
12478
12562
|
zM as clearTokens,
|
|
12479
|
-
|
|
12563
|
+
VP as constructUploadedFilePayloads,
|
|
12480
12564
|
M as createModelAdapter,
|
|
12481
12565
|
ET as createOfflineAction,
|
|
12482
12566
|
q as createPayload,
|
|
@@ -12488,10 +12572,10 @@ export {
|
|
|
12488
12572
|
qu as deleteAssetProcedureStep,
|
|
12489
12573
|
Ou as deleteAssetProcedureStepFieldValues,
|
|
12490
12574
|
cu as deleteAssetProcedureStepFieldValuesAttachment,
|
|
12491
|
-
|
|
12575
|
+
Vn as deleteAssetProcedureStepFieldValuesAttachments,
|
|
12492
12576
|
Tu as deleteAssetProcedureStepFieldValuesMany,
|
|
12493
12577
|
Ql as deleteAssetProcedureStepFields,
|
|
12494
|
-
|
|
12578
|
+
Vl as deleteAssetProcedureStepFieldsAttachment,
|
|
12495
12579
|
jl as deleteAssetProcedureStepFieldsAttachments,
|
|
12496
12580
|
Zl as deleteAssetProcedureStepFieldsMany,
|
|
12497
12581
|
zu as deleteAssetProcedureSteps,
|
|
@@ -12515,7 +12599,7 @@ export {
|
|
|
12515
12599
|
um as deleteAssetType,
|
|
12516
12600
|
Rh as deleteAssetTypeAttachment,
|
|
12517
12601
|
Zn as deleteAssetTypeAttachments,
|
|
12518
|
-
|
|
12602
|
+
gp as deleteAssetTypeFieldValues,
|
|
12519
12603
|
pp as deleteAssetTypeFieldValuesAttachment,
|
|
12520
12604
|
na as deleteAssetTypeFieldValuesAttachments,
|
|
12521
12605
|
Pp as deleteAssetTypeFieldValuesMany,
|
|
@@ -12528,7 +12612,7 @@ export {
|
|
|
12528
12612
|
Xp as deleteAssetTypeIdentifierValues,
|
|
12529
12613
|
Wp as deleteAssetTypeIdentifiers,
|
|
12530
12614
|
_m as deleteAssetTypeStatus,
|
|
12531
|
-
|
|
12615
|
+
km as deleteAssetTypeStatuses,
|
|
12532
12616
|
hm as deleteAssetTypes,
|
|
12533
12617
|
Ln as deleteAssets,
|
|
12534
12618
|
Wm as deleteCategories,
|
|
@@ -12540,7 +12624,7 @@ export {
|
|
|
12540
12624
|
Jm as deleteDocumentAttachments,
|
|
12541
12625
|
hf as deleteDocuments,
|
|
12542
12626
|
_f as deleteEmailDomain,
|
|
12543
|
-
|
|
12627
|
+
kf as deleteEmailDomains,
|
|
12544
12628
|
By as deleteForm,
|
|
12545
12629
|
Df as deleteFormIdentifier,
|
|
12546
12630
|
ey as deleteFormIdentifierValue,
|
|
@@ -12554,10 +12638,10 @@ export {
|
|
|
12554
12638
|
Gy as deleteFormSubmissionAttachment,
|
|
12555
12639
|
Ca as deleteFormSubmissionAttachments,
|
|
12556
12640
|
Na as deleteFormSubmissions,
|
|
12557
|
-
|
|
12641
|
+
$y as deleteForms,
|
|
12558
12642
|
SS as deleteGeoImage,
|
|
12559
12643
|
AS as deleteGeoImages,
|
|
12560
|
-
|
|
12644
|
+
gA as deleteIssue,
|
|
12561
12645
|
RS as deleteIssueAssociation,
|
|
12562
12646
|
ns as deleteIssueAssociations,
|
|
12563
12647
|
US as deleteIssueAttachment,
|
|
@@ -12570,13 +12654,13 @@ export {
|
|
|
12570
12654
|
CA as deleteIssueTypeAttachment,
|
|
12571
12655
|
WA as deleteIssueTypeAttachments,
|
|
12572
12656
|
uw as deleteIssueTypeFieldValues,
|
|
12573
|
-
|
|
12657
|
+
$w as deleteIssueTypeFieldValuesAttachment,
|
|
12574
12658
|
fr as deleteIssueTypeFieldValuesAttachments,
|
|
12575
12659
|
hw as deleteIssueTypeFieldValuesMany,
|
|
12576
12660
|
_w as deleteIssueTypeFields,
|
|
12577
12661
|
JA as deleteIssueTypeFieldsAttachment,
|
|
12578
12662
|
XA as deleteIssueTypeFieldsAttachments,
|
|
12579
|
-
|
|
12663
|
+
kw as deleteIssueTypeFieldsMany,
|
|
12580
12664
|
Yw as deleteIssueTypeIdentifier,
|
|
12581
12665
|
oO as deleteIssueTypeIdentifierValue,
|
|
12582
12666
|
dO as deleteIssueTypeIdentifierValues,
|
|
@@ -12590,7 +12674,7 @@ export {
|
|
|
12590
12674
|
_T as deleteOrganization,
|
|
12591
12675
|
uT as deleteOrganizationAccess,
|
|
12592
12676
|
hT as deleteOrganizationAccesses,
|
|
12593
|
-
|
|
12677
|
+
kT as deleteOrganizations,
|
|
12594
12678
|
EI as deleteProject,
|
|
12595
12679
|
UT as deleteProjectAccess,
|
|
12596
12680
|
LT as deleteProjectAccesses,
|
|
@@ -12606,7 +12690,7 @@ export {
|
|
|
12606
12690
|
zr as deleteUser,
|
|
12607
12691
|
eT as deleteUsers,
|
|
12608
12692
|
Sb as deleteWorkflow,
|
|
12609
|
-
|
|
12693
|
+
dg as deleteWorkflowStep,
|
|
12610
12694
|
Rb as deleteWorkflowStepAssignee,
|
|
12611
12695
|
ec as deleteWorkflowStepAssignees,
|
|
12612
12696
|
Jb as deleteWorkflowStepComment,
|
|
@@ -12621,51 +12705,51 @@ export {
|
|
|
12621
12705
|
q_ as deleteWorkflowStepFieldValuesAttachment,
|
|
12622
12706
|
yc as deleteWorkflowStepFieldValuesAttachments,
|
|
12623
12707
|
Oc as deleteWorkflowStepFieldValuesMany,
|
|
12624
|
-
|
|
12625
|
-
|
|
12708
|
+
yk as deleteWorkflowStepFields,
|
|
12709
|
+
ik as deleteWorkflowStepFieldsAttachment,
|
|
12626
12710
|
bc as deleteWorkflowStepFieldsAttachments,
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12711
|
+
Sk as deleteWorkflowStepFieldsMany,
|
|
12712
|
+
Zk as deleteWorkflowStepReview,
|
|
12713
|
+
Ck as deleteWorkflowStepReviewRequest,
|
|
12630
12714
|
vc as deleteWorkflowStepReviewRequests,
|
|
12631
|
-
|
|
12715
|
+
Pk as deleteWorkflowStepReviewer,
|
|
12632
12716
|
Rc as deleteWorkflowStepReviewers,
|
|
12633
12717
|
Bc as deleteWorkflowStepReviews,
|
|
12634
12718
|
jc as deleteWorkflowSteps,
|
|
12635
|
-
|
|
12636
|
-
|
|
12719
|
+
Ig as deleteWorkflowType,
|
|
12720
|
+
bg as deleteWorkflowTypes,
|
|
12637
12721
|
Zr as deleteWorkflows,
|
|
12638
|
-
|
|
12639
|
-
|
|
12722
|
+
Cg as dequeue,
|
|
12723
|
+
Lg as discard,
|
|
12640
12724
|
sf as documentAttachmentReducer,
|
|
12641
12725
|
Sa as documentAttachmentSlice,
|
|
12642
12726
|
wa as documentSlice,
|
|
12643
12727
|
pf as documentsReducer,
|
|
12644
12728
|
CP as downloadFile,
|
|
12645
|
-
|
|
12729
|
+
$P as downloadInMemoryFile,
|
|
12646
12730
|
Rf as emailDomainsReducer,
|
|
12647
12731
|
Ta as emailDomainsSlice,
|
|
12648
12732
|
HP as emailRegex,
|
|
12649
|
-
|
|
12733
|
+
jg as enqueue,
|
|
12650
12734
|
vT as enqueueRequest,
|
|
12651
|
-
|
|
12735
|
+
Yg as extractResponseFromError,
|
|
12652
12736
|
A as fallbackToEmptyArray,
|
|
12653
12737
|
Dt as fallbackToEmptyObject,
|
|
12654
12738
|
qf as fileReducer,
|
|
12655
12739
|
_a as fileSlice,
|
|
12656
|
-
|
|
12740
|
+
go as fileToBlob,
|
|
12657
12741
|
Hf as formIdentifierReducer,
|
|
12658
|
-
|
|
12742
|
+
ka as formIdentifierSlice,
|
|
12659
12743
|
ay as formIdentifierValueReducer,
|
|
12660
12744
|
Pa as formIdentifierValueSlice,
|
|
12661
|
-
|
|
12745
|
+
Vy as formReducer,
|
|
12662
12746
|
Ay as formRevisionAttachmentReducer,
|
|
12663
12747
|
Ma as formRevisionAttachmentSlice,
|
|
12664
12748
|
Py as formRevisionReducer,
|
|
12665
12749
|
Ra as formRevisionsSlice,
|
|
12666
12750
|
Ba as formSlice,
|
|
12667
12751
|
Zy as formSubmissionAttachmentReducer,
|
|
12668
|
-
|
|
12752
|
+
Va as formSubmissionAttachmentSlice,
|
|
12669
12753
|
dS as formSubmissionReducer,
|
|
12670
12754
|
Ua as formSubmissionSlice,
|
|
12671
12755
|
IS as geoImageReducer,
|
|
@@ -12677,20 +12761,20 @@ export {
|
|
|
12677
12761
|
Eo as getDocumentSubTree,
|
|
12678
12762
|
KP as getDocumentTrees,
|
|
12679
12763
|
BP as getFileIdentifier,
|
|
12680
|
-
|
|
12764
|
+
ks as getFileS3Key,
|
|
12681
12765
|
To as getLocalDateString,
|
|
12682
12766
|
zP as getLocalRelativeDateString,
|
|
12683
12767
|
yt as getOutboxCoordinator,
|
|
12684
|
-
|
|
12768
|
+
ko as getRenamedFile,
|
|
12685
12769
|
w as getRequestDescription,
|
|
12686
12770
|
At as hashFile,
|
|
12687
12771
|
TE as initSDK,
|
|
12688
|
-
|
|
12772
|
+
Vo as initializeAssetAttachments,
|
|
12689
12773
|
pu as initializeAssetProcedureStepFieldValues,
|
|
12690
12774
|
tu as initializeAssetProcedureStepFieldValuesAttachments,
|
|
12691
12775
|
Ul as initializeAssetProcedureStepFields,
|
|
12692
12776
|
Fl as initializeAssetProcedureStepFieldsAttachments,
|
|
12693
|
-
|
|
12777
|
+
gu as initializeAssetProcedureSteps,
|
|
12694
12778
|
Yo as initializeAssetProcedureTypeAttachments,
|
|
12695
12779
|
Hd as initializeAssetProcedureTypeFieldValues,
|
|
12696
12780
|
zd as initializeAssetProcedureTypeFieldValuesAttachments,
|
|
@@ -12724,7 +12808,7 @@ export {
|
|
|
12724
12808
|
My as initializeForms,
|
|
12725
12809
|
lS as initializeGeoImages,
|
|
12726
12810
|
bS as initializeIssueAssociations,
|
|
12727
|
-
|
|
12811
|
+
VS as initializeIssueAttachments,
|
|
12728
12812
|
YS as initializeIssueCommentAttachments,
|
|
12729
12813
|
oA as initializeIssueComments,
|
|
12730
12814
|
vA as initializeIssueTypeAttachments,
|
|
@@ -12740,7 +12824,7 @@ export {
|
|
|
12740
12824
|
OA as initializeIssues,
|
|
12741
12825
|
nT as initializeOrganizationAccesses,
|
|
12742
12826
|
ST as initializeOrganizations,
|
|
12743
|
-
|
|
12827
|
+
$T as initializeProjectAccesses,
|
|
12744
12828
|
KT as initializeProjectAttachments,
|
|
12745
12829
|
cI as initializeProjectFiles,
|
|
12746
12830
|
_I as initializeProjects,
|
|
@@ -12754,16 +12838,16 @@ export {
|
|
|
12754
12838
|
y_ as initializeWorkflowStepEvents,
|
|
12755
12839
|
C_ as initializeWorkflowStepFieldValues,
|
|
12756
12840
|
P_ as initializeWorkflowStepFieldValuesAttachments,
|
|
12757
|
-
|
|
12841
|
+
dk as initializeWorkflowStepFields,
|
|
12758
12842
|
Z_ as initializeWorkflowStepFieldsAttachments,
|
|
12759
|
-
|
|
12760
|
-
|
|
12761
|
-
|
|
12762
|
-
|
|
12763
|
-
|
|
12843
|
+
qk as initializeWorkflowStepReviewRequests,
|
|
12844
|
+
Tk as initializeWorkflowStepReviewers,
|
|
12845
|
+
Nk as initializeWorkflowStepReviews,
|
|
12846
|
+
ig as initializeWorkflowSteps,
|
|
12847
|
+
fg as initializeWorkflowTypes,
|
|
12764
12848
|
ub as initializeWorkflows,
|
|
12765
12849
|
qP as isToday,
|
|
12766
|
-
|
|
12850
|
+
$S as issueAssociationReducer,
|
|
12767
12851
|
Ya as issueAssociationSlice,
|
|
12768
12852
|
KS as issueAttachmentReducer,
|
|
12769
12853
|
Qa as issueAttachmentSlice,
|
|
@@ -12787,28 +12871,28 @@ export {
|
|
|
12787
12871
|
Sr as issueTypeIdentifierSlice,
|
|
12788
12872
|
pO as issueTypeIdentifierValueReducer,
|
|
12789
12873
|
wr as issueTypeIdentifierValueSlice,
|
|
12790
|
-
|
|
12874
|
+
gO as issueTypeReducer,
|
|
12791
12875
|
Or as issueTypeSlice,
|
|
12792
12876
|
jO as issueTypeStatusReducer,
|
|
12793
12877
|
Ir as issueTypeStatusSlice,
|
|
12794
12878
|
Fo as issueTypeStatusSortFn,
|
|
12795
12879
|
GO as issueUpdateReducer,
|
|
12796
|
-
|
|
12880
|
+
kr as issueUpdateSlice,
|
|
12797
12881
|
WP as logOnlyOnce,
|
|
12798
12882
|
qT as markAsDeleted,
|
|
12799
12883
|
fR as markForDeletion,
|
|
12800
12884
|
rn as memoize,
|
|
12801
12885
|
pT as organizationAccessReducer,
|
|
12802
|
-
|
|
12886
|
+
$r as organizationAccessSlice,
|
|
12803
12887
|
FT as organizationReducer,
|
|
12804
|
-
|
|
12888
|
+
Vr as organizationSlice,
|
|
12805
12889
|
BT as outboxReducer,
|
|
12806
12890
|
jr as outboxSlice,
|
|
12807
12891
|
GR as overmapEnhancer,
|
|
12808
12892
|
HR as overmapReducer,
|
|
12809
|
-
|
|
12893
|
+
Eg as overmapReducers,
|
|
12810
12894
|
Yc as performRequest,
|
|
12811
|
-
|
|
12895
|
+
Ug as performRequestFromAction,
|
|
12812
12896
|
NT as projectAccessReducer,
|
|
12813
12897
|
Cr as projectAccessSlice,
|
|
12814
12898
|
rI as projectAttachmentReducer,
|
|
@@ -12834,7 +12918,7 @@ export {
|
|
|
12834
12918
|
Ho as selectAssetAttachmentsByIds,
|
|
12835
12919
|
Ku as selectAssetById,
|
|
12836
12920
|
fl as selectAssetProcedureById,
|
|
12837
|
-
|
|
12921
|
+
$u as selectAssetProcedureStepById,
|
|
12838
12922
|
Pt as selectAssetProcedureStepFieldValues,
|
|
12839
12923
|
du as selectAssetProcedureStepFieldValuesAttachmentById,
|
|
12840
12924
|
jn as selectAssetProcedureStepFieldValuesAttachments,
|
|
@@ -12857,7 +12941,7 @@ export {
|
|
|
12857
12941
|
hM as selectAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
12858
12942
|
Kt as selectAssetProcedureStepMapping,
|
|
12859
12943
|
Dn as selectAssetProcedureSteps,
|
|
12860
|
-
|
|
12944
|
+
Vu as selectAssetProcedureStepsByIds,
|
|
12861
12945
|
AM as selectAssetProcedureStepsMappingOfAssetProcedureType,
|
|
12862
12946
|
wM as selectAssetProcedureStepsOfAssetProcedureType,
|
|
12863
12947
|
rd as selectAssetProcedureTypeAttachmentById,
|
|
@@ -12914,7 +12998,7 @@ export {
|
|
|
12914
12998
|
Rp as selectAssetTypeFieldValuesById,
|
|
12915
12999
|
Fp as selectAssetTypeFieldValuesByIds,
|
|
12916
13000
|
Mp as selectAssetTypeFieldValuesMapping,
|
|
12917
|
-
|
|
13001
|
+
gM as selectAssetTypeFieldValuesOfAsset,
|
|
12918
13002
|
Mt as selectAssetTypeFields,
|
|
12919
13003
|
Nh as selectAssetTypeFieldsAttachmentById,
|
|
12920
13004
|
ea as selectAssetTypeFieldsAttachments,
|
|
@@ -12936,7 +13020,7 @@ export {
|
|
|
12936
13020
|
Up as selectAssetTypeIdentifiersByIds,
|
|
12937
13021
|
MM as selectAssetTypeIdentifiersOfAssetType,
|
|
12938
13022
|
Pm as selectAssetTypeStatusById,
|
|
12939
|
-
|
|
13023
|
+
gm as selectAssetTypeStatusMapping,
|
|
12940
13024
|
pa as selectAssetTypeStatuses,
|
|
12941
13025
|
Mm as selectAssetTypeStatusesByIds,
|
|
12942
13026
|
vM as selectAssetTypeStatusesOfAssetType,
|
|
@@ -12969,11 +13053,11 @@ export {
|
|
|
12969
13053
|
XM as selectAttachmentsOfIssueTypeFields,
|
|
12970
13054
|
wR as selectAttachmentsOfProject,
|
|
12971
13055
|
ic as selectAttachmentsOfWorkflowStepComment,
|
|
12972
|
-
|
|
12973
|
-
|
|
13056
|
+
V_ as selectAttachmentsOfWorkflowStepFieldValues,
|
|
13057
|
+
ak as selectAttachmentsOfWorkflowStepFields,
|
|
12974
13058
|
fa as selectCategories,
|
|
12975
13059
|
xm as selectCategoriesByIds,
|
|
12976
|
-
|
|
13060
|
+
VM as selectCategoriesOfProject,
|
|
12977
13061
|
ya as selectCategoryById,
|
|
12978
13062
|
Dm as selectCategoryMapping,
|
|
12979
13063
|
QM as selectCommentsOfIssue,
|
|
@@ -12995,7 +13079,7 @@ export {
|
|
|
12995
13079
|
Oa as selectDocumentsMapping,
|
|
12996
13080
|
Pf as selectEmailDomainById,
|
|
12997
13081
|
Ia as selectEmailDomains,
|
|
12998
|
-
|
|
13082
|
+
gf as selectEmailDomainsAsMapping,
|
|
12999
13083
|
Mf as selectEmailDomainsByIds,
|
|
13000
13084
|
DM as selectEmailDomainsOfOrganization,
|
|
13001
13085
|
oM as selectFieldValuesOfAssetProcedure,
|
|
@@ -13008,7 +13092,7 @@ export {
|
|
|
13008
13092
|
ny as selectFormIdentifierValuesByIds,
|
|
13009
13093
|
UM as selectFormIdentifierValuesOfFormSubmission,
|
|
13010
13094
|
LM as selectFormIdentifierValuesOfIdentifier,
|
|
13011
|
-
|
|
13095
|
+
ga as selectFormIdentifiers,
|
|
13012
13096
|
Nf as selectFormIdentifiersByIds,
|
|
13013
13097
|
xM as selectFormIdentifiersOfForm,
|
|
13014
13098
|
jy as selectFormMapping,
|
|
@@ -13019,8 +13103,8 @@ export {
|
|
|
13019
13103
|
_y as selectFormRevisionById,
|
|
13020
13104
|
za as selectFormRevisionMapping,
|
|
13021
13105
|
ss as selectFormRevisions,
|
|
13022
|
-
|
|
13023
|
-
|
|
13106
|
+
ky as selectFormRevisionsByIds,
|
|
13107
|
+
gy as selectFormRevisionsOfForm,
|
|
13024
13108
|
xa as selectFormSubmissionAttachemntsByIds,
|
|
13025
13109
|
Ky as selectFormSubmissionAttachmentById,
|
|
13026
13110
|
Da as selectFormSubmissionAttachments,
|
|
@@ -13031,7 +13115,7 @@ export {
|
|
|
13031
13115
|
cS as selectFormSubmissionsByIds,
|
|
13032
13116
|
Ha as selectFormSubmissionsMapping,
|
|
13033
13117
|
oS as selectFormSubmissionsOfForm,
|
|
13034
|
-
|
|
13118
|
+
$a as selectForms,
|
|
13035
13119
|
Wy as selectFormsByIds,
|
|
13036
13120
|
GM as selectFormsOfOrganization,
|
|
13037
13121
|
OS as selectGeoImageById,
|
|
@@ -13040,7 +13124,7 @@ export {
|
|
|
13040
13124
|
TS as selectGeoImagesByIds,
|
|
13041
13125
|
KM as selectGeoImagesOfProject,
|
|
13042
13126
|
TR as selectIsImportingProjectFile,
|
|
13043
|
-
|
|
13127
|
+
$M as selectIsLoggedIn,
|
|
13044
13128
|
ES as selectIssueAssociationById,
|
|
13045
13129
|
Rt as selectIssueAssociationMapping,
|
|
13046
13130
|
FS as selectIssueAssociations,
|
|
@@ -13070,7 +13154,7 @@ export {
|
|
|
13070
13154
|
jw as selectIssueTypeFieldValuesAttachmentById,
|
|
13071
13155
|
yr as selectIssueTypeFieldValuesAttachments,
|
|
13072
13156
|
Cw as selectIssueTypeFieldValuesAttachmentsByIds,
|
|
13073
|
-
|
|
13157
|
+
Vw as selectIssueTypeFieldValuesAttachmentsMapping,
|
|
13074
13158
|
mw as selectIssueTypeFieldValuesById,
|
|
13075
13159
|
fw as selectIssueTypeFieldValuesByIds,
|
|
13076
13160
|
pw as selectIssueTypeFieldValuesMapping,
|
|
@@ -13082,7 +13166,7 @@ export {
|
|
|
13082
13166
|
ew as selectIssueTypeFieldsAttachmentsMapping,
|
|
13083
13167
|
Pw as selectIssueTypeFieldsById,
|
|
13084
13168
|
Mw as selectIssueTypeFieldsByIds,
|
|
13085
|
-
|
|
13169
|
+
gw as selectIssueTypeFieldsMapping,
|
|
13086
13170
|
tR as selectIssueTypeFieldsOfIssueType,
|
|
13087
13171
|
Jw as selectIssueTypeIdentifierById,
|
|
13088
13172
|
Zw as selectIssueTypeIdentifierMapping,
|
|
@@ -13097,13 +13181,13 @@ export {
|
|
|
13097
13181
|
nR as selectIssueTypeIdentifiersOfIssueType,
|
|
13098
13182
|
bO as selectIssueTypeMapping,
|
|
13099
13183
|
_r as selectIssueTypeStatusById,
|
|
13100
|
-
|
|
13184
|
+
$O as selectIssueTypeStatusMapping,
|
|
13101
13185
|
br as selectIssueTypeStatuses,
|
|
13102
|
-
|
|
13186
|
+
VO as selectIssueTypeStatusesByIds,
|
|
13103
13187
|
oR as selectIssueTypeStatusesOfIssueType,
|
|
13104
13188
|
iR as selectIssueTypeValuesOfIssueType,
|
|
13105
13189
|
Tr as selectIssueTypes,
|
|
13106
|
-
|
|
13190
|
+
kO as selectIssueTypesByIds,
|
|
13107
13191
|
cR as selectIssueTypesOfOrganization,
|
|
13108
13192
|
LO as selectIssueUpdateById,
|
|
13109
13193
|
Fr as selectIssueUpdateMapping,
|
|
@@ -13116,14 +13200,14 @@ export {
|
|
|
13116
13200
|
ZM as selectIssuesOfProject,
|
|
13117
13201
|
pM as selectLatestAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
13118
13202
|
rM as selectLatestAssetProcedureTypeFieldsOfAssetProcedureType,
|
|
13119
|
-
|
|
13203
|
+
kM as selectLatestAssetTypeFieldsOfAssetType,
|
|
13120
13204
|
mM as selectLatestFieldsByAssetProcedureStep,
|
|
13121
13205
|
CR as selectLatestFieldsByWorkflowStep,
|
|
13122
13206
|
HM as selectLatestFormRevisionOfForm,
|
|
13123
13207
|
sR as selectLatestIssueTypeFieldsOfIssueType,
|
|
13124
13208
|
mR as selectLatestRetryTime,
|
|
13125
13209
|
jR as selectLatestWorkflowStepFieldsOfWorkflowStep,
|
|
13126
|
-
|
|
13210
|
+
gR as selectMembershipsByUserOfTeam,
|
|
13127
13211
|
mT as selectOrganizationAccessById,
|
|
13128
13212
|
ls as selectOrganizationAccessMapping,
|
|
13129
13213
|
yT as selectOrganizationAccessUserMapping,
|
|
@@ -13132,7 +13216,7 @@ export {
|
|
|
13132
13216
|
WM as selectOrganizationDocuments,
|
|
13133
13217
|
PT as selectOrganizations,
|
|
13134
13218
|
RT as selectOrganizationsByIds,
|
|
13135
|
-
|
|
13219
|
+
gT as selectOrganizationsMapping,
|
|
13136
13220
|
HT as selectProjectAccessById,
|
|
13137
13221
|
Wr as selectProjectAccessMapping,
|
|
13138
13222
|
Et as selectProjectAccesses,
|
|
@@ -13150,9 +13234,9 @@ export {
|
|
|
13150
13234
|
II as selectProjectFilesByIds,
|
|
13151
13235
|
zI as selectProjectMapping,
|
|
13152
13236
|
us as selectProjects,
|
|
13153
|
-
|
|
13237
|
+
$I as selectProjectsByIds,
|
|
13154
13238
|
bR as selectProjectsOfOrganization,
|
|
13155
|
-
|
|
13239
|
+
kR as selectRehydrated,
|
|
13156
13240
|
Gn as selectStageMapping,
|
|
13157
13241
|
ob as selectTeamById,
|
|
13158
13242
|
QI as selectTeamMembershipById,
|
|
@@ -13180,7 +13264,7 @@ export {
|
|
|
13180
13264
|
ER as selectWorkflowStepAssigneesOfUser,
|
|
13181
13265
|
qb as selectWorkflowStepAssigneesOfWorkflow,
|
|
13182
13266
|
FR as selectWorkflowStepAssigneesOfWorkflowStep,
|
|
13183
|
-
|
|
13267
|
+
hg as selectWorkflowStepById,
|
|
13184
13268
|
Ub as selectWorkflowStepCommentAttachmentById,
|
|
13185
13269
|
xb as selectWorkflowStepCommentAttachmentMapping,
|
|
13186
13270
|
sc as selectWorkflowStepCommentAttachments,
|
|
@@ -13199,55 +13283,55 @@ export {
|
|
|
13199
13283
|
pc as selectWorkflowStepEventMapping,
|
|
13200
13284
|
As as selectWorkflowStepEvents,
|
|
13201
13285
|
__ as selectWorkflowStepEventsByIds,
|
|
13202
|
-
|
|
13286
|
+
k_ as selectWorkflowStepEventsOfWorkflow,
|
|
13203
13287
|
zR as selectWorkflowStepEventsOfWorkflowStep,
|
|
13204
13288
|
qt as selectWorkflowStepFieldValues,
|
|
13205
13289
|
B_ as selectWorkflowStepFieldValuesAttachmentById,
|
|
13206
13290
|
Sc as selectWorkflowStepFieldValuesAttachments,
|
|
13207
|
-
|
|
13291
|
+
$_ as selectWorkflowStepFieldValuesAttachmentsByIds,
|
|
13208
13292
|
z_ as selectWorkflowStepFieldValuesAttachmentsMapping,
|
|
13209
13293
|
K_ as selectWorkflowStepFieldValuesById,
|
|
13210
13294
|
Y_ as selectWorkflowStepFieldValuesByIds,
|
|
13211
13295
|
H_ as selectWorkflowStepFieldValuesMapping,
|
|
13212
|
-
|
|
13296
|
+
$R as selectWorkflowStepFieldValuesOfFieldsRevision,
|
|
13213
13297
|
G_ as selectWorkflowStepFieldValuesOfWorkflow,
|
|
13214
13298
|
BR as selectWorkflowStepFieldValuesOfWorkflowStep,
|
|
13215
13299
|
ws as selectWorkflowStepFields,
|
|
13216
|
-
|
|
13300
|
+
rk as selectWorkflowStepFieldsAttachmentById,
|
|
13217
13301
|
_c as selectWorkflowStepFieldsAttachments,
|
|
13218
|
-
|
|
13219
|
-
|
|
13220
|
-
|
|
13221
|
-
|
|
13222
|
-
|
|
13223
|
-
|
|
13224
|
-
|
|
13225
|
-
|
|
13226
|
-
|
|
13227
|
-
|
|
13228
|
-
|
|
13302
|
+
ck as selectWorkflowStepFieldsAttachmentsByIds,
|
|
13303
|
+
nk as selectWorkflowStepFieldsAttachmentsMapping,
|
|
13304
|
+
Ak as selectWorkflowStepFieldsById,
|
|
13305
|
+
wk as selectWorkflowStepFieldsByIds,
|
|
13306
|
+
gc as selectWorkflowStepFieldsMapping,
|
|
13307
|
+
VR as selectWorkflowStepFieldsOfWorkflowStep,
|
|
13308
|
+
ug as selectWorkflowStepMapping,
|
|
13309
|
+
Xk as selectWorkflowStepReviewById,
|
|
13310
|
+
Jk as selectWorkflowStepReviewMapping,
|
|
13311
|
+
Dk as selectWorkflowStepReviewRequestById,
|
|
13312
|
+
Wk as selectWorkflowStepReviewRequestMapping,
|
|
13229
13313
|
Os as selectWorkflowStepReviewRequests,
|
|
13230
|
-
|
|
13231
|
-
|
|
13314
|
+
xk as selectWorkflowStepReviewRequestsByIds,
|
|
13315
|
+
Uk as selectWorkflowStepReviewRequestsOfWorkflow,
|
|
13232
13316
|
xR as selectWorkflowStepReviewRequestsOfWorkflowStep,
|
|
13233
|
-
|
|
13234
|
-
|
|
13317
|
+
Rk as selectWorkflowStepReviewerById,
|
|
13318
|
+
Mk as selectWorkflowStepReviewerMapping,
|
|
13235
13319
|
zt as selectWorkflowStepReviewers,
|
|
13236
|
-
|
|
13320
|
+
Fk as selectWorkflowStepReviewersByIds,
|
|
13237
13321
|
DR as selectWorkflowStepReviewersOfUser,
|
|
13238
|
-
|
|
13322
|
+
Ek as selectWorkflowStepReviewersOfWorkflow,
|
|
13239
13323
|
WR as selectWorkflowStepReviewersOfWorkflowStep,
|
|
13240
13324
|
Ts as selectWorkflowStepReviews,
|
|
13241
|
-
|
|
13242
|
-
|
|
13325
|
+
eg as selectWorkflowStepReviewsByIds,
|
|
13326
|
+
tg as selectWorkflowStepReviewsOfWorkflow,
|
|
13243
13327
|
UR as selectWorkflowStepReviewsOfWorkflowStep,
|
|
13244
13328
|
Cc as selectWorkflowSteps,
|
|
13245
|
-
|
|
13246
|
-
|
|
13247
|
-
|
|
13248
|
-
|
|
13329
|
+
mg as selectWorkflowStepsByIds,
|
|
13330
|
+
pg as selectWorkflowStepsOfWorkflowType,
|
|
13331
|
+
kg as selectWorkflowTypeById,
|
|
13332
|
+
_g as selectWorkflowTypeMapping,
|
|
13249
13333
|
Dc as selectWorkflowTypes,
|
|
13250
|
-
|
|
13334
|
+
gg as selectWorkflowTypesByIds,
|
|
13251
13335
|
LR as selectWorkflowTypesOfOrganization,
|
|
13252
13336
|
ps as selectWorkflows,
|
|
13253
13337
|
Ob as selectWorkflowsByIds,
|
|
@@ -13272,22 +13356,22 @@ export {
|
|
|
13272
13356
|
Jo as setAssetProcedureTypeAttachment,
|
|
13273
13357
|
Xo as setAssetProcedureTypeAttachments,
|
|
13274
13358
|
Yd as setAssetProcedureTypeFieldValues,
|
|
13275
|
-
|
|
13276
|
-
|
|
13359
|
+
$d as setAssetProcedureTypeFieldValuesAttachment,
|
|
13360
|
+
Vd as setAssetProcedureTypeFieldValuesAttachments,
|
|
13277
13361
|
Qd as setAssetProcedureTypeFieldValuesMany,
|
|
13278
13362
|
_d as setAssetProcedureTypeFields,
|
|
13279
13363
|
ud as setAssetProcedureTypeFieldsAttachment,
|
|
13280
13364
|
hd as setAssetProcedureTypeFieldsAttachments,
|
|
13281
|
-
|
|
13282
|
-
|
|
13365
|
+
kd as setAssetProcedureTypeFieldsMany,
|
|
13366
|
+
kl as setAssetProcedureTypes,
|
|
13283
13367
|
ul as setAssetProcedures,
|
|
13284
13368
|
hh as setAssetStage,
|
|
13285
13369
|
eh as setAssetStageCompletion,
|
|
13286
13370
|
th as setAssetStageCompletions,
|
|
13287
13371
|
ph as setAssetStages,
|
|
13288
13372
|
am as setAssetType,
|
|
13289
|
-
|
|
13290
|
-
|
|
13373
|
+
kh as setAssetTypeAttachment,
|
|
13374
|
+
gh as setAssetTypeAttachments,
|
|
13291
13375
|
Ip as setAssetTypeFieldValues,
|
|
13292
13376
|
dp as setAssetTypeFieldValuesAttachment,
|
|
13293
13377
|
lp as setAssetTypeFieldValuesAttachments,
|
|
@@ -13299,12 +13383,12 @@ export {
|
|
|
13299
13383
|
Bp as setAssetTypeIdentifier,
|
|
13300
13384
|
Kp as setAssetTypeIdentifierValue,
|
|
13301
13385
|
Yp as setAssetTypeIdentifierValues,
|
|
13302
|
-
|
|
13386
|
+
$p as setAssetTypeIdentifiers,
|
|
13303
13387
|
Om as setAssetTypeStatus,
|
|
13304
13388
|
Tm as setAssetTypeStatuses,
|
|
13305
13389
|
rm as setAssetTypes,
|
|
13306
13390
|
Nu as setAssets,
|
|
13307
|
-
|
|
13391
|
+
$m as setCategories,
|
|
13308
13392
|
Bm as setCategory,
|
|
13309
13393
|
tP as setClientSDK,
|
|
13310
13394
|
eP as setClientStore,
|
|
@@ -13318,7 +13402,7 @@ export {
|
|
|
13318
13402
|
Of as setEmailDomain,
|
|
13319
13403
|
Tf as setEmailDomains,
|
|
13320
13404
|
Ey as setForm,
|
|
13321
|
-
|
|
13405
|
+
Vf as setFormIdentifier,
|
|
13322
13406
|
Qf as setFormIdentifierValue,
|
|
13323
13407
|
Zf as setFormIdentifierValues,
|
|
13324
13408
|
jf as setFormIdentifiers,
|
|
@@ -13335,7 +13419,7 @@ export {
|
|
|
13335
13419
|
hS as setGeoImages,
|
|
13336
13420
|
yI as setIsImportingProjectFile,
|
|
13337
13421
|
IA as setIssue,
|
|
13338
|
-
|
|
13422
|
+
kS as setIssueAssociation,
|
|
13339
13423
|
_S as setIssueAssociations,
|
|
13340
13424
|
CS as setIssueAttachment,
|
|
13341
13425
|
WS as setIssueAttachments,
|
|
@@ -13345,7 +13429,7 @@ export {
|
|
|
13345
13429
|
hA as setIssueComments,
|
|
13346
13430
|
SO as setIssueType,
|
|
13347
13431
|
BA as setIssueTypeAttachment,
|
|
13348
|
-
|
|
13432
|
+
$A as setIssueTypeAttachments,
|
|
13349
13433
|
cw as setIssueTypeFieldValues,
|
|
13350
13434
|
vw as setIssueTypeFieldValuesAttachment,
|
|
13351
13435
|
qw as setIssueTypeFieldValuesAttachments,
|
|
@@ -13370,14 +13454,14 @@ export {
|
|
|
13370
13454
|
oT as setOrganizationAccesses,
|
|
13371
13455
|
AT as setOrganizations,
|
|
13372
13456
|
lR as setProfilePicture,
|
|
13373
|
-
|
|
13457
|
+
gI as setProject,
|
|
13374
13458
|
CT as setProjectAccess,
|
|
13375
13459
|
WT as setProjectAccesses,
|
|
13376
13460
|
ZT as setProjectAttachment,
|
|
13377
13461
|
JT as setProjectAttachments,
|
|
13378
13462
|
oI as setProjectFile,
|
|
13379
13463
|
dI as setProjectFiles,
|
|
13380
|
-
|
|
13464
|
+
kI as setProjects,
|
|
13381
13465
|
_R as setRehydrated,
|
|
13382
13466
|
tb as setTeam,
|
|
13383
13467
|
xI as setTeamMembership,
|
|
@@ -13388,11 +13472,11 @@ export {
|
|
|
13388
13472
|
QO as setUser,
|
|
13389
13473
|
YO as setUsers,
|
|
13390
13474
|
pb as setWorkflow,
|
|
13391
|
-
|
|
13392
|
-
|
|
13393
|
-
|
|
13475
|
+
ag as setWorkflowStep,
|
|
13476
|
+
kb as setWorkflowStepAssignee,
|
|
13477
|
+
gb as setWorkflowStepAssignees,
|
|
13394
13478
|
Kb as setWorkflowStepComment,
|
|
13395
|
-
|
|
13479
|
+
Vb as setWorkflowStepCommentAttachment,
|
|
13396
13480
|
jb as setWorkflowStepCommentAttachments,
|
|
13397
13481
|
Yb as setWorkflowStepComments,
|
|
13398
13482
|
r_ as setWorkflowStepCompletion,
|
|
@@ -13403,19 +13487,19 @@ export {
|
|
|
13403
13487
|
R_ as setWorkflowStepFieldValuesAttachment,
|
|
13404
13488
|
F_ as setWorkflowStepFieldValuesAttachments,
|
|
13405
13489
|
x_ as setWorkflowStepFieldValuesMany,
|
|
13406
|
-
|
|
13490
|
+
hk as setWorkflowStepFields,
|
|
13407
13491
|
X_ as setWorkflowStepFieldsAttachment,
|
|
13408
|
-
|
|
13409
|
-
|
|
13410
|
-
|
|
13411
|
-
|
|
13412
|
-
|
|
13413
|
-
|
|
13414
|
-
|
|
13415
|
-
|
|
13416
|
-
|
|
13417
|
-
|
|
13418
|
-
|
|
13492
|
+
ek as setWorkflowStepFieldsAttachments,
|
|
13493
|
+
pk as setWorkflowStepFieldsMany,
|
|
13494
|
+
Gk as setWorkflowStepReview,
|
|
13495
|
+
Bk as setWorkflowStepReviewRequest,
|
|
13496
|
+
$k as setWorkflowStepReviewRequests,
|
|
13497
|
+
bk as setWorkflowStepReviewer,
|
|
13498
|
+
_k as setWorkflowStepReviewers,
|
|
13499
|
+
Kk as setWorkflowStepReviews,
|
|
13500
|
+
rg as setWorkflowSteps,
|
|
13501
|
+
Ag as setWorkflowType,
|
|
13502
|
+
wg as setWorkflowTypes,
|
|
13419
13503
|
mb as setWorkflows,
|
|
13420
13504
|
EP as shallowEqual,
|
|
13421
13505
|
LP as slugify,
|
|
@@ -13425,7 +13509,7 @@ export {
|
|
|
13425
13509
|
lb as teamReducer,
|
|
13426
13510
|
Gr as teamSlice,
|
|
13427
13511
|
xP as toFileNameSafeString,
|
|
13428
|
-
|
|
13512
|
+
$ as toUuidArray,
|
|
13429
13513
|
DP as toUuidIdRecord,
|
|
13430
13514
|
NP as truncate,
|
|
13431
13515
|
Du as updateAsset,
|
|
@@ -13439,7 +13523,7 @@ export {
|
|
|
13439
13523
|
wu as updateAssetProcedureStepFieldValuesMany,
|
|
13440
13524
|
Kl as updateAssetProcedureStepFields,
|
|
13441
13525
|
Bl as updateAssetProcedureStepFieldsAttachment,
|
|
13442
|
-
|
|
13526
|
+
$l as updateAssetProcedureStepFieldsAttachments,
|
|
13443
13527
|
Yl as updateAssetProcedureStepFieldsMany,
|
|
13444
13528
|
vu as updateAssetProcedureSteps,
|
|
13445
13529
|
Ol as updateAssetProcedureType,
|
|
@@ -13449,7 +13533,7 @@ export {
|
|
|
13449
13533
|
jd as updateAssetProcedureTypeFieldValuesAttachment,
|
|
13450
13534
|
Cd as updateAssetProcedureTypeFieldValuesAttachments,
|
|
13451
13535
|
Jd as updateAssetProcedureTypeFieldValuesMany,
|
|
13452
|
-
|
|
13536
|
+
gd as updateAssetProcedureTypeFields,
|
|
13453
13537
|
pd as updateAssetProcedureTypeFieldsAttachment,
|
|
13454
13538
|
md as updateAssetProcedureTypeFieldsAttachments,
|
|
13455
13539
|
Pd as updateAssetProcedureTypeFieldsMany,
|
|
@@ -13465,12 +13549,12 @@ export {
|
|
|
13465
13549
|
_p as updateAssetTypeFieldValues,
|
|
13466
13550
|
up as updateAssetTypeFieldValuesAttachment,
|
|
13467
13551
|
hp as updateAssetTypeFieldValuesAttachments,
|
|
13468
|
-
|
|
13552
|
+
kp as updateAssetTypeFieldValuesMany,
|
|
13469
13553
|
Xh as updateAssetTypeFields,
|
|
13470
13554
|
Wh as updateAssetTypeFieldsAttachment,
|
|
13471
13555
|
Dh as updateAssetTypeFieldsAttachments,
|
|
13472
13556
|
ep as updateAssetTypeFieldsMany,
|
|
13473
|
-
|
|
13557
|
+
Vp as updateAssetTypeIdentifier,
|
|
13474
13558
|
Qp as updateAssetTypeIdentifierValue,
|
|
13475
13559
|
Zp as updateAssetTypeIdentifierValues,
|
|
13476
13560
|
jp as updateAssetTypeIdentifiers,
|
|
@@ -13479,7 +13563,7 @@ export {
|
|
|
13479
13563
|
lm as updateAssetTypes,
|
|
13480
13564
|
xu as updateAssets,
|
|
13481
13565
|
jm as updateCategories,
|
|
13482
|
-
|
|
13566
|
+
Vm as updateCategory,
|
|
13483
13567
|
Bo as updateConversation,
|
|
13484
13568
|
JP as updateConversations,
|
|
13485
13569
|
df as updateDocument,
|
|
@@ -13505,7 +13589,7 @@ export {
|
|
|
13505
13589
|
fS as updateGeoImage,
|
|
13506
13590
|
yS as updateGeoImages,
|
|
13507
13591
|
_A as updateIssue,
|
|
13508
|
-
|
|
13592
|
+
gS as updateIssueAssociation,
|
|
13509
13593
|
PS as updateIssueAssociations,
|
|
13510
13594
|
DS as updateIssueAttachment,
|
|
13511
13595
|
xS as updateIssueAttachments,
|
|
@@ -13514,7 +13598,7 @@ export {
|
|
|
13514
13598
|
tA as updateIssueCommentAttachments,
|
|
13515
13599
|
mA as updateIssueComments,
|
|
13516
13600
|
wO as updateIssueType,
|
|
13517
|
-
|
|
13601
|
+
VA as updateIssueTypeAttachment,
|
|
13518
13602
|
jA as updateIssueTypeAttachments,
|
|
13519
13603
|
dw as updateIssueTypeFieldValues,
|
|
13520
13604
|
zw as updateIssueTypeFieldValuesAttachment,
|
|
@@ -13533,7 +13617,7 @@ export {
|
|
|
13533
13617
|
OO as updateIssueTypes,
|
|
13534
13618
|
xO as updateIssueUpdate,
|
|
13535
13619
|
UO as updateIssueUpdates,
|
|
13536
|
-
|
|
13620
|
+
kA as updateIssues,
|
|
13537
13621
|
bT as updateOrganization,
|
|
13538
13622
|
dT as updateOrganizationAccess,
|
|
13539
13623
|
lT as updateOrganizationAccesses,
|
|
@@ -13553,7 +13637,7 @@ export {
|
|
|
13553
13637
|
XO as updateUser,
|
|
13554
13638
|
JO as updateUsers,
|
|
13555
13639
|
fb as updateWorkflow,
|
|
13556
|
-
|
|
13640
|
+
cg as updateWorkflowStep,
|
|
13557
13641
|
Pb as updateWorkflowStepAssignee,
|
|
13558
13642
|
Mb as updateWorkflowStepAssignees,
|
|
13559
13643
|
Qb as updateWorkflowStepComment,
|
|
@@ -13568,19 +13652,19 @@ export {
|
|
|
13568
13652
|
E_ as updateWorkflowStepFieldValuesAttachment,
|
|
13569
13653
|
v_ as updateWorkflowStepFieldValuesAttachments,
|
|
13570
13654
|
L_ as updateWorkflowStepFieldValuesMany,
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
13575
|
-
|
|
13576
|
-
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
|
|
13581
|
-
|
|
13582
|
-
|
|
13583
|
-
|
|
13655
|
+
mk as updateWorkflowStepFields,
|
|
13656
|
+
tk as updateWorkflowStepFieldsAttachment,
|
|
13657
|
+
sk as updateWorkflowStepFieldsAttachments,
|
|
13658
|
+
fk as updateWorkflowStepFieldsMany,
|
|
13659
|
+
Yk as updateWorkflowStepReview,
|
|
13660
|
+
Vk as updateWorkflowStepReviewRequest,
|
|
13661
|
+
jk as updateWorkflowStepReviewRequests,
|
|
13662
|
+
kk as updateWorkflowStepReviewer,
|
|
13663
|
+
gk as updateWorkflowStepReviewers,
|
|
13664
|
+
Qk as updateWorkflowStepReviews,
|
|
13665
|
+
og as updateWorkflowSteps,
|
|
13666
|
+
Og as updateWorkflowType,
|
|
13667
|
+
Tg as updateWorkflowTypes,
|
|
13584
13668
|
yb as updateWorkflows,
|
|
13585
13669
|
FP as useSelectorBuilder,
|
|
13586
13670
|
tT as userReducer,
|
|
@@ -13588,8 +13672,8 @@ export {
|
|
|
13588
13672
|
P as uuidObj,
|
|
13589
13673
|
cn as uuidObjSortFn,
|
|
13590
13674
|
Ut as uuidSortFn,
|
|
13591
|
-
|
|
13592
|
-
|
|
13675
|
+
Fg as versioningReducer,
|
|
13676
|
+
Rg as versioningSlice,
|
|
13593
13677
|
Ib as workflowReducer,
|
|
13594
13678
|
Yr as workflowSlice,
|
|
13595
13679
|
zb as workflowStepAssigneeReducer,
|
|
@@ -13600,24 +13684,24 @@ export {
|
|
|
13600
13684
|
nc as workflowStepCommentSlice,
|
|
13601
13685
|
f_ as workflowStepCompletionReducer,
|
|
13602
13686
|
cc as workflowStepCompletionSlice,
|
|
13603
|
-
|
|
13687
|
+
g_ as workflowStepEventReducer,
|
|
13604
13688
|
lc as workflowStepEventSlice,
|
|
13605
13689
|
j_ as workflowStepFieldValuesAttachmentReducer,
|
|
13606
13690
|
mc as workflowStepFieldValuesAttachmentSlice,
|
|
13607
13691
|
Q_ as workflowStepFieldValuesReducer,
|
|
13608
13692
|
Ac as workflowStepFieldValuesSlice,
|
|
13609
|
-
|
|
13693
|
+
ok as workflowStepFieldsAttachmentReducer,
|
|
13610
13694
|
Tc as workflowStepFieldsAttachmentSlice,
|
|
13611
|
-
|
|
13612
|
-
|
|
13613
|
-
|
|
13614
|
-
|
|
13615
|
-
|
|
13695
|
+
Ok as workflowStepFieldsReducer,
|
|
13696
|
+
kc as workflowStepFieldsSlice,
|
|
13697
|
+
lg as workflowStepReducer,
|
|
13698
|
+
sg as workflowStepReviewReducer,
|
|
13699
|
+
Lk as workflowStepReviewRequestReducer,
|
|
13616
13700
|
Fc as workflowStepReviewRequestSlice,
|
|
13617
13701
|
qc as workflowStepReviewSlice,
|
|
13618
|
-
|
|
13702
|
+
vk as workflowStepReviewerReducer,
|
|
13619
13703
|
Pc as workflowStepReviewerSlice,
|
|
13620
|
-
|
|
13621
|
-
|
|
13704
|
+
$c as workflowStepSlice,
|
|
13705
|
+
Pg as workflowTypeReducer,
|
|
13622
13706
|
Wc as workflowTypeSlice
|
|
13623
13707
|
};
|