@tesouro/embedded-components-react 0.11.169 → 0.11.172

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 (49) hide show
  1. package/README.md +10 -6
  2. package/dist/index.d.ts +15 -4
  3. package/dist/lib/BillPayWidget.d.ts +9 -4
  4. package/dist/lib/ReceivablesWidget.d.ts +6 -0
  5. package/dist/lib/WidgetSuite.d.ts +6 -0
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +75 -66
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +62 -53
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +44 -38
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +331 -326
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index46.js +10 -8
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index47.js +190 -187
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +12 -19
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +25 -23
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +4 -7
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +23 -24
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +5 -5
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +196 -187
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +8 -5
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js +20 -18
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +11 -15
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +313 -324
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +46 -38
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillsTab.js +2 -2
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +4 -8
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +1 -1
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +45 -22
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +5 -27
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +32 -2
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -29
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/index.js +7 -6
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveBillDueDate.js +22 -0
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +116 -98
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +99 -92
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +7 -1
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurringSeries.js +15 -24
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +59 -69
  39. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  40. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +7 -5
  41. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/DateDisclosure/DateDisclosure.js +28 -0
  42. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/DueDateText/DueDateText.js +19 -0
  43. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index.js +28 -27
  44. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/dueDateDisplay.js +23 -0
  45. package/package.json +1 -1
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +0 -2
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -6
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +0 -33
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +0 -2
@@ -1,33 +1,35 @@
1
- import { BillQueue as e } from "./index5.js";
1
+ import { BILL_DUE_DATE_LABELS_EN as e } from "../../../util/dist/lib/resolveBillDueDate.js";
2
+ import "../../../util/dist/index.js";
3
+ import { BillQueue as t } from "./index5.js";
2
4
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js
3
- var t = {
4
- [e.AssignedToMe]: "Assigned to me",
5
- [e.Pending]: "Pending",
6
- [e.Scheduled]: "Scheduled",
7
- [e.Paid]: "Paid",
8
- [e.All]: "All bills"
9
- }, n = {
10
- [e.AssignedToMe]: {
5
+ var n = {
6
+ [t.AssignedToMe]: "Assigned to me",
7
+ [t.Pending]: "Pending",
8
+ [t.Scheduled]: "Scheduled",
9
+ [t.Paid]: "Paid",
10
+ [t.All]: "All bills"
11
+ }, r = {
12
+ [t.AssignedToMe]: {
11
13
  title: "Nothing needs you",
12
14
  description: "Bills you need to submit, approve, or pay appear here."
13
15
  },
14
- [e.Pending]: {
16
+ [t.Pending]: {
15
17
  title: "Nothing waiting on others",
16
18
  description: "Bills appear here while they wait on someone else to approve or pay them."
17
19
  },
18
- [e.Scheduled]: {
20
+ [t.Scheduled]: {
19
21
  title: "No scheduled bills",
20
22
  description: "Bills appear here once a payment date is set for them."
21
23
  },
22
- [e.Paid]: {
24
+ [t.Paid]: {
23
25
  title: "No paid bills",
24
26
  description: "Bills appear here once their payment has gone out."
25
27
  },
26
- [e.All]: {
28
+ [t.All]: {
27
29
  title: "No bills",
28
30
  description: "Bills appear here as soon as they are added."
29
31
  }
30
- }, r = {
32
+ }, i = {
31
33
  duplicateWarningOne: "1 possible duplicate found",
32
34
  duplicateWarningMany: (e, t) => `${e} possible duplicate bills found across ${t} original ${t === 1 ? "bill" : "bills"}`,
33
35
  duplicateWarningManyCapped: (e) => `${e}+ possible duplicate bills found`,
@@ -75,15 +77,15 @@ var t = {
75
77
  today: "Today",
76
78
  tomorrow: "Tomorrow"
77
79
  },
80
+ dueDate: e,
78
81
  emptyHeading: "Add your first bill",
79
82
  nonEmptyHeading: "Add a bill",
80
83
  createButton: "Add bill",
81
- settingsButton: "Bill pay settings",
82
84
  emailCopiedToast: "Email address copied to clipboard",
83
85
  emailCopyFailedToast: "Could not copy the email address",
84
- queues: t,
85
- queueEmptyStates: n,
86
+ queues: n,
87
+ queueEmptyStates: r,
86
88
  filters: {},
87
89
  filterBar: {}
88
90
  };
89
- export { r as BILLS_TAB_LABELS_EN, n as BILL_QUEUE_EMPTY_STATES_EN, t as BILL_QUEUE_LABELS_EN };
91
+ export { i as BILLS_TAB_LABELS_EN, r as BILL_QUEUE_EMPTY_STATES_EN, n as BILL_QUEUE_LABELS_EN };
@@ -1,24 +1,21 @@
1
1
  import { DATA_TABLE_LABELS_EN as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
2
  import { BILL_STATUS_BADGE_LABELS_EN as t } from "../../../../shared/document-status/ui/dist/index2.js";
3
3
  import "../../../../shared/document-status/ui/dist/index.js";
4
- import { DUE_DATE_VALUE_LABELS_EN as n } from "../../../ui/dist/index21.js";
5
- import "../../../ui/dist/index.js";
6
- import { ADD_BILL_PANEL_LABELS_EN as r } from "./index2.js";
4
+ import { ADD_BILL_PANEL_LABELS_EN as n } from "./index2.js";
7
5
  import "./index4.js";
8
- import { MISSING_VALUE_LABELS_EN as i } from "./index12.js";
6
+ import { MISSING_VALUE_LABELS_EN as r } from "./index12.js";
9
7
  import "./index14.js";
10
- import { NO_VALUE_LABELS_EN as a } from "./index15.js";
8
+ import { NO_VALUE_LABELS_EN as i } from "./index15.js";
11
9
  import "./index17.js";
12
10
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js
13
- var o = ".pdf,.png,.jpg,.jpeg,.doc,.docx", s = {
14
- ...r,
11
+ var a = ".pdf,.png,.jpg,.jpeg,.doc,.docx", o = {
12
+ ...n,
15
13
  dropzone: {
16
- ...r.dropzone,
14
+ ...n.dropzone,
17
15
  fileTypesHint: "PDF, DOC, JPG, or PNG (max. 3MB)"
18
16
  }
19
- }, c = {
17
+ }, s = {
20
18
  createButton: "Add bill",
21
- settingsButton: "Bill pay settings",
22
19
  columnVendor: "Vendor",
23
20
  columnInvoiceNumber: "Invoice number",
24
21
  columnAttachment: "Attachment",
@@ -47,14 +44,13 @@ var o = ".pdf,.png,.jpg,.jpeg,.doc,.docx", s = {
47
44
  errorRetry: "Retry",
48
45
  tableDropzoneTitle: "Drop your files here",
49
46
  statusBadge: t,
50
- addBill: s,
47
+ addBill: o,
51
48
  sortableHeader: {
52
49
  sortedAscending: e.sortedAscending,
53
50
  sortedDescending: e.sortedDescending,
54
51
  notSorted: e.notSorted
55
52
  },
56
- missingValue: i,
57
- noValue: a,
58
- dueDate: n
53
+ missingValue: r,
54
+ noValue: i
59
55
  };
60
- export { c as BILLS_SCREEN_LABELS_EN, o as BILLS_SCREEN_UPLOAD_ACCEPT };
56
+ export { s as BILLS_SCREEN_LABELS_EN, a as BILLS_SCREEN_UPLOAD_ACCEPT };