@tesouro/embedded-components-react 0.11.9 → 0.11.11

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 (51) hide show
  1. package/dist/index.css +12 -49
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index3.js +8 -6
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +99 -94
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +3 -4
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +1 -1
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index36.js +2 -1
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +110 -100
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +1 -1
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +1 -1
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index4.js +45 -40
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +259 -210
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +190 -165
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js +7 -1
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js +1 -1
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +151 -143
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index3.js +1 -1
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +1 -1
  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 +19 -17
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index10.js +13 -2
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index11.js +52 -2
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +2 -40
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +3 -2
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +39 -9
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +2 -77
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +10 -0
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +77 -2
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -3
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +25 -26
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +3 -2
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +28 -5
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -33
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +6 -2
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +33 -0
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +2 -0
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index6.js +9 -30
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index8.js +29 -11
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js +1 -53
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/index.js +2 -1
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/groupCollapse.js +22 -0
  48. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  49. package/dist/packages/shared-ui-shadcn/dist/index.js +1637 -1507
  50. package/package.json +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +0 -28
@@ -1,53 +1 @@
1
- import { Button as e, DropdownMenu as t, DropdownMenuContent as n, DropdownMenuGroup as r, DropdownMenuItem as i, DropdownMenuLabel as a, DropdownMenuSeparator as o, DropdownMenuTrigger as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { groupBySectionHeading as c } from "./index8.js";
3
- import { Fragment as l, useId as u } from "react";
4
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
5
- import { MoreHorizontalIcon as p, MoreVerticalIcon as m } from "lucide-react";
6
- // ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js
7
- function h({ actions: h, triggerLabel: g, placement: _ = "row", testId: v }) {
8
- let y = u();
9
- if (!h.length) return null;
10
- let b = _ === "header", x = _ === "header" || _ === "table", S = b ? p : m, C = c(h);
11
- return /* @__PURE__ */ f(t, { children: [/* @__PURE__ */ d(s, {
12
- asChild: !0,
13
- children: /* @__PURE__ */ d(e, {
14
- type: "button",
15
- variant: x ? "ghost" : "outline",
16
- size: "icon",
17
- "aria-label": g,
18
- "data-testid": v,
19
- onPointerDown: (e) => e.stopPropagation(),
20
- onClick: (e) => e.stopPropagation(),
21
- children: /* @__PURE__ */ d(S, { className: "ttw:size-4" })
22
- })
23
- }), /* @__PURE__ */ d(n, {
24
- align: "end",
25
- onPointerDown: (e) => e.stopPropagation(),
26
- onClick: (e) => e.stopPropagation(),
27
- children: C.map((e, t) => {
28
- let n = e.items.map((e) => {
29
- let t = e.icon;
30
- return /* @__PURE__ */ f(i, {
31
- disabled: e.disabled,
32
- onClick: e.onSelect,
33
- children: [t ? /* @__PURE__ */ d(t, { className: "ttw:size-4" }) : null, e.label]
34
- }, e.id);
35
- });
36
- if (!e.heading) return /* @__PURE__ */ d(l, { children: n }, e.items[0]?.id);
37
- let s = `${y}-${t}`;
38
- return /* @__PURE__ */ f(l, { children: [
39
- t > 0 ? /* @__PURE__ */ d(o, {}) : null,
40
- /* @__PURE__ */ d(a, {
41
- id: s,
42
- className: "ttw:py-1 ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
43
- children: e.heading
44
- }),
45
- /* @__PURE__ */ d(r, {
46
- "aria-labelledby": s,
47
- children: n
48
- })
49
- ] }, e.items[0]?.id);
50
- })
51
- })] });
52
- }
53
- export { h as BillOverflowMenu, h as default };
1
+ import "./index8.js";
@@ -14,4 +14,5 @@ import { resolveLineItemAmountMinorUnits as T } from "./lib/resolveLineItemAmoun
14
14
  import { resolveLineItemQuantity as E } from "./lib/resolveLineItemQuantity.js";
15
15
  import { resolveVendor as D, resolveVendorName as O } from "./lib/resolveVendor.js";
16
16
  import { BILL_PAY_WIDGET_NAME as k } from "./lib/widgetName.js";
17
- export { e as AWAITING_APPROVAL_LABEL_EN, t as AWAITING_APPROVAL_UNKNOWN_LABEL_EN, n as BILL_DETAIL_ACTIONS_LABELS_EN, k as BILL_PAY_WIDGET_NAME, u as DuplicateVerdict, r as PAYMENT_HISTORY_LABELS_EN, i as SCHEDULED_RELATIVE_DAY_LABELS_EN, a as SCHEDULED_STATUS_BADGE_LABEL_EN, o as SCHEDULED_SUMMARY_LABEL_EN, g as compareByArrival, p as countSuspectedPayableDuplicateGroups, _ as duplicateVerdictMatches, d as formatBillMoney, f as formatScheduledDateLabel, v as groupSuspectedDuplicates, m as hasSuspectedPayableDuplicate, b as isEditablePayableStatus, x as isLiveScheduledPaymentRecord, S as maskAccountNumber, s as mergeBillDetailActionsLabels, c as mergeDecisionDialogCopy, l as mergePaymentHistoryMethodLabels, C as payableRemoval, w as resolveAmountDueMinorUnits, y as resolveDuplicateOriginalId, T as resolveLineItemAmountMinorUnits, E as resolveLineItemQuantity, D as resolveVendor, O as resolveVendorName, h as suspectedPayableDuplicates };
17
+ import { buildGroupCollapse as A } from "./lib/groupCollapse.js";
18
+ export { e as AWAITING_APPROVAL_LABEL_EN, t as AWAITING_APPROVAL_UNKNOWN_LABEL_EN, n as BILL_DETAIL_ACTIONS_LABELS_EN, k as BILL_PAY_WIDGET_NAME, u as DuplicateVerdict, r as PAYMENT_HISTORY_LABELS_EN, i as SCHEDULED_RELATIVE_DAY_LABELS_EN, a as SCHEDULED_STATUS_BADGE_LABEL_EN, o as SCHEDULED_SUMMARY_LABEL_EN, A as buildGroupCollapse, g as compareByArrival, p as countSuspectedPayableDuplicateGroups, _ as duplicateVerdictMatches, d as formatBillMoney, f as formatScheduledDateLabel, v as groupSuspectedDuplicates, m as hasSuspectedPayableDuplicate, b as isEditablePayableStatus, x as isLiveScheduledPaymentRecord, S as maskAccountNumber, s as mergeBillDetailActionsLabels, c as mergeDecisionDialogCopy, l as mergePaymentHistoryMethodLabels, C as payableRemoval, w as resolveAmountDueMinorUnits, y as resolveDuplicateOriginalId, T as resolveLineItemAmountMinorUnits, E as resolveLineItemQuantity, D as resolveVendor, O as resolveVendorName, h as suspectedPayableDuplicates };
@@ -0,0 +1,22 @@
1
+ // ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/groupCollapse.js
2
+ var e = [
3
+ "paid",
4
+ "scheduled",
5
+ "ready_to_pay",
6
+ "pending_approval",
7
+ "draft"
8
+ ];
9
+ function t({ statuses: t, statusLabels: n, labels: r }) {
10
+ if (t.length <= 5) return;
11
+ let i = t.slice(4), a = [...new Set(i.map((e) => e ?? "unknown"))], o = (t) => {
12
+ let n = e.indexOf(t);
13
+ return n === -1 ? e.length : n;
14
+ }, s = [...a].sort((e, t) => o(e) - o(t));
15
+ return {
16
+ visibleCount: 4,
17
+ showMoreLabel: r.showMore(i.length),
18
+ summary: r.statusSummary(s.map((e) => n[e] ?? n.unknown ?? e)),
19
+ showLessLabel: r.showLess
20
+ };
21
+ }
22
+ export { e as GROUP_SUMMARY_STATUS_ORDER, t as buildGroupCollapse };
@@ -1,5 +1,5 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.11.9", n = "bfb00e0822787c75eaf1f5aca4766310de2aff82", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.11", n = "b690ac5b345255517935aef3d6ad099c24f3c143", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n