@tesouro/embedded-components-react 0.11.216 → 0.11.217

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 (29) hide show
  1. package/dist/index.css +0 -3
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +2 -2
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +2 -2
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index15.js +49 -49
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +287 -298
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +62 -63
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js +12 -54
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index7.js +4 -5
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js +1 -7
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index.js +2 -8
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index11.js +2 -2
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index15.js +45 -2
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index16.js +10 -14
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index17.js +390 -2
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +3 -3
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +9 -9
  17. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  18. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +12 -9
  19. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/DueDateText/DueDateText.js +2 -2
  20. package/dist/libs/tesouro-embedded-components-react/{bill-pay-widget/bills-list/ui/dist/index19.js → shared/ui/dist/lib/EmptyValue/EmptyValue.js} +6 -6
  21. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmptyValue/labels.js +3 -0
  22. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/{DateDisclosure/DateDisclosure.js → HintDisclosure/HintDisclosure.js} +9 -8
  23. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/RowStatusIcon/RowStatusIcon.js +19 -0
  24. package/package.json +1 -1
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +0 -2
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index21.js +0 -55
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index22.js +0 -17
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index23.js +0 -468
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index24.js +0 -3
@@ -4,33 +4,33 @@
4
4
  "use client";
5
5
  import { toast as e } from "../../../../../../node_modules/sonner/dist/index.js";
