@overmap-ai/core 1.0.78-workflows-2.6 → 1.0.78-workflows-2.9
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 +1035 -968
- package/dist/overmap-core.umd.cjs +6 -6
- package/dist/store/slices/workflowStepFieldValuesReviewRequestSlice.d.ts +1 -0
- package/dist/store/slices/workflowStepFieldValuesReviewSlice.d.ts +3 -1
- package/dist/store/slices/workflowStepFieldValuesSlice.d.ts +1 -0
- package/package.json +1 -1
package/dist/overmap-core.js
CHANGED
|
@@ -2,16 +2,16 @@ var Ic = Object.defineProperty;
|
|
|
2
2
|
var bc = (t, s, e) => s in t ? Ic(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
|
|
3
3
|
var h = (t, s, e) => bc(t, typeof s != "symbol" ? s + "" : s, e);
|
|
4
4
|
import "@redux-offline/redux-offline/lib/types";
|
|
5
|
-
import { createAction as
|
|
6
|
-
import
|
|
5
|
+
import { createAction as Ht, createSelector as p, createSlice as T, isAnyOf as g, combineReducers as Yi, compose as gc } from "@reduxjs/toolkit";
|
|
6
|
+
import yt from "superagent";
|
|
7
7
|
import { v4 as ut } from "uuid";
|
|
8
8
|
import { useMemo as kc } from "react";
|
|
9
9
|
import { saveAs as Pc } from "file-saver";
|
|
10
10
|
import Qi from "fast-tree-builder";
|
|
11
|
-
import { Tree as
|
|
12
|
-
import { offline as
|
|
11
|
+
import { Tree as Rt } from "ts-tree-lib";
|
|
12
|
+
import { offline as Fc } from "@redux-offline/redux-offline";
|
|
13
13
|
import Os from "@redux-offline/redux-offline/lib/defaults";
|
|
14
|
-
import
|
|
14
|
+
import Mc from "localforage";
|
|
15
15
|
import Rc from "redux-persist-migrate";
|
|
16
16
|
import "buffer";
|
|
17
17
|
import "@overmap-ai/forms";
|
|
@@ -20,12 +20,12 @@ import vc from "jwt-decode";
|
|
|
20
20
|
import { DepGraph as Bc } from "dependency-graph";
|
|
21
21
|
import "@tiptap/core";
|
|
22
22
|
const Vc = Object.freeze([]), zc = Object.freeze({});
|
|
23
|
-
var qc = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(qc || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), Dc = /* @__PURE__ */ ((t) => (t[t.PLANNED = 0] = "PLANNED", t[t.ACTIVE = 1] = "ACTIVE", t[t.MAINTENANCE = 2] = "MAINTENANCE", t[t.INACTIVE = 3] = "INACTIVE", t[t.RETIRED = 4] = "RETIRED", t[t.DISPOSED = 5] = "DISPOSED", t))(Dc || {}), $c = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))($c || {}), Ji = /* @__PURE__ */ ((t) => (t[t.LOWEST = 0] = "LOWEST", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 6] = "HIGH", t[t.HIGHEST = 8] = "HIGHEST", t))(Ji || {}), W = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(W || {}), jc = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.PLANNED = 1] = "PLANNED", t[t.IN_PROGRESS = 2] = "IN_PROGRESS", t[t.COMPLETED = 3] = "COMPLETED", t[t.CANCELLED = 4] = "CANCELLED", t))(jc || {}), xc = /* @__PURE__ */ ((t) => (t[t.ADD_ASSIGNEE = 0] = "ADD_ASSIGNEE", t[t.REMOVE_ASSIGNEE = 2] = "REMOVE_ASSIGNEE", t[t.ADD_REVIEWER = 4] = "ADD_REVIEWER", t[t.REMOVE_REVIEWER = 6] = "REMOVE_REVIEWER", t[t.ADD_REVIEW_REQUEST = 8] = "ADD_REVIEW_REQUEST", t[t.REMOVE_REVIEW_REQUEST = 10] = "REMOVE_REVIEW_REQUEST", t))(xc || {}),
|
|
23
|
+
var qc = /* @__PURE__ */ ((t) => (t[t.GUEST = 0] = "GUEST", t[t.BASIC = 2] = "BASIC", t[t.ADMIN = 4] = "ADMIN", t))(qc || {}), u = /* @__PURE__ */ ((t) => (t.GET = "GET", t.POST = "POST", t.PATCH = "PATCH", t.PUT = "PUT", t.DELETE = "DELETE", t))(u || {}), Dc = /* @__PURE__ */ ((t) => (t[t.PLANNED = 0] = "PLANNED", t[t.ACTIVE = 1] = "ACTIVE", t[t.MAINTENANCE = 2] = "MAINTENANCE", t[t.INACTIVE = 3] = "INACTIVE", t[t.RETIRED = 4] = "RETIRED", t[t.DISPOSED = 5] = "DISPOSED", t))(Dc || {}), $c = /* @__PURE__ */ ((t) => (t.Issue = "issue", t.Asset = "asset", t.AssetType = "asset_type", t.Project = "project", t.Document = "document", t))($c || {}), Ji = /* @__PURE__ */ ((t) => (t[t.LOWEST = 0] = "LOWEST", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 6] = "HIGH", t[t.HIGHEST = 8] = "HIGHEST", t))(Ji || {}), W = /* @__PURE__ */ ((t) => (t.STATUS = "status", t.PRIORITY = "priority", t.DESCRIPTION = "description", t.TITLE = "title", t.ASSIGNED_TO = "assigned_to", t.DUE_DATE = "due_date", t))(W || {}), jc = /* @__PURE__ */ ((t) => (t[t.BACKLOG = 0] = "BACKLOG", t[t.PLANNED = 1] = "PLANNED", t[t.IN_PROGRESS = 2] = "IN_PROGRESS", t[t.COMPLETED = 3] = "COMPLETED", t[t.CANCELLED = 4] = "CANCELLED", t))(jc || {}), xc = /* @__PURE__ */ ((t) => (t[t.ADD_ASSIGNEE = 0] = "ADD_ASSIGNEE", t[t.REMOVE_ASSIGNEE = 2] = "REMOVE_ASSIGNEE", t[t.ADD_REVIEWER = 4] = "ADD_REVIEWER", t[t.REMOVE_REVIEWER = 6] = "REMOVE_REVIEWER", t[t.ADD_REVIEW_REQUEST = 8] = "ADD_REVIEW_REQUEST", t[t.REMOVE_REVIEW_REQUEST = 10] = "REMOVE_REVIEW_REQUEST", t))(xc || {}), Ft = /* @__PURE__ */ ((t) => (t[t.ACTIVE = 0] = "ACTIVE", t[t.COMPLETED = 2] = "COMPLETED", t[t.CANCELLED = 4] = "CANCELLED", t))(Ft || {}), Mt = /* @__PURE__ */ ((t) => (t[t.APPROVED = 0] = "APPROVED", t[t.REJECTED = 2] = "REJECTED", t[t.CHANGES_REQUESTED = 4] = "CHANGES_REQUESTED", t))(Mt || {});
|
|
24
24
|
const Ik = Ji.MEDIUM, Wc = 6e4, bk = [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
], gk = [
|
|
25
|
+
Mt.APPROVED,
|
|
26
|
+
Mt.REJECTED,
|
|
27
|
+
Mt.CHANGES_REQUESTED
|
|
28
|
+
], gk = [Ft.ACTIVE, Ft.COMPLETED, Ft.CANCELLED];
|
|
29
29
|
function I(t) {
|
|
30
30
|
return {
|
|
31
31
|
addOne: (l, m) => {
|
|
@@ -116,7 +116,7 @@ function kk() {
|
|
|
116
116
|
})
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const Et = "versioning", O = Ht("RESET"), z = Ht("RESET_PROJECT_STATE"), b = Ht("RESET_ORGANIZATION_STATE");
|
|
120
120
|
function Pk(t, s) {
|
|
121
121
|
return kc(t, s);
|
|
122
122
|
}
|
|
@@ -155,10 +155,10 @@ class Ts {
|
|
|
155
155
|
throw new Error("`finally` not implemented");
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
let
|
|
158
|
+
let Nt = !1;
|
|
159
159
|
const Cc = "";
|
|
160
|
-
["true", "1"].includes(Cc.toLowerCase()) && (
|
|
161
|
-
function
|
|
160
|
+
["true", "1"].includes(Cc.toLowerCase()) && (Nt = !0);
|
|
161
|
+
function Fk(t, s) {
|
|
162
162
|
if (t === s) return !0;
|
|
163
163
|
if (typeof t != typeof s)
|
|
164
164
|
return !1;
|
|
@@ -175,27 +175,27 @@ function Zi(t) {
|
|
|
175
175
|
const s = {};
|
|
176
176
|
return function() {
|
|
177
177
|
const e = Array.prototype.slice.call(arguments);
|
|
178
|
-
return e in s ? (
|
|
178
|
+
return e in s ? (Nt && console.debug(`Memoization debug: Using memorized return value for ${t.toString()}(`, e, ")"), s[e]) : (Nt && console.debug(`Memoization debug: Cache miss! Memoizing ${t.toString()}(`, e, ")"), s[e] = t.apply(this, e));
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Mk(t, s) {
|
|
182
182
|
if (t.length !== s.length) return !1;
|
|
183
183
|
for (let e = 0; e < t.length; e++)
|
|
184
184
|
if (t[e] !== s[e]) return !1;
|
|
185
185
|
return !0;
|
|
186
186
|
}
|
|
187
|
-
const S = (t) => t.length === 0 ? Vc : t,
|
|
187
|
+
const S = (t) => t.length === 0 ? Vc : t, Gt = (t) => Object.keys(t).length === 0 ? zc : t, Uc = Zi((t) => {
|
|
188
188
|
if (!t) return "";
|
|
189
|
-
const s = new Date(t), e = s.getFullYear() ===
|
|
189
|
+
const s = new Date(t), e = s.getFullYear() === Kt.getFullYear(), i = { day: "numeric", month: "short" };
|
|
190
190
|
return e || (i.year = "numeric"), s.toLocaleDateString([], i);
|
|
191
|
-
}), Lc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Nc = 1e3 * 86400,
|
|
192
|
-
const i = Math.round((new Date(t).getTime() -
|
|
191
|
+
}), Lc = new Intl.RelativeTimeFormat([], { style: "long", numeric: "auto" }), Nc = 1e3 * 86400, Kt = /* @__PURE__ */ new Date(), Rk = (t) => new Date(t).toDateString() === Kt.toDateString(), Ek = Zi((t, s, e) => {
|
|
192
|
+
const i = Math.round((new Date(t).getTime() - Kt.getTime()) / Nc);
|
|
193
193
|
return i < s || i > e ? Uc(t) : Lc.format(i, "days");
|
|
194
194
|
});
|
|
195
195
|
function Hc(t) {
|
|
196
196
|
return new Uint8Array(t).reduce((e, i) => e + i.toString(16).padStart(2, "0"), "");
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ct(t) {
|
|
199
199
|
return new Promise((s, e) => {
|
|
200
200
|
const i = new FileReader();
|
|
201
201
|
i.onload = () => {
|
|
@@ -260,11 +260,11 @@ function Dk(t) {
|
|
|
260
260
|
function V(t) {
|
|
261
261
|
return t.map(({ uuid: s }) => s);
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Yt(t, s) {
|
|
264
264
|
return t.localeCompare(s);
|
|
265
265
|
}
|
|
266
266
|
function Xi(t, s) {
|
|
267
|
-
return
|
|
267
|
+
return Yt(t.uuid, s.uuid);
|
|
268
268
|
}
|
|
269
269
|
function $k(t, s = void 0, e = 255) {
|
|
270
270
|
let i = t.replace(/[^a-z0-9_\-.]/gi, "_").replace(/_{2,}/g, "_");
|
|
@@ -289,7 +289,7 @@ function Wk(t, s) {
|
|
|
289
289
|
return e.slice(0, e.lastIndexOf(" ")) + "…";
|
|
290
290
|
}
|
|
291
291
|
const Ck = /^.+@.+\..+$/;
|
|
292
|
-
function
|
|
292
|
+
function M(t) {
|
|
293
293
|
const s = { ...t };
|
|
294
294
|
for (const e of [...Jc, "created_by"])
|
|
295
295
|
e in s && delete s[e];
|
|
@@ -305,12 +305,12 @@ const en = (t) => {
|
|
|
305
305
|
});
|
|
306
306
|
}, Uk = (t) => {
|
|
307
307
|
const { roots: s } = en(t);
|
|
308
|
-
return s.map((e) => new
|
|
308
|
+
return s.map((e) => new Rt(e));
|
|
309
309
|
}, Zc = (t, s) => {
|
|
310
310
|
const { nodes: e } = en(s), i = e.get(t);
|
|
311
311
|
if (!i)
|
|
312
312
|
throw new Error(`Node with uuid ${t} does not exist in asset procedure step tree.`);
|
|
313
|
-
return new
|
|
313
|
+
return new Rt(i);
|
|
314
314
|
}, Xc = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, eo = (t, s) => t.type !== s.type ? t.type - s.type : t.order - s.order, tn = (t) => Qi(t, {
|
|
315
315
|
id: (s) => s.uuid,
|
|
316
316
|
parentId: (s) => s.parent_document,
|
|
@@ -318,12 +318,12 @@ const en = (t) => {
|
|
|
318
318
|
valueKey: !1
|
|
319
319
|
}), Lk = (t) => {
|
|
320
320
|
const { roots: s } = tn(t);
|
|
321
|
-
return s.map((e) => new
|
|
321
|
+
return s.map((e) => new Rt(e));
|
|
322
322
|
}, to = (t, s) => {
|
|
323
323
|
const { nodes: e } = tn(s), i = e.get(t);
|
|
324
324
|
if (!i)
|
|
325
325
|
throw new Error(`Node with uuid ${t} does not exist in document tree.`);
|
|
326
|
-
return new
|
|
326
|
+
return new Rt(i);
|
|
327
327
|
};
|
|
328
328
|
class Nk {
|
|
329
329
|
constructor(s) {
|
|
@@ -484,8 +484,8 @@ const f = (
|
|
|
484
484
|
updateAssetProcedureTypeAttachment: go,
|
|
485
485
|
updateAssetProcedureTypeAttachments: ko,
|
|
486
486
|
deleteAssetProcedureTypeAttachment: Po,
|
|
487
|
-
deleteAssetProcedureTypeAttachments:
|
|
488
|
-
} = dn.actions,
|
|
487
|
+
deleteAssetProcedureTypeAttachments: Fo
|
|
488
|
+
} = dn.actions, Mo = dn.reducer, Ro = (t) => t.assetProcedureTypeAttachmentReducer.instances, un = p([Ro], (t) => Object.values(t)), Eo = (t) => (s) => s.assetProcedureTypeAttachmentReducer.instances[t], vo = f(
|
|
489
489
|
p(
|
|
490
490
|
[un, (t, s) => s],
|
|
491
491
|
(t, s) => {
|
|
@@ -574,35 +574,35 @@ const f = (
|
|
|
574
574
|
updateAssetProcedureTypeFieldsMany: Zo,
|
|
575
575
|
deleteAssetProcedureTypeFields: Xo,
|
|
576
576
|
deleteAssetProcedureTypeFieldsMany: ed
|
|
577
|
-
} = pn.actions, td = pn.reducer, sd = (t) => t.assetProcedureTypeFieldsReducer.instances,
|
|
577
|
+
} = pn.actions, td = pn.reducer, sd = (t) => t.assetProcedureTypeFieldsReducer.instances, Qt = p(
|
|
578
578
|
[sd],
|
|
579
579
|
(t) => Object.values(t)
|
|
580
580
|
), tP = f(
|
|
581
581
|
p(
|
|
582
|
-
[
|
|
582
|
+
[Qt, (t, s) => s],
|
|
583
583
|
(t, s) => S(t.filter((e) => e.asset_procedure_type === s))
|
|
584
584
|
)
|
|
585
585
|
), sP = f(
|
|
586
586
|
p(
|
|
587
|
-
[
|
|
587
|
+
[Qt, (t, s) => s],
|
|
588
588
|
(t, s) => t.filter((e) => e.asset_procedure_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0]
|
|
589
589
|
)
|
|
590
590
|
), id = (t) => (s) => s.assetProcedureTypeFieldsReducer.instances[t], nd = f(
|
|
591
591
|
p(
|
|
592
|
-
[
|
|
592
|
+
[Qt, (t, s) => s],
|
|
593
593
|
(t, s) => {
|
|
594
594
|
const e = new Set(s);
|
|
595
595
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
596
596
|
}
|
|
597
597
|
)
|
|
598
|
-
), Y = I(({ uuid: t }) => t),
|
|
598
|
+
), Y = I(({ uuid: t }) => t), Fs = {
|
|
599
599
|
instances: {}
|
|
600
600
|
}, mn = T({
|
|
601
601
|
name: "assetProcedureTypeFieldValuesAttachments",
|
|
602
|
-
initialState:
|
|
602
|
+
initialState: Fs,
|
|
603
603
|
extraReducers: (t) => t.addMatcher(
|
|
604
604
|
g(O, z, b),
|
|
605
|
-
(s) => Object.assign(s,
|
|
605
|
+
(s) => Object.assign(s, Fs)
|
|
606
606
|
),
|
|
607
607
|
reducers: {
|
|
608
608
|
initializeAssetProcedureTypeFieldValuesAttachments: Y.initialize,
|
|
@@ -644,14 +644,14 @@ const f = (
|
|
|
644
644
|
[Sn, (t, s) => s],
|
|
645
645
|
(t, s) => S(t.filter((e) => e.field_values === s))
|
|
646
646
|
)
|
|
647
|
-
), Q = I(({ uuid: t }) => t),
|
|
647
|
+
), Q = I(({ uuid: t }) => t), Ms = {
|
|
648
648
|
instances: {}
|
|
649
649
|
}, An = T({
|
|
650
650
|
name: "assetProcedureTypeFieldValues",
|
|
651
|
-
initialState:
|
|
651
|
+
initialState: Ms,
|
|
652
652
|
extraReducers: (t) => t.addMatcher(
|
|
653
653
|
g(O, z, b),
|
|
654
|
-
(s) => Object.assign(s,
|
|
654
|
+
(s) => Object.assign(s, Ms)
|
|
655
655
|
),
|
|
656
656
|
reducers: {
|
|
657
657
|
initializeAssetProcedureTypeFieldValues: Q.initialize,
|
|
@@ -674,22 +674,22 @@ const f = (
|
|
|
674
674
|
updateAssetProcedureTypeFieldValuesMany: Id,
|
|
675
675
|
deleteAssetProcedureTypeFieldValues: bd,
|
|
676
676
|
deleteAssetProcedureTypeFieldValuesMany: gd
|
|
677
|
-
} = An.actions, kd = An.reducer, Pd = (t) => t.assetProcedureTypeFieldValuesReducer.instances,
|
|
677
|
+
} = An.actions, kd = An.reducer, Pd = (t) => t.assetProcedureTypeFieldValuesReducer.instances, Jt = p(
|
|
678
678
|
[Pd],
|
|
679
679
|
(t) => Object.values(t)
|
|
680
680
|
), iP = f(
|
|
681
681
|
p(
|
|
682
|
-
[
|
|
682
|
+
[Jt, (t, s) => s],
|
|
683
683
|
(t, s) => S(t.filter((e) => e.asset === s))
|
|
684
684
|
)
|
|
685
685
|
), nP = f(
|
|
686
686
|
p(
|
|
687
|
-
[
|
|
687
|
+
[Jt, (t, s) => s],
|
|
688
688
|
(t, s) => S(t.filter((e) => e.asset_procedure === s))
|
|
689
689
|
)
|
|
690
|
-
),
|
|
690
|
+
), Fd = (t) => (s) => s.assetProcedureTypeFieldValuesReducer.instances[t], Md = f(
|
|
691
691
|
p(
|
|
692
|
-
[
|
|
692
|
+
[Jt, (t, s) => s],
|
|
693
693
|
(t, s) => {
|
|
694
694
|
const e = new Set(s);
|
|
695
695
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -727,17 +727,17 @@ const f = (
|
|
|
727
727
|
deleteAssetProcedures: Tn,
|
|
728
728
|
setAssetProcedure: zd,
|
|
729
729
|
setAssetProcedures: qd
|
|
730
|
-
} = wn.actions, Dd = wn.reducer, $d = (t) => t.assetProcedureReducer.instances,
|
|
730
|
+
} = wn.actions, Dd = wn.reducer, $d = (t) => t.assetProcedureReducer.instances, Zt = p([$d], (t) => Object.values(t)), jd = f(
|
|
731
731
|
p(
|
|
732
|
-
[
|
|
732
|
+
[Zt, (t, s) => s],
|
|
733
733
|
(t, s) => S(
|
|
734
734
|
t.filter((e) => e.asset_procedure_type === s)
|
|
735
735
|
)
|
|
736
736
|
)
|
|
737
737
|
), aP = f(
|
|
738
|
-
p([
|
|
738
|
+
p([Zt, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
|
|
739
739
|
), xd = (t) => (s) => s.assetProcedureReducer.instances[t], Wd = f(
|
|
740
|
-
p([
|
|
740
|
+
p([Zt, (t, s) => s], (t, s) => {
|
|
741
741
|
const e = new Set(s);
|
|
742
742
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
743
743
|
})
|
|
@@ -863,17 +863,17 @@ const f = (
|
|
|
863
863
|
updateAssetProcedureStepFieldsMany: Ou,
|
|
864
864
|
deleteAssetProcedureStepFields: Tu,
|
|
865
865
|
deleteAssetProcedureStepFieldsMany: _u
|
|
866
|
-
} = kn.actions, Pn = (t) => t.assetProcedureStepFieldsReducer.instances,
|
|
866
|
+
} = kn.actions, Pn = (t) => t.assetProcedureStepFieldsReducer.instances, Xt = p(
|
|
867
867
|
[Pn],
|
|
868
868
|
(t) => Object.values(t)
|
|
869
869
|
), oP = f(
|
|
870
870
|
p(
|
|
871
|
-
[
|
|
871
|
+
[Xt, (t, s) => s],
|
|
872
872
|
(t, s) => S(t.filter((e) => e.asset_procedure_step === s))
|
|
873
873
|
)
|
|
874
874
|
), dP = f(
|
|
875
875
|
p(
|
|
876
|
-
[
|
|
876
|
+
[Xt, (t, s) => s],
|
|
877
877
|
(t, s) => t.filter((e) => e.asset_procedure_step === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0]
|
|
878
878
|
)
|
|
879
879
|
), uP = p(
|
|
@@ -888,7 +888,7 @@ const f = (
|
|
|
888
888
|
}
|
|
889
889
|
), Iu = (t) => (s) => s.assetProcedureStepFieldsReducer.instances[t], bu = f(
|
|
890
890
|
p(
|
|
891
|
-
[
|
|
891
|
+
[Xt, (t, s) => s],
|
|
892
892
|
(t, s) => {
|
|
893
893
|
const e = new Set(s);
|
|
894
894
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -896,7 +896,7 @@ const f = (
|
|
|
896
896
|
)
|
|
897
897
|
), gu = kn.reducer, te = I((t) => t.uuid), Vs = {
|
|
898
898
|
instances: {}
|
|
899
|
-
},
|
|
899
|
+
}, Fn = T({
|
|
900
900
|
name: "assetProcedureStepFieldValuesAttachments",
|
|
901
901
|
initialState: Vs,
|
|
902
902
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -917,14 +917,14 @@ const f = (
|
|
|
917
917
|
}), {
|
|
918
918
|
initializeAssetProcedureStepFieldValuesAttachments: ku,
|
|
919
919
|
addAssetProcedureStepFieldValuesAttachment: Pu,
|
|
920
|
-
addAssetProcedureStepFieldValuesAttachments:
|
|
921
|
-
setAssetProcedureStepFieldValuesAttachment:
|
|
922
|
-
setAssetProcedureStepFieldValuesAttachments:
|
|
920
|
+
addAssetProcedureStepFieldValuesAttachments: Mn,
|
|
921
|
+
setAssetProcedureStepFieldValuesAttachment: Fu,
|
|
922
|
+
setAssetProcedureStepFieldValuesAttachments: Mu,
|
|
923
923
|
updateAssetProcedureStepFieldValuesAttachment: Ru,
|
|
924
924
|
updateAssetProcedureStepFieldValuesAttachments: Eu,
|
|
925
925
|
deleteAssetProcedureStepFieldValuesAttachment: vu,
|
|
926
926
|
deleteAssetProcedureStepFieldValuesAttachments: Rn
|
|
927
|
-
} =
|
|
927
|
+
} = Fn.actions, Bu = (t) => t.assetProcedureStepFieldValuesAttachmentReducer.instances, En = p(
|
|
928
928
|
[Bu],
|
|
929
929
|
(t) => Object.values(t)
|
|
930
930
|
), Vu = (t) => (s) => s.assetProcedureStepFieldValuesAttachmentReducer.instances[t], zu = f(
|
|
@@ -943,7 +943,7 @@ const f = (
|
|
|
943
943
|
[En, (t, s) => s],
|
|
944
944
|
(t, s) => S(t.filter((e) => e.field_values === s))
|
|
945
945
|
)
|
|
946
|
-
), Du =
|
|
946
|
+
), Du = Fn.reducer, se = I((t) => t.uuid), zs = {
|
|
947
947
|
instances: {}
|
|
948
948
|
}, vn = T({
|
|
949
949
|
name: "assetProcedureStepFieldValues",
|
|
@@ -973,27 +973,27 @@ const f = (
|
|
|
973
973
|
updateAssetProcedureStepFieldValuesMany: Lu,
|
|
974
974
|
deleteAssetProcedureStepFieldValues: Nu,
|
|
975
975
|
deleteAssetProcedureStepFieldValuesMany: Hu
|
|
976
|
-
} = vn.actions, Gu = (t) => t.assetProcedureStepFieldValuesReducer.instances,
|
|
976
|
+
} = vn.actions, Gu = (t) => t.assetProcedureStepFieldValuesReducer.instances, vt = p(
|
|
977
977
|
[Gu],
|
|
978
978
|
(t) => Object.values(t)
|
|
979
979
|
), lP = f(
|
|
980
980
|
p(
|
|
981
|
-
[
|
|
981
|
+
[vt, (t, s) => s],
|
|
982
982
|
(t, s) => S(t.filter((e) => e.asset === s))
|
|
983
983
|
)
|
|
984
984
|
), hP = f(
|
|
985
985
|
p(
|
|
986
|
-
[
|
|
986
|
+
[vt, (t, s) => s],
|
|
987
987
|
(t, s) => S(t.filter((e) => e.asset_procedure === s))
|
|
988
988
|
)
|
|
989
989
|
), pP = f(
|
|
990
990
|
p(
|
|
991
|
-
[
|
|
991
|
+
[vt, (t, s) => s],
|
|
992
992
|
(t, s) => S(t.filter((e) => e.asset_procedure_step === s))
|
|
993
993
|
)
|
|
994
994
|
), Ku = (t) => (s) => s.assetProcedureStepFieldValuesReducer.instances[t], Yu = f(
|
|
995
995
|
p(
|
|
996
|
-
[
|
|
996
|
+
[vt, (t, s) => s],
|
|
997
997
|
(t, s) => {
|
|
998
998
|
const e = new Set(s);
|
|
999
999
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -1029,14 +1029,14 @@ const f = (
|
|
|
1029
1029
|
updateAssetProcedureSteps: il,
|
|
1030
1030
|
deleteAssetProcedureStep: nl,
|
|
1031
1031
|
deleteAssetProcedureSteps: al
|
|
1032
|
-
} = Bn.actions, rl = Bn.reducer,
|
|
1032
|
+
} = Bn.actions, rl = Bn.reducer, es = (t) => t.assetProcedureStepReducer.instances, cl = (t) => (s) => s.assetProcedureStepReducer.instances[t], Vn = p([es], (t) => Object.values(t)), mP = f(
|
|
1033
1033
|
p(
|
|
1034
|
-
[
|
|
1034
|
+
[es, (t, s) => s],
|
|
1035
1035
|
(t, s) => {
|
|
1036
1036
|
const e = {};
|
|
1037
1037
|
for (const [i, n] of Object.entries(t))
|
|
1038
1038
|
n.asset_procedure_type === s && (e[i] = n);
|
|
1039
|
-
return
|
|
1039
|
+
return Gt(e);
|
|
1040
1040
|
}
|
|
1041
1041
|
)
|
|
1042
1042
|
), yP = f(
|
|
@@ -1051,7 +1051,7 @@ const f = (
|
|
|
1051
1051
|
)
|
|
1052
1052
|
), dl = f(
|
|
1053
1053
|
p(
|
|
1054
|
-
[
|
|
1054
|
+
[es, (t, s) => s],
|
|
1055
1055
|
(t, s) => {
|
|
1056
1056
|
if (!t[s]) return S([]);
|
|
1057
1057
|
const n = Zc(s, Object.values(t)).all().map(({ model: a }) => a);
|
|
@@ -1088,12 +1088,12 @@ const f = (
|
|
|
1088
1088
|
deleteAssets: Dn,
|
|
1089
1089
|
setAsset: yl,
|
|
1090
1090
|
setAssets: fl
|
|
1091
|
-
} = zn.actions, Sl = (t) => t.assetReducer.instances,
|
|
1092
|
-
p([
|
|
1091
|
+
} = zn.actions, Sl = (t) => t.assetReducer.instances, ts = p([Sl], (t) => S(Object.values(t))), fP = f(
|
|
1092
|
+
p([ts, (t, s) => s], (t, s) => S(t.filter(({ project: e }) => e === s)))
|
|
1093
1093
|
), Al = f(
|
|
1094
|
-
p([
|
|
1094
|
+
p([ts, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
|
|
1095
1095
|
), wl = (t) => (s) => s.assetReducer.instances[t], Ol = f(
|
|
1096
|
-
p([
|
|
1096
|
+
p([ts, (t, s) => s], (t, s) => {
|
|
1097
1097
|
const e = new Set(s);
|
|
1098
1098
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
1099
1099
|
})
|
|
@@ -1124,8 +1124,8 @@ const f = (
|
|
|
1124
1124
|
setAssetStageCompletion: gl,
|
|
1125
1125
|
setAssetStageCompletions: kl,
|
|
1126
1126
|
updateAssetStageCompletion: Pl,
|
|
1127
|
-
updateAssetStageCompletions:
|
|
1128
|
-
deleteAssetStageCompletion:
|
|
1127
|
+
updateAssetStageCompletions: Fl,
|
|
1128
|
+
deleteAssetStageCompletion: Ml,
|
|
1129
1129
|
deleteAssetStageCompletions: Rl
|
|
1130
1130
|
} = $n.actions, El = $n.reducer, vl = (t) => t.assetStageCompletionReducer.instances, Bl = p(
|
|
1131
1131
|
[vl],
|
|
@@ -1175,7 +1175,7 @@ const f = (
|
|
|
1175
1175
|
const e = {};
|
|
1176
1176
|
for (const [i, n] of Object.entries(t))
|
|
1177
1177
|
n.asset_procedure_type === s && (e[i] = n);
|
|
1178
|
-
return
|
|
1178
|
+
return Gt(e);
|
|
1179
1179
|
})
|
|
1180
1180
|
), AP = f(
|
|
1181
1181
|
p([Wn, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_procedure_type === s)))
|
|
@@ -1303,12 +1303,12 @@ const f = (
|
|
|
1303
1303
|
updateAssetTypeFieldsMany: gh,
|
|
1304
1304
|
deleteAssetTypeFields: kh,
|
|
1305
1305
|
deleteAssetTypeFieldsMany: Ph
|
|
1306
|
-
} = Kn.actions,
|
|
1307
|
-
p([
|
|
1306
|
+
} = Kn.actions, Fh = (t) => t.assetTypeFieldsReducer.instances, Bt = p([Fh], (t) => Object.values(t)), OP = f(
|
|
1307
|
+
p([Bt, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
|
|
1308
1308
|
), TP = f(
|
|
1309
|
-
p([
|
|
1310
|
-
),
|
|
1311
|
-
p([
|
|
1309
|
+
p([Bt, (t, s) => s], (t, s) => t.filter((e) => e.asset_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1310
|
+
), Mh = (t) => (s) => s.assetTypeFieldsReducer.instances[t], Rh = f(
|
|
1311
|
+
p([Bt, (t, s) => s], (t, s) => {
|
|
1312
1312
|
const e = new Set(s);
|
|
1313
1313
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
1314
1314
|
})
|
|
@@ -1388,11 +1388,11 @@ const f = (
|
|
|
1388
1388
|
updateAssetTypeFieldValuesMany: Qh,
|
|
1389
1389
|
deleteAssetTypeFieldValues: Jh,
|
|
1390
1390
|
deleteAssetTypeFieldValuesMany: Zh
|
|
1391
|
-
} = Xn.actions, Xh = (t) => t.assetTypeFieldValuesReducer.instances,
|
|
1392
|
-
p([
|
|
1391
|
+
} = Xn.actions, Xh = (t) => t.assetTypeFieldValuesReducer.instances, ss = p([Xh], (t) => Object.values(t)), _P = f(
|
|
1392
|
+
p([ss, (t, s) => s], (t, s) => S(t.filter((e) => e.asset === s)))
|
|
1393
1393
|
), IP = f(
|
|
1394
1394
|
p(
|
|
1395
|
-
[
|
|
1395
|
+
[Bt, ss, (t, s) => s],
|
|
1396
1396
|
(t, s, e) => {
|
|
1397
1397
|
const i = new Set(
|
|
1398
1398
|
t.filter((n) => n.asset_type === e).map((n) => n.uuid)
|
|
@@ -1402,7 +1402,7 @@ const f = (
|
|
|
1402
1402
|
)
|
|
1403
1403
|
), ep = (t) => (s) => s.assetTypeFieldValuesReducer.instances[t], tp = f(
|
|
1404
1404
|
p(
|
|
1405
|
-
[
|
|
1405
|
+
[ss, (t, s) => s],
|
|
1406
1406
|
(t, s) => {
|
|
1407
1407
|
const e = new Set(s);
|
|
1408
1408
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -1481,27 +1481,27 @@ const f = (
|
|
|
1481
1481
|
updateAssetTypeIdentifierValues: _p,
|
|
1482
1482
|
deleteAssetTypeIdentifierValue: Ip,
|
|
1483
1483
|
deleteAssetTypeIdentifierValues: bp
|
|
1484
|
-
} = sa.actions, gp = (t) => t.assetTypeIdentifierValueReducer.instances,
|
|
1484
|
+
} = sa.actions, gp = (t) => t.assetTypeIdentifierValueReducer.instances, is = p(
|
|
1485
1485
|
[gp],
|
|
1486
1486
|
(t) => Object.values(t)
|
|
1487
1487
|
), kp = (t) => (s) => s.assetTypeIdentifierValueReducer.instances[t], Pp = f(
|
|
1488
1488
|
p(
|
|
1489
|
-
[
|
|
1489
|
+
[is, (t, s) => s],
|
|
1490
1490
|
(t, s) => {
|
|
1491
1491
|
const e = new Set(s);
|
|
1492
1492
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
1493
1493
|
}
|
|
1494
1494
|
)
|
|
1495
1495
|
), gP = f(
|
|
1496
|
-
p([
|
|
1496
|
+
p([is, (t, s) => s], (t, s) => S(t.filter((e) => e.asset === s)))
|
|
1497
1497
|
), kP = f(
|
|
1498
1498
|
p(
|
|
1499
|
-
[
|
|
1499
|
+
[is, (t, s) => s],
|
|
1500
1500
|
(t, s) => S(
|
|
1501
1501
|
t.filter((e) => e.asset_type_identifier === s)
|
|
1502
1502
|
)
|
|
1503
1503
|
)
|
|
1504
|
-
),
|
|
1504
|
+
), Fp = sa.reducer, me = I(
|
|
1505
1505
|
(t) => t.uuid
|
|
1506
1506
|
), Gs = {
|
|
1507
1507
|
instances: {}
|
|
@@ -1524,7 +1524,7 @@ const f = (
|
|
|
1524
1524
|
deleteAssetTypes: me.deleteMany
|
|
1525
1525
|
}
|
|
1526
1526
|
}), {
|
|
1527
|
-
initializeAssetTypes:
|
|
1527
|
+
initializeAssetTypes: Mp,
|
|
1528
1528
|
setAssetType: Rp,
|
|
1529
1529
|
setAssetTypes: Ep,
|
|
1530
1530
|
addAssetType: vp,
|
|
@@ -1578,13 +1578,13 @@ const f = (
|
|
|
1578
1578
|
const e = new Set(s);
|
|
1579
1579
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
1580
1580
|
})
|
|
1581
|
-
),
|
|
1581
|
+
), FP = f(
|
|
1582
1582
|
p([ra, (t, s) => s], (t, s) => S(t.filter((e) => e.asset_type === s)))
|
|
1583
1583
|
), em = aa.reducer, Ys = {
|
|
1584
1584
|
accessToken: "",
|
|
1585
1585
|
refreshToken: "",
|
|
1586
1586
|
isLoggedIn: !1
|
|
1587
|
-
},
|
|
1587
|
+
}, ns = T({
|
|
1588
1588
|
name: "auth",
|
|
1589
1589
|
initialState: Ys,
|
|
1590
1590
|
extraReducers: (t) => t.addCase(O, (s) => Object.assign(s, Ys)),
|
|
@@ -1596,10 +1596,10 @@ const f = (
|
|
|
1596
1596
|
t.accessToken = "", t.refreshToken = "";
|
|
1597
1597
|
},
|
|
1598
1598
|
setLoggedIn: (t, s) => {
|
|
1599
|
-
s.payload ||
|
|
1599
|
+
s.payload || ns.caseReducers.clearTokens(t), t.isLoggedIn = s.payload;
|
|
1600
1600
|
}
|
|
1601
1601
|
}
|
|
1602
|
-
}), { setTokens:
|
|
1602
|
+
}), { setTokens: MP, clearTokens: RP, setLoggedIn: tm } = ns.actions, EP = (t) => t.authReducer.accessToken, vP = (t) => t.authReducer.isLoggedIn, sm = ns.reducer, fe = I((t) => t.uuid), Qs = {
|
|
1603
1603
|
instances: {}
|
|
1604
1604
|
}, ca = T({
|
|
1605
1605
|
name: "documentAttachments",
|
|
@@ -1668,19 +1668,19 @@ const f = (
|
|
|
1668
1668
|
updateDocuments: _m,
|
|
1669
1669
|
deleteDocument: Im,
|
|
1670
1670
|
deleteDocuments: bm
|
|
1671
|
-
} = da.actions, gm = da.reducer, ua = (t) => t.documentsReducer.instances,
|
|
1671
|
+
} = da.actions, gm = da.reducer, ua = (t) => t.documentsReducer.instances, as = p(
|
|
1672
1672
|
[ua],
|
|
1673
1673
|
(t) => Object.values(t)
|
|
1674
1674
|
), km = (t) => (s) => s.documentsReducer.instances[t], Pm = f(
|
|
1675
|
-
p([
|
|
1675
|
+
p([as, (t, s) => s], (t, s) => {
|
|
1676
1676
|
const e = new Set(s);
|
|
1677
1677
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
1678
1678
|
})
|
|
1679
1679
|
), VP = f(
|
|
1680
|
-
p([
|
|
1680
|
+
p([as, (t, s) => s], (t, s) => t.filter((e) => e.project === s))
|
|
1681
1681
|
), zP = f(
|
|
1682
|
-
p([
|
|
1683
|
-
),
|
|
1682
|
+
p([as, (t, s) => s], (t, s) => t.filter((e) => e.organization === s))
|
|
1683
|
+
), Fm = f(
|
|
1684
1684
|
p([ua, (t, s) => s], (t, s) => {
|
|
1685
1685
|
if (!t[s]) return S([]);
|
|
1686
1686
|
const n = to(s, Object.values(t)).all().map(({ model: a }) => a);
|
|
@@ -1709,7 +1709,7 @@ const f = (
|
|
|
1709
1709
|
deleteEmailDomains: Ae.deleteMany
|
|
1710
1710
|
}
|
|
1711
1711
|
}), {
|
|
1712
|
-
initializeEmailDomains:
|
|
1712
|
+
initializeEmailDomains: Mm,
|
|
1713
1713
|
addEmailDomain: Rm,
|
|
1714
1714
|
addEmailDomains: Em,
|
|
1715
1715
|
setEmailDomain: vm,
|
|
@@ -1820,12 +1820,12 @@ const f = (
|
|
|
1820
1820
|
updateFormIdentifierValues: dy,
|
|
1821
1821
|
deleteFormIdentifierValue: uy,
|
|
1822
1822
|
deleteFormIdentifierValues: ly
|
|
1823
|
-
} = Sa.actions, hy = (t) => t.formIdentifierValueReducer.instances,
|
|
1823
|
+
} = Sa.actions, hy = (t) => t.formIdentifierValueReducer.instances, rs = p(
|
|
1824
1824
|
[hy],
|
|
1825
1825
|
(t) => Object.values(t)
|
|
1826
1826
|
), py = (t) => (s) => s.formIdentifierValueReducer.instances[t], my = f(
|
|
1827
1827
|
p(
|
|
1828
|
-
[
|
|
1828
|
+
[rs, (t, s) => s],
|
|
1829
1829
|
(t, s) => {
|
|
1830
1830
|
const e = new Set(s);
|
|
1831
1831
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -1833,14 +1833,14 @@ const f = (
|
|
|
1833
1833
|
)
|
|
1834
1834
|
), xP = f(
|
|
1835
1835
|
p(
|
|
1836
|
-
[
|
|
1836
|
+
[rs, (t, s) => s],
|
|
1837
1837
|
(t, s) => S(
|
|
1838
1838
|
t.filter((e) => e.form_submission === s)
|
|
1839
1839
|
)
|
|
1840
1840
|
)
|
|
1841
1841
|
), WP = f(
|
|
1842
1842
|
p(
|
|
1843
|
-
[
|
|
1843
|
+
[rs, (t, s) => s],
|
|
1844
1844
|
(t, s) => S(
|
|
1845
1845
|
t.filter((e) => e.form_identifier === s)
|
|
1846
1846
|
)
|
|
@@ -1875,12 +1875,12 @@ const f = (
|
|
|
1875
1875
|
updateFormRevisionAttachments: _y,
|
|
1876
1876
|
deleteFormRevisionAttachment: Iy,
|
|
1877
1877
|
deleteFormRevisionAttachments: by
|
|
1878
|
-
} = Aa.actions,
|
|
1879
|
-
[
|
|
1878
|
+
} = Aa.actions, cs = (t) => t.formRevisionAttachmentReducer.instances, gy = p(
|
|
1879
|
+
[cs],
|
|
1880
1880
|
(t) => Object.values(t)
|
|
1881
1881
|
), ky = f(
|
|
1882
1882
|
p(
|
|
1883
|
-
[
|
|
1883
|
+
[cs, (t, s) => s],
|
|
1884
1884
|
(t, s) => t[s]
|
|
1885
1885
|
)
|
|
1886
1886
|
), Py = f(
|
|
@@ -1892,10 +1892,10 @@ const f = (
|
|
|
1892
1892
|
}
|
|
1893
1893
|
)
|
|
1894
1894
|
), CP = f(
|
|
1895
|
-
p([
|
|
1895
|
+
p([cs, (t, s) => s], (t, s) => S(
|
|
1896
1896
|
Object.values(t).filter((e) => e.form_revision === s)
|
|
1897
1897
|
))
|
|
1898
|
-
),
|
|
1898
|
+
), Fy = Aa.reducer, _e = I(
|
|
1899
1899
|
(t) => t.uuid
|
|
1900
1900
|
), ii = {
|
|
1901
1901
|
instances: {}
|
|
@@ -1918,7 +1918,7 @@ const f = (
|
|
|
1918
1918
|
deleteFormRevisions: _e.deleteMany
|
|
1919
1919
|
}
|
|
1920
1920
|
}), {
|
|
1921
|
-
initializeFormRevisions:
|
|
1921
|
+
initializeFormRevisions: My,
|
|
1922
1922
|
addFormRevision: Oa,
|
|
1923
1923
|
addFormRevisions: Ta,
|
|
1924
1924
|
setFormRevision: Ry,
|
|
@@ -1927,19 +1927,19 @@ const f = (
|
|
|
1927
1927
|
updateFormRevisions: By,
|
|
1928
1928
|
deleteFormRevision: _a,
|
|
1929
1929
|
deleteFormRevisions: Ia
|
|
1930
|
-
} = wa.actions, ba = (t) => t.formRevisionReducer.instances,
|
|
1930
|
+
} = wa.actions, ba = (t) => t.formRevisionReducer.instances, os = p(
|
|
1931
1931
|
[ba],
|
|
1932
1932
|
(t) => Object.values(t)
|
|
1933
1933
|
), Vy = (t) => (s) => s.formRevisionReducer.instances[t], zy = f(
|
|
1934
|
-
p([
|
|
1934
|
+
p([os, (t, s) => s], (t, s) => {
|
|
1935
1935
|
const e = new Set(s);
|
|
1936
1936
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
1937
1937
|
})
|
|
1938
1938
|
), UP = f(
|
|
1939
|
-
p([
|
|
1939
|
+
p([os, (t, s) => s], (t, s) => t.filter((e) => e.form === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
1940
1940
|
), qy = f(
|
|
1941
1941
|
p(
|
|
1942
|
-
[
|
|
1942
|
+
[os, (t, s) => s],
|
|
1943
1943
|
(t, s) => S(t.filter((e) => e.form === s))
|
|
1944
1944
|
)
|
|
1945
1945
|
), Dy = wa.reducer, Ie = I((t) => t.uuid), ni = {
|
|
@@ -2002,13 +2002,13 @@ const f = (
|
|
|
2002
2002
|
}), {
|
|
2003
2003
|
initializeFormSubmissionAttachments: Jy,
|
|
2004
2004
|
addFormSubmissionAttachment: Zy,
|
|
2005
|
-
addFormSubmissionAttachments:
|
|
2005
|
+
addFormSubmissionAttachments: Fa,
|
|
2006
2006
|
setFormSubmissionAttachment: Xy,
|
|
2007
2007
|
setFormSubmissionAttachments: ef,
|
|
2008
2008
|
updateFormSubmissionAttachment: tf,
|
|
2009
2009
|
updateFormSubmissionAttachments: sf,
|
|
2010
2010
|
deleteFormSubmissionAttachment: nf,
|
|
2011
|
-
deleteFormSubmissionAttachments:
|
|
2011
|
+
deleteFormSubmissionAttachments: Ma
|
|
2012
2012
|
} = Pa.actions, Ra = (t) => t.formSubmissionAttachmentReducer.instances, Ea = p(
|
|
2013
2013
|
[Ra],
|
|
2014
2014
|
(t) => Object.values(t)
|
|
@@ -2116,8 +2116,8 @@ const f = (
|
|
|
2116
2116
|
addGeoImages: gf,
|
|
2117
2117
|
updateGeoImage: kf,
|
|
2118
2118
|
updateGeoImages: Pf,
|
|
2119
|
-
deleteGeoImage:
|
|
2120
|
-
deleteGeoImages:
|
|
2119
|
+
deleteGeoImage: Ff,
|
|
2120
|
+
deleteGeoImages: Mf
|
|
2121
2121
|
} = Da.actions, Rf = (t) => t.geoImageReducer.instances, $a = p([Rf], (t) => Object.values(t)), Ef = (t) => (s) => s.geoImageReducer.instances[t], vf = f(
|
|
2122
2122
|
p([$a, (t, s) => s], (t, s) => {
|
|
2123
2123
|
const e = new Set(s);
|
|
@@ -2152,19 +2152,19 @@ const f = (
|
|
|
2152
2152
|
updateIssueAssociation: Df,
|
|
2153
2153
|
updateIssueAssociations: $f,
|
|
2154
2154
|
addIssueAssociation: jf,
|
|
2155
|
-
addIssueAssociations:
|
|
2155
|
+
addIssueAssociations: ft,
|
|
2156
2156
|
deleteIssueAssociation: xf,
|
|
2157
|
-
deleteIssueAssociations:
|
|
2158
|
-
} = ja.actions, Wf = (t) => t.issueAssociationReducer.instances,
|
|
2159
|
-
p([
|
|
2157
|
+
deleteIssueAssociations: St
|
|
2158
|
+
} = ja.actions, Wf = (t) => t.issueAssociationReducer.instances, wt = p([Wf], (t) => Object.values(t)), Cf = (t) => (s) => s.issueAssociationReducer.instances[t], Uf = f(
|
|
2159
|
+
p([wt, (t, s) => s], (t, s) => {
|
|
2160
2160
|
const e = new Set(s);
|
|
2161
2161
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
2162
2162
|
})
|
|
2163
2163
|
), Lf = f(
|
|
2164
|
-
p([
|
|
2164
|
+
p([wt, (t, s) => s], (t, s) => S(t.filter(({ associated_issue: e }) => e === s)))
|
|
2165
2165
|
), Nf = f(
|
|
2166
2166
|
p(
|
|
2167
|
-
[
|
|
2167
|
+
[wt, (t, s) => s],
|
|
2168
2168
|
(t, s) => {
|
|
2169
2169
|
const e = new Set(s);
|
|
2170
2170
|
return S(
|
|
@@ -2174,17 +2174,17 @@ const f = (
|
|
|
2174
2174
|
)
|
|
2175
2175
|
), Hf = f(
|
|
2176
2176
|
p(
|
|
2177
|
-
[
|
|
2177
|
+
[wt, (t, s) => s],
|
|
2178
2178
|
(t, s) => {
|
|
2179
2179
|
const e = new Set(s);
|
|
2180
2180
|
return S(t.filter(({ issue: i }) => i && e.has(i)));
|
|
2181
2181
|
}
|
|
2182
2182
|
)
|
|
2183
2183
|
), Gf = f(
|
|
2184
|
-
p([
|
|
2184
|
+
p([wt, (t, s) => s], (t, s) => S(t.filter(({ issue: e }) => e === s)))
|
|
2185
2185
|
), Kf = f(
|
|
2186
|
-
p([
|
|
2187
|
-
), Yf = ja.reducer,
|
|
2186
|
+
p([wt, (t, s) => s], (t, s) => S(t.filter(({ asset: e }) => e === s)))
|
|
2187
|
+
), Yf = ja.reducer, Fe = I((t) => t.uuid), di = {
|
|
2188
2188
|
instances: {}
|
|
2189
2189
|
}, xa = T({
|
|
2190
2190
|
name: "issueAttachments",
|
|
@@ -2194,15 +2194,15 @@ const f = (
|
|
|
2194
2194
|
(s) => Object.assign(s, di)
|
|
2195
2195
|
),
|
|
2196
2196
|
reducers: {
|
|
2197
|
-
initializeIssueAttachments:
|
|
2198
|
-
addIssueAttachment:
|
|
2199
|
-
addIssueAttachments:
|
|
2200
|
-
setIssueAttachment:
|
|
2201
|
-
setIssueAttachments:
|
|
2202
|
-
updateIssueAttachment:
|
|
2203
|
-
updateIssueAttachments:
|
|
2204
|
-
deleteIssueAttachment:
|
|
2205
|
-
deleteIssueAttachments:
|
|
2197
|
+
initializeIssueAttachments: Fe.initialize,
|
|
2198
|
+
addIssueAttachment: Fe.addOne,
|
|
2199
|
+
addIssueAttachments: Fe.addMany,
|
|
2200
|
+
setIssueAttachment: Fe.setOne,
|
|
2201
|
+
setIssueAttachments: Fe.setMany,
|
|
2202
|
+
updateIssueAttachment: Fe.updateOne,
|
|
2203
|
+
updateIssueAttachments: Fe.updateMany,
|
|
2204
|
+
deleteIssueAttachment: Fe.deleteOne,
|
|
2205
|
+
deleteIssueAttachments: Fe.deleteMany
|
|
2206
2206
|
}
|
|
2207
2207
|
}), {
|
|
2208
2208
|
initializeIssueAttachments: Qf,
|
|
@@ -2227,7 +2227,7 @@ const f = (
|
|
|
2227
2227
|
const e = new Set(s);
|
|
2228
2228
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
2229
2229
|
})
|
|
2230
|
-
), cS = xa.reducer,
|
|
2230
|
+
), cS = xa.reducer, Me = I((t) => t.uuid), ui = {
|
|
2231
2231
|
instances: {}
|
|
2232
2232
|
}, La = T({
|
|
2233
2233
|
name: "issueCommentAttachments",
|
|
@@ -2237,15 +2237,15 @@ const f = (
|
|
|
2237
2237
|
(s) => Object.assign(s, ui)
|
|
2238
2238
|
),
|
|
2239
2239
|
reducers: {
|
|
2240
|
-
initializeIssueCommentAttachments:
|
|
2241
|
-
addIssueCommentAttachment:
|
|
2242
|
-
addIssueCommentAttachments:
|
|
2243
|
-
setIssueCommentAttachment:
|
|
2244
|
-
setIssueCommentAttachments:
|
|
2245
|
-
updateIssueCommentAttachment:
|
|
2246
|
-
updateIssueCommentAttachments:
|
|
2247
|
-
deleteIssueCommentAttachment:
|
|
2248
|
-
deleteIssueCommentAttachments:
|
|
2240
|
+
initializeIssueCommentAttachments: Me.initialize,
|
|
2241
|
+
addIssueCommentAttachment: Me.addOne,
|
|
2242
|
+
addIssueCommentAttachments: Me.addMany,
|
|
2243
|
+
setIssueCommentAttachment: Me.setOne,
|
|
2244
|
+
setIssueCommentAttachments: Me.setMany,
|
|
2245
|
+
updateIssueCommentAttachment: Me.updateOne,
|
|
2246
|
+
updateIssueCommentAttachments: Me.updateMany,
|
|
2247
|
+
deleteIssueCommentAttachment: Me.deleteOne,
|
|
2248
|
+
deleteIssueCommentAttachments: Me.deleteMany
|
|
2249
2249
|
}
|
|
2250
2250
|
}), {
|
|
2251
2251
|
initializeIssueCommentAttachments: oS,
|
|
@@ -2300,8 +2300,8 @@ const f = (
|
|
|
2300
2300
|
setIssueComments: gS,
|
|
2301
2301
|
updateIssueComment: kS,
|
|
2302
2302
|
updateIssueComments: PS,
|
|
2303
|
-
deleteIssueComment:
|
|
2304
|
-
deleteIssueComments:
|
|
2303
|
+
deleteIssueComment: FS,
|
|
2304
|
+
deleteIssueComments: MS
|
|
2305
2305
|
} = Ha.actions, Ga = (t) => t.issueCommentReducer.instances, RS = (t) => (s) => s.issueCommentReducer.instances[t], ES = f(
|
|
2306
2306
|
p([Ga, (t, s) => s], (t, s) => {
|
|
2307
2307
|
const e = new Set(s);
|
|
@@ -2344,18 +2344,18 @@ const f = (
|
|
|
2344
2344
|
updateIssues: $S,
|
|
2345
2345
|
deleteIssue: jS,
|
|
2346
2346
|
deleteIssues: Qa
|
|
2347
|
-
} = Ka.actions, xS = (t) => t.issueReducer.instances,
|
|
2347
|
+
} = Ka.actions, xS = (t) => t.issueReducer.instances, ds = p(
|
|
2348
2348
|
[xS],
|
|
2349
2349
|
(t) => Object.values(t)
|
|
2350
2350
|
), WS = (t) => (s) => s.issueReducer.instances[t], CS = f(
|
|
2351
|
-
p([
|
|
2351
|
+
p([ds, (t, s) => s], (t, s) => {
|
|
2352
2352
|
const e = new Set(s);
|
|
2353
2353
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
2354
2354
|
})
|
|
2355
2355
|
), KP = f(
|
|
2356
|
-
p([
|
|
2356
|
+
p([ds, (t, s) => s], (t, s) => t.filter((e) => e.project === s))
|
|
2357
2357
|
), US = f(
|
|
2358
|
-
p([
|
|
2358
|
+
p([ds, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s))
|
|
2359
2359
|
), LS = Ka.reducer, ve = I((t) => t.uuid), pi = {
|
|
2360
2360
|
instances: {}
|
|
2361
2361
|
}, Ja = T({
|
|
@@ -2475,17 +2475,17 @@ const f = (
|
|
|
2475
2475
|
updateIssueTypeFieldValuesMany: IA,
|
|
2476
2476
|
deleteIssueTypeFieldValues: bA,
|
|
2477
2477
|
deleteIssueTypeFieldValuesMany: gA
|
|
2478
|
-
} = tr.actions, kA = (t) => t.issueTypeFieldValuesReducer.instances,
|
|
2479
|
-
p([
|
|
2480
|
-
), PA = (t) => (s) => s.issueTypeFieldValuesReducer.instances[t],
|
|
2478
|
+
} = tr.actions, kA = (t) => t.issueTypeFieldValuesReducer.instances, us = p([kA], (t) => Object.values(t)), JP = f(
|
|
2479
|
+
p([us, (t, s) => s], (t, s) => S(t.filter((e) => e.issue === s)))
|
|
2480
|
+
), PA = (t) => (s) => s.issueTypeFieldValuesReducer.instances[t], FA = f(
|
|
2481
2481
|
p(
|
|
2482
|
-
[
|
|
2482
|
+
[us, (t, s) => s],
|
|
2483
2483
|
(t, s) => {
|
|
2484
2484
|
const e = new Set(s);
|
|
2485
2485
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
2486
2486
|
}
|
|
2487
2487
|
)
|
|
2488
|
-
),
|
|
2488
|
+
), MA = tr.reducer, ze = I((t) => t.uuid), fi = {
|
|
2489
2489
|
instances: {}
|
|
2490
2490
|
}, sr = T({
|
|
2491
2491
|
name: "issueTypeFields",
|
|
@@ -2515,13 +2515,13 @@ const f = (
|
|
|
2515
2515
|
updateIssueTypeFieldsMany: qA,
|
|
2516
2516
|
deleteIssueTypeFields: DA,
|
|
2517
2517
|
deleteIssueTypeFieldsMany: $A
|
|
2518
|
-
} = sr.actions, jA = (t) => t.issueTypeFieldsReducer.instances,
|
|
2519
|
-
p([
|
|
2518
|
+
} = sr.actions, jA = (t) => t.issueTypeFieldsReducer.instances, Vt = p([jA], (t) => Object.values(t)), ZP = f(
|
|
2519
|
+
p([Vt, (t, s) => s], (t, s) => S(t.filter((e) => e.issue_type === s)))
|
|
2520
2520
|
), XP = f(
|
|
2521
|
-
p([
|
|
2522
|
-
),
|
|
2521
|
+
p([Vt, (t, s) => s], (t, s) => t.filter((e) => e.issue_type === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
2522
|
+
), eF = f(
|
|
2523
2523
|
p(
|
|
2524
|
-
[
|
|
2524
|
+
[Vt, us, (t, s) => s],
|
|
2525
2525
|
(t, s, e) => {
|
|
2526
2526
|
const i = new Set(
|
|
2527
2527
|
t.filter((n) => n.issue_type === e).map((n) => n.uuid)
|
|
@@ -2530,7 +2530,7 @@ const f = (
|
|
|
2530
2530
|
}
|
|
2531
2531
|
)
|
|
2532
2532
|
), xA = (t) => (s) => s.issueTypeFieldsReducer.instances[t], WA = f(
|
|
2533
|
-
p([
|
|
2533
|
+
p([Vt, (t, s) => s], (t, s) => {
|
|
2534
2534
|
const e = new Set(s);
|
|
2535
2535
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
2536
2536
|
})
|
|
@@ -2621,7 +2621,7 @@ const f = (
|
|
|
2621
2621
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
2622
2622
|
}
|
|
2623
2623
|
)
|
|
2624
|
-
),
|
|
2624
|
+
), tF = f(
|
|
2625
2625
|
p([or, (t, s) => s], (t, s) => S(t.filter((e) => e.issue_type === s)))
|
|
2626
2626
|
), pw = cr.reducer, $e = I((t) => t.uuid), wi = {
|
|
2627
2627
|
instances: {}
|
|
@@ -2653,22 +2653,22 @@ const f = (
|
|
|
2653
2653
|
updateIssueTypeIdentifierValues: Ow,
|
|
2654
2654
|
deleteIssueTypeIdentifierValue: Tw,
|
|
2655
2655
|
deleteIssueTypeIdentifierValues: _w
|
|
2656
|
-
} = dr.actions, Iw = (t) => t.issueTypeIdentifierValueReducer.instances,
|
|
2656
|
+
} = dr.actions, Iw = (t) => t.issueTypeIdentifierValueReducer.instances, ls = p(
|
|
2657
2657
|
[Iw],
|
|
2658
2658
|
(t) => Object.values(t)
|
|
2659
2659
|
), bw = (t) => (s) => s.issueTypeIdentifierValueReducer.instances[t], gw = f(
|
|
2660
2660
|
p(
|
|
2661
|
-
[
|
|
2661
|
+
[ls, (t, s) => s],
|
|
2662
2662
|
(t, s) => {
|
|
2663
2663
|
const e = new Set(s);
|
|
2664
2664
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
2665
2665
|
}
|
|
2666
2666
|
)
|
|
2667
|
-
),
|
|
2668
|
-
p([
|
|
2669
|
-
),
|
|
2667
|
+
), sF = f(
|
|
2668
|
+
p([ls, (t, s) => s], (t, s) => S(t.filter((e) => e.issue === s)))
|
|
2669
|
+
), iF = f(
|
|
2670
2670
|
p(
|
|
2671
|
-
[
|
|
2671
|
+
[ls, (t, s) => s],
|
|
2672
2672
|
(t, s) => S(
|
|
2673
2673
|
t.filter((e) => e.issue_type_identifier === s)
|
|
2674
2674
|
)
|
|
@@ -2697,8 +2697,8 @@ const f = (
|
|
|
2697
2697
|
}
|
|
2698
2698
|
}), {
|
|
2699
2699
|
initializeIssueTypes: Pw,
|
|
2700
|
-
addIssueType:
|
|
2701
|
-
addIssueTypes:
|
|
2700
|
+
addIssueType: Fw,
|
|
2701
|
+
addIssueTypes: Mw,
|
|
2702
2702
|
setIssueType: Rw,
|
|
2703
2703
|
setIssueTypes: Ew,
|
|
2704
2704
|
updateIssueType: vw,
|
|
@@ -2713,7 +2713,7 @@ const f = (
|
|
|
2713
2713
|
const e = new Set(s);
|
|
2714
2714
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
2715
2715
|
})
|
|
2716
|
-
),
|
|
2716
|
+
), nF = f(
|
|
2717
2717
|
p([lr, (t, s) => s], (t, s) => S(t.filter((e) => e.organization === s)))
|
|
2718
2718
|
), jw = ur.reducer, xe = I((t) => t.uuid), Ti = {
|
|
2719
2719
|
instances: {}
|
|
@@ -2750,7 +2750,7 @@ const f = (
|
|
|
2750
2750
|
const e = new Set(s);
|
|
2751
2751
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
2752
2752
|
})
|
|
2753
|
-
),
|
|
2753
|
+
), aF = f(
|
|
2754
2754
|
p([pr, (t, s) => s], (t, s) => S(t.filter((e) => e.issue_type === s)))
|
|
2755
2755
|
), Jw = hr.reducer, We = I(
|
|
2756
2756
|
(t) => t.uuid
|
|
@@ -2841,10 +2841,10 @@ const f = (
|
|
|
2841
2841
|
updateUser: hO,
|
|
2842
2842
|
deleteUser: br,
|
|
2843
2843
|
deleteUsers: pO,
|
|
2844
|
-
setCurrentUser:
|
|
2845
|
-
setCurrentUserProfile:
|
|
2846
|
-
} = _r.actions, mO = _r.reducer, yO = (t) => t.userReducer.currentUser, gr = (t) => t.userReducer.instances,
|
|
2847
|
-
p([
|
|
2844
|
+
setCurrentUser: rF,
|
|
2845
|
+
setCurrentUserProfile: cF
|
|
2846
|
+
} = _r.actions, mO = _r.reducer, yO = (t) => t.userReducer.currentUser, gr = (t) => t.userReducer.instances, hs = p([gr], (t) => Object.values(t)), ps = (t) => (s) => s.userReducer.instances[t], fO = f(
|
|
2847
|
+
p([hs, (t, s) => s], (t, s) => {
|
|
2848
2848
|
const e = new Set(s);
|
|
2849
2849
|
return S(t.filter(({ id: i }) => e.has(i)));
|
|
2850
2850
|
})
|
|
@@ -2878,27 +2878,27 @@ const f = (
|
|
|
2878
2878
|
updateOrganizationAccesses: IO,
|
|
2879
2879
|
deleteOrganizationAccess: bO,
|
|
2880
2880
|
deleteOrganizationAccesses: gO
|
|
2881
|
-
} = kr.actions, kO = kr.reducer,
|
|
2881
|
+
} = kr.actions, kO = kr.reducer, ms = (t) => t.organizationAccessReducer.instances, PO = (t) => (s) => s.organizationAccessReducer.instances[t], FO = f(
|
|
2882
2882
|
p(
|
|
2883
|
-
[
|
|
2883
|
+
[ms, (t, s) => s],
|
|
2884
2884
|
(t, s) => {
|
|
2885
2885
|
const e = new Set(s);
|
|
2886
2886
|
return S(Object.values(t).filter(({ uuid: i }) => e.has(i)));
|
|
2887
2887
|
}
|
|
2888
2888
|
)
|
|
2889
|
-
),
|
|
2890
|
-
[yO,
|
|
2889
|
+
), oF = p(
|
|
2890
|
+
[yO, ms],
|
|
2891
2891
|
(t, s) => Object.values(s).find(
|
|
2892
2892
|
(i) => i.user === (t == null ? void 0 : t.id)
|
|
2893
2893
|
) ?? null
|
|
2894
|
-
),
|
|
2894
|
+
), MO = p([ms], (t) => {
|
|
2895
2895
|
const s = {};
|
|
2896
2896
|
for (const e of Object.values(t))
|
|
2897
2897
|
s[e.user] = e;
|
|
2898
|
-
return
|
|
2899
|
-
}),
|
|
2898
|
+
return Gt(s);
|
|
2899
|
+
}), dF = f(
|
|
2900
2900
|
p(
|
|
2901
|
-
[gr,
|
|
2901
|
+
[gr, MO, (t, s) => s],
|
|
2902
2902
|
(t, s, e) => S(
|
|
2903
2903
|
Object.values(t).filter((i) => {
|
|
2904
2904
|
const n = s[i.id];
|
|
@@ -2960,7 +2960,7 @@ const f = (
|
|
|
2960
2960
|
}, ki = {
|
|
2961
2961
|
deletedRequests: [],
|
|
2962
2962
|
latestRetryTime: 0
|
|
2963
|
-
},
|
|
2963
|
+
}, Fr = T({
|
|
2964
2964
|
name: "outbox",
|
|
2965
2965
|
initialState: ki,
|
|
2966
2966
|
extraReducers: (t) => t.addCase(O, (s) => Object.assign(s, ki)),
|
|
@@ -2987,11 +2987,11 @@ const f = (
|
|
|
2987
2987
|
t.latestRetryTime = s.payload;
|
|
2988
2988
|
}
|
|
2989
2989
|
}
|
|
2990
|
-
}),
|
|
2990
|
+
}), uF = (t) => t.outboxReducer.deletedRequests, lF = (t) => t.outboxReducer.latestRetryTime, { enqueueRequest: NO, markForDeletion: hF, markAsDeleted: HO, _setLatestRetryTime: GO } = Fr.actions, KO = Fr.reducer, Ne = I(
|
|
2991
2991
|
(t) => t.uuid
|
|
2992
2992
|
), Pi = {
|
|
2993
2993
|
instances: {}
|
|
2994
|
-
},
|
|
2994
|
+
}, Mr = T({
|
|
2995
2995
|
name: "projectAccess",
|
|
2996
2996
|
initialState: Pi,
|
|
2997
2997
|
extraReducers: (t) => t.addMatcher(
|
|
@@ -3019,44 +3019,44 @@ const f = (
|
|
|
3019
3019
|
updateProjectAccesses: tT,
|
|
3020
3020
|
deleteProjectAccess: sT,
|
|
3021
3021
|
deleteProjectAccesses: iT
|
|
3022
|
-
} =
|
|
3022
|
+
} = Mr.actions, nT = Mr.reducer, Rr = (t) => t.projectAccessReducer.instances, zt = p(
|
|
3023
3023
|
Rr,
|
|
3024
3024
|
(t) => Object.values(t)
|
|
3025
3025
|
), aT = (t) => (s) => s.projectAccessReducer.instances[t], rT = f(
|
|
3026
|
-
p([
|
|
3026
|
+
p([zt, (t, s) => s], (t, s) => {
|
|
3027
3027
|
const e = new Set(s);
|
|
3028
3028
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3029
3029
|
})
|
|
3030
|
-
),
|
|
3030
|
+
), pF = f(
|
|
3031
3031
|
p(
|
|
3032
3032
|
[Rr, (t, s) => s],
|
|
3033
3033
|
(t, s) => S(
|
|
3034
3034
|
Object.values(t).filter((e) => e.project === s)
|
|
3035
3035
|
)
|
|
3036
3036
|
)
|
|
3037
|
-
),
|
|
3038
|
-
p([
|
|
3037
|
+
), mF = f(
|
|
3038
|
+
p([zt, (t, s) => s], (t, s) => {
|
|
3039
3039
|
const e = {};
|
|
3040
3040
|
for (const i of t.filter((n) => n.project === s))
|
|
3041
3041
|
e[i.user] = i;
|
|
3042
3042
|
return e;
|
|
3043
3043
|
})
|
|
3044
|
-
),
|
|
3044
|
+
), yF = f(
|
|
3045
3045
|
p(
|
|
3046
|
-
[
|
|
3046
|
+
[hs, zt, (t, s) => s],
|
|
3047
3047
|
(t, s, e) => {
|
|
3048
3048
|
const i = new Set(s.filter((n) => n.project === e).map((n) => n.user));
|
|
3049
3049
|
return S(t.filter((n) => i.has(n.id)));
|
|
3050
3050
|
}
|
|
3051
3051
|
)
|
|
3052
|
-
), He = I((t) => t.uuid),
|
|
3052
|
+
), He = I((t) => t.uuid), Fi = {
|
|
3053
3053
|
instances: {}
|
|
3054
3054
|
}, Er = T({
|
|
3055
3055
|
name: "projectAttachments",
|
|
3056
|
-
initialState:
|
|
3056
|
+
initialState: Fi,
|
|
3057
3057
|
extraReducers: (t) => t.addMatcher(
|
|
3058
3058
|
g(O, b),
|
|
3059
|
-
(s) => Object.assign(s,
|
|
3059
|
+
(s) => Object.assign(s, Fi)
|
|
3060
3060
|
),
|
|
3061
3061
|
reducers: {
|
|
3062
3062
|
initializeProjectAttachments: He.initialize,
|
|
@@ -3087,18 +3087,18 @@ const f = (
|
|
|
3087
3087
|
const e = new Set(s);
|
|
3088
3088
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3089
3089
|
})
|
|
3090
|
-
),
|
|
3090
|
+
), fF = f(
|
|
3091
3091
|
p([vr, (t, s) => s], (t, s) => S(t.filter(({ project: e }) => s === e)))
|
|
3092
3092
|
), wT = Er.reducer, Ge = I(
|
|
3093
3093
|
(t) => t.uuid
|
|
3094
|
-
),
|
|
3094
|
+
), Mi = {
|
|
3095
3095
|
instances: {}
|
|
3096
3096
|
}, Br = T({
|
|
3097
3097
|
name: "projectFiles",
|
|
3098
|
-
initialState:
|
|
3098
|
+
initialState: Mi,
|
|
3099
3099
|
extraReducers: (t) => t.addMatcher(
|
|
3100
3100
|
g(O, z, b),
|
|
3101
|
-
(s) => Object.assign(s,
|
|
3101
|
+
(s) => Object.assign(s, Mi)
|
|
3102
3102
|
),
|
|
3103
3103
|
reducers: {
|
|
3104
3104
|
initializeProjectFiles: Ge.initialize,
|
|
@@ -3120,8 +3120,8 @@ const f = (
|
|
|
3120
3120
|
updateProjectFile: gT,
|
|
3121
3121
|
updateProjectFiles: kT,
|
|
3122
3122
|
deleteProjectFile: PT,
|
|
3123
|
-
deleteProjectFiles:
|
|
3124
|
-
} = Br.actions,
|
|
3123
|
+
deleteProjectFiles: FT
|
|
3124
|
+
} = Br.actions, MT = (t) => t.projectFileReducer.instances, RT = p([MT], (t) => S(Object.values(t).sort((s, e) => s.z_index - e.z_index))), ET = (t) => (s) => s.projectFileReducer.instances[t], vT = f(
|
|
3125
3125
|
p([RT, (t, s) => s], (t, s) => {
|
|
3126
3126
|
const e = new Set(s);
|
|
3127
3127
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -3156,18 +3156,18 @@ const f = (
|
|
|
3156
3156
|
updateProject: xT,
|
|
3157
3157
|
deleteProject: WT,
|
|
3158
3158
|
deleteProjects: CT
|
|
3159
|
-
} = Vr.actions, UT = Vr.reducer, LT = (t) => t.projectReducer.instances,
|
|
3160
|
-
p([
|
|
3159
|
+
} = Vr.actions, UT = Vr.reducer, LT = (t) => t.projectReducer.instances, ys = p([LT], (t) => Object.values(t)), NT = (t) => (s) => s.projectReducer.instances[t], HT = f(
|
|
3160
|
+
p([ys, (t, s) => s], (t, s) => {
|
|
3161
3161
|
const e = new Set(s);
|
|
3162
3162
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3163
3163
|
})
|
|
3164
|
-
),
|
|
3165
|
-
p([
|
|
3164
|
+
), SF = f(
|
|
3165
|
+
p([ys, zt, (t, s) => s], (t, s, e) => {
|
|
3166
3166
|
const i = new Set(s.filter((n) => n.user === e).map((n) => n.project));
|
|
3167
3167
|
return S(t.filter((n) => i.has(n.uuid)));
|
|
3168
3168
|
})
|
|
3169
|
-
),
|
|
3170
|
-
p([
|
|
3169
|
+
), AF = f(
|
|
3170
|
+
p([ys, (t, s) => s], (t, s) => S(t.filter((e) => e.organization === s)))
|
|
3171
3171
|
), GT = {
|
|
3172
3172
|
isRehydrated: !1
|
|
3173
3173
|
}, zr = T({
|
|
@@ -3179,7 +3179,7 @@ const f = (
|
|
|
3179
3179
|
t.isRehydrated = s.payload;
|
|
3180
3180
|
}
|
|
3181
3181
|
}
|
|
3182
|
-
}), { setRehydrated:
|
|
3182
|
+
}), { setRehydrated: wF } = zr.actions, OF = (t) => t.rehydratedReducer.isRehydrated, KT = zr.reducer, Ye = I(
|
|
3183
3183
|
(t) => t.uuid
|
|
3184
3184
|
), Ei = {
|
|
3185
3185
|
instances: {}
|
|
@@ -3211,24 +3211,24 @@ const f = (
|
|
|
3211
3211
|
updateTeamMemberships: t_,
|
|
3212
3212
|
deleteTeamMembership: s_,
|
|
3213
3213
|
deleteTeamMemberships: i_
|
|
3214
|
-
} = qr.actions, n_ = qr.reducer, a_ = (t) => t.teamMembershipReducer.instances,
|
|
3214
|
+
} = qr.actions, n_ = qr.reducer, a_ = (t) => t.teamMembershipReducer.instances, fs = p(
|
|
3215
3215
|
[a_],
|
|
3216
3216
|
(t) => Object.values(t)
|
|
3217
3217
|
), r_ = (t) => (s) => s.teamMembershipReducer.instances[t], c_ = f(
|
|
3218
|
-
p([
|
|
3218
|
+
p([fs, (t, s) => s], (t, s) => {
|
|
3219
3219
|
const e = new Set(s);
|
|
3220
3220
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3221
3221
|
})
|
|
3222
|
-
),
|
|
3223
|
-
p([
|
|
3222
|
+
), TF = f(
|
|
3223
|
+
p([fs, (t, s) => s], (t, s) => {
|
|
3224
3224
|
const e = {};
|
|
3225
3225
|
for (const i of t.filter((n) => n.team === s))
|
|
3226
3226
|
e[i.user] = i;
|
|
3227
3227
|
return e;
|
|
3228
3228
|
})
|
|
3229
|
-
),
|
|
3229
|
+
), _F = f(
|
|
3230
3230
|
p(
|
|
3231
|
-
[
|
|
3231
|
+
[hs, fs, (t, s) => s],
|
|
3232
3232
|
(t, s, e) => {
|
|
3233
3233
|
const i = new Set(s.filter((n) => n.team === e).map((n) => n.user));
|
|
3234
3234
|
return S(t.filter((n) => i.has(n.id)));
|
|
@@ -3269,7 +3269,7 @@ const f = (
|
|
|
3269
3269
|
const e = new Set(s);
|
|
3270
3270
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3271
3271
|
})
|
|
3272
|
-
),
|
|
3272
|
+
), IF = f(
|
|
3273
3273
|
p([$r, (t, s) => s], (t, s) => S(t.filter((e) => e.organization === s)))
|
|
3274
3274
|
), O_ = Dr.reducer, T_ = {
|
|
3275
3275
|
version: 0
|
|
@@ -3304,23 +3304,23 @@ const f = (
|
|
|
3304
3304
|
addWorkflow: g_,
|
|
3305
3305
|
addWorkflows: k_,
|
|
3306
3306
|
setWorkflow: P_,
|
|
3307
|
-
setWorkflows:
|
|
3308
|
-
updateWorkflow:
|
|
3307
|
+
setWorkflows: F_,
|
|
3308
|
+
updateWorkflow: M_,
|
|
3309
3309
|
updateWorkflows: R_,
|
|
3310
3310
|
deleteWorkflow: E_,
|
|
3311
3311
|
deleteWorkflows: v_
|
|
3312
|
-
} = jr.actions, B_ = (t) => t.workflowReducer.instances,
|
|
3312
|
+
} = jr.actions, B_ = (t) => t.workflowReducer.instances, Ss = p(
|
|
3313
3313
|
[B_],
|
|
3314
3314
|
(t) => Object.values(t)
|
|
3315
3315
|
), V_ = (t) => (s) => s.workflowReducer.instances[t], z_ = f(
|
|
3316
|
-
p([
|
|
3316
|
+
p([Ss, (t, s) => s], (t, s) => {
|
|
3317
3317
|
const e = new Set(s);
|
|
3318
3318
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3319
3319
|
})
|
|
3320
|
-
),
|
|
3321
|
-
p([
|
|
3322
|
-
),
|
|
3323
|
-
p([
|
|
3320
|
+
), bF = f(
|
|
3321
|
+
p([Ss, (t, s) => s], (t, s) => S(t.filter((e) => e.project === s)))
|
|
3322
|
+
), gF = f(
|
|
3323
|
+
p([Ss, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_type === s)))
|
|
3324
3324
|
), q_ = jr.reducer, Ze = I((t) => t.uuid), Vi = {
|
|
3325
3325
|
instances: {}
|
|
3326
3326
|
}, xr = T({
|
|
@@ -3351,22 +3351,22 @@ const f = (
|
|
|
3351
3351
|
updateWorkflowStepAssignees: U_,
|
|
3352
3352
|
deleteWorkflowStepAssignee: L_,
|
|
3353
3353
|
deleteWorkflowStepAssignees: N_
|
|
3354
|
-
} = xr.actions, H_ = (t) => t.workflowStepAssigneeReducer.instances,
|
|
3354
|
+
} = xr.actions, H_ = (t) => t.workflowStepAssigneeReducer.instances, qt = p([H_], (t) => Object.values(t)), G_ = (t) => (s) => s.workflowStepAssigneeReducer.instances[t], K_ = f(
|
|
3355
3355
|
p(
|
|
3356
|
-
[
|
|
3356
|
+
[qt, (t, s) => s],
|
|
3357
3357
|
(t, s) => {
|
|
3358
3358
|
const e = new Set(s);
|
|
3359
3359
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3360
3360
|
}
|
|
3361
3361
|
)
|
|
3362
|
-
),
|
|
3363
|
-
p([
|
|
3364
|
-
),
|
|
3365
|
-
p([
|
|
3366
|
-
),
|
|
3362
|
+
), kF = f(
|
|
3363
|
+
p([qt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
|
|
3364
|
+
), PF = f(
|
|
3365
|
+
p([qt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
|
|
3366
|
+
), FF = f(
|
|
3367
3367
|
p(
|
|
3368
3368
|
[
|
|
3369
|
-
|
|
3369
|
+
qt,
|
|
3370
3370
|
(t, s) => s,
|
|
3371
3371
|
(t, s, e) => e
|
|
3372
3372
|
],
|
|
@@ -3406,22 +3406,22 @@ const f = (
|
|
|
3406
3406
|
updateWorkflowStepComments: sI,
|
|
3407
3407
|
deleteWorkflowStepComment: iI,
|
|
3408
3408
|
deleteWorkflowStepComments: nI
|
|
3409
|
-
} = Wr.actions, aI = (t) => t.workflowStepCommentReducer.instances,
|
|
3409
|
+
} = Wr.actions, aI = (t) => t.workflowStepCommentReducer.instances, Dt = p([aI], (t) => Object.values(t)), rI = (t) => (s) => s.workflowStepCommentReducer.instances[t], cI = f(
|
|
3410
3410
|
p(
|
|
3411
|
-
[
|
|
3411
|
+
[Dt, (t, s) => s],
|
|
3412
3412
|
(t, s) => {
|
|
3413
3413
|
const e = new Set(s);
|
|
3414
3414
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3415
3415
|
}
|
|
3416
3416
|
)
|
|
3417
|
-
),
|
|
3418
|
-
p([
|
|
3419
|
-
),
|
|
3420
|
-
p([
|
|
3421
|
-
),
|
|
3417
|
+
), MF = f(
|
|
3418
|
+
p([Dt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
|
|
3419
|
+
), RF = f(
|
|
3420
|
+
p([Dt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
|
|
3421
|
+
), EF = f(
|
|
3422
3422
|
p(
|
|
3423
3423
|
[
|
|
3424
|
-
|
|
3424
|
+
Dt,
|
|
3425
3425
|
(t, s) => s,
|
|
3426
3426
|
(t, s, e) => e
|
|
3427
3427
|
],
|
|
@@ -3461,19 +3461,19 @@ const f = (
|
|
|
3461
3461
|
updateWorkflowStepEvents: yI,
|
|
3462
3462
|
deleteWorkflowStepEvent: fI,
|
|
3463
3463
|
deleteWorkflowStepEvents: SI
|
|
3464
|
-
} = Cr.actions, AI = (t) => t.workflowStepEventReducer.instances,
|
|
3465
|
-
p([
|
|
3464
|
+
} = Cr.actions, AI = (t) => t.workflowStepEventReducer.instances, $t = p([AI], (t) => Object.values(t)), wI = (t) => (s) => s.workflowStepEventReducer.instances[t], OI = f(
|
|
3465
|
+
p([$t, (t, s) => s], (t, s) => {
|
|
3466
3466
|
const e = new Set(s);
|
|
3467
3467
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3468
3468
|
})
|
|
3469
|
-
),
|
|
3470
|
-
p([
|
|
3471
|
-
),
|
|
3472
|
-
p([
|
|
3473
|
-
),
|
|
3469
|
+
), vF = f(
|
|
3470
|
+
p([$t, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
|
|
3471
|
+
), BF = f(
|
|
3472
|
+
p([$t, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
|
|
3473
|
+
), VF = f(
|
|
3474
3474
|
p(
|
|
3475
3475
|
[
|
|
3476
|
-
|
|
3476
|
+
$t,
|
|
3477
3477
|
(t, s) => s,
|
|
3478
3478
|
(t, s, e) => e
|
|
3479
3479
|
],
|
|
@@ -3511,10 +3511,10 @@ const f = (
|
|
|
3511
3511
|
setWorkflowStepFieldsAttachments: gI,
|
|
3512
3512
|
updateWorkflowStepFieldsAttachment: kI,
|
|
3513
3513
|
updateWorkflowStepFieldsAttachments: PI,
|
|
3514
|
-
deleteWorkflowStepFieldsAttachment:
|
|
3514
|
+
deleteWorkflowStepFieldsAttachment: FI,
|
|
3515
3515
|
deleteWorkflowStepFieldsAttachments: Nr
|
|
3516
|
-
} = Ur.actions,
|
|
3517
|
-
[
|
|
3516
|
+
} = Ur.actions, MI = (t) => t.workflowStepFieldsAttachmentReducer.instances, Hr = p(
|
|
3517
|
+
[MI],
|
|
3518
3518
|
(t) => Object.values(t)
|
|
3519
3519
|
), RI = f(
|
|
3520
3520
|
p(
|
|
@@ -3559,13 +3559,13 @@ const f = (
|
|
|
3559
3559
|
updateWorkflowStepFieldsMany: xI,
|
|
3560
3560
|
deleteWorkflowStepFields: WI,
|
|
3561
3561
|
deleteWorkflowStepFieldsMany: CI
|
|
3562
|
-
} = Gr.actions, UI = (t) => t.workflowStepFieldsReducer.instances,
|
|
3563
|
-
p([
|
|
3564
|
-
),
|
|
3565
|
-
p([
|
|
3562
|
+
} = Gr.actions, UI = (t) => t.workflowStepFieldsReducer.instances, As = p([UI], (t) => Object.values(t)), zF = f(
|
|
3563
|
+
p([As, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
|
|
3564
|
+
), qF = f(
|
|
3565
|
+
p([As, (t, s) => s], (t, s) => t.filter((e) => e.workflow_step === s).sort((e, i) => e.submitted_at > i.submitted_at ? -1 : 1)[0])
|
|
3566
3566
|
), LI = (t) => (s) => s.workflowStepFieldsReducer.instances[t], NI = f(
|
|
3567
3567
|
p(
|
|
3568
|
-
[
|
|
3568
|
+
[As, (t, s) => s],
|
|
3569
3569
|
(t, s) => {
|
|
3570
3570
|
const e = new Set(s);
|
|
3571
3571
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
@@ -3620,113 +3620,130 @@ const f = (
|
|
|
3620
3620
|
), nb = Kr.reducer, nt = I((t) => t.uuid), xi = {
|
|
3621
3621
|
instances: {}
|
|
3622
3622
|
}, Zr = T({
|
|
3623
|
-
name: "
|
|
3623
|
+
name: "workflowStepFieldValues",
|
|
3624
3624
|
initialState: xi,
|
|
3625
3625
|
extraReducers: (t) => t.addMatcher(
|
|
3626
3626
|
g(O, z, b),
|
|
3627
3627
|
(s) => Object.assign(s, xi)
|
|
3628
3628
|
),
|
|
3629
3629
|
reducers: {
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3630
|
+
initializeWorkflowStepFieldValues: nt.initialize,
|
|
3631
|
+
addWorkflowStepFieldValues: nt.addOne,
|
|
3632
|
+
addWorkflowStepFieldValuesMany: nt.addMany,
|
|
3633
|
+
setWorkflowStepFieldValues: nt.setOne,
|
|
3634
|
+
setWorkflowStepFieldValuesMany: nt.setMany,
|
|
3635
|
+
updateWorkflowStepFieldValues: nt.updateOne,
|
|
3636
|
+
updateWorkflowStepFieldValuesMany: nt.updateMany,
|
|
3637
|
+
deleteWorkflowStepFieldValues: nt.deleteOne,
|
|
3638
|
+
deleteWorkflowStepFieldValuesMany: nt.deleteMany
|
|
3639
3639
|
}
|
|
3640
3640
|
}), {
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
} = Zr.actions,
|
|
3651
|
-
[
|
|
3641
|
+
initializeWorkflowStepFieldValues: ab,
|
|
3642
|
+
addWorkflowStepFieldValues: rb,
|
|
3643
|
+
addWorkflowStepFieldValuesMany: cb,
|
|
3644
|
+
setWorkflowStepFieldValues: ob,
|
|
3645
|
+
setWorkflowStepFieldValuesMany: db,
|
|
3646
|
+
updateWorkflowStepFieldValues: ub,
|
|
3647
|
+
updateWorkflowStepFieldValuesMany: lb,
|
|
3648
|
+
deleteWorkflowStepFieldValues: hb,
|
|
3649
|
+
deleteWorkflowStepFieldValuesMany: pb
|
|
3650
|
+
} = Zr.actions, mb = (t) => t.workflowStepFieldValuesReducer.instances, pt = p(
|
|
3651
|
+
[mb],
|
|
3652
3652
|
(t) => Object.values(t)
|
|
3653
|
-
),
|
|
3653
|
+
), DF = f(
|
|
3654
|
+
p([pt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
|
|
3655
|
+
), $F = f(
|
|
3654
3656
|
p(
|
|
3655
|
-
[
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3657
|
+
[pt, (t, s) => s],
|
|
3658
|
+
(t, s) => S(t.filter((e) => e.workflow_step === s))
|
|
3659
|
+
)
|
|
3660
|
+
), yb = (t) => (s) => s.workflowStepFieldValuesReducer.instances[t], fb = f(
|
|
3661
|
+
p(
|
|
3662
|
+
[pt, (t, s) => s],
|
|
3659
3663
|
(t, s) => {
|
|
3660
3664
|
const e = new Set(s);
|
|
3661
3665
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3662
3666
|
}
|
|
3663
3667
|
)
|
|
3664
|
-
),
|
|
3668
|
+
), jF = f(
|
|
3665
3669
|
p(
|
|
3666
|
-
[
|
|
3667
|
-
|
|
3670
|
+
[
|
|
3671
|
+
pt,
|
|
3672
|
+
(t, s) => s,
|
|
3673
|
+
(t, s, e) => e
|
|
3674
|
+
],
|
|
3675
|
+
(t, s, e) => S(
|
|
3676
|
+
t.filter(
|
|
3677
|
+
({ workflow: i, workflow_step: n }) => i === s && n === e
|
|
3678
|
+
)
|
|
3679
|
+
)
|
|
3668
3680
|
)
|
|
3669
|
-
),
|
|
3681
|
+
), xF = f(
|
|
3670
3682
|
p(
|
|
3671
|
-
[
|
|
3683
|
+
[pt, (t, s) => s],
|
|
3672
3684
|
(t, s) => {
|
|
3673
|
-
|
|
3685
|
+
const e = {};
|
|
3674
3686
|
for (const i of t) {
|
|
3675
|
-
const {
|
|
3676
|
-
n
|
|
3687
|
+
const { workflow: n, workflow_step: a } = i;
|
|
3688
|
+
if (n !== s) continue;
|
|
3689
|
+
const r = e[a];
|
|
3690
|
+
(!r || r.submitted_at <= i.submitted_at) && (e[a] = i);
|
|
3677
3691
|
}
|
|
3678
3692
|
return e;
|
|
3679
3693
|
}
|
|
3680
3694
|
)
|
|
3681
|
-
),
|
|
3695
|
+
), Sb = Zr.reducer, at = I((t) => t.uuid), Wi = {
|
|
3682
3696
|
instances: {}
|
|
3683
|
-
},
|
|
3684
|
-
name: "
|
|
3697
|
+
}, Xr = T({
|
|
3698
|
+
name: "workflowStepFieldValuesReviewRequests",
|
|
3685
3699
|
initialState: Wi,
|
|
3686
3700
|
extraReducers: (t) => t.addMatcher(
|
|
3687
3701
|
g(O, z, b),
|
|
3688
3702
|
(s) => Object.assign(s, Wi)
|
|
3689
3703
|
),
|
|
3690
3704
|
reducers: {
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3705
|
+
initializeWorkflowStepFieldValuesReviewRequests: at.initialize,
|
|
3706
|
+
addWorkflowStepFieldValuesReviewRequest: at.addOne,
|
|
3707
|
+
addWorkflowStepFieldValuesReviewRequests: at.addMany,
|
|
3708
|
+
setWorkflowStepFieldValuesReviewRequest: at.setOne,
|
|
3709
|
+
setWorkflowStepFieldValuesReviewRequests: at.setMany,
|
|
3710
|
+
updateWorkflowStepFieldValuesReviewRequest: at.updateOne,
|
|
3711
|
+
updateWorkflowStepFieldValuesReviewRequests: at.updateMany,
|
|
3712
|
+
deleteWorkflowStepFieldValuesReviewRequest: at.deleteOne,
|
|
3713
|
+
deleteWorkflowStepFieldValuesReviewRequests: at.deleteMany
|
|
3700
3714
|
}
|
|
3701
3715
|
}), {
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
} =
|
|
3712
|
-
[
|
|
3716
|
+
initializeWorkflowStepFieldValuesReviewRequests: Ab,
|
|
3717
|
+
addWorkflowStepFieldValuesReviewRequest: wb,
|
|
3718
|
+
addWorkflowStepFieldValuesReviewRequests: ec,
|
|
3719
|
+
setWorkflowStepFieldValuesReviewRequest: Ob,
|
|
3720
|
+
setWorkflowStepFieldValuesReviewRequests: Tb,
|
|
3721
|
+
updateWorkflowStepFieldValuesReviewRequest: _b,
|
|
3722
|
+
updateWorkflowStepFieldValuesReviewRequests: Ib,
|
|
3723
|
+
deleteWorkflowStepFieldValuesReviewRequest: bb,
|
|
3724
|
+
deleteWorkflowStepFieldValuesReviewRequests: tc
|
|
3725
|
+
} = Xr.actions, gb = (t) => t.workflowStepFieldValuesReviewRequestReducer.instances, jt = p(
|
|
3726
|
+
[gb],
|
|
3713
3727
|
(t) => Object.values(t)
|
|
3714
|
-
),
|
|
3728
|
+
), kb = (t) => (s) => s.workflowStepFieldValuesReviewRequestReducer.instances[t], Pb = f(
|
|
3715
3729
|
p(
|
|
3716
|
-
[
|
|
3730
|
+
[
|
|
3731
|
+
jt,
|
|
3732
|
+
(t, s) => s
|
|
3733
|
+
],
|
|
3717
3734
|
(t, s) => {
|
|
3718
3735
|
const e = new Set(s);
|
|
3719
3736
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3720
3737
|
}
|
|
3721
3738
|
)
|
|
3722
|
-
),
|
|
3739
|
+
), Fb = f(
|
|
3723
3740
|
p(
|
|
3724
|
-
[
|
|
3741
|
+
[jt, (t, s) => s],
|
|
3725
3742
|
(t, s) => S(t.filter((e) => e.field_values === s))
|
|
3726
3743
|
)
|
|
3727
|
-
),
|
|
3744
|
+
), WF = f(
|
|
3728
3745
|
p(
|
|
3729
|
-
[
|
|
3746
|
+
[jt, (t, s) => s],
|
|
3730
3747
|
(t, s) => {
|
|
3731
3748
|
let e;
|
|
3732
3749
|
for (const i of t) {
|
|
@@ -3736,68 +3753,114 @@ const f = (
|
|
|
3736
3753
|
return e;
|
|
3737
3754
|
}
|
|
3738
3755
|
)
|
|
3739
|
-
),
|
|
3756
|
+
), CF = f(
|
|
3757
|
+
p(
|
|
3758
|
+
[
|
|
3759
|
+
pt,
|
|
3760
|
+
jt,
|
|
3761
|
+
(t, s) => s,
|
|
3762
|
+
(t, s, e) => e
|
|
3763
|
+
],
|
|
3764
|
+
(t, s, e, i) => {
|
|
3765
|
+
const n = new Set(
|
|
3766
|
+
V(
|
|
3767
|
+
t.filter(
|
|
3768
|
+
({ workflow_step: a, workflow: r }) => e === r && a === i
|
|
3769
|
+
)
|
|
3770
|
+
)
|
|
3771
|
+
);
|
|
3772
|
+
return S(
|
|
3773
|
+
s.filter(({ field_values: a }) => n.has(a))
|
|
3774
|
+
);
|
|
3775
|
+
}
|
|
3776
|
+
)
|
|
3777
|
+
), Mb = Xr.reducer, rt = I((t) => t.uuid), Ci = {
|
|
3740
3778
|
instances: {}
|
|
3741
|
-
},
|
|
3742
|
-
name: "
|
|
3779
|
+
}, sc = T({
|
|
3780
|
+
name: "workflowStepFieldValuesReviews",
|
|
3743
3781
|
initialState: Ci,
|
|
3744
3782
|
extraReducers: (t) => t.addMatcher(
|
|
3745
3783
|
g(O, z, b),
|
|
3746
3784
|
(s) => Object.assign(s, Ci)
|
|
3747
3785
|
),
|
|
3748
3786
|
reducers: {
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3787
|
+
initializeWorkflowStepFieldValuesReviews: rt.initialize,
|
|
3788
|
+
addWorkflowStepFieldValuesReview: rt.addOne,
|
|
3789
|
+
addWorkflowStepFieldValuesReviews: rt.addMany,
|
|
3790
|
+
setWorkflowStepFieldValuesReview: rt.setOne,
|
|
3791
|
+
setWorkflowStepFieldValuesReviews: rt.setMany,
|
|
3792
|
+
updateWorkflowStepFieldValuesReview: rt.updateOne,
|
|
3793
|
+
updateWorkflowStepFieldValuesReviews: rt.updateMany,
|
|
3794
|
+
deleteWorkflowStepFieldValuesReview: rt.deleteOne,
|
|
3795
|
+
deleteWorkflowStepFieldValuesReviews: rt.deleteMany
|
|
3758
3796
|
}
|
|
3759
3797
|
}), {
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
} =
|
|
3770
|
-
[
|
|
3798
|
+
initializeWorkflowStepFieldValuesReviews: Rb,
|
|
3799
|
+
addWorkflowStepFieldValuesReview: Eb,
|
|
3800
|
+
addWorkflowStepFieldValuesReviews: ic,
|
|
3801
|
+
setWorkflowStepFieldValuesReview: vb,
|
|
3802
|
+
setWorkflowStepFieldValuesReviews: Bb,
|
|
3803
|
+
updateWorkflowStepFieldValuesReview: Vb,
|
|
3804
|
+
updateWorkflowStepFieldValuesReviews: zb,
|
|
3805
|
+
deleteWorkflowStepFieldValuesReview: qb,
|
|
3806
|
+
deleteWorkflowStepFieldValuesReviews: nc
|
|
3807
|
+
} = sc.actions, Db = (t) => t.workflowStepFieldValuesReviewReducer.instances, bt = p(
|
|
3808
|
+
[Db],
|
|
3771
3809
|
(t) => Object.values(t)
|
|
3772
|
-
),
|
|
3773
|
-
p([Dt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
|
|
3774
|
-
), xM = f(
|
|
3775
|
-
p(
|
|
3776
|
-
[Dt, (t, s) => s],
|
|
3777
|
-
(t, s) => S(t.filter((e) => e.workflow_step === s))
|
|
3778
|
-
)
|
|
3779
|
-
), jb = (t) => (s) => s.workflowStepFieldValuesReducer.instances[t], xb = f(
|
|
3810
|
+
), $b = (t) => (s) => s.workflowStepFieldValuesReviewReducer.instances[t], jb = f(
|
|
3780
3811
|
p(
|
|
3781
|
-
[
|
|
3812
|
+
[bt, (t, s) => s],
|
|
3782
3813
|
(t, s) => {
|
|
3783
3814
|
const e = new Set(s);
|
|
3784
3815
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3785
3816
|
}
|
|
3786
3817
|
)
|
|
3787
|
-
),
|
|
3818
|
+
), xb = f(
|
|
3819
|
+
p(
|
|
3820
|
+
[bt, (t, s) => s],
|
|
3821
|
+
(t, s) => S(t.filter((e) => e.field_values === s))
|
|
3822
|
+
)
|
|
3823
|
+
), UF = f(
|
|
3824
|
+
p(
|
|
3825
|
+
[bt, (t, s) => s],
|
|
3826
|
+
(t, s) => {
|
|
3827
|
+
let e;
|
|
3828
|
+
for (const i of t) {
|
|
3829
|
+
const { field_values: n } = i;
|
|
3830
|
+
n === s && (!e || e.submitted_at <= i.submitted_at) && (e = i);
|
|
3831
|
+
}
|
|
3832
|
+
return e;
|
|
3833
|
+
}
|
|
3834
|
+
)
|
|
3835
|
+
), LF = f(
|
|
3788
3836
|
p(
|
|
3789
3837
|
[
|
|
3790
|
-
|
|
3838
|
+
pt,
|
|
3839
|
+
bt,
|
|
3791
3840
|
(t, s) => s,
|
|
3792
3841
|
(t, s, e) => e
|
|
3793
3842
|
],
|
|
3794
|
-
(t, s, e) =>
|
|
3795
|
-
|
|
3796
|
-
(
|
|
3797
|
-
|
|
3798
|
-
|
|
3843
|
+
(t, s, e, i) => {
|
|
3844
|
+
const n = new Set(
|
|
3845
|
+
V(
|
|
3846
|
+
t.filter(
|
|
3847
|
+
({ workflow_step: a, workflow: r }) => e === r && a === i
|
|
3848
|
+
)
|
|
3849
|
+
)
|
|
3850
|
+
);
|
|
3851
|
+
return S(
|
|
3852
|
+
s.filter(({ field_values: a }) => n.has(a))
|
|
3853
|
+
);
|
|
3854
|
+
}
|
|
3799
3855
|
)
|
|
3800
|
-
),
|
|
3856
|
+
), NF = p([bt], (t) => {
|
|
3857
|
+
const s = {};
|
|
3858
|
+
for (const e of t) {
|
|
3859
|
+
const { field_values: i } = e, n = s[i];
|
|
3860
|
+
(!n || n.submitted_at <= e.submitted_at) && (s[i] = e);
|
|
3861
|
+
}
|
|
3862
|
+
return s;
|
|
3863
|
+
}), Wb = sc.reducer, ct = I((t) => t.uuid), Ui = {
|
|
3801
3864
|
instances: {}
|
|
3802
3865
|
}, ac = T({
|
|
3803
3866
|
name: "workflowStepReviewers",
|
|
@@ -3827,22 +3890,22 @@ const f = (
|
|
|
3827
3890
|
updateWorkflowStepReviewers: Kb,
|
|
3828
3891
|
deleteWorkflowStepReviewer: Yb,
|
|
3829
3892
|
deleteWorkflowStepReviewers: Qb
|
|
3830
|
-
} = ac.actions, Jb = (t) => t.workflowStepReviewerReducer.instances,
|
|
3893
|
+
} = ac.actions, Jb = (t) => t.workflowStepReviewerReducer.instances, xt = p([Jb], (t) => Object.values(t)), Zb = (t) => (s) => s.workflowStepReviewerReducer.instances[t], Xb = f(
|
|
3831
3894
|
p(
|
|
3832
|
-
[
|
|
3895
|
+
[xt, (t, s) => s],
|
|
3833
3896
|
(t, s) => {
|
|
3834
3897
|
const e = new Set(s);
|
|
3835
3898
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3836
3899
|
}
|
|
3837
3900
|
)
|
|
3838
|
-
),
|
|
3839
|
-
p([
|
|
3840
|
-
),
|
|
3841
|
-
p([
|
|
3842
|
-
),
|
|
3901
|
+
), HF = f(
|
|
3902
|
+
p([xt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow === s)))
|
|
3903
|
+
), GF = f(
|
|
3904
|
+
p([xt, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_step === s)))
|
|
3905
|
+
), KF = f(
|
|
3843
3906
|
p(
|
|
3844
3907
|
[
|
|
3845
|
-
|
|
3908
|
+
xt,
|
|
3846
3909
|
(t, s) => s,
|
|
3847
3910
|
(t, s, e) => e
|
|
3848
3911
|
],
|
|
@@ -3892,7 +3955,7 @@ const f = (
|
|
|
3892
3955
|
const e = new Set(s);
|
|
3893
3956
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3894
3957
|
})
|
|
3895
|
-
),
|
|
3958
|
+
), YF = f(
|
|
3896
3959
|
p([cc, (t, s) => s], (t, s) => S(t.filter((e) => e.workflow_type === s)))
|
|
3897
3960
|
), pg = rc.reducer, dt = I(
|
|
3898
3961
|
(t) => t.uuid
|
|
@@ -3934,15 +3997,15 @@ const f = (
|
|
|
3934
3997
|
const e = new Set(s);
|
|
3935
3998
|
return S(t.filter(({ uuid: i }) => e.has(i)));
|
|
3936
3999
|
})
|
|
3937
|
-
),
|
|
4000
|
+
), QF = f(
|
|
3938
4001
|
p([dc, (t, s) => s], (t, s) => S(t.filter((e) => e.organization === s)))
|
|
3939
4002
|
), kg = oc.reducer, uc = {
|
|
3940
4003
|
outboxReducer: KO,
|
|
3941
4004
|
fileReducer: Um,
|
|
3942
4005
|
authReducer: sm
|
|
3943
|
-
},
|
|
4006
|
+
}, JF = Yi(uc), Pg = {
|
|
3944
4007
|
...uc,
|
|
3945
|
-
[
|
|
4008
|
+
[Et]: I_,
|
|
3946
4009
|
assetReducer: Tl,
|
|
3947
4010
|
assetAttachmentReducer: wo,
|
|
3948
4011
|
assetStageCompletionReducer: El,
|
|
@@ -3962,7 +4025,7 @@ const f = (
|
|
|
3962
4025
|
rehydratedReducer: KT,
|
|
3963
4026
|
formReducer: Gy,
|
|
3964
4027
|
formRevisionReducer: Dy,
|
|
3965
|
-
formRevisionAttachmentReducer:
|
|
4028
|
+
formRevisionAttachmentReducer: Fy,
|
|
3966
4029
|
formSubmissionAttachmentReducer: of,
|
|
3967
4030
|
formSubmissionReducer: Of,
|
|
3968
4031
|
formIdentifierReducer: sy,
|
|
@@ -3979,7 +4042,7 @@ const f = (
|
|
|
3979
4042
|
geoImageReducer: Bf,
|
|
3980
4043
|
issueAssociationReducer: Yf,
|
|
3981
4044
|
issueTypeFieldsReducer: CA,
|
|
3982
|
-
issueTypeFieldValuesReducer:
|
|
4045
|
+
issueTypeFieldValuesReducer: MA,
|
|
3983
4046
|
issueTypeFieldsAttachmentReducer: fA,
|
|
3984
4047
|
issueTypeFieldValuesAttachmentReducer: ew,
|
|
3985
4048
|
issueTypeIdentifierReducer: pw,
|
|
@@ -3990,7 +4053,7 @@ const f = (
|
|
|
3990
4053
|
assetTypeFieldsAttachmentReducer: Ah,
|
|
3991
4054
|
assetTypeFieldValuesAttachmentReducer: Uh,
|
|
3992
4055
|
assetTypeIdentifierReducer: yp,
|
|
3993
|
-
assetTypeIdentifierValueReducer:
|
|
4056
|
+
assetTypeIdentifierValueReducer: Fp,
|
|
3994
4057
|
assetTypeStatusReducer: em,
|
|
3995
4058
|
assetProcedureTypeReducer: Jd,
|
|
3996
4059
|
assetProcedureReducer: Dd,
|
|
@@ -3998,7 +4061,7 @@ const f = (
|
|
|
3998
4061
|
assetProcedureTypeFieldValuesReducer: kd,
|
|
3999
4062
|
assetProcedureTypeFieldsAttachmentReducer: Co,
|
|
4000
4063
|
assetProcedureTypeFieldValuesAttachmentReducer: hd,
|
|
4001
|
-
assetProcedureTypeAttachmentReducer:
|
|
4064
|
+
assetProcedureTypeAttachmentReducer: Mo,
|
|
4002
4065
|
assetProcedureStepFieldsAttachmentReducer: pu,
|
|
4003
4066
|
assetProcedureStepFieldsReducer: gu,
|
|
4004
4067
|
assetProcedureStepFieldValuesAttachmentReducer: Du,
|
|
@@ -4013,16 +4076,16 @@ const f = (
|
|
|
4013
4076
|
workflowStepAssigneeReducer: Y_,
|
|
4014
4077
|
workflowStepCommentReducer: oI,
|
|
4015
4078
|
workflowStepEventReducer: TI,
|
|
4016
|
-
workflowStepFieldValuesReducer:
|
|
4079
|
+
workflowStepFieldValuesReducer: Sb,
|
|
4017
4080
|
workflowStepFieldValuesAttachmentReducer: nb,
|
|
4018
|
-
workflowStepFieldValuesReviewReducer:
|
|
4019
|
-
workflowStepFieldValuesReviewRequestReducer:
|
|
4081
|
+
workflowStepFieldValuesReviewReducer: Wb,
|
|
4082
|
+
workflowStepFieldValuesReviewRequestReducer: Mb,
|
|
4020
4083
|
workflowStepReviewerReducer: eg
|
|
4021
|
-
},
|
|
4084
|
+
}, ZF = Yi(Pg), Fg = 1e4, Mg = 200, lc = [400, 409, 403, 404, 405, 500], lt = 1e4, hc = {};
|
|
4022
4085
|
class pc {
|
|
4023
4086
|
constructor(s) {
|
|
4024
4087
|
h(this, "client");
|
|
4025
|
-
h(this, "pageSize",
|
|
4088
|
+
h(this, "pageSize", Fg);
|
|
4026
4089
|
hc[this.constructor.name] = this, this.client = s;
|
|
4027
4090
|
}
|
|
4028
4091
|
async performRequest(s, e) {
|
|
@@ -4039,18 +4102,18 @@ class pc {
|
|
|
4039
4102
|
this.client.store.dispatch(s);
|
|
4040
4103
|
}
|
|
4041
4104
|
}
|
|
4042
|
-
const mc = () => fc.length - 1, yc = (t) => (t[
|
|
4105
|
+
const mc = () => fc.length - 1, yc = (t) => (t[Et] = { version: mc() }, t), Hi = () => yc({}), Rg = (t) => (t.outboxReducer && (t.outboxReducer.deletedRequests = []), t), Eg = (t) => (s) => {
|
|
4043
4106
|
var e;
|
|
4044
|
-
return s === void 0 && (s = {}), ((e = s[
|
|
4107
|
+
return s === void 0 && (s = {}), ((e = s[Et]) == null ? void 0 : e.version) === mc() ? s : t(s);
|
|
4045
4108
|
}, fc = [yc, Hi, Hi, Rg], vg = Object.fromEntries(fc.map((t, s) => [s, Eg(t)])), Bg = (t) => {
|
|
4046
4109
|
if (t) throw t;
|
|
4047
|
-
const s =
|
|
4110
|
+
const s = kt();
|
|
4048
4111
|
s ? s.dispatch({ type: "rehydrated/setRehydrated", payload: !0 }) : console.error("Client store not set");
|
|
4049
4112
|
}, Vg = (t, s, e) => {
|
|
4050
|
-
const i =
|
|
4113
|
+
const i = At();
|
|
4051
4114
|
return i ? (i.addRequest(s), i.getQueue()) : (console.warn("Outbox coordinator not set; cannot enqueue request yet."), []);
|
|
4052
4115
|
}, zg = (t, s, e) => {
|
|
4053
|
-
const i =
|
|
4116
|
+
const i = At();
|
|
4054
4117
|
if (!i)
|
|
4055
4118
|
return console.warn("Outbox coordinator not set; cannot dequeue request yet."), [];
|
|
4056
4119
|
const a = s.meta.offlineAction.payload.uuid;
|
|
@@ -4072,7 +4135,7 @@ const Dg = {
|
|
|
4072
4135
|
retry: Cg,
|
|
4073
4136
|
// Modify the configuration of the offline store to use localforage
|
|
4074
4137
|
// which uses IndexedDB by default (persists even on mobile when installed as a PWA, unlike localStorage)
|
|
4075
|
-
persistOptions: { storage:
|
|
4138
|
+
persistOptions: { storage: Mc },
|
|
4076
4139
|
// TODO: custom enqueue implementation to take care of intelligently cancelling "create/delete same issue",
|
|
4077
4140
|
// and custom dequeue for e.g. if user insists on removing a failed a "create issue", then remove the "edit
|
|
4078
4141
|
// that same issue"
|
|
@@ -4083,7 +4146,7 @@ const Dg = {
|
|
|
4083
4146
|
// Bad typing, undefined is actually fine, and the action is a FullOfflineAction, not just an OfflineAction.
|
|
4084
4147
|
peek: (...t) => Wg(...t)
|
|
4085
4148
|
}
|
|
4086
|
-
}, $g = Rc(vg,
|
|
4149
|
+
}, $g = Rc(vg, Et), XF = gc(Fc(Dg), $g);
|
|
4087
4150
|
async function jg(t, s, e) {
|
|
4088
4151
|
if (s.store.getState().outboxReducer.deletedRequests.includes(t.payload.uuid))
|
|
4089
4152
|
throw new Error("Request was marked for deletion");
|
|
@@ -4116,10 +4179,10 @@ Retries:`,
|
|
|
4116
4179
|
t,
|
|
4117
4180
|
"(throwing immediately, which may lead to unexpected behavior)"
|
|
4118
4181
|
), t;
|
|
4119
|
-
const i =
|
|
4182
|
+
const i = kt(), a = i.getState().outboxReducer.deletedRequests, r = s.payload.uuid;
|
|
4120
4183
|
function c() {
|
|
4121
4184
|
i.dispatch(HO(r));
|
|
4122
|
-
const l =
|
|
4185
|
+
const l = At();
|
|
4123
4186
|
if (!l)
|
|
4124
4187
|
throw new Error("Outbox coordinator not set");
|
|
4125
4188
|
l.remove(s.payload.uuid);
|
|
@@ -4131,26 +4194,26 @@ Retries:`,
|
|
|
4131
4194
|
if (l || console.warn("Error has no status code:", t), l !== void 0 && lc.includes(l)) {
|
|
4132
4195
|
console.warn("Discarding request due to error:", t, `
|
|
4133
4196
|
Action:`, s);
|
|
4134
|
-
const m =
|
|
4197
|
+
const m = At();
|
|
4135
4198
|
if (!m)
|
|
4136
4199
|
throw new Error("Outbox coordinator not set");
|
|
4137
4200
|
m.remove(s.payload.uuid), t.options.discard = !0, c();
|
|
4138
4201
|
}
|
|
4139
4202
|
}
|
|
4140
4203
|
console.debug("Registering a retry for request:", s.payload.uuid);
|
|
4141
|
-
const o =
|
|
4204
|
+
const o = At();
|
|
4142
4205
|
if (!o)
|
|
4143
4206
|
throw new Error("Outbox coordinator not set");
|
|
4144
4207
|
return o.registerRetry(s.payload.uuid), !1;
|
|
4145
4208
|
}
|
|
4146
4209
|
function Wg(t, s, e) {
|
|
4147
4210
|
var i;
|
|
4148
|
-
return (i =
|
|
4211
|
+
return (i = At()) == null ? void 0 : i.peek();
|
|
4149
4212
|
}
|
|
4150
4213
|
function Cg(t, s) {
|
|
4151
|
-
return
|
|
4214
|
+
return kt().dispatch(GO((/* @__PURE__ */ new Date()).getTime())), Wc;
|
|
4152
4215
|
}
|
|
4153
|
-
const
|
|
4216
|
+
const It = "An unknown error occurred", Ug = 500, Gi = ["non_field_errors", "detail"];
|
|
4154
4217
|
function Lg(t, s) {
|
|
4155
4218
|
let e;
|
|
4156
4219
|
if (t != null && t.body)
|
|
@@ -4171,18 +4234,18 @@ function Lg(t, s) {
|
|
|
4171
4234
|
}
|
|
4172
4235
|
} else typeof t.body == "string" && (e = t.body);
|
|
4173
4236
|
else t != null && t.text ? e = t.text : s instanceof Error && (e = s.message);
|
|
4174
|
-
return !e || e.length > Ug ?
|
|
4237
|
+
return !e || e.length > Ug ? It : e;
|
|
4175
4238
|
}
|
|
4176
4239
|
class C extends Error {
|
|
4177
4240
|
constructor(e) {
|
|
4178
|
-
super(
|
|
4241
|
+
super(It);
|
|
4179
4242
|
// NOTE: Needs to conform to NetworkError in @redux-offline/redux-offline, which has `status` and `response`.
|
|
4180
4243
|
h(this, "status");
|
|
4181
4244
|
h(this, "response");
|
|
4182
4245
|
h(this, "message");
|
|
4183
4246
|
h(this, "options");
|
|
4184
4247
|
const { response: i, innerError: n } = e;
|
|
4185
|
-
this.message = e.message ?? Lg(i, n) ??
|
|
4248
|
+
this.message = e.message ?? Lg(i, n) ?? It, this.status = (i == null ? void 0 : i.status) ?? 0, this.response = i, e.discard = e.discard ?? !1, this.options = e;
|
|
4186
4249
|
}
|
|
4187
4250
|
}
|
|
4188
4251
|
function Ng(t) {
|
|
@@ -4201,14 +4264,14 @@ class Hg extends pc {
|
|
|
4201
4264
|
super(s);
|
|
4202
4265
|
}
|
|
4203
4266
|
}
|
|
4204
|
-
class
|
|
4267
|
+
class Ot extends pc {
|
|
4205
4268
|
constructor(e, i) {
|
|
4206
4269
|
super(e);
|
|
4207
4270
|
h(this, "auth");
|
|
4208
4271
|
this.auth = i;
|
|
4209
4272
|
}
|
|
4210
4273
|
}
|
|
4211
|
-
class
|
|
4274
|
+
class eM extends Ot {
|
|
4212
4275
|
async startConversation(s, e) {
|
|
4213
4276
|
return this.enqueueRequest({
|
|
4214
4277
|
description: "Start agent conversation",
|
|
@@ -4302,7 +4365,7 @@ function A(t, s, e) {
|
|
|
4302
4365
|
return `Delete ${i}`;
|
|
4303
4366
|
}
|
|
4304
4367
|
}
|
|
4305
|
-
class E extends
|
|
4368
|
+
class E extends Ot {
|
|
4306
4369
|
async get(s, e) {
|
|
4307
4370
|
return this.performRequest(
|
|
4308
4371
|
{
|
|
@@ -4332,7 +4395,7 @@ class E extends wt {
|
|
|
4332
4395
|
class $ extends E {
|
|
4333
4396
|
constructor() {
|
|
4334
4397
|
super(...arguments);
|
|
4335
|
-
h(this, "pageSize",
|
|
4398
|
+
h(this, "pageSize", Mg);
|
|
4336
4399
|
}
|
|
4337
4400
|
async add(e) {
|
|
4338
4401
|
const { addOne: i, updateOne: n, deleteOne: a } = this.actions;
|
|
@@ -4381,19 +4444,19 @@ class $ extends E {
|
|
|
4381
4444
|
async bulkAdd(e, i) {
|
|
4382
4445
|
const { addMany: n, updateMany: a, deleteMany: r } = this.actions, c = (/* @__PURE__ */ new Date()).toISOString(), o = [], d = /* @__PURE__ */ new Set(), l = ht(e, Math.min(i ?? e.length, lt)), m = [];
|
|
4383
4446
|
for (const v of l) {
|
|
4384
|
-
const k = [], R = {},
|
|
4447
|
+
const k = [], R = {}, F = [], D = [];
|
|
4385
4448
|
for (const q of v) {
|
|
4386
4449
|
let j;
|
|
4387
4450
|
if ("file" in q) {
|
|
4388
|
-
const { file:
|
|
4389
|
-
|
|
4390
|
-
const ws = URL.createObjectURL(
|
|
4451
|
+
const { file: Wt, ..._c } = q, mt = await this.client.files.getFilePayload(Wt);
|
|
4452
|
+
mt.sha1 in R || (R[mt.sha1] = mt);
|
|
4453
|
+
const ws = URL.createObjectURL(Wt);
|
|
4391
4454
|
d.add(ws), j = {
|
|
4392
4455
|
..._c,
|
|
4393
|
-
file_sha1:
|
|
4394
|
-
file_type:
|
|
4395
|
-
file_name:
|
|
4396
|
-
file_extension:
|
|
4456
|
+
file_sha1: mt.sha1,
|
|
4457
|
+
file_type: mt.file_type,
|
|
4458
|
+
file_name: Wt.name,
|
|
4459
|
+
file_extension: mt.extension,
|
|
4397
4460
|
file_url: ws
|
|
4398
4461
|
};
|
|
4399
4462
|
} else
|
|
@@ -4402,8 +4465,8 @@ class $ extends E {
|
|
|
4402
4465
|
o.push(B);
|
|
4403
4466
|
const U = this.buildBulkPayload(B);
|
|
4404
4467
|
k.push(U);
|
|
4405
|
-
const
|
|
4406
|
-
|
|
4468
|
+
const Pt = this.getBlockers(B);
|
|
4469
|
+
F.push(...Pt);
|
|
4407
4470
|
const Tc = this.getBlocks(B);
|
|
4408
4471
|
D.push(...Tc);
|
|
4409
4472
|
}
|
|
@@ -4411,14 +4474,14 @@ class $ extends E {
|
|
|
4411
4474
|
payloads: k,
|
|
4412
4475
|
submittedAt: c,
|
|
4413
4476
|
files: Object.values(R),
|
|
4414
|
-
blockers:
|
|
4477
|
+
blockers: F,
|
|
4415
4478
|
blocks: D
|
|
4416
4479
|
};
|
|
4417
4480
|
m.push(x);
|
|
4418
4481
|
}
|
|
4419
4482
|
this.dispatch(n(o));
|
|
4420
4483
|
const y = m.map((v) => {
|
|
4421
|
-
const { submittedAt: k, files: R, payloads:
|
|
4484
|
+
const { submittedAt: k, files: R, payloads: F, blocks: D, blockers: x } = v;
|
|
4422
4485
|
return this.enqueueRequest({
|
|
4423
4486
|
description: A(u.POST, this.name, !0),
|
|
4424
4487
|
method: u.POST,
|
|
@@ -4426,7 +4489,7 @@ class $ extends E {
|
|
|
4426
4489
|
payload: {
|
|
4427
4490
|
submitted_at: k,
|
|
4428
4491
|
files: R,
|
|
4429
|
-
payloads:
|
|
4492
|
+
payloads: F
|
|
4430
4493
|
},
|
|
4431
4494
|
blockers: x,
|
|
4432
4495
|
blocks: D
|
|
@@ -4444,8 +4507,8 @@ class $ extends E {
|
|
|
4444
4507
|
const w = Promise.all(y).then((v) => v.flatMap(({ instances: k }) => k)), P = Promise.all(y).then(async (v) => {
|
|
4445
4508
|
const k = [];
|
|
4446
4509
|
for (const { presigned_urls: R } of v) {
|
|
4447
|
-
const
|
|
4448
|
-
for (const [D, x] of Object.entries(
|
|
4510
|
+
const F = this.client.files.processPresignedUrls(R);
|
|
4511
|
+
for (const [D, x] of Object.entries(F))
|
|
4449
4512
|
try {
|
|
4450
4513
|
await x, k.push(D);
|
|
4451
4514
|
} catch (q) {
|
|
@@ -4474,7 +4537,7 @@ class $ extends E {
|
|
|
4474
4537
|
}
|
|
4475
4538
|
}
|
|
4476
4539
|
}
|
|
4477
|
-
class
|
|
4540
|
+
class tM extends $ {
|
|
4478
4541
|
constructor() {
|
|
4479
4542
|
super(...arguments);
|
|
4480
4543
|
h(this, "name", "Asset attachment");
|
|
@@ -4545,7 +4608,7 @@ class JM extends $ {
|
|
|
4545
4608
|
return this.dispatch(n(r)), r;
|
|
4546
4609
|
}
|
|
4547
4610
|
}
|
|
4548
|
-
class
|
|
4611
|
+
class sM extends $ {
|
|
4549
4612
|
constructor() {
|
|
4550
4613
|
super(...arguments);
|
|
4551
4614
|
h(this, "name", "Asset Procedure Attachment");
|
|
@@ -4558,7 +4621,7 @@ class ZM extends $ {
|
|
|
4558
4621
|
updateOne: go,
|
|
4559
4622
|
updateMany: ko,
|
|
4560
4623
|
deleteOne: Po,
|
|
4561
|
-
deleteMany:
|
|
4624
|
+
deleteMany: Fo,
|
|
4562
4625
|
initialize: Oo
|
|
4563
4626
|
});
|
|
4564
4627
|
h(this, "selectors", {
|
|
@@ -4620,7 +4683,7 @@ class ZM extends $ {
|
|
|
4620
4683
|
return this.dispatch(n(a)), a;
|
|
4621
4684
|
}
|
|
4622
4685
|
}
|
|
4623
|
-
class
|
|
4686
|
+
class iM extends $ {
|
|
4624
4687
|
constructor() {
|
|
4625
4688
|
super(...arguments);
|
|
4626
4689
|
h(this, "name", "Asset Procedure Type Fields Attachment");
|
|
@@ -4694,7 +4757,7 @@ class XM extends $ {
|
|
|
4694
4757
|
return this.dispatch(n(a)), a;
|
|
4695
4758
|
}
|
|
4696
4759
|
}
|
|
4697
|
-
class
|
|
4760
|
+
class nM extends E {
|
|
4698
4761
|
constructor() {
|
|
4699
4762
|
super(...arguments);
|
|
4700
4763
|
h(this, "name", "Asset Procedure Type Fields");
|
|
@@ -4727,7 +4790,7 @@ class eF extends E {
|
|
|
4727
4790
|
description: A(u.POST, this.name, !1),
|
|
4728
4791
|
method: u.POST,
|
|
4729
4792
|
url: `${this.url}/`,
|
|
4730
|
-
payload:
|
|
4793
|
+
payload: M(d),
|
|
4731
4794
|
blockers: [d.asset_procedure_type],
|
|
4732
4795
|
blocks: [d.uuid]
|
|
4733
4796
|
});
|
|
@@ -4749,7 +4812,7 @@ class eF extends E {
|
|
|
4749
4812
|
return this.dispatch(n(a)), a;
|
|
4750
4813
|
}
|
|
4751
4814
|
}
|
|
4752
|
-
class
|
|
4815
|
+
class aM extends $ {
|
|
4753
4816
|
constructor() {
|
|
4754
4817
|
super(...arguments);
|
|
4755
4818
|
h(this, "name", "Asset Procedure Type Field Values Attachment");
|
|
@@ -4840,7 +4903,7 @@ class tF extends $ {
|
|
|
4840
4903
|
return this.dispatch(n(r)), r;
|
|
4841
4904
|
}
|
|
4842
4905
|
}
|
|
4843
|
-
class
|
|
4906
|
+
class rM extends E {
|
|
4844
4907
|
constructor() {
|
|
4845
4908
|
super(...arguments);
|
|
4846
4909
|
h(this, "name", "Asset Procedure Type Field Values");
|
|
@@ -4857,8 +4920,8 @@ class sF extends E {
|
|
|
4857
4920
|
initialize: Sd
|
|
4858
4921
|
});
|
|
4859
4922
|
h(this, "selectors", {
|
|
4860
|
-
selectById:
|
|
4861
|
-
selectByIds:
|
|
4923
|
+
selectById: Fd,
|
|
4924
|
+
selectByIds: Md
|
|
4862
4925
|
});
|
|
4863
4926
|
}
|
|
4864
4927
|
add(e) {
|
|
@@ -4871,7 +4934,7 @@ class sF extends E {
|
|
|
4871
4934
|
description: A(u.POST, this.name, !1),
|
|
4872
4935
|
method: u.POST,
|
|
4873
4936
|
url: `${this.url}/`,
|
|
4874
|
-
payload:
|
|
4937
|
+
payload: M(l),
|
|
4875
4938
|
blockers: [e.asset, e.fields_revision, e.asset_procedure],
|
|
4876
4939
|
blocks: [l.uuid]
|
|
4877
4940
|
});
|
|
@@ -4886,19 +4949,19 @@ class sF extends E {
|
|
|
4886
4949
|
const { values: n, payloads: a } = e, { addMany: r, setMany: c, deleteMany: o } = this.actions, d = (/* @__PURE__ */ new Date()).toISOString(), l = ((v = this.client.store.getState().userReducer.currentUser) == null ? void 0 : v.id) ?? null, m = [], y = ht(a, Math.min(i ?? a.length, lt)), w = [];
|
|
4887
4950
|
for (const k of y) {
|
|
4888
4951
|
const R = [];
|
|
4889
|
-
for (const
|
|
4952
|
+
for (const F of k) {
|
|
4890
4953
|
const D = _({
|
|
4891
|
-
...
|
|
4892
|
-
values:
|
|
4954
|
+
...F,
|
|
4955
|
+
values: F.values,
|
|
4893
4956
|
created_by: l,
|
|
4894
4957
|
submitted_at: d
|
|
4895
4958
|
});
|
|
4896
4959
|
m.push(D), R.push({
|
|
4897
4960
|
uuid: D.uuid,
|
|
4898
|
-
asset:
|
|
4899
|
-
fields_revision:
|
|
4900
|
-
asset_procedure:
|
|
4901
|
-
published_at:
|
|
4961
|
+
asset: F.asset,
|
|
4962
|
+
fields_revision: F.fields_revision,
|
|
4963
|
+
asset_procedure: F.asset_procedure,
|
|
4964
|
+
published_at: F.published_at,
|
|
4902
4965
|
values: D.values
|
|
4903
4966
|
});
|
|
4904
4967
|
}
|
|
@@ -4911,12 +4974,12 @@ class sF extends E {
|
|
|
4911
4974
|
this.dispatch(r(m));
|
|
4912
4975
|
const P = [];
|
|
4913
4976
|
for (const k of w) {
|
|
4914
|
-
const { field_values: R } = k,
|
|
4977
|
+
const { field_values: R } = k, F = R.map(({ asset: B }) => B), D = R.map(({ fields_revision: B }) => B), x = R.map(({ asset_procedure: B }) => B), q = R.map(({ uuid: B }) => B), j = this.enqueueRequest({
|
|
4915
4978
|
description: A(u.POST, this.name, !0),
|
|
4916
4979
|
method: u.POST,
|
|
4917
4980
|
url: `${this.url}/bulk/`,
|
|
4918
4981
|
payload: k,
|
|
4919
|
-
blockers:
|
|
4982
|
+
blockers: F.concat(D).concat(x),
|
|
4920
4983
|
blocks: q
|
|
4921
4984
|
});
|
|
4922
4985
|
P.push(j);
|
|
@@ -4985,7 +5048,7 @@ class sF extends E {
|
|
|
4985
5048
|
return this.dispatch(n(r)), r;
|
|
4986
5049
|
}
|
|
4987
5050
|
}
|
|
4988
|
-
class
|
|
5051
|
+
class cM extends E {
|
|
4989
5052
|
constructor() {
|
|
4990
5053
|
super(...arguments);
|
|
4991
5054
|
h(this, "name", "Asset Procedure");
|
|
@@ -5018,7 +5081,7 @@ class iF extends E {
|
|
|
5018
5081
|
description: A(u.POST, this.name, !1),
|
|
5019
5082
|
method: u.POST,
|
|
5020
5083
|
url: `${this.url}/`,
|
|
5021
|
-
payload:
|
|
5084
|
+
payload: M(d),
|
|
5022
5085
|
blockers: [e.asset_procedure_type, e.asset_type],
|
|
5023
5086
|
blocks: [d.uuid]
|
|
5024
5087
|
});
|
|
@@ -5080,7 +5143,7 @@ class iF extends E {
|
|
|
5080
5143
|
return this.dispatch(n(r)), r;
|
|
5081
5144
|
}
|
|
5082
5145
|
}
|
|
5083
|
-
class
|
|
5146
|
+
class oM extends E {
|
|
5084
5147
|
constructor() {
|
|
5085
5148
|
super(...arguments);
|
|
5086
5149
|
h(this, "name", "Asset Procedure Type");
|
|
@@ -5113,7 +5176,7 @@ class nF extends E {
|
|
|
5113
5176
|
description: A(u.POST, this.name, !1),
|
|
5114
5177
|
method: u.POST,
|
|
5115
5178
|
url: `${this.url}/`,
|
|
5116
|
-
payload:
|
|
5179
|
+
payload: M(d),
|
|
5117
5180
|
blockers: [],
|
|
5118
5181
|
blocks: [d.uuid]
|
|
5119
5182
|
});
|
|
@@ -5176,7 +5239,7 @@ class nF extends E {
|
|
|
5176
5239
|
return this.dispatch(n(a)), a;
|
|
5177
5240
|
}
|
|
5178
5241
|
}
|
|
5179
|
-
class
|
|
5242
|
+
class dM extends $ {
|
|
5180
5243
|
constructor() {
|
|
5181
5244
|
super(...arguments);
|
|
5182
5245
|
h(this, "name", "Asset Procedure Step Fields Attachment");
|
|
@@ -5248,7 +5311,7 @@ class aF extends $ {
|
|
|
5248
5311
|
return this.dispatch(n(a)), a;
|
|
5249
5312
|
}
|
|
5250
5313
|
}
|
|
5251
|
-
class
|
|
5314
|
+
class uM extends E {
|
|
5252
5315
|
constructor() {
|
|
5253
5316
|
super(...arguments);
|
|
5254
5317
|
h(this, "name", "Asset Procedure Step Fields");
|
|
@@ -5281,7 +5344,7 @@ class rF extends E {
|
|
|
5281
5344
|
description: A(u.POST, this.name, !1),
|
|
5282
5345
|
method: u.POST,
|
|
5283
5346
|
url: `${this.url}/`,
|
|
5284
|
-
payload:
|
|
5347
|
+
payload: M(d),
|
|
5285
5348
|
blockers: [d.asset_procedure_step],
|
|
5286
5349
|
blocks: [d.uuid]
|
|
5287
5350
|
});
|
|
@@ -5343,16 +5406,16 @@ class rF extends E {
|
|
|
5343
5406
|
return this.dispatch(n(a)), a;
|
|
5344
5407
|
}
|
|
5345
5408
|
}
|
|
5346
|
-
class
|
|
5409
|
+
class lM extends $ {
|
|
5347
5410
|
constructor() {
|
|
5348
5411
|
super(...arguments);
|
|
5349
5412
|
h(this, "name", "Asset Procedure Step Field Values Attachment");
|
|
5350
5413
|
h(this, "url", "/asset-procedure-step-field-values-attachments");
|
|
5351
5414
|
h(this, "actions", {
|
|
5352
5415
|
addOne: Pu,
|
|
5353
|
-
addMany:
|
|
5354
|
-
setOne:
|
|
5355
|
-
setMany:
|
|
5416
|
+
addMany: Mn,
|
|
5417
|
+
setOne: Fu,
|
|
5418
|
+
setMany: Mu,
|
|
5356
5419
|
updateOne: Ru,
|
|
5357
5420
|
updateMany: Eu,
|
|
5358
5421
|
deleteOne: vu,
|
|
@@ -5434,7 +5497,7 @@ class cF extends $ {
|
|
|
5434
5497
|
return this.dispatch(n(r)), r;
|
|
5435
5498
|
}
|
|
5436
5499
|
}
|
|
5437
|
-
class
|
|
5500
|
+
class hM extends E {
|
|
5438
5501
|
constructor() {
|
|
5439
5502
|
super(...arguments);
|
|
5440
5503
|
h(this, "name", "Asset Procedure Step Field Values");
|
|
@@ -5465,7 +5528,7 @@ class oF extends E {
|
|
|
5465
5528
|
description: A(u.POST, this.name, !1),
|
|
5466
5529
|
method: u.POST,
|
|
5467
5530
|
url: `${this.url}/`,
|
|
5468
|
-
payload:
|
|
5531
|
+
payload: M(l),
|
|
5469
5532
|
blockers: [e.asset, e.fields_revision, e.asset_procedure],
|
|
5470
5533
|
blocks: [l.uuid]
|
|
5471
5534
|
});
|
|
@@ -5480,20 +5543,20 @@ class oF extends E {
|
|
|
5480
5543
|
const { payloads: n, values: a } = e, { addMany: r, setMany: c, deleteMany: o } = this.actions, d = (/* @__PURE__ */ new Date()).toISOString(), l = ((v = this.client.store.getState().userReducer.currentUser) == null ? void 0 : v.id) ?? null, m = [], y = ht(n, Math.min(i ?? n.length, lt)), w = [];
|
|
5481
5544
|
for (const k of y) {
|
|
5482
5545
|
const R = [];
|
|
5483
|
-
for (const
|
|
5546
|
+
for (const F of k) {
|
|
5484
5547
|
const D = _({
|
|
5485
|
-
...
|
|
5486
|
-
values:
|
|
5548
|
+
...F,
|
|
5549
|
+
values: F.values,
|
|
5487
5550
|
created_by: l,
|
|
5488
5551
|
submitted_at: d
|
|
5489
5552
|
});
|
|
5490
5553
|
m.push(D), R.push({
|
|
5491
5554
|
uuid: D.uuid,
|
|
5492
|
-
asset:
|
|
5493
|
-
fields_revision:
|
|
5494
|
-
asset_procedure:
|
|
5495
|
-
asset_procedure_step:
|
|
5496
|
-
published_at:
|
|
5555
|
+
asset: F.asset,
|
|
5556
|
+
fields_revision: F.fields_revision,
|
|
5557
|
+
asset_procedure: F.asset_procedure,
|
|
5558
|
+
asset_procedure_step: F.asset_procedure_step,
|
|
5559
|
+
published_at: F.published_at,
|
|
5497
5560
|
values: D.values
|
|
5498
5561
|
});
|
|
5499
5562
|
}
|
|
@@ -5506,12 +5569,12 @@ class oF extends E {
|
|
|
5506
5569
|
this.dispatch(r(m));
|
|
5507
5570
|
const P = [];
|
|
5508
5571
|
for (const k of w) {
|
|
5509
|
-
const { field_values: R } = k,
|
|
5572
|
+
const { field_values: R } = k, F = R.map(({ asset: B }) => B), D = R.map(({ fields_revision: B }) => B), x = R.map(({ asset_procedure: B }) => B), q = R.map(({ uuid: B }) => B), j = this.enqueueRequest({
|
|
5510
5573
|
description: A(u.POST, this.name, !0),
|
|
5511
5574
|
method: u.POST,
|
|
5512
5575
|
url: `${this.url}/bulk/`,
|
|
5513
5576
|
payload: k,
|
|
5514
|
-
blockers:
|
|
5577
|
+
blockers: F.concat(D).concat(x),
|
|
5515
5578
|
blocks: q
|
|
5516
5579
|
});
|
|
5517
5580
|
P.push(j);
|
|
@@ -5566,7 +5629,7 @@ class oF extends E {
|
|
|
5566
5629
|
blocks: []
|
|
5567
5630
|
});
|
|
5568
5631
|
} catch (l) {
|
|
5569
|
-
throw this.dispatch(a(o)), this.dispatch(
|
|
5632
|
+
throw this.dispatch(a(o)), this.dispatch(Mn(d)), l;
|
|
5570
5633
|
}
|
|
5571
5634
|
}
|
|
5572
5635
|
async refreshStore(e, i) {
|
|
@@ -5582,7 +5645,7 @@ class oF extends E {
|
|
|
5582
5645
|
return this.dispatch(n(r)), r;
|
|
5583
5646
|
}
|
|
5584
5647
|
}
|
|
5585
|
-
class
|
|
5648
|
+
class pM extends E {
|
|
5586
5649
|
constructor() {
|
|
5587
5650
|
super(...arguments);
|
|
5588
5651
|
h(this, "name", "Asset Procedure Step");
|
|
@@ -5615,7 +5678,7 @@ class dF extends E {
|
|
|
5615
5678
|
description: A(u.POST, this.name, !1),
|
|
5616
5679
|
method: u.POST,
|
|
5617
5680
|
url: `${this.url}/`,
|
|
5618
|
-
payload:
|
|
5681
|
+
payload: M(d),
|
|
5619
5682
|
blockers: [d.asset_procedure_type],
|
|
5620
5683
|
blocks: [d.uuid]
|
|
5621
5684
|
});
|
|
@@ -5681,7 +5744,7 @@ class dF extends E {
|
|
|
5681
5744
|
return this.dispatch(n(a)), a;
|
|
5682
5745
|
}
|
|
5683
5746
|
}
|
|
5684
|
-
class
|
|
5747
|
+
class mM extends E {
|
|
5685
5748
|
constructor() {
|
|
5686
5749
|
super(...arguments);
|
|
5687
5750
|
h(this, "url", "/assets");
|
|
@@ -5714,7 +5777,7 @@ class uF extends E {
|
|
|
5714
5777
|
description: A(u.POST, this.name, !1),
|
|
5715
5778
|
method: u.POST,
|
|
5716
5779
|
url: `${this.url}/`,
|
|
5717
|
-
payload:
|
|
5780
|
+
payload: M(d),
|
|
5718
5781
|
blockers: [d.asset_type],
|
|
5719
5782
|
blocks: [d.uuid]
|
|
5720
5783
|
});
|
|
@@ -5751,7 +5814,7 @@ class uF extends E {
|
|
|
5751
5814
|
const { store: i } = this.client, { addOne: n, deleteOne: a } = this.actions, { selectById: r } = this.selectors, c = i.getState(), o = r(e)(c);
|
|
5752
5815
|
if (!o) throw new Error(`No asset with uuid ${e} found in the store`);
|
|
5753
5816
|
const d = Ao(e)(c), l = Kf(e)(c);
|
|
5754
|
-
this.dispatch(a(e)), this.dispatch(cn(V(d))), this.dispatch(
|
|
5817
|
+
this.dispatch(a(e)), this.dispatch(cn(V(d))), this.dispatch(St(V(l)));
|
|
5755
5818
|
try {
|
|
5756
5819
|
return await this.enqueueRequest({
|
|
5757
5820
|
description: A(u.DELETE, this.name, !1),
|
|
@@ -5761,7 +5824,7 @@ class uF extends E {
|
|
|
5761
5824
|
blocks: []
|
|
5762
5825
|
});
|
|
5763
5826
|
} catch (m) {
|
|
5764
|
-
throw this.dispatch(n(o)), this.dispatch(rn(d)), this.dispatch(
|
|
5827
|
+
throw this.dispatch(n(o)), this.dispatch(rn(d)), this.dispatch(ft(l)), m;
|
|
5765
5828
|
}
|
|
5766
5829
|
}
|
|
5767
5830
|
bulkAdd(e, i) {
|
|
@@ -5781,7 +5844,7 @@ class uF extends E {
|
|
|
5781
5844
|
}), o = [];
|
|
5782
5845
|
let d = null;
|
|
5783
5846
|
for (const l of c) {
|
|
5784
|
-
const { batchId: m, payload: y } = l, w = y.assets.map(({ uuid:
|
|
5847
|
+
const { batchId: m, payload: y } = l, w = y.assets.map(({ uuid: F }) => F), P = y.assets.map(({ asset_type: F }) => F), v = y.assets.map(({ project: F }) => F), k = y.assets.map(({ status: F }) => F), R = this.enqueueRequest({
|
|
5785
5848
|
description: A(u.POST, this.name, !0),
|
|
5786
5849
|
method: u.POST,
|
|
5787
5850
|
url: `${this.url}/bulk/`,
|
|
@@ -5797,7 +5860,7 @@ class uF extends E {
|
|
|
5797
5860
|
}), o;
|
|
5798
5861
|
}
|
|
5799
5862
|
bulkUpdate(e, i) {
|
|
5800
|
-
const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: r } = this.selectors, c = V(e).toSorted(
|
|
5863
|
+
const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: r } = this.selectors, c = V(e).toSorted(Yt);
|
|
5801
5864
|
if (c.length !== e.length)
|
|
5802
5865
|
throw new Error("payloads contains duplicate uuids.");
|
|
5803
5866
|
const o = r(c)(n.getState()).toSorted(Xi);
|
|
@@ -5815,7 +5878,7 @@ class uF extends E {
|
|
|
5815
5878
|
const l = ht(e, Math.min(i ?? e.length, lt)), m = [];
|
|
5816
5879
|
let y = null;
|
|
5817
5880
|
for (const w of l) {
|
|
5818
|
-
const P = ut(), v = V(w), k = w.map(({ status:
|
|
5881
|
+
const P = ut(), v = V(w), k = w.map(({ status: F }) => F).filter(Boolean), R = this.enqueueRequest({
|
|
5819
5882
|
description: A(u.PATCH, this.name, !0),
|
|
5820
5883
|
method: u.PATCH,
|
|
5821
5884
|
url: `${this.url}/bulk/`,
|
|
@@ -5861,7 +5924,7 @@ class uF extends E {
|
|
|
5861
5924
|
return this.dispatch(n(r)), r;
|
|
5862
5925
|
}
|
|
5863
5926
|
}
|
|
5864
|
-
class
|
|
5927
|
+
class yM extends E {
|
|
5865
5928
|
constructor() {
|
|
5866
5929
|
super(...arguments);
|
|
5867
5930
|
h(this, "name", "Asset Stage Completion");
|
|
@@ -5872,8 +5935,8 @@ class lF extends E {
|
|
|
5872
5935
|
setOne: gl,
|
|
5873
5936
|
setMany: kl,
|
|
5874
5937
|
updateOne: Pl,
|
|
5875
|
-
updateMany:
|
|
5876
|
-
deleteOne:
|
|
5938
|
+
updateMany: Fl,
|
|
5939
|
+
deleteOne: Ml,
|
|
5877
5940
|
deleteMany: Rl,
|
|
5878
5941
|
initialize: _l
|
|
5879
5942
|
});
|
|
@@ -5894,7 +5957,7 @@ class lF extends E {
|
|
|
5894
5957
|
description: A(u.POST, this.name, !1),
|
|
5895
5958
|
method: u.POST,
|
|
5896
5959
|
url: `${this.url}/`,
|
|
5897
|
-
payload:
|
|
5960
|
+
payload: M(d),
|
|
5898
5961
|
blockers: [e.asset, e.asset_stage],
|
|
5899
5962
|
blocks: [d.uuid]
|
|
5900
5963
|
});
|
|
@@ -5978,7 +6041,7 @@ class lF extends E {
|
|
|
5978
6041
|
return this.dispatch(n(r)), r;
|
|
5979
6042
|
}
|
|
5980
6043
|
}
|
|
5981
|
-
class
|
|
6044
|
+
class fM extends E {
|
|
5982
6045
|
constructor() {
|
|
5983
6046
|
super(...arguments);
|
|
5984
6047
|
h(this, "name", "Asset Stage");
|
|
@@ -6011,7 +6074,7 @@ class hF extends E {
|
|
|
6011
6074
|
description: A(u.POST, this.name, !1),
|
|
6012
6075
|
method: u.POST,
|
|
6013
6076
|
url: `${this.url}/`,
|
|
6014
|
-
payload:
|
|
6077
|
+
payload: M(d),
|
|
6015
6078
|
blockers: [d.asset_procedure_type],
|
|
6016
6079
|
blocks: [d.uuid]
|
|
6017
6080
|
});
|
|
@@ -6071,7 +6134,7 @@ class hF extends E {
|
|
|
6071
6134
|
return this.dispatch(n(a)), a;
|
|
6072
6135
|
}
|
|
6073
6136
|
}
|
|
6074
|
-
class
|
|
6137
|
+
class SM extends $ {
|
|
6075
6138
|
constructor() {
|
|
6076
6139
|
super(...arguments);
|
|
6077
6140
|
h(this, "name", "Asset Type Attachment");
|
|
@@ -6141,7 +6204,7 @@ class pF extends $ {
|
|
|
6141
6204
|
return this.dispatch(n(a)), a;
|
|
6142
6205
|
}
|
|
6143
6206
|
}
|
|
6144
|
-
class
|
|
6207
|
+
class AM extends $ {
|
|
6145
6208
|
constructor() {
|
|
6146
6209
|
super(...arguments);
|
|
6147
6210
|
h(this, "name", "Asset Type Fields Attachment");
|
|
@@ -6215,7 +6278,7 @@ class mF extends $ {
|
|
|
6215
6278
|
return this.dispatch(n(a)), a;
|
|
6216
6279
|
}
|
|
6217
6280
|
}
|
|
6218
|
-
class
|
|
6281
|
+
class wM extends E {
|
|
6219
6282
|
constructor() {
|
|
6220
6283
|
super(...arguments);
|
|
6221
6284
|
h(this, "name", "Asset Type Fields");
|
|
@@ -6232,7 +6295,7 @@ class yF extends E {
|
|
|
6232
6295
|
initialize: wh
|
|
6233
6296
|
});
|
|
6234
6297
|
h(this, "selectors", {
|
|
6235
|
-
selectById:
|
|
6298
|
+
selectById: Mh,
|
|
6236
6299
|
selectByIds: Rh
|
|
6237
6300
|
});
|
|
6238
6301
|
}
|
|
@@ -6248,7 +6311,7 @@ class yF extends E {
|
|
|
6248
6311
|
description: A(u.POST, this.name, !1),
|
|
6249
6312
|
method: u.POST,
|
|
6250
6313
|
url: `${this.url}/`,
|
|
6251
|
-
payload:
|
|
6314
|
+
payload: M(d),
|
|
6252
6315
|
blockers: [d.asset_type],
|
|
6253
6316
|
blocks: [d.uuid]
|
|
6254
6317
|
});
|
|
@@ -6270,7 +6333,7 @@ class yF extends E {
|
|
|
6270
6333
|
return this.dispatch(n(a)), a;
|
|
6271
6334
|
}
|
|
6272
6335
|
}
|
|
6273
|
-
class
|
|
6336
|
+
class OM extends $ {
|
|
6274
6337
|
constructor() {
|
|
6275
6338
|
super(...arguments);
|
|
6276
6339
|
h(this, "name", "Asset Type Field Values Attachment");
|
|
@@ -6361,7 +6424,7 @@ class fF extends $ {
|
|
|
6361
6424
|
return this.dispatch(n(r)), r;
|
|
6362
6425
|
}
|
|
6363
6426
|
}
|
|
6364
|
-
class
|
|
6427
|
+
class TM extends E {
|
|
6365
6428
|
constructor() {
|
|
6366
6429
|
super(...arguments);
|
|
6367
6430
|
h(this, "name", "Asset Type Field Values");
|
|
@@ -6392,7 +6455,7 @@ class SF extends E {
|
|
|
6392
6455
|
description: A(u.POST, this.name, !1),
|
|
6393
6456
|
method: u.POST,
|
|
6394
6457
|
url: `${this.url}/`,
|
|
6395
|
-
payload:
|
|
6458
|
+
payload: M(l),
|
|
6396
6459
|
blockers: [e.asset, e.fields_revision],
|
|
6397
6460
|
blocks: [l.uuid]
|
|
6398
6461
|
});
|
|
@@ -6408,18 +6471,18 @@ class SF extends E {
|
|
|
6408
6471
|
for (const v of m) {
|
|
6409
6472
|
const k = [];
|
|
6410
6473
|
for (const R of v) {
|
|
6411
|
-
const
|
|
6474
|
+
const F = _({
|
|
6412
6475
|
...R,
|
|
6413
6476
|
values: R.values,
|
|
6414
6477
|
created_by: ((P = this.client.store.getState().userReducer.currentUser) == null ? void 0 : P.id) ?? null,
|
|
6415
6478
|
submitted_at: d
|
|
6416
6479
|
});
|
|
6417
|
-
l.push(
|
|
6418
|
-
uuid:
|
|
6480
|
+
l.push(F), k.push({
|
|
6481
|
+
uuid: F.uuid,
|
|
6419
6482
|
asset: R.asset,
|
|
6420
6483
|
fields_revision: R.fields_revision,
|
|
6421
6484
|
published_at: R.published_at,
|
|
6422
|
-
values:
|
|
6485
|
+
values: F.values
|
|
6423
6486
|
});
|
|
6424
6487
|
}
|
|
6425
6488
|
y.push({
|
|
@@ -6431,12 +6494,12 @@ class SF extends E {
|
|
|
6431
6494
|
this.dispatch(r(l));
|
|
6432
6495
|
const w = [];
|
|
6433
6496
|
for (const v of y) {
|
|
6434
|
-
const { field_values: k } = v, R = k.map(({ asset: q }) => q),
|
|
6497
|
+
const { field_values: k } = v, R = k.map(({ asset: q }) => q), F = k.map(({ fields_revision: q }) => q), D = k.map(({ uuid: q }) => q), x = this.enqueueRequest({
|
|
6435
6498
|
description: A(u.POST, this.name, !0),
|
|
6436
6499
|
method: u.POST,
|
|
6437
6500
|
url: `${this.url}/bulk/`,
|
|
6438
6501
|
payload: v,
|
|
6439
|
-
blockers: R.concat(
|
|
6502
|
+
blockers: R.concat(F),
|
|
6440
6503
|
blocks: D
|
|
6441
6504
|
});
|
|
6442
6505
|
w.push(x);
|
|
@@ -6505,7 +6568,7 @@ class SF extends E {
|
|
|
6505
6568
|
return this.dispatch(n(r)), r;
|
|
6506
6569
|
}
|
|
6507
6570
|
}
|
|
6508
|
-
class
|
|
6571
|
+
class _M extends E {
|
|
6509
6572
|
constructor() {
|
|
6510
6573
|
super(...arguments);
|
|
6511
6574
|
h(this, "name", "Asset Type Identifier");
|
|
@@ -6538,7 +6601,7 @@ class AF extends E {
|
|
|
6538
6601
|
description: A(u.POST, this.name, !1),
|
|
6539
6602
|
method: u.POST,
|
|
6540
6603
|
url: `${this.url}/`,
|
|
6541
|
-
payload:
|
|
6604
|
+
payload: M(d),
|
|
6542
6605
|
blockers: [d.asset_type],
|
|
6543
6606
|
blocks: [d.uuid]
|
|
6544
6607
|
});
|
|
@@ -6600,7 +6663,7 @@ class AF extends E {
|
|
|
6600
6663
|
return this.dispatch(n(a)), a;
|
|
6601
6664
|
}
|
|
6602
6665
|
}
|
|
6603
|
-
class
|
|
6666
|
+
class IM extends E {
|
|
6604
6667
|
constructor() {
|
|
6605
6668
|
super(...arguments);
|
|
6606
6669
|
h(this, "name", "Asset Type Identifier Value");
|
|
@@ -6633,7 +6696,7 @@ class wF extends E {
|
|
|
6633
6696
|
description: A(u.POST, this.name, !1),
|
|
6634
6697
|
method: u.POST,
|
|
6635
6698
|
url: `${this.url}/`,
|
|
6636
|
-
payload:
|
|
6699
|
+
payload: M(d),
|
|
6637
6700
|
blockers: [e.asset, e.asset_type_identifier],
|
|
6638
6701
|
blocks: [d.uuid]
|
|
6639
6702
|
});
|
|
@@ -6647,7 +6710,7 @@ class wF extends E {
|
|
|
6647
6710
|
var v;
|
|
6648
6711
|
const { store: n } = this.client, { addMany: a, updateMany: r, deleteMany: c } = this.actions, o = (/* @__PURE__ */ new Date()).toISOString(), d = ((v = n.getState().userReducer.currentUser) == null ? void 0 : v.id) ?? null, l = ht(e, Math.min(i ?? e.length, lt)), m = [], y = [];
|
|
6649
6712
|
for (const k of l) {
|
|
6650
|
-
const R = [],
|
|
6713
|
+
const R = [], F = [], D = [];
|
|
6651
6714
|
for (const q of k) {
|
|
6652
6715
|
const j = _({
|
|
6653
6716
|
...q,
|
|
@@ -6661,25 +6724,25 @@ class wF extends E {
|
|
|
6661
6724
|
asset_type_identifier: j.asset_type_identifier,
|
|
6662
6725
|
value: j.value
|
|
6663
6726
|
};
|
|
6664
|
-
R.push(B),
|
|
6727
|
+
R.push(B), F.push(j.asset), F.push(j.asset_type_identifier), D.push(j.uuid);
|
|
6665
6728
|
}
|
|
6666
6729
|
const x = {
|
|
6667
6730
|
payloads: R,
|
|
6668
6731
|
submitted_at: o,
|
|
6669
|
-
blockers:
|
|
6732
|
+
blockers: F,
|
|
6670
6733
|
blocks: D
|
|
6671
6734
|
};
|
|
6672
6735
|
m.push(x);
|
|
6673
6736
|
}
|
|
6674
6737
|
this.dispatch(a(y));
|
|
6675
6738
|
const w = m.map((k) => {
|
|
6676
|
-
const { payloads: R, submitted_at:
|
|
6739
|
+
const { payloads: R, submitted_at: F, blockers: D, blocks: x } = k;
|
|
6677
6740
|
return this.enqueueRequest({
|
|
6678
6741
|
description: A(u.POST, this.name, !0),
|
|
6679
6742
|
method: u.POST,
|
|
6680
6743
|
url: `${this.url}/bulk/`,
|
|
6681
6744
|
payload: {
|
|
6682
|
-
submitted_at:
|
|
6745
|
+
submitted_at: F,
|
|
6683
6746
|
payloads: R
|
|
6684
6747
|
},
|
|
6685
6748
|
blockers: D,
|
|
@@ -6724,7 +6787,7 @@ class wF extends E {
|
|
|
6724
6787
|
return this.dispatch(n(r)), r;
|
|
6725
6788
|
}
|
|
6726
6789
|
}
|
|
6727
|
-
class
|
|
6790
|
+
class bM extends E {
|
|
6728
6791
|
constructor() {
|
|
6729
6792
|
super(...arguments);
|
|
6730
6793
|
h(this, "name", "Asset Type");
|
|
@@ -6738,7 +6801,7 @@ class OF extends E {
|
|
|
6738
6801
|
updateMany: zp,
|
|
6739
6802
|
deleteOne: qp,
|
|
6740
6803
|
deleteMany: Dp,
|
|
6741
|
-
initialize:
|
|
6804
|
+
initialize: Mp
|
|
6742
6805
|
});
|
|
6743
6806
|
h(this, "selectors", {
|
|
6744
6807
|
selectById: jp,
|
|
@@ -6757,7 +6820,7 @@ class OF extends E {
|
|
|
6757
6820
|
description: A(u.POST, this.name, !1),
|
|
6758
6821
|
method: u.POST,
|
|
6759
6822
|
url: `${this.url}/`,
|
|
6760
|
-
payload:
|
|
6823
|
+
payload: M(d),
|
|
6761
6824
|
blockers: [],
|
|
6762
6825
|
blocks: [d.uuid]
|
|
6763
6826
|
});
|
|
@@ -6820,7 +6883,7 @@ class OF extends E {
|
|
|
6820
6883
|
return this.dispatch(n(a)), a;
|
|
6821
6884
|
}
|
|
6822
6885
|
}
|
|
6823
|
-
class
|
|
6886
|
+
class gM extends E {
|
|
6824
6887
|
constructor() {
|
|
6825
6888
|
super(...arguments);
|
|
6826
6889
|
h(this, "name", "Asset Type Status");
|
|
@@ -6853,7 +6916,7 @@ class TF extends E {
|
|
|
6853
6916
|
description: A(u.POST, this.name, !1),
|
|
6854
6917
|
method: u.POST,
|
|
6855
6918
|
url: `${this.url}/`,
|
|
6856
|
-
payload:
|
|
6919
|
+
payload: M(d),
|
|
6857
6920
|
blockers: [e.asset_type],
|
|
6858
6921
|
blocks: [d.uuid]
|
|
6859
6922
|
});
|
|
@@ -6912,7 +6975,7 @@ class TF extends E {
|
|
|
6912
6975
|
return this.dispatch(n(a)), a;
|
|
6913
6976
|
}
|
|
6914
6977
|
}
|
|
6915
|
-
class
|
|
6978
|
+
class kM extends $ {
|
|
6916
6979
|
constructor() {
|
|
6917
6980
|
super(...arguments);
|
|
6918
6981
|
h(this, "name", "Document Attachment");
|
|
@@ -7012,7 +7075,7 @@ class _F extends $ {
|
|
|
7012
7075
|
return this.dispatch(n(o)), o;
|
|
7013
7076
|
}
|
|
7014
7077
|
}
|
|
7015
|
-
class
|
|
7078
|
+
class PM extends E {
|
|
7016
7079
|
constructor() {
|
|
7017
7080
|
super(...arguments);
|
|
7018
7081
|
h(this, "name", "Document");
|
|
@@ -7045,7 +7108,7 @@ class IF extends E {
|
|
|
7045
7108
|
description: A(u.POST, this.name, !1),
|
|
7046
7109
|
method: u.POST,
|
|
7047
7110
|
url: `${this.url}/`,
|
|
7048
|
-
payload:
|
|
7111
|
+
payload: M(d),
|
|
7049
7112
|
blockers: d.parent_document ? [d.parent_document] : [],
|
|
7050
7113
|
blocks: [d.uuid]
|
|
7051
7114
|
});
|
|
@@ -7084,7 +7147,7 @@ class IF extends E {
|
|
|
7084
7147
|
const { store: i } = this.client, { deleteOne: n, addOne: a, addMany: r, deleteMany: c } = this.actions, { selectById: o } = this.selectors, d = i.getState(), l = o(e)(d);
|
|
7085
7148
|
if (!l)
|
|
7086
7149
|
throw new Error(`attempting to delete a document with uuid ${e} that does not exist in store.documents`);
|
|
7087
|
-
const m =
|
|
7150
|
+
const m = Fm(e)(d);
|
|
7088
7151
|
this.dispatch(n(e)), this.dispatch(c(V(m)));
|
|
7089
7152
|
try {
|
|
7090
7153
|
return await this.enqueueRequest({
|
|
@@ -7117,7 +7180,7 @@ class IF extends E {
|
|
|
7117
7180
|
return this.dispatch(n(o)), o;
|
|
7118
7181
|
}
|
|
7119
7182
|
}
|
|
7120
|
-
class
|
|
7183
|
+
class gt extends Ot {
|
|
7121
7184
|
async get(s, e) {
|
|
7122
7185
|
return this.performRequest(
|
|
7123
7186
|
{
|
|
@@ -7144,7 +7207,7 @@ class It extends wt {
|
|
|
7144
7207
|
);
|
|
7145
7208
|
}
|
|
7146
7209
|
}
|
|
7147
|
-
class
|
|
7210
|
+
class FM extends gt {
|
|
7148
7211
|
constructor() {
|
|
7149
7212
|
super(...arguments);
|
|
7150
7213
|
h(this, "name", "Email Domains");
|
|
@@ -7158,7 +7221,7 @@ class bF extends It {
|
|
|
7158
7221
|
updateMany: zm,
|
|
7159
7222
|
deleteOne: qm,
|
|
7160
7223
|
deleteMany: Dm,
|
|
7161
|
-
initialize:
|
|
7224
|
+
initialize: Mm
|
|
7162
7225
|
});
|
|
7163
7226
|
h(this, "selectors", {
|
|
7164
7227
|
selectById: jm,
|
|
@@ -7202,7 +7265,7 @@ class bF extends It {
|
|
|
7202
7265
|
return this.dispatch(n(a)), a;
|
|
7203
7266
|
}
|
|
7204
7267
|
}
|
|
7205
|
-
class
|
|
7268
|
+
class MM extends Ot {
|
|
7206
7269
|
async getVerificationCode(s) {
|
|
7207
7270
|
return this.enqueueRequest({
|
|
7208
7271
|
description: "Get verification code",
|
|
@@ -7225,8 +7288,8 @@ class gF extends wt {
|
|
|
7225
7288
|
});
|
|
7226
7289
|
}
|
|
7227
7290
|
}
|
|
7228
|
-
const
|
|
7229
|
-
class
|
|
7291
|
+
const Tt = {}, Ut = /* @__PURE__ */ new Set();
|
|
7292
|
+
class RM extends Ot {
|
|
7230
7293
|
constructor() {
|
|
7231
7294
|
super(...arguments);
|
|
7232
7295
|
h(this, "host");
|
|
@@ -7252,13 +7315,13 @@ class kF extends wt {
|
|
|
7252
7315
|
throw new Error(`Cant add a file without a type to cache: ${e.name}`);
|
|
7253
7316
|
if (!e.size)
|
|
7254
7317
|
throw new Error(`Cant add an empty file to cache: ${e.name}`);
|
|
7255
|
-
const i = await
|
|
7256
|
-
if (
|
|
7318
|
+
const i = await Ct(e);
|
|
7319
|
+
if (Ut.has(i)) return;
|
|
7257
7320
|
const n = await this.getDB();
|
|
7258
|
-
!!await n.get("files", i) ? console.warn(`Attempting to add a file already cached, ${e.name}`) : await n.put("files", e, i),
|
|
7321
|
+
!!await n.get("files", i) ? console.warn(`Attempting to add a file already cached, ${e.name}`) : await n.put("files", e, i), Ut.add(i);
|
|
7259
7322
|
}
|
|
7260
7323
|
async removeCache(e) {
|
|
7261
|
-
await (await this.getDB()).delete("files", e),
|
|
7324
|
+
await (await this.getDB()).delete("files", e), Ut.delete(e);
|
|
7262
7325
|
}
|
|
7263
7326
|
async fetchCache(e) {
|
|
7264
7327
|
return (await this.getDB()).get("files", e);
|
|
@@ -7277,7 +7340,7 @@ class kF extends wt {
|
|
|
7277
7340
|
const a = e.split("?")[0] ?? e, r = await this.fetchCache(i);
|
|
7278
7341
|
if (r) return r;
|
|
7279
7342
|
let c;
|
|
7280
|
-
a in
|
|
7343
|
+
a in Tt ? c = Tt[a] : Qc(e) ? (c = Yc(e, n), Tt[a] = c) : (c = new Promise((l) => {
|
|
7281
7344
|
this.performRequest({
|
|
7282
7345
|
method: u.GET,
|
|
7283
7346
|
url: e,
|
|
@@ -7290,14 +7353,14 @@ class kF extends wt {
|
|
|
7290
7353
|
const y = new File([m], n, { type: m.type });
|
|
7291
7354
|
l(y);
|
|
7292
7355
|
});
|
|
7293
|
-
}),
|
|
7356
|
+
}), Tt[a] = c);
|
|
7294
7357
|
let o;
|
|
7295
7358
|
try {
|
|
7296
7359
|
o = await c;
|
|
7297
7360
|
} catch (l) {
|
|
7298
|
-
throw l instanceof C && delete
|
|
7361
|
+
throw l instanceof C && delete Tt[a], l;
|
|
7299
7362
|
}
|
|
7300
|
-
const d = await
|
|
7363
|
+
const d = await Ct(o);
|
|
7301
7364
|
if (d !== i) {
|
|
7302
7365
|
const l = `The hash of the file returned from the server (${d}) does not match the
|
|
7303
7366
|
expected hash (${i}). This can happen if you're using a local development server and the
|
|
@@ -7337,7 +7400,7 @@ class kF extends wt {
|
|
|
7337
7400
|
}
|
|
7338
7401
|
async getFilePayload(e) {
|
|
7339
7402
|
const n = {
|
|
7340
|
-
sha1: await
|
|
7403
|
+
sha1: await Ct(e),
|
|
7341
7404
|
file_type: e.type,
|
|
7342
7405
|
extension: Gc(e),
|
|
7343
7406
|
size: e.size
|
|
@@ -7345,7 +7408,7 @@ class kF extends wt {
|
|
|
7345
7408
|
return await this.client.files.addCache(e), n;
|
|
7346
7409
|
}
|
|
7347
7410
|
}
|
|
7348
|
-
class
|
|
7411
|
+
class EM extends E {
|
|
7349
7412
|
constructor() {
|
|
7350
7413
|
super(...arguments);
|
|
7351
7414
|
h(this, "name", "Form Identifier");
|
|
@@ -7378,7 +7441,7 @@ class PF extends E {
|
|
|
7378
7441
|
description: A(u.POST, this.name, !1),
|
|
7379
7442
|
method: u.POST,
|
|
7380
7443
|
url: `${this.url}/`,
|
|
7381
|
-
payload:
|
|
7444
|
+
payload: M(d),
|
|
7382
7445
|
blockers: [d.form],
|
|
7383
7446
|
blocks: [d.uuid]
|
|
7384
7447
|
});
|
|
@@ -7440,7 +7503,7 @@ class PF extends E {
|
|
|
7440
7503
|
return this.dispatch(n(a)), a;
|
|
7441
7504
|
}
|
|
7442
7505
|
}
|
|
7443
|
-
class
|
|
7506
|
+
class vM extends E {
|
|
7444
7507
|
constructor() {
|
|
7445
7508
|
super(...arguments);
|
|
7446
7509
|
h(this, "name", "Form Identifier Value");
|
|
@@ -7473,7 +7536,7 @@ class MF extends E {
|
|
|
7473
7536
|
description: A(u.POST, this.name, !1),
|
|
7474
7537
|
method: u.POST,
|
|
7475
7538
|
url: `${this.url}/`,
|
|
7476
|
-
payload:
|
|
7539
|
+
payload: M(d),
|
|
7477
7540
|
blockers: [e.form_submission, e.form_identifier],
|
|
7478
7541
|
blocks: [d.uuid]
|
|
7479
7542
|
});
|
|
@@ -7513,7 +7576,7 @@ class MF extends E {
|
|
|
7513
7576
|
return this.dispatch(n(r)), r;
|
|
7514
7577
|
}
|
|
7515
7578
|
}
|
|
7516
|
-
class
|
|
7579
|
+
class BM extends $ {
|
|
7517
7580
|
constructor() {
|
|
7518
7581
|
super(...arguments);
|
|
7519
7582
|
h(this, "name", "Form Revision Attachment");
|
|
@@ -7587,7 +7650,7 @@ class FF extends $ {
|
|
|
7587
7650
|
return this.dispatch(n(a)), a;
|
|
7588
7651
|
}
|
|
7589
7652
|
}
|
|
7590
|
-
class
|
|
7653
|
+
class VM extends E {
|
|
7591
7654
|
constructor() {
|
|
7592
7655
|
super(...arguments);
|
|
7593
7656
|
h(this, "name", "Form Revision");
|
|
@@ -7601,7 +7664,7 @@ class RF extends E {
|
|
|
7601
7664
|
updateMany: By,
|
|
7602
7665
|
deleteOne: _a,
|
|
7603
7666
|
deleteMany: Ia,
|
|
7604
|
-
initialize:
|
|
7667
|
+
initialize: My
|
|
7605
7668
|
});
|
|
7606
7669
|
h(this, "selectors", {
|
|
7607
7670
|
selectById: Vy,
|
|
@@ -7620,7 +7683,7 @@ class RF extends E {
|
|
|
7620
7683
|
description: A(u.POST, this.name, !1),
|
|
7621
7684
|
method: u.POST,
|
|
7622
7685
|
url: `${this.url}/`,
|
|
7623
|
-
payload:
|
|
7686
|
+
payload: M(l),
|
|
7624
7687
|
blockers: [e.form],
|
|
7625
7688
|
blocks: [l.uuid]
|
|
7626
7689
|
});
|
|
@@ -7642,7 +7705,7 @@ class RF extends E {
|
|
|
7642
7705
|
return this.dispatch(n(a)), a;
|
|
7643
7706
|
}
|
|
7644
7707
|
}
|
|
7645
|
-
class
|
|
7708
|
+
class zM extends E {
|
|
7646
7709
|
constructor() {
|
|
7647
7710
|
super(...arguments);
|
|
7648
7711
|
h(this, "name", "Form");
|
|
@@ -7681,7 +7744,7 @@ class EF extends E {
|
|
|
7681
7744
|
method: u.POST,
|
|
7682
7745
|
url: `${this.url}/`,
|
|
7683
7746
|
payload: {
|
|
7684
|
-
...
|
|
7747
|
+
...M(d),
|
|
7685
7748
|
initial_revision: {
|
|
7686
7749
|
uuid: l.uuid,
|
|
7687
7750
|
submitted_at: l.submitted_at,
|
|
@@ -7727,20 +7790,20 @@ class EF extends E {
|
|
|
7727
7790
|
return this.dispatch(n(a)), a;
|
|
7728
7791
|
}
|
|
7729
7792
|
}
|
|
7730
|
-
class
|
|
7793
|
+
class qM extends $ {
|
|
7731
7794
|
constructor() {
|
|
7732
7795
|
super(...arguments);
|
|
7733
7796
|
h(this, "name", "Form Submission Attachment");
|
|
7734
7797
|
h(this, "url", "/form-submission-attachments");
|
|
7735
7798
|
h(this, "actions", {
|
|
7736
7799
|
addOne: Zy,
|
|
7737
|
-
addMany:
|
|
7800
|
+
addMany: Fa,
|
|
7738
7801
|
setOne: Xy,
|
|
7739
7802
|
setMany: ef,
|
|
7740
7803
|
updateOne: tf,
|
|
7741
7804
|
updateMany: sf,
|
|
7742
7805
|
deleteOne: nf,
|
|
7743
|
-
deleteMany:
|
|
7806
|
+
deleteMany: Ma,
|
|
7744
7807
|
initialize: Jy
|
|
7745
7808
|
});
|
|
7746
7809
|
h(this, "selectors", {
|
|
@@ -7817,7 +7880,7 @@ class vF extends $ {
|
|
|
7817
7880
|
return this.dispatch(n(r)), r;
|
|
7818
7881
|
}
|
|
7819
7882
|
}
|
|
7820
|
-
class
|
|
7883
|
+
class DM extends E {
|
|
7821
7884
|
constructor() {
|
|
7822
7885
|
super(...arguments);
|
|
7823
7886
|
h(this, "name", "Form Submission");
|
|
@@ -7848,7 +7911,7 @@ class BF extends E {
|
|
|
7848
7911
|
description: A(u.POST, this.name, !1),
|
|
7849
7912
|
method: u.POST,
|
|
7850
7913
|
url: `${this.url}/`,
|
|
7851
|
-
payload:
|
|
7914
|
+
payload: M(l),
|
|
7852
7915
|
blockers: [e.form_revision],
|
|
7853
7916
|
blocks: [l.uuid]
|
|
7854
7917
|
});
|
|
@@ -7886,7 +7949,7 @@ class BF extends E {
|
|
|
7886
7949
|
if (!o)
|
|
7887
7950
|
throw new Error(`Expected submission with uuid ${e} to exist`);
|
|
7888
7951
|
const d = cf(e)(c);
|
|
7889
|
-
this.dispatch(n(e)), this.dispatch(
|
|
7952
|
+
this.dispatch(n(e)), this.dispatch(Ma(V(d)));
|
|
7890
7953
|
try {
|
|
7891
7954
|
return await this.enqueueRequest({
|
|
7892
7955
|
description: A(u.DELETE, this.name, !1),
|
|
@@ -7896,7 +7959,7 @@ class BF extends E {
|
|
|
7896
7959
|
blocks: []
|
|
7897
7960
|
});
|
|
7898
7961
|
} catch (l) {
|
|
7899
|
-
throw this.dispatch(a(o)), this.dispatch(
|
|
7962
|
+
throw this.dispatch(a(o)), this.dispatch(Fa(d)), l;
|
|
7900
7963
|
}
|
|
7901
7964
|
}
|
|
7902
7965
|
async refreshStore(e, i) {
|
|
@@ -7913,7 +7976,7 @@ class BF extends E {
|
|
|
7913
7976
|
return this.dispatch(n(r)), r;
|
|
7914
7977
|
}
|
|
7915
7978
|
}
|
|
7916
|
-
class
|
|
7979
|
+
class $M extends $ {
|
|
7917
7980
|
constructor() {
|
|
7918
7981
|
super(...arguments);
|
|
7919
7982
|
h(this, "name", "Geo Image");
|
|
@@ -7925,8 +7988,8 @@ class VF extends $ {
|
|
|
7925
7988
|
setMany: If,
|
|
7926
7989
|
updateOne: kf,
|
|
7927
7990
|
updateMany: Pf,
|
|
7928
|
-
deleteOne:
|
|
7929
|
-
deleteMany:
|
|
7991
|
+
deleteOne: Ff,
|
|
7992
|
+
deleteMany: Mf,
|
|
7930
7993
|
initialize: Tf
|
|
7931
7994
|
});
|
|
7932
7995
|
h(this, "selectors", {
|
|
@@ -8015,20 +8078,20 @@ class VF extends $ {
|
|
|
8015
8078
|
return this.dispatch(n(a)), a;
|
|
8016
8079
|
}
|
|
8017
8080
|
}
|
|
8018
|
-
class
|
|
8081
|
+
class jM extends E {
|
|
8019
8082
|
constructor() {
|
|
8020
8083
|
super(...arguments);
|
|
8021
8084
|
h(this, "name", "Issue Association");
|
|
8022
8085
|
h(this, "url", "/issue-associations");
|
|
8023
8086
|
h(this, "actions", {
|
|
8024
8087
|
addOne: jf,
|
|
8025
|
-
addMany:
|
|
8088
|
+
addMany: ft,
|
|
8026
8089
|
setOne: qf,
|
|
8027
8090
|
setMany: zf,
|
|
8028
8091
|
updateOne: Df,
|
|
8029
8092
|
updateMany: $f,
|
|
8030
8093
|
deleteOne: xf,
|
|
8031
|
-
deleteMany:
|
|
8094
|
+
deleteMany: St,
|
|
8032
8095
|
initialize: Vf
|
|
8033
8096
|
});
|
|
8034
8097
|
h(this, "selectors", {
|
|
@@ -8048,7 +8111,7 @@ class zF extends E {
|
|
|
8048
8111
|
description: A(u.POST, this.name, !1),
|
|
8049
8112
|
method: u.POST,
|
|
8050
8113
|
url: `${this.url}/`,
|
|
8051
|
-
payload:
|
|
8114
|
+
payload: M(d),
|
|
8052
8115
|
blockers: [
|
|
8053
8116
|
e.associated_issue,
|
|
8054
8117
|
...e.issue ? [e.issue] : [],
|
|
@@ -8091,7 +8154,7 @@ class zF extends E {
|
|
|
8091
8154
|
return this.dispatch(n(r)), r;
|
|
8092
8155
|
}
|
|
8093
8156
|
}
|
|
8094
|
-
class
|
|
8157
|
+
class xM extends $ {
|
|
8095
8158
|
constructor() {
|
|
8096
8159
|
super(...arguments);
|
|
8097
8160
|
h(this, "name", "Issue Attachment");
|
|
@@ -8161,7 +8224,7 @@ class qF extends $ {
|
|
|
8161
8224
|
return this.dispatch(n(r)), r;
|
|
8162
8225
|
}
|
|
8163
8226
|
}
|
|
8164
|
-
class
|
|
8227
|
+
class WM extends $ {
|
|
8165
8228
|
constructor() {
|
|
8166
8229
|
super(...arguments);
|
|
8167
8230
|
h(this, "name", "Issue Comment Attachment");
|
|
@@ -8231,7 +8294,7 @@ class DF extends $ {
|
|
|
8231
8294
|
return this.dispatch(n(r)), r;
|
|
8232
8295
|
}
|
|
8233
8296
|
}
|
|
8234
|
-
class
|
|
8297
|
+
class CM extends E {
|
|
8235
8298
|
constructor() {
|
|
8236
8299
|
super(...arguments);
|
|
8237
8300
|
h(this, "name", "Issue Comment");
|
|
@@ -8243,8 +8306,8 @@ class $F extends E {
|
|
|
8243
8306
|
setMany: gS,
|
|
8244
8307
|
updateOne: kS,
|
|
8245
8308
|
updateMany: PS,
|
|
8246
|
-
deleteOne:
|
|
8247
|
-
deleteMany:
|
|
8309
|
+
deleteOne: FS,
|
|
8310
|
+
deleteMany: MS,
|
|
8248
8311
|
initialize: TS
|
|
8249
8312
|
});
|
|
8250
8313
|
h(this, "selectors", {
|
|
@@ -8263,7 +8326,7 @@ class $F extends E {
|
|
|
8263
8326
|
description: A(u.POST, this.name, !1),
|
|
8264
8327
|
method: u.POST,
|
|
8265
8328
|
url: `${this.url}/`,
|
|
8266
|
-
payload:
|
|
8329
|
+
payload: M(c),
|
|
8267
8330
|
blockers: [e.issue],
|
|
8268
8331
|
blocks: [c.uuid]
|
|
8269
8332
|
});
|
|
@@ -8325,7 +8388,7 @@ class $F extends E {
|
|
|
8325
8388
|
return this.dispatch(n(r)), r;
|
|
8326
8389
|
}
|
|
8327
8390
|
}
|
|
8328
|
-
class
|
|
8391
|
+
class UM extends E {
|
|
8329
8392
|
constructor() {
|
|
8330
8393
|
super(...arguments);
|
|
8331
8394
|
h(this, "name", "Issue");
|
|
@@ -8358,7 +8421,7 @@ class jF extends E {
|
|
|
8358
8421
|
description: A(u.POST, this.name, !1),
|
|
8359
8422
|
method: u.POST,
|
|
8360
8423
|
url: `${this.url}/`,
|
|
8361
|
-
payload:
|
|
8424
|
+
payload: M(l),
|
|
8362
8425
|
blockers: [l.project, l.issue_type, l.status],
|
|
8363
8426
|
blocks: [l.uuid]
|
|
8364
8427
|
});
|
|
@@ -8414,7 +8477,7 @@ class jF extends E {
|
|
|
8414
8477
|
if (w === null)
|
|
8415
8478
|
o[y] = null;
|
|
8416
8479
|
else {
|
|
8417
|
-
const P =
|
|
8480
|
+
const P = ps(w)(a);
|
|
8418
8481
|
if (!P)
|
|
8419
8482
|
throw new Error(`Trying to update assigned to with ${w} which does not exist in store.`);
|
|
8420
8483
|
o[y] = {
|
|
@@ -8447,7 +8510,7 @@ class jF extends E {
|
|
|
8447
8510
|
}), [c, l];
|
|
8448
8511
|
}
|
|
8449
8512
|
bulkUpdate(e, i) {
|
|
8450
|
-
const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: r } = this.selectors, c = V(e).toSorted(
|
|
8513
|
+
const { store: n } = this.client, { updateMany: a } = this.actions, { selectByIds: r } = this.selectors, c = V(e).toSorted(Yt);
|
|
8451
8514
|
if (c.length !== e.length)
|
|
8452
8515
|
throw new Error("payloads contains duplicate uuids.");
|
|
8453
8516
|
const o = r(c)(n.getState()).toSorted(Xi);
|
|
@@ -8465,7 +8528,7 @@ class jF extends E {
|
|
|
8465
8528
|
const l = ht(e, Math.min(i ?? e.length, lt)), m = [];
|
|
8466
8529
|
let y = null;
|
|
8467
8530
|
for (const w of l) {
|
|
8468
|
-
const P = ut(), v = V(w), k = w.map(({ status:
|
|
8531
|
+
const P = ut(), v = V(w), k = w.map(({ status: F }) => F).filter(Boolean), R = this.enqueueRequest({
|
|
8469
8532
|
description: A(u.PATCH, this.name, !0),
|
|
8470
8533
|
method: u.PATCH,
|
|
8471
8534
|
url: `${this.url}/bulk/`,
|
|
@@ -8488,7 +8551,7 @@ class jF extends E {
|
|
|
8488
8551
|
if (!o)
|
|
8489
8552
|
throw new Error(`No issue with uuid ${e} found in the store`);
|
|
8490
8553
|
const d = Lf(e)(c), l = Gf(e)(c), m = nS(e)(c), y = aO(e)(c);
|
|
8491
|
-
this.dispatch(n(e)), this.dispatch(Ca(V(m))), this.dispatch(wr(V(y))), this.dispatch(
|
|
8554
|
+
this.dispatch(n(e)), this.dispatch(Ca(V(m))), this.dispatch(wr(V(y))), this.dispatch(St(V(d))), this.dispatch(St(V(l)));
|
|
8492
8555
|
try {
|
|
8493
8556
|
return await this.enqueueRequest({
|
|
8494
8557
|
description: A(u.DELETE, this.name, !1),
|
|
@@ -8498,12 +8561,12 @@ class jF extends E {
|
|
|
8498
8561
|
blocks: []
|
|
8499
8562
|
});
|
|
8500
8563
|
} catch (w) {
|
|
8501
|
-
throw this.dispatch(a(o)), this.dispatch(Wa(m)), this.dispatch(Sr(y)), this.dispatch(
|
|
8564
|
+
throw this.dispatch(a(o)), this.dispatch(Wa(m)), this.dispatch(Sr(y)), this.dispatch(ft(d)), this.dispatch(ft(l)), w;
|
|
8502
8565
|
}
|
|
8503
8566
|
}
|
|
8504
8567
|
async bulkDelete(e) {
|
|
8505
8568
|
const { store: i } = this.client, { addMany: n, deleteMany: a } = this.actions, { selectByIds: r } = this.selectors, c = i.getState(), o = r(e)(c), d = Nf(e)(c), l = Hf(e)(c);
|
|
8506
|
-
this.dispatch(a(e)), this.dispatch(
|
|
8569
|
+
this.dispatch(a(e)), this.dispatch(St(V(d))), this.dispatch(St(V(l)));
|
|
8507
8570
|
try {
|
|
8508
8571
|
return await this.enqueueRequest({
|
|
8509
8572
|
description: A(u.DELETE, this.name, !0),
|
|
@@ -8514,7 +8577,7 @@ class jF extends E {
|
|
|
8514
8577
|
blocks: []
|
|
8515
8578
|
});
|
|
8516
8579
|
} catch (m) {
|
|
8517
|
-
throw this.dispatch(n(o)), this.dispatch(
|
|
8580
|
+
throw this.dispatch(n(o)), this.dispatch(ft(d)), this.dispatch(ft(l)), m;
|
|
8518
8581
|
}
|
|
8519
8582
|
}
|
|
8520
8583
|
async refreshStore(e, i) {
|
|
@@ -8529,7 +8592,7 @@ class jF extends E {
|
|
|
8529
8592
|
return this.dispatch(n(r)), r;
|
|
8530
8593
|
}
|
|
8531
8594
|
}
|
|
8532
|
-
class
|
|
8595
|
+
class LM extends $ {
|
|
8533
8596
|
constructor() {
|
|
8534
8597
|
super(...arguments);
|
|
8535
8598
|
h(this, "name", "Issue Type Attachment");
|
|
@@ -8599,7 +8662,7 @@ class xF extends $ {
|
|
|
8599
8662
|
return this.dispatch(n(a)), a;
|
|
8600
8663
|
}
|
|
8601
8664
|
}
|
|
8602
|
-
class
|
|
8665
|
+
class NM extends $ {
|
|
8603
8666
|
constructor() {
|
|
8604
8667
|
super(...arguments);
|
|
8605
8668
|
h(this, "name", "Issue Type Fields Attachment");
|
|
@@ -8673,7 +8736,7 @@ class WF extends $ {
|
|
|
8673
8736
|
return this.dispatch(n(a)), a;
|
|
8674
8737
|
}
|
|
8675
8738
|
}
|
|
8676
|
-
class
|
|
8739
|
+
class HM extends E {
|
|
8677
8740
|
constructor() {
|
|
8678
8741
|
super(...arguments);
|
|
8679
8742
|
h(this, "name", "Issue Type Fields");
|
|
@@ -8706,7 +8769,7 @@ class CF extends E {
|
|
|
8706
8769
|
description: A(u.POST, this.name, !1),
|
|
8707
8770
|
method: u.POST,
|
|
8708
8771
|
url: `${this.url}/`,
|
|
8709
|
-
payload:
|
|
8772
|
+
payload: M(d),
|
|
8710
8773
|
blockers: [d.issue_type],
|
|
8711
8774
|
blocks: [d.uuid]
|
|
8712
8775
|
});
|
|
@@ -8728,7 +8791,7 @@ class CF extends E {
|
|
|
8728
8791
|
return this.dispatch(n(a)), a;
|
|
8729
8792
|
}
|
|
8730
8793
|
}
|
|
8731
|
-
class
|
|
8794
|
+
class GM extends $ {
|
|
8732
8795
|
constructor() {
|
|
8733
8796
|
super(...arguments);
|
|
8734
8797
|
h(this, "name", "Issue Type Field Values Attachment");
|
|
@@ -8819,7 +8882,7 @@ class UF extends $ {
|
|
|
8819
8882
|
return this.dispatch(n(r)), r;
|
|
8820
8883
|
}
|
|
8821
8884
|
}
|
|
8822
|
-
class
|
|
8885
|
+
class KM extends E {
|
|
8823
8886
|
constructor() {
|
|
8824
8887
|
super(...arguments);
|
|
8825
8888
|
h(this, "name", "Issue Type Field Values");
|
|
@@ -8837,7 +8900,7 @@ class LF extends E {
|
|
|
8837
8900
|
});
|
|
8838
8901
|
h(this, "selectors", {
|
|
8839
8902
|
selectById: PA,
|
|
8840
|
-
selectByIds:
|
|
8903
|
+
selectByIds: FA
|
|
8841
8904
|
});
|
|
8842
8905
|
}
|
|
8843
8906
|
add(e) {
|
|
@@ -8850,7 +8913,7 @@ class LF extends E {
|
|
|
8850
8913
|
description: A(u.POST, this.name, !1),
|
|
8851
8914
|
method: u.POST,
|
|
8852
8915
|
url: `${this.url}/`,
|
|
8853
|
-
payload:
|
|
8916
|
+
payload: M(l),
|
|
8854
8917
|
blockers: [e.issue, e.fields_revision],
|
|
8855
8918
|
blocks: [l.uuid]
|
|
8856
8919
|
});
|
|
@@ -8918,7 +8981,7 @@ class LF extends E {
|
|
|
8918
8981
|
return this.dispatch(n(r)), r;
|
|
8919
8982
|
}
|
|
8920
8983
|
}
|
|
8921
|
-
class
|
|
8984
|
+
class YM extends E {
|
|
8922
8985
|
constructor() {
|
|
8923
8986
|
super(...arguments);
|
|
8924
8987
|
h(this, "name", "Issue Type Identifier");
|
|
@@ -8951,7 +9014,7 @@ class NF extends E {
|
|
|
8951
9014
|
description: A(u.POST, this.name, !1),
|
|
8952
9015
|
method: u.POST,
|
|
8953
9016
|
url: `${this.url}/`,
|
|
8954
|
-
payload:
|
|
9017
|
+
payload: M(d),
|
|
8955
9018
|
blockers: [d.issue_type],
|
|
8956
9019
|
blocks: [d.uuid]
|
|
8957
9020
|
});
|
|
@@ -9013,7 +9076,7 @@ class NF extends E {
|
|
|
9013
9076
|
return this.dispatch(n(a)), a;
|
|
9014
9077
|
}
|
|
9015
9078
|
}
|
|
9016
|
-
class
|
|
9079
|
+
class QM extends E {
|
|
9017
9080
|
constructor() {
|
|
9018
9081
|
super(...arguments);
|
|
9019
9082
|
h(this, "name", "Issue Type Identifier Value");
|
|
@@ -9046,7 +9109,7 @@ class HF extends E {
|
|
|
9046
9109
|
description: A(u.POST, this.name, !1),
|
|
9047
9110
|
method: u.POST,
|
|
9048
9111
|
url: `${this.url}/`,
|
|
9049
|
-
payload:
|
|
9112
|
+
payload: M(d),
|
|
9050
9113
|
blockers: [e.issue, e.issue_type_identifier],
|
|
9051
9114
|
blocks: [d.uuid]
|
|
9052
9115
|
});
|
|
@@ -9086,14 +9149,14 @@ class HF extends E {
|
|
|
9086
9149
|
return this.dispatch(n(r)), r;
|
|
9087
9150
|
}
|
|
9088
9151
|
}
|
|
9089
|
-
class
|
|
9152
|
+
class JM extends E {
|
|
9090
9153
|
constructor() {
|
|
9091
9154
|
super(...arguments);
|
|
9092
9155
|
h(this, "name", "Issue Type");
|
|
9093
9156
|
h(this, "url", "/issue-types");
|
|
9094
9157
|
h(this, "actions", {
|
|
9095
|
-
addOne:
|
|
9096
|
-
addMany:
|
|
9158
|
+
addOne: Fw,
|
|
9159
|
+
addMany: Mw,
|
|
9097
9160
|
setOne: Rw,
|
|
9098
9161
|
setMany: Ew,
|
|
9099
9162
|
updateOne: vw,
|
|
@@ -9118,7 +9181,7 @@ class GF extends E {
|
|
|
9118
9181
|
const m = this.enqueueRequest({
|
|
9119
9182
|
method: u.POST,
|
|
9120
9183
|
url: `${this.url}/`,
|
|
9121
|
-
payload:
|
|
9184
|
+
payload: M(l),
|
|
9122
9185
|
blockers: [],
|
|
9123
9186
|
blocks: [l.uuid]
|
|
9124
9187
|
});
|
|
@@ -9180,7 +9243,7 @@ class GF extends E {
|
|
|
9180
9243
|
return this.dispatch(n(a)), a;
|
|
9181
9244
|
}
|
|
9182
9245
|
}
|
|
9183
|
-
class
|
|
9246
|
+
class ZM extends E {
|
|
9184
9247
|
constructor() {
|
|
9185
9248
|
super(...arguments);
|
|
9186
9249
|
h(this, "name", "Issue Type Status");
|
|
@@ -9213,7 +9276,7 @@ class KF extends E {
|
|
|
9213
9276
|
description: A(u.POST, this.name, !1),
|
|
9214
9277
|
method: u.POST,
|
|
9215
9278
|
url: `${this.url}/`,
|
|
9216
|
-
payload:
|
|
9279
|
+
payload: M(d),
|
|
9217
9280
|
blockers: [e.issue_type],
|
|
9218
9281
|
blocks: [d.uuid]
|
|
9219
9282
|
});
|
|
@@ -9272,7 +9335,7 @@ class KF extends E {
|
|
|
9272
9335
|
return this.dispatch(n(a)), a;
|
|
9273
9336
|
}
|
|
9274
9337
|
}
|
|
9275
|
-
class
|
|
9338
|
+
class XM extends E {
|
|
9276
9339
|
constructor() {
|
|
9277
9340
|
super(...arguments);
|
|
9278
9341
|
h(this, "name", "Issue Update");
|
|
@@ -9311,7 +9374,7 @@ function Kg(t) {
|
|
|
9311
9374
|
if (!t.refresh) throw new Error("Missing refresh token");
|
|
9312
9375
|
return { accessToken: t.access, refreshToken: t.refresh };
|
|
9313
9376
|
}
|
|
9314
|
-
class
|
|
9377
|
+
class eR extends Hg {
|
|
9315
9378
|
constructor() {
|
|
9316
9379
|
super(...arguments);
|
|
9317
9380
|
// _getTokenPair and _getRenewedTokens don't need to use enqueueRequest from the BaseApiService because
|
|
@@ -9388,7 +9451,7 @@ class QF extends Hg {
|
|
|
9388
9451
|
try {
|
|
9389
9452
|
await this.renewTokens();
|
|
9390
9453
|
} catch (e) {
|
|
9391
|
-
return e instanceof C && this.clearAuth(), e instanceof Error ? Promise.reject(e) : Promise.reject(new Error((e ??
|
|
9454
|
+
return e instanceof C && this.clearAuth(), e instanceof Error ? Promise.reject(e) : Promise.reject(new Error((e ?? It).toString()));
|
|
9392
9455
|
}
|
|
9393
9456
|
}
|
|
9394
9457
|
}
|
|
@@ -9424,7 +9487,7 @@ class QF extends Hg {
|
|
|
9424
9487
|
});
|
|
9425
9488
|
}
|
|
9426
9489
|
}
|
|
9427
|
-
class
|
|
9490
|
+
class tR extends gt {
|
|
9428
9491
|
constructor() {
|
|
9429
9492
|
super(...arguments);
|
|
9430
9493
|
h(this, "name", "Organization Access");
|
|
@@ -9442,7 +9505,7 @@ class JF extends It {
|
|
|
9442
9505
|
});
|
|
9443
9506
|
h(this, "selectors", {
|
|
9444
9507
|
selectById: PO,
|
|
9445
|
-
selectByIds:
|
|
9508
|
+
selectByIds: FO
|
|
9446
9509
|
});
|
|
9447
9510
|
}
|
|
9448
9511
|
// TODO: add method when support for displaying an invited user
|
|
@@ -9467,7 +9530,7 @@ class JF extends It {
|
|
|
9467
9530
|
}), [c, o];
|
|
9468
9531
|
}
|
|
9469
9532
|
async delete(e) {
|
|
9470
|
-
const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: r } = this.selectors, c = i.getState(), o = r(e)(c), d =
|
|
9533
|
+
const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: r } = this.selectors, c = i.getState(), o = r(e)(c), d = ps(o.user)(c);
|
|
9471
9534
|
this.dispatch(n(o.uuid)), this.dispatch(br(o.user));
|
|
9472
9535
|
try {
|
|
9473
9536
|
return await this.enqueueRequest({
|
|
@@ -9493,7 +9556,7 @@ class JF extends It {
|
|
|
9493
9556
|
return this.dispatch(n(a)), a;
|
|
9494
9557
|
}
|
|
9495
9558
|
}
|
|
9496
|
-
class
|
|
9559
|
+
class sR extends gt {
|
|
9497
9560
|
constructor() {
|
|
9498
9561
|
super(...arguments);
|
|
9499
9562
|
h(this, "name", "Organization");
|
|
@@ -9550,7 +9613,7 @@ class ZF extends It {
|
|
|
9550
9613
|
return this.dispatch(i(n)), n;
|
|
9551
9614
|
}
|
|
9552
9615
|
}
|
|
9553
|
-
class
|
|
9616
|
+
class iR extends E {
|
|
9554
9617
|
constructor() {
|
|
9555
9618
|
super(...arguments);
|
|
9556
9619
|
h(this, "name", "Project Access");
|
|
@@ -9582,7 +9645,7 @@ class XF extends E {
|
|
|
9582
9645
|
description: A(u.POST, this.name, !1),
|
|
9583
9646
|
method: u.POST,
|
|
9584
9647
|
url: `${this.url}/`,
|
|
9585
|
-
payload:
|
|
9648
|
+
payload: M(c),
|
|
9586
9649
|
blockers: [c.organization_access, c.project],
|
|
9587
9650
|
blocks: [c.uuid]
|
|
9588
9651
|
});
|
|
@@ -9600,7 +9663,7 @@ class XF extends E {
|
|
|
9600
9663
|
description: A(u.POST, this.name, !0),
|
|
9601
9664
|
method: u.POST,
|
|
9602
9665
|
url: `${this.url}/bulk/`,
|
|
9603
|
-
payload: { project_accesses: o.map((m) =>
|
|
9666
|
+
payload: { project_accesses: o.map((m) => M(m)) },
|
|
9604
9667
|
blockers: o.flatMap((m) => [
|
|
9605
9668
|
m.project,
|
|
9606
9669
|
m.organization_access
|
|
@@ -9660,7 +9723,7 @@ class XF extends E {
|
|
|
9660
9723
|
return this.dispatch(n(a)), a;
|
|
9661
9724
|
}
|
|
9662
9725
|
}
|
|
9663
|
-
class
|
|
9726
|
+
class nR extends $ {
|
|
9664
9727
|
constructor() {
|
|
9665
9728
|
super(...arguments);
|
|
9666
9729
|
h(this, "name", "Project Attachment");
|
|
@@ -9730,7 +9793,7 @@ class eR extends $ {
|
|
|
9730
9793
|
return this.dispatch(n(a)), a;
|
|
9731
9794
|
}
|
|
9732
9795
|
}
|
|
9733
|
-
class
|
|
9796
|
+
class aR extends $ {
|
|
9734
9797
|
constructor() {
|
|
9735
9798
|
super(...arguments);
|
|
9736
9799
|
h(this, "name", "Project File");
|
|
@@ -9743,7 +9806,7 @@ class tR extends $ {
|
|
|
9743
9806
|
updateOne: gT,
|
|
9744
9807
|
updateMany: kT,
|
|
9745
9808
|
deleteOne: PT,
|
|
9746
|
-
deleteMany:
|
|
9809
|
+
deleteMany: FT,
|
|
9747
9810
|
initialize: OT
|
|
9748
9811
|
});
|
|
9749
9812
|
h(this, "selectors", {
|
|
@@ -9826,7 +9889,7 @@ class tR extends $ {
|
|
|
9826
9889
|
return this.dispatch(n(r)), r;
|
|
9827
9890
|
}
|
|
9828
9891
|
}
|
|
9829
|
-
class
|
|
9892
|
+
class rR extends gt {
|
|
9830
9893
|
constructor() {
|
|
9831
9894
|
super(...arguments);
|
|
9832
9895
|
h(this, "name", "Project");
|
|
@@ -9851,7 +9914,7 @@ class sR extends It {
|
|
|
9851
9914
|
const { addOne: i } = this.actions, n = await this.performRequest({
|
|
9852
9915
|
method: u.POST,
|
|
9853
9916
|
url: `${this.url}/`,
|
|
9854
|
-
payload:
|
|
9917
|
+
payload: M(e)
|
|
9855
9918
|
});
|
|
9856
9919
|
return this.dispatch(i(n)), n;
|
|
9857
9920
|
}
|
|
@@ -9859,7 +9922,7 @@ class sR extends It {
|
|
|
9859
9922
|
const { updateOne: i } = this.actions, n = await this.performRequest({
|
|
9860
9923
|
method: u.PATCH,
|
|
9861
9924
|
url: `${this.url}/${e.uuid}/`,
|
|
9862
|
-
payload:
|
|
9925
|
+
payload: M(e)
|
|
9863
9926
|
});
|
|
9864
9927
|
return this.dispatch(i(n)), n;
|
|
9865
9928
|
}
|
|
@@ -9885,7 +9948,7 @@ class sR extends It {
|
|
|
9885
9948
|
return this.dispatch(n(a)), a;
|
|
9886
9949
|
}
|
|
9887
9950
|
}
|
|
9888
|
-
class
|
|
9951
|
+
class cR extends E {
|
|
9889
9952
|
constructor() {
|
|
9890
9953
|
super(...arguments);
|
|
9891
9954
|
h(this, "name", "Team Membership");
|
|
@@ -9917,7 +9980,7 @@ class iR extends E {
|
|
|
9917
9980
|
description: A(u.POST, this.name, !1),
|
|
9918
9981
|
method: u.POST,
|
|
9919
9982
|
url: `${this.url}/`,
|
|
9920
|
-
payload:
|
|
9983
|
+
payload: M(c),
|
|
9921
9984
|
blockers: [e.team],
|
|
9922
9985
|
blocks: [c.uuid]
|
|
9923
9986
|
});
|
|
@@ -9935,7 +9998,7 @@ class iR extends E {
|
|
|
9935
9998
|
description: A(u.POST, this.name, !0),
|
|
9936
9999
|
method: u.POST,
|
|
9937
10000
|
url: `${this.url}/bulk/`,
|
|
9938
|
-
payload: { team_memberships: o.map((m) =>
|
|
10001
|
+
payload: { team_memberships: o.map((m) => M(m)) },
|
|
9939
10002
|
blockers: o.map((m) => m.team),
|
|
9940
10003
|
blocks: o.map((m) => m.uuid)
|
|
9941
10004
|
});
|
|
@@ -9974,7 +10037,7 @@ class iR extends E {
|
|
|
9974
10037
|
return this.dispatch(n(a)), a;
|
|
9975
10038
|
}
|
|
9976
10039
|
}
|
|
9977
|
-
class
|
|
10040
|
+
class oR extends E {
|
|
9978
10041
|
constructor() {
|
|
9979
10042
|
super(...arguments);
|
|
9980
10043
|
h(this, "name", "Team");
|
|
@@ -10007,7 +10070,7 @@ class nR extends E {
|
|
|
10007
10070
|
description: A(u.POST, this.name, !1),
|
|
10008
10071
|
method: u.POST,
|
|
10009
10072
|
url: `${this.url}/`,
|
|
10010
|
-
payload:
|
|
10073
|
+
payload: M(c),
|
|
10011
10074
|
blockers: [],
|
|
10012
10075
|
blocks: [c.uuid]
|
|
10013
10076
|
});
|
|
@@ -10030,7 +10093,7 @@ class nR extends E {
|
|
|
10030
10093
|
description: A(u.PATCH, this.name, !1),
|
|
10031
10094
|
method: u.PATCH,
|
|
10032
10095
|
url: `${this.url}/${e.uuid}/`,
|
|
10033
|
-
payload:
|
|
10096
|
+
payload: M(e),
|
|
10034
10097
|
blockers: [e.uuid],
|
|
10035
10098
|
blocks: [e.uuid]
|
|
10036
10099
|
});
|
|
@@ -10069,7 +10132,7 @@ class nR extends E {
|
|
|
10069
10132
|
return this.dispatch(n(a)), a;
|
|
10070
10133
|
}
|
|
10071
10134
|
}
|
|
10072
|
-
class
|
|
10135
|
+
class dR extends gt {
|
|
10073
10136
|
constructor() {
|
|
10074
10137
|
super(...arguments);
|
|
10075
10138
|
h(this, "name", "User");
|
|
@@ -10086,7 +10149,7 @@ class aR extends It {
|
|
|
10086
10149
|
initialize: cO
|
|
10087
10150
|
});
|
|
10088
10151
|
h(this, "selectors", {
|
|
10089
|
-
selectById:
|
|
10152
|
+
selectById: ps,
|
|
10090
10153
|
selectByIds: fO
|
|
10091
10154
|
});
|
|
10092
10155
|
}
|
|
@@ -10111,7 +10174,7 @@ class aR extends It {
|
|
|
10111
10174
|
return this.dispatch(n(a)), a;
|
|
10112
10175
|
}
|
|
10113
10176
|
}
|
|
10114
|
-
class
|
|
10177
|
+
class uR extends E {
|
|
10115
10178
|
constructor() {
|
|
10116
10179
|
super(...arguments);
|
|
10117
10180
|
h(this, "name", "Workflow");
|
|
@@ -10120,8 +10183,8 @@ class rR extends E {
|
|
|
10120
10183
|
addOne: g_,
|
|
10121
10184
|
addMany: k_,
|
|
10122
10185
|
setOne: P_,
|
|
10123
|
-
setMany:
|
|
10124
|
-
updateOne:
|
|
10186
|
+
setMany: F_,
|
|
10187
|
+
updateOne: M_,
|
|
10125
10188
|
updateMany: R_,
|
|
10126
10189
|
deleteOne: E_,
|
|
10127
10190
|
deleteMany: v_,
|
|
@@ -10144,7 +10207,7 @@ class rR extends E {
|
|
|
10144
10207
|
description: A(u.POST, this.name, !1),
|
|
10145
10208
|
method: u.POST,
|
|
10146
10209
|
url: `${this.url}/`,
|
|
10147
|
-
payload:
|
|
10210
|
+
payload: M(c),
|
|
10148
10211
|
blockers: [c.workflow_type, c.project],
|
|
10149
10212
|
blocks: [c.uuid]
|
|
10150
10213
|
});
|
|
@@ -10206,7 +10269,7 @@ class rR extends E {
|
|
|
10206
10269
|
return this.dispatch(n(r)), r;
|
|
10207
10270
|
}
|
|
10208
10271
|
}
|
|
10209
|
-
class
|
|
10272
|
+
class lR extends E {
|
|
10210
10273
|
constructor() {
|
|
10211
10274
|
super(...arguments);
|
|
10212
10275
|
h(this, "name", "Workflow Step Assignee");
|
|
@@ -10239,7 +10302,7 @@ class cR extends E {
|
|
|
10239
10302
|
description: A(u.POST, this.name, !1),
|
|
10240
10303
|
method: u.POST,
|
|
10241
10304
|
url: `${this.url}/`,
|
|
10242
|
-
payload:
|
|
10305
|
+
payload: M(c),
|
|
10243
10306
|
blockers: [c.workflow, c.workflow_step],
|
|
10244
10307
|
blocks: [c.uuid]
|
|
10245
10308
|
});
|
|
@@ -10264,7 +10327,7 @@ class cR extends E {
|
|
|
10264
10327
|
method: u.POST,
|
|
10265
10328
|
url: `${this.url}/bulk/`,
|
|
10266
10329
|
payload: {
|
|
10267
|
-
workflow_step_assignees: d.map((y) =>
|
|
10330
|
+
workflow_step_assignees: d.map((y) => M(y)),
|
|
10268
10331
|
submitted_at: o
|
|
10269
10332
|
},
|
|
10270
10333
|
blockers: d.flatMap((y) => [y.workflow, y.workflow_step]),
|
|
@@ -10321,7 +10384,7 @@ class cR extends E {
|
|
|
10321
10384
|
return this.dispatch(n(r)), r;
|
|
10322
10385
|
}
|
|
10323
10386
|
}
|
|
10324
|
-
class
|
|
10387
|
+
class hR extends E {
|
|
10325
10388
|
constructor() {
|
|
10326
10389
|
super(...arguments);
|
|
10327
10390
|
h(this, "name", "Workflow Step Comment");
|
|
@@ -10354,7 +10417,7 @@ class oR extends E {
|
|
|
10354
10417
|
description: A(u.POST, this.name, !1),
|
|
10355
10418
|
method: u.POST,
|
|
10356
10419
|
url: `${this.url}/`,
|
|
10357
|
-
payload:
|
|
10420
|
+
payload: M(c),
|
|
10358
10421
|
blockers: [c.workflow, c.workflow_step],
|
|
10359
10422
|
blocks: [c.uuid]
|
|
10360
10423
|
});
|
|
@@ -10416,7 +10479,7 @@ class oR extends E {
|
|
|
10416
10479
|
return this.dispatch(n(r)), r;
|
|
10417
10480
|
}
|
|
10418
10481
|
}
|
|
10419
|
-
class
|
|
10482
|
+
class pR extends E {
|
|
10420
10483
|
constructor() {
|
|
10421
10484
|
super(...arguments);
|
|
10422
10485
|
h(this, "name", "Workflow Step Event");
|
|
@@ -10449,7 +10512,7 @@ class dR extends E {
|
|
|
10449
10512
|
return this.dispatch(n(r)), r;
|
|
10450
10513
|
}
|
|
10451
10514
|
}
|
|
10452
|
-
class
|
|
10515
|
+
class mR extends $ {
|
|
10453
10516
|
constructor() {
|
|
10454
10517
|
super(...arguments);
|
|
10455
10518
|
h(this, "name", "Workflow Step Fields Attachment");
|
|
@@ -10461,7 +10524,7 @@ class uR extends $ {
|
|
|
10461
10524
|
setMany: gI,
|
|
10462
10525
|
updateOne: kI,
|
|
10463
10526
|
updateMany: PI,
|
|
10464
|
-
deleteOne:
|
|
10527
|
+
deleteOne: FI,
|
|
10465
10528
|
deleteMany: Nr,
|
|
10466
10529
|
initialize: _I
|
|
10467
10530
|
});
|
|
@@ -10523,7 +10586,7 @@ class uR extends $ {
|
|
|
10523
10586
|
return this.dispatch(n(a)), a;
|
|
10524
10587
|
}
|
|
10525
10588
|
}
|
|
10526
|
-
class
|
|
10589
|
+
class yR extends E {
|
|
10527
10590
|
constructor() {
|
|
10528
10591
|
super(...arguments);
|
|
10529
10592
|
h(this, "name", "Workflow Step Fields");
|
|
@@ -10556,7 +10619,7 @@ class lR extends E {
|
|
|
10556
10619
|
description: A(u.POST, this.name, !1),
|
|
10557
10620
|
method: u.POST,
|
|
10558
10621
|
url: `${this.url}/`,
|
|
10559
|
-
payload:
|
|
10622
|
+
payload: M(c),
|
|
10560
10623
|
blockers: [c.workflow_step],
|
|
10561
10624
|
blocks: [c.uuid]
|
|
10562
10625
|
});
|
|
@@ -10596,7 +10659,7 @@ class lR extends E {
|
|
|
10596
10659
|
return this.dispatch(n(a)), a;
|
|
10597
10660
|
}
|
|
10598
10661
|
}
|
|
10599
|
-
class
|
|
10662
|
+
class fR extends $ {
|
|
10600
10663
|
constructor() {
|
|
10601
10664
|
super(...arguments);
|
|
10602
10665
|
h(this, "name", "Workflow Step Field Values Attachment");
|
|
@@ -10687,25 +10750,25 @@ class hR extends $ {
|
|
|
10687
10750
|
return this.dispatch(n(r)), r;
|
|
10688
10751
|
}
|
|
10689
10752
|
}
|
|
10690
|
-
class
|
|
10753
|
+
class SR extends E {
|
|
10691
10754
|
constructor() {
|
|
10692
10755
|
super(...arguments);
|
|
10693
10756
|
h(this, "name", "Workflow Step Field Values Review Request");
|
|
10694
10757
|
h(this, "url", "/workflow-step-field-values-review-requests");
|
|
10695
10758
|
h(this, "actions", {
|
|
10696
|
-
addOne:
|
|
10697
|
-
addMany:
|
|
10698
|
-
setOne:
|
|
10699
|
-
setMany:
|
|
10700
|
-
updateOne:
|
|
10701
|
-
updateMany:
|
|
10702
|
-
deleteOne:
|
|
10703
|
-
deleteMany:
|
|
10704
|
-
initialize:
|
|
10759
|
+
addOne: wb,
|
|
10760
|
+
addMany: ec,
|
|
10761
|
+
setOne: Ob,
|
|
10762
|
+
setMany: Tb,
|
|
10763
|
+
updateOne: _b,
|
|
10764
|
+
updateMany: Ib,
|
|
10765
|
+
deleteOne: bb,
|
|
10766
|
+
deleteMany: tc,
|
|
10767
|
+
initialize: Ab
|
|
10705
10768
|
});
|
|
10706
10769
|
h(this, "selectors", {
|
|
10707
|
-
selectById:
|
|
10708
|
-
selectByIds:
|
|
10770
|
+
selectById: kb,
|
|
10771
|
+
selectByIds: Pb
|
|
10709
10772
|
});
|
|
10710
10773
|
}
|
|
10711
10774
|
add(e) {
|
|
@@ -10720,7 +10783,7 @@ class pR extends E {
|
|
|
10720
10783
|
description: A(u.POST, this.name, !1),
|
|
10721
10784
|
method: u.POST,
|
|
10722
10785
|
url: `${this.url}/`,
|
|
10723
|
-
payload:
|
|
10786
|
+
payload: M(c),
|
|
10724
10787
|
blockers: [c.field_values],
|
|
10725
10788
|
blocks: [c.uuid]
|
|
10726
10789
|
});
|
|
@@ -10759,25 +10822,25 @@ class pR extends E {
|
|
|
10759
10822
|
return this.dispatch(n(r)), r;
|
|
10760
10823
|
}
|
|
10761
10824
|
}
|
|
10762
|
-
class
|
|
10825
|
+
class AR extends E {
|
|
10763
10826
|
constructor() {
|
|
10764
10827
|
super(...arguments);
|
|
10765
10828
|
h(this, "name", "Workflow Step Field Values Review");
|
|
10766
10829
|
h(this, "url", "/workflow-step-field-values-reviews");
|
|
10767
10830
|
h(this, "actions", {
|
|
10768
|
-
addOne:
|
|
10769
|
-
addMany:
|
|
10770
|
-
setOne:
|
|
10771
|
-
setMany:
|
|
10772
|
-
updateOne:
|
|
10773
|
-
updateMany:
|
|
10774
|
-
deleteOne:
|
|
10775
|
-
deleteMany:
|
|
10776
|
-
initialize:
|
|
10831
|
+
addOne: Eb,
|
|
10832
|
+
addMany: ic,
|
|
10833
|
+
setOne: vb,
|
|
10834
|
+
setMany: Bb,
|
|
10835
|
+
updateOne: Vb,
|
|
10836
|
+
updateMany: zb,
|
|
10837
|
+
deleteOne: qb,
|
|
10838
|
+
deleteMany: nc,
|
|
10839
|
+
initialize: Rb
|
|
10777
10840
|
});
|
|
10778
10841
|
h(this, "selectors", {
|
|
10779
|
-
selectById:
|
|
10780
|
-
selectByIds:
|
|
10842
|
+
selectById: $b,
|
|
10843
|
+
selectByIds: jb
|
|
10781
10844
|
});
|
|
10782
10845
|
}
|
|
10783
10846
|
add(e) {
|
|
@@ -10792,7 +10855,7 @@ class mR extends E {
|
|
|
10792
10855
|
description: A(u.POST, this.name, !1),
|
|
10793
10856
|
method: u.POST,
|
|
10794
10857
|
url: `${this.url}/`,
|
|
10795
|
-
payload:
|
|
10858
|
+
payload: M(c),
|
|
10796
10859
|
blockers: [c.field_values],
|
|
10797
10860
|
blocks: [c.uuid]
|
|
10798
10861
|
});
|
|
@@ -10854,25 +10917,25 @@ class mR extends E {
|
|
|
10854
10917
|
return this.dispatch(n(r)), r;
|
|
10855
10918
|
}
|
|
10856
10919
|
}
|
|
10857
|
-
class
|
|
10920
|
+
class wR extends E {
|
|
10858
10921
|
constructor() {
|
|
10859
10922
|
super(...arguments);
|
|
10860
10923
|
h(this, "name", "Workflow Step Field Values");
|
|
10861
10924
|
h(this, "url", "/workflow-step-field-values");
|
|
10862
10925
|
h(this, "actions", {
|
|
10863
|
-
addOne:
|
|
10864
|
-
addMany:
|
|
10865
|
-
setOne:
|
|
10866
|
-
setMany:
|
|
10867
|
-
updateOne:
|
|
10868
|
-
updateMany:
|
|
10869
|
-
deleteOne:
|
|
10870
|
-
deleteMany:
|
|
10871
|
-
initialize:
|
|
10926
|
+
addOne: rb,
|
|
10927
|
+
addMany: cb,
|
|
10928
|
+
setOne: ob,
|
|
10929
|
+
setMany: db,
|
|
10930
|
+
updateOne: ub,
|
|
10931
|
+
updateMany: lb,
|
|
10932
|
+
deleteOne: hb,
|
|
10933
|
+
deleteMany: pb,
|
|
10934
|
+
initialize: ab
|
|
10872
10935
|
});
|
|
10873
10936
|
h(this, "selectors", {
|
|
10874
|
-
selectById:
|
|
10875
|
-
selectByIds:
|
|
10937
|
+
selectById: yb,
|
|
10938
|
+
selectByIds: fb
|
|
10876
10939
|
});
|
|
10877
10940
|
}
|
|
10878
10941
|
add(e) {
|
|
@@ -10885,7 +10948,7 @@ class yR extends E {
|
|
|
10885
10948
|
description: A(u.POST, this.name, !1),
|
|
10886
10949
|
method: u.POST,
|
|
10887
10950
|
url: `${this.url}/`,
|
|
10888
|
-
payload:
|
|
10951
|
+
payload: M(o),
|
|
10889
10952
|
blockers: [e.workflow, e.workflow_step, e.fields_revision],
|
|
10890
10953
|
blocks: [o.uuid]
|
|
10891
10954
|
});
|
|
@@ -10927,8 +10990,8 @@ class yR extends E {
|
|
|
10927
10990
|
const { store: i } = this.client, { deleteOne: n, addOne: a } = this.actions, { selectById: r } = this.selectors, c = i.getState(), o = r(e)(c);
|
|
10928
10991
|
if (!o)
|
|
10929
10992
|
throw new Error(`Expected WorkflowStepFieldValues with uuid ${e} to exist`);
|
|
10930
|
-
const d = ib(e)(c), l =
|
|
10931
|
-
this.dispatch(n(e)), this.dispatch(Qr(V(d))), this.dispatch(
|
|
10993
|
+
const d = ib(e)(c), l = xb(e)(c), m = Fb(e)(c);
|
|
10994
|
+
this.dispatch(n(e)), this.dispatch(Qr(V(d))), this.dispatch(nc(V(l))), this.dispatch(tc(V(m)));
|
|
10932
10995
|
try {
|
|
10933
10996
|
return await this.enqueueRequest({
|
|
10934
10997
|
description: A(u.DELETE, this.name, !1),
|
|
@@ -10938,7 +11001,7 @@ class yR extends E {
|
|
|
10938
11001
|
blocks: []
|
|
10939
11002
|
});
|
|
10940
11003
|
} catch (y) {
|
|
10941
|
-
throw this.dispatch(a(o)), this.dispatch(Yr(d)), this.dispatch(
|
|
11004
|
+
throw this.dispatch(a(o)), this.dispatch(Yr(d)), this.dispatch(ic(l)), this.dispatch(ec(m)), y;
|
|
10942
11005
|
}
|
|
10943
11006
|
}
|
|
10944
11007
|
async refreshStore(e, i) {
|
|
@@ -10953,7 +11016,7 @@ class yR extends E {
|
|
|
10953
11016
|
return this.dispatch(n(r)), r;
|
|
10954
11017
|
}
|
|
10955
11018
|
}
|
|
10956
|
-
class
|
|
11019
|
+
class OR extends E {
|
|
10957
11020
|
constructor() {
|
|
10958
11021
|
super(...arguments);
|
|
10959
11022
|
h(this, "name", "Workflow Step Reviewer");
|
|
@@ -10986,7 +11049,7 @@ class fR extends E {
|
|
|
10986
11049
|
description: A(u.POST, this.name, !1),
|
|
10987
11050
|
method: u.POST,
|
|
10988
11051
|
url: `${this.url}/`,
|
|
10989
|
-
payload:
|
|
11052
|
+
payload: M(c),
|
|
10990
11053
|
blockers: [c.workflow, c.workflow_step],
|
|
10991
11054
|
blocks: [c.uuid]
|
|
10992
11055
|
});
|
|
@@ -11011,7 +11074,7 @@ class fR extends E {
|
|
|
11011
11074
|
method: u.POST,
|
|
11012
11075
|
url: `${this.url}/bulk/`,
|
|
11013
11076
|
payload: {
|
|
11014
|
-
workflow_step_reviewers: d.map((y) =>
|
|
11077
|
+
workflow_step_reviewers: d.map((y) => M(y)),
|
|
11015
11078
|
submitted_at: o
|
|
11016
11079
|
},
|
|
11017
11080
|
blockers: d.flatMap((y) => [y.workflow, y.workflow_step]),
|
|
@@ -11068,7 +11131,7 @@ class fR extends E {
|
|
|
11068
11131
|
return this.dispatch(n(r)), r;
|
|
11069
11132
|
}
|
|
11070
11133
|
}
|
|
11071
|
-
class
|
|
11134
|
+
class TR extends E {
|
|
11072
11135
|
constructor() {
|
|
11073
11136
|
super(...arguments);
|
|
11074
11137
|
h(this, "name", "Workflow Step");
|
|
@@ -11101,7 +11164,7 @@ class SR extends E {
|
|
|
11101
11164
|
description: A(u.POST, this.name, !1),
|
|
11102
11165
|
method: u.POST,
|
|
11103
11166
|
url: `${this.url}/`,
|
|
11104
|
-
payload:
|
|
11167
|
+
payload: M(c),
|
|
11105
11168
|
blockers: [c.workflow_type],
|
|
11106
11169
|
blocks: [c.uuid]
|
|
11107
11170
|
});
|
|
@@ -11163,7 +11226,7 @@ class SR extends E {
|
|
|
11163
11226
|
return this.dispatch(n(a)), a;
|
|
11164
11227
|
}
|
|
11165
11228
|
}
|
|
11166
|
-
class
|
|
11229
|
+
class _R extends E {
|
|
11167
11230
|
constructor() {
|
|
11168
11231
|
super(...arguments);
|
|
11169
11232
|
h(this, "name", "Workflow Type");
|
|
@@ -11196,7 +11259,7 @@ class AR extends E {
|
|
|
11196
11259
|
description: A(u.POST, this.name, !1),
|
|
11197
11260
|
method: u.POST,
|
|
11198
11261
|
url: `${this.url}/`,
|
|
11199
|
-
payload:
|
|
11262
|
+
payload: M(o),
|
|
11200
11263
|
blockers: [],
|
|
11201
11264
|
blocks: [o.uuid]
|
|
11202
11265
|
});
|
|
@@ -11259,7 +11322,7 @@ class AR extends E {
|
|
|
11259
11322
|
}
|
|
11260
11323
|
}
|
|
11261
11324
|
async function Sc(t, s, e, i, n) {
|
|
11262
|
-
const a = i instanceof
|
|
11325
|
+
const a = i instanceof Ot;
|
|
11263
11326
|
a && s.checkAuth !== !1 && await i.auth.prepareAuth();
|
|
11264
11327
|
const r = {
|
|
11265
11328
|
queryParams: "",
|
|
@@ -11283,7 +11346,7 @@ async function Sc(t, s, e, i, n) {
|
|
|
11283
11346
|
if (y && !R)
|
|
11284
11347
|
throw new Error(`Cannot upload file ${y} because it's not cached.`);
|
|
11285
11348
|
!w && !k.startsWith("http") && (!k.startsWith("/") && !k.startsWith("blob:") && (k = "/" + k), k = t + k);
|
|
11286
|
-
const
|
|
11349
|
+
const F = (B) => {
|
|
11287
11350
|
if (y) {
|
|
11288
11351
|
if (!c) throw new Error(`No S3 URL for file ${y}`);
|
|
11289
11352
|
if ("warning" in c) throw new Error(`S3 URL warning for file ${y}`);
|
|
@@ -11294,22 +11357,22 @@ async function Sc(t, s, e, i, n) {
|
|
|
11294
11357
|
}
|
|
11295
11358
|
return B.send(o);
|
|
11296
11359
|
}, x = {
|
|
11297
|
-
[u.GET]: () => v ?
|
|
11360
|
+
[u.GET]: () => v ? yt.get(k.toString()).responseType("blob") : yt.get(k.toString()),
|
|
11298
11361
|
[u.POST]: () => {
|
|
11299
|
-
const B =
|
|
11300
|
-
return
|
|
11362
|
+
const B = yt.post(k.toString());
|
|
11363
|
+
return F(B);
|
|
11301
11364
|
},
|
|
11302
11365
|
[u.PATCH]: () => {
|
|
11303
|
-
const B =
|
|
11304
|
-
return
|
|
11366
|
+
const B = yt.patch(k.toString());
|
|
11367
|
+
return F(B);
|
|
11305
11368
|
},
|
|
11306
11369
|
[u.PUT]: () => {
|
|
11307
|
-
const B =
|
|
11308
|
-
return
|
|
11370
|
+
const B = yt.put(k.toString());
|
|
11371
|
+
return F(B);
|
|
11309
11372
|
},
|
|
11310
11373
|
[u.DELETE]: () => {
|
|
11311
|
-
const B =
|
|
11312
|
-
return
|
|
11374
|
+
const B = yt.delete(k.toString());
|
|
11375
|
+
return F(B);
|
|
11313
11376
|
}
|
|
11314
11377
|
}[l];
|
|
11315
11378
|
let q = x();
|
|
@@ -11324,19 +11387,19 @@ async function Sc(t, s, e, i, n) {
|
|
|
11324
11387
|
try {
|
|
11325
11388
|
return await q.query(m);
|
|
11326
11389
|
} catch (B) {
|
|
11327
|
-
const U = Ng(B),
|
|
11328
|
-
if (a &&
|
|
11390
|
+
const U = Ng(B), Pt = U == null ? void 0 : U.status;
|
|
11391
|
+
if (a && Pt === 401)
|
|
11329
11392
|
return await i.auth.handleUnauthorized(q, U), q.query(m);
|
|
11330
11393
|
throw new C({
|
|
11331
11394
|
response: U,
|
|
11332
11395
|
innerError: B,
|
|
11333
|
-
discard: lc.includes(
|
|
11396
|
+
discard: lc.includes(Pt)
|
|
11334
11397
|
});
|
|
11335
11398
|
} finally {
|
|
11336
11399
|
n == null || n.removeEventListener("abort", j);
|
|
11337
11400
|
}
|
|
11338
11401
|
}
|
|
11339
|
-
class
|
|
11402
|
+
class IR {
|
|
11340
11403
|
constructor(s) {
|
|
11341
11404
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11342
11405
|
h(this, "store");
|
|
@@ -11350,7 +11413,7 @@ class wR {
|
|
|
11350
11413
|
return Sc(s, r, this, i, n).then((c) => {
|
|
11351
11414
|
a.resolve(c.body);
|
|
11352
11415
|
}).catch((c) => {
|
|
11353
|
-
c instanceof Error ? a.reject(c) : a.reject(new Error((c ??
|
|
11416
|
+
c instanceof Error ? a.reject(c) : a.reject(new Error((c ?? It).toString()));
|
|
11354
11417
|
}), a;
|
|
11355
11418
|
}
|
|
11356
11419
|
async performRequest(s, e, i, n) {
|
|
@@ -11420,7 +11483,7 @@ Converting error to APIError and discarding.`
|
|
|
11420
11483
|
return o;
|
|
11421
11484
|
}
|
|
11422
11485
|
}
|
|
11423
|
-
class
|
|
11486
|
+
class _t {
|
|
11424
11487
|
constructor() {
|
|
11425
11488
|
h(this, "graph");
|
|
11426
11489
|
h(this, "requestAttemptCounter");
|
|
@@ -11430,7 +11493,7 @@ class Tt {
|
|
|
11430
11493
|
* Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
|
|
11431
11494
|
*/
|
|
11432
11495
|
static _fromOutbox(s) {
|
|
11433
|
-
const e = new
|
|
11496
|
+
const e = new _t();
|
|
11434
11497
|
for (let i = 0; i < s.length; i++) {
|
|
11435
11498
|
const n = s[i];
|
|
11436
11499
|
if (!n) {
|
|
@@ -11444,7 +11507,7 @@ class Tt {
|
|
|
11444
11507
|
console.error("Previous outbox item was undefined");
|
|
11445
11508
|
continue;
|
|
11446
11509
|
}
|
|
11447
|
-
r.payload.uuid !== n.payload.uuid && r.payload.blocks.some((c) => n.payload.blockers.includes(c)) &&
|
|
11510
|
+
r.payload.uuid !== n.payload.uuid && r.payload.blocks.some((c) => n.payload.blockers.includes(c)) && _t._addDependency(
|
|
11448
11511
|
n.payload.uuid,
|
|
11449
11512
|
r.payload.uuid,
|
|
11450
11513
|
e.graph
|
|
@@ -11454,7 +11517,7 @@ class Tt {
|
|
|
11454
11517
|
return e;
|
|
11455
11518
|
}
|
|
11456
11519
|
_addDependency(s, e) {
|
|
11457
|
-
|
|
11520
|
+
_t._addDependency(s, e, this.graph);
|
|
11458
11521
|
}
|
|
11459
11522
|
static _addDependency(s, e, i) {
|
|
11460
11523
|
if (s === e)
|
|
@@ -11567,7 +11630,7 @@ let Ac;
|
|
|
11567
11630
|
function Yg(t) {
|
|
11568
11631
|
Ac = t;
|
|
11569
11632
|
}
|
|
11570
|
-
function
|
|
11633
|
+
function kt() {
|
|
11571
11634
|
return Ac;
|
|
11572
11635
|
}
|
|
11573
11636
|
let wc;
|
|
@@ -11577,17 +11640,17 @@ function Qg(t) {
|
|
|
11577
11640
|
function Jg() {
|
|
11578
11641
|
return wc;
|
|
11579
11642
|
}
|
|
11580
|
-
let
|
|
11581
|
-
function
|
|
11582
|
-
const t =
|
|
11643
|
+
let Lt = null;
|
|
11644
|
+
function At() {
|
|
11645
|
+
const t = kt();
|
|
11583
11646
|
if (!t)
|
|
11584
11647
|
return console.warn("Client store not set; cannot get outbox coordinator yet."), null;
|
|
11585
|
-
if (
|
|
11586
|
-
return
|
|
11587
|
-
const s = t.getState().offline.outbox, e =
|
|
11588
|
-
return
|
|
11648
|
+
if (Lt)
|
|
11649
|
+
return Lt;
|
|
11650
|
+
const s = t.getState().offline.outbox, e = _t._fromOutbox(s);
|
|
11651
|
+
return Lt = e, e;
|
|
11589
11652
|
}
|
|
11590
|
-
const
|
|
11653
|
+
const bR = (t, s) => {
|
|
11591
11654
|
const e = new s(t);
|
|
11592
11655
|
return Qg(e), Yg(t), e;
|
|
11593
11656
|
};
|
|
@@ -11620,7 +11683,7 @@ class Oc {
|
|
|
11620
11683
|
if (this.next)
|
|
11621
11684
|
return this.next.run(s);
|
|
11622
11685
|
{
|
|
11623
|
-
if (console.debug("Middleware finished. Performing request:", s.payload.url), !
|
|
11686
|
+
if (console.debug("Middleware finished. Performing request:", s.payload.url), !kt()) throw new Error("Client store not set");
|
|
11624
11687
|
const i = Jg();
|
|
11625
11688
|
if (!i) throw new Error("Client SDK not set");
|
|
11626
11689
|
return jg(s, i);
|
|
@@ -11646,121 +11709,121 @@ var ik = /* @__PURE__ */ ((t) => (t[t.USER_REGISTRATION = 0] = "USER_REGISTRATIO
|
|
|
11646
11709
|
export {
|
|
11647
11710
|
tk as ALL_MIDDLEWARE,
|
|
11648
11711
|
C as APIError,
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
11665
|
-
|
|
11712
|
+
eM as AgentService,
|
|
11713
|
+
tM as AssetAttachmentService,
|
|
11714
|
+
cM as AssetProcedureService,
|
|
11715
|
+
lM as AssetProcedureStepFieldValuesAttachmentService,
|
|
11716
|
+
hM as AssetProcedureStepFieldValuesService,
|
|
11717
|
+
dM as AssetProcedureStepFieldsAttachmentService,
|
|
11718
|
+
uM as AssetProcedureStepFieldsService,
|
|
11719
|
+
pM as AssetProcedureStepService,
|
|
11720
|
+
sM as AssetProcedureTypeAttachmentService,
|
|
11721
|
+
aM as AssetProcedureTypeFieldValuesAttachmentService,
|
|
11722
|
+
rM as AssetProcedureTypeFieldValuesService,
|
|
11723
|
+
iM as AssetProcedureTypeFieldsAttachmentService,
|
|
11724
|
+
nM as AssetProcedureTypeFieldsService,
|
|
11725
|
+
oM as AssetProcedureTypeService,
|
|
11726
|
+
mM as AssetService,
|
|
11727
|
+
yM as AssetStageCompletionService,
|
|
11728
|
+
fM as AssetStageService,
|
|
11666
11729
|
Dc as AssetStatusType,
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11730
|
+
SM as AssetTypeAttachmentService,
|
|
11731
|
+
OM as AssetTypeFieldValuesAttachmentService,
|
|
11732
|
+
TM as AssetTypeFieldValuesService,
|
|
11733
|
+
AM as AssetTypeFieldsAttachmentService,
|
|
11734
|
+
wM as AssetTypeFieldsService,
|
|
11735
|
+
_M as AssetTypeIdentifierService,
|
|
11736
|
+
IM as AssetTypeIdentifierValueService,
|
|
11737
|
+
bM as AssetTypeService,
|
|
11738
|
+
gM as AssetTypeStatusService,
|
|
11676
11739
|
$c as AttachmentModel,
|
|
11677
|
-
|
|
11678
|
-
|
|
11740
|
+
Ot as BaseApiService,
|
|
11741
|
+
gt as BaseModelApiService,
|
|
11679
11742
|
$ as BaseOfflineFileModelApiService,
|
|
11680
11743
|
E as BaseOfflineModelApiService,
|
|
11681
|
-
|
|
11744
|
+
IR as BaseSDK,
|
|
11682
11745
|
Jc as COMMON_AUTO_FIELDS,
|
|
11683
11746
|
Ik as DEFAULT_ISSUE_PRIORITY,
|
|
11684
|
-
|
|
11747
|
+
Fg as DEFAULT_PAGE_SIZE,
|
|
11685
11748
|
lc as DISCARD_HTTP_STATUSES,
|
|
11686
11749
|
Ts as DeferredPromise,
|
|
11687
|
-
|
|
11688
|
-
|
|
11750
|
+
kM as DocumentAttachmentService,
|
|
11751
|
+
PM as DocumentService,
|
|
11689
11752
|
Vc as EMPTY_ARRAY,
|
|
11690
11753
|
zc as EMPTY_OBJECT,
|
|
11691
|
-
|
|
11692
|
-
|
|
11693
|
-
|
|
11694
|
-
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
-
|
|
11700
|
-
|
|
11701
|
-
|
|
11702
|
-
|
|
11754
|
+
FM as EmailDomainsService,
|
|
11755
|
+
MM as EmailVerificationService,
|
|
11756
|
+
Mg as FILE_MODEL_DEFAULT_PAGE_SIZE,
|
|
11757
|
+
RM as FileService,
|
|
11758
|
+
EM as FormIdentifierService,
|
|
11759
|
+
vM as FormIdentifierValueService,
|
|
11760
|
+
BM as FormRevisionAttachmentService,
|
|
11761
|
+
VM as FormRevisionService,
|
|
11762
|
+
zM as FormService,
|
|
11763
|
+
qM as FormSubmissionAttachmentService,
|
|
11764
|
+
DM as FormSubmissionService,
|
|
11765
|
+
$M as GeoImageService,
|
|
11703
11766
|
u as HttpMethod,
|
|
11704
|
-
|
|
11705
|
-
|
|
11706
|
-
|
|
11707
|
-
|
|
11767
|
+
jM as IssueAssociationService,
|
|
11768
|
+
xM as IssueAttachmentService,
|
|
11769
|
+
WM as IssueCommentAttachmentService,
|
|
11770
|
+
CM as IssueCommentService,
|
|
11708
11771
|
Ji as IssuePriority,
|
|
11709
|
-
|
|
11772
|
+
UM as IssueService,
|
|
11710
11773
|
jc as IssueStatusType,
|
|
11711
|
-
|
|
11712
|
-
|
|
11713
|
-
|
|
11714
|
-
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
11774
|
+
LM as IssueTypeAttachmentService,
|
|
11775
|
+
GM as IssueTypeFieldValuesAttachmentService,
|
|
11776
|
+
KM as IssueTypeFieldValuesService,
|
|
11777
|
+
NM as IssueTypeFieldsAttachmentService,
|
|
11778
|
+
HM as IssueTypeFieldsService,
|
|
11779
|
+
YM as IssueTypeIdentifierService,
|
|
11780
|
+
QM as IssueTypeIdentifierValueService,
|
|
11781
|
+
JM as IssueTypeService,
|
|
11782
|
+
ZM as IssueTypeStatusService,
|
|
11720
11783
|
W as IssueUpdateChange,
|
|
11721
|
-
|
|
11722
|
-
|
|
11784
|
+
XM as IssueUpdateService,
|
|
11785
|
+
eR as JWTService,
|
|
11723
11786
|
lt as MAX_SERVICE_BATCH_SIZE,
|
|
11724
11787
|
Wc as OUTBOX_RETRY_DELAY,
|
|
11725
11788
|
Xg as OfflineAnalyticsMiddleware,
|
|
11726
11789
|
Oc as OfflineMiddleware,
|
|
11727
11790
|
qc as OrganizationAccessLevel,
|
|
11728
|
-
|
|
11729
|
-
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11734
|
-
|
|
11791
|
+
tR as OrganizationAccessService,
|
|
11792
|
+
sR as OrganizationService,
|
|
11793
|
+
_t as OutboxCoordinator,
|
|
11794
|
+
iR as ProjectAccessService,
|
|
11795
|
+
nR as ProjectAttachmentService,
|
|
11796
|
+
aR as ProjectFileService,
|
|
11797
|
+
rR as ProjectService,
|
|
11735
11798
|
b as RESET_ORGANIZATION_STATE,
|
|
11736
11799
|
z as RESET_PROJECT_STATE,
|
|
11737
11800
|
O as RESET_STATE,
|
|
11738
11801
|
ek as RateLimitingMiddleware,
|
|
11739
11802
|
Nk as SelectorBuilder,
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11803
|
+
cR as TeamMembershipService,
|
|
11804
|
+
oR as TeamService,
|
|
11805
|
+
It as UNKNOWN_ERROR_MESSAGE,
|
|
11806
|
+
dR as UserService,
|
|
11807
|
+
Et as VERSION_REDUCER_KEY,
|
|
11745
11808
|
ik as VerificationCodeType,
|
|
11746
11809
|
gk as WORKFLOW_STATUSES,
|
|
11747
11810
|
bk as WORKFLOW_STEP_FIELD_VALUES_REVIEW_TYPES,
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11811
|
+
uR as WorkflowService,
|
|
11812
|
+
Ft as WorkflowStatus,
|
|
11813
|
+
lR as WorkflowStepAssigneeService,
|
|
11814
|
+
hR as WorkflowStepCommentService,
|
|
11815
|
+
pR as WorkflowStepEventService,
|
|
11753
11816
|
xc as WorkflowStepEventType,
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11817
|
+
fR as WorkflowStepFieldValuesAttachmentService,
|
|
11818
|
+
SR as WorkflowStepFieldValuesReviewRequestService,
|
|
11819
|
+
AR as WorkflowStepFieldValuesReviewService,
|
|
11820
|
+
Mt as WorkflowStepFieldValuesReviewType,
|
|
11821
|
+
wR as WorkflowStepFieldValuesService,
|
|
11822
|
+
mR as WorkflowStepFieldsAttachmentService,
|
|
11823
|
+
yR as WorkflowStepFieldsService,
|
|
11824
|
+
OR as WorkflowStepReviewerService,
|
|
11825
|
+
TR as WorkflowStepService,
|
|
11826
|
+
_R as WorkflowTypeService,
|
|
11764
11827
|
GO as _setLatestRetryTime,
|
|
11765
11828
|
ll as addAsset,
|
|
11766
11829
|
oo as addAssetAttachment,
|
|
@@ -11769,7 +11832,7 @@ export {
|
|
|
11769
11832
|
el as addAssetProcedureStep,
|
|
11770
11833
|
ju as addAssetProcedureStepFieldValues,
|
|
11771
11834
|
Pu as addAssetProcedureStepFieldValuesAttachment,
|
|
11772
|
-
|
|
11835
|
+
Mn as addAssetProcedureStepFieldValuesAttachments,
|
|
11773
11836
|
xu as addAssetProcedureStepFieldValuesMany,
|
|
11774
11837
|
yu as addAssetProcedureStepFields,
|
|
11775
11838
|
su as addAssetProcedureStepFieldsAttachment,
|
|
@@ -11831,21 +11894,21 @@ export {
|
|
|
11831
11894
|
Ta as addFormRevisions,
|
|
11832
11895
|
hf as addFormSubmission,
|
|
11833
11896
|
Zy as addFormSubmissionAttachment,
|
|
11834
|
-
|
|
11897
|
+
Fa as addFormSubmissionAttachments,
|
|
11835
11898
|
Va as addFormSubmissions,
|
|
11836
11899
|
xy as addForms,
|
|
11837
11900
|
bf as addGeoImage,
|
|
11838
11901
|
gf as addGeoImages,
|
|
11839
11902
|
VS as addIssue,
|
|
11840
11903
|
jf as addIssueAssociation,
|
|
11841
|
-
|
|
11904
|
+
ft as addIssueAssociations,
|
|
11842
11905
|
Jf as addIssueAttachment,
|
|
11843
11906
|
Wa as addIssueAttachments,
|
|
11844
11907
|
_S as addIssueComment,
|
|
11845
11908
|
dS as addIssueCommentAttachment,
|
|
11846
11909
|
uS as addIssueCommentAttachments,
|
|
11847
11910
|
IS as addIssueComments,
|
|
11848
|
-
|
|
11911
|
+
Fw as addIssueType,
|
|
11849
11912
|
HS as addIssueTypeAttachment,
|
|
11850
11913
|
GS as addIssueTypeAttachments,
|
|
11851
11914
|
AA as addIssueTypeFieldValues,
|
|
@@ -11862,7 +11925,7 @@ export {
|
|
|
11862
11925
|
iw as addIssueTypeIdentifiers,
|
|
11863
11926
|
Ww as addIssueTypeStatus,
|
|
11864
11927
|
Cw as addIssueTypeStatuses,
|
|
11865
|
-
|
|
11928
|
+
Mw as addIssueTypes,
|
|
11866
11929
|
fr as addIssueUpdate,
|
|
11867
11930
|
Sr as addIssueUpdates,
|
|
11868
11931
|
Ya as addIssues,
|
|
@@ -11892,14 +11955,14 @@ export {
|
|
|
11892
11955
|
Z_ as addWorkflowStepComments,
|
|
11893
11956
|
uI as addWorkflowStepEvent,
|
|
11894
11957
|
lI as addWorkflowStepEvents,
|
|
11895
|
-
|
|
11958
|
+
rb as addWorkflowStepFieldValues,
|
|
11896
11959
|
KI as addWorkflowStepFieldValuesAttachment,
|
|
11897
11960
|
Yr as addWorkflowStepFieldValuesAttachments,
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
|
|
11902
|
-
|
|
11961
|
+
cb as addWorkflowStepFieldValuesMany,
|
|
11962
|
+
Eb as addWorkflowStepFieldValuesReview,
|
|
11963
|
+
wb as addWorkflowStepFieldValuesReviewRequest,
|
|
11964
|
+
ec as addWorkflowStepFieldValuesReviewRequests,
|
|
11965
|
+
ic as addWorkflowStepFieldValuesReviews,
|
|
11903
11966
|
zI as addWorkflowStepFields,
|
|
11904
11967
|
II as addWorkflowStepFieldsAttachment,
|
|
11905
11968
|
Lr as addWorkflowStepFieldsAttachments,
|
|
@@ -11912,13 +11975,13 @@ export {
|
|
|
11912
11975
|
k_ as addWorkflows,
|
|
11913
11976
|
ro as agentsReducer,
|
|
11914
11977
|
sn as agentsSlice,
|
|
11915
|
-
|
|
11978
|
+
Mk as areArraysEqual,
|
|
11916
11979
|
wo as assetAttachmentReducer,
|
|
11917
11980
|
an as assetAttachmentSlice,
|
|
11918
11981
|
Dd as assetProcedureReducer,
|
|
11919
11982
|
wn as assetProcedureSlice,
|
|
11920
11983
|
Du as assetProcedureStepFieldValuesAttachmentReducer,
|
|
11921
|
-
|
|
11984
|
+
Fn as assetProcedureStepFieldValuesAttachmentSlice,
|
|
11922
11985
|
Qu as assetProcedureStepFieldValuesReducer,
|
|
11923
11986
|
vn as assetProcedureStepFieldValuesSlice,
|
|
11924
11987
|
pu as assetProcedureStepFieldsAttachmentReducer,
|
|
@@ -11927,7 +11990,7 @@ export {
|
|
|
11927
11990
|
kn as assetProcedureStepFieldsSlice,
|
|
11928
11991
|
rl as assetProcedureStepReducer,
|
|
11929
11992
|
Bn as assetProcedureStepSlice,
|
|
11930
|
-
|
|
11993
|
+
Mo as assetProcedureTypeAttachmentReducer,
|
|
11931
11994
|
dn as assetProcedureTypeAttachmentSlice,
|
|
11932
11995
|
hd as assetProcedureTypeFieldValuesAttachmentReducer,
|
|
11933
11996
|
mn as assetProcedureTypeFieldValuesAttachmentSlice,
|
|
@@ -11957,7 +12020,7 @@ export {
|
|
|
11957
12020
|
Kn as assetTypeFieldsSlice,
|
|
11958
12021
|
yp as assetTypeIdentifierReducer,
|
|
11959
12022
|
ea as assetTypeIdentifierSlice,
|
|
11960
|
-
|
|
12023
|
+
Fp as assetTypeIdentifierValueReducer,
|
|
11961
12024
|
sa as assetTypeIdentifierValueSlice,
|
|
11962
12025
|
Wp as assetTypeReducer,
|
|
11963
12026
|
ia as assetTypeSlice,
|
|
@@ -11965,13 +12028,13 @@ export {
|
|
|
11965
12028
|
aa as assetTypeStatusSlice,
|
|
11966
12029
|
Xc as assetTypeStatusSortFn,
|
|
11967
12030
|
sm as authReducer,
|
|
11968
|
-
|
|
11969
|
-
|
|
12031
|
+
ns as authSlice,
|
|
12032
|
+
JF as baseReducer,
|
|
11970
12033
|
uc as baseReducers,
|
|
11971
12034
|
RP as clearTokens,
|
|
11972
12035
|
I as createModelAdapter,
|
|
11973
12036
|
LO as createOfflineAction,
|
|
11974
|
-
|
|
12037
|
+
M as createPayload,
|
|
11975
12038
|
kk as createSelectionAdapter,
|
|
11976
12039
|
ml as deleteAsset,
|
|
11977
12040
|
mo as deleteAssetAttachment,
|
|
@@ -11989,7 +12052,7 @@ export {
|
|
|
11989
12052
|
al as deleteAssetProcedureSteps,
|
|
11990
12053
|
Gd as deleteAssetProcedureType,
|
|
11991
12054
|
Po as deleteAssetProcedureTypeAttachment,
|
|
11992
|
-
|
|
12055
|
+
Fo as deleteAssetProcedureTypeAttachments,
|
|
11993
12056
|
bd as deleteAssetProcedureTypeFieldValues,
|
|
11994
12057
|
ld as deleteAssetProcedureTypeFieldValuesAttachment,
|
|
11995
12058
|
fn as deleteAssetProcedureTypeFieldValuesAttachments,
|
|
@@ -12001,7 +12064,7 @@ export {
|
|
|
12001
12064
|
Kd as deleteAssetProcedureTypes,
|
|
12002
12065
|
Tn as deleteAssetProcedures,
|
|
12003
12066
|
Ul as deleteAssetStage,
|
|
12004
|
-
|
|
12067
|
+
Ml as deleteAssetStageCompletion,
|
|
12005
12068
|
Rl as deleteAssetStageCompletions,
|
|
12006
12069
|
Ll as deleteAssetStages,
|
|
12007
12070
|
qp as deleteAssetType,
|
|
@@ -12042,20 +12105,20 @@ export {
|
|
|
12042
12105
|
Ia as deleteFormRevisions,
|
|
12043
12106
|
yf as deleteFormSubmission,
|
|
12044
12107
|
nf as deleteFormSubmissionAttachment,
|
|
12045
|
-
|
|
12108
|
+
Ma as deleteFormSubmissionAttachments,
|
|
12046
12109
|
za as deleteFormSubmissions,
|
|
12047
12110
|
Hy as deleteForms,
|
|
12048
|
-
|
|
12049
|
-
|
|
12111
|
+
Ff as deleteGeoImage,
|
|
12112
|
+
Mf as deleteGeoImages,
|
|
12050
12113
|
jS as deleteIssue,
|
|
12051
12114
|
xf as deleteIssueAssociation,
|
|
12052
|
-
|
|
12115
|
+
St as deleteIssueAssociations,
|
|
12053
12116
|
sS as deleteIssueAttachment,
|
|
12054
12117
|
Ca as deleteIssueAttachments,
|
|
12055
|
-
|
|
12118
|
+
FS as deleteIssueComment,
|
|
12056
12119
|
yS as deleteIssueCommentAttachment,
|
|
12057
12120
|
fS as deleteIssueCommentAttachments,
|
|
12058
|
-
|
|
12121
|
+
MS as deleteIssueComments,
|
|
12059
12122
|
Vw as deleteIssueType,
|
|
12060
12123
|
ZS as deleteIssueTypeAttachment,
|
|
12061
12124
|
XS as deleteIssueTypeAttachments,
|
|
@@ -12087,7 +12150,7 @@ export {
|
|
|
12087
12150
|
mT as deleteProjectAttachment,
|
|
12088
12151
|
yT as deleteProjectAttachments,
|
|
12089
12152
|
PT as deleteProjectFile,
|
|
12090
|
-
|
|
12153
|
+
FT as deleteProjectFiles,
|
|
12091
12154
|
CT as deleteProjects,
|
|
12092
12155
|
y_ as deleteTeam,
|
|
12093
12156
|
s_ as deleteTeamMembership,
|
|
@@ -12103,16 +12166,16 @@ export {
|
|
|
12103
12166
|
nI as deleteWorkflowStepComments,
|
|
12104
12167
|
fI as deleteWorkflowStepEvent,
|
|
12105
12168
|
SI as deleteWorkflowStepEvents,
|
|
12106
|
-
|
|
12169
|
+
hb as deleteWorkflowStepFieldValues,
|
|
12107
12170
|
XI as deleteWorkflowStepFieldValuesAttachment,
|
|
12108
12171
|
Qr as deleteWorkflowStepFieldValuesAttachments,
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12172
|
+
pb as deleteWorkflowStepFieldValuesMany,
|
|
12173
|
+
qb as deleteWorkflowStepFieldValuesReview,
|
|
12174
|
+
bb as deleteWorkflowStepFieldValuesReviewRequest,
|
|
12175
|
+
tc as deleteWorkflowStepFieldValuesReviewRequests,
|
|
12176
|
+
nc as deleteWorkflowStepFieldValuesReviews,
|
|
12114
12177
|
WI as deleteWorkflowStepFields,
|
|
12115
|
-
|
|
12178
|
+
FI as deleteWorkflowStepFieldsAttachment,
|
|
12116
12179
|
Nr as deleteWorkflowStepFieldsAttachments,
|
|
12117
12180
|
CI as deleteWorkflowStepFieldsMany,
|
|
12118
12181
|
Yb as deleteWorkflowStepReviewer,
|
|
@@ -12135,7 +12198,7 @@ export {
|
|
|
12135
12198
|
NO as enqueueRequest,
|
|
12136
12199
|
Ng as extractResponseFromError,
|
|
12137
12200
|
S as fallbackToEmptyArray,
|
|
12138
|
-
|
|
12201
|
+
Gt as fallbackToEmptyObject,
|
|
12139
12202
|
Kc as fetchBlobFromObjectUrl,
|
|
12140
12203
|
Yc as fetchFileFromObjectUrl,
|
|
12141
12204
|
Um as fileReducer,
|
|
@@ -12145,7 +12208,7 @@ export {
|
|
|
12145
12208
|
yy as formIdentifierValueReducer,
|
|
12146
12209
|
Sa as formIdentifierValueSlice,
|
|
12147
12210
|
Gy as formReducer,
|
|
12148
|
-
|
|
12211
|
+
Fy as formRevisionAttachmentReducer,
|
|
12149
12212
|
Aa as formRevisionAttachmentSlice,
|
|
12150
12213
|
Dy as formRevisionReducer,
|
|
12151
12214
|
wa as formRevisionsSlice,
|
|
@@ -12159,18 +12222,18 @@ export {
|
|
|
12159
12222
|
Zc as getAssetProcedureStepSubTree,
|
|
12160
12223
|
Uk as getAssetProcedureStepTrees,
|
|
12161
12224
|
Jg as getClientSDK,
|
|
12162
|
-
|
|
12225
|
+
kt as getClientStore,
|
|
12163
12226
|
to as getDocumentSubTree,
|
|
12164
12227
|
Lk as getDocumentTrees,
|
|
12165
12228
|
Gc as getFileExtension,
|
|
12166
12229
|
Uc as getLocalDateString,
|
|
12167
12230
|
Ek as getLocalRelativeDateString,
|
|
12168
|
-
|
|
12231
|
+
At as getOutboxCoordinator,
|
|
12169
12232
|
Bk as getRenamedFile,
|
|
12170
12233
|
A as getRequestDescription,
|
|
12171
12234
|
vk as getS3FileKey,
|
|
12172
|
-
|
|
12173
|
-
|
|
12235
|
+
Ct as hashFile,
|
|
12236
|
+
bR as initSDK,
|
|
12174
12237
|
co as initializeAssetAttachments,
|
|
12175
12238
|
$u as initializeAssetProcedureStepFieldValues,
|
|
12176
12239
|
ku as initializeAssetProcedureStepFieldValuesAttachments,
|
|
@@ -12194,16 +12257,16 @@ export {
|
|
|
12194
12257
|
fp as initializeAssetTypeIdentifierValues,
|
|
12195
12258
|
ip as initializeAssetTypeIdentifiers,
|
|
12196
12259
|
Cp as initializeAssetTypeStatuses,
|
|
12197
|
-
|
|
12260
|
+
Mp as initializeAssetTypes,
|
|
12198
12261
|
ul as initializeAssets,
|
|
12199
12262
|
so as initializeConversations,
|
|
12200
12263
|
im as initializeDocumentAttachments,
|
|
12201
12264
|
fm as initializeDocuments,
|
|
12202
|
-
|
|
12265
|
+
Mm as initializeEmailDomains,
|
|
12203
12266
|
iy as initializeFormIdentifierValues,
|
|
12204
12267
|
Lm as initializeFormIdentifiers,
|
|
12205
12268
|
fy as initializeFormRevisionAttachments,
|
|
12206
|
-
|
|
12269
|
+
My as initializeFormRevisions,
|
|
12207
12270
|
Jy as initializeFormSubmissionAttachments,
|
|
12208
12271
|
df as initializeFormSubmissions,
|
|
12209
12272
|
$y as initializeForms,
|
|
@@ -12235,10 +12298,10 @@ export {
|
|
|
12235
12298
|
D_ as initializeWorkflowStepAssignees,
|
|
12236
12299
|
Q_ as initializeWorkflowStepComments,
|
|
12237
12300
|
dI as initializeWorkflowStepEvents,
|
|
12238
|
-
|
|
12301
|
+
ab as initializeWorkflowStepFieldValues,
|
|
12239
12302
|
GI as initializeWorkflowStepFieldValuesAttachments,
|
|
12240
|
-
|
|
12241
|
-
|
|
12303
|
+
Ab as initializeWorkflowStepFieldValuesReviewRequests,
|
|
12304
|
+
Rb as initializeWorkflowStepFieldValuesReviews,
|
|
12242
12305
|
VI as initializeWorkflowStepFields,
|
|
12243
12306
|
_I as initializeWorkflowStepFieldsAttachments,
|
|
12244
12307
|
Cb as initializeWorkflowStepReviewers,
|
|
@@ -12262,7 +12325,7 @@ export {
|
|
|
12262
12325
|
Ja as issueTypeAttachmentSlice,
|
|
12263
12326
|
ew as issueTypeFieldValuesAttachmentReducer,
|
|
12264
12327
|
ir as issueTypeFieldValuesAttachmentSlice,
|
|
12265
|
-
|
|
12328
|
+
MA as issueTypeFieldValuesReducer,
|
|
12266
12329
|
tr as issueTypeFieldValuesSlice,
|
|
12267
12330
|
fA as issueTypeFieldsAttachmentReducer,
|
|
12268
12331
|
Xa as issueTypeFieldsAttachmentSlice,
|
|
@@ -12281,21 +12344,21 @@ export {
|
|
|
12281
12344
|
yr as issueUpdateSlice,
|
|
12282
12345
|
qk as logOnlyOnce,
|
|
12283
12346
|
HO as markAsDeleted,
|
|
12284
|
-
|
|
12347
|
+
hF as markForDeletion,
|
|
12285
12348
|
Zi as memoize,
|
|
12286
12349
|
kO as organizationAccessReducer,
|
|
12287
12350
|
kr as organizationAccessSlice,
|
|
12288
12351
|
UO as organizationReducer,
|
|
12289
12352
|
Pr as organizationSlice,
|
|
12290
12353
|
KO as outboxReducer,
|
|
12291
|
-
|
|
12292
|
-
|
|
12293
|
-
|
|
12354
|
+
Fr as outboxSlice,
|
|
12355
|
+
XF as overmapEnhancer,
|
|
12356
|
+
ZF as overmapReducer,
|
|
12294
12357
|
Pg as overmapReducers,
|
|
12295
12358
|
Sc as performRequest,
|
|
12296
12359
|
jg as performRequestFromAction,
|
|
12297
12360
|
nT as projectAccessReducer,
|
|
12298
|
-
|
|
12361
|
+
Mr as projectAccessSlice,
|
|
12299
12362
|
wT as projectAttachmentReducer,
|
|
12300
12363
|
Er as projectAttachmentSlice,
|
|
12301
12364
|
BT as projectFileReducer,
|
|
@@ -12307,9 +12370,9 @@ export {
|
|
|
12307
12370
|
f as restructureSelectorWithArgs,
|
|
12308
12371
|
sk as runMiddleware,
|
|
12309
12372
|
EP as selectAccessToken,
|
|
12310
|
-
|
|
12311
|
-
|
|
12312
|
-
|
|
12373
|
+
mF as selectAccessesByUserOfProject,
|
|
12374
|
+
SF as selectAccessibleProjects,
|
|
12375
|
+
oF as selectActiveOrganizationAccess,
|
|
12313
12376
|
oa as selectAllDocumentAttachments,
|
|
12314
12377
|
fo as selectAssetAttachmentById,
|
|
12315
12378
|
yo as selectAssetAttachmentMapping,
|
|
@@ -12318,7 +12381,7 @@ export {
|
|
|
12318
12381
|
wl as selectAssetById,
|
|
12319
12382
|
xd as selectAssetProcedureById,
|
|
12320
12383
|
cl as selectAssetProcedureStepById,
|
|
12321
|
-
|
|
12384
|
+
vt as selectAssetProcedureStepFieldValues,
|
|
12322
12385
|
Vu as selectAssetProcedureStepFieldValuesAttachmentById,
|
|
12323
12386
|
En as selectAssetProcedureStepFieldValuesAttachments,
|
|
12324
12387
|
zu as selectAssetProcedureStepFieldValuesAttachmentsByIds,
|
|
@@ -12329,7 +12392,7 @@ export {
|
|
|
12329
12392
|
lP as selectAssetProcedureStepFieldValuesOfAsset,
|
|
12330
12393
|
hP as selectAssetProcedureStepFieldValuesOfAssetProcedure,
|
|
12331
12394
|
pP as selectAssetProcedureStepFieldValuesOfAssetProcedureStep,
|
|
12332
|
-
|
|
12395
|
+
Xt as selectAssetProcedureStepFields,
|
|
12333
12396
|
lu as selectAssetProcedureStepFieldsAttachmentById,
|
|
12334
12397
|
gn as selectAssetProcedureStepFieldsAttachments,
|
|
12335
12398
|
hu as selectAssetProcedureStepFieldsAttachmentsByIds,
|
|
@@ -12338,7 +12401,7 @@ export {
|
|
|
12338
12401
|
bu as selectAssetProcedureStepFieldsByIds,
|
|
12339
12402
|
Pn as selectAssetProcedureStepFieldsMapping,
|
|
12340
12403
|
oP as selectAssetProcedureStepFieldsOfAssetProcedureStep,
|
|
12341
|
-
|
|
12404
|
+
es as selectAssetProcedureStepMapping,
|
|
12342
12405
|
Vn as selectAssetProcedureSteps,
|
|
12343
12406
|
ol as selectAssetProcedureStepsByIds,
|
|
12344
12407
|
mP as selectAssetProcedureStepsMappingOfAssetProcedureType,
|
|
@@ -12348,16 +12411,16 @@ export {
|
|
|
12348
12411
|
un as selectAssetProcedureTypeAttachments,
|
|
12349
12412
|
vo as selectAssetProcedureTypeAttachmentsByIds,
|
|
12350
12413
|
Xd as selectAssetProcedureTypeById,
|
|
12351
|
-
|
|
12414
|
+
Jt as selectAssetProcedureTypeFieldValues,
|
|
12352
12415
|
md as selectAssetProcedureTypeFieldValuesAttachmentById,
|
|
12353
12416
|
Sn as selectAssetProcedureTypeFieldValuesAttachments,
|
|
12354
12417
|
yd as selectAssetProcedureTypeFieldValuesAttachmentsByIds,
|
|
12355
12418
|
pd as selectAssetProcedureTypeFieldValuesAttachmentsMapping,
|
|
12356
|
-
|
|
12357
|
-
|
|
12419
|
+
Fd as selectAssetProcedureTypeFieldValuesById,
|
|
12420
|
+
Md as selectAssetProcedureTypeFieldValuesByIds,
|
|
12358
12421
|
Pd as selectAssetProcedureTypeFieldValuesMapping,
|
|
12359
12422
|
iP as selectAssetProcedureTypeFieldValuesOfAsset,
|
|
12360
|
-
|
|
12423
|
+
Qt as selectAssetProcedureTypeFields,
|
|
12361
12424
|
Lo as selectAssetProcedureTypeFieldsAttachmentById,
|
|
12362
12425
|
hn as selectAssetProcedureTypeFieldsAttachments,
|
|
12363
12426
|
No as selectAssetProcedureTypeFieldsAttachmentsByIds,
|
|
@@ -12370,7 +12433,7 @@ export {
|
|
|
12370
12433
|
eu as selectAssetProcedureTypesByIds,
|
|
12371
12434
|
Zd as selectAssetProcedureTypesMapping,
|
|
12372
12435
|
rP as selectAssetProcedureTypesOfOrganization,
|
|
12373
|
-
|
|
12436
|
+
Zt as selectAssetProcedures,
|
|
12374
12437
|
Wd as selectAssetProceduresByIds,
|
|
12375
12438
|
$d as selectAssetProceduresMapping,
|
|
12376
12439
|
jd as selectAssetProceduresOfAssetProcedureType,
|
|
@@ -12389,7 +12452,7 @@ export {
|
|
|
12389
12452
|
Nn as selectAssetTypeAttachments,
|
|
12390
12453
|
ih as selectAssetTypeAttachmentsByIds,
|
|
12391
12454
|
jp as selectAssetTypeById,
|
|
12392
|
-
|
|
12455
|
+
ss as selectAssetTypeFieldValues,
|
|
12393
12456
|
xh as selectAssetTypeFieldValuesAttachmentById,
|
|
12394
12457
|
Zn as selectAssetTypeFieldValuesAttachments,
|
|
12395
12458
|
Wh as selectAssetTypeFieldValuesAttachmentsByIds,
|
|
@@ -12398,20 +12461,20 @@ export {
|
|
|
12398
12461
|
tp as selectAssetTypeFieldValuesByIds,
|
|
12399
12462
|
Xh as selectAssetTypeFieldValuesMapping,
|
|
12400
12463
|
_P as selectAssetTypeFieldValuesOfAsset,
|
|
12401
|
-
|
|
12464
|
+
Bt as selectAssetTypeFields,
|
|
12402
12465
|
fh as selectAssetTypeFieldsAttachmentById,
|
|
12403
12466
|
Gn as selectAssetTypeFieldsAttachments,
|
|
12404
12467
|
Sh as selectAssetTypeFieldsAttachmentsByIds,
|
|
12405
12468
|
yh as selectAssetTypeFieldsAttachmentsMapping,
|
|
12406
|
-
|
|
12469
|
+
Mh as selectAssetTypeFieldsById,
|
|
12407
12470
|
Rh as selectAssetTypeFieldsByIds,
|
|
12408
|
-
|
|
12471
|
+
Fh as selectAssetTypeFieldsMapping,
|
|
12409
12472
|
OP as selectAssetTypeFieldsOfAssetType,
|
|
12410
12473
|
pp as selectAssetTypeIdentifierById,
|
|
12411
12474
|
hp as selectAssetTypeIdentifierMapping,
|
|
12412
12475
|
kp as selectAssetTypeIdentifierValueById,
|
|
12413
12476
|
gp as selectAssetTypeIdentifierValueMapping,
|
|
12414
|
-
|
|
12477
|
+
is as selectAssetTypeIdentifierValues,
|
|
12415
12478
|
Pp as selectAssetTypeIdentifierValuesByIds,
|
|
12416
12479
|
gP as selectAssetTypeIdentifierValuesOfAsset,
|
|
12417
12480
|
kP as selectAssetTypeIdentifierValuesOfIdentifier,
|
|
@@ -12422,13 +12485,13 @@ export {
|
|
|
12422
12485
|
Jp as selectAssetTypeStatusMapping,
|
|
12423
12486
|
ra as selectAssetTypeStatuses,
|
|
12424
12487
|
Xp as selectAssetTypeStatusesByIds,
|
|
12425
|
-
|
|
12488
|
+
FP as selectAssetTypeStatusesOfAssetType,
|
|
12426
12489
|
IP as selectAssetTypeValuesOfAssetType,
|
|
12427
12490
|
na as selectAssetTypes,
|
|
12428
12491
|
xp as selectAssetTypesByIds,
|
|
12429
12492
|
$p as selectAssetTypesMapping,
|
|
12430
12493
|
PP as selectAssetTypesOfOrganization,
|
|
12431
|
-
|
|
12494
|
+
ts as selectAssets,
|
|
12432
12495
|
Ol as selectAssetsByIds,
|
|
12433
12496
|
Sl as selectAssetsMapping,
|
|
12434
12497
|
Al as selectAssetsOfAssetType,
|
|
@@ -12450,7 +12513,7 @@ export {
|
|
|
12450
12513
|
YP as selectAttachmentsOfIssueType,
|
|
12451
12514
|
XA as selectAttachmentsOfIssueTypeFieldValues,
|
|
12452
12515
|
QP as selectAttachmentsOfIssueTypeFields,
|
|
12453
|
-
|
|
12516
|
+
fF as selectAttachmentsOfProject,
|
|
12454
12517
|
ib as selectAttachmentsOfWorkflowStepFieldValues,
|
|
12455
12518
|
RI as selectAttachmentsOfWorkflowStepFields,
|
|
12456
12519
|
GP as selectCommentsOfIssue,
|
|
@@ -12458,14 +12521,14 @@ export {
|
|
|
12458
12521
|
nn as selectConversationMapping,
|
|
12459
12522
|
Jk as selectConversations,
|
|
12460
12523
|
yO as selectCurrentUser,
|
|
12461
|
-
|
|
12524
|
+
uF as selectDeletedRequests,
|
|
12462
12525
|
dl as selectDescendantsOfAssetProcedureStep,
|
|
12463
|
-
|
|
12526
|
+
Fm as selectDescendantsOfDocument,
|
|
12464
12527
|
pm as selectDocumentAttachmentById,
|
|
12465
12528
|
hm as selectDocumentAttachmentMapping,
|
|
12466
12529
|
mm as selectDocumentAttachmentsByIds,
|
|
12467
12530
|
km as selectDocumentById,
|
|
12468
|
-
|
|
12531
|
+
as as selectDocuments,
|
|
12469
12532
|
Pm as selectDocumentsByIds,
|
|
12470
12533
|
ua as selectDocumentsMapping,
|
|
12471
12534
|
jm as selectEmailDomainById,
|
|
@@ -12479,7 +12542,7 @@ export {
|
|
|
12479
12542
|
Xm as selectFormIdentifierMapping,
|
|
12480
12543
|
py as selectFormIdentifierValueById,
|
|
12481
12544
|
hy as selectFormIdentifierValueMapping,
|
|
12482
|
-
|
|
12545
|
+
rs as selectFormIdentifierValues,
|
|
12483
12546
|
my as selectFormIdentifierValuesByIds,
|
|
12484
12547
|
xP as selectFormIdentifierValuesOfFormSubmission,
|
|
12485
12548
|
WP as selectFormIdentifierValuesOfIdentifier,
|
|
@@ -12490,10 +12553,10 @@ export {
|
|
|
12490
12553
|
ky as selectFormRevisionAttachmentById,
|
|
12491
12554
|
gy as selectFormRevisionAttachments,
|
|
12492
12555
|
Py as selectFormRevisionAttachmentsByIds,
|
|
12493
|
-
|
|
12556
|
+
cs as selectFormRevisionAttachmentsMapping,
|
|
12494
12557
|
Vy as selectFormRevisionById,
|
|
12495
12558
|
ba as selectFormRevisionMapping,
|
|
12496
|
-
|
|
12559
|
+
os as selectFormRevisions,
|
|
12497
12560
|
zy as selectFormRevisionsByIds,
|
|
12498
12561
|
qy as selectFormRevisionsOfForm,
|
|
12499
12562
|
va as selectFormSubmissionAttachemntsByIds,
|
|
@@ -12517,7 +12580,7 @@ export {
|
|
|
12517
12580
|
vP as selectIsLoggedIn,
|
|
12518
12581
|
Cf as selectIssueAssociationById,
|
|
12519
12582
|
Wf as selectIssueAssociationMapping,
|
|
12520
|
-
|
|
12583
|
+
wt as selectIssueAssociations,
|
|
12521
12584
|
Uf as selectIssueAssociationsByIds,
|
|
12522
12585
|
Kf as selectIssueAssociationsOfAsset,
|
|
12523
12586
|
Gf as selectIssueAssociationsOfIssue,
|
|
@@ -12542,16 +12605,16 @@ export {
|
|
|
12542
12605
|
Za as selectIssueTypeAttachments,
|
|
12543
12606
|
sA as selectIssueTypeAttachmentsByIds,
|
|
12544
12607
|
Dw as selectIssueTypeById,
|
|
12545
|
-
|
|
12608
|
+
us as selectIssueTypeFieldValues,
|
|
12546
12609
|
JA as selectIssueTypeFieldValuesAttachmentById,
|
|
12547
12610
|
rr as selectIssueTypeFieldValuesAttachments,
|
|
12548
12611
|
ZA as selectIssueTypeFieldValuesAttachmentsByIds,
|
|
12549
12612
|
QA as selectIssueTypeFieldValuesAttachmentsMapping,
|
|
12550
12613
|
PA as selectIssueTypeFieldValuesById,
|
|
12551
|
-
|
|
12614
|
+
FA as selectIssueTypeFieldValuesByIds,
|
|
12552
12615
|
kA as selectIssueTypeFieldValuesMapping,
|
|
12553
12616
|
JP as selectIssueTypeFieldValuesOfIssue,
|
|
12554
|
-
|
|
12617
|
+
Vt as selectIssueTypeFields,
|
|
12555
12618
|
mA as selectIssueTypeFieldsAttachmentById,
|
|
12556
12619
|
er as selectIssueTypeFieldsAttachments,
|
|
12557
12620
|
yA as selectIssueTypeFieldsAttachmentsByIds,
|
|
@@ -12564,29 +12627,29 @@ export {
|
|
|
12564
12627
|
uw as selectIssueTypeIdentifierMapping,
|
|
12565
12628
|
bw as selectIssueTypeIdentifierValueById,
|
|
12566
12629
|
Iw as selectIssueTypeIdentifierValueMapping,
|
|
12567
|
-
|
|
12630
|
+
ls as selectIssueTypeIdentifierValues,
|
|
12568
12631
|
gw as selectIssueTypeIdentifierValuesByIds,
|
|
12569
|
-
|
|
12570
|
-
|
|
12632
|
+
iF as selectIssueTypeIdentifierValuesOfIdentifier,
|
|
12633
|
+
sF as selectIssueTypeIdentifierValuesOfIssue,
|
|
12571
12634
|
or as selectIssueTypeIdentifiers,
|
|
12572
12635
|
hw as selectIssueTypeIdentifiersByIds,
|
|
12573
|
-
|
|
12636
|
+
tF as selectIssueTypeIdentifiersOfIssueType,
|
|
12574
12637
|
qw as selectIssueTypeMapping,
|
|
12575
12638
|
mr as selectIssueTypeStatusById,
|
|
12576
12639
|
Yw as selectIssueTypeStatusMapping,
|
|
12577
12640
|
pr as selectIssueTypeStatuses,
|
|
12578
12641
|
Qw as selectIssueTypeStatusesByIds,
|
|
12579
|
-
|
|
12580
|
-
|
|
12642
|
+
aF as selectIssueTypeStatusesOfIssueType,
|
|
12643
|
+
eF as selectIssueTypeValuesOfIssueType,
|
|
12581
12644
|
lr as selectIssueTypes,
|
|
12582
12645
|
$w as selectIssueTypesByIds,
|
|
12583
|
-
|
|
12646
|
+
nF as selectIssueTypesOfOrganization,
|
|
12584
12647
|
iO as selectIssueUpdateById,
|
|
12585
12648
|
Or as selectIssueUpdateMapping,
|
|
12586
12649
|
Tr as selectIssueUpdates,
|
|
12587
12650
|
nO as selectIssueUpdatesByIds,
|
|
12588
12651
|
aO as selectIssueUpdatesOfIssue,
|
|
12589
|
-
|
|
12652
|
+
ds as selectIssues,
|
|
12590
12653
|
CS as selectIssuesByIds,
|
|
12591
12654
|
US as selectIssuesOfIssueType,
|
|
12592
12655
|
KP as selectIssuesOfProject,
|
|
@@ -12596,15 +12659,17 @@ export {
|
|
|
12596
12659
|
uP as selectLatestFieldsByAssetProcedureStep,
|
|
12597
12660
|
UP as selectLatestFormRevisionOfForm,
|
|
12598
12661
|
XP as selectLatestIssueTypeFieldsOfIssueType,
|
|
12599
|
-
|
|
12600
|
-
|
|
12601
|
-
|
|
12602
|
-
|
|
12603
|
-
|
|
12662
|
+
lF as selectLatestRetryTime,
|
|
12663
|
+
UF as selectLatestReviewOfWorkflowStepFieldValues,
|
|
12664
|
+
WF as selectLatestReviewRequestOfWorkflowStepFieldValues,
|
|
12665
|
+
xF as selectLatestWorkflowStepFieldValuesByWorkflowStepOfWorkflow,
|
|
12666
|
+
NF as selectLatestWorkflowStepFieldValuesReviewByWorkflowStepFieldValues,
|
|
12667
|
+
qF as selectLatestWorkflowStepFieldsOfWorkflowStep,
|
|
12668
|
+
TF as selectMembershipsByUserOfTeam,
|
|
12604
12669
|
PO as selectOrganizationAccessById,
|
|
12605
|
-
|
|
12606
|
-
|
|
12607
|
-
|
|
12670
|
+
ms as selectOrganizationAccessMapping,
|
|
12671
|
+
MO as selectOrganizationAccessUserMapping,
|
|
12672
|
+
FO as selectOrganizationAccessesByIds,
|
|
12608
12673
|
WO as selectOrganizationById,
|
|
12609
12674
|
zP as selectOrganizationDocuments,
|
|
12610
12675
|
xO as selectOrganizations,
|
|
@@ -12612,9 +12677,9 @@ export {
|
|
|
12612
12677
|
jO as selectOrganizationsMapping,
|
|
12613
12678
|
aT as selectProjectAccessById,
|
|
12614
12679
|
Rr as selectProjectAccessMapping,
|
|
12615
|
-
|
|
12680
|
+
zt as selectProjectAccesses,
|
|
12616
12681
|
rT as selectProjectAccessesByIds,
|
|
12617
|
-
|
|
12682
|
+
pF as selectProjectAccessesOfProject,
|
|
12618
12683
|
ST as selectProjectAttachmentById,
|
|
12619
12684
|
fT as selectProjectAttachmentMapping,
|
|
12620
12685
|
vr as selectProjectAttachments,
|
|
@@ -12622,114 +12687,116 @@ export {
|
|
|
12622
12687
|
NT as selectProjectById,
|
|
12623
12688
|
VP as selectProjectDocuments,
|
|
12624
12689
|
ET as selectProjectFileById,
|
|
12625
|
-
|
|
12690
|
+
MT as selectProjectFileMapping,
|
|
12626
12691
|
RT as selectProjectFiles,
|
|
12627
12692
|
vT as selectProjectFilesByIds,
|
|
12628
12693
|
LT as selectProjectMapping,
|
|
12629
|
-
|
|
12694
|
+
ys as selectProjects,
|
|
12630
12695
|
HT as selectProjectsByIds,
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12696
|
+
AF as selectProjectsOfOrganization,
|
|
12697
|
+
OF as selectRehydrated,
|
|
12698
|
+
Fb as selectReviewRequestsOfWorkflowStepFieldValues,
|
|
12699
|
+
xb as selectReviewsOfWorkflowStepFieldValues,
|
|
12635
12700
|
xn as selectStageMapping,
|
|
12636
12701
|
A_ as selectTeamById,
|
|
12637
12702
|
r_ as selectTeamMembershipById,
|
|
12638
|
-
|
|
12703
|
+
fs as selectTeamMemberships,
|
|
12639
12704
|
c_ as selectTeamMembershipsByIds,
|
|
12640
12705
|
a_ as selectTeamMembershipsMapping,
|
|
12641
12706
|
$r as selectTeams,
|
|
12642
12707
|
w_ as selectTeamsByIds,
|
|
12643
12708
|
S_ as selectTeamsMapping,
|
|
12644
|
-
|
|
12709
|
+
IF as selectTeamsOfOrganization,
|
|
12645
12710
|
$P as selectUploadUrl,
|
|
12646
|
-
|
|
12647
|
-
|
|
12711
|
+
ps as selectUserById,
|
|
12712
|
+
hs as selectUsers,
|
|
12648
12713
|
fO as selectUsersByIds,
|
|
12649
12714
|
gr as selectUsersMapping,
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12715
|
+
dF as selectUsersOfOrganization,
|
|
12716
|
+
yF as selectUsersOfProject,
|
|
12717
|
+
_F as selectUsersOfTeam,
|
|
12653
12718
|
V_ as selectWorkflowById,
|
|
12654
12719
|
B_ as selectWorkflowMapping,
|
|
12655
12720
|
G_ as selectWorkflowStepAssigneeById,
|
|
12656
|
-
|
|
12721
|
+
qt as selectWorkflowStepAssignees,
|
|
12657
12722
|
K_ as selectWorkflowStepAssigneesByIds,
|
|
12658
12723
|
H_ as selectWorkflowStepAssigneesMapping,
|
|
12659
|
-
|
|
12660
|
-
|
|
12661
|
-
|
|
12724
|
+
kF as selectWorkflowStepAssigneesOfWorkflow,
|
|
12725
|
+
FF as selectWorkflowStepAssigneesOfWorkflowAndWorkflowStep,
|
|
12726
|
+
PF as selectWorkflowStepAssigneesOfWorkflowStep,
|
|
12662
12727
|
lg as selectWorkflowStepById,
|
|
12663
12728
|
rI as selectWorkflowStepCommentById,
|
|
12664
|
-
|
|
12729
|
+
Dt as selectWorkflowStepComments,
|
|
12665
12730
|
cI as selectWorkflowStepCommentsByIds,
|
|
12666
12731
|
aI as selectWorkflowStepCommentsMapping,
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12732
|
+
MF as selectWorkflowStepCommentsOfWorkflow,
|
|
12733
|
+
EF as selectWorkflowStepCommentsOfWorkflowAndWorkflowStep,
|
|
12734
|
+
RF as selectWorkflowStepCommentsOfWorkflowStep,
|
|
12670
12735
|
wI as selectWorkflowStepEventById,
|
|
12671
|
-
|
|
12736
|
+
$t as selectWorkflowStepEvents,
|
|
12672
12737
|
OI as selectWorkflowStepEventsByIds,
|
|
12673
12738
|
AI as selectWorkflowStepEventsMapping,
|
|
12674
|
-
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
|
|
12739
|
+
vF as selectWorkflowStepEventsOfWorkflow,
|
|
12740
|
+
VF as selectWorkflowStepEventsOfWorkflowAndWorkflowStep,
|
|
12741
|
+
BF as selectWorkflowStepEventsOfWorkflowStep,
|
|
12742
|
+
pt as selectWorkflowStepFieldValues,
|
|
12678
12743
|
tb as selectWorkflowStepFieldValuesAttachmentById,
|
|
12679
12744
|
Jr as selectWorkflowStepFieldValuesAttachments,
|
|
12680
12745
|
sb as selectWorkflowStepFieldValuesAttachmentsByIds,
|
|
12681
12746
|
eb as selectWorkflowStepFieldValuesAttachmentsMapping,
|
|
12682
|
-
|
|
12683
|
-
|
|
12684
|
-
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12747
|
+
yb as selectWorkflowStepFieldValuesById,
|
|
12748
|
+
fb as selectWorkflowStepFieldValuesByIds,
|
|
12749
|
+
mb as selectWorkflowStepFieldValuesMapping,
|
|
12750
|
+
DF as selectWorkflowStepFieldValuesOfWorkflow,
|
|
12751
|
+
jF as selectWorkflowStepFieldValuesOfWorkflowAndWorkflowStep,
|
|
12752
|
+
$F as selectWorkflowStepFieldValuesOfWorkflowStep,
|
|
12753
|
+
$b as selectWorkflowStepFieldValuesReviewById,
|
|
12754
|
+
kb as selectWorkflowStepFieldValuesReviewRequestById,
|
|
12755
|
+
jt as selectWorkflowStepFieldValuesReviewRequests,
|
|
12756
|
+
Pb as selectWorkflowStepFieldValuesReviewRequestsByIds,
|
|
12757
|
+
gb as selectWorkflowStepFieldValuesReviewRequestsMapping,
|
|
12758
|
+
CF as selectWorkflowStepFieldValuesReviewRequestsOfWorkflowAndWorkflowStep,
|
|
12759
|
+
bt as selectWorkflowStepFieldValuesReviews,
|
|
12760
|
+
jb as selectWorkflowStepFieldValuesReviewsByIds,
|
|
12761
|
+
Db as selectWorkflowStepFieldValuesReviewsMapping,
|
|
12762
|
+
LF as selectWorkflowStepFieldValuesReviewsOfWorkflowAndWorkflowStep,
|
|
12763
|
+
As as selectWorkflowStepFields,
|
|
12697
12764
|
EI as selectWorkflowStepFieldsAttachmentById,
|
|
12698
12765
|
Hr as selectWorkflowStepFieldsAttachments,
|
|
12699
12766
|
vI as selectWorkflowStepFieldsAttachmentsByIds,
|
|
12700
|
-
|
|
12767
|
+
MI as selectWorkflowStepFieldsAttachmentsMapping,
|
|
12701
12768
|
LI as selectWorkflowStepFieldsById,
|
|
12702
12769
|
NI as selectWorkflowStepFieldsByIds,
|
|
12703
12770
|
UI as selectWorkflowStepFieldsMapping,
|
|
12704
|
-
|
|
12771
|
+
zF as selectWorkflowStepFieldsOfWorkflowStep,
|
|
12705
12772
|
Zb as selectWorkflowStepReviewerById,
|
|
12706
|
-
|
|
12773
|
+
xt as selectWorkflowStepReviewers,
|
|
12707
12774
|
Xb as selectWorkflowStepReviewersByIds,
|
|
12708
12775
|
Jb as selectWorkflowStepReviewersMapping,
|
|
12709
|
-
|
|
12710
|
-
|
|
12711
|
-
|
|
12776
|
+
HF as selectWorkflowStepReviewersOfWorkflow,
|
|
12777
|
+
KF as selectWorkflowStepReviewersOfWorkflowAndWorkflowStep,
|
|
12778
|
+
GF as selectWorkflowStepReviewersOfWorkflowStep,
|
|
12712
12779
|
cc as selectWorkflowSteps,
|
|
12713
12780
|
hg as selectWorkflowStepsByIds,
|
|
12714
12781
|
ug as selectWorkflowStepsMapping,
|
|
12715
|
-
|
|
12782
|
+
YF as selectWorkflowStepsOfWorkflowType,
|
|
12716
12783
|
bg as selectWorkflowTypeById,
|
|
12717
12784
|
Ig as selectWorkflowTypeMapping,
|
|
12718
12785
|
dc as selectWorkflowTypes,
|
|
12719
12786
|
gg as selectWorkflowTypesByIds,
|
|
12720
|
-
|
|
12721
|
-
|
|
12787
|
+
QF as selectWorkflowTypesOfOrganization,
|
|
12788
|
+
Ss as selectWorkflows,
|
|
12722
12789
|
z_ as selectWorkflowsByIds,
|
|
12723
|
-
|
|
12724
|
-
|
|
12790
|
+
bF as selectWorkflowsOfProject,
|
|
12791
|
+
gF as selectWorkflowsOfWorkflowType,
|
|
12725
12792
|
yl as setAsset,
|
|
12726
12793
|
uo as setAssetAttachment,
|
|
12727
12794
|
lo as setAssetAttachments,
|
|
12728
12795
|
zd as setAssetProcedure,
|
|
12729
12796
|
Zu as setAssetProcedureStep,
|
|
12730
12797
|
Wu as setAssetProcedureStepFieldValues,
|
|
12731
|
-
|
|
12732
|
-
|
|
12798
|
+
Fu as setAssetProcedureStepFieldValuesAttachment,
|
|
12799
|
+
Mu as setAssetProcedureStepFieldValuesAttachments,
|
|
12733
12800
|
Cu as setAssetProcedureStepFieldValuesMany,
|
|
12734
12801
|
Su as setAssetProcedureStepFields,
|
|
12735
12802
|
nu as setAssetProcedureStepFieldsAttachment,
|
|
@@ -12776,8 +12843,8 @@ export {
|
|
|
12776
12843
|
Yg as setClientStore,
|
|
12777
12844
|
no as setConversation,
|
|
12778
12845
|
Gk as setConversations,
|
|
12779
|
-
|
|
12780
|
-
|
|
12846
|
+
rF as setCurrentUser,
|
|
12847
|
+
cF as setCurrentUserProfile,
|
|
12781
12848
|
wm as setDocument,
|
|
12782
12849
|
rm as setDocumentAttachment,
|
|
12783
12850
|
cm as setDocumentAttachments,
|
|
@@ -12843,12 +12910,12 @@ export {
|
|
|
12843
12910
|
TT as setProjectFile,
|
|
12844
12911
|
_T as setProjectFiles,
|
|
12845
12912
|
zT as setProjects,
|
|
12846
|
-
|
|
12913
|
+
wF as setRehydrated,
|
|
12847
12914
|
l_ as setTeam,
|
|
12848
12915
|
ZT as setTeamMembership,
|
|
12849
12916
|
XT as setTeamMemberships,
|
|
12850
12917
|
h_ as setTeams,
|
|
12851
|
-
|
|
12918
|
+
MP as setTokens,
|
|
12852
12919
|
DP as setUploadUrl,
|
|
12853
12920
|
dO as setUser,
|
|
12854
12921
|
oO as setUsers,
|
|
@@ -12860,14 +12927,14 @@ export {
|
|
|
12860
12927
|
eI as setWorkflowStepComments,
|
|
12861
12928
|
hI as setWorkflowStepEvent,
|
|
12862
12929
|
pI as setWorkflowStepEvents,
|
|
12863
|
-
|
|
12930
|
+
ob as setWorkflowStepFieldValues,
|
|
12864
12931
|
YI as setWorkflowStepFieldValuesAttachment,
|
|
12865
12932
|
QI as setWorkflowStepFieldValuesAttachments,
|
|
12866
|
-
|
|
12867
|
-
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12933
|
+
db as setWorkflowStepFieldValuesMany,
|
|
12934
|
+
vb as setWorkflowStepFieldValuesReview,
|
|
12935
|
+
Ob as setWorkflowStepFieldValuesReviewRequest,
|
|
12936
|
+
Tb as setWorkflowStepFieldValuesReviewRequests,
|
|
12937
|
+
Bb as setWorkflowStepFieldValuesReviews,
|
|
12871
12938
|
DI as setWorkflowStepFields,
|
|
12872
12939
|
bI as setWorkflowStepFieldsAttachment,
|
|
12873
12940
|
gI as setWorkflowStepFieldsAttachments,
|
|
@@ -12877,8 +12944,8 @@ export {
|
|
|
12877
12944
|
ag as setWorkflowSteps,
|
|
12878
12945
|
Sg as setWorkflowType,
|
|
12879
12946
|
Ag as setWorkflowTypes,
|
|
12880
|
-
|
|
12881
|
-
|
|
12947
|
+
F_ as setWorkflows,
|
|
12948
|
+
Fk as shallowEqual,
|
|
12882
12949
|
xk as slugify,
|
|
12883
12950
|
jk as spacesToDashesLower,
|
|
12884
12951
|
n_ as teamMembershipReducer,
|
|
@@ -12918,7 +12985,7 @@ export {
|
|
|
12918
12985
|
Bd as updateAssetProcedures,
|
|
12919
12986
|
Wl as updateAssetStage,
|
|
12920
12987
|
Pl as updateAssetStageCompletion,
|
|
12921
|
-
|
|
12988
|
+
Fl as updateAssetStageCompletions,
|
|
12922
12989
|
Cl as updateAssetStages,
|
|
12923
12990
|
Vp as updateAssetType,
|
|
12924
12991
|
Zl as updateAssetTypeAttachment,
|
|
@@ -13011,7 +13078,7 @@ export {
|
|
|
13011
13078
|
m_ as updateTeams,
|
|
13012
13079
|
hO as updateUser,
|
|
13013
13080
|
lO as updateUsers,
|
|
13014
|
-
|
|
13081
|
+
M_ as updateWorkflow,
|
|
13015
13082
|
rg as updateWorkflowStep,
|
|
13016
13083
|
C_ as updateWorkflowStepAssignee,
|
|
13017
13084
|
U_ as updateWorkflowStepAssignees,
|
|
@@ -13019,14 +13086,14 @@ export {
|
|
|
13019
13086
|
sI as updateWorkflowStepComments,
|
|
13020
13087
|
mI as updateWorkflowStepEvent,
|
|
13021
13088
|
yI as updateWorkflowStepEvents,
|
|
13022
|
-
|
|
13089
|
+
ub as updateWorkflowStepFieldValues,
|
|
13023
13090
|
JI as updateWorkflowStepFieldValuesAttachment,
|
|
13024
13091
|
ZI as updateWorkflowStepFieldValuesAttachments,
|
|
13025
|
-
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
|
|
13092
|
+
lb as updateWorkflowStepFieldValuesMany,
|
|
13093
|
+
Vb as updateWorkflowStepFieldValuesReview,
|
|
13094
|
+
_b as updateWorkflowStepFieldValuesReviewRequest,
|
|
13095
|
+
Ib as updateWorkflowStepFieldValuesReviewRequests,
|
|
13096
|
+
zb as updateWorkflowStepFieldValuesReviews,
|
|
13030
13097
|
jI as updateWorkflowStepFields,
|
|
13031
13098
|
kI as updateWorkflowStepFieldsAttachment,
|
|
13032
13099
|
PI as updateWorkflowStepFieldsAttachments,
|
|
@@ -13042,7 +13109,7 @@ export {
|
|
|
13042
13109
|
_r as userSlice,
|
|
13043
13110
|
_ as uuidObj,
|
|
13044
13111
|
Xi as uuidObjSortFn,
|
|
13045
|
-
|
|
13112
|
+
Yt as uuidSortFn,
|
|
13046
13113
|
I_ as versioningReducer,
|
|
13047
13114
|
__ as versioningSlice,
|
|
13048
13115
|
q_ as workflowReducer,
|
|
@@ -13055,12 +13122,12 @@ export {
|
|
|
13055
13122
|
Cr as workflowStepEventSlice,
|
|
13056
13123
|
nb as workflowStepFieldValuesAttachmentReducer,
|
|
13057
13124
|
Kr as workflowStepFieldValuesAttachmentSlice,
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13125
|
+
Sb as workflowStepFieldValuesReducer,
|
|
13126
|
+
Wb as workflowStepFieldValuesReviewReducer,
|
|
13127
|
+
Mb as workflowStepFieldValuesReviewRequestReducer,
|
|
13128
|
+
Xr as workflowStepFieldValuesReviewRequestSlice,
|
|
13129
|
+
sc as workflowStepFieldValuesReviewSlice,
|
|
13130
|
+
Zr as workflowStepFieldValuesSlice,
|
|
13064
13131
|
BI as workflowStepFieldsAttachmentReducer,
|
|
13065
13132
|
Ur as workflowStepFieldsAttachmentSlice,
|
|
13066
13133
|
HI as workflowStepFieldsReducer,
|