@overmap-ai/core 1.0.72-mapbox.2 → 1.0.72-workspace-developments.0
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 +239 -235
- package/dist/overmap-core.umd.cjs +2 -2
- package/dist/sdk/services/GeoImageService.d.ts +1 -1
- package/dist/store/slices/geoImageSlice.d.ts +1 -1
- package/dist/typings/models/forms.d.ts +2 -2
- package/dist/typings/models/geoImages.d.ts +3 -3
- package/package.json +3 -3
package/dist/overmap-core.js
CHANGED
|
@@ -166,7 +166,7 @@ function Ru(t, e, s, ...i) {
|
|
|
166
166
|
function R(t) {
|
|
167
167
|
return { ...t, offline_id: le() };
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function ka(t) {
|
|
170
170
|
const e = {};
|
|
171
171
|
for (const s of t)
|
|
172
172
|
e[s.offline_id] = s;
|
|
@@ -195,13 +195,13 @@ function Iu(t, e) {
|
|
|
195
195
|
return s.slice(0, s.lastIndexOf(" ")) + "…";
|
|
196
196
|
}
|
|
197
197
|
const A = (t) => (e) => (s) => t(s, e);
|
|
198
|
-
function
|
|
198
|
+
function Ea(t, e, s) {
|
|
199
199
|
return s.findIndex((i) => i.offline_id === t.offline_id) === e;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function ku(t, e, s) {
|
|
202
202
|
return s.findIndex((i) => i.file_sha1 === t.file_sha1) === e;
|
|
203
203
|
}
|
|
204
|
-
const
|
|
204
|
+
const Eu = /^.+@.+\..+$/;
|
|
205
205
|
function w(t) {
|
|
206
206
|
return {
|
|
207
207
|
addOne: (h, m) => {
|
|
@@ -293,10 +293,10 @@ const _e = w(
|
|
|
293
293
|
initializeAssetAttachments: Tt,
|
|
294
294
|
addAssetAttachment: ju,
|
|
295
295
|
addAssetAttachments: mi,
|
|
296
|
-
setAssetAttachment:
|
|
296
|
+
setAssetAttachment: xa,
|
|
297
297
|
setAssetAttachments: Pu,
|
|
298
298
|
updateAssetAttachment: Du,
|
|
299
|
-
updateAssetAttachments:
|
|
299
|
+
updateAssetAttachments: Ca,
|
|
300
300
|
deleteAssetAttachment: Ma,
|
|
301
301
|
deleteAssetAttachments: pi
|
|
302
302
|
} = hi.actions, za = (t) => t.assetAttachmentReducer.instances, fi = p(
|
|
@@ -307,7 +307,7 @@ const _e = w(
|
|
|
307
307
|
[fi, (t, e) => e],
|
|
308
308
|
(t, e) => g(t.filter(({ asset: s }) => e === s))
|
|
309
309
|
)
|
|
310
|
-
),
|
|
310
|
+
), xu = A(
|
|
311
311
|
p(
|
|
312
312
|
[fi, (t, e) => e],
|
|
313
313
|
(t, e) => {
|
|
@@ -340,8 +340,8 @@ const _e = w(
|
|
|
340
340
|
initializeAssets: Ga,
|
|
341
341
|
addAsset: wt,
|
|
342
342
|
addAssets: Ai,
|
|
343
|
-
updateAsset:
|
|
344
|
-
updateAssets:
|
|
343
|
+
updateAsset: Ee,
|
|
344
|
+
updateAssets: Cu,
|
|
345
345
|
deleteAsset: Ot,
|
|
346
346
|
deleteAssets: La,
|
|
347
347
|
setAsset: Mu,
|
|
@@ -374,8 +374,8 @@ const _e = w(
|
|
|
374
374
|
}
|
|
375
375
|
}), {
|
|
376
376
|
initializeAssetStageCompletions: Wa,
|
|
377
|
-
addAssetStageCompletion:
|
|
378
|
-
addAssetStageCompletions:
|
|
377
|
+
addAssetStageCompletion: kt,
|
|
378
|
+
addAssetStageCompletions: Et,
|
|
379
379
|
updateAssetStageCompletion: Ha,
|
|
380
380
|
updateAssetStageCompletions: Ka,
|
|
381
381
|
deleteAssetStageCompletion: Ft,
|
|
@@ -447,22 +447,22 @@ const _e = w(
|
|
|
447
447
|
}
|
|
448
448
|
return g(s);
|
|
449
449
|
})
|
|
450
|
-
),
|
|
450
|
+
), x = w(
|
|
451
451
|
(t) => t.offline_id
|
|
452
|
-
),
|
|
452
|
+
), xt = x.getInitialState({}), Ri = _({
|
|
453
453
|
name: "assetTypeAttachments",
|
|
454
|
-
initialState:
|
|
455
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
454
|
+
initialState: xt,
|
|
455
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, xt)),
|
|
456
456
|
reducers: {
|
|
457
|
-
initializeAssetTypeAttachments:
|
|
458
|
-
addAssetTypeAttachment:
|
|
459
|
-
addAssetTypeAttachments:
|
|
460
|
-
setAssetTypeAttachment:
|
|
461
|
-
setAssetTypeAttachments:
|
|
462
|
-
updateAssetTypeAttachment:
|
|
463
|
-
updateAssetTypeAttachments:
|
|
464
|
-
deleteAssetTypeAttachment:
|
|
465
|
-
deleteAssetTypeAttachments:
|
|
457
|
+
initializeAssetTypeAttachments: x.initialize,
|
|
458
|
+
addAssetTypeAttachment: x.addOne,
|
|
459
|
+
addAssetTypeAttachments: x.addMany,
|
|
460
|
+
setAssetTypeAttachment: x.setOne,
|
|
461
|
+
setAssetTypeAttachments: x.setMany,
|
|
462
|
+
updateAssetTypeAttachment: x.updateOne,
|
|
463
|
+
updateAssetTypeAttachments: x.updateMany,
|
|
464
|
+
deleteAssetTypeAttachment: x.deleteOne,
|
|
465
|
+
deleteAssetTypeAttachments: x.deleteMany
|
|
466
466
|
}
|
|
467
467
|
}), {
|
|
468
468
|
initializeAssetTypeAttachments: no,
|
|
@@ -496,22 +496,22 @@ const _e = w(
|
|
|
496
496
|
return { fileAttachments: i, imageAttachments: n };
|
|
497
497
|
}
|
|
498
498
|
)
|
|
499
|
-
), ho = Ri.reducer,
|
|
499
|
+
), ho = Ri.reducer, C = w(
|
|
500
500
|
(t) => t.offline_id
|
|
501
|
-
),
|
|
501
|
+
), Ct = C.getInitialState({}), Ii = _({
|
|
502
502
|
name: "assetTypeFieldsAttachments",
|
|
503
|
-
initialState:
|
|
504
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
503
|
+
initialState: Ct,
|
|
504
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ct)),
|
|
505
505
|
reducers: {
|
|
506
|
-
initializeAssetTypeFieldsAttachments:
|
|
507
|
-
addAssetTypeFieldsAttachment:
|
|
508
|
-
addAssetTypeFieldsAttachments:
|
|
509
|
-
setAssetTypeFieldsAttachment:
|
|
510
|
-
setAssetTypeFieldsAttachments:
|
|
511
|
-
updateAssetTypeFieldsAttachment:
|
|
512
|
-
updateAssetTypeFieldsAttachments:
|
|
513
|
-
deleteAssetTypeFieldsAttachment:
|
|
514
|
-
deleteAssetTypeFieldsAttachments:
|
|
506
|
+
initializeAssetTypeFieldsAttachments: C.initialize,
|
|
507
|
+
addAssetTypeFieldsAttachment: C.addOne,
|
|
508
|
+
addAssetTypeFieldsAttachments: C.addMany,
|
|
509
|
+
setAssetTypeFieldsAttachment: C.setOne,
|
|
510
|
+
setAssetTypeFieldsAttachments: C.setMany,
|
|
511
|
+
updateAssetTypeFieldsAttachment: C.updateOne,
|
|
512
|
+
updateAssetTypeFieldsAttachments: C.updateMany,
|
|
513
|
+
deleteAssetTypeFieldsAttachment: C.deleteOne,
|
|
514
|
+
deleteAssetTypeFieldsAttachments: C.deleteMany
|
|
515
515
|
}
|
|
516
516
|
}), {
|
|
517
517
|
initializeAssetTypeFieldsAttachments: mo,
|
|
@@ -528,7 +528,7 @@ const _e = w(
|
|
|
528
528
|
(t) => Object.values(t)
|
|
529
529
|
), th = A(
|
|
530
530
|
p([go, (t, e) => e], (t, e) => g(t.filter((s) => s.fields_revision === e)))
|
|
531
|
-
), sh = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], bo = Ii.reducer, M = w((t) => t.offline_id), Mt = M.getInitialState({}),
|
|
531
|
+
), sh = (t) => (e) => e.assetTypeFieldsAttachmentReducer.instances[t], bo = Ii.reducer, M = w((t) => t.offline_id), Mt = M.getInitialState({}), ki = _({
|
|
532
532
|
name: "assetTypeFields",
|
|
533
533
|
initialState: Mt,
|
|
534
534
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Mt)),
|
|
@@ -553,13 +553,13 @@ const _e = w(
|
|
|
553
553
|
updateAssetTypeFieldsMany: oh,
|
|
554
554
|
deleteAssetTypeFields: Ro,
|
|
555
555
|
deleteAssetTypeFieldsMany: ch
|
|
556
|
-
} =
|
|
556
|
+
} = ki.actions, wo = (t) => t.assetTypeFieldsReducer.instances, ot = p([wo], (t) => Object.values(t)), rh = A(
|
|
557
557
|
p([ot, (t, e) => e], (t, e) => g(t.filter((s) => s.asset_type === e)))
|
|
558
558
|
), dh = A(
|
|
559
559
|
p([ot, (t, e) => e], (t, e) => t.filter((s) => s.asset_type === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
560
|
-
), lh = (t) => (e) => e.assetTypeFieldsReducer.instances[t], Oo =
|
|
560
|
+
), lh = (t) => (e) => e.assetTypeFieldsReducer.instances[t], Oo = ki.reducer, z = w(
|
|
561
561
|
(t) => t.offline_id
|
|
562
|
-
), zt = z.getInitialState({}),
|
|
562
|
+
), zt = z.getInitialState({}), Ei = _({
|
|
563
563
|
name: "assetTypeFieldValuesAttachments",
|
|
564
564
|
initialState: zt,
|
|
565
565
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, zt)),
|
|
@@ -584,10 +584,10 @@ const _e = w(
|
|
|
584
584
|
updateAssetTypeFieldValuesAttachments: Io,
|
|
585
585
|
deleteAssetTypeFieldValuesAttachment: fh,
|
|
586
586
|
deleteAssetTypeFieldValuesAttachments: Ze
|
|
587
|
-
} =
|
|
587
|
+
} = Ei.actions, Fi = (t) => t.assetTypeFieldValuesAttachmentReducer.instances, ko = p(
|
|
588
588
|
[Fi],
|
|
589
589
|
(t) => Object.values(t)
|
|
590
|
-
), yh = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t],
|
|
590
|
+
), yh = (t) => (e) => e.assetTypeFieldValuesAttachmentReducer.instances[t], Eo = A(
|
|
591
591
|
p(
|
|
592
592
|
[Fi, (t, e) => e],
|
|
593
593
|
(t, e) => {
|
|
@@ -598,8 +598,8 @@ const _e = w(
|
|
|
598
598
|
}
|
|
599
599
|
)
|
|
600
600
|
), Fo = A(
|
|
601
|
-
p([
|
|
602
|
-
), qo =
|
|
601
|
+
p([ko, (t, e) => e], (t, e) => g(t.filter((s) => s.field_values === e)))
|
|
602
|
+
), qo = Ei.reducer, $ = w(
|
|
603
603
|
(t) => t.offline_id
|
|
604
604
|
), $t = $.getInitialState({}), qi = _({
|
|
605
605
|
name: "assetTypeFieldValues",
|
|
@@ -625,8 +625,8 @@ const _e = w(
|
|
|
625
625
|
updateAssetTypeFieldValues: Fe,
|
|
626
626
|
updateAssetTypeFieldValuesMany: Do,
|
|
627
627
|
deleteAssetTypeFieldValues: Vt,
|
|
628
|
-
deleteAssetTypeFieldValuesMany:
|
|
629
|
-
} = qi.actions,
|
|
628
|
+
deleteAssetTypeFieldValuesMany: xo
|
|
629
|
+
} = qi.actions, Co = (t) => t.assetTypeFieldValuesReducer.instances, ji = p([Co], (t) => Object.values(t)), bh = A(
|
|
630
630
|
p([ji, (t, e) => e], (t, e) => g(t.filter((s) => s.asset === e)))
|
|
631
631
|
), _h = A(
|
|
632
632
|
p(
|
|
@@ -697,7 +697,7 @@ const _e = w(
|
|
|
697
697
|
e.payload || ct.caseReducers.clearTokens(t), t.isLoggedIn = e.payload;
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
|
-
}), { setTokens:
|
|
700
|
+
}), { setTokens: kh, clearTokens: Eh, setLoggedIn: Uo } = ct.actions, Fh = (t) => t.authReducer.accessToken, qh = (t) => t.authReducer.isLoggedIn, Vo = ct.reducer, Se = w((t) => t.offline_id), Kt = Se.getInitialState({}), xi = _({
|
|
701
701
|
name: "categories",
|
|
702
702
|
initialState: Kt,
|
|
703
703
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Kt)),
|
|
@@ -707,9 +707,9 @@ const _e = w(
|
|
|
707
707
|
updateCategory: Se.updateOne,
|
|
708
708
|
deleteCategory: Se.deleteOne
|
|
709
709
|
}
|
|
710
|
-
}), { initializeCategories: Go, addCategory: Yt, updateCategory: Lo, deleteCategory: Bo } =
|
|
710
|
+
}), { initializeCategories: Go, addCategory: Yt, updateCategory: Lo, deleteCategory: Bo } = xi.actions, Ci = (t) => t.categoryReducer.instances, jh = p([Ci], (t) => Object.values(t)), Jt = (t) => (e) => e.categoryReducer.instances[t], Ph = A(
|
|
711
711
|
p(
|
|
712
|
-
[
|
|
712
|
+
[Ci, (t, e) => e],
|
|
713
713
|
(t, e) => {
|
|
714
714
|
const s = [];
|
|
715
715
|
for (const i of e) {
|
|
@@ -719,7 +719,7 @@ const _e = w(
|
|
|
719
719
|
return g(s);
|
|
720
720
|
}
|
|
721
721
|
)
|
|
722
|
-
), Dh = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, No =
|
|
722
|
+
), Dh = (t) => (e) => Object.values(e.issueReducer.instances).filter((s) => s.category === t).length, No = xi.reducer, V = w((t) => t.offline_id), Xt = V.getInitialState({}), Mi = _({
|
|
723
723
|
name: "documentAttachments",
|
|
724
724
|
initialState: Xt,
|
|
725
725
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Xt)),
|
|
@@ -736,10 +736,10 @@ const _e = w(
|
|
|
736
736
|
}
|
|
737
737
|
}), {
|
|
738
738
|
initializeDocumentAttachments: Wo,
|
|
739
|
-
addDocumentAttachment:
|
|
739
|
+
addDocumentAttachment: xh,
|
|
740
740
|
addDocumentAttachments: Ho,
|
|
741
741
|
setDocumentAttachment: Ko,
|
|
742
|
-
setDocumentAttachments:
|
|
742
|
+
setDocumentAttachments: Ch,
|
|
743
743
|
updateDocumentAttachment: Mh,
|
|
744
744
|
updateDocumentAttachments: Yo,
|
|
745
745
|
deleteDocumentAttachment: Jo,
|
|
@@ -776,9 +776,9 @@ const _e = w(
|
|
|
776
776
|
}),
|
|
777
777
|
reducers: {
|
|
778
778
|
setDocuments: (t, e) => {
|
|
779
|
-
if (e.payload.filter(
|
|
779
|
+
if (e.payload.filter(Ea).length !== e.payload.length)
|
|
780
780
|
throw new Error("Tried to use setIssues reducer with duplicate ID's");
|
|
781
|
-
t.documents =
|
|
781
|
+
t.documents = ka(e.payload);
|
|
782
782
|
},
|
|
783
783
|
addDocuments: (t, e) => {
|
|
784
784
|
for (const s of e.payload)
|
|
@@ -1015,10 +1015,10 @@ const _e = w(
|
|
|
1015
1015
|
addFormRevisions: vc,
|
|
1016
1016
|
deleteFormRevision: Wi,
|
|
1017
1017
|
deleteFormRevisions: Ic
|
|
1018
|
-
} = Bi.actions, rt = (t) => t.formRevisionReducer.instances,
|
|
1018
|
+
} = Bi.actions, rt = (t) => t.formRevisionReducer.instances, kc = p(
|
|
1019
1019
|
[rt],
|
|
1020
1020
|
(t) => Object.values(t)
|
|
1021
|
-
), Jh = (t) => (e) => e.formRevisionReducer.instances[t],
|
|
1021
|
+
), Jh = (t) => (e) => e.formRevisionReducer.instances[t], Ec = (t, e) => {
|
|
1022
1022
|
let s = null;
|
|
1023
1023
|
for (const i of Object.values(t))
|
|
1024
1024
|
i.form === e && (!s || s.revision < i.revision) && (s = i);
|
|
@@ -1037,7 +1037,7 @@ const _e = w(
|
|
|
1037
1037
|
)
|
|
1038
1038
|
), Fc = A(
|
|
1039
1039
|
p(
|
|
1040
|
-
[
|
|
1040
|
+
[kc, (t, e) => e],
|
|
1041
1041
|
(t, e) => g(t.filter((s) => s.form === e))
|
|
1042
1042
|
)
|
|
1043
1043
|
), qc = Bi.reducer, oe = w((t) => t.offline_id), ns = oe.getInitialState({}), Hi = _({
|
|
@@ -1052,7 +1052,7 @@ const _e = w(
|
|
|
1052
1052
|
updateForm: oe.updateOne,
|
|
1053
1053
|
deleteForm: oe.deleteOne
|
|
1054
1054
|
}
|
|
1055
|
-
}), { initializeForms: jc, setForm: Qh, addForm: as, addForms: Zh, updateForm: em, deleteForm: os } = Hi.actions, Pc = Hi.reducer, Dc = (t) => t.formReducer.instances, tm = p([Dc], (t) => Object.values(t)),
|
|
1055
|
+
}), { initializeForms: jc, setForm: Qh, addForm: as, addForms: Zh, updateForm: em, deleteForm: os } = Hi.actions, Pc = Hi.reducer, Dc = (t) => t.formReducer.instances, tm = p([Dc], (t) => Object.values(t)), xc = (t) => (e) => e.formReducer.instances[t], sm = A(
|
|
1056
1056
|
p(
|
|
1057
1057
|
[
|
|
1058
1058
|
(t) => t.formReducer.instances,
|
|
@@ -1064,7 +1064,7 @@ const _e = w(
|
|
|
1064
1064
|
for (const [r, u] of Object.entries(t)) {
|
|
1065
1065
|
if (Number.isInteger(a) && a !== u.organization)
|
|
1066
1066
|
continue;
|
|
1067
|
-
|
|
1067
|
+
Ec(e, r).title.toLowerCase().includes(i.toLowerCase()) && o.push(u);
|
|
1068
1068
|
}
|
|
1069
1069
|
return [...o.slice(0, n)];
|
|
1070
1070
|
},
|
|
@@ -1089,7 +1089,7 @@ const _e = w(
|
|
|
1089
1089
|
deleteFormSubmissionAttachments: L.deleteMany
|
|
1090
1090
|
}
|
|
1091
1091
|
}), {
|
|
1092
|
-
initializeFormSubmissionAttachments:
|
|
1092
|
+
initializeFormSubmissionAttachments: Cc,
|
|
1093
1093
|
addFormSubmissionAttachment: im,
|
|
1094
1094
|
addFormSubmissionAttachments: et,
|
|
1095
1095
|
setFormSubmissionAttachment: nm,
|
|
@@ -1201,7 +1201,7 @@ const _e = w(
|
|
|
1201
1201
|
deleteGeoImage: ms,
|
|
1202
1202
|
deleteGeoImages: Qc
|
|
1203
1203
|
} = Zi.actions, Zc = (t) => t.geoImageReducer.instances, er = p([Zc], (t) => Object.values(t)), ps = (t) => (e) => e.geoImageReducer.instances[t], um = A(
|
|
1204
|
-
p([er, (t, e) => e], (t, e) => g(t.filter((s) => s.
|
|
1204
|
+
p([er, (t, e) => e], (t, e) => g(t.filter((s) => s.index_workspace === e)))
|
|
1205
1205
|
), tr = Zi.reducer, W = w((t) => t.offline_id), fs = W.getInitialState({}), en = _({
|
|
1206
1206
|
name: "issueAssociations",
|
|
1207
1207
|
initialState: fs,
|
|
@@ -1359,13 +1359,13 @@ const _e = w(
|
|
|
1359
1359
|
setIssueTypeFieldsAttachment: Om,
|
|
1360
1360
|
setIssueTypeFieldsAttachments: vm,
|
|
1361
1361
|
updateIssueTypeFieldsAttachment: Im,
|
|
1362
|
-
updateIssueTypeFieldsAttachments:
|
|
1363
|
-
deleteIssueTypeFieldsAttachment:
|
|
1364
|
-
deleteIssueTypeFieldsAttachments:
|
|
1362
|
+
updateIssueTypeFieldsAttachments: kr,
|
|
1363
|
+
deleteIssueTypeFieldsAttachment: km,
|
|
1364
|
+
deleteIssueTypeFieldsAttachments: Er
|
|
1365
1365
|
} = ln.actions, Fr = (t) => t.issueTypeFieldsAttachmentReducer.instances, qr = p(
|
|
1366
1366
|
[Fr],
|
|
1367
1367
|
(t) => Object.values(t)
|
|
1368
|
-
),
|
|
1368
|
+
), Em = A(
|
|
1369
1369
|
p(
|
|
1370
1370
|
[qr, (t, e) => e],
|
|
1371
1371
|
(t, e) => g(
|
|
@@ -1374,10 +1374,10 @@ const _e = w(
|
|
|
1374
1374
|
)
|
|
1375
1375
|
), Fm = (t) => (e) => e.issueTypeFieldsAttachmentReducer.instances[t], jr = ln.reducer, Y = w(
|
|
1376
1376
|
(t) => t.offline_id
|
|
1377
|
-
),
|
|
1377
|
+
), ks = Y.getInitialState({}), un = _({
|
|
1378
1378
|
name: "issueTypeFieldValues",
|
|
1379
|
-
initialState:
|
|
1380
|
-
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e,
|
|
1379
|
+
initialState: ks,
|
|
1380
|
+
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, ks)),
|
|
1381
1381
|
reducers: {
|
|
1382
1382
|
initializeIssueTypeFieldValues: Y.initialize,
|
|
1383
1383
|
addIssueTypeFieldValues: Y.addOne,
|
|
@@ -1391,17 +1391,17 @@ const _e = w(
|
|
|
1391
1391
|
}
|
|
1392
1392
|
}), {
|
|
1393
1393
|
initializeIssueTypeFieldValues: Pr,
|
|
1394
|
-
addIssueTypeFieldValues:
|
|
1394
|
+
addIssueTypeFieldValues: Es,
|
|
1395
1395
|
addIssueTypeFieldValuesMany: qm,
|
|
1396
1396
|
setIssueTypeFieldValues: jm,
|
|
1397
1397
|
setIssueTypeFieldValuesMany: Pm,
|
|
1398
1398
|
updateIssueTypeFieldValues: Pe,
|
|
1399
1399
|
updateIssueTypeFieldValuesMany: Dm,
|
|
1400
1400
|
deleteIssueTypeFieldValues: Fs,
|
|
1401
|
-
deleteIssueTypeFieldValuesMany:
|
|
1402
|
-
} = un.actions, Dr = (t) => t.issueTypeFieldValuesReducer.instances, hn = p([Dr], (t) => Object.values(t)),
|
|
1401
|
+
deleteIssueTypeFieldValuesMany: xm
|
|
1402
|
+
} = un.actions, Dr = (t) => t.issueTypeFieldValuesReducer.instances, hn = p([Dr], (t) => Object.values(t)), Cm = A(
|
|
1403
1403
|
p([hn, (t, e) => e], (t, e) => g(t.filter((s) => s.issue === e)))
|
|
1404
|
-
), qs = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t],
|
|
1404
|
+
), qs = (t) => (e) => e.issueTypeFieldValuesReducer.instances[t], xr = un.reducer, J = w((t) => t.offline_id), js = J.getInitialState({}), mn = _({
|
|
1405
1405
|
name: "issueTypeFields",
|
|
1406
1406
|
initialState: js,
|
|
1407
1407
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, js)),
|
|
@@ -1417,7 +1417,7 @@ const _e = w(
|
|
|
1417
1417
|
deleteIssueTypeFieldsMany: J.deleteMany
|
|
1418
1418
|
}
|
|
1419
1419
|
}), {
|
|
1420
|
-
initializeIssueTypeFields:
|
|
1420
|
+
initializeIssueTypeFields: Cr,
|
|
1421
1421
|
addIssueTypeFields: Mr,
|
|
1422
1422
|
addIssueTypeFieldsMany: Mm,
|
|
1423
1423
|
setIssueTypeFields: zm,
|
|
@@ -1498,10 +1498,10 @@ const _e = w(
|
|
|
1498
1498
|
updateIssueType: he.updateOne,
|
|
1499
1499
|
removeIssueType: he.deleteOne
|
|
1500
1500
|
}
|
|
1501
|
-
}), { initializeIssueTypes: Kr, setIssueType: De, addIssueType: Yr, updateIssueType: Jr, removeIssueType:
|
|
1501
|
+
}), { initializeIssueTypes: Kr, setIssueType: De, addIssueType: Yr, updateIssueType: Jr, removeIssueType: xs } = yn.actions, Xr = (t) => t.issueTypeReducer.instances, Qr = p(
|
|
1502
1502
|
Xr,
|
|
1503
1503
|
(t) => Object.values(t)
|
|
1504
|
-
),
|
|
1504
|
+
), Cs = (t) => (e) => e.issueTypeReducer.instances[t], Qm = (t) => (e) => {
|
|
1505
1505
|
const s = [];
|
|
1506
1506
|
for (const i of t) {
|
|
1507
1507
|
const n = e.issueTypeReducer.instances[i];
|
|
@@ -1672,7 +1672,7 @@ const _e = w(
|
|
|
1672
1672
|
throw new Error("Accept project invite: user is not in this project");
|
|
1673
1673
|
}
|
|
1674
1674
|
}
|
|
1675
|
-
}), { setProjects: Od, updateProject: vd, deleteProject: Id, acceptProjectInvite:
|
|
1675
|
+
}), { setProjects: Od, updateProject: vd, deleteProject: Id, acceptProjectInvite: kd } = vn.actions, Ed = vn.reducer, In = (t) => t.projectReducer.projects, yp = (t) => (e) => e.projectReducer.projects[t], Fd = p(
|
|
1676
1676
|
[On],
|
|
1677
1677
|
(t) => Object.values(t).map((e) => e.user)
|
|
1678
1678
|
), qd = p(
|
|
@@ -1692,7 +1692,7 @@ const _e = w(
|
|
|
1692
1692
|
)
|
|
1693
1693
|
), Ls = {
|
|
1694
1694
|
organizations: {}
|
|
1695
|
-
},
|
|
1695
|
+
}, kn = _({
|
|
1696
1696
|
name: "organizations",
|
|
1697
1697
|
initialState: Ls,
|
|
1698
1698
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ls)),
|
|
@@ -1702,12 +1702,12 @@ const _e = w(
|
|
|
1702
1702
|
t.organizations[s.id] = s;
|
|
1703
1703
|
}
|
|
1704
1704
|
}
|
|
1705
|
-
}), { setOrganizations: jd } =
|
|
1705
|
+
}), { setOrganizations: jd } = kn.actions, Pd = (t) => t.organizationReducer.organizations, Dd = p([Pd], (t) => Object.values(t)), gp = (t) => (e) => e.organizationReducer.organizations[t], bp = p(
|
|
1706
1706
|
[Dd],
|
|
1707
1707
|
(t) => g(
|
|
1708
1708
|
Object.values(t).filter((e) => e.has_access)
|
|
1709
1709
|
)
|
|
1710
|
-
),
|
|
1710
|
+
), xd = p(
|
|
1711
1711
|
[Tn],
|
|
1712
1712
|
(t) => Object.values(t).map((e) => e.user)
|
|
1713
1713
|
), _p = A(
|
|
@@ -1721,13 +1721,13 @@ const _e = w(
|
|
|
1721
1721
|
p([ht, (t, e) => e], (t, e) => g(
|
|
1722
1722
|
Object.values(t).filter((s) => s.organization_owner === e)
|
|
1723
1723
|
))
|
|
1724
|
-
),
|
|
1725
|
-
[
|
|
1724
|
+
), Cd = p(
|
|
1725
|
+
[xd, pt],
|
|
1726
1726
|
(t, e) => ye(
|
|
1727
1727
|
t.reduce((s, i) => ({ ...s, [i]: e[i] }), {})
|
|
1728
1728
|
)
|
|
1729
1729
|
), Tp = p(
|
|
1730
|
-
[mt,
|
|
1730
|
+
[mt, Cd, Ad],
|
|
1731
1731
|
(t, e, s) => g(
|
|
1732
1732
|
Object.values(e).sort((i, n) => {
|
|
1733
1733
|
if (i.id === (t == null ? void 0 : t.id))
|
|
@@ -1738,7 +1738,7 @@ const _e = w(
|
|
|
1738
1738
|
return (a == null ? void 0 : a.access_level) === (o == null ? void 0 : o.access_level) ? i.username.localeCompare(n.username) : (a == null ? void 0 : a.access_level) === oi.ADMIN ? -1 : 1;
|
|
1739
1739
|
})
|
|
1740
1740
|
)
|
|
1741
|
-
), Md =
|
|
1741
|
+
), Md = kn.reducer, zd = (t, e, s) => {
|
|
1742
1742
|
const i = t.uuid ? t : { ...t, uuid: le() };
|
|
1743
1743
|
return {
|
|
1744
1744
|
payload: i,
|
|
@@ -1757,7 +1757,7 @@ const _e = w(
|
|
|
1757
1757
|
}, Bs = {
|
|
1758
1758
|
deletedRequests: [],
|
|
1759
1759
|
latestRetryTime: 0
|
|
1760
|
-
},
|
|
1760
|
+
}, En = _({
|
|
1761
1761
|
name: "outbox",
|
|
1762
1762
|
initialState: Bs,
|
|
1763
1763
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Bs)),
|
|
@@ -1784,7 +1784,7 @@ const _e = w(
|
|
|
1784
1784
|
t.latestRetryTime = e.payload;
|
|
1785
1785
|
}
|
|
1786
1786
|
}
|
|
1787
|
-
}), Rp = (t) => t.outboxReducer.deletedRequests, wp = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: $d, markForDeletion: Op, markAsDeleted: Ud, _setLatestRetryTime: Vd } =
|
|
1787
|
+
}), Rp = (t) => t.outboxReducer.deletedRequests, wp = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: $d, markForDeletion: Op, markAsDeleted: Ud, _setLatestRetryTime: Vd } = En.actions, Gd = En.reducer, Q = w((t) => t.offline_id), Ns = Q.getInitialState({}), Fn = _({
|
|
1788
1788
|
name: "projectAttachments",
|
|
1789
1789
|
initialState: Ns,
|
|
1790
1790
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ns)),
|
|
@@ -1814,7 +1814,7 @@ const _e = w(
|
|
|
1814
1814
|
(t) => Object.values(t)
|
|
1815
1815
|
), Jd = (t) => (e) => e.projectAttachmentReducer.instances[t], Xd = A(
|
|
1816
1816
|
p([jn, (t, e) => e], (t, e) => g(t.filter(({ project: s }) => e === s)))
|
|
1817
|
-
),
|
|
1817
|
+
), kp = A(
|
|
1818
1818
|
p(
|
|
1819
1819
|
[jn, (t, e) => e],
|
|
1820
1820
|
(t, e) => {
|
|
@@ -1870,7 +1870,7 @@ const _e = w(
|
|
|
1870
1870
|
}
|
|
1871
1871
|
}), {
|
|
1872
1872
|
initializeProjectFiles: Zd,
|
|
1873
|
-
setProjectFile:
|
|
1873
|
+
setProjectFile: Ep,
|
|
1874
1874
|
setProjectFiles: Fp,
|
|
1875
1875
|
addProjectFile: qp,
|
|
1876
1876
|
addProjectFiles: el,
|
|
@@ -1883,7 +1883,7 @@ const _e = w(
|
|
|
1883
1883
|
setActiveProjectFileId: nl,
|
|
1884
1884
|
saveActiveProjectFileBounds: al,
|
|
1885
1885
|
resetProjectFileObjectUrls: Pp
|
|
1886
|
-
} = Pn.actions, ol = (t) => t.projectFileReducer.instances, cl = p([ol], (t) => g(Object.values(t).sort((e, s) => e.z_index - s.z_index))), Dp = (t) => (e) => e.projectFileReducer.instances[t],
|
|
1886
|
+
} = Pn.actions, ol = (t) => t.projectFileReducer.instances, cl = p([ol], (t) => g(Object.values(t).sort((e, s) => e.z_index - s.z_index))), Dp = (t) => (e) => e.projectFileReducer.instances[t], xp = (t) => t.projectFileReducer.activeProjectFileId, Cp = (t) => t.projectFileReducer.isImportingProjectFile, rl = Pn.reducer, dl = {
|
|
1887
1887
|
isRehydrated: !1
|
|
1888
1888
|
}, Dn = _({
|
|
1889
1889
|
name: "rehydrated",
|
|
@@ -1894,7 +1894,7 @@ const _e = w(
|
|
|
1894
1894
|
t.isRehydrated = e.payload;
|
|
1895
1895
|
}
|
|
1896
1896
|
}
|
|
1897
|
-
}), { setRehydrated: Mp } = Dn.actions, zp = (t) => t.rehydratedReducer.isRehydrated, ll = Dn.reducer, me = w((t) => t.offline_id), Ks = me.getInitialState({}),
|
|
1897
|
+
}), { setRehydrated: Mp } = Dn.actions, zp = (t) => t.rehydratedReducer.isRehydrated, ll = Dn.reducer, me = w((t) => t.offline_id), Ks = me.getInitialState({}), xn = _({
|
|
1898
1898
|
name: "teams",
|
|
1899
1899
|
initialState: Ks,
|
|
1900
1900
|
extraReducers: (t) => t.addCase("RESET", (e) => Object.assign(e, Ks)),
|
|
@@ -1905,9 +1905,9 @@ const _e = w(
|
|
|
1905
1905
|
updateTeam: me.updateOne,
|
|
1906
1906
|
deleteTeam: me.deleteOne
|
|
1907
1907
|
}
|
|
1908
|
-
}), { setTeam: ge, initializeTeams: ul, addTeam: hl, updateTeam: Ys, deleteTeam: Js } =
|
|
1908
|
+
}), { setTeam: ge, initializeTeams: ul, addTeam: hl, updateTeam: Ys, deleteTeam: Js } = xn.actions, Cn = (t) => t.teamReducer.instances, Mn = p([Cn], (t) => Object.values(t)), be = (t) => (e) => e.teamReducer.instances[t], $p = A(
|
|
1909
1909
|
p(
|
|
1910
|
-
[
|
|
1910
|
+
[Cn, (t, e) => e],
|
|
1911
1911
|
(t, e) => {
|
|
1912
1912
|
const s = [];
|
|
1913
1913
|
for (const i of e) {
|
|
@@ -1924,7 +1924,7 @@ const _e = w(
|
|
|
1924
1924
|
)
|
|
1925
1925
|
), Vp = A(
|
|
1926
1926
|
p([Mn, (t, e) => e], (t, e) => g(t.filter((s) => s.members.includes(e))))
|
|
1927
|
-
), ml =
|
|
1927
|
+
), ml = xn.reducer, pl = {
|
|
1928
1928
|
version: 0
|
|
1929
1929
|
}, fl = _({
|
|
1930
1930
|
name: "versioning",
|
|
@@ -1940,7 +1940,7 @@ const _e = w(
|
|
|
1940
1940
|
updateWorkspace: pe.updateOne,
|
|
1941
1941
|
deleteWorkspace: pe.deleteOne
|
|
1942
1942
|
}
|
|
1943
|
-
}), { initializeWorkspaces: gl, setWorkspaces: Gp, addWorkspace: Xs, updateWorkspace:
|
|
1943
|
+
}), { initializeWorkspaces: gl, setWorkspaces: Gp, addWorkspace: Xs, updateWorkspace: xe, deleteWorkspace: Qs } = zn.actions, $n = (t) => t.workspaceReducer.instances, bl = p([$n], (t) => Object.values(t)), Lp = p(
|
|
1944
1944
|
[bl],
|
|
1945
1945
|
(t) => t.find((e) => e.name.toLowerCase() === "main")
|
|
1946
1946
|
), Zs = (t) => (e) => e.workspaceReducer.instances[t], Bp = p(
|
|
@@ -1997,7 +1997,7 @@ const Bn = "versioning", Nn = () => Hn.length - 1, Wn = (t) => (t[Bn] = { versio
|
|
|
1997
1997
|
issueTypeReducer: Zr,
|
|
1998
1998
|
organizationReducer: Md,
|
|
1999
1999
|
outboxReducer: Gd,
|
|
2000
|
-
projectReducer:
|
|
2000
|
+
projectReducer: Ed,
|
|
2001
2001
|
projectAttachmentReducer: Qd,
|
|
2002
2002
|
projectAccessReducer: wd,
|
|
2003
2003
|
organizationAccessReducer: gd,
|
|
@@ -2021,14 +2021,14 @@ const Bn = "versioning", Nn = () => Hn.length - 1, Wn = (t) => (t[Bn] = { versio
|
|
|
2021
2021
|
geoImageReducer: tr,
|
|
2022
2022
|
issueAssociationReducer: rr,
|
|
2023
2023
|
issueTypeFieldsReducer: Vr,
|
|
2024
|
-
issueTypeFieldValuesReducer:
|
|
2024
|
+
issueTypeFieldValuesReducer: xr,
|
|
2025
2025
|
issueTypeFieldsAttachmentReducer: jr,
|
|
2026
2026
|
issueTypeFieldValuesAttachmentReducer: Hr,
|
|
2027
2027
|
assetTypeFieldsReducer: Oo,
|
|
2028
2028
|
assetTypeFieldValuesReducer: Mo,
|
|
2029
2029
|
assetTypeFieldsAttachmentReducer: bo,
|
|
2030
2030
|
assetTypeFieldValuesAttachmentReducer: qo
|
|
2031
|
-
}, ti = sa(Il),
|
|
2031
|
+
}, ti = sa(Il), kl = "RESET", Np = (t, e) => e.type === "auth/setLoggedIn" && !e.payload ? ti(void 0, e) : ti(t, e);
|
|
2032
2032
|
let Ne = null;
|
|
2033
2033
|
function fe() {
|
|
2034
2034
|
const t = Ie();
|
|
@@ -2039,7 +2039,7 @@ function fe() {
|
|
|
2039
2039
|
const e = t.getState().offline.outbox, s = Re._fromOutbox(e);
|
|
2040
2040
|
return Ne = s, s;
|
|
2041
2041
|
}
|
|
2042
|
-
const
|
|
2042
|
+
const El = (t) => {
|
|
2043
2043
|
if (t) throw t;
|
|
2044
2044
|
const e = Ie();
|
|
2045
2045
|
e ? e.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }) : console.error("Client store not set");
|
|
@@ -2065,7 +2065,7 @@ const Pl = {
|
|
|
2065
2065
|
// but redux-offline does not know this.
|
|
2066
2066
|
discard: Qn,
|
|
2067
2067
|
returnPromises: !0,
|
|
2068
|
-
persistCallback:
|
|
2068
|
+
persistCallback: El,
|
|
2069
2069
|
retry: Gl,
|
|
2070
2070
|
// Modify the configuration of the offline store to use localforage
|
|
2071
2071
|
// which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
|
|
@@ -2081,7 +2081,7 @@ const Pl = {
|
|
|
2081
2081
|
peek: (...t) => Vl(...t)
|
|
2082
2082
|
}
|
|
2083
2083
|
}, Dl = ca(vl, Kn), Wp = ia(aa(Pl), Dl);
|
|
2084
|
-
function
|
|
2084
|
+
function xl(t) {
|
|
2085
2085
|
function e(s) {
|
|
2086
2086
|
return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((n) => n in s);
|
|
2087
2087
|
}
|
|
@@ -2108,8 +2108,8 @@ async function Yn(t, e) {
|
|
|
2108
2108
|
...o.request
|
|
2109
2109
|
}, T = o.request;
|
|
2110
2110
|
let S = T.url;
|
|
2111
|
-
const
|
|
2112
|
-
if (h && !
|
|
2111
|
+
const k = h ? await e.files.fetchCache(h) : void 0;
|
|
2112
|
+
if (h && !k)
|
|
2113
2113
|
throw new Error(`Cannot upload file ${h} because it's not cached.`);
|
|
2114
2114
|
!m && !S.startsWith("http") && (!S.startsWith("/") && !S.startsWith("blob:") && (S = "/" + S), S = t.meta.offline.effect.BASE_URL + S);
|
|
2115
2115
|
const ee = (v) => {
|
|
@@ -2117,10 +2117,10 @@ async function Yn(t, e) {
|
|
|
2117
2117
|
const q = T.s3url;
|
|
2118
2118
|
if (!q) throw new Error(`No S3 URL for file ${h}`);
|
|
2119
2119
|
if ("warning" in q) throw new Error(`S3 URL warning for file ${h}`);
|
|
2120
|
-
if (!
|
|
2120
|
+
if (!k) throw new Error(`No file for file ${h}`);
|
|
2121
2121
|
const Ae = q.fields["x-amz-checksum-sha1"];
|
|
2122
2122
|
if (!Ae) throw new Error(`No checksum for file ${h}`);
|
|
2123
|
-
return v.set("x-amz-checksum-sha1", Ae).field({ ...r, ...q.fields }).attach("file",
|
|
2123
|
+
return v.set("x-amz-checksum-sha1", Ae).field({ ...r, ...q.fields }).attach("file", k);
|
|
2124
2124
|
}
|
|
2125
2125
|
return v.send(r);
|
|
2126
2126
|
}, Zn = {
|
|
@@ -2151,13 +2151,13 @@ async function Yn(t, e) {
|
|
|
2151
2151
|
try {
|
|
2152
2152
|
return await ie.query(l);
|
|
2153
2153
|
} catch (v) {
|
|
2154
|
-
const q =
|
|
2154
|
+
const q = xl(v), Ae = q == null ? void 0 : q.status;
|
|
2155
2155
|
if (i && Ae === 401)
|
|
2156
2156
|
return await s.auth.handleUnauthorized(ie, q), ie.query(l);
|
|
2157
|
-
throw new
|
|
2157
|
+
throw new E({ response: q, innerError: v, discard: Xn.includes(Ae) });
|
|
2158
2158
|
}
|
|
2159
2159
|
}
|
|
2160
|
-
class
|
|
2160
|
+
class Cl {
|
|
2161
2161
|
constructor(e) {
|
|
2162
2162
|
y(this, "_all");
|
|
2163
2163
|
y(this, "_previous");
|
|
@@ -2179,7 +2179,7 @@ class Jn {
|
|
|
2179
2179
|
this.next = null;
|
|
2180
2180
|
}
|
|
2181
2181
|
then(e) {
|
|
2182
|
-
return new
|
|
2182
|
+
return new Cl(this).then(e);
|
|
2183
2183
|
}
|
|
2184
2184
|
async run(e) {
|
|
2185
2185
|
if (this.next)
|
|
@@ -2236,11 +2236,11 @@ Retries:`,
|
|
|
2236
2236
|
const h = e.meta.offline.rollback;
|
|
2237
2237
|
throw h && (console.warn("Rolling back request due to SDK error:", e), i.dispatch(h)), t;
|
|
2238
2238
|
}
|
|
2239
|
-
if (t instanceof
|
|
2239
|
+
if (t instanceof E && t.options.discard)
|
|
2240
2240
|
return console.debug("Discarding request due to explicit discard:", e), r();
|
|
2241
2241
|
if (a.includes(o))
|
|
2242
2242
|
return console.debug("Discarding request due to deletion:", e), r();
|
|
2243
|
-
if (t instanceof
|
|
2243
|
+
if (t instanceof E) {
|
|
2244
2244
|
const l = t.status || ((c = t.response) == null ? void 0 : c.status);
|
|
2245
2245
|
if (l || console.warn("Error has no status code:", t), l !== void 0 && Xn.includes(l)) {
|
|
2246
2246
|
console.warn("Discarding request due to error:", t, `
|
|
@@ -2287,7 +2287,7 @@ function Bl(t, e) {
|
|
|
2287
2287
|
else t != null && t.text ? s = t.text : e instanceof Error && (s = e.message);
|
|
2288
2288
|
return !s || s.length > Ll ? ve : s;
|
|
2289
2289
|
}
|
|
2290
|
-
class
|
|
2290
|
+
class E extends Error {
|
|
2291
2291
|
constructor(s) {
|
|
2292
2292
|
super(ve);
|
|
2293
2293
|
// NOTE: Needs to conform to NetworkError in @redux-offline/redux-offline, which has `status` and `response`.
|
|
@@ -2307,7 +2307,7 @@ class Hp {
|
|
|
2307
2307
|
}
|
|
2308
2308
|
async enqueueRequest(e, s, i) {
|
|
2309
2309
|
return this._enqueueRequest(e, s, i).then((n) => {
|
|
2310
|
-
if (n instanceof
|
|
2310
|
+
if (n instanceof E)
|
|
2311
2311
|
throw n;
|
|
2312
2312
|
return n;
|
|
2313
2313
|
});
|
|
@@ -2344,7 +2344,7 @@ class Hp {
|
|
|
2344
2344
|
if (c)
|
|
2345
2345
|
n.resolve(c.body);
|
|
2346
2346
|
else {
|
|
2347
|
-
const l = new
|
|
2347
|
+
const l = new E({
|
|
2348
2348
|
message: "Could not get a response from the server.",
|
|
2349
2349
|
response: c,
|
|
2350
2350
|
discard: !0
|
|
@@ -2352,12 +2352,12 @@ class Hp {
|
|
|
2352
2352
|
n.reject(l);
|
|
2353
2353
|
}
|
|
2354
2354
|
}, u = (c) => {
|
|
2355
|
-
c instanceof
|
|
2355
|
+
c instanceof E ? c.options.discard = !0 : (console.error(
|
|
2356
2356
|
"Received an unexpected error while processing a request:",
|
|
2357
2357
|
c,
|
|
2358
2358
|
`
|
|
2359
2359
|
Converting error to APIError and discarding.`
|
|
2360
|
-
), c = new
|
|
2360
|
+
), c = new E({
|
|
2361
2361
|
message: "An error occurred while processing the request.",
|
|
2362
2362
|
innerError: c,
|
|
2363
2363
|
discard: !0
|
|
@@ -2643,7 +2643,7 @@ class F extends O {
|
|
|
2643
2643
|
return await this.client.files.addCache(e, s), i;
|
|
2644
2644
|
}
|
|
2645
2645
|
}
|
|
2646
|
-
class
|
|
2646
|
+
class ke extends F {
|
|
2647
2647
|
async _bulkAdd(e) {
|
|
2648
2648
|
var c;
|
|
2649
2649
|
const { store: s } = this.client, i = (c = s.getState().userReducer.currentUser) == null ? void 0 : c.id, n = (/* @__PURE__ */ new Date()).toISOString(), a = [], o = [], r = {};
|
|
@@ -2709,17 +2709,17 @@ class Ee extends F {
|
|
|
2709
2709
|
}), n;
|
|
2710
2710
|
}
|
|
2711
2711
|
}
|
|
2712
|
-
class Jp extends
|
|
2712
|
+
class Jp extends ke {
|
|
2713
2713
|
constructor() {
|
|
2714
2714
|
super(...arguments);
|
|
2715
2715
|
y(this, "name", "Asset Attachment");
|
|
2716
2716
|
y(this, "url", "/asset-attachments");
|
|
2717
2717
|
y(this, "initializeAttachments", Tt);
|
|
2718
2718
|
y(this, "addAttachments", mi);
|
|
2719
|
-
y(this, "updateAttachments",
|
|
2719
|
+
y(this, "updateAttachments", Ca);
|
|
2720
2720
|
y(this, "removeAttachments", pi);
|
|
2721
2721
|
y(this, "removeAttachment", Ma);
|
|
2722
|
-
y(this, "setAttachment",
|
|
2722
|
+
y(this, "setAttachment", xa);
|
|
2723
2723
|
y(this, "selectAttachment", $a);
|
|
2724
2724
|
}
|
|
2725
2725
|
buildOfflineAttachment(s) {
|
|
@@ -2789,7 +2789,7 @@ class Xp extends O {
|
|
|
2789
2789
|
blocks: [a.offline_id]
|
|
2790
2790
|
});
|
|
2791
2791
|
return o.then((r) => {
|
|
2792
|
-
this.dispatch(
|
|
2792
|
+
this.dispatch(Ee(r));
|
|
2793
2793
|
}).catch(() => {
|
|
2794
2794
|
this.dispatch(Ot(a.offline_id));
|
|
2795
2795
|
}), [a, o];
|
|
@@ -2804,7 +2804,7 @@ class Xp extends O {
|
|
|
2804
2804
|
};
|
|
2805
2805
|
if (!n.canvas_marker && !n.geo_marker)
|
|
2806
2806
|
throw new Error("Asset must have either a canvas_marker or geo_marker");
|
|
2807
|
-
this.dispatch(
|
|
2807
|
+
this.dispatch(Ee(n));
|
|
2808
2808
|
const a = this.enqueueRequest({
|
|
2809
2809
|
description: "Edit asset",
|
|
2810
2810
|
method: d.PATCH,
|
|
@@ -2814,9 +2814,9 @@ class Xp extends O {
|
|
|
2814
2814
|
blocks: [e.offline_id]
|
|
2815
2815
|
});
|
|
2816
2816
|
return a.then((o) => {
|
|
2817
|
-
this.dispatch(
|
|
2817
|
+
this.dispatch(Ee(o));
|
|
2818
2818
|
}).catch(() => {
|
|
2819
|
-
this.dispatch(
|
|
2819
|
+
this.dispatch(Ee(i));
|
|
2820
2820
|
}), [n, a];
|
|
2821
2821
|
}
|
|
2822
2822
|
async remove(e) {
|
|
@@ -2861,7 +2861,7 @@ class Xp extends O {
|
|
|
2861
2861
|
}), u = [];
|
|
2862
2862
|
let c = null;
|
|
2863
2863
|
for (const l of r) {
|
|
2864
|
-
const { batchId: h, payload: m } = l, f = m.assets.map((
|
|
2864
|
+
const { batchId: h, payload: m } = l, f = m.assets.map((k) => k.offline_id), b = [s];
|
|
2865
2865
|
c && b.push(c);
|
|
2866
2866
|
const T = f;
|
|
2867
2867
|
T.push(h);
|
|
@@ -2901,7 +2901,7 @@ class Qp extends O {
|
|
|
2901
2901
|
created_by: i,
|
|
2902
2902
|
submitted_at: n
|
|
2903
2903
|
});
|
|
2904
|
-
this.dispatch(
|
|
2904
|
+
this.dispatch(kt(a));
|
|
2905
2905
|
const o = this.enqueueRequest({
|
|
2906
2906
|
description: "Add asset stage completion",
|
|
2907
2907
|
method: d.POST,
|
|
@@ -2934,7 +2934,7 @@ class Qp extends O {
|
|
|
2934
2934
|
blocks: []
|
|
2935
2935
|
});
|
|
2936
2936
|
return n.catch(() => {
|
|
2937
|
-
this.dispatch(
|
|
2937
|
+
this.dispatch(kt(i));
|
|
2938
2938
|
}), n;
|
|
2939
2939
|
}
|
|
2940
2940
|
bulkAdd(e) {
|
|
@@ -2943,7 +2943,7 @@ class Qp extends O {
|
|
|
2943
2943
|
created_by: n,
|
|
2944
2944
|
submitted_at: i
|
|
2945
2945
|
})), r = o.map(({ offline_id: c }) => c);
|
|
2946
|
-
this.dispatch(
|
|
2946
|
+
this.dispatch(Et(o));
|
|
2947
2947
|
const u = this.enqueueRequest({
|
|
2948
2948
|
description: "Bulk create asset stage completions",
|
|
2949
2949
|
method: d.POST,
|
|
@@ -2975,7 +2975,7 @@ class Qp extends O {
|
|
|
2975
2975
|
blocks: []
|
|
2976
2976
|
});
|
|
2977
2977
|
return n.catch(() => {
|
|
2978
|
-
this.dispatch(
|
|
2978
|
+
this.dispatch(Et(i));
|
|
2979
2979
|
}), n;
|
|
2980
2980
|
}
|
|
2981
2981
|
async refreshStore(e) {
|
|
@@ -3087,7 +3087,7 @@ class Zp extends O {
|
|
|
3087
3087
|
this.dispatch(Qa(s));
|
|
3088
3088
|
}
|
|
3089
3089
|
}
|
|
3090
|
-
class ef extends
|
|
3090
|
+
class ef extends ke {
|
|
3091
3091
|
constructor() {
|
|
3092
3092
|
super(...arguments);
|
|
3093
3093
|
y(this, "name", "Asset Type Attachment");
|
|
@@ -3246,13 +3246,13 @@ class nf extends F {
|
|
|
3246
3246
|
for (const l of a) {
|
|
3247
3247
|
const h = {}, m = [];
|
|
3248
3248
|
for (const f of l) {
|
|
3249
|
-
const { fieldValuesId: b, fieldIdentifier: T, file: S } = f,
|
|
3250
|
-
|
|
3249
|
+
const { fieldValuesId: b, fieldIdentifier: T, file: S } = f, k = await this.getFilePayload(S);
|
|
3250
|
+
k.sha1 in h || (h[k.sha1] = k);
|
|
3251
3251
|
const ee = R({
|
|
3252
3252
|
file: URL.createObjectURL(S),
|
|
3253
3253
|
file_type: S.type,
|
|
3254
3254
|
file_name: S.name,
|
|
3255
|
-
file_sha1:
|
|
3255
|
+
file_sha1: k.sha1,
|
|
3256
3256
|
created_by: n,
|
|
3257
3257
|
field_values: b,
|
|
3258
3258
|
submitted_at: i,
|
|
@@ -3262,8 +3262,8 @@ class nf extends F {
|
|
|
3262
3262
|
const yt = {
|
|
3263
3263
|
offline_id: ee.offline_id,
|
|
3264
3264
|
file_name: S.name,
|
|
3265
|
-
file_sha1:
|
|
3266
|
-
file_extension:
|
|
3265
|
+
file_sha1: k.sha1,
|
|
3266
|
+
file_extension: k.extension,
|
|
3267
3267
|
field_identifier: T,
|
|
3268
3268
|
field_values: b
|
|
3269
3269
|
};
|
|
@@ -3300,7 +3300,7 @@ class nf extends F {
|
|
|
3300
3300
|
];
|
|
3301
3301
|
}
|
|
3302
3302
|
async bulkDelete(e) {
|
|
3303
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
3303
|
+
const { store: s } = this.client, i = s.getState(), n = Eo(e)(i);
|
|
3304
3304
|
this.dispatch(Ze(e));
|
|
3305
3305
|
try {
|
|
3306
3306
|
await this.enqueueRequest({
|
|
@@ -3477,7 +3477,7 @@ class of extends O {
|
|
|
3477
3477
|
return Promise.all(u).then((l) => {
|
|
3478
3478
|
this.dispatch(Do(l.flat()));
|
|
3479
3479
|
}).catch(() => {
|
|
3480
|
-
this.dispatch(
|
|
3480
|
+
this.dispatch(xo(a.map((l) => l.offline_id)));
|
|
3481
3481
|
}), [a, u];
|
|
3482
3482
|
}
|
|
3483
3483
|
update(e) {
|
|
@@ -3680,7 +3680,7 @@ class rf extends O {
|
|
|
3680
3680
|
this.dispatch(Go(s));
|
|
3681
3681
|
}
|
|
3682
3682
|
}
|
|
3683
|
-
class df extends
|
|
3683
|
+
class df extends ke {
|
|
3684
3684
|
constructor() {
|
|
3685
3685
|
super(...arguments);
|
|
3686
3686
|
y(this, "name", "Document Attachment");
|
|
@@ -3752,8 +3752,8 @@ class df extends Ee {
|
|
|
3752
3752
|
const b = this.processPresignedUrls(f);
|
|
3753
3753
|
for (const [T, S] of Object.entries(b))
|
|
3754
3754
|
S.then(() => {
|
|
3755
|
-
const
|
|
3756
|
-
for (const ee of
|
|
3755
|
+
const k = c[T];
|
|
3756
|
+
for (const ee of k)
|
|
3757
3757
|
this.makeReadable(ee);
|
|
3758
3758
|
});
|
|
3759
3759
|
}).catch(() => {
|
|
@@ -3969,7 +3969,7 @@ class hf extends O {
|
|
|
3969
3969
|
});
|
|
3970
3970
|
}
|
|
3971
3971
|
}
|
|
3972
|
-
const
|
|
3972
|
+
const Ce = {}, We = /* @__PURE__ */ new Set();
|
|
3973
3973
|
let Me = 0, He = 0, Ke = 0;
|
|
3974
3974
|
const Wl = 20;
|
|
3975
3975
|
class mf extends O {
|
|
@@ -4080,7 +4080,7 @@ class mf extends O {
|
|
|
4080
4080
|
const l = await Ia(s), h = new File([l], n ?? i, { type: l.type });
|
|
4081
4081
|
return await this.addCache(h, i), h;
|
|
4082
4082
|
}
|
|
4083
|
-
let r =
|
|
4083
|
+
let r = Ce[a], u = !0;
|
|
4084
4084
|
r ? u = !1 : (r = new Promise((l) => {
|
|
4085
4085
|
this.enqueueRequest({
|
|
4086
4086
|
description: "Download file",
|
|
@@ -4097,12 +4097,12 @@ class mf extends O {
|
|
|
4097
4097
|
const m = new File([h], n ?? i, { type: h.type });
|
|
4098
4098
|
l(m);
|
|
4099
4099
|
});
|
|
4100
|
-
}),
|
|
4100
|
+
}), Ce[a] = r);
|
|
4101
4101
|
let c;
|
|
4102
4102
|
try {
|
|
4103
4103
|
c = await r;
|
|
4104
4104
|
} catch (l) {
|
|
4105
|
-
throw u && l instanceof
|
|
4105
|
+
throw u && l instanceof E && delete Ce[a], l;
|
|
4106
4106
|
}
|
|
4107
4107
|
if (u) {
|
|
4108
4108
|
const l = await we(c);
|
|
@@ -4122,7 +4122,7 @@ class mf extends O {
|
|
|
4122
4122
|
const m = n ?? l + "." + h;
|
|
4123
4123
|
if (c = va(c, m), !c.name)
|
|
4124
4124
|
throw new Error("Failed to set file's name");
|
|
4125
|
-
await this.addCache(c, l),
|
|
4125
|
+
await this.addCache(c, l), Ce[a] = new Promise((f) => {
|
|
4126
4126
|
f(c);
|
|
4127
4127
|
});
|
|
4128
4128
|
}
|
|
@@ -4293,7 +4293,7 @@ class Af extends F {
|
|
|
4293
4293
|
}), [o, r, u];
|
|
4294
4294
|
}
|
|
4295
4295
|
async delete(e) {
|
|
4296
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
4296
|
+
const { store: s } = this.client, i = s.getState(), n = xc(e)(i);
|
|
4297
4297
|
if (!n)
|
|
4298
4298
|
throw new Error("Expected form to exist");
|
|
4299
4299
|
const a = Lc(e)(i);
|
|
@@ -4404,13 +4404,13 @@ class gf extends F {
|
|
|
4404
4404
|
blockers: [],
|
|
4405
4405
|
blocks: []
|
|
4406
4406
|
});
|
|
4407
|
-
this.dispatch(
|
|
4407
|
+
this.dispatch(Cc(s));
|
|
4408
4408
|
}
|
|
4409
4409
|
}
|
|
4410
4410
|
class bf extends F {
|
|
4411
4411
|
async add(e) {
|
|
4412
4412
|
var h;
|
|
4413
|
-
const { store: s } = this.client, { file: i, ...n } = e, a = (/* @__PURE__ */ new Date()).toISOString(), o = (h = s.getState().userReducer.currentUser) == null ? void 0 : h.id, r = n.
|
|
4413
|
+
const { store: s } = this.client, { file: i, ...n } = e, a = (/* @__PURE__ */ new Date()).toISOString(), o = (h = s.getState().userReducer.currentUser) == null ? void 0 : h.id, r = n.index_workspace, u = await this.getFilePayload(i), c = R({
|
|
4414
4414
|
...n,
|
|
4415
4415
|
file_name: i.name,
|
|
4416
4416
|
file_sha1: u.sha1,
|
|
@@ -4431,14 +4431,14 @@ class bf extends F {
|
|
|
4431
4431
|
geo_marker: c.geo_marker,
|
|
4432
4432
|
canvas_marker: c.canvas_marker,
|
|
4433
4433
|
sha1: c.file_sha1,
|
|
4434
|
-
|
|
4434
|
+
index_workspace: c.index_workspace,
|
|
4435
4435
|
file_name: c.file_name,
|
|
4436
4436
|
direction: c.direction,
|
|
4437
4437
|
original_date: c.original_date,
|
|
4438
4438
|
file: u
|
|
4439
4439
|
},
|
|
4440
|
-
blocks: [
|
|
4441
|
-
blockers: [r
|
|
4440
|
+
blocks: [c.offline_id],
|
|
4441
|
+
blockers: [r]
|
|
4442
4442
|
});
|
|
4443
4443
|
return l.then((m) => {
|
|
4444
4444
|
this.processPresignedUrls(m.presigned_urls), this.dispatch(je(m.geo_image));
|
|
@@ -4459,7 +4459,8 @@ class bf extends F {
|
|
|
4459
4459
|
file: URL.createObjectURL(f),
|
|
4460
4460
|
submitted_at: n,
|
|
4461
4461
|
created_by: a,
|
|
4462
|
-
|
|
4462
|
+
index_workspace: s,
|
|
4463
|
+
index: null
|
|
4463
4464
|
});
|
|
4464
4465
|
o.push(S), r.push(S.offline_id), u.push({
|
|
4465
4466
|
offline_id: S.offline_id,
|
|
@@ -4480,11 +4481,11 @@ class bf extends F {
|
|
|
4480
4481
|
url: "/geo-images/bulk/",
|
|
4481
4482
|
payload: {
|
|
4482
4483
|
submitted_at: n,
|
|
4483
|
-
|
|
4484
|
+
index_workspace: s,
|
|
4484
4485
|
geo_images: u,
|
|
4485
4486
|
files: Object.values(c)
|
|
4486
4487
|
},
|
|
4487
|
-
blocks: [s
|
|
4488
|
+
blocks: [s],
|
|
4488
4489
|
blockers: r
|
|
4489
4490
|
});
|
|
4490
4491
|
return l.then((m) => {
|
|
@@ -4533,7 +4534,10 @@ class bf extends F {
|
|
|
4533
4534
|
const s = await this.enqueueRequest({
|
|
4534
4535
|
description: "Get geo images",
|
|
4535
4536
|
method: d.GET,
|
|
4536
|
-
url:
|
|
4537
|
+
url: "/geo-images/",
|
|
4538
|
+
queryParams: {
|
|
4539
|
+
project: e.toString()
|
|
4540
|
+
},
|
|
4537
4541
|
blocks: [e.toString()],
|
|
4538
4542
|
blockers: []
|
|
4539
4543
|
});
|
|
@@ -4599,7 +4603,7 @@ class _f extends O {
|
|
|
4599
4603
|
this.dispatch(sr(s));
|
|
4600
4604
|
}
|
|
4601
4605
|
}
|
|
4602
|
-
class Sf extends
|
|
4606
|
+
class Sf extends ke {
|
|
4603
4607
|
constructor() {
|
|
4604
4608
|
super(...arguments);
|
|
4605
4609
|
y(this, "name", "Issue Attachment");
|
|
@@ -4902,10 +4906,10 @@ class wf extends F {
|
|
|
4902
4906
|
blocks: a.map((c) => c.offline_id)
|
|
4903
4907
|
});
|
|
4904
4908
|
return r.then((c) => {
|
|
4905
|
-
this.processPresignedUrls(c.presigned_urls), this.dispatch(
|
|
4909
|
+
this.processPresignedUrls(c.presigned_urls), this.dispatch(kr(c.attachments));
|
|
4906
4910
|
}).catch(() => {
|
|
4907
4911
|
this.dispatch(
|
|
4908
|
-
|
|
4912
|
+
Er(
|
|
4909
4913
|
a.map((c) => c.offline_id)
|
|
4910
4914
|
)
|
|
4911
4915
|
);
|
|
@@ -4959,7 +4963,7 @@ class Of extends O {
|
|
|
4959
4963
|
blockers: [],
|
|
4960
4964
|
blocks: []
|
|
4961
4965
|
});
|
|
4962
|
-
this.dispatch(
|
|
4966
|
+
this.dispatch(Cr(s));
|
|
4963
4967
|
}
|
|
4964
4968
|
}
|
|
4965
4969
|
class vf extends F {
|
|
@@ -5058,7 +5062,7 @@ class If extends O {
|
|
|
5058
5062
|
blockers: [e.issue, e.fields_revision],
|
|
5059
5063
|
blocks: [n.offline_id]
|
|
5060
5064
|
});
|
|
5061
|
-
return this.dispatch(
|
|
5065
|
+
return this.dispatch(Es(n)), a.then((r) => (this.dispatch(Pe(r)), r)).catch(() => {
|
|
5062
5066
|
this.dispatch(Fs(n.offline_id));
|
|
5063
5067
|
}), [n, a];
|
|
5064
5068
|
}
|
|
@@ -5104,7 +5108,7 @@ class If extends O {
|
|
|
5104
5108
|
blocks: []
|
|
5105
5109
|
});
|
|
5106
5110
|
} catch (o) {
|
|
5107
|
-
throw this.dispatch(
|
|
5111
|
+
throw this.dispatch(Es(n)), this.dispatch(st(a)), o;
|
|
5108
5112
|
}
|
|
5109
5113
|
}
|
|
5110
5114
|
async refreshStore(e) {
|
|
@@ -5121,7 +5125,7 @@ class If extends O {
|
|
|
5121
5125
|
this.dispatch(Pr(s));
|
|
5122
5126
|
}
|
|
5123
5127
|
}
|
|
5124
|
-
class
|
|
5128
|
+
class kf extends O {
|
|
5125
5129
|
add(e) {
|
|
5126
5130
|
var o;
|
|
5127
5131
|
const { store: s } = this.client, i = s.getState(), n = R({
|
|
@@ -5140,11 +5144,11 @@ class Ef extends O {
|
|
|
5140
5144
|
return a.then((r) => {
|
|
5141
5145
|
this.dispatch(De(r));
|
|
5142
5146
|
}).catch(() => {
|
|
5143
|
-
this.dispatch(
|
|
5147
|
+
this.dispatch(xs(n.offline_id));
|
|
5144
5148
|
}), [n, a];
|
|
5145
5149
|
}
|
|
5146
5150
|
update(e) {
|
|
5147
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5151
|
+
const { store: s } = this.client, i = s.getState(), n = Cs(e.offline_id)(i);
|
|
5148
5152
|
if (!n)
|
|
5149
5153
|
throw new Error(`IssueType with offline_id ${e.offline_id} does not exist in the store.`);
|
|
5150
5154
|
const a = {
|
|
@@ -5166,11 +5170,11 @@ class Ef extends O {
|
|
|
5166
5170
|
}), [a, o];
|
|
5167
5171
|
}
|
|
5168
5172
|
delete(e) {
|
|
5169
|
-
const { store: s } = this.client, i = s.getState(), n =
|
|
5173
|
+
const { store: s } = this.client, i = s.getState(), n = Cs(e)(i);
|
|
5170
5174
|
if (!n)
|
|
5171
5175
|
throw new Error(`IssueType with offline_id ${e} does not exist in the store.`);
|
|
5172
5176
|
const a = An(e)(i);
|
|
5173
|
-
this.dispatch(
|
|
5177
|
+
this.dispatch(xs(e)), this.dispatch(Rr(a.map((r) => r.offline_id)));
|
|
5174
5178
|
const o = this.enqueueRequest({
|
|
5175
5179
|
method: d.DELETE,
|
|
5176
5180
|
url: `/issue-types/${e}/`,
|
|
@@ -5194,7 +5198,7 @@ class Ef extends O {
|
|
|
5194
5198
|
this.dispatch(Kr(s));
|
|
5195
5199
|
}
|
|
5196
5200
|
}
|
|
5197
|
-
class
|
|
5201
|
+
class Ef extends O {
|
|
5198
5202
|
async refreshStore(e) {
|
|
5199
5203
|
const s = await this.enqueueRequest({
|
|
5200
5204
|
description: "Get issue updates",
|
|
@@ -5261,7 +5265,7 @@ class Ff extends Hl {
|
|
|
5261
5265
|
* Logs the user out
|
|
5262
5266
|
*/
|
|
5263
5267
|
clearAuth() {
|
|
5264
|
-
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(Uo(!1)), this.clearTokens(), this.dispatch({ type: la }), this.dispatch({ type:
|
|
5268
|
+
console.debug(this.constructor.name, "clearing auth;"), this.dispatch(Uo(!1)), this.clearTokens(), this.dispatch({ type: la }), this.dispatch({ type: kl });
|
|
5265
5269
|
}
|
|
5266
5270
|
/**
|
|
5267
5271
|
* Attempts to renew tokens
|
|
@@ -5302,7 +5306,7 @@ class Ff extends Hl {
|
|
|
5302
5306
|
try {
|
|
5303
5307
|
await this.renewTokens();
|
|
5304
5308
|
} catch (s) {
|
|
5305
|
-
return s instanceof
|
|
5309
|
+
return s instanceof E && this.clearAuth(), s instanceof Error ? Promise.reject(s) : Promise.reject(new Error((s ?? ve).toString()));
|
|
5306
5310
|
}
|
|
5307
5311
|
}
|
|
5308
5312
|
}
|
|
@@ -5310,7 +5314,7 @@ class Ff extends Hl {
|
|
|
5310
5314
|
async handleUnauthorized(s, i) {
|
|
5311
5315
|
const n = this.client.store.getState();
|
|
5312
5316
|
if (s.url.endsWith("/token/refresh/"))
|
|
5313
|
-
throw n.authReducer.isLoggedIn && console.warn("No signed-in user to sign out."), this.clearAuth(), new
|
|
5317
|
+
throw n.authReducer.isLoggedIn && console.warn("No signed-in user to sign out."), this.clearAuth(), new E({
|
|
5314
5318
|
message: "You have been signed out due to inactivity.",
|
|
5315
5319
|
response: i,
|
|
5316
5320
|
discard: !0
|
|
@@ -5318,7 +5322,7 @@ class Ff extends Hl {
|
|
|
5318
5322
|
if (n.authReducer.isLoggedIn)
|
|
5319
5323
|
await this.renewTokens();
|
|
5320
5324
|
else
|
|
5321
|
-
throw console.debug("Forbidden; user is not logged in."), new
|
|
5325
|
+
throw console.debug("Forbidden; user is not logged in."), new E({
|
|
5322
5326
|
message: "Incorrect username or password.",
|
|
5323
5327
|
response: i,
|
|
5324
5328
|
discard: !0
|
|
@@ -5563,7 +5567,7 @@ class Df extends O {
|
|
|
5563
5567
|
this.dispatch(wn(s));
|
|
5564
5568
|
}
|
|
5565
5569
|
}
|
|
5566
|
-
class
|
|
5570
|
+
class xf extends ke {
|
|
5567
5571
|
constructor() {
|
|
5568
5572
|
super(...arguments);
|
|
5569
5573
|
y(this, "name", "Project Attachment");
|
|
@@ -5613,7 +5617,7 @@ class Cf extends Ee {
|
|
|
5613
5617
|
this.dispatch(Ld(i));
|
|
5614
5618
|
}
|
|
5615
5619
|
}
|
|
5616
|
-
class
|
|
5620
|
+
class Cf extends O {
|
|
5617
5621
|
async saveExisting(e) {
|
|
5618
5622
|
if (!e.offline_id)
|
|
5619
5623
|
throw new Error(
|
|
@@ -5778,7 +5782,7 @@ class Mf extends O {
|
|
|
5778
5782
|
blockers: [e.toString()],
|
|
5779
5783
|
blocks: [e.toString()]
|
|
5780
5784
|
}).then(() => {
|
|
5781
|
-
this.dispatch(
|
|
5785
|
+
this.dispatch(kd(e));
|
|
5782
5786
|
});
|
|
5783
5787
|
}
|
|
5784
5788
|
}
|
|
@@ -5933,7 +5937,7 @@ class Uf extends O {
|
|
|
5933
5937
|
blocks: [n.offline_id]
|
|
5934
5938
|
});
|
|
5935
5939
|
return a.then((r) => {
|
|
5936
|
-
this.dispatch(
|
|
5940
|
+
this.dispatch(xe(r));
|
|
5937
5941
|
}).catch(() => {
|
|
5938
5942
|
this.dispatch(Qs(n.offline_id));
|
|
5939
5943
|
}), [n, a];
|
|
@@ -5943,7 +5947,7 @@ class Uf extends O {
|
|
|
5943
5947
|
if (!i)
|
|
5944
5948
|
throw new Error(`Expected an existing workspace with offline_id ${e.offline_id}`);
|
|
5945
5949
|
const n = { ...i, ...e };
|
|
5946
|
-
this.dispatch(
|
|
5950
|
+
this.dispatch(xe(n));
|
|
5947
5951
|
const a = this.enqueueRequest({
|
|
5948
5952
|
description: "Update Workspace",
|
|
5949
5953
|
method: d.PATCH,
|
|
@@ -5953,9 +5957,9 @@ class Uf extends O {
|
|
|
5953
5957
|
blocks: [i.offline_id]
|
|
5954
5958
|
});
|
|
5955
5959
|
return a.then((o) => {
|
|
5956
|
-
this.dispatch(
|
|
5960
|
+
this.dispatch(xe(o));
|
|
5957
5961
|
}).catch(() => {
|
|
5958
|
-
this.dispatch(
|
|
5962
|
+
this.dispatch(xe(i));
|
|
5959
5963
|
}), [i, a];
|
|
5960
5964
|
}
|
|
5961
5965
|
delete(e) {
|
|
@@ -5987,7 +5991,7 @@ class Uf extends O {
|
|
|
5987
5991
|
}
|
|
5988
5992
|
var Jl = /* @__PURE__ */ ((t) => (t[t.USER_REGISTRATION = 0] = "USER_REGISTRATION", t[t.APPLICATION_INVITE = 2] = "APPLICATION_INVITE", t[t.PROJECT_INVITE = 4] = "PROJECT_INVITE", t[t.ORGANIZATION_INVITE = 6] = "ORGANIZATION_INVITE", t[t.ADD_EMAIL_DOMAIN = 8] = "ADD_EMAIL_DOMAIN", t[t.RESET_PASSWORD = 10] = "RESET_PASSWORD", t))(Jl || {});
|
|
5989
5993
|
export {
|
|
5990
|
-
|
|
5994
|
+
E as APIError,
|
|
5991
5995
|
Yp as AgentService,
|
|
5992
5996
|
Jp as AssetAttachmentService,
|
|
5993
5997
|
Xp as AssetService,
|
|
@@ -6030,9 +6034,9 @@ export {
|
|
|
6030
6034
|
If as IssueTypeFieldValuesService,
|
|
6031
6035
|
wf as IssueTypeFieldsAttachmentService,
|
|
6032
6036
|
Of as IssueTypeFieldsService,
|
|
6033
|
-
|
|
6037
|
+
kf as IssueTypeService,
|
|
6034
6038
|
I as IssueUpdateChange,
|
|
6035
|
-
|
|
6039
|
+
Ef as IssueUpdateService,
|
|
6036
6040
|
Ff as JWTService,
|
|
6037
6041
|
ya as LicenseLevel,
|
|
6038
6042
|
qf as LicenseService,
|
|
@@ -6045,8 +6049,8 @@ export {
|
|
|
6045
6049
|
fa as PaddleCheckoutEvent,
|
|
6046
6050
|
ai as ProjectAccessLevel,
|
|
6047
6051
|
Df as ProjectAccessService,
|
|
6048
|
-
|
|
6049
|
-
|
|
6052
|
+
xf as ProjectAttachmentService,
|
|
6053
|
+
Cf as ProjectFileService,
|
|
6050
6054
|
Mf as ProjectService,
|
|
6051
6055
|
zf as TeamService,
|
|
6052
6056
|
ve as UNKNOWN_ERROR_MESSAGE,
|
|
@@ -6054,15 +6058,15 @@ export {
|
|
|
6054
6058
|
Kn as VERSION_REDUCER_KEY,
|
|
6055
6059
|
Jl as VerificationCodeType,
|
|
6056
6060
|
Uf as WorkspaceService,
|
|
6057
|
-
|
|
6061
|
+
Ec as _selectLatestFormRevision,
|
|
6058
6062
|
Vd as _setLatestRetryTime,
|
|
6059
|
-
|
|
6063
|
+
kd as acceptProjectInvite,
|
|
6060
6064
|
wt as addAsset,
|
|
6061
6065
|
ju as addAssetAttachment,
|
|
6062
6066
|
mi as addAssetAttachments,
|
|
6063
6067
|
Lu as addAssetStage,
|
|
6064
|
-
|
|
6065
|
-
|
|
6068
|
+
kt as addAssetStageCompletion,
|
|
6069
|
+
Et as addAssetStageCompletions,
|
|
6066
6070
|
Je as addAssetStages,
|
|
6067
6071
|
Bt as addAssetType,
|
|
6068
6072
|
Wu as addAssetTypeAttachment,
|
|
@@ -6079,7 +6083,7 @@ export {
|
|
|
6079
6083
|
Ai as addAssets,
|
|
6080
6084
|
Yt as addCategory,
|
|
6081
6085
|
qa as addConversation,
|
|
6082
|
-
|
|
6086
|
+
xh as addDocumentAttachment,
|
|
6083
6087
|
Ho as addDocumentAttachments,
|
|
6084
6088
|
Zt as addDocuments,
|
|
6085
6089
|
rc as addEmailDomain,
|
|
@@ -6103,7 +6107,7 @@ export {
|
|
|
6103
6107
|
Ss as addIssueComment,
|
|
6104
6108
|
_m as addIssueComments,
|
|
6105
6109
|
Yr as addIssueType,
|
|
6106
|
-
|
|
6110
|
+
Es as addIssueTypeFieldValues,
|
|
6107
6111
|
Wm as addIssueTypeFieldValuesAttachment,
|
|
6108
6112
|
st as addIssueTypeFieldValuesAttachments,
|
|
6109
6113
|
qm as addIssueTypeFieldValuesMany,
|
|
@@ -6136,21 +6140,21 @@ export {
|
|
|
6136
6140
|
ho as assetTypeAttachmentReducer,
|
|
6137
6141
|
Ri as assetTypeAttachmentSlice,
|
|
6138
6142
|
qo as assetTypeFieldValuesAttachmentReducer,
|
|
6139
|
-
|
|
6143
|
+
Ei as assetTypeFieldValuesAttachmentSlice,
|
|
6140
6144
|
Mo as assetTypeFieldValuesReducer,
|
|
6141
6145
|
qi as assetTypeFieldValuesSlice,
|
|
6142
6146
|
bo as assetTypeFieldsAttachmentReducer,
|
|
6143
6147
|
Ii as assetTypeFieldsAttachmentSlice,
|
|
6144
6148
|
Oo as assetTypeFieldsReducer,
|
|
6145
|
-
|
|
6149
|
+
ki as assetTypeFieldsSlice,
|
|
6146
6150
|
$o as assetTypeReducer,
|
|
6147
6151
|
Pi as assetTypeSlice,
|
|
6148
6152
|
Vo as authReducer,
|
|
6149
6153
|
ct as authSlice,
|
|
6150
6154
|
Su as blobToBase64,
|
|
6151
6155
|
No as categoryReducer,
|
|
6152
|
-
|
|
6153
|
-
|
|
6156
|
+
xi as categorySlice,
|
|
6157
|
+
Eh as clearTokens,
|
|
6154
6158
|
_u as constructUploadedFilePayloads,
|
|
6155
6159
|
pu as coordinatesAreEqual,
|
|
6156
6160
|
mu as createMultiPointGeometry,
|
|
@@ -6169,7 +6173,7 @@ export {
|
|
|
6169
6173
|
Vt as deleteAssetTypeFieldValues,
|
|
6170
6174
|
fh as deleteAssetTypeFieldValuesAttachment,
|
|
6171
6175
|
Ze as deleteAssetTypeFieldValuesAttachments,
|
|
6172
|
-
|
|
6176
|
+
xo as deleteAssetTypeFieldValuesMany,
|
|
6173
6177
|
Ro as deleteAssetTypeFields,
|
|
6174
6178
|
eh as deleteAssetTypeFieldsAttachment,
|
|
6175
6179
|
yo as deleteAssetTypeFieldsAttachments,
|
|
@@ -6201,10 +6205,10 @@ export {
|
|
|
6201
6205
|
Fs as deleteIssueTypeFieldValues,
|
|
6202
6206
|
Jm as deleteIssueTypeFieldValuesAttachment,
|
|
6203
6207
|
it as deleteIssueTypeFieldValuesAttachments,
|
|
6204
|
-
|
|
6208
|
+
xm as deleteIssueTypeFieldValuesMany,
|
|
6205
6209
|
$r as deleteIssueTypeFields,
|
|
6206
|
-
|
|
6207
|
-
|
|
6210
|
+
km as deleteIssueTypeFieldsAttachment,
|
|
6211
|
+
Er as deleteIssueTypeFieldsAttachments,
|
|
6208
6212
|
Vm as deleteIssueTypeFieldsMany,
|
|
6209
6213
|
id as deleteIssueUpdate,
|
|
6210
6214
|
nd as deleteIssueUpdates,
|
|
@@ -6229,7 +6233,7 @@ export {
|
|
|
6229
6233
|
bu as downloadInMemoryFile,
|
|
6230
6234
|
hc as emailDomainsReducer,
|
|
6231
6235
|
Ui as emailDomainsSlice,
|
|
6232
|
-
|
|
6236
|
+
Eu as emailRegex,
|
|
6233
6237
|
Fl as enqueue,
|
|
6234
6238
|
$d as enqueueRequest,
|
|
6235
6239
|
g as fallbackToEmptyArray,
|
|
@@ -6273,7 +6277,7 @@ export {
|
|
|
6273
6277
|
cc as initializeEmailDomains,
|
|
6274
6278
|
Ac as initializeFormRevisionAttachments,
|
|
6275
6279
|
Oc as initializeFormRevisions,
|
|
6276
|
-
|
|
6280
|
+
Cc as initializeFormSubmissionAttachments,
|
|
6277
6281
|
Vc as initializeFormSubmissions,
|
|
6278
6282
|
jc as initializeForms,
|
|
6279
6283
|
Hc as initializeGeoImages,
|
|
@@ -6281,7 +6285,7 @@ export {
|
|
|
6281
6285
|
dr as initializeIssueAttachments,
|
|
6282
6286
|
Pr as initializeIssueTypeFieldValues,
|
|
6283
6287
|
Gr as initializeIssueTypeFieldValuesAttachments,
|
|
6284
|
-
|
|
6288
|
+
Cr as initializeIssueTypeFields,
|
|
6285
6289
|
vr as initializeIssueTypeFieldsAttachments,
|
|
6286
6290
|
Kr as initializeIssueTypes,
|
|
6287
6291
|
ed as initializeIssueUpdates,
|
|
@@ -6304,7 +6308,7 @@ export {
|
|
|
6304
6308
|
dn as issueSlice,
|
|
6305
6309
|
Hr as issueTypeFieldValuesAttachmentReducer,
|
|
6306
6310
|
pn as issueTypeFieldValuesAttachmentSlice,
|
|
6307
|
-
|
|
6311
|
+
xr as issueTypeFieldValuesReducer,
|
|
6308
6312
|
un as issueTypeFieldValuesSlice,
|
|
6309
6313
|
jr as issueTypeFieldsAttachmentReducer,
|
|
6310
6314
|
ln as issueTypeFieldsAttachmentSlice,
|
|
@@ -6322,14 +6326,14 @@ export {
|
|
|
6322
6326
|
di as memoize,
|
|
6323
6327
|
sc as moveDocument,
|
|
6324
6328
|
R as offline,
|
|
6325
|
-
|
|
6326
|
-
|
|
6329
|
+
ku as onlyUniqueHashes,
|
|
6330
|
+
Ea as onlyUniqueOfflineIds,
|
|
6327
6331
|
gd as organizationAccessReducer,
|
|
6328
6332
|
Sn as organizationAccessSlice,
|
|
6329
6333
|
Md as organizationReducer,
|
|
6330
|
-
|
|
6334
|
+
kn as organizationSlice,
|
|
6331
6335
|
Gd as outboxReducer,
|
|
6332
|
-
|
|
6336
|
+
En as outboxSlice,
|
|
6333
6337
|
Wp as overmapEnhancer,
|
|
6334
6338
|
Il as overmapReducers,
|
|
6335
6339
|
Np as overmapRootReducer,
|
|
@@ -6340,20 +6344,20 @@ export {
|
|
|
6340
6344
|
Fn as projectAttachmentSlice,
|
|
6341
6345
|
rl as projectFileReducer,
|
|
6342
6346
|
Pn as projectFileSlice,
|
|
6343
|
-
|
|
6347
|
+
Ed as projectReducer,
|
|
6344
6348
|
vn as projectSlice,
|
|
6345
6349
|
ll as rehydratedReducer,
|
|
6346
6350
|
Dn as rehydratedSlice,
|
|
6347
6351
|
es as removeDocuments,
|
|
6348
|
-
|
|
6352
|
+
xs as removeIssueType,
|
|
6349
6353
|
hd as removeUser,
|
|
6350
6354
|
Pp as resetProjectFileObjectUrls,
|
|
6351
|
-
|
|
6355
|
+
kl as resetStore,
|
|
6352
6356
|
A as restructureCreateSelectorWithArgs,
|
|
6353
6357
|
al as saveActiveProjectFileBounds,
|
|
6354
6358
|
Fh as selectAccessToken,
|
|
6355
6359
|
hp as selectActiveOrganizationAccess,
|
|
6356
|
-
|
|
6360
|
+
xp as selectActiveProjectFileId,
|
|
6357
6361
|
np as selectActiveStatusLicenses,
|
|
6358
6362
|
zi as selectAllDocumentAttachments,
|
|
6359
6363
|
jn as selectAllProjectAttachments,
|
|
@@ -6374,11 +6378,11 @@ export {
|
|
|
6374
6378
|
Wt as selectAssetTypeById,
|
|
6375
6379
|
ji as selectAssetTypeFieldValues,
|
|
6376
6380
|
yh as selectAssetTypeFieldValuesAttachmentById,
|
|
6377
|
-
|
|
6378
|
-
|
|
6381
|
+
ko as selectAssetTypeFieldValuesAttachments,
|
|
6382
|
+
Eo as selectAssetTypeFieldValuesAttachmentsByIds,
|
|
6379
6383
|
Fi as selectAssetTypeFieldValuesAttachmentsMapping,
|
|
6380
6384
|
Gt as selectAssetTypeFieldValuesById,
|
|
6381
|
-
|
|
6385
|
+
Co as selectAssetTypeFieldValuesMapping,
|
|
6382
6386
|
bh as selectAssetTypeFieldValuesOfAsset,
|
|
6383
6387
|
ot as selectAssetTypeFields,
|
|
6384
6388
|
sh as selectAssetTypeFieldsAttachmentById,
|
|
@@ -6397,7 +6401,7 @@ export {
|
|
|
6397
6401
|
gi as selectAssetsMapping,
|
|
6398
6402
|
bi as selectAssetsOfAssetType,
|
|
6399
6403
|
Ua as selectAttachmentsOfAsset,
|
|
6400
|
-
|
|
6404
|
+
xu as selectAttachmentsOfAssetByType,
|
|
6401
6405
|
uo as selectAttachmentsOfAssetType,
|
|
6402
6406
|
Yu as selectAttachmentsOfAssetTypeByType,
|
|
6403
6407
|
Fo as selectAttachmentsOfAssetTypeFieldValues,
|
|
@@ -6409,13 +6413,13 @@ export {
|
|
|
6409
6413
|
pr as selectAttachmentsOfIssue,
|
|
6410
6414
|
bm as selectAttachmentsOfIssueByType,
|
|
6411
6415
|
Wr as selectAttachmentsOfIssueTypeFieldValues,
|
|
6412
|
-
|
|
6416
|
+
Em as selectAttachmentsOfIssueTypeFields,
|
|
6413
6417
|
Xd as selectAttachmentsOfProject,
|
|
6414
|
-
|
|
6418
|
+
kp as selectAttachmentsOfProjectByType,
|
|
6415
6419
|
jh as selectCategories,
|
|
6416
6420
|
Ph as selectCategoriesByIds,
|
|
6417
6421
|
Jt as selectCategoryById,
|
|
6418
|
-
|
|
6422
|
+
Ci as selectCategoryMapping,
|
|
6419
6423
|
Tm as selectCommentsOfIssue,
|
|
6420
6424
|
Vu as selectCompletedStagesByAsset,
|
|
6421
6425
|
qu as selectConversation,
|
|
@@ -6433,12 +6437,12 @@ export {
|
|
|
6433
6437
|
lc as selectEmailDomainsAsMapping,
|
|
6434
6438
|
Lh as selectEmailDomainsOfOrganization,
|
|
6435
6439
|
sm as selectFilteredForms,
|
|
6436
|
-
|
|
6440
|
+
xc as selectFormById,
|
|
6437
6441
|
Dc as selectFormMapping,
|
|
6438
6442
|
Sc as selectFormRevisionAttachmentsMapping,
|
|
6439
6443
|
Jh as selectFormRevisionById,
|
|
6440
6444
|
rt as selectFormRevisionMapping,
|
|
6441
|
-
|
|
6445
|
+
kc as selectFormRevisions,
|
|
6442
6446
|
Fc as selectFormRevisionsOfForm,
|
|
6443
6447
|
zc as selectFormSubmissionAttachemntsByIds,
|
|
6444
6448
|
Yi as selectFormSubmissionAttachmentsMapping,
|
|
@@ -6452,8 +6456,8 @@ export {
|
|
|
6452
6456
|
ps as selectGeoImageById,
|
|
6453
6457
|
Zc as selectGeoImageMapping,
|
|
6454
6458
|
er as selectGeoImages,
|
|
6455
|
-
um as
|
|
6456
|
-
|
|
6459
|
+
um as selectGeoImagesOfWorkspace,
|
|
6460
|
+
Cp as selectIsImportingProjectFile,
|
|
6457
6461
|
qh as selectIsLoggedIn,
|
|
6458
6462
|
nr as selectIssueAssociationById,
|
|
6459
6463
|
Ve as selectIssueAssociationMapping,
|
|
@@ -6469,7 +6473,7 @@ export {
|
|
|
6469
6473
|
gr as selectIssueCommentMapping,
|
|
6470
6474
|
Dh as selectIssueCountOfCategory,
|
|
6471
6475
|
wr as selectIssueMapping,
|
|
6472
|
-
|
|
6476
|
+
Cs as selectIssueTypeById,
|
|
6473
6477
|
hn as selectIssueTypeFieldValues,
|
|
6474
6478
|
Xm as selectIssueTypeFieldValuesAttachmentById,
|
|
6475
6479
|
Br as selectIssueTypeFieldValuesAttachments,
|
|
@@ -6477,7 +6481,7 @@ export {
|
|
|
6477
6481
|
fn as selectIssueTypeFieldValuesAttachmentsMapping,
|
|
6478
6482
|
qs as selectIssueTypeFieldValuesById,
|
|
6479
6483
|
Dr as selectIssueTypeFieldValuesMapping,
|
|
6480
|
-
|
|
6484
|
+
Cm as selectIssueTypeFieldValuesOfIssue,
|
|
6481
6485
|
ut as selectIssueTypeFields,
|
|
6482
6486
|
Fm as selectIssueTypeFieldsAttachmentById,
|
|
6483
6487
|
qr as selectIssueTypeFieldsAttachments,
|
|
@@ -6511,8 +6515,8 @@ export {
|
|
|
6511
6515
|
Ad as selectOrganizationAccessUserMapping,
|
|
6512
6516
|
Tn as selectOrganizationAccesses,
|
|
6513
6517
|
gp as selectOrganizationById,
|
|
6514
|
-
|
|
6515
|
-
|
|
6518
|
+
Cd as selectOrganizationUsersAsMapping,
|
|
6519
|
+
xd as selectOrganizationUsersIds,
|
|
6516
6520
|
Dd as selectOrganizations,
|
|
6517
6521
|
Pd as selectOrganizationsMapping,
|
|
6518
6522
|
bp as selectOrganizationsWithAccess,
|
|
@@ -6541,7 +6545,7 @@ export {
|
|
|
6541
6545
|
be as selectTeamById,
|
|
6542
6546
|
Mn as selectTeams,
|
|
6543
6547
|
$p as selectTeamsByIds,
|
|
6544
|
-
|
|
6548
|
+
Cn as selectTeamsMapping,
|
|
6545
6549
|
Up as selectTeamsOfOrganization,
|
|
6546
6550
|
Vp as selectTeamsOfUser,
|
|
6547
6551
|
fc as selectUploadUrl,
|
|
@@ -6555,7 +6559,7 @@ export {
|
|
|
6555
6559
|
yf as separateImageFromFields,
|
|
6556
6560
|
nl as setActiveProjectFileId,
|
|
6557
6561
|
Mu as setAsset,
|
|
6558
|
-
|
|
6562
|
+
xa as setAssetAttachment,
|
|
6559
6563
|
Pu as setAssetAttachments,
|
|
6560
6564
|
Za as setAssetStage,
|
|
6561
6565
|
Gu as setAssetStages,
|
|
@@ -6575,7 +6579,7 @@ export {
|
|
|
6575
6579
|
ja as setConversation,
|
|
6576
6580
|
op as setCurrentUser,
|
|
6577
6581
|
Ko as setDocumentAttachment,
|
|
6578
|
-
|
|
6582
|
+
Ch as setDocumentAttachments,
|
|
6579
6583
|
tc as setDocuments,
|
|
6580
6584
|
Qh as setForm,
|
|
6581
6585
|
wc as setFormRevision,
|
|
@@ -6609,12 +6613,12 @@ export {
|
|
|
6609
6613
|
cp as setProfilePicture,
|
|
6610
6614
|
Nd as setProjectAttachment,
|
|
6611
6615
|
Wd as setProjectAttachments,
|
|
6612
|
-
|
|
6616
|
+
Ep as setProjectFile,
|
|
6613
6617
|
Fp as setProjectFiles,
|
|
6614
6618
|
Od as setProjects,
|
|
6615
6619
|
Mp as setRehydrated,
|
|
6616
6620
|
ge as setTeam,
|
|
6617
|
-
|
|
6621
|
+
kh as setTokens,
|
|
6618
6622
|
pc as setUploadUrl,
|
|
6619
6623
|
ud as setUsers,
|
|
6620
6624
|
Gp as setWorkspaces,
|
|
@@ -6622,13 +6626,13 @@ export {
|
|
|
6622
6626
|
vu as slugify,
|
|
6623
6627
|
Ou as spacesToDashesLower,
|
|
6624
6628
|
ml as teamReducer,
|
|
6625
|
-
|
|
6629
|
+
xn as teamSlice,
|
|
6626
6630
|
wu as toFileNameSafeString,
|
|
6627
|
-
|
|
6631
|
+
ka as toOfflineIdRecord,
|
|
6628
6632
|
Iu as truncate,
|
|
6629
|
-
|
|
6633
|
+
Ee as updateAsset,
|
|
6630
6634
|
Du as updateAssetAttachment,
|
|
6631
|
-
|
|
6635
|
+
Ca as updateAssetAttachments,
|
|
6632
6636
|
Pt as updateAssetStage,
|
|
6633
6637
|
Ha as updateAssetStageCompletion,
|
|
6634
6638
|
Ka as updateAssetStageCompletions,
|
|
@@ -6645,7 +6649,7 @@ export {
|
|
|
6645
6649
|
fo as updateAssetTypeFieldsAttachments,
|
|
6646
6650
|
oh as updateAssetTypeFieldsMany,
|
|
6647
6651
|
wh as updateAssetTypes,
|
|
6648
|
-
|
|
6652
|
+
Cu as updateAssets,
|
|
6649
6653
|
Lo as updateCategory,
|
|
6650
6654
|
Pa as updateConversation,
|
|
6651
6655
|
Mh as updateDocumentAttachment,
|
|
@@ -6672,7 +6676,7 @@ export {
|
|
|
6672
6676
|
Dm as updateIssueTypeFieldValuesMany,
|
|
6673
6677
|
zr as updateIssueTypeFields,
|
|
6674
6678
|
Im as updateIssueTypeFieldsAttachment,
|
|
6675
|
-
|
|
6679
|
+
kr as updateIssueTypeFieldsAttachments,
|
|
6676
6680
|
Um as updateIssueTypeFieldsMany,
|
|
6677
6681
|
se as updateLicense,
|
|
6678
6682
|
fd as updateOrganizationAccess,
|
|
@@ -6683,7 +6687,7 @@ export {
|
|
|
6683
6687
|
Hs as updateProjectFile,
|
|
6684
6688
|
jp as updateProjectFiles,
|
|
6685
6689
|
Ys as updateTeam,
|
|
6686
|
-
|
|
6690
|
+
xe as updateWorkspace,
|
|
6687
6691
|
md as userReducer,
|
|
6688
6692
|
_n as userSlice,
|
|
6689
6693
|
yl as versioningReducer,
|