6
6
  import { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
7
- import { useMailboxAddress as ee } from "../../../../shared/data-access/dist/lib/useMailboxAddress.js";
8
- import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
7
+ import { useMailboxAddress as n } from "../../../../shared/data-access/dist/lib/useMailboxAddress.js";
8
+ import { Scope as r } from "../../../../shared/data-access/dist/lib/scopes.js";
9
9
  import "../../../../shared/data-access/dist/index.js";
10
10
  import "../../../../shared/ui/dist/index.js";
11
- import { useWidgetConfig as te, useWidgetInitStaleForToken as ne } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
+ import { useWidgetConfig as i, useWidgetInitStaleForToken as a } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
12
12
  import "../../../../shared/feature/dist/index.js";
13
- import { BillDecisionDialog as r } from "../../../ui/dist/index4.js";
14
- import { BillDuplicateIcon as re } from "../../../ui/dist/index6.js";
15
- import "../../../ui/dist/index.js";
16
- import { AddBillDialog as i } from "../../ui/dist/index6.js";
17
- import { BillsScreen as a } from "../../ui/dist/index23.js";
18
- import "../../ui/dist/index.js";
19
13
  import { BILL_QUEUE_ORDER as o, BillQueue as s } from "./index5.js";
20
14
  import { BILLS_TAB_LABELS_EN as c } from "./index7.js";
21
- import { BillDuplicateView as l, useBillsTable as ie } from "./index17.js";
22
- import { useDuplicateBillsCount as u } from "./index2.js";
23
- import { formatBillQueueBadge as d } from "./index3.js";
24
- import { copyTextToClipboard as f } from "./index6.js";
25
- import { billsTableCellTestIds as p } from "./index8.js";
26
- import { useAssignedToMeCount as m } from "./index9.js";
27
- import { useBillSummaryCards as h } from "./index11.js";
28
- import { useCallback as g, useImperativeHandle as _, useMemo as v, useState as y } from "react";
29
- import { Fragment as ae, jsx as b, jsxs as oe } from "react/jsx-runtime";
15
+ import { BillDecisionDialog as l } from "../../../ui/dist/index4.js";
16
+ import { BillDuplicateIcon as ee } from "../../../ui/dist/index6.js";
17
+ import "../../../ui/dist/index.js";
18
+ import { AddBillDialog as u } from "../../ui/dist/index6.js";
19
+ import { BillsScreen as d } from "../../ui/dist/index17.js";
20
+ import "../../ui/dist/index.js";
21
+ import { BillDuplicateView as f, useBillsTable as p } from "./index17.js";
22
+ import { useDuplicateBillsCount as m } from "./index2.js";
23
+ import { formatBillQueueBadge as te } from "./index3.js";
24
+ import { copyTextToClipboard as ne } from "./index6.js";
25
+ import { billsTableCellTestIds as re } from "./index8.js";
26
+ import { useAssignedToMeCount as ie } from "./index9.js";
27
+ import { useBillSummaryCards as ae } from "./index11.js";
28
+ import { useCallback as h, useImperativeHandle as oe, useMemo as g, useState as _ } from "react";
29
+ import { Fragment as se, jsx as v, jsxs as y } from "react/jsx-runtime";
30
30
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js
31
- var se = () => void 0;
31
+ var b = () => void 0;
32
32
  function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue, maxFiles: S, headerActionContainer: de, selectedSummaryCard: fe, onSummaryCardChange: pe, selectedQueue: me, onQueueChange: he, ref: ge }) {
33
- let C = v(() => ({
33
+ let C = g(() => ({
34
34
  ...c,
35
35
  ...x,
36
36
  queues: {
@@ -49,9 +49,9 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
49
49
  ...x?.summaryCards?.stageCount
50
50
  }
51
51
  },
52
- scheduledRelativeDay: {
53
- ...c.scheduledRelativeDay,
54
- ...x?.scheduledRelativeDay
52
+ scheduledStatus: {
53
+ ...c.scheduledStatus,
54
+ ...x?.scheduledStatus
55
55
  },
56
56
  dueDate: {
57
57
  ...c.dueDate,
@@ -92,7 +92,7 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
92
92
  ...x?.queueEmptyStates?.[t]
93
93
  }
94
94
  }), {})
95
- }), [x]), [_e, w] = y(!1), [T, E] = y(l.AllBills), { initResponse: D } = te(), O = ne(), k = t(D?.scopes, [n.PayableReadOrg]), A = t(D?.scopes, [n.PayableWriteOrg]), j = !D || k, M = !D || A, N = D && !O ? t(D.scopes, [n.PayablePayOrg]) : void 0, P = t(D?.scopes, [n.CounterpartReadOrg]), F = v(() => ({
95
+ }), [x]), [_e, w] = _(!1), [T, E] = _(f.AllBills), { initResponse: D } = i(), O = a(), k = t(D?.scopes, [r.PayableReadOrg]), A = t(D?.scopes, [r.PayableWriteOrg]), j = !D || k, M = !D || A, N = D && !O ? t(D.scopes, [r.PayablePayOrg]) : void 0, P = t(D?.scopes, [r.CounterpartReadOrg]), F = g(() => ({
96
96
  menuTrigger: C.duplicateMenuTrigger,
97
97
  notDuplicateAction: C.duplicateNotDuplicateAction,
98
98
  notDuplicateConfirmTitle: C.duplicateNotDuplicateConfirmTitle,
@@ -156,58 +156,57 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
156
156
  C.duplicateStatusSummary,
157
157
  C.duplicateStatusCount,
158
158
  C.duplicatePageInfo
159
- ]), I = t(D?.scopes, [n.MailboxReadOrg]), { mailboxAddress: ve } = ee({
159
+ ]), I = t(D?.scopes, [r.MailboxReadOrg]), { mailboxAddress: ve } = n({
160
160
  relatedObjectType: "payable",
161
161
  enabled: I && !O
162
- }), L = I ? ve : void 0, R = ie({
162
+ }), L = I ? ve : void 0, R = p({
163
163
  enabled: j,
164
164
  canPay: N,
165
165
  canReadVendors: P,
166
166
  isVendorFilterPaused: O,
167
167
  filterLabels: C.filters,
168
- onOpenBill: ce ?? se,
169
- duplicateRowNote: C.duplicateRowNote,
170
- attachmentLabel: C.attachmentIndicator,
168
+ onOpenBill: ce ?? b,
169
+ duplicateFlagLabel: C.duplicateFlag,
171
170
  duplicateGroupLabels: F,
172
171
  canManageDuplicates: M,
173
172
  duplicateView: T,
174
- scheduledRelativeDayLabels: C.scheduledRelativeDay,
173
+ scheduledStatusLabels: C.scheduledStatus,
175
174
  dueDateLabels: C.dueDate,
176
175
  selectedSummaryCard: fe,
177
176
  onSummaryCardChange: pe,
178
177
  selectedQueue: me,
179
178
  onQueueChange: he
180
- }), z = u({ enabled: j }), B = T === l.PossibleDuplicates, V = m({
179
+ }), z = m({ enabled: j }), B = T === f.PossibleDuplicates, V = ie({
181
180
  enabled: j,
182
181
  canPay: N
183
- }), H = h({
182
+ }), H = ae({
184
183
  enabled: j,
185
184
  labels: C.summaryCards,
186
185
  selectedCard: R.summaryCard
187
- }), ye = v(() => o.map((e) => ({
186
+ }), ye = g(() => o.map((e) => ({
188
187
  id: e,
189
188
  label: C.queues[e],
190
- badge: e === s.AssignedToMe ? d(V) : void 0
191
- })), [C.queues, V]), { clearQueryConstraints: U, onFilterTabChange: W } = R, be = g(() => {
192
- U(), E(l.PossibleDuplicates);
193
- }, [U]), G = g(() => {
194
- E(l.AllBills), W(s.All);
195
- }, [W]), xe = g((e) => {
196
- E(l.AllBills), W(e);
197
- }, [W]), Se = !z.isError && z.groupCount > 0, Ce = M && Se, we = !z.isLoading && !z.isError && z.count === 0;
198
- B && (we || R.summaryCard) && G();
199
- let Te = Ce ? [{
189
+ badge: e === s.AssignedToMe ? te(V) : void 0
190
+ })), [C.queues, V]), { clearQueryConstraints: U, onFilterTabChange: W } = R, be = h(() => {
191
+ U(), E(f.PossibleDuplicates);
192
+ }, [U]), G = h(() => {
193
+ E(f.AllBills), W(s.All);
194
+ }, [W]), xe = h((e) => {
195
+ E(f.AllBills), W(e);
196
+ }, [W]), Se = !z.isError && z.groupCount > 0, Ce = M && Se, K = !z.isLoading && !z.isError && z.count === 0;
197
+ B && (K || R.summaryCard) && G();
198
+ let we = Ce ? [{
200
199
  id: "duplicates",
201
200
  label: C.attentionDuplicates(z.groupCount, z.isCapped),
202
201
  tone: "warning",
203
- icon: /* @__PURE__ */ b(re, {}),
202
+ icon: /* @__PURE__ */ v(ee, {}),
204
203
  pressed: B,
205
204
  onToggle: B ? G : be
206
- }] : [], K = x?.screen, Ee = v(() => ({
207
- ...K,
205
+ }] : [], q = x?.screen, Te = g(() => ({
206
+ ...q,
208
207
  createButton: C.createButton,
209
208
  addBill: {
210
- ...K?.addBill,
209
+ ...q?.addBill,
211
210
  heading: C.nonEmptyHeading
212
211
  },
213
212
  ...B ? {
@@ -218,10 +217,10 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
218
217
  B,
219
218
  C.duplicateColumnCreated,
220
219
  C.duplicateColumnAmount,
221
- K,
220
+ q,
222
221
  C.createButton,
223
222
  C.nonEmptyHeading
224
- ]), q = v(() => ({
223
+ ]), Ee = g(() => ({
225
224
  ...R.filterBarProps,
226
225
  labels: C.filterBar
227
226
  }), [R.filterBarProps, C.filterBar]), J = () => {
@@ -231,19 +230,19 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
231
230
  }, X = L ? {
232
231
  emailAddress: L,
233
232
  onCopyEmail: async () => {
234
- L && (await f(L) ? e.success(C.emailCopiedToast) : e.error(C.emailCopyFailedToast));
233
+ L && (await ne(L) ? e.success(C.emailCopiedToast) : e.error(C.emailCopyFailedToast));
235
234
  }
236
235
  } : {
237
236
  emailAddress: void 0,
238
237
  onCopyEmail: void 0
239
- }, { showVendorBills: Z } = R, Q = g((e) => {
240
- E(l.AllBills), Z(e);
241
- }, [Z]), $ = g(() => w(!0), []);
242
- return _(ge, () => ({
238
+ }, { showVendorBills: Z } = R, Q = h((e) => {
239
+ E(f.AllBills), Z(e);
240
+ }, [Z]), $ = h(() => w(!0), []);
241
+ return oe(ge, () => ({
243
242
  showVendorBills: Q,
244
243
  openAddBill: $
245
- }), [Q, $]), /* @__PURE__ */ oe(ae, { children: [
246
- /* @__PURE__ */ b(a, {
244
+ }), [Q, $]), /* @__PURE__ */ y(se, { children: [
245
+ /* @__PURE__ */ v(d, {
247
246
  rows: R.rows,
248
247
  isLoading: R.isLoading || !D,
249
248
  isError: R.isError,
@@ -262,12 +261,12 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
262
261
  onFilterTabChange: xe,
263
262
  searchValue: R.searchValue,
264
263
  onSearchChange: R.onSearchChange,
265
- filters: q,
264
+ filters: Ee,
266
265
  visibleColumns: R.visibleColumns,
267
266
  keepsColumnOrder: R.keepsColumnOrder,
268
267
  isSortable: R.isSortable,
269
268
  pageInfo: R.pageInfo,
270
- cellTestIds: p,
269
+ cellTestIds: re,
271
270
  isSearchActive: R.isSearchActive,
272
271
  showAddPanelWhenEmpty: R.showAddPanelWhenEmpty,
273
272
  emptyState: B ? C.duplicatesEmptyState : C.queueEmptyStates[R.selectedFilterTabId],
@@ -288,7 +287,7 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
288
287
  } : void 0,
289
288
  attentionStrip: {
290
289
  label: C.attentionStripLabel,
291
- items: Te
290
+ items: we
292
291
  },
293
292
  attentionView: B ? {
294
293
  backLabel: C.queues[s.All],
@@ -297,9 +296,9 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
297
296
  tone: "warning",
298
297
  onBack: G
299
298
  } : void 0,
300
- labels: Ee
299
+ labels: Te
301
300
  }),
302
- /* @__PURE__ */ b(r, {
301
+ /* @__PURE__ */ v(l, {
303
302
  open: R.cancelConfirmation.open,
304
303
  copy: R.cancelConfirmation.copy,
305
304
  onConfirm: R.cancelConfirmation.onConfirm,
@@ -307,7 +306,7 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
307
306
  isPending: R.cancelConfirmation.isPending,
308
307
  labels: { cancelButton: R.cancelConfirmation.cancelButtonLabel }
309
308
  }),
310
- /* @__PURE__ */ b(r, {
309
+ /* @__PURE__ */ v(l, {
311
310
  open: R.keepConfirmation.open,
312
311
  copy: R.keepConfirmation.copy,
313
312
  onConfirm: R.keepConfirmation.onConfirm,
@@ -315,7 +314,7 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
315
314
  isPending: R.keepConfirmation.isPending,
316
315
  labels: { cancelButton: R.keepConfirmation.cancelButtonLabel }
317
316
  }),
318
- M ? /* @__PURE__ */ b(i, {
317
+ M ? /* @__PURE__ */ v(u, {
319
318
  open: _e,
320
319
  onOpenChange: w,
321
320
  onFilesSelected: Y,
@@ -1,75 +1,33 @@
1
1
  import { BILL_STATUS_FILTER_ORDER as e, BillStatusFilter as t, billStatusFilterApiValues as n } from "./index4.js";
2
- import { BillColumn as r } from "../../ui/dist/index22.js";
3
- import "../../ui/dist/index.js";
4
2
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js
5
- var i = {
3
+ var r = {
6
4
  All: "all",
7
5
  AssignedToMe: "assigned_to_me"
8
- }, a = /* @__PURE__ */ new Set([
6
+ }, i = /* @__PURE__ */ new Set([
9
7
  t.Draft,
10
8
  t.ReadyToSubmit,
11
9
  t.PendingApproval,
12
10
  t.Rejected
13
11
  ]);
14
- function o(n, r) {
15
- return n === i.All ? e : e.filter((e) => a.has(e) || r && e === t.ReadyToPay);
12
+ function a(n, a) {
13
+ return n === r.All ? e : e.filter((e) => i.has(e) || a && e === t.ReadyToPay);
16
14
  }
17
- function s(e, t) {
15
+ function o(e, t) {
18
16
  switch (e) {
19
- case i.AssignedToMe: return {
20
- status__in: n(o(e, t)),
17
+ case r.AssignedToMe: return {
18
+ status__in: n(a(e, t)),
21
19
  has_scheduled_payment: !1,
22
20
  approval_queue: "mine"
23
21
  };
24
- case i.All: return {};
22
+ case r.All: return {};
25
23
  }
26
24
  }
27
- var c = i.All, l = [i.All, i.AssignedToMe], u = {
28
- [i.All]: [
29
- r.Vendor,
30
- r.InvoiceNumber,
31
- r.Attachment,
32
- r.IssueDate,
33
- r.DueDate,
34
- r.ScheduledDate,
35
- r.Status,
36
- r.AmountDue,
37
- r.AmountPaid,
38
- r.TotalAmount,
39
- r.AddedOn
40
- ],
41
- [i.AssignedToMe]: [
42
- r.Vendor,
43
- r.InvoiceNumber,
44
- r.Attachment,
45
- r.IssueDate,
46
- r.DueDate,
47
- r.Status,
48
- r.AmountDue,
49
- r.TotalAmount,
50
- r.AddedOn
51
- ]
52
- };
53
- function d(e) {
54
- return u[e];
55
- }
56
- var f = {
25
+ var s = r.All, c = [r.All, r.AssignedToMe], l = {
57
26
  vendorLabel: "counterpart_name",
58
- issueDateLabel: "issued_at",
59
27
  dueDateLabel: "due_date",
60
- scheduledDateLabel: "scheduled_payment_date",
61
28
  addedOnLabel: "created_at"
62
- }, p = {
63
- [r.Vendor]: "vendorLabel",
64
- [r.IssueDate]: "issueDateLabel",
65
- [r.DueDate]: "dueDateLabel",
66
- [r.ScheduledDate]: "scheduledDateLabel",
67
- [r.AddedOn]: "addedOnLabel"
68
29
  };
69
- function m(e) {
70
- return p[e];
71
- }
72
- function h(e) {
73
- if (e) return f[e];
30
+ function u(e) {
31
+ if (e) return l[e];
74
32
  }
75
- export { u as BILL_QUEUE_COLUMNS, l as BILL_QUEUE_ORDER, f as BILL_SORT_FIELDS, i as BillQueue, c as DEFAULT_BILL_QUEUE, d as billQueueColumns, s as billQueueFilters, o as billQueueStatusFilters, m as billSortColumnId, h as billSortField };
33
+ export { c as BILL_QUEUE_ORDER, l as BILL_SORT_FIELDS, r as BillQueue, s as DEFAULT_BILL_QUEUE, o as billQueueFilters, a as billQueueStatusFilters, u as billSortField };
@@ -47,7 +47,7 @@ var n = {
47
47
  attentionDuplicates: (e, t) => `${e}${t ? "+" : ""} possible ${e === 1 && !t ? "duplicate" : "duplicates"}`,
48
48
  attentionBackAccessible: "Back to all bills",
49
49
  duplicatesViewTitle: "Possible duplicates",
50
- duplicateRowNote: "Possible duplicate",
50
+ duplicateFlag: "Possible duplicate",
51
51
  duplicatesEmptyState: {
52
52
  title: "No possible duplicates",
53
53
  description: "Bills flagged as possible duplicates appear here for review."
@@ -95,10 +95,9 @@ var n = {
95
95
  duplicateStatusSummary: (e) => e.join(", "),
96
96
  duplicateColumnAmount: "Amount",
97
97
  duplicatePageInfo: ({ billCount: e, groupCount: t }) => `${i(e, "bill", "bills")} across ${i(t, "duplicate group", "duplicate groups")}`,
98
- attachmentIndicator: "Has an attachment",
99
- scheduledRelativeDay: {
100
- today: "Today",
101
- tomorrow: "Tomorrow"
98
+ scheduledStatus: {
99
+ hint: (e) => `Sends ${e}`,
100
+ accessibleLabel: (e) => `Scheduled, sends ${e}`
102
101
  },
103
102
  dueDate: e,
104
103
  emptyHeading: "Add your first bill",
@@ -1,18 +1,12 @@
1
- import { BillColumn as e } from "../../ui/dist/index22.js";
1
+ import { BillColumn as e } from "../../ui/dist/index16.js";
2
2
  import "../../ui/dist/index.js";
3
3
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js
4
4
  var t = {
5
5
  [e.Vendor]: "bill-pay-bills-cell-vendor",
6
6
  [e.InvoiceNumber]: "bill-pay-bills-cell-invoice-number",
7
- [e.Attachment]: "bill-pay-bills-cell-attachment",
8
- [e.IssueDate]: "bill-pay-bills-cell-issue-date",
9
7
  [e.DueDate]: "bill-pay-bills-cell-due-date",
10
- [e.ScheduledDate]: "bill-pay-bills-cell-scheduled-date",
11
- [e.PaidDate]: "bill-pay-bills-cell-paid-date",
12
8
  [e.Status]: "bill-pay-bills-cell-status",
13
9
  [e.AmountDue]: "bill-pay-bills-cell-amount-due",
14
- [e.AmountScheduled]: "bill-pay-bills-cell-amount-scheduled",
15
- [e.AmountPaid]: "bill-pay-bills-cell-amount-paid",
16
10
  [e.TotalAmount]: "bill-pay-bills-cell-total-amount",
17
11
  [e.AddedOn]: "bill-pay-bills-cell-added-on"
18
12
  };
@@ -12,13 +12,7 @@ import { BillsFilterField as t } from "./index12.js";
12
12
  import "./index13.js";
13
13
  import "./index14.js";
14
14
  import "./index15.js";
15
- import "./index16.js";
16
- import "./index17.js";
15
+ import { BillColumn as n } from "./index16.js";
16
+ import { BillsScreen as r } from "./index17.js";
17
17
  import "./index18.js";
18
- import "./index19.js";
19
- import "./index20.js";
20
- import "./index21.js";
21
- import { BillColumn as n } from "./index22.js";
22
- import { BillsScreen as r } from "./index23.js";
23
- import "./index24.js";
24
18
  export { e as AddBillDialog, n as BillColumn, t as BillsFilterField, r as BillsScreen };
@@ -6,8 +6,8 @@ var i = {
6
6
  issueDate: "Issue date",
7
7
  dueDate: "Due date",
8
8
  status: "Status",
9
- totalAmount: "Total amount",
10
- addedOn: "Added on",
9
+ totalAmount: "Amount",
10
+ addedOn: "Created",
11
11
  attachment: "Attachment"
12
12
  },
13
13
  fieldMenuLabel: "Filter bills by",
@@ -1,3 +1,46 @@
1
+ import { DATA_TABLE_LABELS_EN as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { EMPTY_VALUE_LABELS_EN as t } from "../../../../shared/ui/dist/lib/EmptyValue/labels.js";
3
+ import "../../../../shared/ui/dist/index.js";
4
+ import { ADD_BILL_PANEL_LABELS_EN as n } from "./index2.js";
5
+ import "./index4.js";
6
+ import { BILL_STATUS_BADGE_LABELS_EN as r } from "../../../../shared/document-status/ui/dist/index2.js";
7
+ import "../../../../shared/document-status/ui/dist/index.js";
1
8
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index15.js
2
- var e = { missing: "Missing" };
3
- export { e as MISSING_VALUE_LABELS_EN };
9
+ var i = ".pdf,.png,.jpg,.jpeg,.doc,.docx", a = {
10
+ ...n,
11
+ dropzone: {
12
+ ...n.dropzone,
13
+ fileTypesHint: "PDF, DOC, JPG, or PNG (max. 3MB)"
14
+ }
15
+ }, o = {
16
+ createButton: "Add bill",
17
+ columnVendor: "Vendor",
18
+ columnInvoiceNumber: "Invoice number",
19
+ columnDueDate: "Due date",
20
+ columnAmountDue: "Amount due",
21
+ columnTotalAmount: "Amount",
22
+ columnStatus: "Status",
23
+ columnAddedOn: "Created",
24
+ columnActions: "Actions",
25
+ openRow: (e) => `View bill — ${e}`,
26
+ vendorResolving: "Loading vendor",
27
+ vendorUnavailable: "Vendor unavailable",
28
+ searchPlaceholder: "Search by vendor name",
29
+ searchLabel: "Search bills by vendor name",
30
+ filterTabsLabel: "Bill views",
31
+ filteredEmptyTitle: "No bills match",
32
+ filteredEmptyDescription: "Try a different search or status filter.",
33
+ errorTitle: "Couldn't load bills",
34
+ errorDescription: "Something went wrong. Try again.",
35
+ errorRetry: "Retry",
36
+ tableDropzoneTitle: "Drop your files here",
37
+ statusBadge: r,
38
+ addBill: a,
39
+ sortableHeader: {
40
+ sortedAscending: e.sortedAscending,
41
+ sortedDescending: e.sortedDescending,
42
+ notSorted: e.notSorted
43
+ },
44
+ emptyValue: t
45
+ };
46
+ export { o as BILLS_SCREEN_LABELS_EN, i as BILLS_SCREEN_UPLOAD_ACCEPT };
@@ -1,15 +1,11 @@
1
- import { cn as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { MISSING_VALUE_LABELS_EN as t } from "./index15.js";
3
- import { jsx as n } from "react/jsx-runtime";
4
1
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index16.js
5
- function r({ labels: r, className: i }) {
6
- let a = {
7
- ...t,
8
- ...r
9
- };
10
- return /* @__PURE__ */ n("span", {
11
- className: e("ttw:text-amber-700", i),
12
- children: a.missing
13
- });
14
- }
15
- export { r as MissingValue, r as default };
2
+ var e = {
3
+ Vendor: "vendor",
4
+ InvoiceNumber: "invoiceNumber",
5
+ TotalAmount: "totalAmount",
6
+ AmountDue: "amountDue",
7
+ Status: "status",
8
+ DueDate: "dueDate",
9
+ AddedOn: "addedOn"
10
+ };
11
+ export { e as BillColumn };