@tesouro/embedded-components-react 0.5.251 → 0.5.254
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.d.ts +95 -79
- package/dist/lib/ReceivablesWidget.d.ts +25 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index24.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +214 -209
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +162 -145
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetNative/BillPayWidgetNative.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetNative/BillsTab.js +32 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetNative/labels.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index10.js +38 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +11 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +78 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -78
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +26 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index6.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js +54 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index8.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +89 -88
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +55 -74
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/paymentRecord.js +71 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +123 -164
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +91 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +83 -78
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +7 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/mocks/receivables.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +15 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +206 -89
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +8 -7
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +0 -2
package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js
CHANGED
|
@@ -1266,7 +1266,19 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1266
1266
|
}],
|
|
1267
1267
|
url: "/finops/v1/payment-records",
|
|
1268
1268
|
...e
|
|
1269
|
-
}), dt = (e) => (e.client ?? t).
|
|
1269
|
+
}), dt = (e) => (e.client ?? t).post({
|
|
1270
|
+
security: [{
|
|
1271
|
+
key: "HTTPBearer",
|
|
1272
|
+
scheme: "bearer",
|
|
1273
|
+
type: "http"
|
|
1274
|
+
}],
|
|
1275
|
+
url: "/finops/v1/payment-records",
|
|
1276
|
+
...e,
|
|
1277
|
+
headers: {
|
|
1278
|
+
"Content-Type": "application/json",
|
|
1279
|
+
...e.headers
|
|
1280
|
+
}
|
|
1281
|
+
}), ft = (e) => (e.client ?? t).get({
|
|
1270
1282
|
security: [{
|
|
1271
1283
|
key: "HTTPBearer",
|
|
1272
1284
|
scheme: "bearer",
|
|
@@ -1274,7 +1286,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1274
1286
|
}],
|
|
1275
1287
|
url: "/finops/v1/payment-reminders",
|
|
1276
1288
|
...e
|
|
1277
|
-
}),
|
|
1289
|
+
}), pt = (e) => (e.client ?? t).post({
|
|
1278
1290
|
security: [{
|
|
1279
1291
|
key: "HTTPBearer",
|
|
1280
1292
|
scheme: "bearer",
|
|
@@ -1286,7 +1298,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1286
1298
|
"Content-Type": "application/json",
|
|
1287
1299
|
...e.headers
|
|
1288
1300
|
}
|
|
1289
|
-
}),
|
|
1301
|
+
}), mt = (e) => (e.client ?? t).get({
|
|
1290
1302
|
security: [{
|
|
1291
1303
|
key: "HTTPBearer",
|
|
1292
1304
|
scheme: "bearer",
|
|
@@ -1294,7 +1306,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1294
1306
|
}],
|
|
1295
1307
|
url: "/finops/v1/payment-terms",
|
|
1296
1308
|
...e
|
|
1297
|
-
}),
|
|
1309
|
+
}), ht = (e) => (e.client ?? t).get({
|
|
1298
1310
|
security: [{
|
|
1299
1311
|
key: "HTTPBearer",
|
|
1300
1312
|
scheme: "bearer",
|
|
@@ -1302,7 +1314,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1302
1314
|
}],
|
|
1303
1315
|
url: "/finops/v1/products",
|
|
1304
1316
|
...e
|
|
1305
|
-
}),
|
|
1317
|
+
}), gt = (e) => (e.client ?? t).post({
|
|
1306
1318
|
security: [{
|
|
1307
1319
|
key: "HTTPBearer",
|
|
1308
1320
|
scheme: "bearer",
|
|
@@ -1314,7 +1326,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1314
1326
|
"Content-Type": "application/json",
|
|
1315
1327
|
...e.headers
|
|
1316
1328
|
}
|
|
1317
|
-
}),
|
|
1329
|
+
}), _t = (e) => (e.client ?? t).delete({
|
|
1318
1330
|
security: [{
|
|
1319
1331
|
key: "HTTPBearer",
|
|
1320
1332
|
scheme: "bearer",
|
|
@@ -1322,7 +1334,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1322
1334
|
}],
|
|
1323
1335
|
url: "/finops/v1/products/{product_id}",
|
|
1324
1336
|
...e
|
|
1325
|
-
}),
|
|
1337
|
+
}), vt = (e) => (e.client ?? t).get({
|
|
1326
1338
|
security: [{
|
|
1327
1339
|
key: "HTTPBearer",
|
|
1328
1340
|
scheme: "bearer",
|
|
@@ -1330,7 +1342,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1330
1342
|
}],
|
|
1331
1343
|
url: "/finops/v1/products/{product_id}",
|
|
1332
1344
|
...e
|
|
1333
|
-
}),
|
|
1345
|
+
}), yt = (e) => (e.client ?? t).patch({
|
|
1334
1346
|
security: [{
|
|
1335
1347
|
key: "HTTPBearer",
|
|
1336
1348
|
scheme: "bearer",
|
|
@@ -1342,7 +1354,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1342
1354
|
"Content-Type": "application/json",
|
|
1343
1355
|
...e.headers
|
|
1344
1356
|
}
|
|
1345
|
-
}),
|
|
1357
|
+
}), bt = (e) => (e.client ?? t).get({
|
|
1346
1358
|
security: [{
|
|
1347
1359
|
key: "HTTPBearer",
|
|
1348
1360
|
scheme: "bearer",
|
|
@@ -1350,7 +1362,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1350
1362
|
}],
|
|
1351
1363
|
url: "/finops/v1/receipts",
|
|
1352
1364
|
...e
|
|
1353
|
-
}),
|
|
1365
|
+
}), xt = (n) => (n.client ?? t).post({
|
|
1354
1366
|
...e,
|
|
1355
1367
|
security: [{
|
|
1356
1368
|
key: "HTTPBearer",
|
|
@@ -1363,7 +1375,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1363
1375
|
"Content-Type": null,
|
|
1364
1376
|
...n.headers
|
|
1365
1377
|
}
|
|
1366
|
-
}),
|
|
1378
|
+
}), St = (e) => (e.client ?? t).delete({
|
|
1367
1379
|
security: [{
|
|
1368
1380
|
key: "HTTPBearer",
|
|
1369
1381
|
scheme: "bearer",
|
|
@@ -1371,7 +1383,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1371
1383
|
}],
|
|
1372
1384
|
url: "/finops/v1/receipts/{receipt_id}",
|
|
1373
1385
|
...e
|
|
1374
|
-
}),
|
|
1386
|
+
}), Ct = (e) => (e.client ?? t).patch({
|
|
1375
1387
|
security: [{
|
|
1376
1388
|
key: "HTTPBearer",
|
|
1377
1389
|
scheme: "bearer",
|
|
@@ -1383,7 +1395,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1383
1395
|
"Content-Type": "application/json",
|
|
1384
1396
|
...e.headers
|
|
1385
1397
|
}
|
|
1386
|
-
}),
|
|
1398
|
+
}), wt = (e) => (e.client ?? t).get({
|
|
1387
1399
|
security: [{
|
|
1388
1400
|
key: "HTTPBearer",
|
|
1389
1401
|
scheme: "bearer",
|
|
@@ -1391,7 +1403,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1391
1403
|
}],
|
|
1392
1404
|
url: "/finops/v1/receivables",
|
|
1393
1405
|
...e
|
|
1394
|
-
}),
|
|
1406
|
+
}), Tt = (e) => (e.client ?? t).post({
|
|
1395
1407
|
security: [{
|
|
1396
1408
|
key: "HTTPBearer",
|
|
1397
1409
|
scheme: "bearer",
|
|
@@ -1403,7 +1415,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1403
1415
|
"Content-Type": "application/json",
|
|
1404
1416
|
...e.headers
|
|
1405
1417
|
}
|
|
1406
|
-
}),
|
|
1418
|
+
}), Et = (e) => (e.client ?? t).get({
|
|
1407
1419
|
security: [{
|
|
1408
1420
|
key: "HTTPBearer",
|
|
1409
1421
|
scheme: "bearer",
|
|
@@ -1411,7 +1423,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1411
1423
|
}],
|
|
1412
1424
|
url: "/finops/v1/receivables/required-fields",
|
|
1413
1425
|
...e
|
|
1414
|
-
}),
|
|
1426
|
+
}), Dt = (e) => (e.client ?? t).delete({
|
|
1415
1427
|
security: [{
|
|
1416
1428
|
key: "HTTPBearer",
|
|
1417
1429
|
scheme: "bearer",
|
|
@@ -1419,7 +1431,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1419
1431
|
}],
|
|
1420
1432
|
url: "/finops/v1/receivables/{receivable_id}",
|
|
1421
1433
|
...e
|
|
1422
|
-
}),
|
|
1434
|
+
}), Ot = (e) => (e.client ?? t).get({
|
|
1423
1435
|
security: [{
|
|
1424
1436
|
key: "HTTPBearer",
|
|
1425
1437
|
scheme: "bearer",
|
|
@@ -1427,7 +1439,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1427
1439
|
}],
|
|
1428
1440
|
url: "/finops/v1/receivables/{receivable_id}",
|
|
1429
1441
|
...e
|
|
1430
|
-
}),
|
|
1442
|
+
}), kt = (e) => (e.client ?? t).patch({
|
|
1431
1443
|
security: [{
|
|
1432
1444
|
key: "HTTPBearer",
|
|
1433
1445
|
scheme: "bearer",
|
|
@@ -1439,7 +1451,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1439
1451
|
"Content-Type": "application/json",
|
|
1440
1452
|
...e.headers
|
|
1441
1453
|
}
|
|
1442
|
-
}),
|
|
1454
|
+
}), At = (e) => (e.client ?? t).post({
|
|
1443
1455
|
security: [{
|
|
1444
1456
|
key: "HTTPBearer",
|
|
1445
1457
|
scheme: "bearer",
|
|
@@ -1451,7 +1463,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1451
1463
|
"Content-Type": "application/json",
|
|
1452
1464
|
...e.headers
|
|
1453
1465
|
}
|
|
1454
|
-
}),
|
|
1466
|
+
}), jt = (e) => (e.client ?? t).post({
|
|
1455
1467
|
security: [{
|
|
1456
1468
|
key: "HTTPBearer",
|
|
1457
1469
|
scheme: "bearer",
|
|
@@ -1459,7 +1471,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1459
1471
|
}],
|
|
1460
1472
|
url: "/finops/v1/receivables/{receivable_id}/cancel",
|
|
1461
1473
|
...e
|
|
1462
|
-
}),
|
|
1474
|
+
}), Mt = (e) => (e.client ?? t).post({
|
|
1463
1475
|
security: [{
|
|
1464
1476
|
key: "HTTPBearer",
|
|
1465
1477
|
scheme: "bearer",
|
|
@@ -1467,7 +1479,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1467
1479
|
}],
|
|
1468
1480
|
url: "/finops/v1/receivables/{receivable_id}/clone",
|
|
1469
1481
|
...e
|
|
1470
|
-
}),
|
|
1482
|
+
}), Nt = (e) => (e.client ?? t).post({
|
|
1471
1483
|
security: [{
|
|
1472
1484
|
key: "HTTPBearer",
|
|
1473
1485
|
scheme: "bearer",
|
|
@@ -1479,7 +1491,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1479
1491
|
"Content-Type": "application/json",
|
|
1480
1492
|
...e.headers
|
|
1481
1493
|
}
|
|
1482
|
-
}),
|
|
1494
|
+
}), Pt = (e) => (e.client ?? t).get({
|
|
1483
1495
|
security: [{
|
|
1484
1496
|
key: "HTTPBearer",
|
|
1485
1497
|
scheme: "bearer",
|
|
@@ -1487,7 +1499,7 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1487
1499
|
}],
|
|
1488
1500
|
url: "/finops/v1/receivables/{receivable_id}/history",
|
|
1489
1501
|
...e
|
|
1490
|
-
}),
|
|
1502
|
+
}), Ft = (e) => (e.client ?? t).post({
|
|
1491
1503
|
security: [{
|
|
1492
1504
|
key: "HTTPBearer",
|
|
1493
1505
|
scheme: "bearer",
|
|
@@ -1495,25 +1507,13 @@ var n = (e) => (e.client ?? t).post({
|
|
|
1495
1507
|
}],
|
|
1496
1508
|
url: "/finops/v1/receivables/{receivable_id}/issue",
|
|
1497
1509
|
...e
|
|
1498
|
-
}), Ft = (e) => (e.client ?? t).post({
|
|
1499
|
-
security: [{
|
|
1500
|
-
key: "HTTPBearer",
|
|
1501
|
-
scheme: "bearer",
|
|
1502
|
-
type: "http"
|
|
1503
|
-
}],
|
|
1504
|
-
url: "/finops/v1/receivables/{receivable_id}/mark-as-paid",
|
|
1505
|
-
...e,
|
|
1506
|
-
headers: {
|
|
1507
|
-
"Content-Type": "application/json",
|
|
1508
|
-
...e.headers
|
|
1509
|
-
}
|
|
1510
1510
|
}), It = (e) => (e.client ?? t).post({
|
|
1511
1511
|
security: [{
|
|
1512
1512
|
key: "HTTPBearer",
|
|
1513
1513
|
scheme: "bearer",
|
|
1514
1514
|
type: "http"
|
|
1515
1515
|
}],
|
|
1516
|
-
url: "/finops/v1/receivables/{receivable_id}/mark-as-
|
|
1516
|
+
url: "/finops/v1/receivables/{receivable_id}/mark-as-paid",
|
|
1517
1517
|
...e,
|
|
1518
1518
|
headers: {
|
|
1519
1519
|
"Content-Type": "application/json",
|
|
@@ -2009,4 +2009,4 @@ var n = (e) => (e.client ?? t).post({
|
|
|
2009
2009
|
...e
|
|
2010
2010
|
});
|
|
2011
2011
|
//#endregion
|
|
2012
|
-
export { O as activateCreditCard, P as activateDebitCard, cn as bulkUpdateDepartmentMembers, hn as bulkUpdateLocationMembers, vn as bulkUpdateRoleMembers, z as connectExternalBankAccount, K as createAchMoneyMovement, s as createApplication, p as createBankAccount, q as createBookTransfer, b as createCheckDeposit, A as createDebitCard, rn as createDepartment, dn as createLocation, Cn as createUser, o as createVelocityControl, an as deactivateDepartment, fn as deactivateLocation, ee as deleteApprovalPoliciesId, c as deleteBankAccountApplication, le as deleteCounterpartsId, _e as deleteCounterpartsIdBankAccountsId, xe as deleteEntitiesIdLogo, ke as deleteFilesId, Me as deleteLedgerAccountsId, Le as deleteMeasureUnitsId, We as deletePayablesId, Qe as deletePayablesIdFile,
|
|
2012
|
+
export { O as activateCreditCard, P as activateDebitCard, cn as bulkUpdateDepartmentMembers, hn as bulkUpdateLocationMembers, vn as bulkUpdateRoleMembers, z as connectExternalBankAccount, K as createAchMoneyMovement, s as createApplication, p as createBankAccount, q as createBookTransfer, b as createCheckDeposit, A as createDebitCard, rn as createDepartment, dn as createLocation, Cn as createUser, o as createVelocityControl, an as deactivateDepartment, fn as deactivateLocation, ee as deleteApprovalPoliciesId, c as deleteBankAccountApplication, le as deleteCounterpartsId, _e as deleteCounterpartsIdBankAccountsId, xe as deleteEntitiesIdLogo, ke as deleteFilesId, Me as deleteLedgerAccountsId, Le as deleteMeasureUnitsId, We as deletePayablesId, Qe as deletePayablesIdFile, _t as deleteProductsId, St as deleteReceiptsId, Dt as deleteReceivablesId, Tn as disableUser, w as downloadBankAccountTransactions, J as getAnalyticsPayables, Y as getAnalyticsReceipts, X as getAnalyticsReceivables, Z as getAnalyticsTransactions, r as getApiWidgetGatewayInit, i as getApplicationStatus, Q as getApprovalPolicies, ne as getApprovalRequests, g as getBankAccount, v as getBankAccountAccess, l as getBankAccountApplication, S as getBankAccountStatement, x as getBankAccountStatements, C as getBankAccountTransactions, T as getBankAccountTransfers, f as getBankAccounts, ae as getBankDetails, se as getCounterparts, ue as getCounterpartsId, fe as getCounterpartsIdAddresses, he as getCounterpartsIdBankAccounts, D as getCreditCardById, E as getCreditCards, M as getDebitCardById, F as getDebitCardCredentials, k as getDebitCards, on as getDepartment, h as getDepositableBankAccounts, ln as getDisclosures, be as getDocumentsIdNextNumbers, Ce as getEntitiesIdSettings, Te as getEntityUsers, Ee as getEntityUsersMe, De as getEntityUsersMyEntity, H as getExternalBankAccountAccess, R as getExternalBankAccounts, Ae as getLedgerAccounts, pn as getLocation, Pe as getMailboxes, Fe as getMeasureUnits, a as getMerchantCategoryGroups, gn as getOrganization, ze as getOverdueReminders, Ve as getPayables, Ge as getPayablesId, $e as getPayablesIdHistory, et as getPayablesIdLineItems, st as getPayablesIdSuggestions, ut as getPaymentRecords, ft as getPaymentReminders, mt as getPaymentTerms, ht as getProducts, vt as getProductsId, bt as getReceipts, wt as getReceivables, Ot as getReceivablesId, Pt as getReceivablesIdHistory, Rt as getReceivablesIdPdfLink, Et as getReceivablesRequiredFields, Vt as getRecurrencesId, Kt as getTransactions, Yt as getTransactionsId, Qt as getTransactionsIdExpenseHistory, qt as getTransactionsValidations, bn as getUserData, Sn as getUsers, y as grantBankAccountAccess, U as grantExternalBankAccountAccess, W as linkExternalBankAccount, nn as listDepartments, un as listLocations, yn as listRolePermissions, _n as listRoles, m as manageBankAccountAccess, j as manageDebitCardAccess, te as patchApprovalPoliciesId, de as patchCounterpartsId, me as patchCounterpartsIdAddressesId, ve as patchCounterpartsIdBankAccountsId, we as patchEntitiesIdSettings, Ne as patchLedgerAccountsId, Re as patchMeasureUnitsId, Ke as patchPayablesId, yt as patchProductsId, Ct as patchReceiptsId, kt as patchReceivablesId, Ht as patchRecurrencesId, Xt as patchTransactionsId, n as postApiWidgetGatewayDisclosureAcceptance, $ as postApprovalPolicies, re as postApprovalRequestsIdApprove, ie as postApprovalRequestsIdReject, oe as postBankDetails, ce as postCounterparts, pe as postCounterpartsIdAddresses, ge as postCounterpartsIdBankAccounts, ye as postCounterpartsIdBankAccountsIdMakeDefault, Oe as postFiles, je as postLedgerAccounts, Ie as postMeasureUnits, Be as postOverdueReminders, He as postPayables, qe as postPayablesIdApprovePaymentOperation, Je as postPayablesIdAttachFile, Ye as postPayablesIdCancel, Xe as postPayablesIdDuplicatesIdConfirm, Ze as postPayablesIdDuplicatesIdDismiss, nt as postPayablesIdMarkAsPaid, rt as postPayablesIdReject, it as postPayablesIdReopen, at as postPayablesIdSchedulePayment, ot as postPayablesIdSubmitForApproval, ct as postPayablesIdValidate, Ue as postPayablesUploadFromFile, lt as postPaymentIntentsIdCancel, dt as postPaymentRecords, pt as postPaymentReminders, gt as postProducts, xt as postReceiptsUploadFromFile, Tt as postReceivables, At as postReceivablesIdAccept, jt as postReceivablesIdCancel, Mt as postReceivablesIdClone, Nt as postReceivablesIdDecline, Ft as postReceivablesIdIssue, It as postReceivablesIdMarkAsPaid, Lt as postReceivablesIdMarkAsUncollectible, zt as postReceivablesIdSend, Bt as postRecurrences, Ut as postRecurrencesIdCancel, Wt as postRecurrencesIdPause, Gt as postRecurrencesIdResume, Zt as postTransactionsIdApprove, $t as postTransactionsIdReject, en as postTransactionsIdReopen, tn as postTransactionsIdSubmit, Se as putEntitiesIdLogo, tt as putPayablesIdLineItems, Jt as putTransactionsValidations, I as setDebitCardLockStatus, d as submitApplication, B as unlinkExternalBankAccount, u as updateApplication, _ as updateBankAccount, N as updateDebitCard, sn as updateDepartment, V as updateExternalBankAccount, mn as updateLocation, wn as updateUser, xn as upsertUserData, G as validateExternalBankAccount, L as verifyDebitCard };
|
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.254", n = "47e54734e0ac7d66b3406ae9be122f27648d928e", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -16621,8 +16621,8 @@ function Nj(e) {
|
|
|
16621
16621
|
function Pj(e) {
|
|
16622
16622
|
return e == null ? [] : Array.isArray(e) ? e : [e];
|
|
16623
16623
|
}
|
|
16624
|
-
function Fj({ value: t, onChange: n, placeholder: r = "Pick a date", disabled: i, minDate: a, maxDate: o, defaultMonth: s, disabledDates: c, className: l, id: u, "aria-invalid": d,
|
|
16625
|
-
let [
|
|
16624
|
+
function Fj({ value: t, onChange: n, placeholder: r = "Pick a date", disabled: i, minDate: a, maxDate: o, defaultMonth: s, disabledDates: c, className: l, id: u, "aria-invalid": d, "aria-describedby": f, container: p }) {
|
|
16625
|
+
let [m, h] = e.useState(!1), g = e.useMemo(() => {
|
|
16626
16626
|
let e = [
|
|
16627
16627
|
...a ? [{ before: a }] : [],
|
|
16628
16628
|
...o ? [{ after: o }] : [],
|
|
@@ -16635,8 +16635,8 @@ function Fj({ value: t, onChange: n, placeholder: r = "Pick a date", disabled: i
|
|
|
16635
16635
|
c
|
|
16636
16636
|
]);
|
|
16637
16637
|
return /* @__PURE__ */ v(ZC, {
|
|
16638
|
-
open:
|
|
16639
|
-
onOpenChange:
|
|
16638
|
+
open: m,
|
|
16639
|
+
onOpenChange: h,
|
|
16640
16640
|
children: [/* @__PURE__ */ _(QC, {
|
|
16641
16641
|
asChild: !0,
|
|
16642
16642
|
children: /* @__PURE__ */ v(Tv, {
|
|
@@ -16645,21 +16645,22 @@ function Fj({ value: t, onChange: n, placeholder: r = "Pick a date", disabled: i
|
|
|
16645
16645
|
variant: "outline",
|
|
16646
16646
|
disabled: i,
|
|
16647
16647
|
"aria-invalid": d,
|
|
16648
|
+
"aria-describedby": f,
|
|
16648
16649
|
className: J("ttw:w-full ttw:justify-start ttw:text-left ttw:font-normal", !t && "ttw:text-muted-foreground", l),
|
|
16649
16650
|
children: [/* @__PURE__ */ _(I, { className: "ttw:mr-2 ttw:size-4" }), t ? Nj(t) : r]
|
|
16650
16651
|
})
|
|
16651
16652
|
}), /* @__PURE__ */ _($C, {
|
|
16652
16653
|
className: "ttw:w-auto ttw:p-0",
|
|
16653
16654
|
align: "start",
|
|
16654
|
-
container:
|
|
16655
|
+
container: p,
|
|
16655
16656
|
children: /* @__PURE__ */ _(hO, {
|
|
16656
16657
|
mode: "single",
|
|
16657
16658
|
selected: t,
|
|
16658
16659
|
onSelect: (e) => {
|
|
16659
|
-
n(e),
|
|
16660
|
+
n(e), h(!1);
|
|
16660
16661
|
},
|
|
16661
16662
|
captionLayout: "dropdown",
|
|
16662
|
-
disabled:
|
|
16663
|
+
disabled: g,
|
|
16663
16664
|
startMonth: a,
|
|
16664
16665
|
endMonth: o,
|
|
16665
16666
|
defaultMonth: t ?? s ?? o ?? a
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js
|
|
2
|
-
var e = {
|
|
3
|
-
dropPrefix: "Drop your files here, or",
|
|
4
|
-
browseAction: "browse to upload",
|
|
5
|
-
fileTypesHint: "PDF, JPG, or PNG (max. 3MB)",
|
|
6
|
-
fileCountHint: (e) => `up to ${e} files at a time`,
|
|
7
|
-
uploadingText: "Uploading…",
|
|
8
|
-
fileInput: "Choose a file to upload"
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
export { e as BILL_UPLOAD_DROPZONE_LABELS_EN };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { REVEALABLE_FIELD_LABELS_EN as t } from "./index26.js";
|
|
3
|
-
import { useState as n } from "react";
|
|
4
|
-
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
-
import { Eye as a, EyeOff as o } from "lucide-react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js
|
|
7
|
-
function s({ field: s, labels: c }) {
|
|
8
|
-
let l = {
|
|
9
|
-
...t,
|
|
10
|
-
...c
|
|
11
|
-
}, [u, d] = n(!1), f = s.maskedValue && !u ? s.maskedValue : s.value;
|
|
12
|
-
return /* @__PURE__ */ i("div", {
|
|
13
|
-
className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-3",
|
|
14
|
-
children: [/* @__PURE__ */ i("div", {
|
|
15
|
-
className: "ttw:min-w-0",
|
|
16
|
-
children: [/* @__PURE__ */ r("dt", {
|
|
17
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
18
|
-
children: s.label
|
|
19
|
-
}), /* @__PURE__ */ r("dd", {
|
|
20
|
-
className: "ttw:break-words ttw:text-sm ttw:font-medium",
|
|
21
|
-
children: f
|
|
22
|
-
})]
|
|
23
|
-
}), s.maskedValue ? /* @__PURE__ */ r(e, {
|
|
24
|
-
type: "button",
|
|
25
|
-
variant: "ghost",
|
|
26
|
-
size: "icon",
|
|
27
|
-
"aria-label": u ? l.hideValue : l.revealValue,
|
|
28
|
-
onClick: () => d((e) => !e),
|
|
29
|
-
children: r(u ? o : a, { className: "ttw:size-4" })
|
|
30
|
-
}) : null]
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { s as RevealableField, s as default };
|