@tesouro/embedded-components-react 0.4.15 → 0.4.16

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 (120) hide show
  1. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +5 -4
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +47 -21
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +20 -77
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +75 -24
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +36 -0
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +1 -1
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +2 -2
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +64 -48
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +10 -2
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +1 -1
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +141 -118
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +93 -93
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +83 -67
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +235 -218
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +1 -1
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +5 -5
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +9 -6
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +1 -1
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +1 -1
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +1 -1
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +17 -17
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +1 -1
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +2 -2
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +1 -1
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +39 -39
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +2 -10
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +8 -50
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +52 -2
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +2 -0
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +26 -49
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +19 -306
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +154 -2
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +2 -9
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +60 -45
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +251 -1
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +2 -18
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +7 -48
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +49 -2
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +2 -23
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +15 -337
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +50 -2
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +2 -16
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +21 -118
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +340 -2
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +2 -12
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +10 -97
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +99 -2
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +1 -12
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +11 -57
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +58 -1
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +1 -54
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +52 -10
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +10 -179
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +181 -1
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -4
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +2 -39
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +41 -2
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +2 -7
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +5 -90
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +92 -2
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -4
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +2 -14
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +16 -2
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +1 -87
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +83 -291
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +292 -9
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +13 -1
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +1 -8
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +6 -37
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +39 -2
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -39
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +36 -9
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +10 -199
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +201 -3
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +3 -17
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +15 -345
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +345 -8
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +6 -4
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +6 -91
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +93 -0
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +2 -127
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +124 -25
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +26 -87
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +89 -2
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -7
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +5 -28
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +30 -2
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +2 -7
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +5 -32
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +34 -2
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +2 -12
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +10 -104
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +105 -1
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +2 -17
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +15 -123
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +125 -2
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -18
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +14 -6
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +7 -167
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +170 -2
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +2 -14
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +11 -105
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +108 -2
  107. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +8 -8
  108. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +4 -4
  109. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index.js +5 -5
  110. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +19 -19
  111. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +39 -33
  112. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
  113. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
  114. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
  115. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +37 -37
  116. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
  117. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +7 -7
  118. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  119. package/package.json +1 -1
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +0 -2
@@ -1,4 +1,4 @@
1
- import { BillColumn as e } from "../../ui/dist/index70.js";
1
+ import { BillColumn as e } from "../../ui/dist/index71.js";
2
2
  import "../../ui/dist/index.js";
