@tesouro/embedded-components-react 0.5.185 → 0.5.187
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/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index7.js +116 -94
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index12.js +76 -68
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +181 -179
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index3.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index7.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index8.js +66 -66
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/debit-card/useAllDebitCardsQuery.js +54 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index9.js +5 -5
- package/package.json +1 -1
|
@@ -118,11 +118,11 @@ function P({ id: e, label: t, value: n, options: r, placeholder: i, emptyMessage
|
|
|
118
118
|
]
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
|
-
function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i, reportingManagerOptions: a, accountAccessOptions: c, departmentsLoading: l = !1, locationsLoading: u = !1, reportingManagersLoading: d = !1, departmentsError: f = !1, locationsError: p = !1, reportingManagersError: m = !1, accountAccessLoading: h = !1, accountAccessError: g = !1, accountAccessMode: w = "hidden", errors: O, submitErrorMessage: k, isSubmitting: M = !1,
|
|
122
|
-
let
|
|
121
|
+
function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i, reportingManagerOptions: a, accountAccessOptions: c, departmentsLoading: l = !1, locationsLoading: u = !1, reportingManagersLoading: d = !1, departmentsError: f = !1, locationsError: p = !1, reportingManagersError: m = !1, accountAccessLoading: h = !1, accountAccessError: g = !1, accountAccessMode: w = "hidden", errors: O, submitErrorMessage: k, isSubmitting: M = !1, isSubmitBlocked: N = !1, onFormChange: F, onBackClick: I, onCancel: L, onSubmit: R, labels: z }) {
|
|
122
|
+
let B = {
|
|
123
123
|
...y,
|
|
124
|
-
...
|
|
125
|
-
},
|
|
124
|
+
...z
|
|
125
|
+
}, V = C(null), H = S(() => c.map((e) => ({
|
|
126
126
|
...e,
|
|
127
127
|
checked: w === "admin" || t.accountAccess.includes(e.value)
|
|
128
128
|
})), [
|
|
@@ -131,31 +131,31 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
131
131
|
t.accountAccess
|
|
132
132
|
]);
|
|
133
133
|
return x(() => {
|
|
134
|
-
|
|
134
|
+
V.current?.focus();
|
|
135
135
|
}, []), /* @__PURE__ */ E("section", {
|
|
136
|
-
"aria-label":
|
|
136
|
+
"aria-label": B.inviteTitle,
|
|
137
137
|
className: "ttw:rounded-md ttw:border ttw:border-border ttw:bg-card ttw:p-4",
|
|
138
138
|
children: [
|
|
139
139
|
/* @__PURE__ */ E(e, {
|
|
140
|
-
ref:
|
|
140
|
+
ref: V,
|
|
141
141
|
variant: "ghost",
|
|
142
142
|
size: "sm",
|
|
143
143
|
disabled: M,
|
|
144
|
-
onClick:
|
|
144
|
+
onClick: I,
|
|
145
145
|
children: [/* @__PURE__ */ T(D, {
|
|
146
146
|
"aria-hidden": !0,
|
|
147
147
|
className: "ttw:size-4"
|
|
148
|
-
}),
|
|
148
|
+
}), B.inviteBackToTeamButton]
|
|
149
149
|
}),
|
|
150
150
|
/* @__PURE__ */ T("h3", {
|
|
151
151
|
className: "ttw:mt-4 ttw:text-lg ttw:font-semibold ttw:text-foreground",
|
|
152
|
-
children:
|
|
152
|
+
children: B.inviteTitle
|
|
153
153
|
}),
|
|
154
154
|
/* @__PURE__ */ T("form", {
|
|
155
155
|
noValidate: !0,
|
|
156
156
|
className: "ttw:mt-4",
|
|
157
157
|
onSubmit: (e) => {
|
|
158
|
-
e.preventDefault(),
|
|
158
|
+
e.preventDefault(), R();
|
|
159
159
|
},
|
|
160
160
|
children: /* @__PURE__ */ E("fieldset", {
|
|
161
161
|
className: "ttw:space-y-6",
|
|
@@ -166,14 +166,14 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
166
166
|
children: [
|
|
167
167
|
/* @__PURE__ */ T("h4", {
|
|
168
168
|
className: "ttw:text-base ttw:font-semibold ttw:text-foreground",
|
|
169
|
-
children:
|
|
169
|
+
children: B.inviteDetailsSectionHeading
|
|
170
170
|
}),
|
|
171
171
|
/* @__PURE__ */ E("div", {
|
|
172
172
|
className: "ttw:space-y-2",
|
|
173
173
|
children: [
|
|
174
174
|
/* @__PURE__ */ T(s, {
|
|
175
175
|
htmlFor: "team-invite-name",
|
|
176
|
-
children:
|
|
176
|
+
children: B.inviteNameLabel
|
|
177
177
|
}),
|
|
178
178
|
/* @__PURE__ */ T(o, {
|
|
179
179
|
id: "team-invite-name",
|
|
@@ -183,7 +183,7 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
183
183
|
value: t.name,
|
|
184
184
|
"aria-invalid": O?.name ? !0 : void 0,
|
|
185
185
|
"aria-describedby": O?.name ? "team-invite-name-error" : void 0,
|
|
186
|
-
onChange: (e) =>
|
|
186
|
+
onChange: (e) => F({
|
|
187
187
|
...t,
|
|
188
188
|
name: e.target.value
|
|
189
189
|
})
|
|
@@ -199,7 +199,7 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
199
199
|
children: [
|
|
200
200
|
/* @__PURE__ */ T(s, {
|
|
201
201
|
htmlFor: "team-invite-email",
|
|
202
|
-
children:
|
|
202
|
+
children: B.inviteWorkEmailLabel
|
|
203
203
|
}),
|
|
204
204
|
/* @__PURE__ */ T(o, {
|
|
205
205
|
id: "team-invite-email",
|
|
@@ -210,7 +210,7 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
210
210
|
value: t.email,
|
|
211
211
|
"aria-invalid": O?.email ? !0 : void 0,
|
|
212
212
|
"aria-describedby": O?.email ? "team-invite-email-error" : void 0,
|
|
213
|
-
onChange: (e) =>
|
|
213
|
+
onChange: (e) => F({
|
|
214
214
|
...t,
|
|
215
215
|
email: e.target.value
|
|
216
216
|
})
|
|
@@ -225,37 +225,37 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
225
225
|
className: "ttw:grid ttw:grid-cols-1 ttw:gap-4 ttw:sm:grid-cols-2",
|
|
226
226
|
children: [/* @__PURE__ */ T(P, {
|
|
227
227
|
id: "team-invite-department",
|
|
228
|
-
label:
|
|
228
|
+
label: B.inviteDepartmentLabel,
|
|
229
229
|
value: t.department,
|
|
230
230
|
options: r,
|
|
231
|
-
placeholder:
|
|
232
|
-
emptyMessage:
|
|
233
|
-
loadingMessage:
|
|
234
|
-
noneLabel:
|
|
231
|
+
placeholder: B.inviteDepartmentPlaceholder,
|
|
232
|
+
emptyMessage: B.inviteDepartmentEmpty,
|
|
233
|
+
loadingMessage: B.inviteOptionsLoading,
|
|
234
|
+
noneLabel: B.inviteOptionNone,
|
|
235
235
|
isLoading: l,
|
|
236
236
|
isError: f,
|
|
237
|
-
errorMessage:
|
|
238
|
-
errorHelper:
|
|
239
|
-
emptyHelper:
|
|
240
|
-
onValueChange: (e) =>
|
|
237
|
+
errorMessage: B.inviteDepartmentLoadError,
|
|
238
|
+
errorHelper: B.inviteDepartmentLoadErrorHelper,
|
|
239
|
+
emptyHelper: B.inviteDepartmentEmptyHelper,
|
|
240
|
+
onValueChange: (e) => F({
|
|
241
241
|
...t,
|
|
242
242
|
department: e
|
|
243
243
|
})
|
|
244
244
|
}), /* @__PURE__ */ T(P, {
|
|
245
245
|
id: "team-invite-location",
|
|
246
|
-
label:
|
|
246
|
+
label: B.inviteLocationLabel,
|
|
247
247
|
value: t.location,
|
|
248
248
|
options: i,
|
|
249
|
-
placeholder:
|
|
250
|
-
emptyMessage:
|
|
251
|
-
loadingMessage:
|
|
252
|
-
noneLabel:
|
|
249
|
+
placeholder: B.inviteLocationPlaceholder,
|
|
250
|
+
emptyMessage: B.inviteLocationEmpty,
|
|
251
|
+
loadingMessage: B.inviteOptionsLoading,
|
|
252
|
+
noneLabel: B.inviteOptionNone,
|
|
253
253
|
isLoading: u,
|
|
254
254
|
isError: p,
|
|
255
|
-
errorMessage:
|
|
256
|
-
errorHelper:
|
|
257
|
-
emptyHelper:
|
|
258
|
-
onValueChange: (e) =>
|
|
255
|
+
errorMessage: B.inviteLocationLoadError,
|
|
256
|
+
errorHelper: B.inviteLocationLoadErrorHelper,
|
|
257
|
+
emptyHelper: B.inviteLocationEmptyHelper,
|
|
258
|
+
onValueChange: (e) => F({
|
|
259
259
|
...t,
|
|
260
260
|
location: e
|
|
261
261
|
})
|
|
@@ -263,23 +263,23 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
263
263
|
}),
|
|
264
264
|
/* @__PURE__ */ T(P, {
|
|
265
265
|
id: "team-invite-reporting-manager",
|
|
266
|
-
label:
|
|
266
|
+
label: B.inviteReportingManagerLabel,
|
|
267
267
|
value: t.reportingManager,
|
|
268
268
|
options: a,
|
|
269
|
-
placeholder:
|
|
270
|
-
emptyMessage:
|
|
271
|
-
loadingMessage:
|
|
272
|
-
noneLabel:
|
|
269
|
+
placeholder: B.inviteReportingManagerPlaceholder,
|
|
270
|
+
emptyMessage: B.inviteReportingManagerEmpty,
|
|
271
|
+
loadingMessage: B.inviteOptionsLoading,
|
|
272
|
+
noneLabel: B.inviteOptionNone,
|
|
273
273
|
isLoading: d,
|
|
274
274
|
isError: m,
|
|
275
|
-
errorMessage:
|
|
276
|
-
errorHelper:
|
|
277
|
-
emptyHelper:
|
|
278
|
-
readyHelper:
|
|
275
|
+
errorMessage: B.inviteReportingManagerLoadError,
|
|
276
|
+
errorHelper: B.inviteReportingManagerLoadErrorHelper,
|
|
277
|
+
emptyHelper: B.inviteReportingManagerEmptyHelper,
|
|
278
|
+
readyHelper: B.inviteReportingManagerHelper,
|
|
279
279
|
searchable: !0,
|
|
280
|
-
searchPlaceholder:
|
|
281
|
-
noResultsLabel:
|
|
282
|
-
onValueChange: (e) =>
|
|
280
|
+
searchPlaceholder: B.inviteReportingManagerSearchPlaceholder,
|
|
281
|
+
noResultsLabel: B.inviteReportingManagerNoResults,
|
|
282
|
+
onValueChange: (e) => F({
|
|
283
283
|
...t,
|
|
284
284
|
reportingManager: e
|
|
285
285
|
})
|
|
@@ -292,11 +292,11 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
292
292
|
/* @__PURE__ */ T("div", {
|
|
293
293
|
id: "team-invite-role-heading",
|
|
294
294
|
className: "ttw:text-base ttw:font-semibold ttw:text-foreground",
|
|
295
|
-
children:
|
|
295
|
+
children: B.inviteRoleSectionHeading
|
|
296
296
|
}),
|
|
297
297
|
/* @__PURE__ */ T("p", {
|
|
298
298
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
299
|
-
children:
|
|
299
|
+
children: B.inviteRoleSectionDescription
|
|
300
300
|
}),
|
|
301
301
|
/* @__PURE__ */ T("div", {
|
|
302
302
|
className: "ttw:mt-3",
|
|
@@ -304,7 +304,7 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
304
304
|
idPrefix: "team-invite-role",
|
|
305
305
|
options: n,
|
|
306
306
|
value: t.role,
|
|
307
|
-
onValueChange: (e) =>
|
|
307
|
+
onValueChange: (e) => F({
|
|
308
308
|
...t,
|
|
309
309
|
role: e
|
|
310
310
|
}),
|
|
@@ -324,10 +324,10 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
324
324
|
children: [/* @__PURE__ */ T("div", {
|
|
325
325
|
id: "team-invite-account-access-heading",
|
|
326
326
|
className: "ttw:text-base ttw:font-semibold ttw:text-foreground",
|
|
327
|
-
children:
|
|
327
|
+
children: B.inviteAccountAccessSectionHeading
|
|
328
328
|
}), /* @__PURE__ */ T("p", {
|
|
329
329
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
330
|
-
children:
|
|
330
|
+
children: B.manageAccessEmployeeNote
|
|
331
331
|
})]
|
|
332
332
|
}),
|
|
333
333
|
(w === "picker" || w === "admin") && /* @__PURE__ */ E("div", {
|
|
@@ -336,30 +336,30 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
336
336
|
/* @__PURE__ */ T("div", {
|
|
337
337
|
id: "team-invite-account-access-heading",
|
|
338
338
|
className: "ttw:text-base ttw:font-semibold ttw:text-foreground",
|
|
339
|
-
children:
|
|
339
|
+
children: B.inviteAccountAccessSectionHeading
|
|
340
340
|
}),
|
|
341
341
|
/* @__PURE__ */ T("p", {
|
|
342
342
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
343
|
-
children:
|
|
343
|
+
children: B.inviteAccountAccessSectionDescription
|
|
344
344
|
}),
|
|
345
|
-
g ? /* @__PURE__ */ T(_, { children:
|
|
345
|
+
g ? /* @__PURE__ */ T(_, { children: B.inviteAccountAccessLoadError }) : h ? /* @__PURE__ */ T("p", {
|
|
346
346
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
347
|
-
children:
|
|
347
|
+
children: B.inviteOptionsLoading
|
|
348
348
|
}) : /* @__PURE__ */ T(v, {
|
|
349
|
-
rows:
|
|
349
|
+
rows: H,
|
|
350
350
|
onToggle: (e, n) => {
|
|
351
|
-
|
|
351
|
+
F({
|
|
352
352
|
...t,
|
|
353
353
|
accountAccess: n ? [...t.accountAccess, e] : t.accountAccess.filter((t) => t !== e)
|
|
354
354
|
});
|
|
355
355
|
},
|
|
356
356
|
disabled: w === "admin",
|
|
357
|
-
note: w === "admin" ?
|
|
358
|
-
emptyMessage:
|
|
357
|
+
note: w === "admin" ? B.inviteAccountAccessAdminNote : void 0,
|
|
358
|
+
emptyMessage: B.inviteAccountAccessEmpty,
|
|
359
359
|
labels: {
|
|
360
|
-
accountNameColumn:
|
|
361
|
-
accessColumn:
|
|
362
|
-
toggleAriaLabel:
|
|
360
|
+
accountNameColumn: B.accountAccessNameColumn,
|
|
361
|
+
accessColumn: B.accountAccessAccessColumn,
|
|
362
|
+
toggleAriaLabel: B.accountAccessToggleLabel
|
|
363
363
|
}
|
|
364
364
|
})
|
|
365
365
|
]
|
|
@@ -370,13 +370,13 @@ function F({ form: t, roleOptions: n, departmentOptions: r, locationOptions: i,
|
|
|
370
370
|
children: [/* @__PURE__ */ T(e, {
|
|
371
371
|
type: "button",
|
|
372
372
|
variant: "ghost",
|
|
373
|
-
onClick:
|
|
374
|
-
children:
|
|
373
|
+
onClick: L,
|
|
374
|
+
children: B.inviteCancelButton
|
|
375
375
|
}), /* @__PURE__ */ E(e, {
|
|
376
376
|
type: "submit",
|
|
377
377
|
loading: M,
|
|
378
|
-
disabled: l || u || d || (w === "picker" || w === "admin") && (h || g),
|
|
379
|
-
children: [
|
|
378
|
+
disabled: N || l || u || d || (w === "picker" || w === "admin") && (h || g),
|
|
379
|
+
children: [B.inviteSubmitButton, /* @__PURE__ */ T(A, {
|
|
380
380
|
"aria-hidden": !0,
|
|
381
381
|
className: "ttw:size-4"
|
|
382
382
|
})]
|
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
import "./lib/finopsApiVersion.js";
|
|
2
2
|
import "./lib/rest/client.gen.js";
|
|
3
|
-
import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteMeasureUnitsId as d, deletePayablesId as f, deletePayablesIdFile as p, deleteProductsId as m, deleteReceivablesId as h, downloadBankAccountTransactions as g, getApplicationStatus as _, getApprovalPolicies as v, getApprovalRequests as y, getBankAccountAccess as b, getBankAccountStatement as x, getCounterparts as S, getDepartment as C, getDepositableBankAccounts as w, getExternalBankAccountAccess as T, getLocation as E, getPayables as D, getPayablesId as O, getPayablesIdHistory as k, getPayablesIdLineItems as A, getPaymentRecords as j, getReceivables as M, getUsers as N, listDepartments as P, listLocations as F, listRoles as I, manageBankAccountAccess as L,
|
|
4
|
-
import { activateCreditCardMutation as
|
|
5
|
-
import { authEpochPlaceholder as
|
|
6
|
-
import { applicationStatusInvalidationKey as
|
|
7
|
-
import { createClientSecretInstaller as
|
|
8
|
-
import { cancelAllClients as
|
|
9
|
-
import { cloneEmbeddedClient as
|
|
3
|
+
import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteMeasureUnitsId as d, deletePayablesId as f, deletePayablesIdFile as p, deleteProductsId as m, deleteReceivablesId as h, downloadBankAccountTransactions as g, getApplicationStatus as _, getApprovalPolicies as v, getApprovalRequests as y, getBankAccountAccess as b, getBankAccountStatement as x, getCounterparts as S, getDepartment as C, getDepositableBankAccounts as w, getExternalBankAccountAccess as T, getLocation as E, getPayables as D, getPayablesId as O, getPayablesIdHistory as k, getPayablesIdLineItems as A, getPaymentRecords as j, getReceivables as M, getUsers as N, listDepartments as P, listLocations as F, listRoles as I, manageBankAccountAccess as L, manageDebitCardAccess as R, patchCounterpartsId as z, patchCounterpartsIdAddressesId as B, patchCounterpartsIdBankAccountsId as V, patchEntitiesIdSettings as H, patchMeasureUnitsId as U, patchPayablesId as W, patchProductsId as G, patchReceivablesId as K, postApprovalRequestsIdApprove as q, postApprovalRequestsIdReject as J, postCounterparts as Y, postCounterpartsIdAddresses as X, postCounterpartsIdBankAccounts as Z, postCounterpartsIdBankAccountsIdMakeDefault as Q, postMeasureUnits as $, postPayables as ee, postPayablesIdApprovePaymentOperation as te, postPayablesIdAttachFile as ne, postPayablesIdCancel as re, postPayablesIdDuplicatesIdConfirm as ie, postPayablesIdDuplicatesIdDismiss as ae, postPayablesIdMarkAsPaid as oe, postPayablesIdReject as se, postPayablesIdReopen as ce, postPayablesIdSchedulePayment as le, postPayablesIdSubmitForApproval as ue, postPayablesIdValidate as de, postPayablesUploadFromFile as fe, postPaymentIntentsIdCancel as pe, postProducts as me, postReceivables as he, postReceivablesIdAccept as ge, postReceivablesIdCancel as _e, postReceivablesIdClone as ve, postReceivablesIdDecline as ye, postReceivablesIdIssue as be, postReceivablesIdMarkAsPaid as xe, postReceivablesIdMarkAsPartiallyPaid as Se, postReceivablesIdMarkAsUncollectible as Ce, postReceivablesIdSend as we, putEntitiesIdLogo as Te, putPayablesIdLineItems as Ee, updateDepartment as De, updateLocation as Oe, updateUser as ke } from "./lib/rest/sdk.gen.js";
|
|
4
|
+
import { activateCreditCardMutation as Ae, activateDebitCardMutation as je, connectExternalBankAccountMutation as Me, createAchMoneyMovementMutation as Ne, createApplicationMutation as Pe, createBankAccountMutation as Fe, createBookTransferMutation as Ie, createCheckDepositMutation as Le, createDebitCardMutation as Re, createVelocityControlMutation as ze, deleteApprovalPoliciesIdMutation as Be, deleteBankAccountApplicationMutation as Ve, deleteLedgerAccountsIdMutation as He, deleteReceiptsIdMutation as Ue, disableUserMutation as We, getAnalyticsPayablesOptions as Ge, getAnalyticsPayablesQueryKey as Ke, getAnalyticsReceivablesOptions as qe, getApprovalPoliciesOptions as Je, getApprovalPoliciesQueryKey as Ye, getApprovalRequestsOptions as Xe, getApprovalRequestsQueryKey as Ze, getBankAccountAccessQueryKey as Qe, getBankAccountApplicationOptions as $e, getBankAccountOptions as et, getBankAccountQueryKey as tt, getBankAccountStatementsOptions as nt, getBankAccountTransactionsOptions as rt, getBankAccountTransactionsQueryKey as it, getBankAccountTransfersOptions as at, getBankAccountTransfersQueryKey as ot, getBankAccountsQueryKey as st, getCounterpartsIdAddressesOptions as ct, getCounterpartsIdAddressesQueryKey as lt, getCounterpartsIdBankAccountsOptions as ut, getCounterpartsIdBankAccountsQueryKey as dt, getCounterpartsIdOptions as ft, getCounterpartsIdQueryKey as pt, getCounterpartsOptions as mt, getCounterpartsQueryKey as ht, getCreditCardByIdOptions as gt, getCreditCardByIdQueryKey as _t, getCreditCardsOptions as vt, getCreditCardsQueryKey as yt, getDebitCardByIdOptions as bt, getDebitCardByIdQueryKey as xt, getDebitCardCredentialsOptions as St, getDebitCardsOptions as Ct, getDebitCardsQueryKey as wt, getDepartmentOptions as Tt, getDepartmentQueryKey as Et, getDepositableBankAccountsOptions as Dt, getDocumentsIdNextNumbersOptions as Ot, getDocumentsIdNextNumbersQueryKey as kt, getEntitiesIdSettingsOptions as At, getEntitiesIdSettingsQueryKey as jt, getEntityUsersMyEntityOptions as Mt, getEntityUsersMyEntityQueryKey as Nt, getExternalBankAccountAccessQueryKey as Pt, getExternalBankAccountsOptions as Ft, getExternalBankAccountsQueryKey as It, getLedgerAccountsQueryKey as Lt, getLocationOptions as Rt, getLocationQueryKey as zt, getMeasureUnitsOptions as Bt, getMeasureUnitsQueryKey as Vt, getOrganizationOptions as Ht, getPayablesIdHistoryOptions as Ut, getPayablesIdHistoryQueryKey as Wt, getPayablesIdLineItemsOptions as Gt, getPayablesIdLineItemsQueryKey as Kt, getPayablesIdOptions as qt, getPayablesIdQueryKey as Jt, getPayablesIdSuggestionsOptions as Yt, getPayablesOptions as Xt, getPayablesQueryKey as Zt, getPaymentRecordsOptions as Qt, getPaymentRecordsQueryKey as $t, getProductsIdOptions as en, getProductsIdQueryKey as tn, getProductsOptions as nn, getProductsQueryKey as rn, getReceiptsIdQueryKey as an, getReceiptsOptions as on, getReceiptsQueryKey as sn, getReceivablesIdHistoryOptions as cn, getReceivablesIdHistoryQueryKey as ln, getReceivablesIdMailsOptions as un, getReceivablesIdMailsQueryKey as dn, getReceivablesIdOptions as fn, getReceivablesIdPdfLinkOptions as pn, getReceivablesIdPdfLinkQueryKey as mn, getReceivablesIdQueryKey as hn, getReceivablesOptions as gn, getReceivablesQueryKey as _n, getTransactionsIdQueryKey as vn, getTransactionsOptions as yn, getTransactionsQueryKey as bn, getTransactionsValidationsOptions as xn, getTransactionsValidationsQueryKey as Sn, getUsersOptions as Cn, getUsersQueryKey as wn, getVelocityControlsQueryKey as Tn, grantBankAccountAccessMutation as En, grantExternalBankAccountAccessMutation as Dn, linkExternalBankAccountMutation as On, listDepartmentsOptions as kn, listDepartmentsQueryKey as An, listLocationsOptions as jn, listLocationsQueryKey as Mn, listRolesQueryKey as Nn, manageDebitCardAccessMutation as Pn, patchApprovalPoliciesIdMutation as Fn, patchLedgerAccountsIdMutation as In, patchReceiptsIdMutation as Ln, postApprovalPoliciesMutation as Rn, postLedgerAccountsMutation as zn, putTransactionsValidationsMutation as Bn, setDebitCardLockStatusMutation as Vn, submitApplicationMutation as Hn, unlinkExternalBankAccountMutation as Un, updateApplicationMutation as Wn, updateBankAccountMutation as Gn, updateDebitCardMutation as Kn, updateExternalBankAccountMutation as qn, validateExternalBankAccountMutation as Jn, verifyDebitCardMutation as Yn } from "./lib/rest/@tanstack/react-query.gen.js";
|
|
5
|
+
import { authEpochPlaceholder as Xn, withAuthEpoch as Zn } from "./lib/withAuthEpoch.js";
|
|
6
|
+
import { applicationStatusInvalidationKey as Qn, applicationStatusQueryOptions as $n } from "./lib/applicationStatusQueryOptions.js";
|
|
7
|
+
import { createClientSecretInstaller as er } from "./lib/scopedClientSecret.js";
|
|
8
|
+
import { cancelAllClients as tr, invalidateAllClients as nr, registerQueryClient as rr, removeInactiveFromAllClients as ir, setAllClientsQueriesData as ar, unregisterQueryClient as or } from "./lib/clientRegistry.js";
|
|
9
|
+
import { cloneEmbeddedClient as sr, createEmbeddedClient as cr } from "./lib/createEmbeddedClient.js";
|
|
10
10
|
import "./lib/widgetGatewayHosts.js";
|
|
11
|
-
import { attachTransportInterceptors as
|
|
12
|
-
import { EmbedApiProvider as
|
|
13
|
-
import { optionalOrganizationHeaders as
|
|
14
|
-
import { fetchWidgetInit as
|
|
15
|
-
import { hasAnyScope as
|
|
11
|
+
import { attachTransportInterceptors as lr } from "./lib/transportInterceptors.js";
|
|
12
|
+
import { EmbedApiProvider as ur, useEmbedApi as dr } from "./lib/EmbedApiContext.js";
|
|
13
|
+
import { optionalOrganizationHeaders as fr, organizationHeaders as pr } from "./lib/organizationHeaders.js";
|
|
14
|
+
import { fetchWidgetInit as mr } from "./lib/fetchWidgetInit.js";
|
|
15
|
+
import { hasAnyScope as hr } from "./lib/hasAnyScope.js";
|
|
16
16
|
import "./lib/queryKeys.js";
|
|
17
|
-
import { useCurrentUserQuery as
|
|
18
|
-
import { useMailboxAddress as
|
|
17
|
+
import { useCurrentUserQuery as gr } from "./lib/useCurrentUserQuery.js";
|
|
18
|
+
import { useMailboxAddress as _r } from "./lib/useMailboxAddress.js";
|
|
19
19
|
import "./lib/apiErrorStatus.js";
|
|
20
|
-
import { isApiConflictError as
|
|
21
|
-
import { isApiForbiddenError as
|
|
22
|
-
import { isApiNotFoundError as
|
|
23
|
-
import { isApiUnprocessableError as
|
|
20
|
+
import { isApiConflictError as vr } from "./lib/isApiConflictError.js";
|
|
21
|
+
import { isApiForbiddenError as yr } from "./lib/isApiForbiddenError.js";
|
|
22
|
+
import { isApiNotFoundError as br } from "./lib/isApiNotFoundError.js";
|
|
23
|
+
import { isApiUnprocessableError as xr } from "./lib/isApiUnprocessableError.js";
|
|
24
24
|
import "./lib/isUserDataNotFoundError.js";
|
|
25
|
-
import { useGetUserDataQuery as
|
|
26
|
-
import { useUpsertUserDataMutation as
|
|
25
|
+
import { useGetUserDataQuery as Sr } from "./lib/useGetUserDataQuery.js";
|
|
26
|
+
import { useUpsertUserDataMutation as Cr } from "./lib/useUpsertUserDataMutation.js";
|
|
27
27
|
import "./lib/rest/zod.gen.js";
|
|
28
|
-
import { Scope as
|
|
29
|
-
import { getAllPagesNextPageParam as
|
|
30
|
-
import { useAllBankAccountsQuery as
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
|
|
28
|
+
import { Scope as wr, isScope as Tr } from "./lib/scopes.js";
|
|
29
|
+
import { getAllPagesNextPageParam as Er, getAllPagesNextPaginationTokenParam as Dr, isAllPagesResolving as Or, useAutoFetchNextPage as kr } from "./lib/allPages.js";
|
|
30
|
+
import { useAllBankAccountsQuery as Ar } from "./lib/bank-account/useAllBankAccountsQuery.js";
|
|
31
|
+
import { useAllDebitCardsQuery as jr } from "./lib/debit-card/useAllDebitCardsQuery.js";
|
|
32
|
+
import { useAllExternalBankAccountsQuery as Mr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
|
|
33
|
+
import { useAllMerchantCategoryGroupsQuery as Nr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
|
|
34
|
+
import { useAllLedgerAccountsQuery as Pr, useLedgerAccountsQuery as Fr } from "./lib/reference-data/useLedgerAccountsQuery.js";
|
|
35
|
+
import { usePaymentTermsQuery as Ir } from "./lib/reference-data/usePaymentTermsQuery.js";
|
|
36
|
+
import { useAllOrganizationRolesQuery as Lr } from "./lib/role/useAllOrganizationRolesQuery.js";
|
|
37
|
+
import { useRolePermissionsQueries as Rr } from "./lib/role/useRolePermissionsQueries.js";
|
|
38
|
+
import { useAllOrganizationUsersQuery as zr } from "./lib/user/useAllOrganizationUsersQuery.js";
|
|
39
|
+
import { useAcceptWidgetDisclosures as Br } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
|
|
40
|
+
import { useDisclosuresQuery as Vr } from "./lib/disclosures/useDisclosuresQuery.js";
|
|
41
|
+
import { OnboardingSuppressionReason as Hr } from "./lib/onboardingSuppressionReason.js";
|
|
42
|
+
import { useOrganizationOnboardingSuppression as Ur } from "./lib/useOrganizationOnboardingSuppression.js";
|
|
43
|
+
export { ur as EmbedApiProvider, Hr as OnboardingSuppressionReason, wr as Scope, Ae as activateCreditCardMutation, je as activateDebitCardMutation, Qn as applicationStatusInvalidationKey, $n as applicationStatusQueryOptions, lr as attachTransportInterceptors, Xn as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, tr as cancelAllClients, sr as cloneEmbeddedClient, Me as connectExternalBankAccountMutation, Ne as createAchMoneyMovementMutation, Pe as createApplicationMutation, Fe as createBankAccountMutation, Ie as createBookTransferMutation, Le as createCheckDepositMutation, er as createClientSecretInstaller, Re as createDebitCardMutation, r as createDepartment, cr as createEmbeddedClient, i as createLocation, a as createUser, ze as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, Be as deleteApprovalPoliciesIdMutation, Ve as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, He as deleteLedgerAccountsIdMutation, d as deleteMeasureUnitsId, f as deletePayablesId, p as deletePayablesIdFile, m as deleteProductsId, Ue as deleteReceiptsIdMutation, h as deleteReceivablesId, We as disableUserMutation, g as downloadBankAccountTransactions, mr as fetchWidgetInit, Er as getAllPagesNextPageParam, Dr as getAllPagesNextPaginationTokenParam, Ge as getAnalyticsPayablesOptions, Ke as getAnalyticsPayablesQueryKey, qe as getAnalyticsReceivablesOptions, _ as getApplicationStatus, v as getApprovalPolicies, Je as getApprovalPoliciesOptions, Ye as getApprovalPoliciesQueryKey, y as getApprovalRequests, Xe as getApprovalRequestsOptions, Ze as getApprovalRequestsQueryKey, b as getBankAccountAccess, Qe as getBankAccountAccessQueryKey, $e as getBankAccountApplicationOptions, et as getBankAccountOptions, tt as getBankAccountQueryKey, x as getBankAccountStatement, nt as getBankAccountStatementsOptions, rt as getBankAccountTransactionsOptions, it as getBankAccountTransactionsQueryKey, at as getBankAccountTransfersOptions, ot as getBankAccountTransfersQueryKey, st as getBankAccountsQueryKey, S as getCounterparts, ct as getCounterpartsIdAddressesOptions, lt as getCounterpartsIdAddressesQueryKey, ut as getCounterpartsIdBankAccountsOptions, dt as getCounterpartsIdBankAccountsQueryKey, ft as getCounterpartsIdOptions, pt as getCounterpartsIdQueryKey, mt as getCounterpartsOptions, ht as getCounterpartsQueryKey, gt as getCreditCardByIdOptions, _t as getCreditCardByIdQueryKey, vt as getCreditCardsOptions, yt as getCreditCardsQueryKey, bt as getDebitCardByIdOptions, xt as getDebitCardByIdQueryKey, St as getDebitCardCredentialsOptions, Ct as getDebitCardsOptions, wt as getDebitCardsQueryKey, C as getDepartment, Tt as getDepartmentOptions, Et as getDepartmentQueryKey, w as getDepositableBankAccounts, Dt as getDepositableBankAccountsOptions, Ot as getDocumentsIdNextNumbersOptions, kt as getDocumentsIdNextNumbersQueryKey, At as getEntitiesIdSettingsOptions, jt as getEntitiesIdSettingsQueryKey, Mt as getEntityUsersMyEntityOptions, Nt as getEntityUsersMyEntityQueryKey, T as getExternalBankAccountAccess, Pt as getExternalBankAccountAccessQueryKey, Ft as getExternalBankAccountsOptions, It as getExternalBankAccountsQueryKey, Lt as getLedgerAccountsQueryKey, E as getLocation, Rt as getLocationOptions, zt as getLocationQueryKey, Bt as getMeasureUnitsOptions, Vt as getMeasureUnitsQueryKey, Ht as getOrganizationOptions, D as getPayables, O as getPayablesId, k as getPayablesIdHistory, Ut as getPayablesIdHistoryOptions, Wt as getPayablesIdHistoryQueryKey, A as getPayablesIdLineItems, Gt as getPayablesIdLineItemsOptions, Kt as getPayablesIdLineItemsQueryKey, qt as getPayablesIdOptions, Jt as getPayablesIdQueryKey, Yt as getPayablesIdSuggestionsOptions, Xt as getPayablesOptions, Zt as getPayablesQueryKey, j as getPaymentRecords, Qt as getPaymentRecordsOptions, $t as getPaymentRecordsQueryKey, en as getProductsIdOptions, tn as getProductsIdQueryKey, nn as getProductsOptions, rn as getProductsQueryKey, an as getReceiptsIdQueryKey, on as getReceiptsOptions, sn as getReceiptsQueryKey, M as getReceivables, cn as getReceivablesIdHistoryOptions, ln as getReceivablesIdHistoryQueryKey, un as getReceivablesIdMailsOptions, dn as getReceivablesIdMailsQueryKey, fn as getReceivablesIdOptions, pn as getReceivablesIdPdfLinkOptions, mn as getReceivablesIdPdfLinkQueryKey, hn as getReceivablesIdQueryKey, gn as getReceivablesOptions, _n as getReceivablesQueryKey, vn as getTransactionsIdQueryKey, yn as getTransactionsOptions, bn as getTransactionsQueryKey, xn as getTransactionsValidationsOptions, Sn as getTransactionsValidationsQueryKey, N as getUsers, Cn as getUsersOptions, wn as getUsersQueryKey, Tn as getVelocityControlsQueryKey, En as grantBankAccountAccessMutation, Dn as grantExternalBankAccountAccessMutation, hr as hasAnyScope, nr as invalidateAllClients, Or as isAllPagesResolving, vr as isApiConflictError, yr as isApiForbiddenError, br as isApiNotFoundError, xr as isApiUnprocessableError, Tr as isScope, On as linkExternalBankAccountMutation, P as listDepartments, kn as listDepartmentsOptions, An as listDepartmentsQueryKey, F as listLocations, jn as listLocationsOptions, Mn as listLocationsQueryKey, I as listRoles, Nn as listRolesQueryKey, L as manageBankAccountAccess, R as manageDebitCardAccess, Pn as manageDebitCardAccessMutation, fr as optionalOrganizationHeaders, pr as organizationHeaders, Fn as patchApprovalPoliciesIdMutation, z as patchCounterpartsId, B as patchCounterpartsIdAddressesId, V as patchCounterpartsIdBankAccountsId, H as patchEntitiesIdSettings, In as patchLedgerAccountsIdMutation, U as patchMeasureUnitsId, W as patchPayablesId, G as patchProductsId, Ln as patchReceiptsIdMutation, K as patchReceivablesId, Rn as postApprovalPoliciesMutation, q as postApprovalRequestsIdApprove, J as postApprovalRequestsIdReject, Y as postCounterparts, X as postCounterpartsIdAddresses, Z as postCounterpartsIdBankAccounts, Q as postCounterpartsIdBankAccountsIdMakeDefault, zn as postLedgerAccountsMutation, $ as postMeasureUnits, ee as postPayables, te as postPayablesIdApprovePaymentOperation, ne as postPayablesIdAttachFile, re as postPayablesIdCancel, ie as postPayablesIdDuplicatesIdConfirm, ae as postPayablesIdDuplicatesIdDismiss, oe as postPayablesIdMarkAsPaid, se as postPayablesIdReject, ce as postPayablesIdReopen, le as postPayablesIdSchedulePayment, ue as postPayablesIdSubmitForApproval, de as postPayablesIdValidate, fe as postPayablesUploadFromFile, pe as postPaymentIntentsIdCancel, me as postProducts, he as postReceivables, ge as postReceivablesIdAccept, _e as postReceivablesIdCancel, ve as postReceivablesIdClone, ye as postReceivablesIdDecline, be as postReceivablesIdIssue, xe as postReceivablesIdMarkAsPaid, Se as postReceivablesIdMarkAsPartiallyPaid, Ce as postReceivablesIdMarkAsUncollectible, we as postReceivablesIdSend, Te as putEntitiesIdLogo, Ee as putPayablesIdLineItems, Bn as putTransactionsValidationsMutation, rr as registerQueryClient, ir as removeInactiveFromAllClients, ar as setAllClientsQueriesData, Vn as setDebitCardLockStatusMutation, Hn as submitApplicationMutation, Un as unlinkExternalBankAccountMutation, or as unregisterQueryClient, Wn as updateApplicationMutation, Gn as updateBankAccountMutation, Kn as updateDebitCardMutation, De as updateDepartment, qn as updateExternalBankAccountMutation, Oe as updateLocation, ke as updateUser, Br as useAcceptWidgetDisclosures, Ar as useAllBankAccountsQuery, jr as useAllDebitCardsQuery, Mr as useAllExternalBankAccountsQuery, Pr as useAllLedgerAccountsQuery, Nr as useAllMerchantCategoryGroupsQuery, Lr as useAllOrganizationRolesQuery, zr as useAllOrganizationUsersQuery, kr as useAutoFetchNextPage, gr as useCurrentUserQuery, Vr as useDisclosuresQuery, dr as useEmbedApi, Sr as useGetUserDataQuery, Fr as useLedgerAccountsQuery, _r as useMailboxAddress, Ur as useOrganizationOnboardingSuppression, Ir as usePaymentTermsQuery, Rr as useRolePermissionsQueries, Cr as useUpsertUserDataMutation, Jn as validateExternalBankAccountMutation, Yn as verifyDebitCardMutation, Zn as withAuthEpoch };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { getDebitCards as e } from "../rest/sdk.gen.js";
|
|
6
|
+
import { getDebitCardsOptions as t } from "../rest/@tanstack/react-query.gen.js";
|
|
7
|
+
import { authEpochPlaceholder as n } from "../withAuthEpoch.js";
|
|
8
|
+
import { useEmbedApi as r } from "../EmbedApiContext.js";
|
|
9
|
+
import { organizationHeaders as i } from "../organizationHeaders.js";
|
|
10
|
+
import { getAllPagesNextPageParam as a, useAutoFetchNextPage as o } from "../allPages.js";
|
|
11
|
+
import { useMemo as s } from "react";
|
|
12
|
+
import { useInfiniteQuery as c } from "@tanstack/react-query";
|
|
13
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/debit-card/useAllDebitCardsQuery.js
|
|
14
|
+
var l = 100;
|
|
15
|
+
function u({ enabled: u } = {}) {
|
|
16
|
+
let { client: d, organizationId: f, widgetToken: p, authEpoch: m, organizationPending: h } = r(), g = i(f), _ = !!(f && p) && (u === !0 || u === void 0), v = [...t({
|
|
17
|
+
client: d,
|
|
18
|
+
headers: g,
|
|
19
|
+
query: { limit: l }
|
|
20
|
+
}).queryKey, "all"], y = c({
|
|
21
|
+
queryKey: [...v, { authEpoch: m }],
|
|
22
|
+
placeholderData: n(v, h),
|
|
23
|
+
enabled: _,
|
|
24
|
+
initialPageParam: void 0,
|
|
25
|
+
queryFn: async ({ signal: t, pageParam: n }) => {
|
|
26
|
+
let { data: r } = await e({
|
|
27
|
+
client: d,
|
|
28
|
+
headers: g,
|
|
29
|
+
query: {
|
|
30
|
+
limit: l,
|
|
31
|
+
...n ? { paginationToken: n } : {}
|
|
32
|
+
},
|
|
33
|
+
signal: t,
|
|
34
|
+
throwOnError: !0
|
|
35
|
+
});
|
|
36
|
+
return r;
|
|
37
|
+
},
|
|
38
|
+
getNextPageParam: a
|
|
39
|
+
});
|
|
40
|
+
o(y, _);
|
|
41
|
+
let b = s(() => {
|
|
42
|
+
if (y.data) return {
|
|
43
|
+
data: y.data.pages.flatMap((e) => e.data ?? []),
|
|
44
|
+
nextPaginationToken: null,
|
|
45
|
+
prevPaginationToken: null
|
|
46
|
+
};
|
|
47
|
+
}, [y.data]);
|
|
48
|
+
return {
|
|
49
|
+
...y,
|
|
50
|
+
data: b
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
export { u as useAllDebitCardsQuery };
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.5.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.5.187", n = "8de8844504391c536ac22614ee06e0af462a864e", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -14,19 +14,19 @@ import "../../../cards-widget/feature/dist/index.js";
|
|
|
14
14
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
15
15
|
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index9.js
|
|
16
16
|
function c() {
|
|
17
|
-
let { grantedScopes: c, labels: l, cardArtSrc: u } = e(), d = l.sections.cards;
|
|
17
|
+
let { grantedScopes: c, labels: l, cardArtSrc: u } = e(), d = l.sections.cards, f = t(c, [n.CreditCardReadOrg]), p = t(c, [n.DebitCardReadOrg]), m = f && p;
|
|
18
18
|
return /* @__PURE__ */ s("div", {
|
|
19
19
|
className: "ttw:grid ttw:gap-8",
|
|
20
|
-
children: [
|
|
20
|
+
children: [f && /* @__PURE__ */ o(i, {
|
|
21
21
|
...d.creditCards,
|
|
22
|
-
headerStart: /* @__PURE__ */ o(r, {
|
|
22
|
+
headerStart: m && /* @__PURE__ */ o(r, {
|
|
23
23
|
className: "ttw:mb-0",
|
|
24
24
|
children: d.creditCardsTitle
|
|
25
25
|
})
|
|
26
|
-
}),
|
|
26
|
+
}), p && /* @__PURE__ */ o(a, {
|
|
27
27
|
...d.debitCards,
|
|
28
28
|
cardArtSrc: u,
|
|
29
|
-
headerStart: /* @__PURE__ */ o(r, {
|
|
29
|
+
headerStart: m && /* @__PURE__ */ o(r, {
|
|
30
30
|
className: "ttw:mb-0",
|
|
31
31
|
children: d.debitCardsTitle
|
|
32
32
|
})
|