@tesouro/embedded-components-react 0.5.221 → 0.5.222

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/index.css +84 -0
  2. package/dist/index.d.ts +25 -0
  3. package/dist/index.js +1 -1
  4. package/dist/lib/ReceivablesWidget.d.ts +25 -0
  5. package/dist/lib/ReceivablesWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +18 -1
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +219 -453
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +34 -41
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +463 -32
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +39 -77
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +34 -112
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +75 -310
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +121 -0
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +317 -0
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +30 -27
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +7 -5
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +2 -28
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +4 -236
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +0 -2
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +90 -239
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +24 -89
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +231 -54
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +3 -353
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +249 -0
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +93 -0
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +59 -0
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +353 -0
  29. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMyEntityQuery.js +8 -8
  30. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  31. package/package.json +1 -1
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +0 -100
package/dist/index.css CHANGED
@@ -472,6 +472,9 @@
472
472
  .ttw\:mt-12 {
473
473
  margin-top: calc(var(--ttw-spacing) * 12);
474
474
  }
475
+ .ttw\:mt-\[0\.139rem\] {
476
+ margin-top: 0.139rem;
477
+ }
475
478
  .ttw\:mt-auto {
476
479
  margin-top: auto;
477
480
  }
@@ -595,6 +598,9 @@
595
598
  .ttw\:aspect-\[4\/3\] {
596
599
  aspect-ratio: 4/3;
597
600
  }
601
+ .ttw\:aspect-\[8\.5\/11\] {
602
+ aspect-ratio: 8.5/11;
603
+ }
598
604
  .ttw\:aspect-square {
599
605
  aspect-ratio: 1 / 1;
600
606
  }
@@ -674,10 +680,18 @@
674
680
  width: calc(var(--ttw-spacing) * 16);
675
681
  height: calc(var(--ttw-spacing) * 16);
676
682
  }
683
+ .ttw\:size-18 {
684
+ width: calc(var(--ttw-spacing) * 18);
685
+ height: calc(var(--ttw-spacing) * 18);
686
+ }
677
687
  .ttw\:size-20 {
678
688
  width: calc(var(--ttw-spacing) * 20);
679
689
  height: calc(var(--ttw-spacing) * 20);
680
690
  }
