@tesouro/embedded-components-react 0.3.1 → 0.3.2

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 (45) hide show
  1. package/README.md +7 -10
  2. package/dist/experimental/WidgetSuite.d.ts +2 -2
  3. package/dist/experimental/index.d.ts +2 -2
  4. package/dist/index.d.ts +1 -23
  5. package/dist/lib/BankAccountsWidget.d.ts +0 -1
  6. package/dist/lib/ChartOfAccountsWidget.d.ts +1 -5
  7. package/dist/lib/CounterpartsWidget.d.ts +0 -9
  8. package/dist/lib/ExpenseManagementWidget.d.ts +0 -1
  9. package/dist/lib/ProductsWidget.d.ts +0 -1
  10. package/dist/lib/ReceivablesWidget.d.ts +0 -1
  11. package/dist/lib/SettingsWidget.d.ts +0 -1
  12. package/dist/lib/TagsWidget.d.ts +0 -1
  13. package/dist/lib/TeamWidget.d.ts +0 -3
  14. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index8.js +0 -1
  15. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +64 -65
  16. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/BankAccountsWidgetUi.js +35 -36
  17. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/BankingHeader.js +35 -42
  18. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js +0 -1
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +0 -1
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +1 -4
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +4 -7
  22. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +0 -1
  23. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index8.js +106 -107
  24. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index2.js +0 -2
  25. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index3.js +85 -93
  26. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseManagementWidgetUi/ExpenseManagementWidgetUi.js +4 -7
  27. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseManagementWidgetUi/labels.js +0 -1
  28. package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index2.js +0 -1
  29. package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index3.js +113 -115
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +150 -155
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +0 -1
  32. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index2.js +0 -1
  33. package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index4.js +86 -91
  34. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js +20 -22
  35. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +2 -6
  36. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js +25 -26
  37. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/labels.js +1 -1
  38. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index11.js +1 -1
  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/tags-widget/ui/dist/index2.js +0 -1
  41. package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index3.js +67 -68
  42. package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index17.js +239 -241
  43. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +1 -6
  44. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +53 -53
  45. package/package.json +1 -1
@@ -1,61 +1,61 @@
1
- import { Button as e, DataTable as t, DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a, Input as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Tabs as f, TabsList as p, TabsTrigger as m, Typography as h } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { EmptyState as g } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
3
- import { ErrorState as _ } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
1
+ import { Button as e, DataTable as t, DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a, Input as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Tabs as f, TabsList as p, TabsTrigger as m } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { EmptyState as h } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
3
+ import { ErrorState as g } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
4
4
  import "../../../shared/ui/dist/index.js";
