@tesouro/embedded-components-react 0.7.40 → 0.7.42

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 (47) hide show
  1. package/README.md +2 -2
  2. package/dist/index.css +11 -0
  3. package/dist/index.d.ts +16 -14
  4. package/dist/lib/CounterpartsWidget.d.ts +16 -14
  5. package/dist/lib/CounterpartsWidgetPublic.d.ts +16 -14
  6. package/dist/lib/CustomersWidget.d.ts +16 -14
  7. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/mocks/acceptDisclosures.js +33 -28
  8. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/mocks/labels.js +6 -2
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BusinessDetailsStep.js +2 -2
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/PersonalDetailsStep.js +1 -1
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/businessDetailsPanelMapping.js +1 -1
  13. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/personalDetailsPanelMapping.js +1 -1
  14. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/mocks/bankAccountOnboarding.js +40 -22
  15. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/mocks/labels.js +14 -2
  16. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +8 -10
  17. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index17.js +274 -2
  18. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index18.js +30 -4
  19. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index19.js +21 -272
  20. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index20.js +65 -26
  21. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index21.js +341 -21
  22. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index22.js +27 -65
  23. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index23.js +26 -341
  24. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index24.js +72 -27
  25. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index25.js +85 -26
  26. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index26.js +8 -74
  27. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js +55 -83
  28. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js +7 -6
  29. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index29.js +42 -37
  30. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartsWidget.js +30 -29
  31. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/constants.js +6 -6
  32. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsTable.js +143 -95
  33. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsWidget.js +60 -48
  34. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/labels.js +1 -1
  35. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index.js +4 -4
  36. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index2.js +22 -15
  37. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index3.js +137 -135
  38. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/mocks/expenseManagement.js +163 -140
  39. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/mocks/labels.js +22 -16
  40. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/labels.js +12 -0
  41. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +255 -88
  42. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +106 -108
  43. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  44. package/dist/scenarios/index.d.ts +1 -1
  45. package/package.json +1 -1
  46. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index30.js +0 -11
  47. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index31.js +0 -64
