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.
Files changed (36) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.d.ts.map +1 -1
  3. package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.js +14 -10
  4. package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.js.map +1 -1
  5. package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.mjs +7 -2
  6. package/dist/udp/pages/UdpTransactionTypesPage/UdpTransactionTypesPage.mjs.map +1 -1
  7. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.d.ts.map +1 -1
  8. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.js +2 -1
  9. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.js.map +1 -1
  10. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.mjs +20 -10
  11. package/dist/udp/pages/UdpTransactionTypesPage/forms/UdpTransactionTypeStatusForm.mjs.map +1 -1
  12. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.d.ts.map +1 -1
  13. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.js +12 -0
  14. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.js.map +1 -1
  15. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.mjs +211 -187
  16. package/dist/udp/pages/UdpTransactionTypesPage/sidesheets/UdpTransactionTypeStatusSidesheet.mjs.map +1 -1
  17. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.d.ts.map +1 -1
  18. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.js +1 -1
  19. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.js.map +1 -1
  20. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.mjs +1 -1
  21. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionSidesheet.mjs.map +1 -1
  22. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.d.ts.map +1 -1
  23. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.js +100 -30
  24. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.js.map +1 -1
  25. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.mjs +228 -165
  26. package/dist/udp/pages/UdpTransactionsPage/UdpTransactionsPage.mjs.map +1 -1
  27. package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.d.ts.map +1 -1
  28. package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.js +14 -5
  29. package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.js.map +1 -1
  30. package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.mjs +2 -4
  31. package/dist/udp/pages/UdpTransactionsPage/sidesheets/WorkflowActions.mjs.map +1 -1
  32. package/dist/utilities/i18n/locales/es-US.json +2 -0
  33. package/dist/utilities/i18n/locales/es-US.mjs +2 -0
  34. package/dist/utilities/i18n/locales/fr-CA.json +2 -0
  35. package/dist/utilities/i18n/locales/fr-CA.mjs +2 -0
  36. 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(108);
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] !== statusChangeCallbacks || $[36] !== transactionType?.pageConfiguration?.enableStatusChangeCallbacks || $[37] !== transactionType?.udpTransactionTypeUdpTransactionTypeStatus) {
234
- t19 = async (newStatusId, transaction_0) => {
235
- if (!statusChangeCallbacks || transactionType?.pageConfiguration?.enableStatusChangeCallbacks === false || !newStatusId || newStatusId === transaction_0?.currentStatusId) return;
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] = statusChangeCallbacks;
246
- $[36] = transactionType?.pageConfiguration?.enableStatusChangeCallbacks;
247
- $[37] = transactionType?.udpTransactionTypeUdpTransactionTypeStatus;
248
- $[38] = t19;
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 ($[39] !== addTransactionSidesheetWidth) {
253
- t20 = () => {
254
- handleSidesheet("add", true, null, addTransactionSidesheetWidth);
242
+ if ($[37] !== viewTransactionSidesheetWidth) {
243
+ t20 = (transaction_0) => {
244
+ handleSidesheet("view", true, transaction_0, viewTransactionSidesheetWidth);
255
245
  };
256
- $[39] = addTransactionSidesheetWidth;
257
- $[40] = t20;
258
- } else t20 = $[40];
259
- const openAddTransaction = t20;
246
+ $[37] = viewTransactionSidesheetWidth;
247
+ $[38] = t20;
248
+ } else t20 = $[38];
249
+ const openViewTransaction = t20;
260
250
  let t21;
261
- if ($[41] !== viewTransactionSidesheetWidth) {
251
+ if ($[39] !== editTransactionSidesheetWidth) {
262
252
  t21 = (transaction_1) => {
263
- handleSidesheet("view", true, transaction_1, viewTransactionSidesheetWidth);
253
+ handleSidesheet("edit", true, transaction_1, editTransactionSidesheetWidth);
264
254
  };
265
- $[41] = viewTransactionSidesheetWidth;
266
- $[42] = t21;
267
- } else t21 = $[42];
268
- const openViewTransaction = t21;
255
+ $[39] = editTransactionSidesheetWidth;
256
+ $[40] = t21;
257
+ } else t21 = $[40];
258
+ const openEditTransaction = t21;
269
259
  let t22;
270
- if ($[43] !== editTransactionSidesheetWidth) {
260
+ if ($[41] !== attachmentTransactionSidesheetWidth) {
271
261
  t22 = (transaction_2) => {
272
- handleSidesheet("edit", true, transaction_2, editTransactionSidesheetWidth);
262
+ handleSidesheet("attachment", true, transaction_2, attachmentTransactionSidesheetWidth || 1e3);
273
263
  };
274
- $[43] = editTransactionSidesheetWidth;
275
- $[44] = t22;
276
- } else t22 = $[44];
277
- const openEditTransaction = t22;
264
+ $[41] = attachmentTransactionSidesheetWidth;
265
+ $[42] = t22;
266
+ } else t22 = $[42];
267
+ const openAttachmentTransaction = t22;
278
268
  let t23;
279
- if ($[45] !== attachmentTransactionSidesheetWidth) {
269
+ if ($[43] !== workflowActionTransactionSidesheetWidth) {
280
270
  t23 = (transaction_3) => {
281
- handleSidesheet("attachment", true, transaction_3, attachmentTransactionSidesheetWidth || 1e3);
271
+ handleSidesheet("action", true, transaction_3, workflowActionTransactionSidesheetWidth);
282
272
  };
283
- $[45] = attachmentTransactionSidesheetWidth;
284
- $[46] = t23;
285
- } else t23 = $[46];
286
- const openAttachmentTransaction = t23;
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 ($[49] !== history) {
298
- t25 = () => {
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
- $[49] = history;
308
- $[50] = t25;
309
- } else t25 = $[50];
310
- const clearDeepLinkParams = t25;
311
- let t26;
312
- let t27;
313
- if ($[51] !== clearDeepLinkParams || $[52] !== deepLinkAction || $[53] !== deepLinkTransactionId || $[54] !== handleErrorSnackbar || $[55] !== openWorkflowActionTransaction) {
314
- t26 = () => {
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
- apiMutate(ConfigService.productV1ApiUrl, `udpTransaction/${deepLinkTransactionId}/full`, { method: "get" }).then((response) => {
370
+ fetchFullTransaction(deepLinkTransactionId).then((transaction_5) => {
318
371
  if (cancelled) return;
319
372
  deepLinkOpenedRef.current = true;
320
- openWorkflowActionTransaction(response.data);
321
- }).catch((error_0) => {
373
+ openWorkflowActionTransaction(transaction_5);
374
+ }).catch((error_2) => {
322
375
  if (cancelled) return;
323
- handleErrorSnackbar(error_0);
376
+ handleErrorSnackbar(error_2);
324
377
  clearDeepLinkParams();
325
378
  });
326
379
  return () => {
327
380
  cancelled = true;
328
381
  };
329
382
  };
330
- t27 = [
383
+ t31 = [
331
384
  deepLinkTransactionId,
332
385
  deepLinkAction,
386
+ fetchFullTransaction,
333
387
  openWorkflowActionTransaction,
334
388
  handleErrorSnackbar,
335
389
  clearDeepLinkParams
336
390
  ];
337
- $[51] = clearDeepLinkParams;
338
- $[52] = deepLinkAction;
339
- $[53] = deepLinkTransactionId;
340
- $[54] = handleErrorSnackbar;
341
- $[55] = openWorkflowActionTransaction;
342
- $[56] = t26;
343
- $[57] = t27;
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
- t26 = $[56];
346
- t27 = $[57];
399
+ t30 = $[63];
400
+ t31 = $[64];
347
401
  }
348
- useEffect(t26, t27);
349
- let t28;
350
- let t29;
351
- if ($[58] !== clearDeepLinkParams || $[59] !== sidesheetState.workflowAction) {
352
- t28 = () => {
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
- t29 = [sidesheetState.workflowAction, clearDeepLinkParams];
359
- $[58] = clearDeepLinkParams;
360
- $[59] = sidesheetState.workflowAction;
361
- $[60] = t28;
362
- $[61] = t29;
412
+ t33 = [sidesheetState.workflowAction, clearDeepLinkParams];
413
+ $[65] = clearDeepLinkParams;
414
+ $[66] = sidesheetState.workflowAction;
415
+ $[67] = t32;
416
+ $[68] = t33;
363
417
  } else {
364
- t28 = $[60];
365
- t29 = $[61];
418
+ t32 = $[67];
419
+ t33 = $[68];
366
420
  }
367
- useEffect(t28, t29);
368
- let t30;
369
- if ($[62] !== createRevisionSidesheetWidth) {
370
- t30 = (transaction_5) => {
371
- handleSidesheet("createRevision", true, transaction_5, createRevisionSidesheetWidth);
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
- $[62] = createRevisionSidesheetWidth;
374
- $[63] = t30;
375
- } else t30 = $[63];
376
- const openCreateRevision = t30;
427
+ $[69] = createRevisionSidesheetWidth;
428
+ $[70] = t34;
429
+ } else t34 = $[70];
430
+ const openCreateRevision = t34;
377
431
  if (!transactionTypeId && !initialTransactionTypeId && !initialDomainName) {
378
- let t31;
379
- if ($[64] === Symbol.for("react.memo_cache_sentinel")) {
380
- t31 = /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Typography$1, { variant: "h6" }, "Error loading Transaction Type: No Transaction type provided."));
381
- $[64] = t31;
382
- } else t31 = $[64];
383
- return t31;
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 t31;
387
- if ($[65] === Symbol.for("react.memo_cache_sentinel")) {
388
- t31 = /* @__PURE__ */ React.createElement("div", { className: "udp-transaction-page-loading" }, /* @__PURE__ */ React.createElement(CircularProgress, { size: 64 }));
389
- $[65] = t31;
390
- } else t31 = $[65];
391
- return t31;
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 t31;
394
- if ($[66] !== calendarSecondaryActionButtons || $[67] !== calendarViewConfiguration || $[68] !== calendarViewEnabled || $[69] !== catalogObject || $[70] !== columnDefProperties || $[71] !== columnDefinitions || $[72] !== customActions || $[73] !== domainColumnFormatters || $[74] !== domainName || $[75] !== filterModel || $[76] !== gridApi || $[77] !== gridOptions || $[78] !== gridSecondaryActionButtons || $[79] !== gridTitle || $[80] !== handleGridApiCallback || $[81] !== hideCreateTransaction || $[82] !== openAddTransaction || $[83] !== openAttachmentTransaction || $[84] !== openCreateRevision || $[85] !== openEditTransaction || $[86] !== openViewTransaction || $[87] !== openWorkflowActionTransaction || $[88] !== paginationAutoPageSize || $[89] !== refreshGridData || $[90] !== searchMethodObject || $[91] !== showCalendarView || $[92] !== transactionType || $[93] !== transactionTypeLoading) {
395
- t31 = calendarViewEnabled && showCalendarView ? /* @__PURE__ */ React.createElement(UdpTransactionCalendar, {
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
- $[66] = calendarSecondaryActionButtons;
437
- $[67] = calendarViewConfiguration;
438
- $[68] = calendarViewEnabled;
439
- $[69] = catalogObject;
440
- $[70] = columnDefProperties;
441
- $[71] = columnDefinitions;
442
- $[72] = customActions;
443
- $[73] = domainColumnFormatters;
444
- $[74] = domainName;
445
- $[75] = filterModel;
446
- $[76] = gridApi;
447
- $[77] = gridOptions;
448
- $[78] = gridSecondaryActionButtons;
449
- $[79] = gridTitle;
450
- $[80] = handleGridApiCallback;
451
- $[81] = hideCreateTransaction;
452
- $[82] = openAddTransaction;
453
- $[83] = openAttachmentTransaction;
454
- $[84] = openCreateRevision;
455
- $[85] = openEditTransaction;
456
- $[86] = openViewTransaction;
457
- $[87] = openWorkflowActionTransaction;
458
- $[88] = paginationAutoPageSize;
459
- $[89] = refreshGridData;
460
- $[90] = searchMethodObject;
461
- $[91] = showCalendarView;
462
- $[92] = transactionType;
463
- $[93] = transactionTypeLoading;
464
- $[94] = t31;
465
- } else t31 = $[94];
466
- const t32 = transactionType?.transactionTypeId;
467
- let t33;
468
- if ($[95] !== attachmentTypeDefaults || $[96] !== catalogObject || $[97] !== domainName || $[98] !== handleTransactionStatusChange || $[99] !== refreshGridData || $[100] !== selectedTransaction || $[101] !== sideSheetProps || $[102] !== sidesheetState || $[103] !== t32) {
469
- t33 = /* @__PURE__ */ React.createElement(UdpTransactionSidesheet, {
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: t32,
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
- $[95] = attachmentTypeDefaults;
483
- $[96] = catalogObject;
484
- $[97] = domainName;
485
- $[98] = handleTransactionStatusChange;
486
- $[99] = refreshGridData;
487
- $[100] = selectedTransaction;
488
- $[101] = sideSheetProps;
489
- $[102] = sidesheetState;
490
- $[103] = t32;
491
- $[104] = t33;
492
- } else t33 = $[104];
493
- let t34;
494
- if ($[105] !== t31 || $[106] !== t33) {
495
- t34 = /* @__PURE__ */ React.createElement(React.Fragment, null, t31, t33);
496
- $[105] = t31;
497
- $[106] = t33;
498
- $[107] = t34;
499
- } else t34 = $[107];
500
- return t34;
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