@tesouro/embedded-components-react 0.4.15 → 0.4.17
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/index.css +39 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +47 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +22 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +75 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +63 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +64 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +141 -118
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +93 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +83 -67
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +235 -218
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +42 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +39 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +8 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +26 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +19 -306
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +154 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +60 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +251 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +7 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +49 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +15 -337
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +21 -118
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +340 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +10 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +99 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +11 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +52 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +10 -179
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +181 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +5 -90
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +92 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +1 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +83 -291
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +292 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +36 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +10 -199
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +201 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +15 -345
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +345 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +7 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +2 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +122 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +26 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +94 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +10 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +15 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +125 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +7 -167
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +11 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +108 -2
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +39 -33
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +37 -37
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +0 -2
package/dist/index.css
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
--ttw-color-orange-200: oklch(90.1% 0.076 70.697);
|
|
19
19
|
--ttw-color-orange-300: oklch(83.7% 0.128 66.29);
|
|
20
20
|
--ttw-color-orange-400: oklch(75% 0.183 55.934);
|
|
21
|
+
--ttw-color-orange-600: oklch(64.6% 0.222 41.116);
|
|
21
22
|
--ttw-color-orange-700: oklch(55.3% 0.195 38.402);
|
|
22
23
|
--ttw-color-orange-950: oklch(26.6% 0.079 36.259);
|
|
23
24
|
--ttw-color-amber-50: oklch(98.7% 0.022 95.277);
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
--ttw-color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
68
69
|
--ttw-color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
69
70
|
--ttw-color-violet-50: oklch(96.9% 0.016 293.756);
|
|
71
|
+
--ttw-color-violet-100: oklch(94.3% 0.029 294.588);
|
|
70
72
|
--ttw-color-violet-200: oklch(89.4% 0.057 293.283);
|
|
71
73
|
--ttw-color-violet-400: oklch(70.2% 0.183 293.541);
|
|
72
74
|
--ttw-color-violet-700: oklch(49.1% 0.27 292.581);
|
|
@@ -2175,6 +2177,9 @@
|
|
|
2175
2177
|
.ttw\:border-\[\#EAECF0\] {
|
|
2176
2178
|
border-color: #EAECF0;
|
|
2177
2179
|
}
|
|
2180
|
+
.ttw\:border-amber-100 {
|
|
2181
|
+
border-color: var(--ttw-color-amber-100);
|
|
2182
|
+
}
|
|
2178
2183
|
.ttw\:border-amber-200 {
|
|
2179
2184
|
border-color: var(--ttw-color-amber-200);
|
|
2180
2185
|
}
|
|
@@ -2184,6 +2189,9 @@
|
|
|
2184
2189
|
.ttw\:border-background {
|
|
2185
2190
|
border-color: var(--ttw-background);
|
|
2186
2191
|
}
|
|
2192
|
+
.ttw\:border-blue-100 {
|
|
2193
|
+
border-color: var(--ttw-color-blue-100);
|
|
2194
|
+
}
|
|
2187
2195
|
.ttw\:border-blue-200 {
|
|
2188
2196
|
border-color: var(--ttw-color-blue-200);
|
|
2189
2197
|
}
|
|
@@ -2283,6 +2291,9 @@
|
|
|
2283
2291
|
.ttw\:border-transparent\! {
|
|
2284
2292
|
border-color: transparent !important;
|
|
2285
2293
|
}
|
|
2294
|
+
.ttw\:border-violet-100 {
|
|
2295
|
+
border-color: var(--ttw-color-violet-100);
|
|
2296
|
+
}
|
|
2286
2297
|
.ttw\:border-violet-200 {
|
|
2287
2298
|
border-color: var(--ttw-color-violet-200);
|
|
2288
2299
|
}
|
|
@@ -2640,6 +2651,9 @@
|
|
|
2640
2651
|
.ttw\:bg-violet-50 {
|
|
2641
2652
|
background-color: var(--ttw-color-violet-50);
|
|
2642
2653
|
}
|
|
2654
|
+
.ttw\:bg-violet-100 {
|
|
2655
|
+
background-color: var(--ttw-color-violet-100);
|
|
2656
|
+
}
|
|
2643
2657
|
.ttw\:bg-white {
|
|
2644
2658
|
background-color: var(--ttw-color-white);
|
|
2645
2659
|
}
|
|
@@ -3468,6 +3482,9 @@
|
|
|
3468
3482
|
.ttw\:text-neutral-700 {
|
|
3469
3483
|
color: var(--ttw-color-neutral-700);
|
|
3470
3484
|
}
|
|
3485
|
+
.ttw\:text-orange-600 {
|
|
3486
|
+
color: var(--ttw-color-orange-600);
|
|
3487
|
+
}
|
|
3471
3488
|
.ttw\:text-orange-700 {
|
|
3472
3489
|
color: var(--ttw-color-orange-700);
|
|
3473
3490
|
}
|
|
@@ -4331,12 +4348,21 @@
|
|
|
4331
4348
|
.ttw\:hover\:bg-amber-50:hover {
|
|
4332
4349
|
background-color: var(--ttw-color-amber-50);
|
|
4333
4350
|
}
|
|
4351
|
+
.ttw\:hover\:bg-amber-100:hover {
|
|
4352
|
+
background-color: var(--ttw-color-amber-100);
|
|
4353
|
+
}
|
|
4354
|
+
.ttw\:hover\:bg-background:hover {
|
|
4355
|
+
background-color: var(--ttw-background);
|
|
4356
|
+
}
|
|
4334
4357
|
.ttw\:hover\:bg-black:hover {
|
|
4335
4358
|
background-color: var(--ttw-color-black);
|
|
4336
4359
|
}
|
|
4337
4360
|
.ttw\:hover\:bg-blue-50:hover {
|
|
4338
4361
|
background-color: var(--ttw-color-blue-50);
|
|
4339
4362
|
}
|
|
4363
|
+
.ttw\:hover\:bg-blue-100:hover {
|
|
4364
|
+
background-color: var(--ttw-color-blue-100);
|
|
4365
|
+
}
|
|
4340
4366
|
.ttw\:hover\:bg-blue-700:hover {
|
|
4341
4367
|
background-color: var(--ttw-color-blue-700);
|
|
4342
4368
|
}
|
|
@@ -4351,6 +4377,14 @@
|
|
|
4351
4377
|
background-color: color-mix(in oklab, var(--ttw-destructive) 10%, transparent);
|
|
4352
4378
|
}
|
|
4353
4379
|
}
|
|
4380
|
+
.ttw\:hover\:bg-destructive\/20:hover {
|
|
4381
|
+
background-color: var(--ttw-destructive);
|
|
4382
|
+
}
|
|
4383
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4384
|
+
.ttw\:hover\:bg-destructive\/20:hover {
|
|
4385
|
+
background-color: color-mix(in oklab, var(--ttw-destructive) 20%, transparent);
|
|
4386
|
+
}
|
|
4387
|
+
}
|
|
4354
4388
|
.ttw\:hover\:bg-destructive\/90:hover {
|
|
4355
4389
|
background-color: var(--ttw-destructive);
|
|
4356
4390
|
}
|
|
@@ -4365,6 +4399,9 @@
|
|
|
4365
4399
|
.ttw\:hover\:bg-emerald-100:hover {
|
|
4366
4400
|
background-color: var(--ttw-color-emerald-100);
|
|
4367
4401
|
}
|
|
4402
|
+
.ttw\:hover\:bg-green-100:hover {
|
|
4403
|
+
background-color: var(--ttw-color-green-100);
|
|
4404
|
+
}
|
|
4368
4405
|
.ttw\:hover\:bg-indigo-100\/60:hover {
|
|
4369
4406
|
background-color: var(--ttw-color-indigo-100);
|
|
4370
4407
|
}
|
|
@@ -4461,8 +4498,8 @@
|
|
|
4461
4498
|
.ttw\:hover\:bg-transparent:hover {
|
|
4462
4499
|
background-color: transparent;
|
|
4463
4500
|
}
|
|
4464
|
-
.ttw\:hover\:bg-violet-
|
|
4465
|
-
background-color: var(--ttw-color-violet-
|
|
4501
|
+
.ttw\:hover\:bg-violet-100:hover {
|
|
4502
|
+
background-color: var(--ttw-color-violet-100);
|
|
4466
4503
|
}
|
|
4467
4504
|
.ttw\:hover\:bg-white\/10:hover {
|
|
4468
4505
|
background-color: var(--ttw-color-white);
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js
CHANGED
|
@@ -9,7 +9,8 @@ import { useAllPayableLineItemsQuery as u, useReplacePayableLineItemsMutation as
|
|
|
9
9
|
import { usePayablePaymentRecordsQuery as f } from "./index11.js";
|
|
10
10
|
import { useSchedulePaymentMutation as p } from "./index12.js";
|
|
11
11
|
import { useAttachPayableFileMutation as m, useCancelPayableMutation as h, useCancelScheduledPaymentMutation as g, useCreatePayableMutation as _, useDeletePayableFileMutation as v, useDeletePayableMutation as y, useForceApprovePayableMutation as b, useForceRejectPayableMutation as x, useMarkPayableAsPaidMutation as S, useReopenPayableMutation as C, useSubmitPayableForApprovalMutation as w, useUpdatePayableMutation as T, useUploadPayableFromFileMutation as E, useValidatePayableMutation as D } from "./index13.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
12
|
+
import { useUpdatePayableCounterpartBankAccountMutation as O } from "./index14.js";
|
|
13
|
+
import { usePayableOcrQueries as k } from "./index15.js";
|
|
14
|
+
import { useAllSuspectedDuplicatePayablesQuery as A, usePayableQuery as j, usePayablesQuery as M, usePayablesTotalCountQuery as N } from "./index16.js";
|
|
15
|
+
import { usePayableSuggestionsQuery as P } from "./index17.js";
|
|
16
|
+
export { n as DuplicateVerdict, r as hasSuspectedPayableDuplicate, t as isLiveScheduledPaymentRecord, i as suspectedPayableDuplicates, u as useAllPayableLineItemsQuery, A as useAllSuspectedDuplicatePayablesQuery, a as useApplyDuplicateVerdictsMutation, o as useApprovePayableApprovalRequestMutation, m as useAttachPayableFileMutation, h as useCancelPayableMutation, g as useCancelScheduledPaymentMutation, _ as useCreatePayableMutation, v as useDeletePayableFileMutation, y as useDeletePayableMutation, e as useEmbedApi, b as useForceApprovePayableMutation, x as useForceRejectPayableMutation, S as useMarkPayableAsPaidMutation, s as usePayableApprovalRequestsQuery, l as usePayableHistoryQuery, k as usePayableOcrQueries, f as usePayablePaymentRecordsQuery, j as usePayableQuery, P as usePayableSuggestionsQuery, M as usePayablesQuery, N as usePayablesTotalCountQuery, c as useRejectPayableApprovalRequestMutation, C as useReopenPayableMutation, d as useReplacePayableLineItemsMutation, p as useSchedulePaymentMutation, w as useSubmitPayableForApprovalMutation, O as useUpdatePayableCounterpartBankAccountMutation, T as useUpdatePayableMutation, E as useUploadPayableFromFileMutation, D as useValidatePayableMutation };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js
CHANGED
|
@@ -2,29 +2,55 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { invalidateAllClients as e } from "../../../shared/data-access/dist/lib/clientRegistry.js";
|
|
6
|
+
import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
8
|
+
import { patchCounterpartsIdBankAccountsId as r, postCounterpartsIdBankAccountsIdMakeDefault as i } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
7
9
|
import "../../../shared/data-access/dist/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
+
import { invalidatePayableQueries as a } from "./index6.js";
|
|
11
|
+
import { counterpartBankAccountsInvalidationKey as o } from "../../../shared/counterpart-management/data-access/dist/index2.js";
|
|
12
|
+
import "../../../shared/counterpart-management/data-access/dist/index.js";
|
|
13
|
+
import { useMutation as s } from "@tanstack/react-query";
|
|
10
14
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js
|
|
11
|
-
function
|
|
12
|
-
let { client:
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
client:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
15
|
+
function c() {
|
|
16
|
+
let { client: c, organizationId: l } = t();
|
|
17
|
+
return s({
|
|
18
|
+
mutationFn: async ({ path: t, body: a, makeDefault: s }) => {
|
|
19
|
+
let { data: u } = await r({
|
|
20
|
+
client: c,
|
|
21
|
+
headers: n(l),
|
|
22
|
+
path: t,
|
|
23
|
+
body: a,
|
|
24
|
+
throwOnError: !0
|
|
25
|
+
});
|
|
26
|
+
if (s) try {
|
|
27
|
+
await i({
|
|
28
|
+
client: c,
|
|
29
|
+
headers: n(l),
|
|
30
|
+
path: t,
|
|
31
|
+
throwOnError: !0
|
|
32
|
+
});
|
|
33
|
+
} catch (n) {
|
|
34
|
+
throw await e(o({
|
|
35
|
+
client: c,
|
|
36
|
+
organizationId: l,
|
|
37
|
+
counterpartId: t.counterpart_id
|
|
38
|
+
})), n;
|
|
39
|
+
}
|
|
40
|
+
return u;
|
|
41
|
+
},
|
|
42
|
+
onSuccess: async (t, n) => {
|
|
43
|
+
await Promise.all([e(o({
|
|
44
|
+
client: c,
|
|
45
|
+
organizationId: l,
|
|
46
|
+
counterpartId: n.path.counterpart_id
|
|
47
|
+
})), a({
|
|
48
|
+
client: c,
|
|
49
|
+
organizationId: l,
|
|
50
|
+
payableId: n.payableId
|
|
51
|
+
})]);
|
|
52
|
+
}
|
|
27
53
|
});
|
|
28
54
|
}
|
|
29
55
|
//#endregion
|
|
30
|
-
export {
|
|
56
|
+
export { c as useUpdatePayableCounterpartBankAccountMutation };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js
CHANGED
|
@@ -3,85 +3,30 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
5
|
import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
6
|
-
import {
|
|
7
|
-
import { getPayables as n } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
8
|
-
import { getPayablesAnalyticsOptions as r, getPayablesIdOptions as i, getPayablesOptions as a, getPayablesQueryKey as o } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
9
|
-
import { withAuthEpoch as s } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
6
|
+
import { withAuthEpoch as t } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
10
7
|
import "../../../shared/data-access/dist/index.js";
|
|
11
|
-
import { payableOcrQueryOptions as
|
|
12
|
-
import {
|
|
8
|
+
import { payableOcrQueryOptions as n } from "./index4.js";
|
|
9
|
+
import { suspectedPayableDuplicates as r } from "./index7.js";
|
|
10
|
+
import { useQueries as i } from "@tanstack/react-query";
|
|
13
11
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js
|
|
14
|
-
function
|
|
15
|
-
let { client:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
queryKey: [...o({
|
|
32
|
-
client: i,
|
|
33
|
-
headers: p,
|
|
34
|
-
query: m
|
|
35
|
-
}), "all"],
|
|
36
|
-
queryFn: async ({ signal: e }) => {
|
|
37
|
-
let t = [], r = /* @__PURE__ */ new Set(), a;
|
|
38
|
-
do {
|
|
39
|
-
let { data: o } = await n({
|
|
40
|
-
client: i,
|
|
41
|
-
headers: p,
|
|
42
|
-
query: {
|
|
43
|
-
...m,
|
|
44
|
-
pagination_token: a
|
|
45
|
-
},
|
|
46
|
-
signal: e,
|
|
47
|
-
throwOnError: !0
|
|
48
|
-
});
|
|
49
|
-
t.push(...o.data ?? []);
|
|
50
|
-
let s = o.next_pagination_token ?? void 0;
|
|
51
|
-
a = s && !r.has(s) ? (r.add(s), s) : void 0;
|
|
52
|
-
} while (a);
|
|
53
|
-
return { data: t };
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
return u({
|
|
57
|
-
...s(h, d),
|
|
58
|
-
enabled: !!(a && c) && r !== !1
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
function m({ enabled: n } = {}) {
|
|
62
|
-
let { client: i, organizationId: a, widgetToken: o, authEpoch: c } = e(), l = !!(a && o) && (n === !0 || n === void 0), d = r({
|
|
63
|
-
client: i,
|
|
64
|
-
headers: t(a)
|
|
65
|
-
});
|
|
66
|
-
return u({
|
|
67
|
-
...s(d, c),
|
|
68
|
-
enabled: l
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
function h(n, { enabled: r = !0, pollWhileOcrProcessing: a = !1 } = {}) {
|
|
72
|
-
let { client: o, organizationId: l, widgetToken: d, authEpoch: f } = e(), p = !!(l && d && n) && r, m = a ? c({
|
|
73
|
-
client: o,
|
|
74
|
-
organizationId: l,
|
|
75
|
-
payableId: n ?? ""
|
|
76
|
-
}) : i({
|
|
77
|
-
client: o,
|
|
78
|
-
headers: t(l),
|
|
79
|
-
path: { payable_id: n ?? "" }
|
|
80
|
-
});
|
|
81
|
-
return u({
|
|
82
|
-
...s(m, f),
|
|
83
|
-
enabled: p
|
|
12
|
+
function a({ payableIds: a, enabled: o }) {
|
|
13
|
+
let { client: s, organizationId: c, widgetToken: l, authEpoch: u } = e(), d = !!(c && l) && (o === !0 || o === void 0);
|
|
14
|
+
return i({
|
|
15
|
+
queries: a.map((e) => ({
|
|
16
|
+
...t(n({
|
|
17
|
+
client: s,
|
|
18
|
+
organizationId: c,
|
|
19
|
+
payableId: e
|
|
20
|
+
}), u),
|
|
21
|
+
enabled: d && !!e
|
|
22
|
+
})),
|
|
23
|
+
combine: (e) => e.map((e, t) => ({
|
|
24
|
+
payableId: a[t],
|
|
25
|
+
ocrStatus: e.data?.ocr_status,
|
|
26
|
+
isError: e.isError,
|
|
27
|
+
suspectedDuplicateOf: r(e.data).map((e) => e.matched_payable_id)
|
|
28
|
+
}))
|
|
84
29
|
});
|
|
85
30
|
}
|
|
86
31
|
//#endregion
|
|
87
|
-
export {
|
|
32
|
+
export { a as usePayableOcrQueries };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js
CHANGED
|
@@ -4,33 +4,84 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
6
6
|
import { organizationHeaders as t } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { getPayables as n } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
8
|
+
import { getPayablesAnalyticsOptions as r, getPayablesIdOptions as i, getPayablesOptions as a, getPayablesQueryKey as o } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
9
|
+
import { withAuthEpoch as s } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
10
10
|
import "../../../shared/data-access/dist/index.js";
|
|
11
|
-
import {
|
|
11
|
+
import { payableOcrQueryOptions as c } from "./index4.js";
|
|
12
|
+
import { queryOptions as l, useQuery as u } from "@tanstack/react-query";
|
|
12
13
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js
|
|
13
|
-
function
|
|
14
|
-
let { client:
|
|
15
|
-
client:
|
|
14
|
+
function d({ enabled: n, ...r } = {}) {
|
|
15
|
+
let { client: i, organizationId: o, widgetToken: c, authEpoch: l } = e(), d = !!(o && c) && (n === !0 || n === void 0), f = a({
|
|
16
|
+
client: i,
|
|
17
|
+
headers: t(o),
|
|
18
|
+
query: r
|
|
19
|
+
});
|
|
20
|
+
return u({
|
|
21
|
+
...s(f, l),
|
|
22
|
+
enabled: d
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
var f = 100;
|
|
26
|
+
function p({ enabled: r } = {}) {
|
|
27
|
+
let { client: i, organizationId: a, widgetToken: c, authEpoch: d } = e(), p = t(a), m = {
|
|
28
|
+
duplicate_match_status: "suspected",
|
|
29
|
+
limit: f
|
|
30
|
+
}, h = l({
|
|
31
|
+
queryKey: [...o({
|
|
32
|
+
client: i,
|
|
33
|
+
headers: p,
|
|
34
|
+
query: m
|
|
35
|
+
}), "all"],
|
|
36
|
+
queryFn: async ({ signal: e }) => {
|
|
37
|
+
let t = [], r = /* @__PURE__ */ new Set(), a;
|
|
38
|
+
do {
|
|
39
|
+
let { data: o } = await n({
|
|
40
|
+
client: i,
|
|
41
|
+
headers: p,
|
|
42
|
+
query: {
|
|
43
|
+
...m,
|
|
44
|
+
pagination_token: a
|
|
45
|
+
},
|
|
46
|
+
signal: e,
|
|
47
|
+
throwOnError: !0
|
|
48
|
+
});
|
|
49
|
+
t.push(...o.data ?? []);
|
|
50
|
+
let s = o.next_pagination_token ?? void 0;
|
|
51
|
+
a = s && !r.has(s) ? (r.add(s), s) : void 0;
|
|
52
|
+
} while (a);
|
|
53
|
+
return { data: t };
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
return u({
|
|
57
|
+
...s(h, d),
|
|
58
|
+
enabled: !!(a && c) && r !== !1
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function m({ enabled: n } = {}) {
|
|
62
|
+
let { client: i, organizationId: a, widgetToken: o, authEpoch: c } = e(), l = !!(a && o) && (n === !0 || n === void 0), d = r({
|
|
63
|
+
client: i,
|
|
64
|
+
headers: t(a)
|
|
65
|
+
});
|
|
66
|
+
return u({
|
|
67
|
+
...s(d, c),
|
|
68
|
+
enabled: l
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
function h(n, { enabled: r = !0, pollWhileOcrProcessing: a = !1 } = {}) {
|
|
72
|
+
let { client: o, organizationId: l, widgetToken: d, authEpoch: f } = e(), p = !!(l && d && n) && r, m = a ? c({
|
|
73
|
+
client: o,
|
|
74
|
+
organizationId: l,
|
|
75
|
+
payableId: n ?? ""
|
|
76
|
+
}) : i({
|
|
77
|
+
client: o,
|
|
16
78
|
headers: t(l),
|
|
17
|
-
path: { payable_id:
|
|
18
|
-
})
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
enabled:
|
|
22
|
-
retry: !1,
|
|
23
|
-
queryFn: async (e) => {
|
|
24
|
-
try {
|
|
25
|
-
if (typeof h != "function") throw Error("getPayablesIdSuggestionsOptions has no queryFn");
|
|
26
|
-
return await h(e);
|
|
27
|
-
} catch (e) {
|
|
28
|
-
if (i(e)) return null;
|
|
29
|
-
throw e;
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
select: (e) => e ?? void 0
|
|
79
|
+
path: { payable_id: n ?? "" }
|
|
80
|
+
});
|
|
81
|
+
return u({
|
|
82
|
+
...s(m, f),
|
|
83
|
+
enabled: p
|
|
33
84
|
});
|
|
34
85
|
}
|
|
35
86
|
//#endregion
|
|
36
|
-
export {
|
|
87
|
+
export { p as useAllSuspectedDuplicatePayablesQuery, h as usePayableQuery, d as usePayablesQuery, m as usePayablesTotalCountQuery };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
6
|
+
import { organizationHeaders as t } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
7
|
+
import { getPayablesIdSuggestionsOptions as n } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
8
|
+
import { withAuthEpoch as r } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
9
|
+
import { isApiNotFoundError as i } from "../../../shared/data-access/dist/lib/isApiNotFoundError.js";
|
|
10
|
+
import "../../../shared/data-access/dist/index.js";
|
|
11
|
+
import { useQuery as a } from "@tanstack/react-query";
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js
|
|
13
|
+
function o(o, { enabled: s = !0 } = {}) {
|
|
14
|
+
let { client: c, organizationId: l, widgetToken: u, authEpoch: d } = e(), f = !!(l && u && o) && s, p = n({
|
|
15
|
+
client: c,
|
|
16
|
+
headers: t(l),
|
|
17
|
+
path: { payable_id: o ?? "" }
|
|
18
|
+
}), { queryKey: m, queryFn: h } = r(p, d);
|
|
19
|
+
return a({
|
|
20
|
+
queryKey: m,
|
|
21
|
+
enabled: f,
|
|
22
|
+
retry: !1,
|
|
23
|
+
queryFn: async (e) => {
|
|
24
|
+
try {
|
|
25
|
+
if (typeof h != "function") throw Error("getPayablesIdSuggestionsOptions has no queryFn");
|
|
26
|
+
return await h(e);
|
|
27
|
+
} catch (e) {
|
|
28
|
+
if (i(e)) return null;
|
|
29
|
+
throw e;
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
select: (e) => e ?? void 0
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { o as usePayableSuggestionsQuery };
|
|
@@ -9,20 +9,40 @@ import { DuplicateVerdict as n, useApplyDuplicateVerdictsMutation as r } from ".
|
|
|
9
9
|
import "../../data-access/dist/index.js";
|
|
10
10
|
import { useDuplicateBills as i } from "./index9.js";
|
|
11
11
|
import { useDuplicateBillsSelection as a } from "./index10.js";
|
|
12
|
-
import { DuplicateBillsDialog as o } from "../../ui/dist/
|
|
12
|
+
import { DuplicateBillsDialog as o } from "../../ui/dist/index80.js";
|
|
13
13
|
import "../../ui/dist/index.js";
|
|
14
|
-
import {
|
|
15
|
-
import { jsx as
|
|
14
|
+
import { useEffect as s, useMemo as c, useState as l } from "react";
|
|
15
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
16
16
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
var d = "";
|
|
18
|
+
function f({ open: f, onOpenChange: p, enabled: m = !0, canManageDuplicates: h = !0, onOpenBill: g, labels: _, dialogLabels: v }) {
|
|
19
|
+
let y = c(() => ({
|
|
19
20
|
...t,
|
|
20
|
-
...
|
|
21
|
-
}), [
|
|
22
|
-
let [e] =
|
|
23
|
-
if (e)
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
..._
|
|
22
|
+
}), [_]), b = _?.allResolvedToast ?? t.allResolvedToast, x = i({ enabled: m }), S = c(() => x.groups.flatMap((e) => e.bills.map((e) => e.id)), [x.groups]), C = a({ reviewIds: S }), w = r(), [T, E] = l(), [D, O] = l(!1), [k, A] = l(), j = c(() => {
|
|
23
|
+
let [e] = x.groups;
|
|
24
|
+
if (e) {
|
|
25
|
+
if (!k) return e.id;
|
|
26
|
+
if (k.id !== d) return x.groups.some((e) => e.id === k.id) ? k.id : (x.groups[k.index] ?? x.groups[x.groups.length - 1]).id;
|
|
27
|
+
}
|
|
28
|
+
}, [k, x.groups]);
|
|
29
|
+
s(() => {
|
|
30
|
+
if (!f) {
|
|
31
|
+
O(!1);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
!D || x.isLoading || x.isError || x.groups.length > 0 || (e.success(b), p(!1));
|
|
35
|
+
}, [
|
|
36
|
+
b,
|
|
37
|
+
D,
|
|
38
|
+
p,
|
|
39
|
+
f,
|
|
40
|
+
x.groups.length,
|
|
41
|
+
x.isError,
|
|
42
|
+
x.isLoading
|
|
43
|
+
]);
|
|
44
|
+
let M = (e) => e.bills.filter((e) => C.isSelected(e.id)), N = async (t, n, r, i) => {
|
|
45
|
+
let a = M(t);
|
|
26
46
|
if (a.length === 0) throw Error("Duplicate review action taken with no bills selected — keeping and removing both need a subject.");
|
|
27
47
|
let o = a.flatMap((e) => e.matches.map((t) => ({
|
|
28
48
|
payableId: e.id,
|
|
@@ -30,22 +50,22 @@ function u({ open: u, onOpenChange: d, enabled: f = !0, canManageDuplicates: p =
|
|
|
30
50
|
matchedPayableId: t.matchedPayableId,
|
|
31
51
|
removeBy: e.removeBy
|
|
32
52
|
})));
|
|
33
|
-
|
|
53
|
+
E({
|
|
34
54
|
groupId: t.id,
|
|
35
55
|
action: r
|
|
36
56
|
});
|
|
37
57
|
try {
|
|
38
|
-
await
|
|
58
|
+
await w.mutateAsync({
|
|
39
59
|
verdict: n,
|
|
40
60
|
targets: o
|
|
41
|
-
}), e.success(i),
|
|
61
|
+
}), e.success(i), O(!0), C.deselect(a.map((e) => e.id));
|
|
42
62
|
} catch {
|
|
43
|
-
e.error(
|
|
63
|
+
e.error(y.verdictFailedToast);
|
|
44
64
|
} finally {
|
|
45
|
-
|
|
65
|
+
E(void 0);
|
|
46
66
|
}
|
|
47
|
-
},
|
|
48
|
-
let t = e.bills.map((e) => e.id), r =
|
|
67
|
+
}, P = x.groups.map((e) => {
|
|
68
|
+
let t = e.bills.map((e) => e.id), r = M(e), i = {
|
|
49
69
|
vendorLabel: e.vendorLabel,
|
|
50
70
|
count: e.bills.length
|
|
51
71
|
};
|
|
@@ -53,10 +73,10 @@ function u({ open: u, onOpenChange: d, enabled: f = !0, canManageDuplicates: p =
|
|
|
53
73
|
id: e.id,
|
|
54
74
|
titleLabel: e.vendorLabel,
|
|
55
75
|
countLabel: String(e.bills.length),
|
|
56
|
-
accessibleLabel:
|
|
57
|
-
selectAllLabel:
|
|
58
|
-
selectAllChecked:
|
|
59
|
-
onToggleAllRows: () =>
|
|
76
|
+
accessibleLabel: y.reviewGroup(i),
|
|
77
|
+
selectAllLabel: y.selectGroup(i),
|
|
78
|
+
selectAllChecked: C.checkedState(t),
|
|
79
|
+
onToggleAllRows: () => C.toggleAll(t),
|
|
60
80
|
rows: e.bills.map((e) => ({
|
|
61
81
|
id: e.id,
|
|
62
82
|
status: e.status,
|
|
@@ -64,35 +84,35 @@ function u({ open: u, onOpenChange: d, enabled: f = !0, canManageDuplicates: p =
|
|
|
64
84
|
removalOutcome: e.removeBy === "delete" || e.removeBy === "cancel" ? e.removeBy : void 0,
|
|
65
85
|
invoiceNumberLabel: e.invoiceNumberLabel,
|
|
66
86
|
amountLabel: e.amountLabel,
|
|
67
|
-
|
|
87
|
+
dueDateLabel: e.dueDateLabel,
|
|
68
88
|
addedOnLabel: e.addedOnLabel,
|
|
69
|
-
selectLabel:
|
|
70
|
-
openLabel:
|
|
71
|
-
isSelected:
|
|
72
|
-
onToggleSelected: () =>
|
|
73
|
-
onOpen: () =>
|
|
89
|
+
selectLabel: y.selectRow(e),
|
|
90
|
+
openLabel: y.openRow(e),
|
|
91
|
+
isSelected: C.isSelected(e.id),
|
|
92
|
+
onToggleSelected: () => C.toggle(e.id),
|
|
93
|
+
onOpen: () => g?.(e.id)
|
|
74
94
|
})),
|
|
75
|
-
onKeepSelected:
|
|
76
|
-
onRemoveDuplicates:
|
|
95
|
+
onKeepSelected: h ? () => void N(e, n.Keep, "keep", y.dismissedToast) : void 0,
|
|
96
|
+
onRemoveDuplicates: h ? () => void N(e, n.Remove, "remove", y.removedToast) : void 0,
|
|
77
97
|
isActionDisabled: r.length === 0,
|
|
78
98
|
isRemoveUnavailable: r.some((e) => !e.removeBy),
|
|
79
|
-
pendingAction:
|
|
99
|
+
pendingAction: T?.groupId === e.id ? T.action : void 0
|
|
80
100
|
};
|
|
81
101
|
});
|
|
82
|
-
return /* @__PURE__ */
|
|
83
|
-
open:
|
|
84
|
-
onOpenChange:
|
|
85
|
-
groups:
|
|
86
|
-
isLoading:
|
|
87
|
-
isError:
|
|
88
|
-
expandedGroupId:
|
|
89
|
-
onExpandedGroupChange: (e) =>
|
|
102
|
+
return /* @__PURE__ */ u(o, {
|
|
103
|
+
open: f,
|
|
104
|
+
onOpenChange: p,
|
|
105
|
+
groups: P,
|
|
106
|
+
isLoading: x.isLoading,
|
|
107
|
+
isError: x.isError,
|
|
108
|
+
expandedGroupId: j,
|
|
109
|
+
onExpandedGroupChange: (e) => A({
|
|
90
110
|
id: e,
|
|
91
|
-
index:
|
|
111
|
+
index: x.groups.findIndex((t) => t.id === e)
|
|
92
112
|
}),
|
|
93
|
-
isBusy: !!
|
|
94
|
-
labels:
|
|
113
|
+
isBusy: !!T,
|
|
114
|
+
labels: v
|
|
95
115
|
});
|
|
96
116
|
}
|
|
97
117
|
//#endregion
|
|
98
|
-
export {
|
|
118
|
+
export { f as DuplicateBillsContainer, f as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MARK_AS_PAID_DIALOG_LABELS_EN as e } from "../../ui/dist/
|
|
1
|
+
import { MARK_AS_PAID_DIALOG_LABELS_EN as e } from "../../ui/dist/index91.js";
|
|
2
2
|
import "../../ui/dist/index.js";
|
|
3
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js
|
|
4
4
|
var t = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as e } from "../../ui/dist/
|
|
2
|
-
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as t } from "../../ui/dist/
|
|
1
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as e } from "../../ui/dist/index88.js";
|
|
2
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as t } from "../../ui/dist/index94.js";
|
|
3
3
|
import "../../ui/dist/index.js";
|
|
4
4
|
import { SOURCE_ACCOUNT_LABELS_EN as n } from "./index22.js";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import { useWidgetConfig as e } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
6
6
|
import "../../../shared/feature/dist/index.js";
|
|
7
7
|
import { resolveVendor as t } from "./index7.js";
|
|
8
|
-
import { ReviewTransactionDialog as n } from "../../ui/dist/
|
|
9
|
-
import { SchedulePaymentDialog as r } from "../../ui/dist/
|
|
8
|
+
import { ReviewTransactionDialog as n } from "../../ui/dist/index89.js";
|
|
9
|
+
import { SchedulePaymentDialog as r } from "../../ui/dist/index96.js";
|
|
10
10
|
import "../../ui/dist/index.js";
|
|
11
11
|
import { canReadCounterpartBankAccounts as i } from "./index18.js";
|
|
12
12
|
import { resolveAmountDueMinorUnits as a } from "./index19.js";
|