@overmap-ai/core 1.0.74-updates.1 → 1.0.74-updates.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 +354 -325
- package/dist/overmap-core.umd.cjs +6 -6
- package/dist/store/slices/assetAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +4 -4
- package/dist/store/slices/assetProcedureFieldsAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/assetProcedureFieldsSlice.d.ts +4 -4
- package/dist/store/slices/assetProcedureInstanceSlice.d.ts +4 -4
- package/dist/store/slices/assetProcedureSlice.d.ts +1 -1
- package/dist/store/slices/assetSlice.d.ts +4 -4
- package/dist/store/slices/assetStageCompletionSlice.d.ts +1 -1
- package/dist/store/slices/assetStageSlice.d.ts +4 -4
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +4 -4
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +4 -4
- package/dist/store/slices/categorySlice.d.ts +1 -1
- package/dist/store/slices/documentAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/documentSlice.d.ts +1 -1
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/formRevisionSlice.d.ts +4 -4
- package/dist/store/slices/formSlice.d.ts +2 -6
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/formSubmissionSlice.d.ts +3 -3
- package/dist/store/slices/geoImageSlice.d.ts +2 -2
- package/dist/store/slices/issueAssociationSlice.d.ts +1 -1
- package/dist/store/slices/issueAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueCommentAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueCommentSlice.d.ts +1 -1
- package/dist/store/slices/issueSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +3 -3
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +5 -5
- package/dist/store/slices/issueTypeSlice.d.ts +2 -2
- package/dist/store/slices/licenseSlice.d.ts +1 -1
- package/dist/store/slices/organizationAccessSlice.d.ts +1 -1
- package/dist/store/slices/organizationSlice.d.ts +3 -3
- package/dist/store/slices/projectAccessSlice.d.ts +1 -1
- package/dist/store/slices/projectAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/projectFileSlice.d.ts +2 -2
- package/dist/store/slices/projectSlice.d.ts +2 -2
- package/dist/store/slices/teamSlice.d.ts +2 -2
- package/dist/store/slices/userSlice.d.ts +2 -2
- package/dist/typings/models/assets.d.ts +2 -2
- package/dist/typings/models/base.d.ts +1 -1
- package/dist/typings/models/geo.d.ts +1 -4
- package/package.json +1 -1
package/dist/overmap-core.js
CHANGED
|
@@ -138,7 +138,7 @@ function Jh(t, e) {
|
|
|
138
138
|
if (t[s] !== e[s]) return !1;
|
|
139
139
|
return !0;
|
|
140
140
|
}
|
|
141
|
-
const
|
|
141
|
+
const b = (t) => t.length === 0 ? Qa : t, xe = (t) => Object.keys(t).length === 0 ? Xa : t, cc = Gi((t) => {
|
|
142
142
|
if (!t) return "";
|
|
143
143
|
const e = new Date(t), s = e.getFullYear() === St.getFullYear(), i = { day: "numeric", month: "short" };
|
|
144
144
|
return s || (i.year = "numeric"), e.toLocaleDateString([], i);
|
|
@@ -271,7 +271,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
271
271
|
setConversation: ke.setOne,
|
|
272
272
|
updateConversation: ke.updateOne
|
|
273
273
|
}
|
|
274
|
-
}), { initializeConversations: fc, addConversation: yc, setConversation: Ac, updateConversation:
|
|
274
|
+
}), { initializeConversations: fc, addConversation: yc, setConversation: Ac, updateConversation: bc } = Li.actions, Bi = (t) => t.agentsReducer.instances, lm = p(
|
|
275
275
|
[Bi],
|
|
276
276
|
(t) => Object.values(t)
|
|
277
277
|
), hm = A(
|
|
@@ -279,7 +279,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
279
279
|
[Bi, (t, e) => e],
|
|
280
280
|
(t, e) => t[e]
|
|
281
281
|
)
|
|
282
|
-
),
|
|
282
|
+
), gc = Li.reducer, C = _((t) => t.uuid), Dt = C.getInitialState({}), Ni = T({
|
|
283
283
|
name: "assetAttachments",
|
|
284
284
|
initialState: Dt,
|
|
285
285
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Dt)),
|
|
@@ -310,7 +310,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
310
310
|
), Ic = (t) => (e) => e.assetAttachmentReducer.instances[t], Fc = A(
|
|
311
311
|
p(
|
|
312
312
|
[Oc, (t, e) => e],
|
|
313
|
-
(t, e) =>
|
|
313
|
+
(t, e) => b(t.filter(({ asset: s }) => e === s))
|
|
314
314
|
)
|
|
315
315
|
), Pc = Ni.reducer, D = _(
|
|
316
316
|
(t) => t.uuid
|
|
@@ -334,8 +334,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
334
334
|
addAssetProcedureFieldsAttachment: ym,
|
|
335
335
|
addAssetProcedureFieldsAttachments: wc,
|
|
336
336
|
setAssetProcedureFieldsAttachment: Am,
|
|
337
|
-
setAssetProcedureFieldsAttachments:
|
|
338
|
-
updateAssetProcedureFieldsAttachment:
|
|
337
|
+
setAssetProcedureFieldsAttachments: bm,
|
|
338
|
+
updateAssetProcedureFieldsAttachment: gm,
|
|
339
339
|
updateAssetProcedureFieldsAttachments: Ec,
|
|
340
340
|
deleteAssetProcedureFieldsAttachment: Sm,
|
|
341
341
|
deleteAssetProcedureFieldsAttachments: kc
|
|
@@ -343,7 +343,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
343
343
|
[qc],
|
|
344
344
|
(t) => Object.values(t)
|
|
345
345
|
), Tm = A(
|
|
346
|
-
p([jc, (t, e) => e], (t, e) =>
|
|
346
|
+
p([jc, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
347
347
|
), Rm = (t) => (e) => e.assetProcedureFieldsAttachmentReducer.instances[t], Mc = Ki.reducer, z = _((t) => t.uuid), Ut = z.getInitialState({}), Yi = T({
|
|
348
348
|
name: "assetProcedureFields",
|
|
349
349
|
initialState: Ut,
|
|
@@ -372,7 +372,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
372
372
|
} = Yi.actions, Uc = (t) => t.assetProcedureFieldsReducer.instances, Ji = p([Uc], (t) => Object.values(t)), vm = A(
|
|
373
373
|
p(
|
|
374
374
|
[Ji, (t, e) => e],
|
|
375
|
-
(t, e) =>
|
|
375
|
+
(t, e) => b(t.filter((s) => s.asset_procedure === e))
|
|
376
376
|
)
|
|
377
377
|
), wm = A(
|
|
378
378
|
p([Ji, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
@@ -408,16 +408,20 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
408
408
|
(t) => Object.values(t)
|
|
409
409
|
), Dm = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], Bc = A(
|
|
410
410
|
p(
|
|
411
|
-
[
|
|
411
|
+
[
|
|
412
|
+
Xi,
|
|
413
|
+
(t, e) => e
|
|
414
|
+
],
|
|
412
415
|
(t, e) => {
|
|
413
416
|
const s = new Set(e);
|
|
414
|
-
return
|
|
415
|
-
Object.values(t).filter((i) => s.has(i.uuid))
|
|
416
|
-
);
|
|
417
|
+
return b(Object.values(t).filter((i) => s.has(i.uuid)));
|
|
417
418
|
}
|
|
418
419
|
)
|
|
419
420
|
), Nc = A(
|
|
420
|
-
p(
|
|
421
|
+
p(
|
|
422
|
+
[Lc, (t, e) => e],
|
|
423
|
+
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
424
|
+
)
|
|
421
425
|
), Hc = Qi.reducer, U = _(
|
|
422
426
|
(t) => t.uuid
|
|
423
427
|
), Vt = U.getInitialState({}), Zi = T({
|
|
@@ -449,9 +453,9 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
449
453
|
[Qc],
|
|
450
454
|
(t) => Object.values(t)
|
|
451
455
|
), Um = A(
|
|
452
|
-
p([en, (t, e) => e], (t, e) =>
|
|
456
|
+
p([en, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
453
457
|
), $m = A(
|
|
454
|
-
p([en, (t, e) => e], (t, e) =>
|
|
458
|
+
p([en, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure_instance === e)))
|
|
455
459
|
), Bt = (t) => (e) => e.assetProcedureFieldValuesReducer.instances[t], Xc = Zi.reducer, $ = _(
|
|
456
460
|
(t) => t.uuid
|
|
457
461
|
), Nt = $.getInitialState({}), tn = T({
|
|
@@ -485,7 +489,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
485
489
|
), sr = A(
|
|
486
490
|
p(
|
|
487
491
|
[nn, (t, e) => e],
|
|
488
|
-
(t, e) =>
|
|
492
|
+
(t, e) => b(
|
|
489
493
|
t.filter(
|
|
490
494
|
(s) => s.asset_procedure === e
|
|
491
495
|
)
|
|
@@ -494,7 +498,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
494
498
|
), Bm = A(
|
|
495
499
|
p(
|
|
496
500
|
[nn, (t, e) => e],
|
|
497
|
-
(t, e) =>
|
|
501
|
+
(t, e) => b(
|
|
498
502
|
t.filter(
|
|
499
503
|
(s) => s.asset_type === e
|
|
500
504
|
)
|
|
@@ -509,7 +513,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
509
513
|
const n = t[i];
|
|
510
514
|
n && s.push(n);
|
|
511
515
|
}
|
|
512
|
-
return
|
|
516
|
+
return b(s);
|
|
513
517
|
}
|
|
514
518
|
)
|
|
515
519
|
), ir = tn.reducer, V = _((t) => t.uuid), Yt = V.getInitialState({}), an = T({
|
|
@@ -540,19 +544,22 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
540
544
|
} = an.actions, cn = (t) => t.assetProcedureReducer.instances, ar = p([cn], (t) => Object.values(t)), Qm = A(
|
|
541
545
|
p(
|
|
542
546
|
[ar, (t, e) => e],
|
|
543
|
-
(t, e) =>
|
|
547
|
+
(t, e) => b(
|
|
544
548
|
t.filter((s) => s.organization === e)
|
|
545
549
|
)
|
|
546
550
|
)
|
|
547
551
|
), Xt = (t) => (e) => e.assetProcedureReducer.instances[t], Xm = A(
|
|
548
|
-
p(
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
const
|
|
552
|
-
|
|
552
|
+
p(
|
|
553
|
+
[cn, (t, e) => e],
|
|
554
|
+
(t, e) => {
|
|
555
|
+
const s = [];
|
|
556
|
+
for (const i of e) {
|
|
557
|
+
const n = t[i];
|
|
558
|
+
n && s.push(n);
|
|
559
|
+
}
|
|
560
|
+
return b(s);
|
|
553
561
|
}
|
|
554
|
-
|
|
555
|
-
})
|
|
562
|
+
)
|
|
556
563
|
), cr = an.reducer, G = _((t) => t.uuid), Zt = G.getInitialState({}), rn = T({
|
|
557
564
|
name: "assets",
|
|
558
565
|
initialState: Zt,
|
|
@@ -578,8 +585,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
578
585
|
deleteAssets: or,
|
|
579
586
|
setAsset: ep,
|
|
580
587
|
setAssets: tp
|
|
581
|
-
} = rn.actions, dn = (t) => t.assetReducer.instances, dr = p([dn], (t) =>
|
|
582
|
-
p([dr, (t, e) => e], (t, e) =>
|
|
588
|
+
} = rn.actions, dn = (t) => t.assetReducer.instances, dr = p([dn], (t) => b(Object.values(t))), un = A(
|
|
589
|
+
p([dr, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
583
590
|
), ss = (t) => (e) => e.assetReducer.instances[t], sp = A(
|
|
584
591
|
p([dn, (t, e) => e], (t, e) => {
|
|
585
592
|
const s = [];
|
|
@@ -587,7 +594,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
587
594
|
const n = t[i];
|
|
588
595
|
n && s.push(n);
|
|
589
596
|
}
|
|
590
|
-
return
|
|
597
|
+
return b(s);
|
|
591
598
|
})
|
|
592
599
|
), ip = (t) => (e) => un(t)(e).length, ur = rn.reducer, me = _(
|
|
593
600
|
(t) => t.uuid
|
|
@@ -616,14 +623,17 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
616
623
|
[hn],
|
|
617
624
|
(t) => Object.values(t)
|
|
618
625
|
), fr = (t) => (e) => e.assetStageCompletionReducer.instances[t], yr = A(
|
|
619
|
-
p(
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
626
|
+
p(
|
|
627
|
+
[hn, (t, e) => e],
|
|
628
|
+
(t, e) => {
|
|
629
|
+
const s = new Set(e);
|
|
630
|
+
return b(
|
|
631
|
+
Object.values(t).filter(
|
|
632
|
+
(i) => s.has(i.uuid)
|
|
633
|
+
)
|
|
634
|
+
);
|
|
635
|
+
}
|
|
636
|
+
)
|
|
627
637
|
), L = _((t) => t.uuid), os = L.getInitialState({}), mn = T({
|
|
628
638
|
name: "assetStages",
|
|
629
639
|
initialState: os,
|
|
@@ -641,7 +651,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
641
651
|
}
|
|
642
652
|
}), {
|
|
643
653
|
initializeAssetStages: Ar,
|
|
644
|
-
setAssetStage:
|
|
654
|
+
setAssetStage: br,
|
|
645
655
|
setAssetStages: ap,
|
|
646
656
|
addAssetStage: cp,
|
|
647
657
|
addAssetStages: ds,
|
|
@@ -649,7 +659,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
649
659
|
updateAssetStages: nt,
|
|
650
660
|
deleteAssetStage: rp,
|
|
651
661
|
deleteAssetStages: ls
|
|
652
|
-
} = mn.actions,
|
|
662
|
+
} = mn.actions, gr = mn.reducer, Tt = (t) => t.assetStageReducer.instances, Sr = (t) => (e) => e.assetStageReducer.instances[t], Tr = p([Tt], (t) => Object.values(t)), op = A(
|
|
653
663
|
p([Tt, (t, e) => e], (t, e) => {
|
|
654
664
|
const s = {};
|
|
655
665
|
for (const [i, n] of Object.entries(t))
|
|
@@ -657,7 +667,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
657
667
|
return xe(s);
|
|
658
668
|
})
|
|
659
669
|
), dp = A(
|
|
660
|
-
p([Tr, (t, e) => e], (t, e) =>
|
|
670
|
+
p([Tr, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
|
|
661
671
|
), hs = A(
|
|
662
672
|
p([Tt, (t, e) => e], (t, e) => {
|
|
663
673
|
const s = [];
|
|
@@ -665,7 +675,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
665
675
|
const n = t[i];
|
|
666
676
|
n ? s.push(n) : console.warn("selectStagesFromStageIds: No stage exists with the id", i);
|
|
667
677
|
}
|
|
668
|
-
return
|
|
678
|
+
return b(s);
|
|
669
679
|
})
|
|
670
680
|
), B = _((t) => t.uuid), ms = B.getInitialState({}), pn = T({
|
|
671
681
|
name: "assetTypeAttachments",
|
|
@@ -698,7 +708,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
698
708
|
), vr = (t) => (e) => e.assetTypeAttachmentReducer.instances[t], wr = A(
|
|
699
709
|
p(
|
|
700
710
|
[Pr, (t, e) => e],
|
|
701
|
-
(t, e) =>
|
|
711
|
+
(t, e) => b(t.filter(({ asset_type: s }) => e === s))
|
|
702
712
|
)
|
|
703
713
|
), Er = pn.reducer, N = _(
|
|
704
714
|
(t) => t.uuid
|
|
@@ -730,9 +740,9 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
730
740
|
} = An.actions, Cr = (t) => t.assetTypeFieldsAttachmentReducer.instances, Dr = p(
|
|
731
741
|
[Cr],
|
|
732
742
|
(t) => Object.values(t)
|
|
733
|
-
),
|
|
734
|
-
p([Dr, (t, e) => e], (t, e) =>
|
|
735
|
-
),
|
|
743
|
+
), bp = A(
|
|
744
|
+
p([Dr, (t, e) => e], (t, e) => b(t.filter((s) => s.fields_revision === e)))
|
|
745
|
+
), gp = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], zr = An.reducer, H = _((t) => t.uuid), fs = H.getInitialState({}), bn = T({
|
|
736
746
|
name: "assetTypeFields",
|
|
737
747
|
initialState: fs,
|
|
738
748
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, fs)),
|
|
@@ -757,13 +767,13 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
757
767
|
updateAssetTypeFieldsMany: _p,
|
|
758
768
|
deleteAssetTypeFields: Vr,
|
|
759
769
|
deleteAssetTypeFieldsMany: Op
|
|
760
|
-
} =
|
|
761
|
-
p([Rt, (t, e) => e], (t, e) =>
|
|
770
|
+
} = bn.actions, Gr = (t) => t.assetTypeFieldsReducer.instances, Rt = p([Gr], (t) => Object.values(t)), Ip = A(
|
|
771
|
+
p([Rt, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
|
|
762
772
|
), Fp = A(
|
|
763
773
|
p([Rt, (t, e) => e], (t, e) => t.filter((s) => s.asset_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
764
|
-
), Pp = (t) => (e) => e.assetTypeFieldsReducer.instances[t], Lr =
|
|
774
|
+
), Pp = (t) => (e) => e.assetTypeFieldsReducer.instances[t], Lr = bn.reducer, W = _(
|
|
765
775
|
(t) => t.uuid
|
|
766
|
-
), ys = W.getInitialState({}),
|
|
776
|
+
), ys = W.getInitialState({}), gn = T({
|
|
767
777
|
name: "assetTypeFieldValuesAttachments",
|
|
768
778
|
initialState: ys,
|
|
769
779
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ys)),
|
|
@@ -788,22 +798,25 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
788
798
|
updateAssetTypeFieldValuesAttachments: Nr,
|
|
789
799
|
deleteAssetTypeFieldValuesAttachment: qp,
|
|
790
800
|
deleteAssetTypeFieldValuesAttachments: ft
|
|
791
|
-
} =
|
|
801
|
+
} = gn.actions, Sn = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, Hr = p(
|
|
792
802
|
[Sn],
|
|
793
803
|
(t) => Object.values(t)
|
|
794
804
|
), jp = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], Wr = A(
|
|
795
805
|
p(
|
|
796
|
-
[
|
|
806
|
+
[
|
|
807
|
+
Sn,
|
|
808
|
+
(t, e) => e
|
|
809
|
+
],
|
|
797
810
|
(t, e) => {
|
|
798
811
|
const s = new Set(e);
|
|
799
|
-
return
|
|
812
|
+
return b(
|
|
800
813
|
Object.values(t).filter((i) => s.has(i.uuid))
|
|
801
814
|
);
|
|
802
815
|
}
|
|
803
816
|
)
|
|
804
817
|
), Kr = A(
|
|
805
|
-
p([Hr, (t, e) => e], (t, e) =>
|
|
806
|
-
), Yr =
|
|
818
|
+
p([Hr, (t, e) => e], (t, e) => b(t.filter((s) => s.field_values === e)))
|
|
819
|
+
), Yr = gn.reducer, K = _((t) => t.uuid), As = K.getInitialState({}), Tn = T({
|
|
807
820
|
name: "assetTypeFieldValues",
|
|
808
821
|
initialState: As,
|
|
809
822
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, As)),
|
|
@@ -820,16 +833,16 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
820
833
|
}
|
|
821
834
|
}), {
|
|
822
835
|
initializeAssetTypeFieldValues: Jr,
|
|
823
|
-
addAssetTypeFieldValues:
|
|
836
|
+
addAssetTypeFieldValues: bs,
|
|
824
837
|
addAssetTypeFieldValuesMany: Qr,
|
|
825
838
|
setAssetTypeFieldValues: Mp,
|
|
826
839
|
setAssetTypeFieldValuesMany: Cp,
|
|
827
840
|
updateAssetTypeFieldValues: He,
|
|
828
841
|
updateAssetTypeFieldValuesMany: Xr,
|
|
829
|
-
deleteAssetTypeFieldValues:
|
|
842
|
+
deleteAssetTypeFieldValues: gs,
|
|
830
843
|
deleteAssetTypeFieldValuesMany: Zr
|
|
831
844
|
} = Tn.actions, eo = (t) => t.assetTypeFieldValuesReducer.instances, Rn = p([eo], (t) => Object.values(t)), Dp = A(
|
|
832
|
-
p([Rn, (t, e) => e], (t, e) =>
|
|
845
|
+
p([Rn, (t, e) => e], (t, e) => b(t.filter((s) => s.asset === e)))
|
|
833
846
|
), zp = A(
|
|
834
847
|
p(
|
|
835
848
|
[Rt, Rn, (t, e) => e],
|
|
@@ -837,7 +850,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
837
850
|
const i = new Set(
|
|
838
851
|
t.filter((n) => n.asset_type === s).map((n) => n.uuid)
|
|
839
852
|
);
|
|
840
|
-
return
|
|
853
|
+
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
841
854
|
}
|
|
842
855
|
)
|
|
843
856
|
), Ss = (t) => (e) => e.assetTypeFieldValuesReducer.instances[t], to = Tn.reducer, Y = _((t) => t.uuid), Ts = Y.getInitialState({}), _n = T({
|
|
@@ -877,7 +890,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
877
890
|
const n = t[i];
|
|
878
891
|
n ? s.push(n) : console.warn("selectAssetTypesByIds: No assetType exists with the id", i);
|
|
879
892
|
}
|
|
880
|
-
return
|
|
893
|
+
return b(s);
|
|
881
894
|
}
|
|
882
895
|
)
|
|
883
896
|
), io = _n.reducer, Is = {
|
|
@@ -918,7 +931,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
918
931
|
const n = t[i];
|
|
919
932
|
n ? s.push(n) : console.warn("selectCategoryByIds: No category exists with the id", i);
|
|
920
933
|
}
|
|
921
|
-
return
|
|
934
|
+
return b(s);
|
|
922
935
|
}
|
|
923
936
|
)
|
|
924
937
|
), Qp = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, uo = In.reducer, J = _((t) => t.uuid), ws = J.getInitialState({}), Pn = T({
|
|
@@ -946,13 +959,13 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
946
959
|
updateDocumentAttachments: po,
|
|
947
960
|
deleteDocumentAttachment: fo,
|
|
948
961
|
deleteDocumentAttachments: yo
|
|
949
|
-
} = Pn.actions, Ao = (t) => t.documentAttachmentReducer.instances,
|
|
962
|
+
} = Pn.actions, Ao = (t) => t.documentAttachmentReducer.instances, bo = p(
|
|
950
963
|
[Ao],
|
|
951
964
|
(t) => Object.values(t)
|
|
952
|
-
),
|
|
965
|
+
), go = (t) => (e) => e.documentAttachmentReducer.instances[t], tf = A(
|
|
953
966
|
p(
|
|
954
|
-
[
|
|
955
|
-
(t, e) =>
|
|
967
|
+
[bo, (t, e) => e],
|
|
968
|
+
(t, e) => b(t.filter(({ document: s }) => e === s))
|
|
956
969
|
)
|
|
957
970
|
), So = Pn.reducer, Es = {
|
|
958
971
|
documents: {}
|
|
@@ -1092,21 +1105,24 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1092
1105
|
const n = t[i];
|
|
1093
1106
|
n ? s.push(n) : console.warn("selectDocumentByIds: No document exists with the id", i);
|
|
1094
1107
|
}
|
|
1095
|
-
return
|
|
1108
|
+
return b(s);
|
|
1096
1109
|
}
|
|
1097
1110
|
)
|
|
1098
1111
|
), nf = A(
|
|
1099
|
-
p(
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1112
|
+
p(
|
|
1113
|
+
[De, (t, e) => e],
|
|
1114
|
+
(t, e) => {
|
|
1115
|
+
const s = [], i = t[e];
|
|
1116
|
+
if (!i || !i.parent_document) return s;
|
|
1117
|
+
let n = t[i.parent_document];
|
|
1118
|
+
for (; n; )
|
|
1119
|
+
s.push(n.uuid), n = t[n.parent_document ?? ""];
|
|
1120
|
+
return b(s);
|
|
1121
|
+
}
|
|
1122
|
+
)
|
|
1107
1123
|
), af = p(
|
|
1108
1124
|
[Oo],
|
|
1109
|
-
(t) =>
|
|
1125
|
+
(t) => b(t.filter((e) => !e.parent_document))
|
|
1110
1126
|
), Fo = vn.reducer, Ze = _((t) => t.uuid), Po = Ze.getInitialState({}), wn = T({
|
|
1111
1127
|
name: "emailDomains",
|
|
1112
1128
|
initialState: Po,
|
|
@@ -1118,7 +1134,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1118
1134
|
}), { initializeEmailDomains: vo, addEmailDomain: wo, deleteEmailDomain: Eo } = wn.actions, ko = (t) => t.emailDomainsReducer.instances, qo = p([ko], (t) => Object.values(t)), cf = A(
|
|
1119
1135
|
p(
|
|
1120
1136
|
[qo, (t, e) => e],
|
|
1121
|
-
(t, e) =>
|
|
1137
|
+
(t, e) => b(
|
|
1122
1138
|
t.filter((s) => s.organization === e)
|
|
1123
1139
|
)
|
|
1124
1140
|
)
|
|
@@ -1175,7 +1191,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1175
1191
|
} = qn.actions, Go = (t) => t.formRevisionAttachmentReducer.instances, hf = A(
|
|
1176
1192
|
p(
|
|
1177
1193
|
[Go, (t, e) => e],
|
|
1178
|
-
(t, e) =>
|
|
1194
|
+
(t, e) => b(
|
|
1179
1195
|
Object.values(t).filter((s) => s.form_revision === e)
|
|
1180
1196
|
)
|
|
1181
1197
|
)
|
|
@@ -1217,21 +1233,21 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1217
1233
|
), Jo = A(
|
|
1218
1234
|
p(
|
|
1219
1235
|
[Yo, (t, e) => e],
|
|
1220
|
-
(t, e) =>
|
|
1236
|
+
(t, e) => b(t.filter((s) => s.form === e))
|
|
1221
1237
|
)
|
|
1222
|
-
), Qo = jn.reducer,
|
|
1238
|
+
), Qo = jn.reducer, be = _((t) => t.uuid), Cs = be.getInitialState({}), Dn = T({
|
|
1223
1239
|
name: "forms",
|
|
1224
1240
|
initialState: Cs,
|
|
1225
1241
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Cs)),
|
|
1226
1242
|
reducers: {
|
|
1227
|
-
initializeForms:
|
|
1228
|
-
setForm:
|
|
1229
|
-
addForm:
|
|
1230
|
-
addForms:
|
|
1231
|
-
updateForm:
|
|
1232
|
-
deleteForm:
|
|
1233
|
-
}
|
|
1234
|
-
}), { initializeForms: Xo, setForm: ff, addForm: Ds, addForms: yf, updateForm: Af, deleteForm: zs } = Dn.actions, Zo = Dn.reducer, ed = (t) => t.formReducer.instances,
|
|
1243
|
+
initializeForms: be.initialize,
|
|
1244
|
+
setForm: be.setOne,
|
|
1245
|
+
addForm: be.addOne,
|
|
1246
|
+
addForms: be.addMany,
|
|
1247
|
+
updateForm: be.updateOne,
|
|
1248
|
+
deleteForm: be.deleteOne
|
|
1249
|
+
}
|
|
1250
|
+
}), { initializeForms: Xo, setForm: ff, addForm: Ds, addForms: yf, updateForm: Af, deleteForm: zs } = Dn.actions, Zo = Dn.reducer, ed = (t) => t.formReducer.instances, bf = p([ed], (t) => Object.values(t)), td = (t) => (e) => e.formReducer.instances[t], X = _(
|
|
1235
1251
|
(t) => t.uuid
|
|
1236
1252
|
), xs = X.getInitialState({}), zn = T({
|
|
1237
1253
|
name: "formSubmissionAttachments",
|
|
@@ -1250,7 +1266,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1250
1266
|
}
|
|
1251
1267
|
}), {
|
|
1252
1268
|
initializeFormSubmissionAttachments: sd,
|
|
1253
|
-
addFormSubmissionAttachment:
|
|
1269
|
+
addFormSubmissionAttachment: gf,
|
|
1254
1270
|
addFormSubmissionAttachments: yt,
|
|
1255
1271
|
setFormSubmissionAttachment: Sf,
|
|
1256
1272
|
setFormSubmissionAttachments: Tf,
|
|
@@ -1260,10 +1276,13 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1260
1276
|
deleteFormSubmissionAttachments: At
|
|
1261
1277
|
} = zn.actions, xn = (t) => t.formSubmissionAttachmentReducer.instances, nd = A(
|
|
1262
1278
|
p(
|
|
1263
|
-
[
|
|
1279
|
+
[
|
|
1280
|
+
xn,
|
|
1281
|
+
(t, e) => e
|
|
1282
|
+
],
|
|
1264
1283
|
(t, e) => {
|
|
1265
1284
|
const s = new Set(e);
|
|
1266
|
-
return
|
|
1285
|
+
return b(
|
|
1267
1286
|
Object.values(t).filter((i) => s.has(i.uuid))
|
|
1268
1287
|
);
|
|
1269
1288
|
}
|
|
@@ -1271,10 +1290,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1271
1290
|
), ad = A(
|
|
1272
1291
|
p(
|
|
1273
1292
|
[xn, (t, e) => e],
|
|
1274
|
-
(t, e) =>
|
|
1275
|
-
Object.values(t).filter(
|
|
1276
|
-
(s) => s.form_submission === e
|
|
1277
|
-
)
|
|
1293
|
+
(t, e) => b(
|
|
1294
|
+
Object.values(t).filter((s) => s.form_submission === e)
|
|
1278
1295
|
)
|
|
1279
1296
|
)
|
|
1280
1297
|
), cd = zn.reducer, Z = _((t) => t.uuid), Us = Z.getInitialState({}), Un = T({
|
|
@@ -1359,9 +1376,9 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1359
1376
|
updateGeoImage: Ad,
|
|
1360
1377
|
updateGeoImages: Ff,
|
|
1361
1378
|
deleteGeoImage: Bs,
|
|
1362
|
-
deleteGeoImages:
|
|
1363
|
-
} = Gn.actions,
|
|
1364
|
-
p([Sd, (t, e) => e], (t, e) =>
|
|
1379
|
+
deleteGeoImages: bd
|
|
1380
|
+
} = Gn.actions, gd = (t) => t.geoImageReducer.instances, Sd = p([gd], (t) => Object.values(t)), Ns = (t) => (e) => e.geoImageReducer.instances[t], Pf = A(
|
|
1381
|
+
p([Sd, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
|
|
1365
1382
|
), Td = Gn.reducer, te = _((t) => t.uuid), Hs = te.getInitialState({}), Ln = T({
|
|
1366
1383
|
name: "issueAssociations",
|
|
1367
1384
|
initialState: Hs,
|
|
@@ -1390,19 +1407,19 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1390
1407
|
} = Ln.actions, it = (t) => t.issueAssociationReducer.instances, kf = p([it], (t) => Object.values(t)), Od = (t) => (e) => e.issueAssociationReducer.instances[t], Id = A(
|
|
1391
1408
|
p(
|
|
1392
1409
|
[it, (t, e) => e],
|
|
1393
|
-
(t, e) =>
|
|
1410
|
+
(t, e) => b(
|
|
1394
1411
|
Object.values(t).filter((s) => s.associated_issue === e)
|
|
1395
1412
|
)
|
|
1396
1413
|
)
|
|
1397
1414
|
), Fd = A(
|
|
1398
1415
|
p(
|
|
1399
1416
|
[it, (t, e) => e],
|
|
1400
|
-
(t, e) =>
|
|
1417
|
+
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1401
1418
|
)
|
|
1402
1419
|
), Pd = A(
|
|
1403
1420
|
p(
|
|
1404
1421
|
[it, (t, e) => e],
|
|
1405
|
-
(t, e) =>
|
|
1422
|
+
(t, e) => b(Object.values(t).filter((s) => s.asset === e))
|
|
1406
1423
|
)
|
|
1407
1424
|
), vd = Ln.reducer, se = _((t) => t.uuid), Ys = se.getInitialState({}), Hn = T({
|
|
1408
1425
|
name: "issueAttachments",
|
|
@@ -1435,7 +1452,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1435
1452
|
), Md = A(
|
|
1436
1453
|
p(
|
|
1437
1454
|
[jd, (t, e) => e],
|
|
1438
|
-
(t, e) =>
|
|
1455
|
+
(t, e) => b(t.filter(({ issue: s }) => e === s))
|
|
1439
1456
|
)
|
|
1440
1457
|
), Cd = (t) => (e) => e.issueAttachmentReducer.instances[t], Dd = Hn.reducer, ie = _(
|
|
1441
1458
|
(t) => t.uuid
|
|
@@ -1469,20 +1486,23 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1469
1486
|
(t) => Object.values(t)
|
|
1470
1487
|
), Bd = (t) => (e) => e.issueCommentAttachmentReducer.instances[t], xf = A(
|
|
1471
1488
|
p(
|
|
1472
|
-
[
|
|
1473
|
-
|
|
1489
|
+
[
|
|
1490
|
+
Ld,
|
|
1491
|
+
(t, e) => e
|
|
1492
|
+
],
|
|
1493
|
+
(t, e) => b(t.filter(({ issue_comment: s }) => e === s))
|
|
1474
1494
|
)
|
|
1475
|
-
), Nd = Yn.reducer,
|
|
1495
|
+
), Nd = Yn.reducer, ge = _((t) => t.uuid), Zs = ge.getInitialState({}), Jn = T({
|
|
1476
1496
|
name: "issueComments",
|
|
1477
1497
|
initialState: Zs,
|
|
1478
1498
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Zs)),
|
|
1479
1499
|
reducers: {
|
|
1480
|
-
addIssueComment:
|
|
1481
|
-
addIssueComments:
|
|
1482
|
-
setIssueComment:
|
|
1483
|
-
setIssueComments:
|
|
1484
|
-
deleteIssueComment:
|
|
1485
|
-
deleteIssueComments:
|
|
1500
|
+
addIssueComment: ge.addOne,
|
|
1501
|
+
addIssueComments: ge.addMany,
|
|
1502
|
+
setIssueComment: ge.setOne,
|
|
1503
|
+
setIssueComments: ge.setMany,
|
|
1504
|
+
deleteIssueComment: ge.deleteOne,
|
|
1505
|
+
deleteIssueComments: ge.deleteMany
|
|
1486
1506
|
}
|
|
1487
1507
|
}), {
|
|
1488
1508
|
setIssueComments: Hd,
|
|
@@ -1492,7 +1512,10 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1492
1512
|
deleteIssueComment: si,
|
|
1493
1513
|
deleteIssueComments: $f
|
|
1494
1514
|
} = Jn.actions, Wd = (t) => t.issueCommentReducer.instances, ii = (t) => (e) => e.issueCommentReducer.instances[t], Vf = A(
|
|
1495
|
-
p(
|
|
1515
|
+
p(
|
|
1516
|
+
[Wd, (t, e) => e],
|
|
1517
|
+
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1518
|
+
)
|
|
1496
1519
|
), Kd = Jn.reducer, Se = _((t) => t.uuid), ni = Se.getInitialState({}), Qn = T({
|
|
1497
1520
|
name: "issues",
|
|
1498
1521
|
initialState: ni,
|
|
@@ -1514,7 +1537,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1514
1537
|
const n = t[i];
|
|
1515
1538
|
n ? s.push(n) : console.warn("selectIssuesByIds: No issue exists with the id", i);
|
|
1516
1539
|
}
|
|
1517
|
-
return
|
|
1540
|
+
return b(s);
|
|
1518
1541
|
})
|
|
1519
1542
|
), Zd = Qn.reducer, ne = _((t) => t.uuid), oi = ne.getInitialState({}), Xn = T({
|
|
1520
1543
|
name: "issueTypeAttachments",
|
|
@@ -1547,7 +1570,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1547
1570
|
), ru = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Hf = A(
|
|
1548
1571
|
p(
|
|
1549
1572
|
[cu, (t, e) => e],
|
|
1550
|
-
(t, e) =>
|
|
1573
|
+
(t, e) => b(t.filter(({ issue_type: s }) => e === s))
|
|
1551
1574
|
)
|
|
1552
1575
|
), ou = Xn.reducer, ae = _(
|
|
1553
1576
|
(t) => t.uuid
|
|
@@ -1582,7 +1605,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1582
1605
|
), Xf = A(
|
|
1583
1606
|
p(
|
|
1584
1607
|
[pu, (t, e) => e],
|
|
1585
|
-
(t, e) =>
|
|
1608
|
+
(t, e) => b(
|
|
1586
1609
|
t.filter((s) => s.fields_revision === e)
|
|
1587
1610
|
)
|
|
1588
1611
|
)
|
|
@@ -1612,8 +1635,8 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1612
1635
|
deleteIssueTypeFieldValues: mi,
|
|
1613
1636
|
deleteIssueTypeFieldValuesMany: ny
|
|
1614
1637
|
} = ea.actions, Au = (t) => t.issueTypeFieldValuesReducer.instances, ta = p([Au], (t) => Object.values(t)), ay = A(
|
|
1615
|
-
p([ta, (t, e) => e], (t, e) =>
|
|
1616
|
-
), pi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t],
|
|
1638
|
+
p([ta, (t, e) => e], (t, e) => b(t.filter((s) => s.issue === e)))
|
|
1639
|
+
), pi = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], bu = ea.reducer, re = _((t) => t.uuid), fi = re.getInitialState({}), sa = T({
|
|
1617
1640
|
name: "issueTypeFields",
|
|
1618
1641
|
initialState: fi,
|
|
1619
1642
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, fi)),
|
|
@@ -1629,7 +1652,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1629
1652
|
deleteIssueTypeFieldsMany: re.deleteMany
|
|
1630
1653
|
}
|
|
1631
1654
|
}), {
|
|
1632
|
-
initializeIssueTypeFields:
|
|
1655
|
+
initializeIssueTypeFields: gu,
|
|
1633
1656
|
addIssueTypeFields: Su,
|
|
1634
1657
|
addIssueTypeFieldsMany: cy,
|
|
1635
1658
|
setIssueTypeFields: ry,
|
|
@@ -1639,7 +1662,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1639
1662
|
deleteIssueTypeFields: Ru,
|
|
1640
1663
|
deleteIssueTypeFieldsMany: uy
|
|
1641
1664
|
} = sa.actions, _u = (t) => t.issueTypeFieldsReducer.instances, Pt = p([_u], (t) => Object.values(t)), ly = A(
|
|
1642
|
-
p([Pt, (t, e) => e], (t, e) =>
|
|
1665
|
+
p([Pt, (t, e) => e], (t, e) => b(t.filter((s) => s.issue_type === e)))
|
|
1643
1666
|
), hy = A(
|
|
1644
1667
|
p([Pt, (t, e) => e], (t, e) => t.filter((s) => s.issue_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1645
1668
|
), my = A(
|
|
@@ -1649,7 +1672,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1649
1672
|
const i = new Set(
|
|
1650
1673
|
t.filter((n) => n.issue_type === s).map((n) => n.uuid)
|
|
1651
1674
|
);
|
|
1652
|
-
return
|
|
1675
|
+
return b(e.filter((n) => i.has(n.fields_revision)));
|
|
1653
1676
|
}
|
|
1654
1677
|
)
|
|
1655
1678
|
), py = (t) => (e) => e.issueTypeFieldsReducer.instances[t], Ou = sa.reducer, oe = _(
|
|
@@ -1672,22 +1695,25 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1672
1695
|
}), {
|
|
1673
1696
|
initializeIssueTypeFieldValuesAttachments: Iu,
|
|
1674
1697
|
addIssueTypeFieldValuesAttachment: fy,
|
|
1675
|
-
addIssueTypeFieldValuesAttachments:
|
|
1698
|
+
addIssueTypeFieldValuesAttachments: bt,
|
|
1676
1699
|
setIssueTypeFieldValuesAttachment: yy,
|
|
1677
1700
|
setIssueTypeFieldValuesAttachments: Ay,
|
|
1678
|
-
updateIssueTypeFieldValuesAttachment:
|
|
1701
|
+
updateIssueTypeFieldValuesAttachment: by,
|
|
1679
1702
|
updateIssueTypeFieldValuesAttachments: Fu,
|
|
1680
|
-
deleteIssueTypeFieldValuesAttachment:
|
|
1681
|
-
deleteIssueTypeFieldValuesAttachments:
|
|
1703
|
+
deleteIssueTypeFieldValuesAttachment: gy,
|
|
1704
|
+
deleteIssueTypeFieldValuesAttachments: gt
|
|
1682
1705
|
} = ia.actions, na = (t) => t.issueTypeFieldValuesAttachmentReducer.instances, Pu = p(
|
|
1683
1706
|
[na],
|
|
1684
1707
|
(t) => Object.values(t)
|
|
1685
1708
|
), Sy = (t) => (e) => e.issueTypeFieldValuesAttachmentReducer.instances[t], vu = A(
|
|
1686
1709
|
p(
|
|
1687
|
-
[
|
|
1710
|
+
[
|
|
1711
|
+
na,
|
|
1712
|
+
(t, e) => e
|
|
1713
|
+
],
|
|
1688
1714
|
(t, e) => {
|
|
1689
1715
|
const s = new Set(e);
|
|
1690
|
-
return
|
|
1716
|
+
return b(
|
|
1691
1717
|
Object.values(t).filter((i) => s.has(i.uuid))
|
|
1692
1718
|
);
|
|
1693
1719
|
}
|
|
@@ -1695,7 +1721,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1695
1721
|
), wu = A(
|
|
1696
1722
|
p(
|
|
1697
1723
|
[Pu, (t, e) => e],
|
|
1698
|
-
(t, e) =>
|
|
1724
|
+
(t, e) => b(t.filter((s) => s.field_values === e))
|
|
1699
1725
|
)
|
|
1700
1726
|
), Eu = ia.reducer, Ie = _((t) => t.uuid), Ai = Ie.getInitialState({}), aa = T({
|
|
1701
1727
|
name: "issueTypes",
|
|
@@ -1710,10 +1736,10 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1710
1736
|
updateIssueType: Ie.updateOne,
|
|
1711
1737
|
removeIssueType: Ie.deleteOne
|
|
1712
1738
|
}
|
|
1713
|
-
}), { initializeIssueTypes: ku, setIssueType: Je, addIssueType: qu, updateIssueType: ju, removeIssueType:
|
|
1739
|
+
}), { initializeIssueTypes: ku, setIssueType: Je, addIssueType: qu, updateIssueType: ju, removeIssueType: bi } = aa.actions, Mu = (t) => t.issueTypeReducer.instances, Cu = p(
|
|
1714
1740
|
Mu,
|
|
1715
1741
|
(t) => Object.values(t)
|
|
1716
|
-
),
|
|
1742
|
+
), gi = (t) => (e) => e.issueTypeReducer.instances[t], Ty = (t) => (e) => {
|
|
1717
1743
|
const s = [];
|
|
1718
1744
|
for (const i of t) {
|
|
1719
1745
|
const n = e.issueTypeReducer.instances[i];
|
|
@@ -1723,12 +1749,12 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1723
1749
|
}, Ry = A(
|
|
1724
1750
|
p(
|
|
1725
1751
|
[Cu, (t, e) => e],
|
|
1726
|
-
(t, e) =>
|
|
1752
|
+
(t, e) => b(t.filter((s) => s.organization === e))
|
|
1727
1753
|
)
|
|
1728
1754
|
), ca = A(
|
|
1729
1755
|
p(
|
|
1730
1756
|
[(t) => t.issueReducer.instances, (t, e) => e],
|
|
1731
|
-
(t, e) =>
|
|
1757
|
+
(t, e) => b(
|
|
1732
1758
|
Object.values(t).filter((s) => s.issue_type === e)
|
|
1733
1759
|
)
|
|
1734
1760
|
)
|
|
@@ -1754,7 +1780,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1754
1780
|
} = ra.actions, Gu = (t) => t.issueUpdateReducer.instances, Lu = A(
|
|
1755
1781
|
p(
|
|
1756
1782
|
[Gu, (t, e) => e],
|
|
1757
|
-
(t, e) =>
|
|
1783
|
+
(t, e) => b(Object.values(t).filter((s) => s.issue === e))
|
|
1758
1784
|
)
|
|
1759
1785
|
), Bu = ra.reducer, et = _((t) => t.uuid), Ti = et.getInitialState({}), oa = T({
|
|
1760
1786
|
name: "license",
|
|
@@ -1767,7 +1793,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1767
1793
|
}
|
|
1768
1794
|
}), { initializeLicences: Nu, addLicenses: Iy, updateLicense: pe } = oa.actions, vt = (t) => t.licenseReducer.instances, Fy = (t) => (e) => e.licenseReducer.instances[t], Hu = (t) => (e) => Object.values(e.licenseReducer.instances).find((s) => s.project === t), Py = p(
|
|
1769
1795
|
[vt],
|
|
1770
|
-
(t) =>
|
|
1796
|
+
(t) => b(Object.values(t).filter((e) => e.is_active))
|
|
1771
1797
|
), vy = p(
|
|
1772
1798
|
[vt],
|
|
1773
1799
|
(t) => xe(
|
|
@@ -1823,7 +1849,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1823
1849
|
const n = t[i];
|
|
1824
1850
|
n ? s.push(n) : console.warn("selectUsersByIds: No user exists with the uuid", i);
|
|
1825
1851
|
}
|
|
1826
|
-
return
|
|
1852
|
+
return b(s);
|
|
1827
1853
|
})
|
|
1828
1854
|
), tt = _(
|
|
1829
1855
|
(t) => t.uuid
|
|
@@ -1900,7 +1926,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1900
1926
|
deleteProject: ul,
|
|
1901
1927
|
deleteProjects: Qy,
|
|
1902
1928
|
acceptProjectInvite: ll
|
|
1903
|
-
} = fa.actions, hl = fa.reducer, kt = (t) => t.projectReducer.instances, Xy = p([kt], (t) =>
|
|
1929
|
+
} = fa.actions, hl = fa.reducer, kt = (t) => t.projectReducer.instances, Xy = p([kt], (t) => b(Object.values(t))), Zy = (t) => (e) => e.projectReducer.instances[t], ml = p(
|
|
1904
1930
|
[pa],
|
|
1905
1931
|
(t) => Object.values(t).map((e) => e.user)
|
|
1906
1932
|
), pl = p(
|
|
@@ -1908,7 +1934,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1908
1934
|
(t, e) => t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
1909
1935
|
), eA = p(
|
|
1910
1936
|
[wt, pl, cl],
|
|
1911
|
-
(t, e, s) =>
|
|
1937
|
+
(t, e, s) => b(
|
|
1912
1938
|
Object.values(e).sort((i, n) => {
|
|
1913
1939
|
if (i.uuid === (t == null ? void 0 : t.uuid))
|
|
1914
1940
|
return -1;
|
|
@@ -1945,31 +1971,34 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
1945
1971
|
deleteOrganizations: oA
|
|
1946
1972
|
} = ya.actions, yl = (t) => t.organizationReducer.instances, Al = p([yl], (t) => Object.values(t)), dA = (t) => (e) => e.organizationReducer.instances[t], uA = p(
|
|
1947
1973
|
[Al],
|
|
1948
|
-
(t) =>
|
|
1974
|
+
(t) => b(
|
|
1949
1975
|
Object.values(t).filter((e) => e.has_access)
|
|
1950
1976
|
)
|
|
1951
|
-
),
|
|
1977
|
+
), bl = p(
|
|
1952
1978
|
[la],
|
|
1953
1979
|
(t) => Object.values(t).map((e) => e.user)
|
|
1954
1980
|
), lA = A(
|
|
1955
1981
|
p(
|
|
1956
1982
|
[kt, (t, e) => e],
|
|
1957
|
-
(t, e) =>
|
|
1983
|
+
(t, e) => b(
|
|
1958
1984
|
Object.values(t).filter((s) => s.organization_owner === e)
|
|
1959
1985
|
)
|
|
1960
1986
|
)
|
|
1961
1987
|
), hA = A(
|
|
1962
|
-
p(
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
)
|
|
1966
|
-
|
|
1988
|
+
p(
|
|
1989
|
+
[vt, (t, e) => e],
|
|
1990
|
+
(t, e) => b(
|
|
1991
|
+
Object.values(t).filter((s) => s.organization_owner === e)
|
|
1992
|
+
)
|
|
1993
|
+
)
|
|
1994
|
+
), gl = p(
|
|
1995
|
+
[bl, Et],
|
|
1967
1996
|
(t, e) => xe(
|
|
1968
1997
|
t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
1969
1998
|
)
|
|
1970
1999
|
), mA = p(
|
|
1971
|
-
[wt,
|
|
1972
|
-
(t, e, s) =>
|
|
2000
|
+
[wt, gl, el],
|
|
2001
|
+
(t, e, s) => b(
|
|
1973
2002
|
Object.values(e).sort((i, n) => {
|
|
1974
2003
|
if (i.uuid === (t == null ? void 0 : t.uuid))
|
|
1975
2004
|
return -1;
|
|
@@ -2025,7 +2054,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
2025
2054
|
t.latestRetryTime = e.payload;
|
|
2026
2055
|
}
|
|
2027
2056
|
}
|
|
2028
|
-
}), pA = (t) => t.outboxReducer.deletedRequests, fA = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Rl, markForDeletion: yA, markAsDeleted: _l, _setLatestRetryTime: Ol } = Aa.actions, Il = Aa.reducer, le = _((t) => t.uuid), vi = le.getInitialState({}),
|
|
2057
|
+
}), pA = (t) => t.outboxReducer.deletedRequests, fA = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: Rl, markForDeletion: yA, markAsDeleted: _l, _setLatestRetryTime: Ol } = Aa.actions, Il = Aa.reducer, le = _((t) => t.uuid), vi = le.getInitialState({}), ba = T({
|
|
2029
2058
|
name: "projectAttachments",
|
|
2030
2059
|
initialState: vi,
|
|
2031
2060
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, vi)),
|
|
@@ -2046,19 +2075,19 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
2046
2075
|
addProjectAttachments: Pl,
|
|
2047
2076
|
setProjectAttachment: vl,
|
|
2048
2077
|
setProjectAttachments: wl,
|
|
2049
|
-
updateProjectAttachment:
|
|
2078
|
+
updateProjectAttachment: bA,
|
|
2050
2079
|
updateProjectAttachments: El,
|
|
2051
2080
|
deleteProjectAttachment: kl,
|
|
2052
|
-
deleteProjectAttachments:
|
|
2053
|
-
} =
|
|
2081
|
+
deleteProjectAttachments: ga
|
|
2082
|
+
} = ba.actions, ql = (t) => t.projectAttachmentReducer.instances, jl = p(
|
|
2054
2083
|
[ql],
|
|
2055
2084
|
(t) => Object.values(t)
|
|
2056
2085
|
), Ml = (t) => (e) => e.projectAttachmentReducer.instances[t], Cl = A(
|
|
2057
2086
|
p(
|
|
2058
2087
|
[jl, (t, e) => e],
|
|
2059
|
-
(t, e) =>
|
|
2088
|
+
(t, e) => b(t.filter(({ project: s }) => e === s))
|
|
2060
2089
|
)
|
|
2061
|
-
), Dl =
|
|
2090
|
+
), Dl = ba.reducer, he = _((t) => t.uuid), wi = he.getInitialState({
|
|
2062
2091
|
activeProjectFileId: null,
|
|
2063
2092
|
isImportingProjectFile: !1
|
|
2064
2093
|
}), Sa = T({
|
|
@@ -2100,7 +2129,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
2100
2129
|
}
|
|
2101
2130
|
}), {
|
|
2102
2131
|
initializeProjectFiles: zl,
|
|
2103
|
-
setProjectFile:
|
|
2132
|
+
setProjectFile: gA,
|
|
2104
2133
|
setProjectFiles: SA,
|
|
2105
2134
|
addProjectFile: TA,
|
|
2106
2135
|
addProjectFiles: xl,
|
|
@@ -2113,7 +2142,7 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
2113
2142
|
setActiveProjectFileId: Gl,
|
|
2114
2143
|
saveActiveProjectFileBounds: Ll,
|
|
2115
2144
|
resetProjectFileObjectUrls: _A
|
|
2116
|
-
} = Sa.actions, Bl = (t) => t.projectFileReducer.instances, Nl = p([Bl], (t) =>
|
|
2145
|
+
} = Sa.actions, Bl = (t) => t.projectFileReducer.instances, Nl = p([Bl], (t) => b(Object.values(t).sort((e, s) => e.z_index - s.z_index))), OA = (t) => (e) => e.projectFileReducer.instances[t], IA = (t) => t.projectFileReducer.activeProjectFileId, FA = (t) => t.projectFileReducer.isImportingProjectFile, Hl = Sa.reducer, Wl = {
|
|
2117
2146
|
isRehydrated: !1
|
|
2118
2147
|
}, Ta = T({
|
|
2119
2148
|
name: "rehydrated",
|
|
@@ -2144,16 +2173,16 @@ const ke = _((t) => t.uuid), Ct = ke.getInitialState({}), Li = T({
|
|
|
2144
2173
|
const n = t[i];
|
|
2145
2174
|
n ? s.push(n) : console.warn("selectTeamsByIds: No team exists with the id", i);
|
|
2146
2175
|
}
|
|
2147
|
-
return
|
|
2176
|
+
return b(s);
|
|
2148
2177
|
}
|
|
2149
2178
|
)
|
|
2150
2179
|
), EA = A(
|
|
2151
2180
|
p(
|
|
2152
2181
|
[Oa, (t, e) => e],
|
|
2153
|
-
(t, e) =>
|
|
2182
|
+
(t, e) => b(t.filter((s) => s.organization === e))
|
|
2154
2183
|
)
|
|
2155
2184
|
), kA = A(
|
|
2156
|
-
p([Oa, (t, e) => e], (t, e) =>
|
|
2185
|
+
p([Oa, (t, e) => e], (t, e) => b(t.filter((s) => s.members.includes(e))))
|
|
2157
2186
|
), Ql = Ra.reducer, Xl = {
|
|
2158
2187
|
version: 0
|
|
2159
2188
|
}, Zl = T({
|
|
@@ -2201,7 +2230,7 @@ const wa = "versioning", Ea = () => qa.length - 1, ka = (t) => (t[wa] = { versio
|
|
|
2201
2230
|
assetReducer: ur,
|
|
2202
2231
|
assetAttachmentReducer: Pc,
|
|
2203
2232
|
assetStageCompletionReducer: pr,
|
|
2204
|
-
assetStageReducer:
|
|
2233
|
+
assetStageReducer: gr,
|
|
2205
2234
|
assetTypeReducer: io,
|
|
2206
2235
|
assetTypeAttachmentReducer: Er,
|
|
2207
2236
|
issueReducer: Zd,
|
|
@@ -2227,14 +2256,14 @@ const wa = "versioning", Ea = () => qa.length - 1, ka = (t) => (t[wa] = { versio
|
|
|
2227
2256
|
documentsReducer: Fo,
|
|
2228
2257
|
documentAttachmentReducer: So,
|
|
2229
2258
|
teamReducer: Ql,
|
|
2230
|
-
agentsReducer:
|
|
2259
|
+
agentsReducer: gc,
|
|
2231
2260
|
issueCommentReducer: Kd,
|
|
2232
2261
|
issueCommentAttachmentReducer: Nd,
|
|
2233
2262
|
issueUpdateReducer: Bu,
|
|
2234
2263
|
geoImageReducer: Td,
|
|
2235
2264
|
issueAssociationReducer: vd,
|
|
2236
2265
|
issueTypeFieldsReducer: Ou,
|
|
2237
|
-
issueTypeFieldValuesReducer:
|
|
2266
|
+
issueTypeFieldValuesReducer: bu,
|
|
2238
2267
|
issueTypeFieldsAttachmentReducer: fu,
|
|
2239
2268
|
issueTypeFieldValuesAttachmentReducer: Eu,
|
|
2240
2269
|
assetTypeFieldsReducer: Lr,
|
|
@@ -2326,11 +2355,11 @@ async function Ma(t, e) {
|
|
|
2326
2355
|
...a,
|
|
2327
2356
|
...c.request
|
|
2328
2357
|
}, R = c.request;
|
|
2329
|
-
let
|
|
2358
|
+
let g = R.url;
|
|
2330
2359
|
const F = h ? await e.files.fetchCache(h) : void 0;
|
|
2331
2360
|
if (h && !F)
|
|
2332
2361
|
throw new Error(`Cannot upload file ${h} because it's not cached.`);
|
|
2333
|
-
!m && !
|
|
2362
|
+
!m && !g.startsWith("http") && (!g.startsWith("/") && !g.startsWith("blob:") && (g = "/" + g), g = t.meta.offline.effect.BASE_URL + g);
|
|
2334
2363
|
const k = (v) => {
|
|
2335
2364
|
if (h) {
|
|
2336
2365
|
const M = R.s3url;
|
|
@@ -2343,21 +2372,21 @@ async function Ma(t, e) {
|
|
|
2343
2372
|
}
|
|
2344
2373
|
return v.send(o);
|
|
2345
2374
|
}, xa = {
|
|
2346
|
-
[d.GET]: () => S ? Oe.get(
|
|
2375
|
+
[d.GET]: () => S ? Oe.get(g.toString()).responseType("blob") : Oe.get(g.toString()),
|
|
2347
2376
|
[d.POST]: () => {
|
|
2348
|
-
const v = Oe.post(
|
|
2377
|
+
const v = Oe.post(g.toString());
|
|
2349
2378
|
return k(v);
|
|
2350
2379
|
},
|
|
2351
2380
|
[d.PATCH]: () => {
|
|
2352
|
-
const v = Oe.patch(
|
|
2381
|
+
const v = Oe.patch(g.toString());
|
|
2353
2382
|
return k(v);
|
|
2354
2383
|
},
|
|
2355
2384
|
[d.PUT]: () => {
|
|
2356
|
-
const v = Oe.put(
|
|
2385
|
+
const v = Oe.put(g.toString());
|
|
2357
2386
|
return k(v);
|
|
2358
2387
|
},
|
|
2359
2388
|
[d.DELETE]: () => {
|
|
2360
|
-
const v = Oe.delete(
|
|
2389
|
+
const v = Oe.delete(g.toString());
|
|
2361
2390
|
return k(v);
|
|
2362
2391
|
}
|
|
2363
2392
|
}[r];
|
|
@@ -2416,15 +2445,15 @@ class Ah extends Ca {
|
|
|
2416
2445
|
return super.run(e);
|
|
2417
2446
|
}
|
|
2418
2447
|
}
|
|
2419
|
-
class
|
|
2448
|
+
class bh extends Ca {
|
|
2420
2449
|
async run(e) {
|
|
2421
2450
|
return super.run(e);
|
|
2422
2451
|
}
|
|
2423
2452
|
}
|
|
2424
|
-
const
|
|
2453
|
+
const gh = new Ah().then(new bh()).compile();
|
|
2425
2454
|
function Sh(t) {
|
|
2426
2455
|
var e;
|
|
2427
|
-
return (e =
|
|
2456
|
+
return (e = gh[0]) == null ? void 0 : e.run(t);
|
|
2428
2457
|
}
|
|
2429
2458
|
const Da = [400, 409, 403, 404, 405, 500];
|
|
2430
2459
|
function za(t, e, s = 0) {
|
|
@@ -2768,7 +2797,7 @@ class DA extends I {
|
|
|
2768
2797
|
blocks: ["prompt"],
|
|
2769
2798
|
queryParams: { conversation_id: s }
|
|
2770
2799
|
}).then((n) => {
|
|
2771
|
-
this.dispatch(
|
|
2800
|
+
this.dispatch(bc(n));
|
|
2772
2801
|
});
|
|
2773
2802
|
}
|
|
2774
2803
|
async fetchDetails(e) {
|
|
@@ -3094,13 +3123,13 @@ class $A extends E {
|
|
|
3094
3123
|
for (const u of a) {
|
|
3095
3124
|
const h = {}, m = [];
|
|
3096
3125
|
for (const f of u) {
|
|
3097
|
-
const { fieldValuesUuid: S, fieldIdentifier: R, file:
|
|
3126
|
+
const { fieldValuesUuid: S, fieldIdentifier: R, file: g } = f, F = await this.getFilePayload(g);
|
|
3098
3127
|
F.sha1 in h || (h[F.sha1] = F);
|
|
3099
3128
|
const k = O(
|
|
3100
3129
|
{
|
|
3101
|
-
file: URL.createObjectURL(
|
|
3102
|
-
file_type:
|
|
3103
|
-
file_name:
|
|
3130
|
+
file: URL.createObjectURL(g),
|
|
3131
|
+
file_type: g.type,
|
|
3132
|
+
file_name: g.name,
|
|
3104
3133
|
file_sha1: F.sha1,
|
|
3105
3134
|
created_by: n,
|
|
3106
3135
|
field_values: S,
|
|
@@ -3111,7 +3140,7 @@ class $A extends E {
|
|
|
3111
3140
|
c.push(k);
|
|
3112
3141
|
const Ve = {
|
|
3113
3142
|
uuid: k.uuid,
|
|
3114
|
-
file_name:
|
|
3143
|
+
file_name: g.name,
|
|
3115
3144
|
file_sha1: F.sha1,
|
|
3116
3145
|
file_extension: F.extension,
|
|
3117
3146
|
field_identifier: R,
|
|
@@ -3315,7 +3344,7 @@ class GA extends I {
|
|
|
3315
3344
|
this.dispatch(Kc(a));
|
|
3316
3345
|
const l = [];
|
|
3317
3346
|
for (const u of o) {
|
|
3318
|
-
const h = u.field_values.map((
|
|
3347
|
+
const h = u.field_values.map((g) => g.asset), m = u.field_values.map((g) => g.fields_revision), f = u.field_values.map((g) => g.asset_procedure_instance), S = u.field_values.map((g) => g.uuid), R = this.enqueueRequest({
|
|
3319
3348
|
description: "Bulk add asset procedure field values",
|
|
3320
3349
|
method: d.POST,
|
|
3321
3350
|
url: "/asset-procedure-field-values/bulk/",
|
|
@@ -3545,7 +3574,7 @@ class NA extends I {
|
|
|
3545
3574
|
// Basic CRUD functions
|
|
3546
3575
|
add(e) {
|
|
3547
3576
|
const { store: s } = this.client;
|
|
3548
|
-
if (!e.canvas_marker && !e.
|
|
3577
|
+
if (!e.canvas_marker && !e.geo_marker)
|
|
3549
3578
|
throw new Error("Asset must have either a canvas_marker or geo_marker");
|
|
3550
3579
|
const i = s.getState().userReducer.currentUser.uuid, n = (/* @__PURE__ */ new Date()).toISOString(), a = O({
|
|
3551
3580
|
...e,
|
|
@@ -3575,7 +3604,7 @@ class NA extends I {
|
|
|
3575
3604
|
...i,
|
|
3576
3605
|
...e
|
|
3577
3606
|
};
|
|
3578
|
-
if (!n.canvas_marker && !n.
|
|
3607
|
+
if (!n.canvas_marker && !n.geo_marker)
|
|
3579
3608
|
throw new Error("Asset must have either a canvas_marker or geo_marker");
|
|
3580
3609
|
this.dispatch(Ne(n));
|
|
3581
3610
|
const a = this.enqueueRequest({
|
|
@@ -3638,7 +3667,7 @@ class NA extends I {
|
|
|
3638
3667
|
r && S.push(r);
|
|
3639
3668
|
const R = f;
|
|
3640
3669
|
R.push(h);
|
|
3641
|
-
const
|
|
3670
|
+
const g = this.enqueueRequest({
|
|
3642
3671
|
description: "Batch create assets",
|
|
3643
3672
|
method: d.POST,
|
|
3644
3673
|
url: "/assets/bulk/",
|
|
@@ -3646,7 +3675,7 @@ class NA extends I {
|
|
|
3646
3675
|
blockers: S,
|
|
3647
3676
|
blocks: R
|
|
3648
3677
|
});
|
|
3649
|
-
r = u.batchId, l.push(
|
|
3678
|
+
r = u.batchId, l.push(g);
|
|
3650
3679
|
}
|
|
3651
3680
|
return Promise.all(l).then((u) => {
|
|
3652
3681
|
const h = u.flat();
|
|
@@ -3842,7 +3871,7 @@ class WA extends I {
|
|
|
3842
3871
|
return a.then((c) => {
|
|
3843
3872
|
this.dispatch(us(c));
|
|
3844
3873
|
}).catch(() => {
|
|
3845
|
-
this.dispatch(
|
|
3874
|
+
this.dispatch(br(i));
|
|
3846
3875
|
}), [n, a];
|
|
3847
3876
|
}
|
|
3848
3877
|
async refreshStore(e) {
|
|
@@ -4018,12 +4047,12 @@ class QA extends E {
|
|
|
4018
4047
|
for (const u of a) {
|
|
4019
4048
|
const h = {}, m = [];
|
|
4020
4049
|
for (const f of u) {
|
|
4021
|
-
const { fieldValuesUuid: S, fieldIdentifier: R, file:
|
|
4050
|
+
const { fieldValuesUuid: S, fieldIdentifier: R, file: g } = f, F = await this.getFilePayload(g);
|
|
4022
4051
|
F.sha1 in h || (h[F.sha1] = F);
|
|
4023
4052
|
const k = O({
|
|
4024
|
-
file: URL.createObjectURL(
|
|
4025
|
-
file_type:
|
|
4026
|
-
file_name:
|
|
4053
|
+
file: URL.createObjectURL(g),
|
|
4054
|
+
file_type: g.type,
|
|
4055
|
+
file_name: g.name,
|
|
4027
4056
|
file_sha1: F.sha1,
|
|
4028
4057
|
created_by: n,
|
|
4029
4058
|
field_values: S,
|
|
@@ -4033,7 +4062,7 @@ class QA extends E {
|
|
|
4033
4062
|
c.push(k);
|
|
4034
4063
|
const Ve = {
|
|
4035
4064
|
uuid: k.uuid,
|
|
4036
|
-
file_name:
|
|
4065
|
+
file_name: g.name,
|
|
4037
4066
|
file_sha1: F.sha1,
|
|
4038
4067
|
file_extension: F.extension,
|
|
4039
4068
|
field_identifier: R,
|
|
@@ -4116,8 +4145,8 @@ class XA extends I {
|
|
|
4116
4145
|
blockers: [e.asset, e.fields_revision],
|
|
4117
4146
|
blocks: [n.uuid]
|
|
4118
4147
|
});
|
|
4119
|
-
return this.dispatch(
|
|
4120
|
-
this.dispatch(
|
|
4148
|
+
return this.dispatch(bs(n)), a.then((o) => (this.dispatch(He(o)), o)).catch(() => {
|
|
4149
|
+
this.dispatch(gs(n.uuid));
|
|
4121
4150
|
}), [n, a];
|
|
4122
4151
|
}
|
|
4123
4152
|
bulkAdd(e, s) {
|
|
@@ -4197,7 +4226,7 @@ class XA extends I {
|
|
|
4197
4226
|
if (!n)
|
|
4198
4227
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
4199
4228
|
const a = Kr(e)(i);
|
|
4200
|
-
this.dispatch(
|
|
4229
|
+
this.dispatch(gs(e)), this.dispatch(ft(a.map((c) => c.uuid)));
|
|
4201
4230
|
try {
|
|
4202
4231
|
await this.enqueueRequest({
|
|
4203
4232
|
description: "Delete asset type field values",
|
|
@@ -4207,7 +4236,7 @@ class XA extends I {
|
|
|
4207
4236
|
blocks: []
|
|
4208
4237
|
});
|
|
4209
4238
|
} catch (c) {
|
|
4210
|
-
throw this.dispatch(
|
|
4239
|
+
throw this.dispatch(bs(n)), this.dispatch(pt(a)), c;
|
|
4211
4240
|
}
|
|
4212
4241
|
}
|
|
4213
4242
|
async refreshStore(e) {
|
|
@@ -4303,7 +4332,7 @@ class ZA extends I {
|
|
|
4303
4332
|
this.dispatch(so(s));
|
|
4304
4333
|
}
|
|
4305
4334
|
}
|
|
4306
|
-
class
|
|
4335
|
+
class eb extends I {
|
|
4307
4336
|
add(e) {
|
|
4308
4337
|
var o;
|
|
4309
4338
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, n = (/* @__PURE__ */ new Date()).toISOString(), a = O({
|
|
@@ -4368,7 +4397,7 @@ class eg extends I {
|
|
|
4368
4397
|
this.dispatch(co(s));
|
|
4369
4398
|
}
|
|
4370
4399
|
}
|
|
4371
|
-
class
|
|
4400
|
+
class tb extends _e {
|
|
4372
4401
|
constructor() {
|
|
4373
4402
|
super(...arguments);
|
|
4374
4403
|
y(this, "name", "Document Attachment");
|
|
@@ -4378,7 +4407,7 @@ class tg extends _e {
|
|
|
4378
4407
|
y(this, "removeAttachments", yo);
|
|
4379
4408
|
y(this, "removeAttachment", fo);
|
|
4380
4409
|
y(this, "setAttachment", mo);
|
|
4381
|
-
y(this, "selectAttachment",
|
|
4410
|
+
y(this, "selectAttachment", go);
|
|
4382
4411
|
}
|
|
4383
4412
|
buildOfflineAttachment(s) {
|
|
4384
4413
|
return O({
|
|
@@ -4405,7 +4434,7 @@ class tg extends _e {
|
|
|
4405
4434
|
for (const m of s) {
|
|
4406
4435
|
const { documentUuid: f, file: S } = m, R = await this.getFilePayload(S);
|
|
4407
4436
|
R.sha1 in l || (l[R.sha1] = R, r[R.sha1] = []);
|
|
4408
|
-
const
|
|
4437
|
+
const g = this.buildOfflineAttachment({
|
|
4409
4438
|
file: S,
|
|
4410
4439
|
file_sha1: R.sha1,
|
|
4411
4440
|
submitted_at: a,
|
|
@@ -4413,14 +4442,14 @@ class tg extends _e {
|
|
|
4413
4442
|
description: "",
|
|
4414
4443
|
modelUuid: f
|
|
4415
4444
|
});
|
|
4416
|
-
c.push(
|
|
4417
|
-
uuid:
|
|
4418
|
-
file_name:
|
|
4419
|
-
file_sha1:
|
|
4445
|
+
c.push(g), o.push({
|
|
4446
|
+
uuid: g.uuid,
|
|
4447
|
+
file_name: g.file_name,
|
|
4448
|
+
file_sha1: g.file_sha1,
|
|
4420
4449
|
file_extension: R.extension,
|
|
4421
|
-
description:
|
|
4450
|
+
description: g.description,
|
|
4422
4451
|
document: f
|
|
4423
|
-
}), r[R.sha1].push(
|
|
4452
|
+
}), r[R.sha1].push(g.uuid);
|
|
4424
4453
|
}
|
|
4425
4454
|
this.dispatch(this.addAttachments(c));
|
|
4426
4455
|
const u = this.enqueueRequest({
|
|
@@ -4438,8 +4467,8 @@ class tg extends _e {
|
|
|
4438
4467
|
return u.then(({ attachments: m, presigned_urls: f }) => {
|
|
4439
4468
|
this.dispatch(this.updateAttachments(m));
|
|
4440
4469
|
const S = this.processPresignedUrls(f);
|
|
4441
|
-
for (const [R,
|
|
4442
|
-
|
|
4470
|
+
for (const [R, g] of Object.entries(S))
|
|
4471
|
+
g.then(() => {
|
|
4443
4472
|
const F = r[R];
|
|
4444
4473
|
for (const k of F)
|
|
4445
4474
|
this.makeReadable(k);
|
|
@@ -4483,7 +4512,7 @@ class tg extends _e {
|
|
|
4483
4512
|
this.dispatch(this.addAttachments(a));
|
|
4484
4513
|
}
|
|
4485
4514
|
}
|
|
4486
|
-
class
|
|
4515
|
+
class sb extends I {
|
|
4487
4516
|
add(e) {
|
|
4488
4517
|
var o;
|
|
4489
4518
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, n = (/* @__PURE__ */ new Date()).toISOString(), a = O({
|
|
@@ -4599,7 +4628,7 @@ class sg extends I {
|
|
|
4599
4628
|
this.dispatch(To([...await i, ...await n]));
|
|
4600
4629
|
}
|
|
4601
4630
|
}
|
|
4602
|
-
class
|
|
4631
|
+
class ib extends I {
|
|
4603
4632
|
async add(e, s) {
|
|
4604
4633
|
return this.enqueueRequest({
|
|
4605
4634
|
description: "Add email domain to organization",
|
|
@@ -4632,7 +4661,7 @@ class ig extends I {
|
|
|
4632
4661
|
this.dispatch(vo(s));
|
|
4633
4662
|
}
|
|
4634
4663
|
}
|
|
4635
|
-
class
|
|
4664
|
+
class nb extends I {
|
|
4636
4665
|
async getVerificationCode(e) {
|
|
4637
4666
|
return this.enqueueRequest({
|
|
4638
4667
|
description: "Get verification code",
|
|
@@ -4658,7 +4687,7 @@ class ng extends I {
|
|
|
4658
4687
|
const Qe = {}, ot = /* @__PURE__ */ new Set();
|
|
4659
4688
|
let Xe = 0, dt = 0, ut = 0;
|
|
4660
4689
|
const Fh = 20;
|
|
4661
|
-
class
|
|
4690
|
+
class ab extends I {
|
|
4662
4691
|
constructor() {
|
|
4663
4692
|
super(...arguments);
|
|
4664
4693
|
y(this, "host");
|
|
@@ -4815,7 +4844,7 @@ class ag extends I {
|
|
|
4815
4844
|
return r;
|
|
4816
4845
|
}
|
|
4817
4846
|
}
|
|
4818
|
-
class
|
|
4847
|
+
class cb extends E {
|
|
4819
4848
|
async bulkAdd(e) {
|
|
4820
4849
|
var l;
|
|
4821
4850
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
|
|
@@ -4878,7 +4907,7 @@ class cg extends E {
|
|
|
4878
4907
|
this.dispatch(xo(s));
|
|
4879
4908
|
}
|
|
4880
4909
|
}
|
|
4881
|
-
class
|
|
4910
|
+
class rb extends E {
|
|
4882
4911
|
add(e) {
|
|
4883
4912
|
var o;
|
|
4884
4913
|
const { store: s } = this.client, n = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, a = O({
|
|
@@ -4915,7 +4944,7 @@ class rg extends E {
|
|
|
4915
4944
|
this.dispatch(Ho(s));
|
|
4916
4945
|
}
|
|
4917
4946
|
}
|
|
4918
|
-
const
|
|
4947
|
+
const ob = async (t) => {
|
|
4919
4948
|
const e = {}, s = [];
|
|
4920
4949
|
for (const i of t) {
|
|
4921
4950
|
if (i.type !== "section")
|
|
@@ -4939,7 +4968,7 @@ const og = async (t) => {
|
|
|
4939
4968
|
}
|
|
4940
4969
|
return { fields: s, images: e };
|
|
4941
4970
|
};
|
|
4942
|
-
class
|
|
4971
|
+
class db extends E {
|
|
4943
4972
|
add(e, s) {
|
|
4944
4973
|
var r;
|
|
4945
4974
|
const { store: i } = this.client, n = (/* @__PURE__ */ new Date()).toISOString(), a = (r = i.getState().userReducer.currentUser) == null ? void 0 : r.uuid, c = O({
|
|
@@ -5008,7 +5037,7 @@ class dg extends E {
|
|
|
5008
5037
|
this.dispatch(Xo(s));
|
|
5009
5038
|
}
|
|
5010
5039
|
}
|
|
5011
|
-
class
|
|
5040
|
+
class ub extends E {
|
|
5012
5041
|
async bulkAdd(e) {
|
|
5013
5042
|
var l;
|
|
5014
5043
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
|
|
@@ -5089,7 +5118,7 @@ class ug extends E {
|
|
|
5089
5118
|
this.dispatch(sd(s));
|
|
5090
5119
|
}
|
|
5091
5120
|
}
|
|
5092
|
-
class
|
|
5121
|
+
class lb extends E {
|
|
5093
5122
|
async add(e) {
|
|
5094
5123
|
var h;
|
|
5095
5124
|
const { store: s } = this.client, { file: i, ...n } = e, a = (/* @__PURE__ */ new Date()).toISOString(), c = (h = s.getState().userReducer.currentUser) == null ? void 0 : h.uuid, o = n.project, l = await this.getFilePayload(i), r = O({
|
|
@@ -5134,7 +5163,7 @@ class lg extends E {
|
|
|
5134
5163
|
for (const m of e) {
|
|
5135
5164
|
const { file: f, ...S } = m, R = await this.getFilePayload(f);
|
|
5136
5165
|
R.sha1 in r || (r[R.sha1] = R);
|
|
5137
|
-
const
|
|
5166
|
+
const g = O({
|
|
5138
5167
|
...S,
|
|
5139
5168
|
file_name: f.name,
|
|
5140
5169
|
file_sha1: R.sha1,
|
|
@@ -5143,16 +5172,16 @@ class lg extends E {
|
|
|
5143
5172
|
created_by: a,
|
|
5144
5173
|
project: s
|
|
5145
5174
|
});
|
|
5146
|
-
c.push(
|
|
5147
|
-
uuid:
|
|
5148
|
-
sha1:
|
|
5149
|
-
file_name:
|
|
5150
|
-
title:
|
|
5151
|
-
description:
|
|
5152
|
-
geo_marker:
|
|
5153
|
-
canvas_marker:
|
|
5154
|
-
direction:
|
|
5155
|
-
original_date:
|
|
5175
|
+
c.push(g), o.push(g.uuid), l.push({
|
|
5176
|
+
uuid: g.uuid,
|
|
5177
|
+
sha1: g.file_sha1,
|
|
5178
|
+
file_name: g.file_name,
|
|
5179
|
+
title: g.title,
|
|
5180
|
+
description: g.description,
|
|
5181
|
+
geo_marker: g.geo_marker,
|
|
5182
|
+
canvas_marker: g.canvas_marker,
|
|
5183
|
+
direction: g.direction,
|
|
5184
|
+
original_date: g.original_date
|
|
5156
5185
|
});
|
|
5157
5186
|
}
|
|
5158
5187
|
this.dispatch(yd(c));
|
|
@@ -5172,7 +5201,7 @@ class lg extends E {
|
|
|
5172
5201
|
return u.then((m) => {
|
|
5173
5202
|
this.processPresignedUrls(m.presigned_urls), this.dispatch(pd(m.geo_images));
|
|
5174
5203
|
}).catch(() => {
|
|
5175
|
-
this.dispatch(
|
|
5204
|
+
this.dispatch(bd(o));
|
|
5176
5205
|
}), [c, u.then((m) => m.geo_images)];
|
|
5177
5206
|
}
|
|
5178
5207
|
update(e) {
|
|
@@ -5222,7 +5251,7 @@ class lg extends E {
|
|
|
5222
5251
|
this.dispatch(md(s));
|
|
5223
5252
|
}
|
|
5224
5253
|
}
|
|
5225
|
-
class
|
|
5254
|
+
class hb extends I {
|
|
5226
5255
|
add(e) {
|
|
5227
5256
|
var o;
|
|
5228
5257
|
const { store: s } = this.client, i = (/* @__PURE__ */ new Date()).toISOString(), n = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, a = O({
|
|
@@ -5277,7 +5306,7 @@ class hg extends I {
|
|
|
5277
5306
|
this.dispatch(Rd(s));
|
|
5278
5307
|
}
|
|
5279
5308
|
}
|
|
5280
|
-
class
|
|
5309
|
+
class mb extends _e {
|
|
5281
5310
|
constructor() {
|
|
5282
5311
|
super(...arguments);
|
|
5283
5312
|
y(this, "name", "Issue Attachment");
|
|
@@ -5328,7 +5357,7 @@ class mg extends _e {
|
|
|
5328
5357
|
this.dispatch(Js(i));
|
|
5329
5358
|
}
|
|
5330
5359
|
}
|
|
5331
|
-
class
|
|
5360
|
+
class pb extends _e {
|
|
5332
5361
|
constructor() {
|
|
5333
5362
|
super(...arguments);
|
|
5334
5363
|
y(this, "name", "Issue Comment Attachment");
|
|
@@ -5379,7 +5408,7 @@ class pg extends _e {
|
|
|
5379
5408
|
this.dispatch(Xs(i));
|
|
5380
5409
|
}
|
|
5381
5410
|
}
|
|
5382
|
-
class
|
|
5411
|
+
class fb extends I {
|
|
5383
5412
|
add(e) {
|
|
5384
5413
|
var a;
|
|
5385
5414
|
const { store: s } = this.client, i = O({
|
|
@@ -5451,7 +5480,7 @@ class fg extends I {
|
|
|
5451
5480
|
this.dispatch(Hd(s));
|
|
5452
5481
|
}
|
|
5453
5482
|
}
|
|
5454
|
-
class
|
|
5483
|
+
class yb extends I {
|
|
5455
5484
|
add(e) {
|
|
5456
5485
|
var l;
|
|
5457
5486
|
const { store: s } = this.client, i = s.getState(), n = (/* @__PURE__ */ new Date()).toISOString(), a = (l = i.userReducer.currentUser) == null ? void 0 : l.uuid, c = O({
|
|
@@ -5593,7 +5622,7 @@ class yg extends I {
|
|
|
5593
5622
|
this.dispatch(Yd(s));
|
|
5594
5623
|
}
|
|
5595
5624
|
}
|
|
5596
|
-
class
|
|
5625
|
+
class Ab extends _e {
|
|
5597
5626
|
constructor() {
|
|
5598
5627
|
super(...arguments);
|
|
5599
5628
|
y(this, "name", "Issue Type Attachment");
|
|
@@ -5644,7 +5673,7 @@ class Ag extends _e {
|
|
|
5644
5673
|
this.dispatch(di(i));
|
|
5645
5674
|
}
|
|
5646
5675
|
}
|
|
5647
|
-
class
|
|
5676
|
+
class bb extends E {
|
|
5648
5677
|
async bulkAdd(e) {
|
|
5649
5678
|
var l;
|
|
5650
5679
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
|
|
@@ -5709,7 +5738,7 @@ class gg extends E {
|
|
|
5709
5738
|
this.dispatch(du(s));
|
|
5710
5739
|
}
|
|
5711
5740
|
}
|
|
5712
|
-
class
|
|
5741
|
+
class gb extends I {
|
|
5713
5742
|
add(e) {
|
|
5714
5743
|
var o;
|
|
5715
5744
|
const { store: s } = this.client, i = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.uuid, n = (/* @__PURE__ */ new Date()).toISOString(), a = O({
|
|
@@ -5743,10 +5772,10 @@ class bg extends I {
|
|
|
5743
5772
|
blockers: [],
|
|
5744
5773
|
blocks: []
|
|
5745
5774
|
});
|
|
5746
|
-
this.dispatch(
|
|
5775
|
+
this.dispatch(gu(s));
|
|
5747
5776
|
}
|
|
5748
5777
|
}
|
|
5749
|
-
class
|
|
5778
|
+
class Sb extends E {
|
|
5750
5779
|
async bulkAdd(e) {
|
|
5751
5780
|
var l;
|
|
5752
5781
|
const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.uuid, n = {}, a = [], c = [];
|
|
@@ -5774,7 +5803,7 @@ class Sg extends E {
|
|
|
5774
5803
|
};
|
|
5775
5804
|
c.push(R);
|
|
5776
5805
|
}
|
|
5777
|
-
this.dispatch(
|
|
5806
|
+
this.dispatch(bt(a));
|
|
5778
5807
|
const o = this.enqueueRequest({
|
|
5779
5808
|
description: "Add issue type field values attachments",
|
|
5780
5809
|
method: d.POST,
|
|
@@ -5791,7 +5820,7 @@ class Sg extends E {
|
|
|
5791
5820
|
this.processPresignedUrls(r), this.dispatch(Fu(u));
|
|
5792
5821
|
}).catch((r) => {
|
|
5793
5822
|
throw this.dispatch(
|
|
5794
|
-
|
|
5823
|
+
gt(
|
|
5795
5824
|
a.map((u) => u.uuid)
|
|
5796
5825
|
)
|
|
5797
5826
|
), r;
|
|
@@ -5799,7 +5828,7 @@ class Sg extends E {
|
|
|
5799
5828
|
}
|
|
5800
5829
|
async bulkDelete(e) {
|
|
5801
5830
|
const { store: s } = this.client, i = s.getState(), n = vu(e)(i);
|
|
5802
|
-
this.dispatch(
|
|
5831
|
+
this.dispatch(gt(e));
|
|
5803
5832
|
try {
|
|
5804
5833
|
await this.enqueueRequest({
|
|
5805
5834
|
description: "Delete issue type field values attachments",
|
|
@@ -5810,7 +5839,7 @@ class Sg extends E {
|
|
|
5810
5839
|
blocks: []
|
|
5811
5840
|
});
|
|
5812
5841
|
} catch (a) {
|
|
5813
|
-
throw this.dispatch(
|
|
5842
|
+
throw this.dispatch(bt(n)), a;
|
|
5814
5843
|
}
|
|
5815
5844
|
}
|
|
5816
5845
|
async refreshStore(e) {
|
|
@@ -5827,7 +5856,7 @@ class Sg extends E {
|
|
|
5827
5856
|
this.dispatch(Iu(s));
|
|
5828
5857
|
}
|
|
5829
5858
|
}
|
|
5830
|
-
class
|
|
5859
|
+
class Tb extends I {
|
|
5831
5860
|
add(e) {
|
|
5832
5861
|
var c;
|
|
5833
5862
|
const { store: s } = this.client, i = s.getState(), n = O({
|
|
@@ -5878,7 +5907,7 @@ class Tg extends I {
|
|
|
5878
5907
|
if (!n)
|
|
5879
5908
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
5880
5909
|
const a = wu(e)(i);
|
|
5881
|
-
this.dispatch(mi(e)), this.dispatch(
|
|
5910
|
+
this.dispatch(mi(e)), this.dispatch(gt(a.map((c) => c.uuid)));
|
|
5882
5911
|
try {
|
|
5883
5912
|
await this.enqueueRequest({
|
|
5884
5913
|
description: "Delete issue type field values",
|
|
@@ -5888,7 +5917,7 @@ class Tg extends I {
|
|
|
5888
5917
|
blocks: []
|
|
5889
5918
|
});
|
|
5890
5919
|
} catch (c) {
|
|
5891
|
-
throw this.dispatch(hi(n)), this.dispatch(
|
|
5920
|
+
throw this.dispatch(hi(n)), this.dispatch(bt(a)), c;
|
|
5892
5921
|
}
|
|
5893
5922
|
}
|
|
5894
5923
|
async refreshStore(e) {
|
|
@@ -5905,7 +5934,7 @@ class Tg extends I {
|
|
|
5905
5934
|
this.dispatch(yu(s));
|
|
5906
5935
|
}
|
|
5907
5936
|
}
|
|
5908
|
-
class
|
|
5937
|
+
class Rb extends I {
|
|
5909
5938
|
add(e) {
|
|
5910
5939
|
var c;
|
|
5911
5940
|
const { store: s } = this.client, i = s.getState(), n = O({
|
|
@@ -5924,11 +5953,11 @@ class Rg extends I {
|
|
|
5924
5953
|
return a.then((o) => {
|
|
5925
5954
|
this.dispatch(Je(o));
|
|
5926
5955
|
}).catch(() => {
|
|
5927
|
-
this.dispatch(
|
|
5956
|
+
this.dispatch(bi(n.uuid));
|
|
5928
5957
|
}), [n, a];
|
|
5929
5958
|
}
|
|
5930
5959
|
update(e) {
|
|
5931
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5960
|
+
const { store: s } = this.client, i = s.getState(), n = gi(e.uuid)(i);
|
|
5932
5961
|
if (!n)
|
|
5933
5962
|
throw new Error(`IssueType with uuid ${e.uuid} does not exist in the store.`);
|
|
5934
5963
|
const a = {
|
|
@@ -5950,11 +5979,11 @@ class Rg extends I {
|
|
|
5950
5979
|
}), [a, c];
|
|
5951
5980
|
}
|
|
5952
5981
|
delete(e) {
|
|
5953
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5982
|
+
const { store: s } = this.client, i = s.getState(), n = gi(e)(i);
|
|
5954
5983
|
if (!n)
|
|
5955
5984
|
throw new Error(`IssueType with uuid ${e} does not exist in the store.`);
|
|
5956
5985
|
const a = ca(e)(i);
|
|
5957
|
-
this.dispatch(
|
|
5986
|
+
this.dispatch(bi(e)), this.dispatch(Qd(a.map((o) => o.uuid)));
|
|
5958
5987
|
const c = this.enqueueRequest({
|
|
5959
5988
|
method: d.DELETE,
|
|
5960
5989
|
url: `/issue-types/${e}/`,
|
|
@@ -5978,7 +6007,7 @@ class Rg extends I {
|
|
|
5978
6007
|
this.dispatch(ku(s));
|
|
5979
6008
|
}
|
|
5980
6009
|
}
|
|
5981
|
-
class
|
|
6010
|
+
class _b extends I {
|
|
5982
6011
|
async refreshStore(e) {
|
|
5983
6012
|
const s = await this.enqueueRequest({
|
|
5984
6013
|
description: "Get issue updates",
|
|
@@ -6004,7 +6033,7 @@ function wh(t) {
|
|
|
6004
6033
|
if (!t.refresh) throw new Error("Missing refresh token");
|
|
6005
6034
|
return { accessToken: t.access, refreshToken: t.refresh };
|
|
6006
6035
|
}
|
|
6007
|
-
class
|
|
6036
|
+
class Ob extends Ph {
|
|
6008
6037
|
constructor() {
|
|
6009
6038
|
super(...arguments);
|
|
6010
6039
|
// _getTokenPair and _getRenewedTokens don't need to use enqueueRequest from the BaseApiService because
|
|
@@ -6126,7 +6155,7 @@ class Og extends Ph {
|
|
|
6126
6155
|
});
|
|
6127
6156
|
}
|
|
6128
6157
|
}
|
|
6129
|
-
class
|
|
6158
|
+
class Ib extends I {
|
|
6130
6159
|
async getLicense(e) {
|
|
6131
6160
|
const s = await this.enqueueRequest({
|
|
6132
6161
|
description: "Get license",
|
|
@@ -6231,7 +6260,7 @@ class Ig extends I {
|
|
|
6231
6260
|
this.dispatch(Nu(Object.values(i)));
|
|
6232
6261
|
}
|
|
6233
6262
|
}
|
|
6234
|
-
class
|
|
6263
|
+
class Fb extends I {
|
|
6235
6264
|
async update(e) {
|
|
6236
6265
|
const s = this.enqueueRequest({
|
|
6237
6266
|
description: "Edit organization access",
|
|
@@ -6265,7 +6294,7 @@ class Fg extends I {
|
|
|
6265
6294
|
this.dispatch(Qu(s));
|
|
6266
6295
|
}
|
|
6267
6296
|
}
|
|
6268
|
-
class
|
|
6297
|
+
class Pb extends I {
|
|
6269
6298
|
create(e) {
|
|
6270
6299
|
return this.enqueueRequest({
|
|
6271
6300
|
description: "Create organization",
|
|
@@ -6315,7 +6344,7 @@ class Pg extends I {
|
|
|
6315
6344
|
i[a.uuid] = a, this.dispatch(fl(Object.values(i)));
|
|
6316
6345
|
}
|
|
6317
6346
|
}
|
|
6318
|
-
class
|
|
6347
|
+
class vb extends I {
|
|
6319
6348
|
async update(e) {
|
|
6320
6349
|
return this.dispatch(sl(e)), this.enqueueRequest({
|
|
6321
6350
|
description: "Edit project access",
|
|
@@ -6350,14 +6379,14 @@ class vg extends I {
|
|
|
6350
6379
|
this.dispatch(ma(s));
|
|
6351
6380
|
}
|
|
6352
6381
|
}
|
|
6353
|
-
class
|
|
6382
|
+
class wb extends _e {
|
|
6354
6383
|
constructor() {
|
|
6355
6384
|
super(...arguments);
|
|
6356
6385
|
y(this, "name", "Project Attachment");
|
|
6357
6386
|
y(this, "url", "/project-attachments");
|
|
6358
6387
|
y(this, "addAttachments", Pl);
|
|
6359
6388
|
y(this, "updateAttachments", El);
|
|
6360
|
-
y(this, "removeAttachments",
|
|
6389
|
+
y(this, "removeAttachments", ga);
|
|
6361
6390
|
y(this, "removeAttachment", kl);
|
|
6362
6391
|
y(this, "setAttachment", vl);
|
|
6363
6392
|
y(this, "selectAttachment", Ml);
|
|
@@ -6400,7 +6429,7 @@ class wg extends _e {
|
|
|
6400
6429
|
this.dispatch(Fl(i));
|
|
6401
6430
|
}
|
|
6402
6431
|
}
|
|
6403
|
-
class
|
|
6432
|
+
class Eb extends I {
|
|
6404
6433
|
async saveExisting(e) {
|
|
6405
6434
|
if (!e.uuid)
|
|
6406
6435
|
throw new Error(
|
|
@@ -6478,7 +6507,7 @@ class Eg extends I {
|
|
|
6478
6507
|
this.dispatch(zl(s));
|
|
6479
6508
|
}
|
|
6480
6509
|
}
|
|
6481
|
-
class
|
|
6510
|
+
class kb extends I {
|
|
6482
6511
|
async add(e) {
|
|
6483
6512
|
if (!e.bounds && !e.canvas_bounds)
|
|
6484
6513
|
throw new Error("Project must either have bounds or canvas_bounds set");
|
|
@@ -6517,7 +6546,7 @@ class kg extends I {
|
|
|
6517
6546
|
const c = Nl(i).filter((u) => u.project === e);
|
|
6518
6547
|
this.dispatch($l(c.map(({ uuid: u }) => u)));
|
|
6519
6548
|
const o = Cl(a.uuid)(i);
|
|
6520
|
-
this.dispatch(
|
|
6549
|
+
this.dispatch(ga(o.map(({ uuid: u }) => u)));
|
|
6521
6550
|
const l = al(i);
|
|
6522
6551
|
this.dispatch(nl(l.map(({ uuid: u }) => u))), this.dispatch({ type: "rehydrated/setRehydrated", payload: !1 }), this.dispatch(ul(a.uuid));
|
|
6523
6552
|
const r = Hu(a.uuid)(i);
|
|
@@ -6569,7 +6598,7 @@ class kg extends I {
|
|
|
6569
6598
|
});
|
|
6570
6599
|
}
|
|
6571
6600
|
}
|
|
6572
|
-
class
|
|
6601
|
+
class qb extends I {
|
|
6573
6602
|
add(e) {
|
|
6574
6603
|
const s = O({
|
|
6575
6604
|
...e,
|
|
@@ -6679,7 +6708,7 @@ class qg extends I {
|
|
|
6679
6708
|
this.dispatch(Yl(s));
|
|
6680
6709
|
}
|
|
6681
6710
|
}
|
|
6682
|
-
class
|
|
6711
|
+
class jb extends I {
|
|
6683
6712
|
async refreshStore(e, s) {
|
|
6684
6713
|
const i = {}, n = await this.enqueueRequest({
|
|
6685
6714
|
description: "Fetch organization users",
|
|
@@ -6726,57 +6755,57 @@ export {
|
|
|
6726
6755
|
I as BaseApiService,
|
|
6727
6756
|
MA as BaseSDK,
|
|
6728
6757
|
hc as COMMON_AUTO_FIELDS,
|
|
6729
|
-
|
|
6758
|
+
eb as CategoryService,
|
|
6730
6759
|
Nh as DEFAULT_ISSUE_PRIORITY,
|
|
6731
6760
|
Bh as DEFAULT_ISSUE_STATUS,
|
|
6732
6761
|
nc as DeferredPromise,
|
|
6733
|
-
|
|
6734
|
-
|
|
6762
|
+
tb as DocumentAttachmentService,
|
|
6763
|
+
sb as DocumentService,
|
|
6735
6764
|
Qa as EMPTY_ARRAY,
|
|
6736
6765
|
Xa as EMPTY_OBJECT,
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6766
|
+
ib as EmailDomainsService,
|
|
6767
|
+
nb as EmailVerificationService,
|
|
6768
|
+
ab as FileService,
|
|
6769
|
+
cb as FormRevisionAttachmentService,
|
|
6770
|
+
rb as FormRevisionService,
|
|
6771
|
+
db as FormService,
|
|
6772
|
+
ub as FormSubmissionAttachmentService,
|
|
6744
6773
|
VA as FormSubmissionService,
|
|
6745
|
-
|
|
6774
|
+
lb as GeoImageService,
|
|
6746
6775
|
d as HttpMethod,
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6776
|
+
hb as IssueAssociationService,
|
|
6777
|
+
mb as IssueAttachmentService,
|
|
6778
|
+
pb as IssueCommentAttachmentService,
|
|
6779
|
+
fb as IssueCommentService,
|
|
6751
6780
|
$i as IssuePriority,
|
|
6752
|
-
|
|
6781
|
+
yb as IssueService,
|
|
6753
6782
|
Vi as IssueStatus,
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6783
|
+
Ab as IssueTypeAttachmentService,
|
|
6784
|
+
Sb as IssueTypeFieldValuesAttachmentService,
|
|
6785
|
+
Tb as IssueTypeFieldValuesService,
|
|
6786
|
+
bb as IssueTypeFieldsAttachmentService,
|
|
6787
|
+
gb as IssueTypeFieldsService,
|
|
6788
|
+
Rb as IssueTypeService,
|
|
6760
6789
|
w as IssueUpdateChange,
|
|
6761
|
-
|
|
6762
|
-
|
|
6790
|
+
_b as IssueUpdateService,
|
|
6791
|
+
Ob as JWTService,
|
|
6763
6792
|
tc as LicenseLevel,
|
|
6764
|
-
|
|
6793
|
+
Ib as LicenseService,
|
|
6765
6794
|
sc as LicenseStatus,
|
|
6766
6795
|
ic as OUTBOX_RETRY_DELAY,
|
|
6767
6796
|
Ui as OrganizationAccessLevel,
|
|
6768
|
-
|
|
6769
|
-
|
|
6797
|
+
Fb as OrganizationAccessService,
|
|
6798
|
+
Pb as OrganizationService,
|
|
6770
6799
|
Me as OutboxCoordinator,
|
|
6771
6800
|
ec as PaddleCheckoutEvent,
|
|
6772
6801
|
xi as ProjectAccessLevel,
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6802
|
+
vb as ProjectAccessService,
|
|
6803
|
+
wb as ProjectAttachmentService,
|
|
6804
|
+
Eb as ProjectFileService,
|
|
6805
|
+
kb as ProjectService,
|
|
6806
|
+
qb as TeamService,
|
|
6778
6807
|
ze as UNKNOWN_ERROR_MESSAGE,
|
|
6779
|
-
|
|
6808
|
+
jb as UserService,
|
|
6780
6809
|
ja as VERSION_REDUCER_KEY,
|
|
6781
6810
|
Eh as VerificationCodeType,
|
|
6782
6811
|
Ol as _setLatestRetryTime,
|
|
@@ -6803,7 +6832,7 @@ export {
|
|
|
6803
6832
|
Rs as addAssetType,
|
|
6804
6833
|
up as addAssetTypeAttachment,
|
|
6805
6834
|
fn as addAssetTypeAttachments,
|
|
6806
|
-
|
|
6835
|
+
bs as addAssetTypeFieldValues,
|
|
6807
6836
|
vp as addAssetTypeFieldValuesAttachment,
|
|
6808
6837
|
pt as addAssetTypeFieldValuesAttachments,
|
|
6809
6838
|
Qr as addAssetTypeFieldValuesMany,
|
|
@@ -6825,7 +6854,7 @@ export {
|
|
|
6825
6854
|
Uo as addFormRevisionAttachments,
|
|
6826
6855
|
Wo as addFormRevisions,
|
|
6827
6856
|
$s as addFormSubmission,
|
|
6828
|
-
|
|
6857
|
+
gf as addFormSubmissionAttachment,
|
|
6829
6858
|
yt as addFormSubmissionAttachments,
|
|
6830
6859
|
It as addFormSubmissions,
|
|
6831
6860
|
yf as addForms,
|
|
@@ -6845,7 +6874,7 @@ export {
|
|
|
6845
6874
|
eu as addIssueTypeAttachments,
|
|
6846
6875
|
hi as addIssueTypeFieldValues,
|
|
6847
6876
|
fy as addIssueTypeFieldValuesAttachment,
|
|
6848
|
-
|
|
6877
|
+
bt as addIssueTypeFieldValuesAttachments,
|
|
6849
6878
|
ey as addIssueTypeFieldValuesMany,
|
|
6850
6879
|
Su as addIssueTypeFields,
|
|
6851
6880
|
Wf as addIssueTypeFieldsAttachment,
|
|
@@ -6866,7 +6895,7 @@ export {
|
|
|
6866
6895
|
Jl as addTeam,
|
|
6867
6896
|
qy as addUser,
|
|
6868
6897
|
ky as addUsers,
|
|
6869
|
-
|
|
6898
|
+
gc as agentsReducer,
|
|
6870
6899
|
Li as agentsSlice,
|
|
6871
6900
|
Jh as areArraysEqual,
|
|
6872
6901
|
Pc as assetAttachmentReducer,
|
|
@@ -6887,18 +6916,18 @@ export {
|
|
|
6887
6916
|
rn as assetSlice,
|
|
6888
6917
|
pr as assetStageCompletionReducer,
|
|
6889
6918
|
ln as assetStageCompletionSlice,
|
|
6890
|
-
|
|
6919
|
+
gr as assetStageReducer,
|
|
6891
6920
|
mn as assetStageSlice,
|
|
6892
6921
|
Er as assetTypeAttachmentReducer,
|
|
6893
6922
|
pn as assetTypeAttachmentSlice,
|
|
6894
6923
|
Yr as assetTypeFieldValuesAttachmentReducer,
|
|
6895
|
-
|
|
6924
|
+
gn as assetTypeFieldValuesAttachmentSlice,
|
|
6896
6925
|
to as assetTypeFieldValuesReducer,
|
|
6897
6926
|
Tn as assetTypeFieldValuesSlice,
|
|
6898
6927
|
zr as assetTypeFieldsAttachmentReducer,
|
|
6899
6928
|
An as assetTypeFieldsAttachmentSlice,
|
|
6900
6929
|
Lr as assetTypeFieldsReducer,
|
|
6901
|
-
|
|
6930
|
+
bn as assetTypeFieldsSlice,
|
|
6902
6931
|
io as assetTypeReducer,
|
|
6903
6932
|
_n as assetTypeSlice,
|
|
6904
6933
|
ao as authReducer,
|
|
@@ -6936,7 +6965,7 @@ export {
|
|
|
6936
6965
|
_s as deleteAssetType,
|
|
6937
6966
|
Ir as deleteAssetTypeAttachment,
|
|
6938
6967
|
yn as deleteAssetTypeAttachments,
|
|
6939
|
-
|
|
6968
|
+
gs as deleteAssetTypeFieldValues,
|
|
6940
6969
|
qp as deleteAssetTypeFieldValuesAttachment,
|
|
6941
6970
|
ft as deleteAssetTypeFieldValuesAttachments,
|
|
6942
6971
|
Zr as deleteAssetTypeFieldValuesMany,
|
|
@@ -6960,7 +6989,7 @@ export {
|
|
|
6960
6989
|
At as deleteFormSubmissionAttachments,
|
|
6961
6990
|
Ft as deleteFormSubmissions,
|
|
6962
6991
|
Bs as deleteGeoImage,
|
|
6963
|
-
|
|
6992
|
+
bd as deleteGeoImages,
|
|
6964
6993
|
ci as deleteIssue,
|
|
6965
6994
|
Ks as deleteIssueAssociation,
|
|
6966
6995
|
Nn as deleteIssueAssociations,
|
|
@@ -6973,8 +7002,8 @@ export {
|
|
|
6973
7002
|
iu as deleteIssueTypeAttachment,
|
|
6974
7003
|
nu as deleteIssueTypeAttachments,
|
|
6975
7004
|
mi as deleteIssueTypeFieldValues,
|
|
6976
|
-
|
|
6977
|
-
|
|
7005
|
+
gy as deleteIssueTypeFieldValuesAttachment,
|
|
7006
|
+
gt as deleteIssueTypeFieldValuesAttachments,
|
|
6978
7007
|
ny as deleteIssueTypeFieldValuesMany,
|
|
6979
7008
|
Ru as deleteIssueTypeFields,
|
|
6980
7009
|
Qf as deleteIssueTypeFieldsAttachment,
|
|
@@ -6990,7 +7019,7 @@ export {
|
|
|
6990
7019
|
il as deleteProjectAccess,
|
|
6991
7020
|
nl as deleteProjectAccesses,
|
|
6992
7021
|
kl as deleteProjectAttachment,
|
|
6993
|
-
|
|
7022
|
+
ga as deleteProjectAttachments,
|
|
6994
7023
|
Ul as deleteProjectFile,
|
|
6995
7024
|
$l as deleteProjectFiles,
|
|
6996
7025
|
Qy as deleteProjects,
|
|
@@ -7010,7 +7039,7 @@ export {
|
|
|
7010
7039
|
um as emailRegex,
|
|
7011
7040
|
uh as enqueue,
|
|
7012
7041
|
Rl as enqueueRequest,
|
|
7013
|
-
|
|
7042
|
+
b as fallbackToEmptyArray,
|
|
7014
7043
|
xe as fallbackToEmptyObject,
|
|
7015
7044
|
zo as fileReducer,
|
|
7016
7045
|
kn as fileSlice,
|
|
@@ -7067,7 +7096,7 @@ export {
|
|
|
7067
7096
|
di as initializeIssueTypeAttachments,
|
|
7068
7097
|
yu as initializeIssueTypeFieldValues,
|
|
7069
7098
|
Iu as initializeIssueTypeFieldValuesAttachments,
|
|
7070
|
-
|
|
7099
|
+
gu as initializeIssueTypeFields,
|
|
7071
7100
|
du as initializeIssueTypeFieldsAttachments,
|
|
7072
7101
|
ku as initializeIssueTypes,
|
|
7073
7102
|
zu as initializeIssueUpdates,
|
|
@@ -7096,7 +7125,7 @@ export {
|
|
|
7096
7125
|
Xn as issueTypeAttachmentSlice,
|
|
7097
7126
|
Eu as issueTypeFieldValuesAttachmentReducer,
|
|
7098
7127
|
ia as issueTypeFieldValuesAttachmentSlice,
|
|
7099
|
-
|
|
7128
|
+
bu as issueTypeFieldValuesReducer,
|
|
7100
7129
|
ea as issueTypeFieldValuesSlice,
|
|
7101
7130
|
fu as issueTypeFieldsAttachmentReducer,
|
|
7102
7131
|
Zn as issueTypeFieldsAttachmentSlice,
|
|
@@ -7129,7 +7158,7 @@ export {
|
|
|
7129
7158
|
rl as projectAccessReducer,
|
|
7130
7159
|
ha as projectAccessSlice,
|
|
7131
7160
|
Dl as projectAttachmentReducer,
|
|
7132
|
-
|
|
7161
|
+
ba as projectAttachmentSlice,
|
|
7133
7162
|
Hl as projectFileReducer,
|
|
7134
7163
|
Sa as projectFileSlice,
|
|
7135
7164
|
hl as projectReducer,
|
|
@@ -7137,7 +7166,7 @@ export {
|
|
|
7137
7166
|
Kl as rehydratedReducer,
|
|
7138
7167
|
Ta as rehydratedSlice,
|
|
7139
7168
|
ks as removeDocuments,
|
|
7140
|
-
|
|
7169
|
+
bi as removeIssueType,
|
|
7141
7170
|
Yu as removeUser,
|
|
7142
7171
|
_A as resetProjectFileObjectUrls,
|
|
7143
7172
|
oh as resetStore,
|
|
@@ -7147,7 +7176,7 @@ export {
|
|
|
7147
7176
|
Gy as selectActiveOrganizationAccess,
|
|
7148
7177
|
IA as selectActiveProjectFileId,
|
|
7149
7178
|
Py as selectActiveStatusLicenses,
|
|
7150
|
-
|
|
7179
|
+
bo as selectAllDocumentAttachments,
|
|
7151
7180
|
jl as selectAllProjectAttachments,
|
|
7152
7181
|
nf as selectAncestorIdsOfDocument,
|
|
7153
7182
|
Ic as selectAssetAttachmentById,
|
|
@@ -7202,7 +7231,7 @@ export {
|
|
|
7202
7231
|
eo as selectAssetTypeFieldValuesMapping,
|
|
7203
7232
|
Dp as selectAssetTypeFieldValuesOfAsset,
|
|
7204
7233
|
Rt as selectAssetTypeFields,
|
|
7205
|
-
|
|
7234
|
+
gp as selectAssetTypeFieldsAttachmentById,
|
|
7206
7235
|
Dr as selectAssetTypeFieldsAttachments,
|
|
7207
7236
|
Cr as selectAssetTypeFieldsAttachmentsMapping,
|
|
7208
7237
|
Pp as selectAssetTypeFieldsById,
|
|
@@ -7221,7 +7250,7 @@ export {
|
|
|
7221
7250
|
Tm as selectAttachmentsOfAssetProcedureFields,
|
|
7222
7251
|
wr as selectAttachmentsOfAssetType,
|
|
7223
7252
|
Kr as selectAttachmentsOfAssetTypeFieldValues,
|
|
7224
|
-
|
|
7253
|
+
bp as selectAttachmentsOfAssetTypeFields,
|
|
7225
7254
|
tf as selectAttachmentsOfDocument,
|
|
7226
7255
|
hf as selectAttachmentsOfFormRevision,
|
|
7227
7256
|
ad as selectAttachmentsOfFormSubmission,
|
|
@@ -7241,7 +7270,7 @@ export {
|
|
|
7241
7270
|
lm as selectConversations,
|
|
7242
7271
|
wt as selectCurrentUser,
|
|
7243
7272
|
pA as selectDeletedRequests,
|
|
7244
|
-
|
|
7273
|
+
go as selectDocumentAttachmentById,
|
|
7245
7274
|
Ao as selectDocumentAttachmentMapping,
|
|
7246
7275
|
Io as selectDocumentById,
|
|
7247
7276
|
Oo as selectDocuments,
|
|
@@ -7266,9 +7295,9 @@ export {
|
|
|
7266
7295
|
ld as selectFormSubmissionsOfAsset,
|
|
7267
7296
|
dd as selectFormSubmissionsOfForm,
|
|
7268
7297
|
ud as selectFormSubmissionsOfIssue,
|
|
7269
|
-
|
|
7298
|
+
bf as selectForms,
|
|
7270
7299
|
Ns as selectGeoImageById,
|
|
7271
|
-
|
|
7300
|
+
gd as selectGeoImageMapping,
|
|
7272
7301
|
Sd as selectGeoImages,
|
|
7273
7302
|
Pf as selectGeoImagesOfProject,
|
|
7274
7303
|
FA as selectIsImportingProjectFile,
|
|
@@ -7293,7 +7322,7 @@ export {
|
|
|
7293
7322
|
ru as selectIssueTypeAttachmentById,
|
|
7294
7323
|
au as selectIssueTypeAttachmentMapping,
|
|
7295
7324
|
cu as selectIssueTypeAttachments,
|
|
7296
|
-
|
|
7325
|
+
gi as selectIssueTypeById,
|
|
7297
7326
|
ta as selectIssueTypeFieldValues,
|
|
7298
7327
|
Sy as selectIssueTypeFieldValuesAttachmentById,
|
|
7299
7328
|
Pu as selectIssueTypeFieldValuesAttachments,
|
|
@@ -7335,8 +7364,8 @@ export {
|
|
|
7335
7364
|
el as selectOrganizationAccessUserMapping,
|
|
7336
7365
|
la as selectOrganizationAccesses,
|
|
7337
7366
|
dA as selectOrganizationById,
|
|
7338
|
-
|
|
7339
|
-
|
|
7367
|
+
gl as selectOrganizationUsersAsMapping,
|
|
7368
|
+
bl as selectOrganizationUsersIds,
|
|
7340
7369
|
Al as selectOrganizations,
|
|
7341
7370
|
yl as selectOrganizationsMapping,
|
|
7342
7371
|
uA as selectOrganizationsWithAccess,
|
|
@@ -7372,7 +7401,7 @@ export {
|
|
|
7372
7401
|
$y as selectUsersByIds,
|
|
7373
7402
|
Et as selectUsersMapping,
|
|
7374
7403
|
st as separateFilesFromValues,
|
|
7375
|
-
|
|
7404
|
+
ob as separateImageFromFields,
|
|
7376
7405
|
Gl as setActiveProjectFileId,
|
|
7377
7406
|
ep as setAsset,
|
|
7378
7407
|
Sc as setAssetAttachment,
|
|
@@ -7384,12 +7413,12 @@ export {
|
|
|
7384
7413
|
xm as setAssetProcedureFieldValuesMany,
|
|
7385
7414
|
Om as setAssetProcedureFields,
|
|
7386
7415
|
Am as setAssetProcedureFieldsAttachment,
|
|
7387
|
-
|
|
7416
|
+
bm as setAssetProcedureFieldsAttachments,
|
|
7388
7417
|
Im as setAssetProcedureFieldsMany,
|
|
7389
7418
|
Gm as setAssetProcedureInstance,
|
|
7390
7419
|
Lm as setAssetProcedureInstances,
|
|
7391
7420
|
Jm as setAssetProcedures,
|
|
7392
|
-
|
|
7421
|
+
br as setAssetStage,
|
|
7393
7422
|
ap as setAssetStages,
|
|
7394
7423
|
xp as setAssetType,
|
|
7395
7424
|
_r as setAssetTypeAttachment,
|
|
@@ -7447,7 +7476,7 @@ export {
|
|
|
7447
7476
|
Wy as setProject,
|
|
7448
7477
|
vl as setProjectAttachment,
|
|
7449
7478
|
wl as setProjectAttachments,
|
|
7450
|
-
|
|
7479
|
+
gA as setProjectFile,
|
|
7451
7480
|
SA as setProjectFiles,
|
|
7452
7481
|
ol as setProjects,
|
|
7453
7482
|
PA as setRehydrated,
|
|
@@ -7473,7 +7502,7 @@ export {
|
|
|
7473
7502
|
Gc as updateAssetProcedureFieldValuesAttachments,
|
|
7474
7503
|
Yc as updateAssetProcedureFieldValuesMany,
|
|
7475
7504
|
zc as updateAssetProcedureFields,
|
|
7476
|
-
|
|
7505
|
+
gm as updateAssetProcedureFieldsAttachment,
|
|
7477
7506
|
Ec as updateAssetProcedureFieldsAttachments,
|
|
7478
7507
|
Fm as updateAssetProcedureFieldsMany,
|
|
7479
7508
|
Le as updateAssetProcedureInstance,
|
|
@@ -7497,7 +7526,7 @@ export {
|
|
|
7497
7526
|
Vp as updateAssetTypes,
|
|
7498
7527
|
Zm as updateAssets,
|
|
7499
7528
|
ro as updateCategory,
|
|
7500
|
-
|
|
7529
|
+
bc as updateConversation,
|
|
7501
7530
|
ef as updateDocumentAttachment,
|
|
7502
7531
|
po as updateDocumentAttachments,
|
|
7503
7532
|
ye as updateDocuments,
|
|
@@ -7521,7 +7550,7 @@ export {
|
|
|
7521
7550
|
Nf as updateIssueTypeAttachment,
|
|
7522
7551
|
su as updateIssueTypeAttachments,
|
|
7523
7552
|
Ye as updateIssueTypeFieldValues,
|
|
7524
|
-
|
|
7553
|
+
by as updateIssueTypeFieldValuesAttachment,
|
|
7525
7554
|
Fu as updateIssueTypeFieldValuesAttachments,
|
|
7526
7555
|
iy as updateIssueTypeFieldValuesMany,
|
|
7527
7556
|
Tu as updateIssueTypeFields,
|
|
@@ -7534,7 +7563,7 @@ export {
|
|
|
7534
7563
|
aA as updateOrganizations,
|
|
7535
7564
|
dl as updateProject,
|
|
7536
7565
|
sl as updateProjectAccess,
|
|
7537
|
-
|
|
7566
|
+
bA as updateProjectAttachment,
|
|
7538
7567
|
El as updateProjectAttachments,
|
|
7539
7568
|
Ei as updateProjectFile,
|
|
7540
7569
|
RA as updateProjectFiles,
|