5
- import { RECEIVABLES_SCREEN_LABELS_EN as v } from "./index2.js";
6
- import { ReceivableStatusBadge as y } from "./index4.js";
7
- import { jsx as b, jsxs as x } from "react/jsx-runtime";
8
- import { ArrowDownIcon as S, ArrowUpDownIcon as C, ArrowUpIcon as w, MoreHorizontalIcon as T, PlusIcon as E, SearchIcon as D, SettingsIcon as O } from "lucide-react";
5
+ import { RECEIVABLES_SCREEN_LABELS_EN as _ } from "./index2.js";
6
+ import { ReceivableStatusBadge as v } from "./index4.js";
7
+ import { jsx as y, jsxs as b } from "react/jsx-runtime";
8
+ import { ArrowDownIcon as x, ArrowUpDownIcon as S, ArrowUpIcon as C, MoreHorizontalIcon as w, PlusIcon as T, SearchIcon as E, SettingsIcon as D } from "lucide-react";
9
9
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js
10
- var k = [
10
+ var O = [
11
11
  10,
12
12
  25,
13
13
  50,
14
14
  100
15
- ], A = "all";
16
- function j({ label: t, ariaLabel: n, column: r }) {
15
+ ], k = "all";
16
+ function A({ label: t, ariaLabel: n, column: r }) {
17
17
  let i = r.getIsSorted();
18
- return /* @__PURE__ */ x("div", {
18
+ return /* @__PURE__ */ b("div", {
19
19
  className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
20
- children: [t, /* @__PURE__ */ b(e, {
20
+ children: [t, /* @__PURE__ */ y(e, {
21
21
  variant: "ghost",
22
22
  size: "icon-sm",
23
23
  "aria-label": n,
24
24
  onClick: () => r.toggleSorting(i === "asc"),
25
- children: b(i === "asc" ? w : i === "desc" ? S : C, { className: "ttw:size-4" })
25
+ children: y(i === "asc" ? C : i === "desc" ? x : S, { className: "ttw:size-4" })
26
26
  })]
27
27
  });
28
28
  }
29
- function M({ labels: e, searchValue: t, onSearchChange: n, statusFilter: r, statusOptions: i, onStatusFilterChange: a }) {
30
- return /* @__PURE__ */ x("div", {
29
+ function j({ labels: e, searchValue: t, onSearchChange: n, statusFilter: r, statusOptions: i, onStatusFilterChange: a }) {
30
+ return /* @__PURE__ */ b("div", {
31
31
  className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2 ttw:px-4",
32
- children: [/* @__PURE__ */ x("div", {
32
+ children: [/* @__PURE__ */ b("div", {
33
33
  className: "ttw:relative ttw:w-80",
34
- children: [/* @__PURE__ */ b(D, { className: "ttw:pointer-events-none ttw:absolute ttw:left-3 ttw:top-1/2 ttw:size-4 ttw:-translate-y-1/2 ttw:text-muted-foreground" }), /* @__PURE__ */ b(o, {
34
+ children: [/* @__PURE__ */ y(E, { className: "ttw:pointer-events-none ttw:absolute ttw:left-3 ttw:top-1/2 ttw:size-4 ttw:-translate-y-1/2 ttw:text-muted-foreground" }), /* @__PURE__ */ y(o, {
35
35
  className: "ttw:pl-9",
36
36
  placeholder: e.searchPlaceholder,
37
37
  value: t,
38
38
  onChange: (e) => n(e.target.value)
39
39
  })]
40
- }), /* @__PURE__ */ x(s, {
40
+ }), /* @__PURE__ */ b(s, {
41
41
  value: r,
42
42
  onValueChange: a,
43
- children: [/* @__PURE__ */ b(u, {
43
+ children: [/* @__PURE__ */ y(u, {
44
44
  "aria-label": e.columnStatus,
45
45
  className: "ttw:w-48",
46
- children: /* @__PURE__ */ b(d, {})
47
- }), /* @__PURE__ */ x(c, { children: [/* @__PURE__ */ b(l, {
48
- value: A,
46
+ children: /* @__PURE__ */ y(d, {})
47
+ }), /* @__PURE__ */ b(c, { children: [/* @__PURE__ */ y(l, {
48
+ value: k,
49
49
  children: e.statusFilterAll
50
- }), i.map((t) => /* @__PURE__ */ b(l, {
50
+ }), i.map((t) => /* @__PURE__ */ y(l, {
51
51
  value: t.value,
52
- children: P(t, e.statusBadge)
52
+ children: N(t, e.statusBadge)
53
53
  }, t.value))] })]
54
54
  })]
55
55
  });
56
56
  }
57
- function N({ enabled: e, label: t, action: n, row: r, onActionClick: a, variant: o }) {
58
- return e ? /* @__PURE__ */ b(i, {
57
+ function M({ enabled: e, label: t, action: n, row: r, onActionClick: a, variant: o }) {
58
+ return e ? /* @__PURE__ */ y(i, {
59
59
  variant: o,
60
60
  onClick: (e) => {
61
61
  e.stopPropagation(), a(n, r);
@@ -63,81 +63,76 @@ function N({ enabled: e, label: t, action: n, row: r, onActionClick: a, variant:
63
63
  children: t
64
64
  }) : null;
65
65
  }
66
- function P(e, t) {
66
+ function N(e, t) {
67
67
  return t[e.value] ?? e.label;
68
68
  }
69
- function F({ rows: i, activeTab: o, enabledTabs: s, onTabChange: c, isLoading: l, isError: u, sorting: d, onSortingChange: S, pageSize: C, onPageSizeChange: w, pageSizeOptions: D = k, pageInfo: A, hasNextPage: P, hasPrevPage: F, onNextPage: I, onPrevPage: L, searchValue: R, onSearchChange: z, statusFilter: B, statusOptions: V, onStatusFilterChange: H, isFiltering: U, onCreateClick: W, onTemplateSettingsClick: G, onRowClick: K, onActionClick: q, onRetry: J, labels: Y }) {
70
- let X = {
71
- ...v,
72
- ...Y,
69
+ function P({ rows: i, activeTab: o, enabledTabs: s, onTabChange: c, isLoading: l, isError: u, sorting: d, onSortingChange: x, pageSize: S, onPageSizeChange: C, pageSizeOptions: E = O, pageInfo: k, hasNextPage: N, hasPrevPage: P, onNextPage: F, onPrevPage: I, searchValue: L, onSearchChange: R, statusFilter: z, statusOptions: B, onStatusFilterChange: V, isFiltering: H, onCreateClick: U, onTemplateSettingsClick: W, onRowClick: G, onActionClick: K, onRetry: q, labels: J }) {
70
+ let Y = {
71
+ ..._,
72
+ ...J,
73
73
  statusBadge: {
74
- ...v.statusBadge,
75
- ...Y?.statusBadge
74
+ ..._.statusBadge,
75
+ ...J?.statusBadge
76
76
  }
77
77
  };
78
- return /* @__PURE__ */ x("div", {
78
+ return /* @__PURE__ */ b("div", {
79
79
  className: "ttw:flex ttw:flex-col ttw:gap-4",
80
- children: [/* @__PURE__ */ x("div", {
80
+ children: [/* @__PURE__ */ b("div", {
81
81
  className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
82
- children: [/* @__PURE__ */ x("div", {
82
+ children: [/* @__PURE__ */ y("div", {
83
83
  className: "ttw:flex ttw:items-center ttw:gap-3",
84
- children: [/* @__PURE__ */ b(h, {
85
- component: "h2",
86
- variant: "h6",
87
- className: "ttw:font-semibold",
88
- children: X.title
89
- }), /* @__PURE__ */ b(f, {
84
+ children: /* @__PURE__ */ y(f, {
90
85
  value: o,
91
86
  onValueChange: (e) => c(e),
92
- children: /* @__PURE__ */ x(p, { children: [
93
- s.includes("invoices") && /* @__PURE__ */ b(m, {
87
+ children: /* @__PURE__ */ b(p, { children: [
88
+ s.includes("invoices") && /* @__PURE__ */ y(m, {
94
89
  value: "invoices",
95
- children: X.tabInvoices
90
+ children: Y.tabInvoices
96
91
  }),
97
- s.includes("quotes") && /* @__PURE__ */ b(m, {
92
+ s.includes("quotes") && /* @__PURE__ */ y(m, {
98
93
  value: "quotes",
99
- children: X.tabQuotes
94
+ children: Y.tabQuotes
100
95
  }),
101
- s.includes("credit_notes") && /* @__PURE__ */ b(m, {
96
+ s.includes("credit_notes") && /* @__PURE__ */ y(m, {
102
97
  value: "credit_notes",
103
- children: X.tabCreditNotes
98
+ children: Y.tabCreditNotes
104
99
  })
105
100
  ] })
106
- })]
107
- }), /* @__PURE__ */ x("div", {
101
+ })
102
+ }), /* @__PURE__ */ b("div", {
108
103
  className: "ttw:flex ttw:items-center ttw:gap-2",
109
- children: [G && /* @__PURE__ */ x(e, {
104
+ children: [W && /* @__PURE__ */ b(e, {
110
105
  variant: "outline",
111
- onClick: G,
112
- children: [/* @__PURE__ */ b(O, { className: "ttw:size-4" }), X.templateSettingsButton]
113
- }), /* @__PURE__ */ x(e, {
114
106
  onClick: W,
115
- children: [/* @__PURE__ */ b(E, { className: "ttw:size-4" }), X.createButton]
107
+ children: [/* @__PURE__ */ y(D, { className: "ttw:size-4" }), Y.templateSettingsButton]
108
+ }), /* @__PURE__ */ b(e, {
109
+ onClick: U,
110
+ children: [/* @__PURE__ */ y(T, { className: "ttw:size-4" }), Y.createButton]
116
111
  })]
117
112
  })]
118
- }), u ? /* @__PURE__ */ b(_, {
119
- title: X.errorTitle,
120
- description: X.errorDescription,
121
- retryLabel: J ? X.errorRetry : void 0,
122
- onRetry: J
123
- }) : /* @__PURE__ */ b(t, {
113
+ }), u ? /* @__PURE__ */ y(g, {
114
+ title: Y.errorTitle,
115
+ description: Y.errorDescription,
116
+ retryLabel: q ? Y.errorRetry : void 0,
117
+ onRetry: q
118
+ }) : /* @__PURE__ */ y(t, {
124
119
  columns: [
125
120
  {
126
121
  accessorKey: "documentLabel",
127
122
  enableSorting: !0,
128
- header: ({ column: e }) => /* @__PURE__ */ b(j, {
123
+ header: ({ column: e }) => /* @__PURE__ */ y(A, {
129
124
  column: e,
130
- label: X.columnDocument,
131
- ariaLabel: X.sortByDocument
125
+ label: Y.columnDocument,
126
+ ariaLabel: Y.sortByDocument
132
127
  }),
133
- cell: ({ row: e }) => /* @__PURE__ */ x("div", {
128
+ cell: ({ row: e }) => /* @__PURE__ */ b("div", {
134
129
  className: "ttw:flex ttw:flex-col ttw:gap-1",
135
- children: [/* @__PURE__ */ b("span", {
130
+ children: [/* @__PURE__ */ y("span", {
136
131
  className: "ttw:font-medium",
137
132
  children: e.original.documentLabel
138
- }), /* @__PURE__ */ b("span", {
133
+ }), /* @__PURE__ */ y("span", {
139
134
  className: "ttw:text-xs ttw:text-muted-foreground",
140
- children: e.original.type === "credit_note" ? X.tabCreditNotes : e.original.type === "quote" ? X.tabQuotes : X.tabInvoices
135
+ children: e.original.type === "credit_note" ? Y.tabCreditNotes : e.original.type === "quote" ? Y.tabQuotes : Y.tabInvoices
141
136
  })]
142
137
  }),
143
138
  minSize: 180
@@ -145,167 +140,167 @@ function F({ rows: i, activeTab: o, enabledTabs: s, onTabChange: c, isLoading: l
145
140
  {
146
141
  accessorKey: "customerLabel",
147
142
  enableSorting: !0,
148
- header: ({ column: e }) => /* @__PURE__ */ b(j, {
143
+ header: ({ column: e }) => /* @__PURE__ */ y(A, {
149
144
  column: e,
150
- label: X.columnCustomer,
151
- ariaLabel: X.sortByCustomer
145
+ label: Y.columnCustomer,
146
+ ariaLabel: Y.sortByCustomer
152
147
  }),
153
148
  minSize: 180
154
149
  },
155
150
  {
156
151
  accessorKey: "status",
157
- header: ({ column: e }) => /* @__PURE__ */ b(j, {
152
+ header: ({ column: e }) => /* @__PURE__ */ y(A, {
158
153
  column: e,
159
- label: X.columnStatus,
160
- ariaLabel: X.sortByStatus
154
+ label: Y.columnStatus,
155
+ ariaLabel: Y.sortByStatus
161
156
  }),
162
- cell: ({ row: e }) => /* @__PURE__ */ b(y, {
157
+ cell: ({ row: e }) => /* @__PURE__ */ y(v, {
163
158
  status: e.original.status,
164
159
  tone: e.original.statusTone,
165
- labels: X.statusBadge
160
+ labels: Y.statusBadge
166
161
  })
167
162
  },
168
163
  {
169
164
  accessorKey: "issueDateLabel",
170
165
  enableSorting: !0,
171
- header: ({ column: e }) => /* @__PURE__ */ b(j, {
166
+ header: ({ column: e }) => /* @__PURE__ */ y(A, {
172
167
  column: e,
173
- label: X.columnIssueDate,
174
- ariaLabel: X.sortByIssueDate
168
+ label: Y.columnIssueDate,
169
+ ariaLabel: Y.sortByIssueDate
175
170
  })
176
171
  },
177
172
  {
178
173
  accessorKey: "dueDateLabel",
179
174
  enableSorting: !0,
180
- header: ({ column: e }) => /* @__PURE__ */ b(j, {
175
+ header: ({ column: e }) => /* @__PURE__ */ y(A, {
181
176
  column: e,
182
- label: X.columnDueDate,
183
- ariaLabel: X.sortByDueDate
177
+ label: Y.columnDueDate,
178
+ ariaLabel: Y.sortByDueDate
184
179
  })
185
180
  },
186
181
  {
187
182
  accessorKey: "totalLabel",
188
183
  enableSorting: !0,
189
- header: ({ column: e }) => /* @__PURE__ */ b("div", {
184
+ header: ({ column: e }) => /* @__PURE__ */ y("div", {
190
185
  className: "ttw:flex ttw:justify-end",
191
- children: /* @__PURE__ */ b(j, {
186
+ children: /* @__PURE__ */ y(A, {
192
187
  column: e,
193
- label: X.columnTotal,
194
- ariaLabel: X.sortByTotal
188
+ label: Y.columnTotal,
189
+ ariaLabel: Y.sortByTotal
195
190
  })
196
191
  }),
197
- cell: ({ row: e }) => /* @__PURE__ */ b("div", {
192
+ cell: ({ row: e }) => /* @__PURE__ */ y("div", {
198
193
  className: "ttw:text-right",
199
194
  children: e.original.totalLabel
200
195
  })
201
196
  },
202
197
  {
203
198
  accessorKey: "amountDueLabel",
204
- header: () => /* @__PURE__ */ b("div", {
199
+ header: () => /* @__PURE__ */ y("div", {
205
200
  className: "ttw:text-right",
206
- children: X.columnAmountDue
201
+ children: Y.columnAmountDue
207
202
  }),
208
- cell: ({ row: e }) => /* @__PURE__ */ b("div", {
203
+ cell: ({ row: e }) => /* @__PURE__ */ y("div", {
209
204
  className: "ttw:text-right",
210
205
  children: e.original.amountDueLabel
211
206
  })
212
207
  },
213
208
  {
214
209
  id: "actions",
215
- header: () => /* @__PURE__ */ b("span", {
210
+ header: () => /* @__PURE__ */ y("span", {
216
211
  className: "ttw:sr-only",
217
- children: X.columnActions
212
+ children: Y.columnActions
218
213
  }),
219
- cell: ({ row: t }) => /* @__PURE__ */ b("div", {
214
+ cell: ({ row: t }) => /* @__PURE__ */ y("div", {
220
215
  className: "ttw:flex ttw:justify-end",
221
- children: /* @__PURE__ */ x(n, { children: [/* @__PURE__ */ b(a, {
216
+ children: /* @__PURE__ */ b(n, { children: [/* @__PURE__ */ y(a, {
222
217
  asChild: !0,
223
- children: /* @__PURE__ */ b(e, {
218
+ children: /* @__PURE__ */ y(e, {
224
219
  variant: "ghost",
225
220
  size: "icon-sm",
226
- "aria-label": X.columnActions,
221
+ "aria-label": Y.columnActions,
227
222
  onClick: (e) => e.stopPropagation(),
228
- children: /* @__PURE__ */ b(T, { className: "ttw:size-4" })
223
+ children: /* @__PURE__ */ y(w, { className: "ttw:size-4" })
229
224
  })
230
- }), /* @__PURE__ */ x(r, {
225
+ }), /* @__PURE__ */ b(r, {
231
226
  align: "end",
232
227
  children: [
233
- /* @__PURE__ */ b(N, {
228
+ /* @__PURE__ */ y(M, {
234
229
  enabled: t.original.actions.edit,
235
- label: X.actionEdit,
230
+ label: Y.actionEdit,
236
231
  action: "edit",
237
232
  row: t.original,
238
- onActionClick: q
233
+ onActionClick: K
239
234
  }),
240
- /* @__PURE__ */ b(N, {
235
+ /* @__PURE__ */ y(M, {
241
236
  enabled: t.original.actions.issue,
242
- label: X.actionIssue,
237
+ label: Y.actionIssue,
243
238
  action: "issue",
244
239
  row: t.original,
245
- onActionClick: q
240
+ onActionClick: K
246
241
  }),
247
- /* @__PURE__ */ b(N, {
242
+ /* @__PURE__ */ y(M, {
248
243
  enabled: t.original.actions.send,
249
- label: X.actionSend,
244
+ label: Y.actionSend,
250
245
  action: "send",
251
246
  row: t.original,
252
- onActionClick: q
247
+ onActionClick: K
253
248
  }),
254
- /* @__PURE__ */ b(N, {
249
+ /* @__PURE__ */ y(M, {
255
250
  enabled: t.original.actions.recordPayment,
256
- label: X.actionRecordPayment,
251
+ label: Y.actionRecordPayment,
257
252
  action: "recordPayment",
258
253
  row: t.original,
259
- onActionClick: q
254
+ onActionClick: K
260
255
  }),
261
- /* @__PURE__ */ b(N, {
256
+ /* @__PURE__ */ y(M, {
262
257
  enabled: t.original.actions.markPaid,
263
- label: X.actionMarkPaid,
258
+ label: Y.actionMarkPaid,
264
259
  action: "markPaid",
265
260
  row: t.original,
266
- onActionClick: q
261
+ onActionClick: K
267
262
  }),
268
- /* @__PURE__ */ b(N, {
263
+ /* @__PURE__ */ y(M, {
269
264
  enabled: t.original.actions.markUncollectible,
270
- label: X.actionMarkUncollectible,
265
+ label: Y.actionMarkUncollectible,
271
266
  action: "markUncollectible",
272
267
  row: t.original,
273
- onActionClick: q
268
+ onActionClick: K
274
269
  }),
275
- /* @__PURE__ */ b(N, {
270
+ /* @__PURE__ */ y(M, {
276
271
  enabled: t.original.actions.accept,
277
- label: X.actionAccept,
272
+ label: Y.actionAccept,
278
273
  action: "accept",
279
274
  row: t.original,
280
- onActionClick: q
275
+ onActionClick: K
281
276
  }),
282
- /* @__PURE__ */ b(N, {
277
+ /* @__PURE__ */ y(M, {
283
278
  enabled: t.original.actions.decline,
284
- label: X.actionDecline,
279
+ label: Y.actionDecline,
285
280
  action: "decline",
286
281
  row: t.original,
287
- onActionClick: q
282
+ onActionClick: K
288
283
  }),
289
- /* @__PURE__ */ b(N, {
284
+ /* @__PURE__ */ y(M, {
290
285
  enabled: t.original.actions.cancel,
291
- label: X.actionCancel,
286
+ label: Y.actionCancel,
292
287
  action: "cancel",
293
288
  row: t.original,
294
- onActionClick: q
289
+ onActionClick: K
295
290
  }),
296
- /* @__PURE__ */ b(N, {
291
+ /* @__PURE__ */ y(M, {
297
292
  enabled: t.original.actions.clone,
298
- label: X.actionClone,
293
+ label: Y.actionClone,
299
294
  action: "clone",
300
295
  row: t.original,
301
- onActionClick: q
296
+ onActionClick: K
302
297
  }),
303
- /* @__PURE__ */ b(N, {
298
+ /* @__PURE__ */ y(M, {
304
299
  enabled: t.original.actions.delete,
305
- label: X.actionDelete,
300
+ label: Y.actionDelete,
306
301
  action: "delete",
307
302
  row: t.original,
308
- onActionClick: q,
303
+ onActionClick: K,
309
304
  variant: "destructive"
310
305
  })
311
306
  ]
@@ -317,32 +312,32 @@ function F({ rows: i, activeTab: o, enabledTabs: s, onTabChange: c, isLoading: l
317
312
  data: i,
318
313
  isLoading: l,
319
314
  sorting: d,
320
- onSortingChange: S,
321
- pageSize: C,
322
- onPageSizeChange: w,
323
- pageSizeOptions: D,
324
- pageInfo: A,
325
- hasNextPage: P,
326
- hasPrevPage: F,
327
- onNextPage: I,
328
- onPrevPage: L,
329
- onRowClick: K,
330
- filterComponent: /* @__PURE__ */ b(M, {
331
- labels: X,
332
- searchValue: R,
333
- onSearchChange: z,
334
- statusFilter: B,
335
- statusOptions: V,
336
- onStatusFilterChange: H
315
+ onSortingChange: x,
316
+ pageSize: S,
317
+ onPageSizeChange: C,
318
+ pageSizeOptions: E,
319
+ pageInfo: k,
320
+ hasNextPage: N,
321
+ hasPrevPage: P,
322
+ onNextPage: F,
323
+ onPrevPage: I,
324
+ onRowClick: G,
325
+ filterComponent: /* @__PURE__ */ y(j, {
326
+ labels: Y,
327
+ searchValue: L,
328
+ onSearchChange: R,
329
+ statusFilter: z,
330
+ statusOptions: B,
331
+ onStatusFilterChange: V
337
332
  }),
338
- children: /* @__PURE__ */ b(g, {
339
- title: U ? X.filterEmptyTitle : X.emptyTitle,
340
- description: U ? X.filterEmptyDescription : X.emptyDescription,
341
- actionLabel: U ? void 0 : X.emptyAction,
342
- onAction: U ? void 0 : W
333
+ children: /* @__PURE__ */ y(h, {
334
+ title: H ? Y.filterEmptyTitle : Y.emptyTitle,
335
+ description: H ? Y.filterEmptyDescription : Y.emptyDescription,
336
+ actionLabel: H ? void 0 : Y.emptyAction,
337
+ onAction: H ? void 0 : U
343
338
  })
344
339
  })]
345
340
  });
346
341
  }
347
342
  //#endregion
348
- export { F as ReceivablesScreen, F as default };
343
+ export { P as ReceivablesScreen, P as default };
@@ -16,7 +16,6 @@ var e = {
16
16
  deleted: "Deleted",
17
17
  unknown: "Unknown"
18
18
  }, t = {
19
- title: "Receivables",
20
19
  createButton: "Create",
21
20
  templateSettingsButton: "Template settings",
22
21
  searchPlaceholder: "Search by number or customer",
@@ -3,7 +3,6 @@ var e = {
3
3
  product: "Product",
4
4
  service: "Service"
5
5
  }, t = {
6
- title: "Products & services",
7
6
  createButton: "Add product or service",
8
7
  manageUnitsButton: "Manage units of measure",
9
8
  columnName: "Name",