udp-react-enterprise-component-library 26.8.0 → 26.9.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.js +14 -10
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.js.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.mjs +7 -2
- package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.js +2 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.js.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.mjs +20 -10
- package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.js +12 -0
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.js.map +1 -1
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.mjs +211 -187
- package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.js +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.js.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.mjs +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.js +100 -30
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.js.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.mjs +228 -165
- package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.mjs.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.d.ts.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.js +14 -5
- package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.js.map +1 -1
- package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.mjs +2 -4
- package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.mjs.map +1 -1
- package/dist/utilities/i18n/locales/es-US.json +2 -0
- package/dist/utilities/i18n/locales/es-US.mjs +2 -0
- package/dist/utilities/i18n/locales/fr-CA.json +2 -0
- package/dist/utilities/i18n/locales/fr-CA.mjs +2 -0
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ import { useHistory, useLocation } from "react-router-dom";
|
|
|
17
17
|
import "./UdpTransactionsPage.css";
|
|
18
18
|
//#region src/udp/pages/UdpTransactionsPage/UdpTransactionsPage.jsx
|
|
19
19
|
const UdpTransactionsPage = (props) => {
|
|
20
|
-
const $ = c(
|
|
20
|
+
const $ = c(115);
|
|
21
21
|
const { transactionTypeId: t0, domainName: t1, domainFieldType, domainFieldValue, searchMethodObject, domainColumnFormatters, gridOptions, onBeforeRefresh, onAfterRefresh, gridTitle, hideCreateTransaction: t2, sideSheetProps, columnDefProperties, columnDefinitions, paginationAutoPageSize, customActions, gridSecondaryActionButtons, calendarSecondaryActionButtons, gridApiCallback, loading: t3, addTransactionSidesheetWidth, viewTransactionSidesheetWidth, editTransactionSidesheetWidth, attachmentTransactionSidesheetWidth, workflowActionTransactionSidesheetWidth, createRevisionSidesheetWidth, statusChangeCallbacks, attachmentTypeDefaults } = props;
|
|
22
22
|
const transactionTypeId = t0 === void 0 ? "" : t0;
|
|
23
23
|
const initialDomainName = t1 === void 0 ? "" : t1;
|
|
@@ -230,72 +230,125 @@ const UdpTransactionsPage = (props) => {
|
|
|
230
230
|
} else t18 = $[34];
|
|
231
231
|
const refreshGridData = t18;
|
|
232
232
|
let t19;
|
|
233
|
-
if ($[35] !==
|
|
234
|
-
t19 =
|
|
235
|
-
|
|
236
|
-
const newStatus = transactionType?.udpTransactionTypeUdpTransactionTypeStatus?.find((status) => status.transactionTypeStatusId === newStatusId);
|
|
237
|
-
const statusChangeCallback = newStatus?.code ? statusChangeCallbacks[newStatus.code] : null;
|
|
238
|
-
if (statusChangeCallback) try {
|
|
239
|
-
await statusChangeCallback(transaction_0, newStatus);
|
|
240
|
-
} catch (t20) {
|
|
241
|
-
const error = t20;
|
|
242
|
-
console.error("statusChangeCallbacks callback threw", error);
|
|
243
|
-
}
|
|
233
|
+
if ($[35] !== addTransactionSidesheetWidth) {
|
|
234
|
+
t19 = () => {
|
|
235
|
+
handleSidesheet("add", true, null, addTransactionSidesheetWidth);
|
|
244
236
|
};
|
|
245
|
-
$[35] =
|
|
246
|
-
$[36] =
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
} else t19 = $[38];
|
|
250
|
-
const handleTransactionStatusChange = t19;
|
|
237
|
+
$[35] = addTransactionSidesheetWidth;
|
|
238
|
+
$[36] = t19;
|
|
239
|
+
} else t19 = $[36];
|
|
240
|
+
const openAddTransaction = t19;
|
|
251
241
|
let t20;
|
|
252
|
-
if ($[
|
|
253
|
-
t20 = () => {
|
|
254
|
-
handleSidesheet("
|
|
242
|
+
if ($[37] !== viewTransactionSidesheetWidth) {
|
|
243
|
+
t20 = (transaction_0) => {
|
|
244
|
+
handleSidesheet("view", true, transaction_0, viewTransactionSidesheetWidth);
|
|
255
245
|
};
|
|
256
|
-
$[
|
|
257
|
-
$[
|
|
258
|
-
} else t20 = $[
|
|
259
|
-
const
|
|
246
|
+
$[37] = viewTransactionSidesheetWidth;
|
|
247
|
+
$[38] = t20;
|
|
248
|
+
} else t20 = $[38];
|
|
249
|
+
const openViewTransaction = t20;
|
|
260
250
|
let t21;
|
|
261
|
-
if ($[
|
|
251
|
+
if ($[39] !== editTransactionSidesheetWidth) {
|
|
262
252
|
t21 = (transaction_1) => {
|
|
263
|
-
handleSidesheet("
|
|
253
|
+
handleSidesheet("edit", true, transaction_1, editTransactionSidesheetWidth);
|
|
264
254
|
};
|
|
265
|
-
$[
|
|
266
|
-
$[
|
|
267
|
-
} else t21 = $[
|
|
268
|
-
const
|
|
255
|
+
$[39] = editTransactionSidesheetWidth;
|
|
256
|
+
$[40] = t21;
|
|
257
|
+
} else t21 = $[40];
|
|
258
|
+
const openEditTransaction = t21;
|
|
269
259
|
let t22;
|
|
270
|
-
if ($[
|
|
260
|
+
if ($[41] !== attachmentTransactionSidesheetWidth) {
|
|
271
261
|
t22 = (transaction_2) => {
|
|
272
|
-
handleSidesheet("
|
|
262
|
+
handleSidesheet("attachment", true, transaction_2, attachmentTransactionSidesheetWidth || 1e3);
|
|
273
263
|
};
|
|
274
|
-
$[
|
|
275
|
-
$[
|
|
276
|
-
} else t22 = $[
|
|
277
|
-
const
|
|
264
|
+
$[41] = attachmentTransactionSidesheetWidth;
|
|
265
|
+
$[42] = t22;
|
|
266
|
+
} else t22 = $[42];
|
|
267
|
+
const openAttachmentTransaction = t22;
|
|
278
268
|
let t23;
|
|
279
|
-
if ($[
|
|
269
|
+
if ($[43] !== workflowActionTransactionSidesheetWidth) {
|
|
280
270
|
t23 = (transaction_3) => {
|
|
281
|
-
handleSidesheet("
|
|
271
|
+
handleSidesheet("action", true, transaction_3, workflowActionTransactionSidesheetWidth);
|
|
282
272
|
};
|
|
283
|
-
$[
|
|
284
|
-
$[
|
|
285
|
-
} else t23 = $[
|
|
286
|
-
const
|
|
273
|
+
$[43] = workflowActionTransactionSidesheetWidth;
|
|
274
|
+
$[44] = t23;
|
|
275
|
+
} else t23 = $[44];
|
|
276
|
+
const openWorkflowActionTransaction = t23;
|
|
277
|
+
const fetchFullTransaction = _temp4;
|
|
278
|
+
const isMountedRef = useRef(true);
|
|
287
279
|
let t24;
|
|
288
|
-
if ($[47] !== workflowActionTransactionSidesheetWidth) {
|
|
289
|
-
t24 = (transaction_4) => {
|
|
290
|
-
handleSidesheet("action", true, transaction_4, workflowActionTransactionSidesheetWidth);
|
|
291
|
-
};
|
|
292
|
-
$[47] = workflowActionTransactionSidesheetWidth;
|
|
293
|
-
$[48] = t24;
|
|
294
|
-
} else t24 = $[48];
|
|
295
|
-
const openWorkflowActionTransaction = t24;
|
|
296
280
|
let t25;
|
|
297
|
-
if ($[
|
|
298
|
-
|
|
281
|
+
if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
|
|
282
|
+
t24 = () => () => {
|
|
283
|
+
isMountedRef.current = false;
|
|
284
|
+
};
|
|
285
|
+
t25 = [];
|
|
286
|
+
$[45] = t24;
|
|
287
|
+
$[46] = t25;
|
|
288
|
+
} else {
|
|
289
|
+
t24 = $[45];
|
|
290
|
+
t25 = $[46];
|
|
291
|
+
}
|
|
292
|
+
useEffect(t24, t25);
|
|
293
|
+
const autoLaunchRefreshTokenRef = useRef(null);
|
|
294
|
+
let t26;
|
|
295
|
+
let t27;
|
|
296
|
+
if ($[47] !== sidesheetState.workflowAction) {
|
|
297
|
+
t26 = () => {
|
|
298
|
+
if (!sidesheetState.workflowAction) autoLaunchRefreshTokenRef.current = null;
|
|
299
|
+
};
|
|
300
|
+
t27 = [sidesheetState.workflowAction];
|
|
301
|
+
$[47] = sidesheetState.workflowAction;
|
|
302
|
+
$[48] = t26;
|
|
303
|
+
$[49] = t27;
|
|
304
|
+
} else {
|
|
305
|
+
t26 = $[48];
|
|
306
|
+
t27 = $[49];
|
|
307
|
+
}
|
|
308
|
+
useEffect(t26, t27);
|
|
309
|
+
let t28;
|
|
310
|
+
if ($[50] !== handleErrorSnackbar || $[51] !== openWorkflowActionTransaction || $[52] !== statusChangeCallbacks || $[53] !== transactionType?.pageConfiguration?.enableStatusChangeCallbacks || $[54] !== transactionType?.udpTransactionTypeUdpTransactionTypeStatus) {
|
|
311
|
+
t28 = (newStatusId, transaction_4, updatedTransaction) => {
|
|
312
|
+
if (!newStatusId || newStatusId === transaction_4?.currentStatusId) return { autoLaunchNextSteps: false };
|
|
313
|
+
const newStatus = transactionType?.udpTransactionTypeUdpTransactionTypeStatus?.find((status) => status.transactionTypeStatusId === newStatusId);
|
|
314
|
+
const autoLaunchNextSteps = !!newStatus?.pageConfiguration?.autoLaunchNextSteps && !!transaction_4?.transactionId;
|
|
315
|
+
if (autoLaunchNextSteps) {
|
|
316
|
+
const { transactionId: transactionId_0 } = transaction_4;
|
|
317
|
+
openWorkflowActionTransaction({
|
|
318
|
+
...transaction_4,
|
|
319
|
+
...updatedTransaction,
|
|
320
|
+
currentStatusId: newStatusId,
|
|
321
|
+
entityBusinessObject: updatedTransaction?.entityBusinessObject ?? transaction_4.entityBusinessObject
|
|
322
|
+
});
|
|
323
|
+
const refreshToken = {};
|
|
324
|
+
autoLaunchRefreshTokenRef.current = refreshToken;
|
|
325
|
+
const isCurrent = () => isMountedRef.current && autoLaunchRefreshTokenRef.current === refreshToken;
|
|
326
|
+
fetchFullTransaction(transactionId_0).then((freshTransaction) => {
|
|
327
|
+
if (isCurrent()) setSelectedTransaction(freshTransaction);
|
|
328
|
+
}).catch((error) => {
|
|
329
|
+
if (isCurrent()) handleErrorSnackbar(error);
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
const statusChangeCallback = statusChangeCallbacks && transactionType?.pageConfiguration?.enableStatusChangeCallbacks !== false && newStatus?.code ? statusChangeCallbacks[newStatus.code] : null;
|
|
333
|
+
if (statusChangeCallback) try {
|
|
334
|
+
Promise.resolve(statusChangeCallback(transaction_4, newStatus)).catch(_temp5);
|
|
335
|
+
} catch (t29) {
|
|
336
|
+
const error_0 = t29;
|
|
337
|
+
console.error("statusChangeCallbacks callback threw", error_0);
|
|
338
|
+
}
|
|
339
|
+
return { autoLaunchNextSteps };
|
|
340
|
+
};
|
|
341
|
+
$[50] = handleErrorSnackbar;
|
|
342
|
+
$[51] = openWorkflowActionTransaction;
|
|
343
|
+
$[52] = statusChangeCallbacks;
|
|
344
|
+
$[53] = transactionType?.pageConfiguration?.enableStatusChangeCallbacks;
|
|
345
|
+
$[54] = transactionType?.udpTransactionTypeUdpTransactionTypeStatus;
|
|
346
|
+
$[55] = t28;
|
|
347
|
+
} else t28 = $[55];
|
|
348
|
+
const handleTransactionStatusChange = t28;
|
|
349
|
+
let t29;
|
|
350
|
+
if ($[56] !== history) {
|
|
351
|
+
t29 = () => {
|
|
299
352
|
const params = new URLSearchParams(history.location.search);
|
|
300
353
|
params.delete("udpTransactionId");
|
|
301
354
|
params.delete("udpTransactionAction");
|
|
@@ -304,95 +357,96 @@ const UdpTransactionsPage = (props) => {
|
|
|
304
357
|
search: params.toString()
|
|
305
358
|
});
|
|
306
359
|
};
|
|
307
|
-
$[
|
|
308
|
-
$[
|
|
309
|
-
} else
|
|
310
|
-
const clearDeepLinkParams =
|
|
311
|
-
let
|
|
312
|
-
let
|
|
313
|
-
if ($[
|
|
314
|
-
|
|
360
|
+
$[56] = history;
|
|
361
|
+
$[57] = t29;
|
|
362
|
+
} else t29 = $[57];
|
|
363
|
+
const clearDeepLinkParams = t29;
|
|
364
|
+
let t30;
|
|
365
|
+
let t31;
|
|
366
|
+
if ($[58] !== clearDeepLinkParams || $[59] !== deepLinkAction || $[60] !== deepLinkTransactionId || $[61] !== handleErrorSnackbar || $[62] !== openWorkflowActionTransaction) {
|
|
367
|
+
t30 = () => {
|
|
315
368
|
if (!deepLinkTransactionId || deepLinkAction !== "nextSteps") return;
|
|
316
369
|
let cancelled = false;
|
|
317
|
-
|
|
370
|
+
fetchFullTransaction(deepLinkTransactionId).then((transaction_5) => {
|
|
318
371
|
if (cancelled) return;
|
|
319
372
|
deepLinkOpenedRef.current = true;
|
|
320
|
-
openWorkflowActionTransaction(
|
|
321
|
-
}).catch((
|
|
373
|
+
openWorkflowActionTransaction(transaction_5);
|
|
374
|
+
}).catch((error_2) => {
|
|
322
375
|
if (cancelled) return;
|
|
323
|
-
handleErrorSnackbar(
|
|
376
|
+
handleErrorSnackbar(error_2);
|
|
324
377
|
clearDeepLinkParams();
|
|
325
378
|
});
|
|
326
379
|
return () => {
|
|
327
380
|
cancelled = true;
|
|
328
381
|
};
|
|
329
382
|
};
|
|
330
|
-
|
|
383
|
+
t31 = [
|
|
331
384
|
deepLinkTransactionId,
|
|
332
385
|
deepLinkAction,
|
|
386
|
+
fetchFullTransaction,
|
|
333
387
|
openWorkflowActionTransaction,
|
|
334
388
|
handleErrorSnackbar,
|
|
335
389
|
clearDeepLinkParams
|
|
336
390
|
];
|
|
337
|
-
$[
|
|
338
|
-
$[
|
|
339
|
-
$[
|
|
340
|
-
$[
|
|
341
|
-
$[
|
|
342
|
-
$[
|
|
343
|
-
$[
|
|
391
|
+
$[58] = clearDeepLinkParams;
|
|
392
|
+
$[59] = deepLinkAction;
|
|
393
|
+
$[60] = deepLinkTransactionId;
|
|
394
|
+
$[61] = handleErrorSnackbar;
|
|
395
|
+
$[62] = openWorkflowActionTransaction;
|
|
396
|
+
$[63] = t30;
|
|
397
|
+
$[64] = t31;
|
|
344
398
|
} else {
|
|
345
|
-
|
|
346
|
-
|
|
399
|
+
t30 = $[63];
|
|
400
|
+
t31 = $[64];
|
|
347
401
|
}
|
|
348
|
-
useEffect(
|
|
349
|
-
let
|
|
350
|
-
let
|
|
351
|
-
if ($[
|
|
352
|
-
|
|
402
|
+
useEffect(t30, t31);
|
|
403
|
+
let t32;
|
|
404
|
+
let t33;
|
|
405
|
+
if ($[65] !== clearDeepLinkParams || $[66] !== sidesheetState.workflowAction) {
|
|
406
|
+
t32 = () => {
|
|
353
407
|
if (!sidesheetState.workflowAction && deepLinkOpenedRef.current) {
|
|
354
408
|
deepLinkOpenedRef.current = false;
|
|
355
409
|
clearDeepLinkParams();
|
|
356
410
|
}
|
|
357
411
|
};
|
|
358
|
-
|
|
359
|
-
$[
|
|
360
|
-
$[
|
|
361
|
-
$[
|
|
362
|
-
$[
|
|
412
|
+
t33 = [sidesheetState.workflowAction, clearDeepLinkParams];
|
|
413
|
+
$[65] = clearDeepLinkParams;
|
|
414
|
+
$[66] = sidesheetState.workflowAction;
|
|
415
|
+
$[67] = t32;
|
|
416
|
+
$[68] = t33;
|
|
363
417
|
} else {
|
|
364
|
-
|
|
365
|
-
|
|
418
|
+
t32 = $[67];
|
|
419
|
+
t33 = $[68];
|
|
366
420
|
}
|
|
367
|
-
useEffect(
|
|
368
|
-
let
|
|
369
|
-
if ($[
|
|
370
|
-
|
|
371
|
-
handleSidesheet("createRevision", true,
|
|
421
|
+
useEffect(t32, t33);
|
|
422
|
+
let t34;
|
|
423
|
+
if ($[69] !== createRevisionSidesheetWidth) {
|
|
424
|
+
t34 = (transaction_6) => {
|
|
425
|
+
handleSidesheet("createRevision", true, transaction_6, createRevisionSidesheetWidth);
|
|
372
426
|
};
|
|
373
|
-
$[
|
|
374
|
-
$[
|
|
375
|
-
} else
|
|
376
|
-
const openCreateRevision =
|
|
427
|
+
$[69] = createRevisionSidesheetWidth;
|
|
428
|
+
$[70] = t34;
|
|
429
|
+
} else t34 = $[70];
|
|
430
|
+
const openCreateRevision = t34;
|
|
377
431
|
if (!transactionTypeId && !initialTransactionTypeId && !initialDomainName) {
|
|
378
|
-
let
|
|
379
|
-
if ($[
|
|
380
|
-
|
|
381
|
-
$[
|
|
382
|
-
} else
|
|
383
|
-
return
|
|
432
|
+
let t35;
|
|
433
|
+
if ($[71] === Symbol.for("react.memo_cache_sentinel")) {
|
|
434
|
+
t35 = /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Typography$1, { variant: "h6" }, "Error loading Transaction Type: No Transaction type provided."));
|
|
435
|
+
$[71] = t35;
|
|
436
|
+
} else t35 = $[71];
|
|
437
|
+
return t35;
|
|
384
438
|
}
|
|
385
439
|
if (!transactionType || catalogObjectPending || loading) {
|
|
386
|
-
let
|
|
387
|
-
if ($[
|
|
388
|
-
|
|
389
|
-
$[
|
|
390
|
-
} else
|
|
391
|
-
return
|
|
440
|
+
let t35;
|
|
441
|
+
if ($[72] === Symbol.for("react.memo_cache_sentinel")) {
|
|
442
|
+
t35 = /* @__PURE__ */ React.createElement("div", { className: "udp-transaction-page-loading" }, /* @__PURE__ */ React.createElement(CircularProgress, { size: 64 }));
|
|
443
|
+
$[72] = t35;
|
|
444
|
+
} else t35 = $[72];
|
|
445
|
+
return t35;
|
|
392
446
|
}
|
|
393
|
-
let
|
|
394
|
-
if ($[
|
|
395
|
-
|
|
447
|
+
let t35;
|
|
448
|
+
if ($[73] !== calendarSecondaryActionButtons || $[74] !== calendarViewConfiguration || $[75] !== calendarViewEnabled || $[76] !== catalogObject || $[77] !== columnDefProperties || $[78] !== columnDefinitions || $[79] !== customActions || $[80] !== domainColumnFormatters || $[81] !== domainName || $[82] !== filterModel || $[83] !== gridApi || $[84] !== gridOptions || $[85] !== gridSecondaryActionButtons || $[86] !== gridTitle || $[87] !== handleGridApiCallback || $[88] !== hideCreateTransaction || $[89] !== openAddTransaction || $[90] !== openAttachmentTransaction || $[91] !== openCreateRevision || $[92] !== openEditTransaction || $[93] !== openViewTransaction || $[94] !== openWorkflowActionTransaction || $[95] !== paginationAutoPageSize || $[96] !== refreshGridData || $[97] !== searchMethodObject || $[98] !== showCalendarView || $[99] !== transactionType || $[100] !== transactionTypeLoading) {
|
|
449
|
+
t35 = calendarViewEnabled && showCalendarView ? /* @__PURE__ */ React.createElement(UdpTransactionCalendar, {
|
|
396
450
|
transactionTypeId: transactionType?.transactionTypeId,
|
|
397
451
|
domainName,
|
|
398
452
|
searchMethodObject,
|
|
@@ -433,45 +487,45 @@ const UdpTransactionsPage = (props) => {
|
|
|
433
487
|
calendarViewEnabled,
|
|
434
488
|
onShowCalendarView: () => setShowCalendarView(true)
|
|
435
489
|
});
|
|
436
|
-
$[
|
|
437
|
-
$[
|
|
438
|
-
$[
|
|
439
|
-
$[
|
|
440
|
-
$[
|
|
441
|
-
$[
|
|
442
|
-
$[
|
|
443
|
-
$[
|
|
444
|
-
$[
|
|
445
|
-
$[
|
|
446
|
-
$[
|
|
447
|
-
$[
|
|
448
|
-
$[
|
|
449
|
-
$[
|
|
450
|
-
$[
|
|
451
|
-
$[
|
|
452
|
-
$[
|
|
453
|
-
$[
|
|
454
|
-
$[
|
|
455
|
-
$[
|
|
456
|
-
$[
|
|
457
|
-
$[
|
|
458
|
-
$[
|
|
459
|
-
$[
|
|
460
|
-
$[
|
|
461
|
-
$[
|
|
462
|
-
$[
|
|
463
|
-
$[
|
|
464
|
-
$[
|
|
465
|
-
} else
|
|
466
|
-
const
|
|
467
|
-
let
|
|
468
|
-
if ($[
|
|
469
|
-
|
|
490
|
+
$[73] = calendarSecondaryActionButtons;
|
|
491
|
+
$[74] = calendarViewConfiguration;
|
|
492
|
+
$[75] = calendarViewEnabled;
|
|
493
|
+
$[76] = catalogObject;
|
|
494
|
+
$[77] = columnDefProperties;
|
|
495
|
+
$[78] = columnDefinitions;
|
|
496
|
+
$[79] = customActions;
|
|
497
|
+
$[80] = domainColumnFormatters;
|
|
498
|
+
$[81] = domainName;
|
|
499
|
+
$[82] = filterModel;
|
|
500
|
+
$[83] = gridApi;
|
|
501
|
+
$[84] = gridOptions;
|
|
502
|
+
$[85] = gridSecondaryActionButtons;
|
|
503
|
+
$[86] = gridTitle;
|
|
504
|
+
$[87] = handleGridApiCallback;
|
|
505
|
+
$[88] = hideCreateTransaction;
|
|
506
|
+
$[89] = openAddTransaction;
|
|
507
|
+
$[90] = openAttachmentTransaction;
|
|
508
|
+
$[91] = openCreateRevision;
|
|
509
|
+
$[92] = openEditTransaction;
|
|
510
|
+
$[93] = openViewTransaction;
|
|
511
|
+
$[94] = openWorkflowActionTransaction;
|
|
512
|
+
$[95] = paginationAutoPageSize;
|
|
513
|
+
$[96] = refreshGridData;
|
|
514
|
+
$[97] = searchMethodObject;
|
|
515
|
+
$[98] = showCalendarView;
|
|
516
|
+
$[99] = transactionType;
|
|
517
|
+
$[100] = transactionTypeLoading;
|
|
518
|
+
$[101] = t35;
|
|
519
|
+
} else t35 = $[101];
|
|
520
|
+
const t36 = transactionType?.transactionTypeId;
|
|
521
|
+
let t37;
|
|
522
|
+
if ($[102] !== attachmentTypeDefaults || $[103] !== catalogObject || $[104] !== domainName || $[105] !== handleTransactionStatusChange || $[106] !== refreshGridData || $[107] !== selectedTransaction || $[108] !== sideSheetProps || $[109] !== sidesheetState || $[110] !== t36) {
|
|
523
|
+
t37 = /* @__PURE__ */ React.createElement(UdpTransactionSidesheet, {
|
|
470
524
|
openStates: sidesheetState,
|
|
471
525
|
handleSidesheet,
|
|
472
526
|
handleAttachmentTransaction,
|
|
473
527
|
transaction: selectedTransaction,
|
|
474
|
-
transactionTypeId:
|
|
528
|
+
transactionTypeId: t36,
|
|
475
529
|
domainName,
|
|
476
530
|
refreshGridData,
|
|
477
531
|
catalogObject,
|
|
@@ -479,30 +533,39 @@ const UdpTransactionsPage = (props) => {
|
|
|
479
533
|
attachmentTypeDefaults,
|
|
480
534
|
...sideSheetProps
|
|
481
535
|
});
|
|
482
|
-
$[
|
|
483
|
-
$[
|
|
484
|
-
$[
|
|
485
|
-
$[
|
|
486
|
-
$[
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
489
|
-
$[
|
|
490
|
-
$[
|
|
491
|
-
$[
|
|
492
|
-
} else
|
|
493
|
-
let
|
|
494
|
-
if ($[
|
|
495
|
-
|
|
496
|
-
$[
|
|
497
|
-
$[
|
|
498
|
-
$[
|
|
499
|
-
} else
|
|
500
|
-
return
|
|
536
|
+
$[102] = attachmentTypeDefaults;
|
|
537
|
+
$[103] = catalogObject;
|
|
538
|
+
$[104] = domainName;
|
|
539
|
+
$[105] = handleTransactionStatusChange;
|
|
540
|
+
$[106] = refreshGridData;
|
|
541
|
+
$[107] = selectedTransaction;
|
|
542
|
+
$[108] = sideSheetProps;
|
|
543
|
+
$[109] = sidesheetState;
|
|
544
|
+
$[110] = t36;
|
|
545
|
+
$[111] = t37;
|
|
546
|
+
} else t37 = $[111];
|
|
547
|
+
let t38;
|
|
548
|
+
if ($[112] !== t35 || $[113] !== t37) {
|
|
549
|
+
t38 = /* @__PURE__ */ React.createElement(React.Fragment, null, t35, t37);
|
|
550
|
+
$[112] = t35;
|
|
551
|
+
$[113] = t37;
|
|
552
|
+
$[114] = t38;
|
|
553
|
+
} else t38 = $[114];
|
|
554
|
+
return t38;
|
|
501
555
|
};
|
|
502
556
|
function _temp(state_0) {
|
|
503
557
|
return state_0.currentApiCatalogId;
|
|
504
558
|
}
|
|
505
559
|
function _temp2() {}
|
|
560
|
+
function _temp3(response) {
|
|
561
|
+
return response.data;
|
|
562
|
+
}
|
|
563
|
+
function _temp4(transactionId) {
|
|
564
|
+
return apiMutate(ConfigService.productV1ApiUrl, `udpTransaction/${transactionId}/full`, { method: "get" }).then(_temp3);
|
|
565
|
+
}
|
|
566
|
+
function _temp5(error_1) {
|
|
567
|
+
console.error("statusChangeCallbacks callback threw", error_1);
|
|
568
|
+
}
|
|
506
569
|
//#endregion
|
|
507
570
|
export { UdpTransactionsPage as default };
|
|
508
571
|
|