@overmap-ai/core 1.0.78-view-sets.23 → 1.0.78-view-sets.24

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.
@@ -2,10 +2,10 @@ var Mc = Object.defineProperty;
2
2
  var jc = (t, e, s) => e in t ? Mc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
3
  var f = (t, e, s) => jc(t, typeof e != "symbol" ? e + "" : e, s);
4
4
  import "@redux-offline/redux-offline/lib/types";
5
- import { createAction as jt, createSlice as P, isAnyOf as R, createSelector as m, combineReducers as Pa, compose as Uc } from "@reduxjs/toolkit";
5
+ import { createAction as jt, createSlice as P, isAnyOf as R, createSelector as m, combineReducers as Pa, compose as zc } from "@reduxjs/toolkit";
6
6
  import $e from "superagent";
7
7
  import { v4 as Be } from "uuid";
8
- import { saveAs as zc } from "file-saver";
8
+ import { saveAs as Uc } from "file-saver";
9
9
  import { offline as Dc } from "@redux-offline/redux-offline";
10
10
  import Yt from "@redux-offline/redux-offline/lib/defaults";
11
11
  import "buffer";
@@ -182,12 +182,12 @@ function Fm(t, e) {
182
182
  if (t[s] !== e[s]) return !1;
183
183
  return !0;
184
184
  }