3
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js
4
4
  var t = {
@@ -1,4 +1,4 @@
1
- import { BillColumn as e } from "../../ui/dist/index70.js";
1
+ import { BillColumn as e } from "../../ui/dist/index71.js";
2
2
  import "../../ui/dist/index.js";
3
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js
4
4
  var t = {
@@ -3,11 +3,11 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { formatMoneyExact as e } from "../../../shared/util/dist/lib/formatMoneyExact.js";
6
+ import { useCounterpartsQuery as t } from "../../../shared/counterpart-management/data-access/dist/index3.js";
6
7
  import "../../data-access/dist/index.js";
7
- import { BillsFilterField as t } from "../../ui/dist/index67.js";
8
+ import { BillsFilterField as n } from "../../ui/dist/index68.js";
8
9
  import "../../ui/dist/index.js";
9
- import { getCounterpartName as n } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
10
- import { useCounterpartsQuery as r } from "../../../shared/counterpart-management/data-access/dist/index3.js";
10
+ import { getCounterpartName as r } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
11
11
  import "../../../shared/counterpart-management/feature/dist/index.js";
12
12
  import { BILL_STATUS_FILTER_ORDER as i, billStatusFilterApiValues as a } from "./index73.js";
13
13
  import { BillsDatePreset as o, resolveDatePreset as s } from "./index74.js";
@@ -22,9 +22,9 @@ var h = {
22
22
  Vendor: "vendor",
23
23
  Attachment: "attachment"
24
24
  }, g = 50, _ = 300, v = "MMM d, yyyy", y = 864e5, b = {
25
- [t.IssueDate]: "issued_at",
26
- [t.DueDate]: "due_date",
27
- [t.AddedOn]: "created_at"
25
+ [n.IssueDate]: "issued_at",
26
+ [n.DueDate]: "due_date",
27
+ [n.AddedOn]: "created_at"
28
28
  }, x = {
29
29
  [o.Today]: "current",
30
30
  [o.ThisWeek]: "current",
@@ -41,7 +41,7 @@ var h = {
41
41
  };
42
42
  function S() {
43
43
  return {
44
- dateField: t.DueDate,
44
+ dateField: n.DueDate,
45
45
  statuses: [],
46
46
  amountMode: "any",
47
47
  amountMin: "",
@@ -89,7 +89,7 @@ function w({ offersStatusFilter: o = !1, offersVendorFilter: w = !0, isVendorFil
89
89
  let e = setTimeout(() => I(N.trim()), _);
90
90
  return () => clearTimeout(e);
91
91
  }, [N]);
92
- let R = r({
92
+ let R = t({
93
93
  enabled: w && !T,
94
94
  is_vendor: !0,
95
95
  sort: "counterpart_name",
@@ -98,7 +98,7 @@ function w({ offersStatusFilter: o = !1, offersVendorFilter: w = !0, isVendorFil
98
98
  counterpart_name__icontains: F || void 0
99
99
  }), z = d(() => (R.data?.data ?? []).map((e) => ({
100
100
  value: e.id,
101
- label: n(e)
101
+ label: r(e)
102
102
  })), [R.data?.data]), B = d(() => i.map((e) => ({
103
103
  value: e,
104
104
  label: O.statuses[e]
@@ -189,13 +189,13 @@ function w({ offersStatusFilter: o = !1, offersVendorFilter: w = !0, isVendorFil
189
189
  return {
190
190
  filterBarProps: {
191
191
  fields: [...d(() => [
192
- ...w ? [t.Vendor] : [],
193
- t.IssueDate,
194
- t.DueDate,
195
- ...o ? [t.Status] : [],
196
- t.TotalAmount,
197
- t.AddedOn,
198
- t.Attachment
192
+ ...w ? [n.Vendor] : [],
193
+ n.IssueDate,
194
+ n.DueDate,
195
+ ...o ? [n.Status] : [],
196
+ n.TotalAmount,
197
+ n.AddedOn,
198
+ n.Attachment
199
199
  ], [o, w])],
200
200
  activeFilterCount: U.length,
201
201
  chips: U,
@@ -219,7 +219,7 @@ function w({ offersStatusFilter: o = !1, offersVendorFilter: w = !0, isVendorFil
219
219
  dateTo: t
220
220
  }),
221
221
  onDatePresetChange: (e) => {
222
- let n = /* @__PURE__ */ new Date(), r = k.dateField === t.AddedOn ? new Date(n.getUTCFullYear(), n.getUTCMonth(), n.getUTCDate()) : n, { from: i, to: a } = s(e, r);
222
+ let t = /* @__PURE__ */ new Date(), r = k.dateField === n.AddedOn ? new Date(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()) : t, { from: i, to: a } = s(e, r);
223
223
  L({
224
224
  datePreset: e,
225
225
  dateFrom: i,
@@ -5,7 +5,7 @@
5
5
  import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
6
6
  import { formatMoneyExact as t } from "../../../shared/util/dist/lib/formatMoneyExact.js";
7
7
  import { hasSuspectedPayableDuplicate as n } from "../../data-access/dist/index7.js";
8
- import { usePayablesQuery as r, usePayablesTotalCountQuery as i } from "../../data-access/dist/index15.js";
8
+ import { usePayablesQuery as r, usePayablesTotalCountQuery as i } from "../../data-access/dist/index16.js";
9
9
  import "../../data-access/dist/index.js";
10
10
  import { derivePayableStatus as a } from "./index6.js";
11
11
  import { resolveVendorName as o } from "./index7.js";
@@ -11,7 +11,7 @@ import { useWidgetConfig as ee, useWidgetInitStaleForToken as r } from "../../..
11
11
  import "../../../shared/feature/dist/index.js";
12
12
  import { useDuplicateBillsCount as i } from "./index9.js";
13
13
  import { AddBillDialog as a } from "../../ui/dist/index10.js";
14
- import { BillsScreen as o } from "../../ui/dist/index71.js";
14
+ import { BillsScreen as o } from "../../ui/dist/index72.js";
15
15
  import "../../ui/dist/index.js";
16
16
  import { DuplicateBillsContainer as te } from "./index11.js";
17
17
  import "./index13.js";
@@ -11,8 +11,8 @@ import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analyti
11
11
  import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
12
12
  import { useWidgetConfig as a } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
13
  import "../../../shared/feature/dist/index.js";
14
- import { BillPayWidgetUi as o } from "../../ui/dist/index51.js";
15
- import { BillUploadStatusTray as s } from "../../ui/dist/index74.js";
14
+ import { BillPayWidgetUi as o } from "../../ui/dist/index52.js";
15
+ import { BillUploadStatusTray as s } from "../../ui/dist/index75.js";
16
16
  import "../../ui/dist/index.js";
17
17
  import { ApprovalPoliciesSettings as c } from "../../../shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js";
18
18
  import "../../../shared/approval-policy/feature/dist/index.js";
@@ -5,7 +5,7 @@
5
5
  import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
6
6
  import { formatMoneyExact as t } from "../../../shared/util/dist/lib/formatMoneyExact.js";
7
7
  import { suspectedPayableDuplicates as n } from "../../data-access/dist/index7.js";
8
- import { useAllSuspectedDuplicatePayablesQuery as r, usePayablesQuery as i } from "../../data-access/dist/index15.js";
8
+ import { useAllSuspectedDuplicatePayablesQuery as r, usePayablesQuery as i } from "../../data-access/dist/index16.js";
9
9
  import "../../data-access/dist/index.js";
10
10
  import { groupSuspectedDuplicates as a } from "./index5.js";
11
11
  import { derivePayableStatus as o } from "./index6.js";
@@ -18,7 +18,6 @@ import "./index21.js";
18
18
  import "./index22.js";
19
19
  import "./index23.js";
20
20
  import "./index24.js";
21
- import "./index25.js";
22
21
  import "./index26.js";
23
22
  import "./index27.js";
24
23
  import "./index28.js";
@@ -33,59 +32,60 @@ import "./index36.js";
33
32
  import "./index37.js";
34
33
  import "./index38.js";
35
34
  import "./index39.js";
36
- import "./index43.js";
35
+ import "./index40.js";
37
36
  import "./index44.js";
38
37
  import "./index45.js";
39
38
  import "./index46.js";
40
- import { BillCreateScreen as n } from "./index48.js";
41
- import "./index49.js";
39
+ import "./index47.js";
40
+ import { BillCreateScreen as n } from "./index49.js";
42
41
  import "./index50.js";
43
- import { BillPayWidgetUi as r } from "./index51.js";
44
- import "./index52.js";
42
+ import "./index51.js";
43
+ import { BillPayWidgetUi as r } from "./index52.js";
45
44
  import "./index53.js";
46
- import { BillDecisionDialog as i } from "./index54.js";
47
- import "./index55.js";
45
+ import "./index54.js";
46
+ import { BillDecisionDialog as i } from "./index55.js";
48
47
  import "./index56.js";
49
48
  import "./index57.js";
50
49
  import "./index58.js";
51
- import { BILL_DETAILS_SHEET_LABELS_EN as a } from "./index59.js";
52
- import { BillDetailsSheet as o } from "./index60.js";
53
- import "./index61.js";
50
+ import "./index59.js";
51
+ import { BILL_DETAILS_SHEET_LABELS_EN as a } from "./index60.js";
52
+ import { BillDetailsSheet as o } from "./index61.js";
54
53
  import "./index62.js";
55
54
  import "./index63.js";
56
- import { BillDuplicateNotice as s } from "./index64.js";
57
- import "./index65.js";
55
+ import "./index64.js";
56
+ import { BillDuplicateNotice as s } from "./index65.js";
58
57
  import "./index66.js";
59
- import { BillsFilterField as c } from "./index67.js";
60
- import "./index68.js";
58
+ import "./index67.js";
59
+ import { BillsFilterField as c } from "./index68.js";
61
60
  import "./index69.js";
62
- import { BillColumn as l } from "./index70.js";
63
- import { BillsScreen as u } from "./index71.js";
64
- import "./index72.js";
65
- import { BillUploadStatusTray as d } from "./index74.js";
66
- import "./index76.js";
67
- import "./index78.js";
68
- import { DuplicateBillsDialog as f } from "./index79.js";
69
- import "./index80.js";
61
+ import "./index70.js";
62
+ import { BillColumn as l } from "./index71.js";
63
+ import { BillsScreen as u } from "./index72.js";
64
+ import "./index73.js";
65
+ import { BillUploadStatusTray as d } from "./index75.js";
66
+ import "./index77.js";
67
+ import "./index79.js";
68
+ import { DuplicateBillsDialog as f } from "./index80.js";
70
69
  import "./index81.js";
71
- import { ExtractionNotice as p } from "./index82.js";
72
- import "./index83.js";
70
+ import "./index82.js";
71
+ import { ExtractionNotice as p } from "./index83.js";
73
72
  import "./index84.js";
74
73
  import "./index85.js";
75
74
  import "./index86.js";
76
- import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as m } from "./index87.js";
77
- import { ReviewTransactionDialog as h } from "./index88.js";
78
- import "./index89.js";
79
- import { MARK_AS_PAID_DIALOG_LABELS_EN as g } from "./index90.js";
80
- import { MarkAsPaidDialog as _ } from "./index91.js";
81
- import "./index92.js";
82
- import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as v } from "./index93.js";
83
- import { SchedulePaymentDialog as y } from "./index95.js";
84
- import "./index96.js";
75
+ import "./index87.js";
76
+ import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as m } from "./index88.js";
77
+ import { ReviewTransactionDialog as h } from "./index89.js";
78
+ import "./index90.js";
79
+ import { MARK_AS_PAID_DIALOG_LABELS_EN as g } from "./index91.js";
80
+ import { MarkAsPaidDialog as _ } from "./index92.js";
81
+ import "./index93.js";
82
+ import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as v } from "./index94.js";
83
+ import { SchedulePaymentDialog as y } from "./index96.js";
85
84
  import "./index97.js";
86
- import { SourceDocumentPanel as b } from "./index98.js";
87
- import "./index99.js";
88
- import { UNSAVED_BILL_DIALOG_LABELS_EN as x } from "./index100.js";
89
- import { UnsavedBillDialog as S } from "./index101.js";
90
- import "./index102.js";
85
+ import "./index98.js";
86
+ import { SourceDocumentPanel as b } from "./index99.js";
87
+ import "./index100.js";
88
+ import { UNSAVED_BILL_DIALOG_LABELS_EN as x } from "./index101.js";
89
+ import { UnsavedBillDialog as S } from "./index102.js";
90
+ import "./index103.js";
91
91
  export { e as AddBillDialog, a as BILL_DETAILS_SHEET_LABELS_EN, t as BILL_STATUS_BADGE_LABELS_EN, l as BillColumn, n as BillCreateScreen, i as BillDecisionDialog, o as BillDetailsSheet, s as BillDuplicateNotice, r as BillPayWidgetUi, d as BillUploadStatusTray, c as BillsFilterField, u as BillsScreen, f as DuplicateBillsDialog, p as ExtractionNotice, g as MARK_AS_PAID_DIALOG_LABELS_EN, _ as MarkAsPaidDialog, m as REVIEW_TRANSACTION_DIALOG_LABELS_EN, h as ReviewTransactionDialog, v as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, y as SchedulePaymentDialog, b as SourceDocumentPanel, x as UNSAVED_BILL_DIALOG_LABELS_EN, S as UnsavedBillDialog };
@@ -1,10 +1,2 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js
2
- var e = {
3
- title: "Save this bill as a draft?",
4
- description: "This bill has changes that have not been saved. Save it as a draft to finish later, or discard the changes.",
5
- saveDraftButton: "Save as draft",
6
- discardButton: "Discard changes",
7
- closeButton: "Close"
8
- };
9
- //#endregion
10
- export { e as UNSAVED_BILL_DIALOG_LABELS_EN };
1
+ import "./index98.js";
2
+ import "./index99.js";
@@ -1,52 +1,10 @@
1
- import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { UNSAVED_BILL_DIALOG_LABELS_EN as s } from "./index100.js";
3
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
4
- import { XIcon as u } from "lucide-react";
5
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js
6
- function d({ open: d, onSaveDraft: f, onDiscard: p, onCancel: m, isSaving: h, isSaveDraftDisabled: g, labels: _, testId: v, saveDraftTestId: y, discardTestId: b, closeTestId: x }) {
7
- let S = {
8
- ...s,
9
- ..._
10
- };
11
- return /* @__PURE__ */ c(e, {
12
- open: d,
13
- onOpenChange: (e) => {
14
- !e && !h && m();
15
- },
16
- children: /* @__PURE__ */ l(t, {
17
- "data-testid": v,
18
- children: [
19
- /* @__PURE__ */ l("button", {
20
- type: "button",
21
- onClick: m,
22
- disabled: h,
23
- "data-testid": x,
24
- className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2 ttw:disabled:pointer-events-none",
25
- children: [/* @__PURE__ */ c(u, { className: "ttw:size-4" }), /* @__PURE__ */ c("span", {
26
- className: "ttw:sr-only",
27
- children: S.closeButton
28
- })]
29
- }),
30
- /* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: S.title }), /* @__PURE__ */ c(n, { children: S.description })] }),
31
- /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
32
- type: "button",
33
- variant: "outline",
34
- onClick: p,
35
- disabled: h,
36
- "data-testid": b,
37
- children: S.discardButton
38
- }), /* @__PURE__ */ c(o, {
39
- type: "button",
40
- variant: "default",
41
- loading: h,
42
- disabled: h || g,
43
- onClick: f,
44
- "data-testid": y,
45
- children: S.saveDraftButton
46
- })] })
47
- ]
48
- })
49
- });
50
- }
2
+ var e = {
3
+ title: "Save this bill as a draft?",
4
+ description: "This bill has changes that have not been saved. Save it as a draft to finish later, or discard the changes.",
5
+ saveDraftButton: "Save as draft",
6
+ discardButton: "Discard changes",
7
+ closeButton: "Close"
8
+ };
51
9
  //#endregion
52
- export { d as UnsavedBillDialog, d as default };
10
+ export { e as UNSAVED_BILL_DIALOG_LABELS_EN };
@@ -1,2 +1,52 @@
1
- import "./index100.js";
2
- import "./index101.js";
1
+ import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { UNSAVED_BILL_DIALOG_LABELS_EN as s } from "./index101.js";
3
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
4
+ import { XIcon as u } from "lucide-react";
5
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js
6
+ function d({ open: d, onSaveDraft: f, onDiscard: p, onCancel: m, isSaving: h, isSaveDraftDisabled: g, labels: _, testId: v, saveDraftTestId: y, discardTestId: b, closeTestId: x }) {
7
+ let S = {
8
+ ...s,
9
+ ..._
10
+ };
11
+ return /* @__PURE__ */ c(e, {
12
+ open: d,
13
+ onOpenChange: (e) => {
14
+ !e && !h && m();
15
+ },
16
+ children: /* @__PURE__ */ l(t, {
17
+ "data-testid": v,
18
+ children: [
19
+ /* @__PURE__ */ l("button", {
20
+ type: "button",
21
+ onClick: m,
22
+ disabled: h,
23
+ "data-testid": x,
24
+ className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2 ttw:disabled:pointer-events-none",
25
+ children: [/* @__PURE__ */ c(u, { className: "ttw:size-4" }), /* @__PURE__ */ c("span", {
26
+ className: "ttw:sr-only",
27
+ children: S.closeButton
28
+ })]
29
+ }),
30
+ /* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: S.title }), /* @__PURE__ */ c(n, { children: S.description })] }),
31
+ /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
32
+ type: "button",
33
+ variant: "outline",
34
+ onClick: p,
35
+ disabled: h,
36
+ "data-testid": b,
37
+ children: S.discardButton
38
+ }), /* @__PURE__ */ c(o, {
39
+ type: "button",
40
+ variant: "default",
41
+ loading: h,
42
+ disabled: h || g,
43
+ onClick: f,
44
+ "data-testid": y,
45
+ children: S.saveDraftButton
46
+ })] })
47
+ ]
48
+ })
49
+ });
50
+ }
51
+ //#endregion
52
+ export { d as UnsavedBillDialog, d as default };
@@ -0,0 +1,2 @@
1
+ import "./index101.js";
2
+ import "./index102.js";
@@ -1,52 +1,29 @@
1
- import { APPROVAL_POLICY_CARD_LABELS_EN as e } from "./index12.js";
2
- import "./index14.js";
3
- import { BILL_STATUS_BADGE_LABELS_EN as t } from "./index16.js";
4
- import "./index19.js";
5
- import { DUE_DATE_VALUE_LABELS_EN as n } from "./index20.js";
6
- import "./index22.js";
1
+ import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { AchFieldGroup as t } from "../../../shared/counterpart-management/ui/dist/index5.js";
3
+ import "../../../shared/counterpart-management/ui/dist/index.js";
4
+ import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
7
5
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js
8
- var r = {
9
- errorTitle: "Couldn't load this bill",
10
- errorDescription: "Something went wrong. Try again.",
11
- amountDueHeading: "Amount due",
12
- amountPaidHeading: "Amount paid",
13
- invoiceDateLabel: "Invoice date",
14
- dueDateLabel: "Due date",
15
- payToHeading: "Pay to",
16
- payToHeadingPaid: "Paid to",
17
- vendorRow: "Vendor",
18
- paymentInstructionsRow: "Payment instructions",
19
- addPaymentInstructions: "Add payment instructions",
20
- missingPaymentInstructionsBanner: "Missing payment instructions, which are required to send a payment",
21
- paymentInstructionsCancel: "Cancel",
22
- paymentInstructionsSave: "Save",
23
- descriptionAndGlCodeColumn: "Description and GL code",
24
- qtyPriceColumn: "Qty/Price",
25
- amountColumn: "Amount",
26
- paymentHistoryHeading: "Payment history",
27
- paymentHistoryErrorDescription: "Couldn't load payment history.",
28
- historyHeading: "Audit history",
29
- statusBadge: t,
30
- approvalPolicy: e,
31
- dueDate: n
32
- };
33
- function i(e) {
34
- return {
35
- ...r,
36
- ...e,
37
- statusBadge: {
38
- ...r.statusBadge,
39
- ...e?.statusBadge
40
- },
41
- approvalPolicy: {
42
- ...r.approvalPolicy,
43
- ...e?.approvalPolicy
44
- },
45
- dueDate: {
46
- ...r.dueDate,
47
- ...e?.dueDate
48
- }
49
- };
6
+ function a({ paymentInstructions: a, labels: o, onCancel: s }) {
7
+ return /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(t, {
8
+ idPrefix: "vendor-summary-ach",
9
+ values: a.values,
10
+ errors: a.errors,
11
+ onChange: a.onChange,
12
+ labels: o.ach
13
+ }), a.onSave ? /* @__PURE__ */ i("div", {
14
+ className: "ttw:flex ttw:justify-end ttw:gap-2",
15
+ children: [/* @__PURE__ */ r(e, {
16
+ type: "button",
17
+ variant: "ghost",
18
+ onClick: s,
19
+ children: o.cancelAction
20
+ }), /* @__PURE__ */ r(e, {
21
+ type: "button",
22
+ loading: a.isSaving,
23
+ onClick: a.onSave,
24
+ children: o.saveAction
25
+ })]
26
+ }) : null] });
50
27
  }
51
28
  //#endregion
52
- export { r as BILL_DETAIL_BODY_LABELS_EN, i as mergeBillDetailBodyLabels };
29
+ export { a as AchEditGroup };