@tesouro/embedded-components-react 0.5.227 → 0.5.230
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.
- package/README.md +22 -21
- package/dist/index.d.ts +87 -34
- package/dist/index.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +87 -34
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +29 -59
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +32 -33
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +120 -52
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +44 -100
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +93 -442
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +356 -201
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +225 -157
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +152 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +18 -221
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +220 -31
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +125 -124
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +58 -150
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +232 -46
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +303 -122
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +43 -58
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +125 -98
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +140 -106
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +46 -232
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +119 -29
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +81 -613
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +116 -39
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +27 -33
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +634 -72
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +39 -119
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +36 -317
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js +82 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index34.js +139 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index35.js +340 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +55 -468
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +443 -97
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +205 -84
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +161 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +25 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +95 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +3 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +42 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +73 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +17 -261
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +28 -68
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +288 -479
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +1 -106
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +48 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +72 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +496 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +121 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +106 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +4 -236
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +90 -239
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +24 -89
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +231 -54
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +3 -353
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +249 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +100 -207
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +59 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +353 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +35 -29
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +2 -216
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +9 -159
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js +27 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +216 -23
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +189 -211
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +43 -59
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/index.js +12 -12
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +0 -100
|
@@ -1,216 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
4
|
-
import { PlusIcon as S, TriangleAlertIcon as C } from "lucide-react";
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js
|
|
6
|
-
var w = "__add_new__";
|
|
7
|
-
function T({ id: e, label: t, optionalSuffix: n, placeholder: r, value: i, error: u, disabled: d, onChange: f }) {
|
|
8
|
-
return /* @__PURE__ */ b(a, { children: /* @__PURE__ */ x(o, { children: [
|
|
9
|
-
/* @__PURE__ */ x(c, {
|
|
10
|
-
htmlFor: e,
|
|
11
|
-
className: "ttw:gap-1",
|
|
12
|
-
children: [t, n && /* @__PURE__ */ b(_, {
|
|
13
|
-
variant: "body2",
|
|
14
|
-
component: "span",
|
|
15
|
-
color: "muted",
|
|
16
|
-
className: "ttw:leading-snug",
|
|
17
|
-
children: n
|
|
18
|
-
})]
|
|
19
|
-
}),
|
|
20
|
-
/* @__PURE__ */ b(l, {
|
|
21
|
-
id: e,
|
|
22
|
-
placeholder: r,
|
|
23
|
-
value: i,
|
|
24
|
-
disabled: d,
|
|
25
|
-
"aria-invalid": !!u,
|
|
26
|
-
onChange: (e) => f(e.target.value),
|
|
27
|
-
onKeyDown: (e) => {
|
|
28
|
-
e.key === "Enter" && e.preventDefault();
|
|
29
|
-
}
|
|
30
|
-
}),
|
|
31
|
-
/* @__PURE__ */ b(s, { errors: u ? [{ message: u }] : [] })
|
|
32
|
-
] }) });
|
|
33
|
-
}
|
|
34
|
-
function E({ idPrefix: e, values: t, errors: n, canCancel: r, isSaving: a, labels: o, onChange: s, onSave: c, onCancel: l }) {
|
|
35
|
-
return /* @__PURE__ */ x("div", {
|
|
36
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:rounded-xl ttw:border ttw:border-border ttw:p-3",
|
|
37
|
-
children: [
|
|
38
|
-
/* @__PURE__ */ b(_, {
|
|
39
|
-
variant: "body2",
|
|
40
|
-
children: o.bankAccountFormHeading
|
|
41
|
-
}),
|
|
42
|
-
/* @__PURE__ */ x("div", {
|
|
43
|
-
className: "ttw:flex ttw:gap-4",
|
|
44
|
-
children: [/* @__PURE__ */ b(T, {
|
|
45
|
-
id: `${e}-routing-number`,
|
|
46
|
-
label: o.bankAccountRoutingNumberLabel,
|
|
47
|
-
placeholder: o.bankAccountRoutingNumberPlaceholder,
|
|
48
|
-
value: t.routingNumber,
|
|
49
|
-
error: n.routingNumber,
|
|
50
|
-
disabled: a,
|
|
51
|
-
onChange: (e) => s({ routingNumber: e })
|
|
52
|
-
}), /* @__PURE__ */ b(T, {
|
|
53
|
-
id: `${e}-account-number`,
|
|
54
|
-
label: o.bankAccountAccountNumberLabel,
|
|
55
|
-
placeholder: o.bankAccountAccountNumberPlaceholder,
|
|
56
|
-
value: t.accountNumber,
|
|
57
|
-
error: n.accountNumber,
|
|
58
|
-
disabled: a,
|
|
59
|
-
onChange: (e) => s({ accountNumber: e })
|
|
60
|
-
})]
|
|
61
|
-
}),
|
|
62
|
-
/* @__PURE__ */ x("div", {
|
|
63
|
-
className: "ttw:flex ttw:gap-4",
|
|
64
|
-
children: [/* @__PURE__ */ b(T, {
|
|
65
|
-
id: `${e}-account-holder-name`,
|
|
66
|
-
label: o.bankAccountHolderNameLabel,
|
|
67
|
-
placeholder: o.bankAccountHolderNamePlaceholder,
|
|
68
|
-
value: t.accountHolderName,
|
|
69
|
-
error: n.accountHolderName,
|
|
70
|
-
disabled: a,
|
|
71
|
-
onChange: (e) => s({ accountHolderName: e })
|
|
72
|
-
}), /* @__PURE__ */ b(T, {
|
|
73
|
-
id: `${e}-account-nickname`,
|
|
74
|
-
label: o.bankAccountNicknameLabel,
|
|
75
|
-
optionalSuffix: o.optionalSuffix,
|
|
76
|
-
placeholder: o.bankAccountNicknamePlaceholder,
|
|
77
|
-
value: t.displayName,
|
|
78
|
-
error: n.displayName,
|
|
79
|
-
disabled: a,
|
|
80
|
-
onChange: (e) => s({ displayName: e })
|
|
81
|
-
})]
|
|
82
|
-
}),
|
|
83
|
-
/* @__PURE__ */ x("div", {
|
|
84
|
-
className: "ttw:flex ttw:gap-4",
|
|
85
|
-
children: [r && /* @__PURE__ */ b(i, {
|
|
86
|
-
type: "button",
|
|
87
|
-
variant: "outline",
|
|
88
|
-
className: "ttw:border-border",
|
|
89
|
-
disabled: a,
|
|
90
|
-
onClick: l,
|
|
91
|
-
children: o.bankAccountCancelButton
|
|
92
|
-
}), /* @__PURE__ */ b(i, {
|
|
93
|
-
type: "button",
|
|
94
|
-
disabled: a,
|
|
95
|
-
onClick: c,
|
|
96
|
-
children: o.bankAccountSaveButton
|
|
97
|
-
})]
|
|
98
|
-
})
|
|
99
|
-
]
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
function D({ idPrefix: i, view: a, error: o, disabled: c, onAccountSelect: l, onAddAccountClick: T, onFormChange: D, onFormSave: O, onFormCancel: k, labels: A }) {
|
|
103
|
-
let j = {
|
|
104
|
-
...v,
|
|
105
|
-
...A
|
|
106
|
-
}, M = `${i}-bank-account`;
|
|
107
|
-
return /* @__PURE__ */ x("div", {
|
|
108
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-xl ttw:border ttw:border-border ttw:p-6",
|
|
109
|
-
children: [
|
|
110
|
-
/* @__PURE__ */ x("div", {
|
|
111
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
|
|
112
|
-
children: [/* @__PURE__ */ b(_, {
|
|
113
|
-
variant: "h4",
|
|
114
|
-
children: j.bankAccountHeading
|
|
115
|
-
}), /* @__PURE__ */ b(_, {
|
|
116
|
-
variant: "body2",
|
|
117
|
-
color: "muted",
|
|
118
|
-
className: "ttw:font-medium",
|
|
119
|
-
children: j.bankAccountDescription
|
|
120
|
-
})]
|
|
121
|
-
}),
|
|
122
|
-
(a.kind === "loading" || a.kind === "picker") && /* @__PURE__ */ x("div", {
|
|
123
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:rounded-xl ttw:border ttw:border-border ttw:p-3",
|
|
124
|
-
children: [
|
|
125
|
-
/* @__PURE__ */ x("div", {
|
|
126
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
127
|
-
children: [/* @__PURE__ */ b(_, {
|
|
128
|
-
variant: "body2",
|
|
129
|
-
children: j.bankAccountLabel
|
|
130
|
-
}), /* @__PURE__ */ b(_, {
|
|
131
|
-
variant: "caption",
|
|
132
|
-
color: "muted",
|
|
133
|
-
children: j.bankAccountHint
|
|
134
|
-
})]
|
|
135
|
-
}),
|
|
136
|
-
a.kind === "loading" ? /* @__PURE__ */ b(g, { className: "ttw:h-9 ttw:w-full ttw:rounded-md" }) : /* @__PURE__ */ x(u, {
|
|
137
|
-
disabled: c,
|
|
138
|
-
value: a.selected?.value ?? "",
|
|
139
|
-
onValueChange: (e) => {
|
|
140
|
-
if (e === w) {
|
|
141
|
-
T();
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
l(e);
|
|
145
|
-
},
|
|
146
|
-
children: [/* @__PURE__ */ b(m, {
|
|
147
|
-
id: M,
|
|
148
|
-
className: "ttw:w-full",
|
|
149
|
-
"aria-label": j.bankAccountSelectorLabel,
|
|
150
|
-
"aria-invalid": !!o,
|
|
151
|
-
children: /* @__PURE__ */ b(h, {
|
|
152
|
-
placeholder: j.bankAccountPlaceholder,
|
|
153
|
-
children: a.selected && /* @__PURE__ */ x("span", {
|
|
154
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2",
|
|
155
|
-
children: [/* @__PURE__ */ b("span", {
|
|
156
|
-
className: "ttw:truncate",
|
|
157
|
-
children: a.selected.label
|
|
158
|
-
}), a.selected.sourceLabel && /* @__PURE__ */ b(r, {
|
|
159
|
-
variant: "secondary",
|
|
160
|
-
className: "ttw:shrink-0",
|
|
161
|
-
children: a.selected.sourceLabel
|
|
162
|
-
})]
|
|
163
|
-
})
|
|
164
|
-
})
|
|
165
|
-
}), /* @__PURE__ */ x(d, { children: [a.options.map((e) => /* @__PURE__ */ b(f, {
|
|
166
|
-
value: e.value,
|
|
167
|
-
children: /* @__PURE__ */ x("span", {
|
|
168
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2",
|
|
169
|
-
children: [/* @__PURE__ */ b("span", {
|
|
170
|
-
className: "ttw:truncate",
|
|
171
|
-
children: e.label
|
|
172
|
-
}), e.sourceLabel && /* @__PURE__ */ b("span", {
|
|
173
|
-
className: "ttw:shrink-0 ttw:text-muted-foreground",
|
|
174
|
-
children: e.sourceLabel
|
|
175
|
-
})]
|
|
176
|
-
})
|
|
177
|
-
}, e.value)), a.canAddAccount && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(p, {}), /* @__PURE__ */ x(f, {
|
|
178
|
-
value: w,
|
|
179
|
-
className: "ttw:font-semibold ttw:text-primary ttw:hover:text-primary ttw:focus:text-primary",
|
|
180
|
-
children: [/* @__PURE__ */ b(S, { className: "ttw:text-primary" }), j.bankAccountAddOption]
|
|
181
|
-
})] })] })]
|
|
182
|
-
}),
|
|
183
|
-
/* @__PURE__ */ b(s, { errors: o ? [{ message: o }] : [] })
|
|
184
|
-
]
|
|
185
|
-
}),
|
|
186
|
-
a.kind === "form" && /* @__PURE__ */ x("div", {
|
|
187
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
188
|
-
"aria-invalid": o ? !0 : void 0,
|
|
189
|
-
children: [/* @__PURE__ */ b(E, {
|
|
190
|
-
idPrefix: i,
|
|
191
|
-
values: a.values,
|
|
192
|
-
errors: a.errors,
|
|
193
|
-
canCancel: a.canCancel,
|
|
194
|
-
isSaving: a.isSaving,
|
|
195
|
-
labels: j,
|
|
196
|
-
onChange: D,
|
|
197
|
-
onSave: O,
|
|
198
|
-
onCancel: k
|
|
199
|
-
}), /* @__PURE__ */ b(s, { errors: o ? [{ message: o }] : [] })]
|
|
200
|
-
}),
|
|
201
|
-
a.kind === "restricted" && /* @__PURE__ */ x(e, {
|
|
202
|
-
className: "ttw:border-transparent ttw:bg-yellow-50 ttw:text-yellow-900 ttw:dark:bg-yellow-950 ttw:dark:text-yellow-100",
|
|
203
|
-
children: [
|
|
204
|
-
/* @__PURE__ */ b(C, {}),
|
|
205
|
-
/* @__PURE__ */ b(n, { children: j.bankAccountRestrictedTitle }),
|
|
206
|
-
/* @__PURE__ */ b(t, {
|
|
207
|
-
className: "ttw:text-current",
|
|
208
|
-
children: j.bankAccountRestrictedDescription
|
|
209
|
-
})
|
|
210
|
-
]
|
|
211
|
-
})
|
|
212
|
-
]
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
//#endregion
|
|
216
|
-
export { D as ReceivableBankAccountSection };
|
|
1
|
+
import "./index2.js";
|
|
2
|
+
import "./index5.js";
|
|
@@ -1,161 +1,11 @@
|
|
|
1
|
-
import { Button as e, Checkbox as t, Separator as n, Typography as r, cn as i } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { RECEIVABLE_FORM_SHEET_LABELS_EN as a } from "./index4.js";
|
|
3
|
-
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
4
|
-
import { FileText as l, ImageIcon as u, Loader2 as d, Trash2 as f, X as p } from "lucide-react";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/* @__PURE__ */ c("div", {
|
|
15
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
|
|
16
|
-
children: [/* @__PURE__ */ s(r, {
|
|
17
|
-
variant: "h4",
|
|
18
|
-
children: E.attachmentsHeading
|
|
19
|
-
}), /* @__PURE__ */ s(r, {
|
|
20
|
-
variant: "body2",
|
|
21
|
-
color: "muted",
|
|
22
|
-
className: "ttw:font-medium",
|
|
23
|
-
children: E.attachmentsDescription
|
|
24
|
-
})]
|
|
25
|
-
}),
|
|
26
|
-
m.showRows && /* @__PURE__ */ c("div", {
|
|
27
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
28
|
-
children: [m.emailCaption && /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(r, {
|
|
29
|
-
variant: "caption",
|
|
30
|
-
color: "muted",
|
|
31
|
-
children: m.emailCaption
|
|
32
|
-
}), /* @__PURE__ */ s(n, {})] }), /* @__PURE__ */ c("ul", {
|
|
33
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
34
|
-
children: [m.attachedRows.map((n) => /* @__PURE__ */ c("li", {
|
|
35
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
36
|
-
children: [/* @__PURE__ */ s(t, {
|
|
37
|
-
checked: n.includeInEmail,
|
|
38
|
-
disabled: g,
|
|
39
|
-
"aria-label": n.includeInEmailLabel,
|
|
40
|
-
onCheckedChange: (e) => C(n.id, e === !0)
|
|
41
|
-
}), /* @__PURE__ */ c("div", {
|
|
42
|
-
className: "ttw:flex ttw:w-full ttw:items-center ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:px-2 ttw:py-1",
|
|
43
|
-
children: [/* @__PURE__ */ c("div", {
|
|
44
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:gap-1",
|
|
45
|
-
children: [/* @__PURE__ */ s(r, {
|
|
46
|
-
variant: "body2",
|
|
47
|
-
className: "ttw:truncate",
|
|
48
|
-
children: n.name
|
|
49
|
-
}), /* @__PURE__ */ c(r, {
|
|
50
|
-
variant: "body2",
|
|
51
|
-
color: "muted",
|
|
52
|
-
className: "ttw:shrink-0",
|
|
53
|
-
children: [
|
|
54
|
-
"(",
|
|
55
|
-
n.sizeLabel,
|
|
56
|
-
")"
|
|
57
|
-
]
|
|
58
|
-
})]
|
|
59
|
-
}), /* @__PURE__ */ s(e, {
|
|
60
|
-
type: "button",
|
|
61
|
-
variant: "ghost",
|
|
62
|
-
size: "icon",
|
|
63
|
-
className: "ttw:size-4",
|
|
64
|
-
disabled: g,
|
|
65
|
-
"aria-label": n.removeLabel,
|
|
66
|
-
onClick: () => w(n.id),
|
|
67
|
-
children: /* @__PURE__ */ s(f, { className: "ttw:size-4" })
|
|
68
|
-
})]
|
|
69
|
-
})]
|
|
70
|
-
}, n.id)), m.pendingRows.map((t) => /* @__PURE__ */ c("li", {
|
|
71
|
-
className: "ttw:flex ttw:w-full ttw:items-center ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:px-2 ttw:py-1",
|
|
72
|
-
children: [
|
|
73
|
-
t.state === "uploading" ? /* @__PURE__ */ s(d, { className: "ttw:size-5 ttw:shrink-0 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ s(l, { className: "ttw:size-5 ttw:shrink-0 ttw:text-destructive" }),
|
|
74
|
-
/* @__PURE__ */ c("div", {
|
|
75
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col",
|
|
76
|
-
children: [/* @__PURE__ */ s(r, {
|
|
77
|
-
variant: "body2",
|
|
78
|
-
className: "ttw:truncate",
|
|
79
|
-
children: t.name
|
|
80
|
-
}), t.state === "uploading" ? /* @__PURE__ */ s(r, {
|
|
81
|
-
variant: "caption",
|
|
82
|
-
color: "muted",
|
|
83
|
-
children: t.message
|
|
84
|
-
}) : /* @__PURE__ */ s(r, {
|
|
85
|
-
variant: "caption",
|
|
86
|
-
role: "alert",
|
|
87
|
-
className: "ttw:text-destructive",
|
|
88
|
-
children: t.message
|
|
89
|
-
})]
|
|
90
|
-
}),
|
|
91
|
-
/* @__PURE__ */ s(e, {
|
|
92
|
-
type: "button",
|
|
93
|
-
variant: "ghost",
|
|
94
|
-
size: "icon",
|
|
95
|
-
disabled: g,
|
|
96
|
-
"aria-label": t.removeLabel,
|
|
97
|
-
onClick: () => w(t.id),
|
|
98
|
-
children: /* @__PURE__ */ s(p, { className: "ttw:size-4" })
|
|
99
|
-
})
|
|
100
|
-
]
|
|
101
|
-
}, t.id))]
|
|
102
|
-
})]
|
|
103
|
-
}),
|
|
104
|
-
/* @__PURE__ */ c("button", {
|
|
105
|
-
type: "button",
|
|
106
|
-
disabled: g,
|
|
107
|
-
onClick: v,
|
|
108
|
-
onDragOver: (e) => {
|
|
109
|
-
e.preventDefault(), y();
|
|
110
|
-
},
|
|
111
|
-
onDragLeave: (e) => {
|
|
112
|
-
e.preventDefault(), b();
|
|
113
|
-
},
|
|
114
|
-
onDrop: (e) => {
|
|
115
|
-
e.preventDefault(), x(e.dataTransfer.files);
|
|
116
|
-
},
|
|
117
|
-
className: i("ttw:flex ttw:w-full ttw:flex-col ttw:items-center ttw:gap-2 ttw:rounded-xl ttw:border ttw:border-dashed ttw:p-6 ttw:text-center ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50", h ? "ttw:border-primary ttw:bg-primary/5" : "ttw:border-border ttw:bg-muted"),
|
|
118
|
-
children: [
|
|
119
|
-
/* @__PURE__ */ s("span", {
|
|
120
|
-
className: "ttw:flex ttw:size-10 ttw:items-center ttw:justify-center ttw:rounded-full ttw:border ttw:border-border",
|
|
121
|
-
children: /* @__PURE__ */ s(u, { className: "ttw:size-5 ttw:text-muted-foreground" })
|
|
122
|
-
}),
|
|
123
|
-
/* @__PURE__ */ c(r, {
|
|
124
|
-
variant: "body2",
|
|
125
|
-
children: [
|
|
126
|
-
E.attachmentsDropPrompt,
|
|
127
|
-
" ",
|
|
128
|
-
/* @__PURE__ */ s("span", {
|
|
129
|
-
className: "ttw:text-primary ttw:underline",
|
|
130
|
-
children: E.attachmentsBrowseLink
|
|
131
|
-
})
|
|
132
|
-
]
|
|
133
|
-
}),
|
|
134
|
-
/* @__PURE__ */ s(r, {
|
|
135
|
-
variant: "caption",
|
|
136
|
-
color: "muted",
|
|
137
|
-
children: E.attachmentsFormatsHint
|
|
138
|
-
})
|
|
139
|
-
]
|
|
140
|
-
}),
|
|
141
|
-
m.countLimitMessage && /* @__PURE__ */ s(r, {
|
|
142
|
-
variant: "body2",
|
|
143
|
-
role: "alert",
|
|
144
|
-
className: "ttw:text-destructive",
|
|
145
|
-
children: m.countLimitMessage
|
|
146
|
-
}),
|
|
147
|
-
/* @__PURE__ */ s("input", {
|
|
148
|
-
ref: _,
|
|
149
|
-
type: "file",
|
|
150
|
-
multiple: !0,
|
|
151
|
-
tabIndex: -1,
|
|
152
|
-
"aria-hidden": !0,
|
|
153
|
-
className: "ttw:sr-only",
|
|
154
|
-
accept: m.accept,
|
|
155
|
-
onChange: (e) => S(e.target.files)
|
|
156
|
-
})
|
|
157
|
-
]
|
|
158
|
-
});
|
|
159
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
billingHeading: "Billing details",
|
|
4
|
+
billingDescription: "What are the billing terms?",
|
|
5
|
+
paymentTermsLabel: "Payment terms",
|
|
6
|
+
paymentTermsPlaceholder: "Select payment terms",
|
|
7
|
+
paymentTermsReceiptDue: "Due on receipt",
|
|
8
|
+
paymentTermsCustomDate: "Custom date"
|
|
9
|
+
};
|
|
160
10
|
//#endregion
|
|
161
|
-
export {
|
|
11
|
+
export { e as RECEIVABLE_BILLING_SECTION_LABELS_EN };
|
|
@@ -1,16 +1,29 @@
|
|
|
1
|
-
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
1
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
var e = {
|
|
3
|
+
recurrenceRepeatLabel: "Repeat this invoice",
|
|
4
|
+
recurrenceMonthDayLead: "on the",
|
|
5
|
+
recurrenceMonthDayTrail: "day of every month",
|
|
6
|
+
recurrenceWeekdayLead: "on",
|
|
7
|
+
recurrenceStartOnLabel: "Start on",
|
|
8
|
+
recurrenceEndChoiceLead: "and end",
|
|
9
|
+
recurrenceEndCountLead: "and end after",
|
|
10
|
+
recurrenceDatePlaceholder: "Mon DD, YYYY",
|
|
11
|
+
recurrenceCreationModeQuestion: "When an invoice in the series is created, what should happen?",
|
|
12
|
+
recurrenceCreationModeHint: "(You can change this at any time)",
|
|
13
|
+
recurrenceSetUpEmail: "Set up the email"
|
|
14
|
+
}, t = {
|
|
15
|
+
recurrenceEmailTitle: "Email sent with each invoice",
|
|
16
|
+
recurrenceEmailDescription: "The same recipients, subject, and message are used for every invoice in the series.",
|
|
17
|
+
recurrenceEmailTo: "To",
|
|
18
|
+
recurrenceEmailCc: "Cc",
|
|
19
|
+
recurrenceEmailBcc: "Bcc",
|
|
20
|
+
recurrenceEmailSubject: "Subject",
|
|
21
|
+
recurrenceEmailMessage: "Message",
|
|
22
|
+
recurrenceEmailRecipientPlaceholder: "name@example.com",
|
|
23
|
+
recurrenceEmailMessagePlaceholder: "e.g., Thank you for your business",
|
|
24
|
+
recurrenceEmailFootnote: "Each invoice is finalized and emailed automatically on its schedule.",
|
|
25
|
+
recurrenceEmailCancel: "Cancel",
|
|
26
|
+
recurrenceEmailSave: "Save"
|
|
27
|
+
};
|
|
15
28
|
//#endregion
|
|
16
|
-
export {
|
|
29
|
+
export { t as RECEIVABLE_RECURRENCE_EMAIL_DIALOG_LABELS_EN, e as RECEIVABLE_RECURRENCE_SECTION_LABELS_EN };
|
|
@@ -1,25 +1,218 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
-
import { CalendarIcon as i } from "lucide-react";
|
|
1
|
+
import { RECEIVABLE_BILLING_SECTION_LABELS_EN as e } from "./index7.js";
|
|
2
|
+
import { RECEIVABLE_RECURRENCE_EMAIL_DIALOG_LABELS_EN as t, RECEIVABLE_RECURRENCE_SECTION_LABELS_EN as n } from "./index8.js";
|
|
5
3
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
4
|
+
var r = {
|
|
5
|
+
draft: "Draft",
|
|
6
|
+
issuing: "Issuing",
|
|
7
|
+
issued: "Issued",
|
|
8
|
+
failed: "Failed",
|
|
9
|
+
accepted: "Accepted",
|
|
10
|
+
expired: "Expired",
|
|
11
|
+
declined: "Declined",
|
|
12
|
+
recurring: "Recurring",
|
|
13
|
+
partially_paid: "Partially paid",
|
|
14
|
+
paid: "Paid",
|
|
15
|
+
overdue: "Overdue",
|
|
16
|
+
uncollectible: "Written off",
|
|
17
|
+
canceled: "Cancelled",
|
|
18
|
+
deleted: "Deleted",
|
|
19
|
+
unknown: "Unknown"
|
|
20
|
+
}, i = { all: "All invoices" }, a = {
|
|
21
|
+
createButton: "Create",
|
|
22
|
+
templateSettingsButton: "Template settings",
|
|
23
|
+
searchPlaceholder: "Search by number or customer",
|
|
24
|
+
statusFilterAll: "All statuses",
|
|
25
|
+
statusCardsAll: i.all,
|
|
26
|
+
tabInvoices: "Invoices",
|
|
27
|
+
tabQuotes: "Quotes",
|
|
28
|
+
tabCreditNotes: "Credit notes",
|
|
29
|
+
columnDocument: "Document",
|
|
30
|
+
columnCustomer: "Customer",
|
|
31
|
+
columnStatus: "Status",
|
|
32
|
+
columnIssueDate: "Issued",
|
|
33
|
+
columnDueDate: "Due",
|
|
34
|
+
columnTotal: "Total",
|
|
35
|
+
columnAmountDue: "Amount due",
|
|
36
|
+
columnActions: "Actions",
|
|
37
|
+
openRow: (e) => `View document — ${e}`,
|
|
38
|
+
sortByDocument: "Sort by document",
|
|
39
|
+
sortByCustomer: "Sort by customer",
|
|
40
|
+
sortByStatus: "Sort by status",
|
|
41
|
+
sortByIssueDate: "Sort by issue date",
|
|
42
|
+
sortByDueDate: "Sort by due date",
|
|
43
|
+
sortByTotal: "Sort by total",
|
|
44
|
+
actionEdit: "Edit",
|
|
45
|
+
actionIssue: "Issue",
|
|
46
|
+
actionSend: "Send",
|
|
47
|
+
actionRecordPayment: "Record payment",
|
|
48
|
+
actionMarkPaid: "Mark as paid",
|
|
49
|
+
actionMarkUncollectible: "Mark uncollectible",
|
|
50
|
+
actionAccept: "Accept",
|
|
51
|
+
actionDecline: "Decline",
|
|
52
|
+
actionCancel: "Cancel",
|
|
53
|
+
actionClone: "Clone",
|
|
54
|
+
actionDelete: "Delete",
|
|
55
|
+
emptyTitle: "No receivables yet",
|
|
56
|
+
emptyDescription: "Create your first invoice or quote.",
|
|
57
|
+
emptyAction: "Create receivable",
|
|
58
|
+
filterEmptyTitle: "No receivables found",
|
|
59
|
+
filterEmptyDescription: "Try adjusting your search or filters.",
|
|
60
|
+
errorTitle: "Failed to load receivables",
|
|
61
|
+
errorDescription: "Something went wrong while fetching receivables. Please try again.",
|
|
62
|
+
errorRetry: "Try again",
|
|
63
|
+
statusBadge: r
|
|
64
|
+
}, o = {
|
|
65
|
+
...e,
|
|
66
|
+
...n,
|
|
67
|
+
...t,
|
|
68
|
+
createTitle: "Create receivable",
|
|
69
|
+
editTitle: "Edit receivable",
|
|
70
|
+
hiddenDescription: "Create an invoice or quote",
|
|
71
|
+
documentTypeLabel: "Document type",
|
|
72
|
+
typeInvoice: "Invoice",
|
|
73
|
+
typeQuote: "Quote",
|
|
74
|
+
customerLabel: "Customer",
|
|
75
|
+
customerHint: "Create a customer first if the list is empty.",
|
|
76
|
+
currencyLabel: "Currency",
|
|
77
|
+
issueDateLabel: "Issue date",
|
|
78
|
+
dueDateLabel: "Due date",
|
|
79
|
+
lineItemsHeading: "Products and services",
|
|
80
|
+
lineItemsDescription: "Add the products and services on this invoice. You'll have the option to save new items to your inventory.",
|
|
81
|
+
productLabel: "Item name",
|
|
82
|
+
quantityLabel: "Quantity",
|
|
83
|
+
unitLabel: "Units",
|
|
84
|
+
unitPlaceholder: "Select",
|
|
85
|
+
unitNone: "None",
|
|
86
|
+
manageUnitsOption: "Manage measure units",
|
|
87
|
+
priceLabel: "Price",
|
|
88
|
+
taxableLabel: "Taxable",
|
|
89
|
+
taxRateLabel: "Tax rate",
|
|
90
|
+
taxRatePlaceholder: "e.g. 6.25",
|
|
91
|
+
taxRateSuffix: "%",
|
|
92
|
+
discountLabel: "Discount",
|
|
93
|
+
discountPercentageOption: "%",
|
|
94
|
+
discountAmountOptionAriaLabel: "Flat discount",
|
|
95
|
+
discountPercentageOptionAriaLabel: "Percentage discount",
|
|
96
|
+
subtotalLabel: "Subtotal",
|
|
97
|
+
discountTotalLabel: "Discount",
|
|
98
|
+
nonTaxableSubtotalLabel: "Non-taxable subtotal",
|
|
99
|
+
taxableSubtotalLabel: "Taxable subtotal",
|
|
100
|
+
taxTotalLabel: "Tax",
|
|
101
|
+
totalLabel: "Total",
|
|
102
|
+
decreaseQuantityButton: "Decrease quantity",
|
|
103
|
+
increaseQuantityButton: "Increase quantity",
|
|
104
|
+
addLineItemButton: "Add item",
|
|
105
|
+
removeLineItemButton: "Remove line item",
|
|
106
|
+
cancelButton: "Cancel",
|
|
107
|
+
notesHeading: "Notes",
|
|
108
|
+
notesDescription: "Provide additional information for your customer.",
|
|
109
|
+
optionalSuffix: "(optional)",
|
|
110
|
+
openingNoteLabel: "Opening note to the customer",
|
|
111
|
+
openingNotePlaceholder: "e.g., As discussed on our call, please find the attached invoice.",
|
|
112
|
+
openingNoteDescription: "Appears above your line items. Use it to reference a discussion, agreement, or project.",
|
|
113
|
+
closingNoteLabel: "Closing note to the customer",
|
|
114
|
+
closingNotePlaceholder: "e.g., Thank you for your business!",
|
|
115
|
+
closingNoteDescription: "Appears below your line items. Commonly used for thank you messages or payment instructions.",
|
|
116
|
+
bankAccountHeading: "Payment instructions",
|
|
117
|
+
bankAccountDescription: "Tells the customer how they can pay you. We'll include the selected info on the invoice",
|
|
118
|
+
bankAccountLabel: "Bank account",
|
|
119
|
+
bankAccountHint: "Display your bank account number and routing number",
|
|
120
|
+
bankAccountSelectorLabel: "Bank account selector",
|
|
121
|
+
bankAccountPlaceholder: "Select bank account",
|
|
122
|
+
bankAccountAddOption: "Add a new account",
|
|
123
|
+
bankAccountFormHeading: "Add a bank account",
|
|
124
|
+
bankAccountRoutingNumberLabel: "Routing number",
|
|
125
|
+
bankAccountRoutingNumberPlaceholder: "e.g. 123456789",
|
|
126
|
+
bankAccountAccountNumberLabel: "Account number",
|
|
127
|
+
bankAccountAccountNumberPlaceholder: "e.g. 123456789",
|
|
128
|
+
bankAccountHolderNameLabel: "Account holder name",
|
|
129
|
+
bankAccountHolderNamePlaceholder: "e.g. James Smith",
|
|
130
|
+
bankAccountNicknameLabel: "Account nickname",
|
|
131
|
+
bankAccountNicknamePlaceholder: "e.g. Empire Bank Checking",
|
|
132
|
+
bankAccountCancelButton: "Cancel",
|
|
133
|
+
bankAccountSaveButton: "Save account",
|
|
134
|
+
bankAccountRestrictedTitle: "There are no bank accounts on file for this account",
|
|
135
|
+
bankAccountRestrictedDescription: "A bank account is required in order to issue invoices. Contact your company admin to set one up.",
|
|
136
|
+
attachmentsHeading: "Attachments",
|
|
137
|
+
attachmentsDescription: "Associate additional documents with this invoice for your own reference or to share with the customer. e.g. contracts, photos, terms and conditions, etc.",
|
|
138
|
+
attachmentsDropPrompt: "Drop your files here, or",
|
|
139
|
+
attachmentsBrowseLink: "browse to upload",
|
|
140
|
+
attachmentsFormatsHint: "PDF, DOC, JPG, PNG (max. 3MB)",
|
|
141
|
+
remindersToggleLabel: "Payment reminders",
|
|
142
|
+
remindersDescription: "Send reminders when an invoice is approaching its due date or past due.",
|
|
143
|
+
remindersLibraryNote: "New reminders will be saved to your organization's library and can be managed via Invoice settings",
|
|
144
|
+
reminderNumberOfDays: "Number of days",
|
|
145
|
+
reminderBefore: "BEFORE",
|
|
146
|
+
reminderAfter: "AFTER",
|
|
147
|
+
reminderDueDate: "due date",
|
|
148
|
+
reminderNone: "No reminder",
|
|
149
|
+
reminderBeforeDueInputLabel: "Days before due date",
|
|
150
|
+
reminderPlaceholder: "e.g., 3",
|
|
151
|
+
reminderAddTermButton: "Add",
|
|
152
|
+
reminderClearButton: "Clear",
|
|
153
|
+
reminderSaveButton: "Save"
|
|
154
|
+
}, s = {
|
|
155
|
+
hiddenDescription: "Invoice details",
|
|
156
|
+
loadingTitle: "Loading...",
|
|
157
|
+
errorTitle: "Invoice not found",
|
|
158
|
+
errorDescription: "We could not load this invoice. Please try again.",
|
|
159
|
+
moreActionsLabel: "More actions",
|
|
160
|
+
viewPdfButton: "View PDF",
|
|
161
|
+
closeButton: "Close",
|
|
162
|
+
invoiceDateCaption: "Invoice date",
|
|
163
|
+
paymentHistoryHeading: "Payment history",
|
|
164
|
+
paymentHistoryEmpty: "You've received no payments yet.",
|
|
165
|
+
paymentHistoryTotalLabel: "Total received",
|
|
166
|
+
customerDetailsHeading: "Customer details",
|
|
167
|
+
recurrenceHeading: "Recurrence history",
|
|
168
|
+
billingHeading: "Billing details",
|
|
169
|
+
lineItemsHeading: "Line items",
|
|
170
|
+
notesHeading: "Notes",
|
|
171
|
+
notesOpeningLabel: "Opening note to customer",
|
|
172
|
+
notesClosingLabel: "Closing note to customer",
|
|
173
|
+
attachmentsHeading: "Attachments",
|
|
174
|
+
attachmentsEmpty: "No attached files",
|
|
175
|
+
attachmentsFileColumn: "File",
|
|
176
|
+
attachmentsEmailedColumn: "Emailed",
|
|
177
|
+
lineItemMultiplier: "x",
|
|
178
|
+
lineItemEaLabel: "ea",
|
|
179
|
+
noLineItems: "No line items.",
|
|
180
|
+
editButton: "Edit",
|
|
181
|
+
issueButton: "Issue",
|
|
182
|
+
recordPaymentButton: "Record payment",
|
|
183
|
+
sendButton: "Resend",
|
|
184
|
+
acceptButton: "Accept",
|
|
185
|
+
declineButton: "Decline",
|
|
186
|
+
markPaidButton: "Mark as paid",
|
|
187
|
+
markUncollectibleButton: "Mark as uncollectible",
|
|
188
|
+
cancelButton: "Cancel invoice",
|
|
189
|
+
cloneButton: "Duplicate",
|
|
190
|
+
deleteButton: "Delete",
|
|
191
|
+
recurringBadge: "Recurring"
|
|
192
|
+
}, c = {
|
|
193
|
+
title: "Send receivable",
|
|
194
|
+
description: "Send this document to the customer by email.",
|
|
195
|
+
toLabel: "To",
|
|
196
|
+
ccLabel: "CC",
|
|
197
|
+
bccLabel: "BCC",
|
|
198
|
+
subjectLabel: "Subject",
|
|
199
|
+
bodyLabel: "Message",
|
|
200
|
+
cancelButton: "Cancel",
|
|
201
|
+
sendButton: "Send"
|
|
202
|
+
}, l = {
|
|
203
|
+
title: "Record payment",
|
|
204
|
+
description: "Record a full or partial invoice payment.",
|
|
205
|
+
modeLabel: "Payment type",
|
|
206
|
+
fullPayment: "Full payment",
|
|
207
|
+
partialPayment: "Partial payment",
|
|
208
|
+
amountPaidLabel: "Amount paid",
|
|
209
|
+
paidAtLabel: "Paid at",
|
|
210
|
+
commentLabel: "Comment",
|
|
211
|
+
cancelButton: "Cancel",
|
|
212
|
+
submitButton: "Record payment"
|
|
213
|
+
}, u = {
|
|
214
|
+
cancelButton: "Cancel",
|
|
215
|
+
confirmButton: "Confirm"
|
|
216
|
+
};
|
|
24
217
|
//#endregion
|
|
25
|
-
export { a as
|
|
218
|
+
export { a as RECEIVABLES_SCREEN_LABELS_EN, u as RECEIVABLE_ACTION_DIALOG_LABELS_EN, s as RECEIVABLE_DETAILS_PANEL_LABELS_EN, o as RECEIVABLE_FORM_SHEET_LABELS_EN, l as RECEIVABLE_PAYMENT_DIALOG_LABELS_EN, c as RECEIVABLE_SEND_DIALOG_LABELS_EN, r as RECEIVABLE_STATUS_BADGE_LABELS_EN, i as RECEIVABLE_STATUS_CARDS_LABELS_EN };
|