@@ -1,87 +1,59 @@
1
- import { Checkbox as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BUSINESS_DETAILS_LABELS_EN as t, interpolateBankName as n } from "./index8.js";
3
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
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_APPLICATION_DIALOG_LABELS_EN as s } from "./index26.js";
3
+ import { useRef as c } from "react";
4
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
5
+ import { XIcon as d } from "lucide-react";
4
6
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js
5
- var a = "ttw:cursor-pointer ttw:text-primary ttw:underline ttw:underline-offset-2";
6
- function o({ href: e, children: t }) {
7
- return e ? /* @__PURE__ */ r("a", {
8
- href: e,
9
- target: "_blank",
10
- rel: "noopener noreferrer",
11
- className: a,
12
- children: t
13
- }) : /* @__PURE__ */ r("span", {
14
- className: a,
15
- children: t
16
- });
17
- }
18
- function s({ value: a, onChange: s, isSubmitting: c, labels: l, bankName: u, termsHref: d, privacyHref: f, electronicCommunicationHref: p, patriotActHref: m, testIds: h }) {
19
- let g = {
20
- ...t,
21
- ...l,
22
- companyStructureOptions: {
23
- ...t.companyStructureOptions,
24
- ...l?.companyStructureOptions ?? {}
25
- }
26
- }, _ = (e, t) => s({
27
- ...a,
28
- [e]: t
29
- });
30
- return /* @__PURE__ */ i("div", {
31
- className: "ttw:flex ttw:flex-col ttw:gap-4",
32
- children: [/* @__PURE__ */ i("div", {
33
- className: "ttw:flex ttw:items-start ttw:gap-2",
34
- children: [/* @__PURE__ */ r(e, {
35
- id: "isAuthorized",
36
- "data-testid": h?.authorizationCheckbox,
37
- checked: a.isAuthorized === !0,
38
- onCheckedChange: (e) => _("isAuthorized", e === !0 || null),
39
- disabled: c,
40
- className: "ttw:mt-0.5",
41
- "aria-labelledby": "bank-account-onboarding-authorization-text"
42
- }), /* @__PURE__ */ r("p", {
43
- id: "bank-account-onboarding-authorization-text",
44
- className: "ttw:text-sm ttw:font-normal ttw:leading-snug",
45
- children: g.isAuthorizedQuestion
46
- })]
47
- }), /* @__PURE__ */ i("div", {
48
- className: "ttw:flex ttw:items-start ttw:gap-2",
49
- children: [/* @__PURE__ */ r(e, {
50
- id: "isCheckboxChecked",
51
- "data-testid": h?.disclosureCheckbox,
52
- checked: a.isCheckboxChecked,
53
- onCheckedChange: (e) => _("isCheckboxChecked", e === !0),
54
- disabled: c,
55
- className: "ttw:mt-0.5",
56
- "aria-labelledby": "bank-account-onboarding-disclosure-text"
57
- }), /* @__PURE__ */ i("p", {
58
- id: "bank-account-onboarding-disclosure-text",
59
- className: "ttw:text-sm ttw:font-normal ttw:leading-snug",
60
- children: [
61
- n(g.acceptDisclosuresPrefix, u),
62
- /* @__PURE__ */ r(o, {
63
- href: d,
64
- children: g.termsOfUse
65
- }),
66
- g.acceptDisclosuresTermsPrivacyJoin,
67
- /* @__PURE__ */ r(o, {
68
- href: f,
69
- children: g.privacyPolicy
70
- }),
71
- n(g.acceptDisclosuresAfterPrivacy, u),
72
- /* @__PURE__ */ r(o, {
73
- href: p,
74
- children: g.electronicCommunication
75
- }),
76
- n(g.acceptDisclosuresAfterElectronic, u),
77
- /* @__PURE__ */ r(o, {
78
- href: m,
79
- children: g.patriotAct
80
- })
81
- ]
82
- })]
83
- })]
7
+ function f({ open: f, onSaveDraft: p, onDiscard: m, onCancel: h, isSaving: g = !1, labels: _, testIds: v }) {
8
+ let y = {
9
+ ...s,
10
+ ..._
11
+ }, b = c(null);
12
+ return /* @__PURE__ */ l(e, {
13
+ open: f,
14
+ onOpenChange: (e) => {
15
+ !e && !g && h();
16
+ },
17
+ children: /* @__PURE__ */ u(t, {
18
+ "data-testid": v?.root,
19
+ onOpenAutoFocus: (e) => {
20
+ e.preventDefault(), b.current?.focus();
21
+ },
22
+ children: [
23
+ /* @__PURE__ */ u("button", {
24
+ ref: b,
25
+ type: "button",
26
+ onClick: h,
27
+ disabled: g,
28
+ "data-testid": v?.close,
29
+ 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",
30
+ children: [/* @__PURE__ */ l(d, {
31
+ className: "ttw:size-4",
32
+ "aria-hidden": !0
33
+ }), /* @__PURE__ */ l("span", {
34
+ className: "ttw:sr-only",
35
+ children: y.closeButton
36
+ })]
37
+ }),
38
+ /* @__PURE__ */ u(i, { children: [/* @__PURE__ */ l(a, { children: y.title }), /* @__PURE__ */ l(n, { children: y.description })] }),
39
+ /* @__PURE__ */ u(r, { children: [/* @__PURE__ */ l(o, {
40
+ type: "button",
41
+ variant: "outline",
42
+ onClick: m,
43
+ disabled: g,
44
+ "data-testid": v?.discard,
45
+ children: y.discardButton
46
+ }), /* @__PURE__ */ l(o, {
47
+ type: "button",
48
+ loading: g,
49
+ disabled: g,
50
+ onClick: p,
51
+ "data-testid": v?.saveDraft,
52
+ children: y.saveDraftButton
53
+ })] })
54
+ ]
55
+ })
84
56
  });
85
57
  }
86
58
  //#endregion
87
- export { s as BusinessDisclosuresSection };
59
+ export { s as UNSAVED_APPLICATION_DIALOG_LABELS_EN, f as UnsavedApplicationDialog };
@@ -1,10 +1,11 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js
2
2
  var e = {
3
- title: "Save changes to application",
4
- description: "This application has changes that have not been saved. Save it to finish later, or discard the changes.",
5
- saveDraftButton: "Save changes",
6
- discardButton: "Discard changes",
7
- closeButton: "Close"
3
+ title: "Delete this application?",
4
+ descriptionBeforeEmphasis: "Everything you've entered so far will be permanently removed. If you'd rather come back later, use ",
5
+ descriptionEmphasis: "Save and continue later",
6
+ descriptionAfterEmphasis: " instead.",
7
+ keepEditingButton: "Keep editing",
8
+ deleteButton: "Delete application"
8
9
  };
9
10
  //#endregion
10
- export { e as UNSAVED_APPLICATION_DIALOG_LABELS_EN };
11
+ export { e as DELETE_APPLICATION_DIALOG_LABELS_EN };
@@ -1,59 +1,64 @@
1
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_APPLICATION_DIALOG_LABELS_EN as s } from "./index28.js";
2
+ import { DELETE_APPLICATION_DIALOG_LABELS_EN as s } from "./index28.js";
3
3
  import { useRef as c } from "react";
4
4
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
5
- import { XIcon as d } from "lucide-react";
5
+ import { Trash2Icon as d } from "lucide-react";
6
6
  //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index29.js
7
- function f({ open: f, onSaveDraft: p, onDiscard: m, onCancel: h, isSaving: g = !1, labels: _, testIds: v }) {
8
- let y = {
7
+ function f({ open: f, onConfirm: p, onCancel: m, isDeleting: h = !1, labels: g, testIds: _ }) {
8
+ let v = {
9
9
  ...s,
10
- ..._
11
- }, b = c(null);
10
+ ...g
11
+ }, y = c(null);
12
12
  return /* @__PURE__ */ l(e, {
13
13
  open: f,
14
14
  onOpenChange: (e) => {
15
- !e && !g && h();
15
+ !e && !h && m();
16
16
  },
17
17
  children: /* @__PURE__ */ u(t, {
18
- "data-testid": v?.root,
18
+ "data-testid": _?.root,
19
19
  onOpenAutoFocus: (e) => {
20
- e.preventDefault(), b.current?.focus();
20
+ e.preventDefault(), y.current?.focus();
21
21
  },
22
- children: [
23
- /* @__PURE__ */ u("button", {
24
- ref: b,
25
- type: "button",
26
- onClick: h,
27
- disabled: g,
28
- "data-testid": v?.close,
29
- 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",
30
- children: [/* @__PURE__ */ l(d, {
31
- className: "ttw:size-4",
32
- "aria-hidden": !0
33
- }), /* @__PURE__ */ l("span", {
34
- className: "ttw:sr-only",
35
- children: y.closeButton
36
- })]
37
- }),
38
- /* @__PURE__ */ u(i, { children: [/* @__PURE__ */ l(a, { children: y.title }), /* @__PURE__ */ l(n, { children: y.description })] }),
39
- /* @__PURE__ */ u(r, { children: [/* @__PURE__ */ l(o, {
22
+ children: [/* @__PURE__ */ u(i, {
23
+ className: "ttw:items-center ttw:text-center ttw:sm:items-center ttw:sm:text-center",
24
+ children: [
25
+ /* @__PURE__ */ l("div", {
26
+ className: "ttw:flex ttw:size-14 ttw:items-center ttw:justify-center ttw:rounded-full ttw:bg-destructive/10",
27
+ "aria-hidden": !0,
28
+ children: /* @__PURE__ */ l(d, { className: "ttw:size-6 ttw:text-destructive" })
29
+ }),
30
+ /* @__PURE__ */ l(a, { children: v.title }),
31
+ /* @__PURE__ */ u(n, { children: [
32
+ v.descriptionBeforeEmphasis,
33
+ /* @__PURE__ */ l("strong", {
34
+ className: "ttw:font-semibold ttw:text-foreground",
35
+ children: v.descriptionEmphasis
36
+ }),
37
+ v.descriptionAfterEmphasis
38
+ ] })
39
+ ]
40
+ }), /* @__PURE__ */ u(r, {
41
+ className: "ttw:sm:justify-center",
42
+ children: [/* @__PURE__ */ l(o, {
43
+ ref: y,
40
44
  type: "button",
41
45
  variant: "outline",
42
46
  onClick: m,
43
- disabled: g,
44
- "data-testid": v?.discard,
45
- children: y.discardButton
47
+ disabled: h,
48
+ "data-testid": _?.cancel,
49
+ children: v.keepEditingButton
46
50
  }), /* @__PURE__ */ l(o, {
47
51
  type: "button",
48
- loading: g,
49
- disabled: g,
52
+ variant: "destructive",
53
+ loading: h,
54
+ disabled: h,
50
55
  onClick: p,
51
- "data-testid": v?.saveDraft,
52
- children: y.saveDraftButton
53
- })] })
54
- ]
56
+ "data-testid": _?.confirm,
57
+ children: v.deleteButton
58
+ })]
59
+ })]
55
60
  })
56
61
  });
57
62
  }
58
63
  //#endregion
59
- export { s as UNSAVED_APPLICATION_DIALOG_LABELS_EN, f as UnsavedApplicationDialog };
64
+ export { s as DELETE_APPLICATION_DIALOG_LABELS_EN, f as DeleteApplicationDialog };
@@ -24,18 +24,22 @@ function h({ counterpartType: n, pageSizeOptions: o = l, onViewAllDocuments: h,
24
24
  d(() => {
25
25
  w(a.Mounted);
26
26
  }, [w]);
27
- let { stateOptions: T, selectedId: E, view: D, table: O, details: k, detailsSheetView: A, permissions: j, isPermissionLoading: M, actions: N, handleRowClick: P, closeDetails: F } = u({
27
+ let { stateOptions: T, selectedId: E, view: D, table: O, listError: k, details: A, detailsSheetView: j, permissions: M, isPermissionLoading: N, actions: P, handleRowClick: F, closeDetails: I } = u({
28
28
  counterpartType: n,
29
+ pageSizeOptions: o,
29
30
  detailsLabels: y,
30
- messageLabels: C
31
- }), { form: I } = N;
31
+ messageLabels: C,
32
+ screenLabels: _
33
+ }), { form: L } = P;
32
34
  return /* @__PURE__ */ m(f, { children: [
33
35
  /* @__PURE__ */ p(e, {}),
34
36
  /* @__PURE__ */ p(s, {
35
37
  mode: n,
36
38
  counterparts: O.rows,
37
- isLoading: M || O.isLoading,
39
+ isLoading: N || O.isLoading,
38
40
  isError: O.isError,
41
+ errorTitle: k.title,
42
+ errorDescription: k.description,
39
43
  sorting: O.sorting,
40
44
  onSortingChange: O.onSortingChange,
41
45
  pageSize: O.pageSize,
@@ -45,15 +49,12 @@ function h({ counterpartType: n, pageSizeOptions: o = l, onViewAllDocuments: h,
45
49
  hasPrevPage: O.hasPrevPage,
46
50
  onNextPage: O.onNextPage,
47
51
  onPrevPage: O.onPrevPage,
48
- searchValue: O.searchValue,
49
- onSearchChange: O.onSearchChange,
50
- entityFilter: O.entityFilter,
51
- onEntityFilterChange: O.onEntityFilterChange,
52
+ filters: O.filters,
52
53
  isFiltering: O.isFiltering,
53
- canCreate: j.canCreate,
54
- isAccessRestricted: !M && !j.canRead,
55
- onCreateClick: j.canCreate ? I.openCreate : () => void 0,
56
- onRowClick: P,
54
+ canCreate: M.canCreate,
55
+ isAccessRestricted: !N && !M.canRead,
56
+ onCreateClick: M.canCreate ? L.openCreate : () => void 0,
57
+ onRowClick: F,
57
58
  onRetry: O.onRetry,
58
59
  labels: _,
59
60
  emptyStateTestId: "counterparts-widget-empty-state",
@@ -62,36 +63,36 @@ function h({ counterpartType: n, pageSizeOptions: o = l, onViewAllDocuments: h,
62
63
  /* @__PURE__ */ p(r, {
63
64
  open: D === "create",
64
65
  onOpenChange: (e) => {
65
- e || I.close();
66
+ e || L.close();
66
67
  },
67
68
  mode: "create",
68
69
  counterpartMode: n,
69
- values: I.values,
70
- errors: I.errors,
70
+ values: L.values,
71
+ errors: L.errors,
71
72
  stateOptions: T,
72
- taxIdField: i(I.values.entityType, n, v),
73
- inProgress: I.isSubmitting,
74
- submitDisabled: I.isSubmitting,
75
- onChange: (e) => I.setValues((t) => ({
73
+ taxIdField: i(L.values.entityType, n, v),
74
+ inProgress: L.isSubmitting,
75
+ submitDisabled: L.isSubmitting,
76
+ onChange: (e) => L.setValues((t) => ({
76
77
  ...t,
77
78
  ...e
78
79
  })),
79
- onAddressChange: (e) => I.setValues((t) => ({
80
+ onAddressChange: (e) => L.setValues((t) => ({
80
81
  ...t,
81
82
  address: {
82
83
  ...t.address,
83
84
  ...e
84
85
  }
85
86
  })),
86
- onBankAccountChange: (e) => I.setValues((t) => ({
87
+ onBankAccountChange: (e) => L.setValues((t) => ({
87
88
  ...t,
88
89
  bankAccount: {
89
90
  ...t.bankAccount,
90
91
  ...e
91
92
  }
92
93
  })),
93
- onSubmit: I.submit,
94
- onCancel: I.close,
94
+ onSubmit: L.submit,
95
+ onCancel: L.close,
95
96
  labels: v
96
97
  }),
97
98
  /* @__PURE__ */ p(c, {
@@ -99,13 +100,13 @@ function h({ counterpartType: n, pageSizeOptions: o = l, onViewAllDocuments: h,
99
100
  open: E !== void 0 && (D === "none" || D === "edit"),
100
101
  selectedId: E,
101
102
  view: D,
102
- details: k,
103
- detailsSheetView: A,
104
- actions: N,
103
+ details: A,
104
+ detailsSheetView: j,
105
+ actions: P,
105
106
  stateOptions: T,
106
- canEdit: j.canUpdate,
107
- canDelete: j.canDelete,
108
- onClose: F,
107
+ canEdit: M.canUpdate,
108
+ canDelete: M.canDelete,
109
+ onClose: I,
109
110
  onViewAllDocuments: h,
110
111
  onCreateDocument: g,
111
112
  formLabels: v,
@@ -4,26 +4,26 @@ var e = [
4
4
  25,
5
5
  50,
6
6
  100
7
- ], t = [
7
+ ], t = ["individual", "organization"], n = [
8
8
  "issued",
9
9
  "overdue",
10
10
  "partially_paid",
11
11
  "paid"
12
- ], n = [
12
+ ], r = [
13
13
  "issued",
14
14
  "overdue",
15
15
  "partially_paid"
16
- ], r = [
16
+ ], i = [
17
17
  "new",
18
18
  "approve_in_progress",
19
19
  "waiting_to_be_paid",
20
20
  "partially_paid",
21
21
  "paid"
22
- ], i = [
22
+ ], a = [
23
23
  "new",
24
24
  "approve_in_progress",
25
25
  "waiting_to_be_paid",
26
26
  "partially_paid"
27
- ], a = ["rejected"];
27
+ ], o = ["rejected"];
28
28
  //#endregion
29
- export { e as PAGE_SIZE_OPTIONS, r as PAYABLES_BILLED_STATUSES, i as PAYABLES_OWED_STATUSES, a as PAYABLES_REJECTED_STATUSES, t as RECEIVABLES_BILLED_STATUSES, n as RECEIVABLES_DUE_STATUSES };
29
+ export { e as PAGE_SIZE_OPTIONS, i as PAYABLES_BILLED_STATUSES, a as PAYABLES_OWED_STATUSES, o as PAYABLES_REJECTED_STATUSES, n as RECEIVABLES_BILLED_STATUSES, r as RECEIVABLES_DUE_STATUSES, t as TYPE_FILTER_OPTIONS };