691
+ .ttw\:size-\[1em\] {
692
+ width: 1em;
693
+ height: 1em;
694
+ }
681
695
  .ttw\:size-\[18px\] {
682
696
  width: 18px;
683
697
  height: 18px;
@@ -930,6 +944,9 @@
930
944
  .ttw\:max-h-96 {
931
945
  max-height: calc(var(--ttw-spacing) * 96);
932
946
  }
947
+ .ttw\:max-h-\[4\.4375rem\] {
948
+ max-height: 4.4375rem;
949
+ }
933
950
  .ttw\:max-h-\[80vh\] {
934
951
  max-height: 80vh;
935
952
  }
@@ -1008,6 +1025,9 @@
1008
1025
  .ttw\:min-h-125 {
1009
1026
  min-height: calc(var(--ttw-spacing) * 125);
1010
1027
  }
1028
+ .ttw\:min-h-\[4\.4375rem\] {
1029
+ min-height: 4.4375rem;
1030
+ }
1011
1031
  .ttw\:min-h-\[29\.7cm\] {
1012
1032
  min-height: 29.7cm;
1013
1033
  }
@@ -1122,6 +1142,9 @@
1122
1142
  .ttw\:w-16 {
1123
1143
  width: calc(var(--ttw-spacing) * 16);
1124
1144
  }
1145
+ .ttw\:w-18 {
1146
+ width: calc(var(--ttw-spacing) * 18);
1147
+ }
1125
1148
  .ttw\:w-20 {
1126
1149
  width: calc(var(--ttw-spacing) * 20);
1127
1150
  }
@@ -1245,6 +1268,9 @@
1245
1268
  .ttw\:w-\[15\%\] {
1246
1269
  width: 15%;
1247
1270
  }
1271
+ .ttw\:w-\[18\.75rem\] {
1272
+ width: 18.75rem;
1273
+ }
1248
1274
  .ttw\:w-\[20\%\] {
1249
1275
  width: 20%;
1250
1276
  }
@@ -1401,6 +1427,9 @@
1401
1427
  .ttw\:max-w-60 {
1402
1428
  max-width: calc(var(--ttw-spacing) * 60);
1403
1429
  }
1430
+ .ttw\:max-w-80 {
1431
+ max-width: calc(var(--ttw-spacing) * 80);
1432
+ }
1404
1433
  .ttw\:max-w-100 {
1405
1434
  max-width: calc(var(--ttw-spacing) * 100);
1406
1435
  }
@@ -1419,6 +1448,9 @@
1419
1448
  .ttw\:max-w-\[8\.5in\] {
1420
1449
  max-width: 8.5in;
1421
1450
  }
1451
+ .ttw\:max-w-\[8\.875rem\] {
1452
+ max-width: 8.875rem;
1453
+ }
1422
1454
  .ttw\:max-w-\[60\%\] {
1423
1455
  max-width: 60%;
1424
1456
  }
@@ -1551,6 +1583,9 @@
1551
1583
  .ttw\:min-w-56 {
1552
1584
  min-width: calc(var(--ttw-spacing) * 56);
1553
1585
  }
1586
+ .ttw\:min-w-60 {
1587
+ min-width: calc(var(--ttw-spacing) * 60);
1588
+ }
1554
1589
  .ttw\:min-w-64 {
1555
1590
  min-width: calc(var(--ttw-spacing) * 64);
1556
1591
  }
@@ -1569,6 +1604,9 @@
1569
1604
  .ttw\:min-w-\[4ch\] {
1570
1605
  min-width: 4ch;
1571
1606
  }
1607
+ .ttw\:min-w-\[8\.875rem\] {
1608
+ min-width: 8.875rem;
1609
+ }
1572
1610
  .ttw\:min-w-\[8rem\] {
1573
1611
  min-width: 8rem;
1574
1612
  }
@@ -1626,6 +1664,9 @@
1626
1664
  .ttw\:basis-56 {
1627
1665
  flex-basis: calc(var(--ttw-spacing) * 56);
1628
1666
  }
1667
+ .ttw\:basis-\[6\.5rem\] {
1668
+ flex-basis: 6.5rem;
1669
+ }
1629
1670
  .ttw\:table-fixed {
1630
1671
  table-layout: fixed;
1631
1672
  }
@@ -1931,6 +1972,12 @@
1931
1972
  .ttw\:gap-12 {
1932
1973
  gap: calc(var(--ttw-spacing) * 12);
1933
1974
  }
1975
+ .ttw\:gap-\[0\.139rem\] {
1976
+ gap: 0.139rem;
1977
+ }
1978
+ .ttw\:gap-\[0\.416rem\] {
1979
+ gap: 0.416rem;
1980
+ }
1934
1981
  :where(.ttw\:space-y-0 > :not(:last-child)) {
1935
1982
  --tw-space-y-reverse: 0;
1936
1983
  margin-block-start: 0;
@@ -3020,6 +3067,9 @@
3020
3067
  .ttw\:p-12 {
3021
3068
  padding: calc(var(--ttw-spacing) * 12);
3022
3069
  }
3070
+ .ttw\:p-\[0\.554rem\] {
3071
+ padding: 0.554rem;
3072
+ }
3023
3073
  .ttw\:p-\[3px\] {
3024
3074
  padding: 3px;
3025
3075
  }
@@ -3080,6 +3130,9 @@
3080
3130
  .ttw\:px-8 {
3081
3131
  padding-inline: calc(var(--ttw-spacing) * 8);
3082
3132
  }
3133
+ .ttw\:px-\[0\.554rem\] {
3134
+ padding-inline: 0.554rem;
3135
+ }
3083
3136
  .ttw\:\!py-2 {
3084
3137
  padding-block: calc(var(--ttw-spacing) * 2) !important;
3085
3138
  }
@@ -3140,6 +3193,9 @@
3140
3193
  .ttw\:py-20 {
3141
3194
  padding-block: calc(var(--ttw-spacing) * 20);
3142
3195
  }
3196
+ .ttw\:py-\[0\.2775rem\] {
3197
+ padding-block: 0.2775rem;
3198
+ }
3143
3199
  .ttw\:py-\[7px\] {
3144
3200
  padding-block: 7px;
3145
3201
  }
@@ -3374,6 +3430,12 @@
3374
3430
  .ttw\:text-\[0\.8rem\] {
3375
3431
  font-size: 0.8rem;
3376
3432
  }
3433
+ .ttw\:text-\[0\.624rem\] {
3434
+ font-size: 0.624rem;
3435
+ }
3436
+ .ttw\:text-\[0\.832rem\] {
3437
+ font-size: 0.832rem;
3438
+ }
3377
3439
  .ttw\:text-\[9px\] {
3378
3440
  font-size: 9px;
3379
3441
  }
@@ -3386,6 +3448,9 @@
3386
3448
  .ttw\:text-\[30px\] {
3387
3449
  font-size: 30px;
3388
3450
  }
3451
+ .ttw\:text-\[length\:inherit\] {
3452
+ font-size: inherit;
3453
+ }
3389
3454
  .ttw\:leading-3\.5 {
3390
3455
  --tw-leading: calc(var(--ttw-spacing) * 3.5);
3391
3456
  line-height: calc(var(--ttw-spacing) * 3.5);
@@ -3418,6 +3483,18 @@
3418
3483
  --tw-leading: calc(var(--ttw-spacing) * 9);
3419
3484
  line-height: calc(var(--ttw-spacing) * 9);
3420
3485
  }
3486
+ .ttw\:leading-\[0\.832rem\] {
3487
+ --tw-leading: 0.832rem;
3488
+ line-height: 0.832rem;
3489
+ }
3490
+ .ttw\:leading-\[1\.1\] {
3491
+ --tw-leading: 1.1;
3492
+ line-height: 1.1;
3493
+ }
3494
+ .ttw\:leading-\[1\.333\] {
3495
+ --tw-leading: 1.333;
3496
+ line-height: 1.333;
3497
+ }
3421
3498
  .ttw\:leading-none {
3422
3499
  --tw-leading: 1;
3423
3500
  line-height: 1;
@@ -3776,6 +3853,9 @@
3776
3853
  .ttw\:uppercase {
3777
3854
  text-transform: uppercase;
3778
3855
  }
3856
+ .ttw\:italic {
3857
+ font-style: italic;
3858
+ }
3779
3859
  .ttw\:not-italic {
3780
3860
  font-style: normal;
3781
3861
  }
@@ -3792,6 +3872,10 @@
3792
3872
  .ttw\:underline-offset-4 {
3793
3873
  text-underline-offset: 4px;
3794
3874
  }
3875
+ .ttw\:antialiased {
3876
+ -webkit-font-smoothing: antialiased;
3877
+ -moz-osx-font-smoothing: grayscale;
3878
+ }
3795
3879
  .ttw\:accent-primary {
3796
3880
  accent-color: var(--ttw-primary);
3797
3881
  }
package/dist/index.d.ts CHANGED
@@ -5320,6 +5320,31 @@ interface ReceivableMessageLabels {
5320
5320
  issueRemindersDisabled: string;
5321
5321
  issueRemindersNoEmail: string;
5322
5322
  issueRemindersDisabledNoEmail: string;
5323
+ /** `{taxId}` is replaced with the party's tax ID. */
5324
+ previewTaxId: string;
5325
+ previewTaxableYes: string;
5326
+ previewTaxableNo: string;
5327
+ previewSubtotal: string;
5328
+ previewDiscount: string;
5329
+ previewNonTaxableSubtotal: string;
5330
+ previewTaxableSubtotal: string;
5331
+ previewTax: string;
5332
+ /** `{rate}` is replaced with the tax rate, e.g. "6.25". */
5333
+ previewTaxWithRate: string;
5334
+ previewTotal: string;
5335
+ previewDueOnReceipt: string;
5336
+ /** `{days}` is replaced with the term's number of days. */
5337
+ previewNetDays: string;
5338
+ /** `{days}` is replaced with the early-payment window. */
5339
+ previewEarlyPaymentDays: string;
5340
+ /** `{rate}` is replaced with the early-payment discount percentage. */
5341
+ previewEarlyPaymentDiscount: string;
5342
+ /** `{value}` is replaced with the account holder's name. */
5343
+ previewAccountHolderName: string;
5344
+ /** `{value}` is replaced with the routing number. */
5345
+ previewRoutingNumber: string;
5346
+ /** `{value}` is replaced with the account number. */
5347
+ previewAccountNumber: string;
5323
5348
  }
5324
5349
 
5325
5350
  interface ReceivablesWidgetOwnProps {
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import { InsightsWidget as L } from "./libs/tesouro-embedded-components-react/in
27
27
  import { UploadReceiptWidget as R } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index2.js";
28
28
  import { ExpenseManagementWidget as z } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index21.js";
29
29
  import { InvoicingWidget as B } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js";
30
- import { ReceivablesWidget as V } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js";
30
+ import { ReceivablesWidget as V } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js";
31
31
  import { SettingsSection as H } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index4.js";
32
32
  import { HELP_FAQ_EN as U } from "./libs/tesouro-embedded-components-react/settings-widget/help/ui/contract/dist/index3.js";
33
33
  import { SettingsWidget as W } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js";
@@ -1310,6 +1310,31 @@ interface ReceivableMessageLabels {
1310
1310
  issueRemindersDisabled: string;
1311
1311
  issueRemindersNoEmail: string;
1312
1312
  issueRemindersDisabledNoEmail: string;
1313
+ /** `{taxId}` is replaced with the party's tax ID. */
1314
+ previewTaxId: string;
1315
+ previewTaxableYes: string;
1316
+ previewTaxableNo: string;
1317
+ previewSubtotal: string;
1318
+ previewDiscount: string;
1319
+ previewNonTaxableSubtotal: string;
1320
+ previewTaxableSubtotal: string;
1321
+ previewTax: string;
1322
+ /** `{rate}` is replaced with the tax rate, e.g. "6.25". */
1323
+ previewTaxWithRate: string;
1324
+ previewTotal: string;
1325
+ previewDueOnReceipt: string;
1326
+ /** `{days}` is replaced with the term's number of days. */
1327
+ previewNetDays: string;
1328
+ /** `{days}` is replaced with the early-payment window. */
1329
+ previewEarlyPaymentDays: string;
1330
+ /** `{rate}` is replaced with the early-payment discount percentage. */
1331
+ previewEarlyPaymentDiscount: string;
1332
+ /** `{value}` is replaced with the account holder's name. */
1333
+ previewAccountHolderName: string;
1334
+ /** `{value}` is replaced with the routing number. */
1335
+ previewRoutingNumber: string;
1336
+ /** `{value}` is replaced with the account number. */
1337
+ previewAccountNumber: string;
1313
1338
  }
1314
1339
 
1315
1340
  interface ReceivablesWidgetOwnProps {
@@ -1,3 +1,3 @@
1
- import { ReceivablesWidget as e } from "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js";
1
+ import { ReceivablesWidget as e } from "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js";
2
2
  import "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js";
3
3
  export { e as ReceivablesWidget };
@@ -1,3 +1,3 @@
1
1
  import { InvoicingWidget as e } from "./index3.js";
2
- import { ReceivablesWidget as t } from "./index28.js";
2
+ import { ReceivablesWidget as t } from "./index30.js";
3
3
  export { e as InvoicingWidget, t as ReceivablesWidget };
@@ -162,7 +162,24 @@ var e = {
162
162
  reminderOverdueBodyNoDate: "Payment is overdue.",
163
163
  issueRemindersDisabled: "Payment reminders are disabled for this customer. Please enable them in the customer details or turn them off.",
164
164
  issueRemindersNoEmail: "No email address is added for the selected customer. Please add it to the customer details or turn off the reminders.",
165
- issueRemindersDisabledNoEmail: "Reminders are disabled for this customer, and no email address has been added for it. Please update the details or turn off reminders."
165
+ issueRemindersDisabledNoEmail: "Reminders are disabled for this customer, and no email address has been added for it. Please update the details or turn off reminders.",
166
+ previewTaxId: "Tax: {taxId}",
167
+ previewTaxableYes: "Yes",
168
+ previewTaxableNo: "No",
169
+ previewSubtotal: "Subtotal",
170
+ previewDiscount: "Discount",
171
+ previewNonTaxableSubtotal: "Non-taxable subtotal",
172
+ previewTaxableSubtotal: "Taxable subtotal",
173
+ previewTax: "Tax",
174
+ previewTaxWithRate: "Tax ({rate}%)",
175
+ previewTotal: "Total",
176
+ previewDueOnReceipt: "Due on receipt",
177
+ previewNetDays: "Net {days}",
178
+ previewEarlyPaymentDays: "Pay in the first {days} days",
179
+ previewEarlyPaymentDiscount: "{rate}% discount",
180
+ previewAccountHolderName: "Account holder name: {value}",
181
+ previewRoutingNumber: "Routing number: {value}",
182
+ previewAccountNumber: "Account number: {value}"
166
183
  };
167
184
  //#endregion
168
185
  export { e as RECEIVABLE_MESSAGE_LABELS_EN };