185
- const b = (t) => t.length === 0 ? Bc : t, Ut = (t) => Object.keys(t).length === 0 ? Lc : t, Jc = Oa((t) => {
185
+ const b = (t) => t.length === 0 ? Bc : t, zt = (t) => Object.keys(t).length === 0 ? Lc : t, Jc = Oa((t) => {
186
186
  if (!t) return "";
187
- const e = new Date(t), s = e.getFullYear() === zt.getFullYear(), i = { day: "numeric", month: "short" };
187
+ const e = new Date(t), s = e.getFullYear() === Ut.getFullYear(), i = { day: "numeric", month: "short" };
188
188
  return s || (i.year = "numeric"), e.toLocaleDateString([], i);
189
- }), Zc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Qc = 1e3 * 86400, zt = /* @__PURE__ */ new Date(), Om = (t) => new Date(t).toDateString() === zt.toDateString(), Rm = Oa((t, e, s) => {
190
- const i = Math.round((new Date(t).getTime() - zt.getTime()) / Qc);
189
+ }), Zc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Qc = 1e3 * 86400, Ut = /* @__PURE__ */ new Date(), Om = (t) => new Date(t).toDateString() === Ut.toDateString(), Rm = Oa((t, e, s) => {
190
+ const i = Math.round((new Date(t).getTime() - Ut.getTime()) / Qc);
191
191
  return i < e || i > s ? Jc(t) : Zc.format(i, "days");
192
192
  });
193
193
  function Xc(t) {
@@ -251,7 +251,7 @@ const wm = async (t) => {
251
251
  });
252
252
  function qm(t) {
253
253
  const e = new Blob([t]);
254
- zc(e, t.name);
254
+ Uc(e, t.name);
255
255
  }
256
256
  const Zt = {};
257
257
  function Em(t, e, s, ...i) {
@@ -282,10 +282,10 @@ function Mm(t, e = void 0, s = 255) {
282
282
  function jm(t) {
283
283
  return t.toLowerCase().replace(" ", "-");
284
284
  }
285
- function Um(t, e = !1) {
285
+ function zm(t, e = !1) {
286
286
  return t.normalize("NFKD").toLowerCase().replace(/[^\w\s-]/g, "").trim().replace(/[-\s]+/g, e ? "_" : "-");
287
287
  }
288
- function zm(t, e) {
288
+ function Um(t, e) {
289
289
  if (t.length <= e)
290
290
  return t;
291
291
  const s = t.slice(0, e - 1);
@@ -476,8 +476,8 @@ const V = O(
476
476
  deleteAssetProcedureFieldsMany: B.deleteMany
477
477
  }
478
478
  }), {
479
- initializeAssetProcedureFields: Ur,
480
- addAssetProcedureFields: zr,
479
+ initializeAssetProcedureFields: zr,
480
+ addAssetProcedureFields: Ur,
481
481
  addAssetProcedureFieldsMany: cA,
482
482
  setAssetProcedureFields: rA,
483
483
  setAssetProcedureFieldsMany: oA,
@@ -492,7 +492,7 @@ const V = O(
492
492
  )
493
493
  ), hA = y(
494
494
  m([ja, (t, e) => e], (t, e) => t.filter((s) => s.asset_procedure === e).sort((s, i) => s.submitted_at > i.submitted_at ? -1 : 1)[0])
495
- ), pA = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], Cr = Ma.reducer, L = O((t) => t.uuid), as = L.getInitialState({}), Ua = P({
495
+ ), pA = (t) => (e) => e.assetProcedureFieldsReducer.instances[t], Cr = Ma.reducer, L = O((t) => t.uuid), as = L.getInitialState({}), za = P({
496
496
  name: "assetProcedureFieldValuesAttachments",
497
497
  initialState: as,
498
498
  extraReducers: (t) => t.addMatcher(
@@ -520,13 +520,13 @@ const V = O(
520
520
  updateAssetProcedureFieldValuesAttachments: Gr,
521
521
  deleteAssetProcedureFieldValuesAttachment: bA,
522
522
  deleteAssetProcedureFieldValuesAttachments: Ft
523
- } = Ua.actions, za = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, Br = m(
524
- [za],
523
+ } = za.actions, Ua = (t) => t.assetProcedureFieldValuesAttachmentReducer.instances, Br = m(
524
+ [Ua],
525
525
  (t) => Object.values(t)
526
526
  ), SA = (t) => (e) => e.assetProcedureFieldValuesAttachmentReducer.instances[t], Lr = y(
527
527
  m(
528
528
  [
529
- za,
529
+ Ua,
530
530
  (t, e) => e
531
531
  ],
532
532
  (t, e) => {
@@ -539,7 +539,7 @@ const V = O(
539
539
  [Br, (t, e) => e],
540
540
  (t, e) => b(t.filter((s) => s.field_values === e))
541
541
  )
542
- ), Hr = Ua.reducer, N = O((t) => t.uuid), ns = N.getInitialState({}), Da = P({
542
+ ), Hr = za.reducer, N = O((t) => t.uuid), ns = N.getInitialState({}), Da = P({
543
543
  name: "assetProcedureFieldValues",
544
544
  initialState: ns,
545
545
  extraReducers: (t) => t.addMatcher(
@@ -677,7 +677,7 @@ const V = O(
677
677
  return b(s);
678
678
  }
679
679
  )
680
- ), UA = y(
680
+ ), zA = y(
681
681
  m([no, (t, e) => e], (t, e) => b(t.filter((s) => s.organization === e)))
682
682
  ), co = Ga.reducer, K = O((t) => t.uuid), ys = K.getInitialState(
683
683
  {}
@@ -701,7 +701,7 @@ const V = O(
701
701
  }
702
702
  }), {
703
703
  initializeAssetProcedureStepFieldsAttachments: ro,
704
- addAssetProcedureStepFieldsAttachment: zA,
704
+ addAssetProcedureStepFieldsAttachment: UA,
705
705
  addAssetProcedureStepFieldsAttachments: oo,
706
706
  setAssetProcedureStepFieldsAttachment: DA,
707
707
  setAssetProcedureStepFieldsAttachments: xA,
@@ -884,7 +884,7 @@ const V = O(
884
884
  const s = {};
885
885
  for (const [i, a] of Object.entries(t))
886
886
  a.asset_procedure === e && (s[i] = a);
887
- return Ut(s);
887
+ return zt(s);
888
888
  })
889
889
  ), Af = y(
890
890
  m([Eo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
@@ -930,7 +930,7 @@ const V = O(
930
930
  setAssets: Sf
931
931
  } = Qa.actions, en = (t) => t.assetReducer.instances, jo = m([en], (t) => b(Object.values(t))), tn = y(
932
932
  m([jo, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_type === e)))
933
- ), Ms = (t) => (e) => e.assetReducer.instances[t], Uo = y(
933
+ ), Ms = (t) => (e) => e.assetReducer.instances[t], zo = y(
934
934
  m([en, (t, e) => e], (t, e) => {
935
935
  const s = [];
936
936
  for (const i of e) {
@@ -939,7 +939,7 @@ const V = O(
939
939
  }
940
940
  return b(s);
941
941
  })
942
- ), gf = (t) => (e) => tn(t)(e).length, zo = Qa.reducer, ee = O(
942
+ ), gf = (t) => (e) => tn(t)(e).length, Uo = Qa.reducer, ee = O(
943
943
  (t) => t.uuid
944
944
  ), js = ee.getInitialState({}), sn = P({
945
945
  name: "assetStageCompletions",
@@ -961,8 +961,8 @@ const V = O(
961
961
  }
962
962
  }), {
963
963
  initializeAssetStageCompletions: Do,
964
- addAssetStageCompletion: Us,
965
- addAssetStageCompletions: zs,
964
+ addAssetStageCompletion: zs,
965
+ addAssetStageCompletions: Us,
966
966
  setAssetStageCompletion: _f,
967
967
  setAssetStageCompletions: Pf,
968
968
  updateAssetStageCompletion: xo,
@@ -1017,7 +1017,7 @@ const V = O(
1017
1017
  const s = {};
1018
1018
  for (const [i, a] of Object.entries(t))
1019
1019
  a.asset_procedure === e && (s[i] = a);
1020
- return Ut(s);
1020
+ return zt(s);
1021
1021
  })
1022
1022
  ), wf = y(
1023
1023
  m([Ho, (t, e) => e], (t, e) => b(t.filter((s) => s.asset_procedure === e)))
@@ -1090,8 +1090,8 @@ const V = O(
1090
1090
  initializeAssetTypeFieldsAttachments: sd,
1091
1091
  addAssetTypeFieldsAttachment: jf,
1092
1092
  addAssetTypeFieldsAttachments: id,
1093
- setAssetTypeFieldsAttachment: Uf,
1094
- setAssetTypeFieldsAttachments: zf,
1093
+ setAssetTypeFieldsAttachment: zf,
1094
+ setAssetTypeFieldsAttachments: Uf,
1095
1095
  updateAssetTypeFieldsAttachment: Df,
1096
1096
  updateAssetTypeFieldsAttachments: ad,
1097
1097
  deleteAssetTypeFieldsAttachment: xf,
@@ -1315,7 +1315,7 @@ const V = O(
1315
1315
  updateCategories: Sy,
1316
1316
  deleteCategory: jd,
1317
1317
  deleteCategories: gy
1318
- } = yn.actions, bn = (t) => t.categoryReducer.instances, Ud = m([bn], (t) => Object.values(t)), ai = (t) => (e) => e.categoryReducer.instances[t], _y = y(
1318
+ } = yn.actions, bn = (t) => t.categoryReducer.instances, zd = m([bn], (t) => Object.values(t)), ai = (t) => (e) => e.categoryReducer.instances[t], _y = y(
1319
1319
  m(
1320
1320
  [bn, (t, e) => e],
1321
1321
  (t, e) => {
@@ -1328,8 +1328,8 @@ const V = O(
1328
1328
  }
1329
1329
  )
1330
1330
  ), Py = y(
1331
- m([Ud, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1332
- ), zd = yn.reducer, de = O(
1331
+ m([zd, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1332
+ ), Ud = yn.reducer, de = O(
1333
1333
  (t) => t.uuid
1334
1334
  ), ni = de.getInitialState({}), Sn = P({
1335
1335
  name: "documentAttachments",
@@ -1482,8 +1482,8 @@ const V = O(
1482
1482
  updateEmailDomain: My,
1483
1483
  updateEmailDomains: jy,
1484
1484
  deleteEmailDomain: Xd,
1485
- deleteEmailDomains: Uy
1486
- } = Pn.actions, eu = (t) => t.emailDomainsReducer.instances, tu = m([eu], (t) => Object.values(t)), zy = y(
1485
+ deleteEmailDomains: zy
1486
+ } = Pn.actions, eu = (t) => t.emailDomainsReducer.instances, tu = m([eu], (t) => Object.values(t)), Uy = y(
1487
1487
  m(
1488
1488
  [tu, (t, e) => e],
1489
1489
  (t, e) => b(
@@ -1729,12 +1729,12 @@ const V = O(
1729
1729
  [jn, (t, e) => e],
1730
1730
  (t, e) => Object.values(t).filter((s) => s.issue === e)
1731
1731
  )
1732
- ), Uu = y(
1732
+ ), zu = y(
1733
1733
  m(
1734
1734
  [jn, (t, e) => e],
1735
1735
  (t, e) => t.filter((s) => s.asset === e)
1736
1736
  )
1737
- ), zu = En.reducer, fe = O((t) => t.uuid), gi = fe.getInitialState({}), Un = P({
1737
+ ), Uu = En.reducer, fe = O((t) => t.uuid), gi = fe.getInitialState({}), zn = P({
1738
1738
  name: "geoImages",
1739
1739
  initialState: gi,
1740
1740
  extraReducers: (t) => t.addMatcher(
@@ -1762,11 +1762,11 @@ const V = O(
1762
1762
  updateGeoImages: ob,
1763
1763
  deleteGeoImage: _i,
1764
1764
  deleteGeoImages: Gu
1765
- } = Un.actions, Bu = (t) => t.geoImageReducer.instances, Lu = m([Bu], (t) => Object.values(t)), Pi = (t) => (e) => e.geoImageReducer.instances[t], db = y(
1765
+ } = zn.actions, Bu = (t) => t.geoImageReducer.instances, Lu = m([Bu], (t) => Object.values(t)), Pi = (t) => (e) => e.geoImageReducer.instances[t], db = y(
1766
1766
  m([Lu, (t, e) => e], (t, e) => b(t.filter((s) => s.project === e)))
1767
- ), Nu = Un.reducer, ye = O(
1767
+ ), Nu = zn.reducer, ye = O(
1768
1768
  (t) => t.uuid
1769
- ), Ti = ye.getInitialState({}), zn = P({
1769
+ ), Ti = ye.getInitialState({}), Un = P({
1770
1770
  name: "issueAssociations",
1771
1771
  initialState: Ti,
1772
1772
  extraReducers: (t) => t.addMatcher(
@@ -1794,7 +1794,7 @@ const V = O(
1794
1794
  addIssueAssociations: Dn,
1795
1795
  deleteIssueAssociation: Oi,
1796
1796
  deleteIssueAssociations: xn
1797
- } = zn.actions, ht = (t) => t.issueAssociationReducer.instances, pb = m([ht], (t) => Object.values(t)), Ku = (t) => (e) => e.issueAssociationReducer.instances[t], Yu = y(
1797
+ } = Un.actions, ht = (t) => t.issueAssociationReducer.instances, pb = m([ht], (t) => Object.values(t)), Ku = (t) => (e) => e.issueAssociationReducer.instances[t], Yu = y(
1798
1798
  m(
1799
1799
  [ht, (t, e) => e],
1800
1800
  (t, e) => b(
@@ -1811,7 +1811,7 @@ const V = O(
1811
1811
  [ht, (t, e) => e],
1812
1812
  (t, e) => b(Object.values(t).filter((s) => s.asset === e))
1813
1813
  )
1814
- ), Qu = zn.reducer, be = O(
1814
+ ), Qu = Un.reducer, be = O(
1815
1815
  (t) => t.uuid
1816
1816
  ), Ri = be.getInitialState({}), Vn = P({
1817
1817
  name: "issueAttachments",
@@ -1921,12 +1921,12 @@ const V = O(
1921
1921
  [yl, (t, e) => e],
1922
1922
  (t, e) => b(Object.values(t).filter((s) => s.issue === e))
1923
1923
  )
1924
- ), bl = Bn.reducer, _e = O((t) => t.uuid), Ui = _e.getInitialState({}), Ln = P({
1924
+ ), bl = Bn.reducer, _e = O((t) => t.uuid), zi = _e.getInitialState({}), Ln = P({
1925
1925
  name: "issues",
1926
- initialState: Ui,
1926
+ initialState: zi,
1927
1927
  extraReducers: (t) => t.addMatcher(
1928
1928
  R(_, q, I),
1929
- (e) => Object.assign(e, Ui)
1929
+ (e) => Object.assign(e, zi)
1930
1930
  ),
1931
1931
  reducers: {
1932
1932
  initializeIssues: _e.initialize,
@@ -1941,7 +1941,7 @@ const V = O(
1941
1941
  }
1942
1942
  }), {
1943
1943
  initializeIssues: Sl,
1944
- addIssue: zi,
1944
+ addIssue: Ui,
1945
1945
  addIssues: gl,
1946
1946
  setIssue: Ib,
1947
1947
  setIssues: vb,
@@ -1991,7 +1991,7 @@ const V = O(
1991
1991
  } = Hn.actions, vl = (t) => t.issueTypeAttachmentReducer.instances, wl = m(
1992
1992
  [vl],
1993
1993
  (t) => Object.values(t)
1994
- ), kl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], Ub = y(
1994
+ ), kl = (t) => (e) => e.issueTypeAttachmentReducer.instances[t], zb = y(
1995
1995
  m(
1996
1996
  [wl, (t, e) => e],
1997
1997
  (t, e) => b(t.filter(({ issue_type: s }) => e === s))
@@ -2016,16 +2016,16 @@ const V = O(
2016
2016
  }
2017
2017
  }), {
2018
2018
  initializeIssueTypeFieldsAttachments: El,
2019
- addIssueTypeFieldsAttachment: zb,
2019
+ addIssueTypeFieldsAttachment: Ub,
2020
2020
  addIssueTypeFieldsAttachments: Ml,
2021
2021
  setIssueTypeFieldsAttachment: Db,
2022
2022
  setIssueTypeFieldsAttachments: xb,
2023
2023
  updateIssueTypeFieldsAttachment: Vb,
2024
2024
  updateIssueTypeFieldsAttachments: jl,
2025
2025
  deleteIssueTypeFieldsAttachment: Cb,
2026
- deleteIssueTypeFieldsAttachments: Ul
2027
- } = Wn.actions, zl = (t) => t.issueTypeFieldsAttachmentReducer.instances, Dl = m(
2028
- [zl],
2026
+ deleteIssueTypeFieldsAttachments: zl
2027
+ } = Wn.actions, Ul = (t) => t.issueTypeFieldsAttachmentReducer.instances, Dl = m(
2028
+ [Ul],
2029
2029
  (t) => Object.values(t)
2030
2030
  ), $b = y(
2031
2031
  m(
@@ -2159,7 +2159,7 @@ const V = O(
2159
2159
  [Jl, (t, e) => e],
2160
2160
  (t, e) => b(t.filter((s) => s.field_values === e))
2161
2161
  )
2162
- ), Xl = Zn.reducer, z = O((t) => t.uuid), Ki = z.getInitialState({}), Xn = P({
2162
+ ), Xl = Zn.reducer, U = O((t) => t.uuid), Ki = U.getInitialState({}), Xn = P({
2163
2163
  name: "issueTypes",
2164
2164
  initialState: Ki,
2165
2165
  extraReducers: (t) => t.addMatcher(
@@ -2167,16 +2167,16 @@ const V = O(
2167
2167
  (e) => Object.assign(e, Ki)
2168
2168
  ),
2169
2169
  reducers: {
2170
- initializeIssueTypes: z.initialize,
2171
- addIssueType: z.addOne,
2172
- addIssueTypes: z.addMany,
2173
- setIssueType: z.setOne,
2174
- setIssueTypes: z.setMany,
2175
- updateIssueType: z.updateOne,
2176
- updateIssueTypes: z.updateMany,
2177
- deleteIssueType: z.deleteOne,
2178
- deleteIssueTypes: z.deleteMany,
2179
- removeIssueType: z.deleteOne
2170
+ initializeIssueTypes: U.initialize,
2171
+ addIssueType: U.addOne,
2172
+ addIssueTypes: U.addMany,
2173
+ setIssueType: U.setOne,
2174
+ setIssueTypes: U.setMany,
2175
+ updateIssueType: U.updateOne,
2176
+ updateIssueTypes: U.updateMany,
2177
+ deleteIssueType: U.deleteOne,
2178
+ deleteIssueTypes: U.deleteMany,
2179
+ removeIssueType: U.deleteOne
2180
2180
  }
2181
2181
  }), {
2182
2182
  initializeIssueTypes: eh,
@@ -2324,8 +2324,8 @@ const V = O(
2324
2324
  updateOrganizationAccess: yt,
2325
2325
  updateOrganizationAccesses: jS,
2326
2326
  deleteOrganizationAccess: Ph,
2327
- deleteOrganizationAccesses: US
2328
- } = ac.actions, Th = ac.reducer, nc = (t) => t.organizationAccessReducer.instances, ea = (t) => (e) => e.organizationAccessReducer.instances[t], zS = m(
2327
+ deleteOrganizationAccesses: zS
2328
+ } = ac.actions, Th = ac.reducer, nc = (t) => t.organizationAccessReducer.instances, ea = (t) => (e) => e.organizationAccessReducer.instances[t], US = m(
2329
2329
  [bh, nc],
2330
2330
  (t, e) => Object.values(e).find(
2331
2331
  (i) => i.user === (t == null ? void 0 : t.id)
@@ -2334,7 +2334,7 @@ const V = O(
2334
2334
  const e = {};
2335
2335
  for (const s of Object.values(t))
2336
2336
  e[s.user] = s;
2337
- return Ut(e);
2337
+ return zt(e);
2338
2338
  }), DS = y(
2339
2339
  m(
2340
2340
  [Wt, Fh, (t, e) => e],
@@ -2440,9 +2440,9 @@ const V = O(
2440
2440
  deleteProjectAccesses: qe.deleteMany
2441
2441
  }
2442
2442
  }), {
2443
- initializeProjectAccesses: Uh,
2443
+ initializeProjectAccesses: zh,
2444
2444
  addProjectAccess: aa,
2445
- addProjectAccesses: zh,
2445
+ addProjectAccesses: Uh,
2446
2446
  setProjectAccess: YS,
2447
2447
  setProjectAccesses: JS,
2448
2448
  updateProjectAccess: rt,
@@ -2618,9 +2618,9 @@ const V = O(
2618
2618
  t.isRehydrated = e.payload;
2619
2619
  }
2620
2620
  }
2621
- }), { setRehydrated: yg } = Ac.actions, bg = (t) => t.rehydratedReducer.isRehydrated, pp = Ac.reducer, Ue = O(
2621
+ }), { setRehydrated: yg } = Ac.actions, bg = (t) => t.rehydratedReducer.isRehydrated, pp = Ac.reducer, ze = O(
2622
2622
  (t) => t.uuid
2623
- ), pa = Ue.getInitialState({}), fc = P({
2623
+ ), pa = ze.getInitialState({}), fc = P({
2624
2624
  name: "teamMemberships",
2625
2625
  initialState: pa,
2626
2626
  extraReducers: (t) => t.addMatcher(
@@ -2628,15 +2628,15 @@ const V = O(
2628
2628
  (e) => Object.assign(e, pa)
2629
2629
  ),
2630
2630
  reducers: {
2631
- initializeTeamMemberships: Ue.initialize,
2632
- addTeamMembership: Ue.addOne,
2633
- addTeamMemberships: Ue.addMany,
2634
- setTeamMembership: Ue.setOne,
2635
- setTeamMemberships: Ue.setMany,
2636
- updateTeamMembership: Ue.updateOne,
2637
- updateTeamMemberships: Ue.updateMany,
2638
- deleteTeamMembership: Ue.deleteOne,
2639
- deleteTeamMemberships: Ue.deleteMany
2631
+ initializeTeamMemberships: ze.initialize,
2632
+ addTeamMembership: ze.addOne,
2633
+ addTeamMemberships: ze.addMany,
2634
+ setTeamMembership: ze.setOne,
2635
+ setTeamMemberships: ze.setMany,
2636
+ updateTeamMembership: ze.updateOne,
2637
+ updateTeamMemberships: ze.updateMany,
2638
+ deleteTeamMembership: ze.deleteOne,
2639
+ deleteTeamMemberships: ze.deleteMany
2640
2640
  }
2641
2641
  }), {
2642
2642
  initializeTeamMemberships: mp,
@@ -2666,7 +2666,7 @@ const V = O(
2666
2666
  return b(t.filter((a) => i.has(a.id)));
2667
2667
  }
2668
2668
  )
2669
- ), ze = O((t) => t.uuid), fa = ze.getInitialState({}), bc = P({
2669
+ ), Ue = O((t) => t.uuid), fa = Ue.getInitialState({}), bc = P({
2670
2670
  name: "teams",
2671
2671
  initialState: fa,
2672
2672
  extraReducers: (t) => t.addMatcher(
@@ -2674,15 +2674,15 @@ const V = O(
2674
2674
  (e) => Object.assign(e, fa)
2675
2675
  ),
2676
2676
  reducers: {
2677
- initializeTeams: ze.initialize,
2678
- addTeam: ze.addOne,
2679
- addTeams: ze.addMany,
2680
- setTeam: ze.setOne,
2681
- setTeams: ze.setMany,
2682
- updateTeam: ze.updateOne,
2683
- updateTeams: ze.updateMany,
2684
- deleteTeam: ze.deleteOne,
2685
- deleteTeams: ze.deleteMany
2677
+ initializeTeams: Ue.initialize,
2678
+ addTeam: Ue.addOne,
2679
+ addTeams: Ue.addMany,
2680
+ setTeam: Ue.setOne,
2681
+ setTeams: Ue.setMany,
2682
+ updateTeam: Ue.updateOne,
2683
+ updateTeams: Ue.updateMany,
2684
+ deleteTeam: Ue.deleteOne,
2685
+ deleteTeams: Ue.deleteMany
2686
2686
  }
2687
2687
  }), {
2688
2688
  initializeTeams: Sp,
@@ -2724,8 +2724,8 @@ const V = O(
2724
2724
  }, Eg = Pa(gc), Ip = {
2725
2725
  ...gc,
2726
2726
  [lt]: Rp,
2727
- categoryReducer: zd,
2728
- assetReducer: zo,
2727
+ categoryReducer: Ud,
2728
+ assetReducer: Uo,
2729
2729
  assetAttachmentReducer: yr,
2730
2730
  assetStageCompletionReducer: Co,
2731
2731
  assetStageReducer: No,
@@ -2746,7 +2746,7 @@ const V = O(
2746
2746
  formRevisionReducer: gu,
2747
2747
  formRevisionAttachmentReducer: hu,
2748
2748
  formSubmissionAttachmentReducer: ku,
2749
- formSubmissionReducer: zu,
2749
+ formSubmissionReducer: Uu,
2750
2750
  userReducer: yh,
2751
2751
  emailDomainsReducer: su,
2752
2752
  documentsReducer: Jd,
@@ -2826,10 +2826,10 @@ const jp = (t) => {
2826
2826
  if (t) throw t;
2827
2827
  const e = Ye();
2828
2828
  e ? e.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }) : console.error("Client store not set");
2829
- }, Up = (t, e, s) => {
2829
+ }, zp = (t, e, s) => {
2830
2830
  const i = Ge();
2831
2831
  return i ? (i.addRequest(e), i.getQueue()) : (console.warn("Outbox coordinator not set; cannot enqueue request yet."), []);
2832
- }, zp = (t, e, s) => {
2832
+ }, Up = (t, e, s) => {
2833
2833
  const i = Ge();
2834
2834
  if (!i)
2835
2835
  return console.warn("Outbox coordinator not set; cannot dequeue request yet."), [];
@@ -2858,12 +2858,12 @@ const xp = {
2858
2858
  // that same issue"
2859
2859
  queue: {
2860
2860
  ...Yt.queue,
2861
- enqueue: Up,
2862
- dequeue: zp,
2861
+ enqueue: zp,
2862
+ dequeue: Up,
2863
2863
  // Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
2864
2864
  peek: (...t) => Hp(...t)
2865
2865
  }
2866
- }, Vp = Vc(Mp, lt), jg = Uc(Dc(xp), Vp);
2866
+ }, Vp = Vc(Mp, lt), jg = zc(Dc(xp), Vp);
2867
2867
  function Cp(t) {
2868
2868
  function e(s) {
2869
2869
  return typeof s == "object" && s !== null && ["ok", "redirect", "clientError", "serverError", "error"].every((a) => a in s);
@@ -3094,7 +3094,7 @@ class v extends Fc {
3094
3094
  this.auth = i;
3095
3095
  }
3096
3096
  }
3097
- class Ug extends v {
3097
+ class zg extends v {
3098
3098
  async startConversation(e, s) {
3099
3099
  return this.enqueueRequest({
3100
3100
  description: "Start agent conversation",
@@ -3157,7 +3157,7 @@ class Ug extends v {
3157
3157
  return this.dispatch(nr(s)), s;
3158
3158
  }
3159
3159
  }
3160
- class U extends v {
3160
+ class z extends v {
3161
3161
  getNumberOfAttachmentsWithSha1(e) {
3162
3162
  const {
3163
3163
  issueAttachmentReducer: s,
@@ -3216,7 +3216,7 @@ class U extends v {
3216
3216
  return await this.client.files.addCache(e, s), i;
3217
3217
  }
3218
3218
  }
3219
- class De extends U {
3219
+ class De extends z {
3220
3220
  async _bulkAdd(e) {
3221
3221
  var r;
3222
3222
  const { store: s } = this.client, i = (r = s.getState().userReducer.currentUser) == null ? void 0 : r.id, a = (/* @__PURE__ */ new Date()).toISOString(), n = [], c = [], o = {};
@@ -3280,7 +3280,7 @@ class De extends U {
3280
3280
  }), a;
3281
3281
  }
3282
3282
  }
3283
- class zg extends De {
3283
+ class Ug extends De {
3284
3284
  constructor() {
3285
3285
  super(...arguments);
3286
3286
  f(this, "name", "Asset Attachment");
@@ -3381,7 +3381,7 @@ class Dg extends De {
3381
3381
  return this.dispatch(br(i)), i;
3382
3382
  }
3383
3383
  }
3384
- class xg extends U {
3384
+ class xg extends z {
3385
3385
  async bulkAdd(e) {
3386
3386
  var l;
3387
3387
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -3454,7 +3454,7 @@ class Vg extends v {
3454
3454
  created_by: i,
3455
3455
  submitted_at: a
3456
3456
  });
3457
- this.dispatch(zr(n));
3457
+ this.dispatch(Ur(n));
3458
3458
  const c = this.enqueueRequest({
3459
3459
  description: "Add Asset Procedure Fields",
3460
3460
  method: u.POST,
@@ -3480,7 +3480,7 @@ class Vg extends v {
3480
3480
  blockers: [],
3481
3481
  blocks: []
3482
3482
  });
3483
- return this.dispatch(Ur(s)), s;
3483
+ return this.dispatch(zr(s)), s;
3484
3484
  }
3485
3485
  }
3486
3486
  function Ve(t, e) {
@@ -3491,7 +3491,7 @@ function Ve(t, e) {
3491
3491
  s.push(t.slice(i, i += e));
3492
3492
  return s;
3493
3493
  }
3494
- class Cg extends U {
3494
+ class Cg extends z {
3495
3495
  async bulkAdd(e, s) {
3496
3496
  var r;
3497
3497
  const i = (/* @__PURE__ */ new Date()).toISOString(), a = (r = this.client.store.getState().userReducer.currentUser) == null ? void 0 : r.id, n = Ve(e, s ?? e.length), c = [], o = [];
@@ -3860,7 +3860,7 @@ class Bg extends v {
3860
3860
  return this.dispatch(ao(s)), s;
3861
3861
  }
3862
3862
  }
3863
- class Lg extends U {
3863
+ class Lg extends z {
3864
3864
  async bulkAdd(e) {
3865
3865
  var l;
3866
3866
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -4001,7 +4001,7 @@ class Ng extends v {
4001
4001
  return this.dispatch(Ao(s)), s;
4002
4002
  }
4003
4003
  }
4004
- class Hg extends U {
4004
+ class Hg extends z {
4005
4005
  async bulkAdd(e, s) {
4006
4006
  var r;
4007
4007
  const i = (/* @__PURE__ */ new Date()).toISOString(), a = (r = this.client.store.getState().userReducer.currentUser) == null ? void 0 : r.id, n = Ve(e, s ?? e.length), c = [], o = [];
@@ -4354,7 +4354,7 @@ class Yg extends v {
4354
4354
  async delete(e) {
4355
4355
  const { store: s } = this.client, i = s.getState(), a = Ms(e)(i);
4356
4356
  if (!a) throw new Error(`No asset with uuid ${e} found in the store`);
4357
- const n = fr(e)(i), c = Uu(e)(i), o = Zu(e)(i);
4357
+ const n = fr(e)(i), c = zu(e)(i), o = Zu(e)(i);
4358
4358
  if (this.dispatch(Es(e)), n.length > 0) {
4359
4359
  const l = n.map(({ uuid: r }) => r);
4360
4360
  this.dispatch(ka(l));
@@ -4413,7 +4413,7 @@ class Yg extends v {
4413
4413
  }), l;
4414
4414
  }
4415
4415
  async bulkDelete(e) {
4416
- const { store: s } = this.client, i = s.getState(), a = Uo(e)(i);
4416
+ const { store: s } = this.client, i = s.getState(), a = zo(e)(i);
4417
4417
  this.dispatch(Xa(e));
4418
4418
  try {
4419
4419
  await this.enqueueRequest({
@@ -4450,7 +4450,7 @@ class Jg extends v {
4450
4450
  created_by: i,
4451
4451
  submitted_at: a
4452
4452
  });
4453
- this.dispatch(Us(n));
4453
+ this.dispatch(zs(n));
4454
4454
  const c = this.enqueueRequest({
4455
4455
  description: "Add asset stage completion",
4456
4456
  method: u.POST,
@@ -4478,7 +4478,7 @@ class Jg extends v {
4478
4478
  blocks: []
4479
4479
  });
4480
4480
  return a.catch(() => {
4481
- this.dispatch(Us(i));
4481
+ this.dispatch(zs(i));
4482
4482
  }), a;
4483
4483
  }
4484
4484
  bulkAdd(e) {
@@ -4488,7 +4488,7 @@ class Jg extends v {
4488
4488
  created_by: a,
4489
4489
  submitted_at: i
4490
4490
  })), o = c.map(({ uuid: d }) => d);
4491
- this.dispatch(zs(c));
4491
+ this.dispatch(Us(c));
4492
4492
  const l = this.enqueueRequest({
4493
4493
  description: "Bulk create asset stage completions",
4494
4494
  method: u.POST,
@@ -4522,7 +4522,7 @@ class Jg extends v {
4522
4522
  blocks: []
4523
4523
  });
4524
4524
  return a.catch(() => {
4525
- this.dispatch(zs(i));
4525
+ this.dispatch(Us(i));
4526
4526
  }), a;
4527
4527
  }
4528
4528
  async refreshStore(e) {
@@ -4661,7 +4661,7 @@ class Qg extends De {
4661
4661
  return this.dispatch(Wo(i)), i;
4662
4662
  }
4663
4663
  }
4664
- class Xg extends U {
4664
+ class Xg extends z {
4665
4665
  async bulkAdd(e) {
4666
4666
  var l;
4667
4667
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -4763,7 +4763,7 @@ class e_ extends v {
4763
4763
  return this.dispatch(dd(s)), s;
4764
4764
  }
4765
4765
  }
4766
- class t_ extends U {
4766
+ class t_ extends z {
4767
4767
  async bulkAdd(e, s) {
4768
4768
  var r;
4769
4769
  const i = (/* @__PURE__ */ new Date()).toISOString(), a = (r = this.client.store.getState().userReducer.currentUser) == null ? void 0 : r.id, n = Ve(e, s ?? e.length), c = [], o = [];
@@ -5217,23 +5217,29 @@ class n_ extends De {
5217
5217
  blocks: ["index-document-attachment"]
5218
5218
  });
5219
5219
  }
5220
- async refreshStore(s, i) {
5221
- const a = await this.enqueueRequest({
5220
+ async refreshStore(s) {
5221
+ const i = await this.enqueueRequest({
5222
5222
  description: "Get document attachments",
5223
5223
  method: u.GET,
5224
- url: `/projects/${s}/document-attachments/`,
5224
+ url: "/document-attachments/",
5225
+ queryParams: {
5226
+ project__organization: s
5227
+ },
5225
5228
  blocks: [],
5226
5229
  blockers: []
5227
- });
5228
- this.dispatch(Dd(a));
5229
- const n = await this.enqueueRequest({
5230
+ }), a = await this.enqueueRequest({
5230
5231
  description: "Get document attachments",
5231
5232
  method: u.GET,
5232
- url: `/organizations/${i}/document-attachments/`,
5233
+ url: "/document-attachments/",
5234
+ queryParams: {
5235
+ organization: s
5236
+ },
5233
5237
  blocks: [],
5234
5238
  blockers: []
5235
5239
  });
5236
- return this.dispatch(this.addAttachments(n)), [...a, ...n];
5240
+ return this.dispatch(
5241
+ Dd([...i, ...a])
5242
+ ), [...i, ...a];
5237
5243
  }
5238
5244
  }
5239
5245
  class c_ extends v {
@@ -5545,7 +5551,7 @@ class d_ extends v {
5545
5551
  return r;
5546
5552
  }
5547
5553
  }
5548
- class u_ extends U {
5554
+ class u_ extends z {
5549
5555
  async bulkAdd(e) {
5550
5556
  var l;
5551
5557
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -5608,7 +5614,7 @@ class u_ extends U {
5608
5614
  return this.dispatch(ru(s)), s;
5609
5615
  }
5610
5616
  }
5611
- class l_ extends U {
5617
+ class l_ extends z {
5612
5618
  add(e) {
5613
5619
  var o;
5614
5620
  const { store: s } = this.client, a = (o = s.getState().userReducer.currentUser) == null ? void 0 : o.id, n = F({
@@ -5645,7 +5651,7 @@ class l_ extends U {
5645
5651
  return this.dispatch(mu(s)), s;
5646
5652
  }
5647
5653
  }
5648
- class h_ extends U {
5654
+ class h_ extends z {
5649
5655
  add(e, s) {
5650
5656
  var r;
5651
5657
  const { store: i } = this.client, a = (/* @__PURE__ */ new Date()).toISOString(), n = (r = i.getState().userReducer.currentUser) == null ? void 0 : r.id, c = F({
@@ -5714,7 +5720,7 @@ class h_ extends U {
5714
5720
  return this.dispatch(_u(s)), s;
5715
5721
  }
5716
5722
  }
5717
- class p_ extends U {
5723
+ class p_ extends z {
5718
5724
  async bulkAdd(e) {
5719
5725
  var l;
5720
5726
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -5795,7 +5801,7 @@ class p_ extends U {
5795
5801
  return this.dispatch(Ru(s)), s;
5796
5802
  }
5797
5803
  }
5798
- class m_ extends U {
5804
+ class m_ extends z {
5799
5805
  add(e) {
5800
5806
  var c;
5801
5807
  const { store: s } = this.client, i = s.getState(), a = F({
@@ -5873,7 +5879,7 @@ class m_ extends U {
5873
5879
  return this.dispatch(qu(s)), s;
5874
5880
  }
5875
5881
  }
5876
- class A_ extends U {
5882
+ class A_ extends z {
5877
5883
  async add(e) {
5878
5884
  var h;
5879
5885
  const { store: s } = this.client, { file: i, ...a } = e, n = (/* @__PURE__ */ new Date()).toISOString(), c = (h = s.getState().userReducer.currentUser) == null ? void 0 : h.id, o = a.project, l = await this.getFilePayload(i), r = F({
@@ -6246,7 +6252,7 @@ class g_ extends v {
6246
6252
  submitted_at: a,
6247
6253
  created_by: n
6248
6254
  });
6249
- this.dispatch(zi(c));
6255
+ this.dispatch(Ui(c));
6250
6256
  const o = this.enqueueRequest({
6251
6257
  description: "Create issue",
6252
6258
  method: u.POST,
@@ -6362,7 +6368,7 @@ class g_ extends v {
6362
6368
  blocks: []
6363
6369
  });
6364
6370
  } catch (d) {
6365
- throw this.dispatch(zi(a)), this.dispatch(Cn(n)), this.dispatch(oh(c)), this.dispatch(Lt(o)), this.dispatch(Dn(r)), d;
6371
+ throw this.dispatch(Ui(a)), this.dispatch(Cn(n)), this.dispatch(oh(c)), this.dispatch(Lt(o)), this.dispatch(Dn(r)), d;
6366
6372
  }
6367
6373
  }
6368
6374
  async refreshStore(e) {
@@ -6430,7 +6436,7 @@ class __ extends De {
6430
6436
  return this.dispatch(Ci(i)), i;
6431
6437
  }
6432
6438
  }
6433
- class P_ extends U {
6439
+ class P_ extends z {
6434
6440
  async bulkAdd(e) {
6435
6441
  var l;
6436
6442
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -6475,7 +6481,7 @@ class P_ extends U {
6475
6481
  this.processPresignedUrls(r.presigned_urls), this.dispatch(jl(r.attachments));
6476
6482
  }).catch(() => {
6477
6483
  this.dispatch(
6478
- Ul(
6484
+ zl(
6479
6485
  n.map((r) => r.uuid)
6480
6486
  )
6481
6487
  );
@@ -6532,7 +6538,7 @@ class T_ extends v {
6532
6538
  return this.dispatch(Gl(s)), s;
6533
6539
  }
6534
6540
  }
6535
- class F_ extends U {
6541
+ class F_ extends z {
6536
6542
  async bulkAdd(e) {
6537
6543
  var l;
6538
6544
  const s = (/* @__PURE__ */ new Date()).toISOString(), i = (l = this.client.store.getState().userReducer.currentUser) == null ? void 0 : l.id, a = {}, n = [], c = [];
@@ -7065,7 +7071,7 @@ class q_ extends v {
7065
7071
  blockers: [],
7066
7072
  blocks: []
7067
7073
  });
7068
- return this.dispatch(Uh(s)), s;
7074
+ return this.dispatch(zh(s)), s;
7069
7075
  }
7070
7076
  }
7071
7077
  class E_ extends De {
@@ -7245,7 +7251,7 @@ class j_ extends v {
7245
7251
  blocks: []
7246
7252
  }), this.dispatch(ha(a.uuid));
7247
7253
  } catch (l) {
7248
- throw this.dispatch(la(a)), this.dispatch(zh(Object.values(o))), this.dispatch(Qh(n)), this.dispatch(Bh(c)), l;
7254
+ throw this.dispatch(la(a)), this.dispatch(Uh(Object.values(o))), this.dispatch(Qh(n)), this.dispatch(Bh(c)), l;
7249
7255
  }
7250
7256
  }
7251
7257
  async refreshStore(e) {
@@ -7262,7 +7268,7 @@ class j_ extends v {
7262
7268
  return this.dispatch(rp(s)), s;
7263
7269
  }
7264
7270
  }
7265
- class U_ extends v {
7271
+ class z_ extends v {
7266
7272
  add(e) {
7267
7273
  const s = F(e);
7268
7274
  this.dispatch(Ap(s));
@@ -7311,7 +7317,7 @@ class U_ extends v {
7311
7317
  return this.dispatch(mp(s)), s;
7312
7318
  }
7313
7319
  }
7314
- class z_ extends v {
7320
+ class U_ extends v {
7315
7321
  add(e) {
7316
7322
  const s = F({
7317
7323
  ...e,
@@ -7619,8 +7625,8 @@ const V_ = (t, e) => {
7619
7625
  var em = /* @__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))(em || {});
7620
7626
  export {
7621
7627
  D as APIError,
7622
- Ug as AgentService,
7623
- zg as AssetAttachmentService,
7628
+ zg as AgentService,
7629
+ Ug as AssetAttachmentService,
7624
7630
  Dg as AssetProcedureAttachmentService,
7625
7631
  Cg as AssetProcedureFieldValuesAttachmentService,
7626
7632
  $g as AssetProcedureFieldValuesService,
@@ -7692,8 +7698,8 @@ export {
7692
7698
  I as RESET_ORGANIZATION_STATE,
7693
7699
  q as RESET_PROJECT_STATE,
7694
7700
  _ as RESET_STATE,
7695
- U_ as TeamMembershipService,
7696
- z_ as TeamService,
7701
+ z_ as TeamMembershipService,
7702
+ U_ as TeamService,
7697
7703
  Ke as UNKNOWN_ERROR_MESSAGE,
7698
7704
  D_ as UserService,
7699
7705
  lt as VERSION_REDUCER_KEY,
@@ -7709,7 +7715,7 @@ export {
7709
7715
  mA as addAssetProcedureFieldValuesAttachment,
7710
7716
  Tt as addAssetProcedureFieldValuesAttachments,
7711
7717
  Kr as addAssetProcedureFieldValuesMany,
7712
- zr as addAssetProcedureFields,
7718
+ Ur as addAssetProcedureFields,
7713
7719
  Xm as addAssetProcedureFieldsAttachment,
7714
7720
  wr as addAssetProcedureFieldsAttachments,
7715
7721
  cA as addAssetProcedureFieldsMany,
@@ -7721,14 +7727,14 @@ export {
7721
7727
  Ot as addAssetProcedureStepFieldValuesAttachments,
7722
7728
  Fo as addAssetProcedureStepFieldValuesMany,
7723
7729
  Ss as addAssetProcedureStepFields,
7724
- zA as addAssetProcedureStepFieldsAttachment,
7730
+ UA as addAssetProcedureStepFieldsAttachment,
7725
7731
  oo as addAssetProcedureStepFieldsAttachments,
7726
7732
  BA as addAssetProcedureStepFieldsMany,
7727
7733
  lf as addAssetProcedureSteps,
7728
7734
  wA as addAssetProcedures,
7729
7735
  Cs as addAssetStage,
7730
- Us as addAssetStageCompletion,
7731
- zs as addAssetStageCompletions,
7736
+ zs as addAssetStageCompletion,
7737
+ Us as addAssetStageCompletions,
7732
7738
  Of as addAssetStages,
7733
7739
  Qs as addAssetType,
7734
7740
  qf as addAssetTypeAttachment,
@@ -7764,7 +7770,7 @@ export {
7764
7770
  Ky as addForms,
7765
7771
  Vu as addGeoImage,
7766
7772
  Cu as addGeoImages,
7767
- zi as addIssue,
7773
+ Ui as addIssue,
7768
7774
  Fi as addIssueAssociation,
7769
7775
  Dn as addIssueAssociations,
7770
7776
  mb as addIssueAttachment,
@@ -7781,7 +7787,7 @@ export {
7781
7787
  Et as addIssueTypeFieldValuesAttachments,
7782
7788
  Bb as addIssueTypeFieldValuesMany,
7783
7789
  Bl as addIssueTypeFields,
7784
- zb as addIssueTypeFieldsAttachment,
7790
+ Ub as addIssueTypeFieldsAttachment,
7785
7791
  Ml as addIssueTypeFieldsAttachments,
7786
7792
  Yb as addIssueTypeFieldsMany,
7787
7793
  uS as addIssueTypes,
@@ -7794,7 +7800,7 @@ export {
7794
7800
  CS as addOrganizations,
7795
7801
  la as addProject,
7796
7802
  aa as addProjectAccess,
7797
- zh as addProjectAccesses,
7803
+ Uh as addProjectAccesses,
7798
7804
  eg as addProjectAttachment,
7799
7805
  $h as addProjectAttachments,
7800
7806
  ag as addProjectFile,
@@ -7814,7 +7820,7 @@ export {
7814
7820
  Ir as assetProcedureAttachmentReducer,
7815
7821
  qa as assetProcedureAttachmentSlice,
7816
7822
  Hr as assetProcedureFieldValuesAttachmentReducer,
7817
- Ua as assetProcedureFieldValuesAttachmentSlice,
7823
+ za as assetProcedureFieldValuesAttachmentSlice,
7818
7824
  Qr as assetProcedureFieldValuesReducer,
7819
7825
  Da as assetProcedureFieldValuesSlice,
7820
7826
  jr as assetProcedureFieldsAttachmentReducer,
@@ -7835,7 +7841,7 @@ export {
7835
7841
  Na as assetProcedureStepFieldsSlice,
7836
7842
  qo as assetProcedureStepReducer,
7837
7843
  Za as assetProcedureStepSlice,
7838
- zo as assetReducer,
7844
+ Uo as assetReducer,
7839
7845
  Qa as assetSlice,
7840
7846
  Co as assetStageCompletionReducer,
7841
7847
  sn as assetStageCompletionSlice,
@@ -7858,7 +7864,7 @@ export {
7858
7864
  Eg as baseReducer,
7859
7865
  gc as baseReducers,
7860
7866
  km as blobToBase64,
7861
- zd as categoryReducer,
7867
+ Ud as categoryReducer,
7862
7868
  yn as categorySlice,
7863
7869
  py as clearTokens,
7864
7870
  wm as constructUploadedFilePayloads,
@@ -7920,7 +7926,7 @@ export {
7920
7926
  $d as deleteDocumentAttachment,
7921
7927
  Gd as deleteDocumentAttachments,
7922
7928
  Xd as deleteEmailDomain,
7923
- Uy as deleteEmailDomains,
7929
+ zy as deleteEmailDomains,
7924
7930
  mi as deleteForm,
7925
7931
  vn as deleteFormRevision,
7926
7932
  $y as deleteFormRevisionAttachment,
@@ -7951,7 +7957,7 @@ export {
7951
7957
  Wb as deleteIssueTypeFieldValuesMany,
7952
7958
  Nl as deleteIssueTypeFields,
7953
7959
  Cb as deleteIssueTypeFieldsAttachment,
7954
- Ul as deleteIssueTypeFieldsAttachments,
7960
+ zl as deleteIssueTypeFieldsAttachments,
7955
7961
  Xb as deleteIssueTypeFieldsMany,
7956
7962
  mS as deleteIssueTypes,
7957
7963
  dh as deleteIssueUpdate,
@@ -7959,7 +7965,7 @@ export {
7959
7965
  _l as deleteIssues,
7960
7966
  GS as deleteOrganization,
7961
7967
  Ph as deleteOrganizationAccess,
7962
- US as deleteOrganizationAccesses,
7968
+ zS as deleteOrganizationAccesses,
7963
7969
  BS as deleteOrganizations,
7964
7970
  ha as deleteProject,
7965
7971
  na as deleteProjectAccess,
@@ -7975,7 +7981,7 @@ export {
7975
7981
  wg as deleteTeams,
7976
7982
  fh as deleteUser,
7977
7983
  IS as deleteUsers,
7978
- zp as dequeue,
7984
+ Up as dequeue,
7979
7985
  qc as discard,
7980
7986
  Hd as documentAttachmentReducer,
7981
7987
  Sn as documentAttachmentSlice,
@@ -7986,10 +7992,10 @@ export {
7986
7992
  su as emailDomainsReducer,
7987
7993
  Pn as emailDomainsSlice,
7988
7994
  xm as emailRegex,
7989
- Up as enqueue,
7995
+ zp as enqueue,
7990
7996
  qh as enqueueRequest,
7991
7997
  b as fallbackToEmptyArray,
7992
- Ut as fallbackToEmptyObject,
7998
+ zt as fallbackToEmptyObject,
7993
7999
  cu as fileReducer,
7994
8000
  Fn as fileSlice,
7995
8001
  tr as fileToBlob,
@@ -8001,10 +8007,10 @@ export {
8001
8007
  wn as formSlice,
8002
8008
  ku as formSubmissionAttachmentReducer,
8003
8009
  kn as formSubmissionAttachmentSlice,
8004
- zu as formSubmissionReducer,
8010
+ Uu as formSubmissionReducer,
8005
8011
  En as formSubmissionSlice,
8006
8012
  Nu as geoImageReducer,
8007
- Un as geoImageSlice,
8013
+ zn as geoImageSlice,
8008
8014
  Im as getFileIdentifier,
8009
8015
  Jt as getFileS3Key,
8010
8016
  Jc as getLocalDateString,
@@ -8017,7 +8023,7 @@ export {
8017
8023
  br as initializeAssetProcedureAttachments,
8018
8024
  Wr as initializeAssetProcedureFieldValues,
8019
8025
  $r as initializeAssetProcedureFieldValuesAttachments,
8020
- Ur as initializeAssetProcedureFields,
8026
+ zr as initializeAssetProcedureFields,
8021
8027
  vr as initializeAssetProcedureFieldsAttachments,
8022
8028
  Xr as initializeAssetProcedureInstances,
8023
8029
  To as initializeAssetProcedureStepFieldValues,
@@ -8059,7 +8065,7 @@ export {
8059
8065
  Sl as initializeIssues,
8060
8066
  gh as initializeOrganizationAccesses,
8061
8067
  Oh as initializeOrganizations,
8062
- Uh as initializeProjectAccesses,
8068
+ zh as initializeProjectAccesses,
8063
8069
  Ch as initializeProjectAttachments,
8064
8070
  Zh as initializeProjectFiles,
8065
8071
  rp as initializeProjects,
@@ -8068,7 +8074,7 @@ export {
8068
8074
  mh as initializeUsers,
8069
8075
  Om as isToday,
8070
8076
  Qu as issueAssociationReducer,
8071
- zn as issueAssociationSlice,
8077
+ Un as issueAssociationSlice,
8072
8078
  cl as issueAttachmentReducer,
8073
8079
  Vn as issueAttachmentSlice,
8074
8080
  Al as issueCommentAttachmentReducer,
@@ -8126,7 +8132,7 @@ export {
8126
8132
  my as selectAccessToken,
8127
8133
  QS as selectAccessesByUserOfProject,
8128
8134
  Ag as selectAccessibleProjects,
8129
- zS as selectActiveOrganizationAccess,
8135
+ US as selectActiveOrganizationAccess,
8130
8136
  og as selectActiveProjectFileId,
8131
8137
  Ld as selectAllDocumentAttachments,
8132
8138
  Wh as selectAllProjectAttachments,
@@ -8142,7 +8148,7 @@ export {
8142
8148
  SA as selectAssetProcedureFieldValuesAttachmentById,
8143
8149
  Br as selectAssetProcedureFieldValuesAttachments,
8144
8150
  Lr as selectAssetProcedureFieldValuesAttachmentsByIds,
8145
- za as selectAssetProcedureFieldValuesAttachmentsMapping,
8151
+ Ua as selectAssetProcedureFieldValuesAttachmentsMapping,
8146
8152
  os as selectAssetProcedureFieldValuesById,
8147
8153
  Zr as selectAssetProcedureFieldValuesMapping,
8148
8154
  PA as selectAssetProcedureFieldValuesOfAsset,
@@ -8185,7 +8191,7 @@ export {
8185
8191
  no as selectAssetProcedures,
8186
8192
  jA as selectAssetProceduresByIds,
8187
8193
  Ba as selectAssetProceduresMapping,
8188
- UA as selectAssetProceduresOfOrganization,
8194
+ zA as selectAssetProceduresOfOrganization,
8189
8195
  Gs as selectAssetStageById,
8190
8196
  $o as selectAssetStageCompletionById,
8191
8197
  an as selectAssetStageCompletionMapping,
@@ -8220,7 +8226,7 @@ export {
8220
8226
  fn as selectAssetTypesMapping,
8221
8227
  ly as selectAssetTypesOfOrganization,
8222
8228
  jo as selectAssets,
8223
- Uo as selectAssetsByIds,
8229
+ zo as selectAssetsByIds,
8224
8230
  en as selectAssetsMapping,
8225
8231
  tn as selectAssetsOfAssetType,
8226
8232
  fr as selectAttachmentsOfAsset,
@@ -8237,11 +8243,11 @@ export {
8237
8243
  wu as selectAttachmentsOfFormSubmission,
8238
8244
  al as selectAttachmentsOfIssue,
8239
8245
  gb as selectAttachmentsOfIssueComment,
8240
- Ub as selectAttachmentsOfIssueType,
8246
+ zb as selectAttachmentsOfIssueType,
8241
8247
  Ql as selectAttachmentsOfIssueTypeFieldValues,
8242
8248
  $b as selectAttachmentsOfIssueTypeFields,
8243
8249
  Yh as selectAttachmentsOfProject,
8244
- Ud as selectCategories,
8250
+ zd as selectCategories,
8245
8251
  _y as selectCategoriesByIds,
8246
8252
  Py as selectCategoriesOfProject,
8247
8253
  ai as selectCategoryById,
@@ -8260,7 +8266,7 @@ export {
8260
8266
  Gt as selectDocumentsMapping,
8261
8267
  tu as selectEmailDomains,
8262
8268
  eu as selectEmailDomainsAsMapping,
8263
- zy as selectEmailDomainsOfOrganization,
8269
+ Uy as selectEmailDomainsOfOrganization,
8264
8270
  TA as selectFieldValuesOfAssetProcedureInstance,
8265
8271
  Ou as selectFormById,
8266
8272
  Tu as selectFormMapping,
@@ -8274,7 +8280,7 @@ export {
8274
8280
  Si as selectFormSubmissionById,
8275
8281
  jn as selectFormSubmissions,
8276
8282
  Mn as selectFormSubmissionsMapping,
8277
- Uu as selectFormSubmissionsOfAsset,
8283
+ zu as selectFormSubmissionsOfAsset,
8278
8284
  Mu as selectFormSubmissionsOfForm,
8279
8285
  ju as selectFormSubmissionsOfIssue,
8280
8286
  Fu as selectForms,
@@ -8316,7 +8322,7 @@ export {
8316
8322
  Ht as selectIssueTypeFields,
8317
8323
  Gb as selectIssueTypeFieldsAttachmentById,
8318
8324
  Dl as selectIssueTypeFieldsAttachments,
8319
- zl as selectIssueTypeFieldsAttachmentsMapping,
8325
+ Ul as selectIssueTypeFieldsAttachmentsMapping,
8320
8326
  iS as selectIssueTypeFieldsById,
8321
8327
  Hl as selectIssueTypeFieldsMapping,
8322
8328
  eS as selectIssueTypeFieldsOfIssueType,
@@ -8419,8 +8425,8 @@ export {
8419
8425
  Zf as setAssetTypeFieldValuesAttachments,
8420
8426
  sy as setAssetTypeFieldValuesMany,
8421
8427
  Gf as setAssetTypeFields,
8422
- Uf as setAssetTypeFieldsAttachment,
8423
- zf as setAssetTypeFieldsAttachments,
8428
+ zf as setAssetTypeFieldsAttachment,
8429
+ Uf as setAssetTypeFieldsAttachments,
8424
8430
  Bf as setAssetTypeFieldsMany,
8425
8431
  cy as setAssetTypes,
8426
8432
  Sf as setAssets,
@@ -8495,7 +8501,7 @@ export {
8495
8501
  TS as setUser,
8496
8502
  PS as setUsers,
8497
8503
  Tm as shallowEqual,
8498
- Um as slugify,
8504
+ zm as slugify,
8499
8505
  jm as spacesToDashesLower,
8500
8506
  fp as teamMembershipReducer,
8501
8507
  fc as teamMembershipSlice,
@@ -8503,7 +8509,7 @@ export {
8503
8509
  bc as teamSlice,
8504
8510
  Mm as toFileNameSafeString,
8505
8511
  ir as toOfflineIdRecord,
8506
- zm as truncate,
8512
+ Um as truncate,
8507
8513
  tt as updateAsset,
8508
8514
  Km as updateAssetAttachment,
8509
8515
  lr as updateAssetAttachments,