@layerfi/components 0.1.106-alpha.1 → 0.1.106
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/cjs/index.cjs +237 -186
- package/dist/esm/index.mjs +186 -135
- package/dist/index.css +54 -39
- package/dist/index.d.ts +85 -26
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3300,6 +3300,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3300
3300
|
unitPrice: number;
|
|
3301
3301
|
quantity: BD.BigDecimal;
|
|
3302
3302
|
amount: number;
|
|
3303
|
+
isTaxable: boolean;
|
|
3303
3304
|
};
|
|
3304
3305
|
type UseInvoiceFormProps = {
|
|
3305
3306
|
onSuccess?: (invoice: Invoice) => void;
|
|
@@ -3321,6 +3322,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3321
3322
|
unitPrice: number;
|
|
3322
3323
|
quantity: BD.BigDecimal;
|
|
3323
3324
|
amount: number;
|
|
3325
|
+
isTaxable: boolean;
|
|
3324
3326
|
}[];
|
|
3325
3327
|
} | {
|
|
3326
3328
|
invoiceNumber: string | null;
|
|
@@ -3343,6 +3345,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3343
3345
|
address: string | null | undefined;
|
|
3344
3346
|
lineItems: {
|
|
3345
3347
|
amount: number;
|
|
3348
|
+
isTaxable: boolean;
|
|
3346
3349
|
id: string;
|
|
3347
3350
|
externalId: string | null;
|
|
3348
3351
|
memo: string | null;
|
|
@@ -3367,6 +3370,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3367
3370
|
unitPrice: number;
|
|
3368
3371
|
quantity: BD.BigDecimal;
|
|
3369
3372
|
amount: number;
|
|
3373
|
+
isTaxable: boolean;
|
|
3370
3374
|
}[];
|
|
3371
3375
|
} | {
|
|
3372
3376
|
invoiceNumber: string | null;
|
|
@@ -3389,6 +3393,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3389
3393
|
address: string | null | undefined;
|
|
3390
3394
|
lineItems: {
|
|
3391
3395
|
amount: number;
|
|
3396
|
+
isTaxable: boolean;
|
|
3392
3397
|
id: string;
|
|
3393
3398
|
externalId: string | null;
|
|
3394
3399
|
memo: string | null;
|
|
@@ -3413,6 +3418,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3413
3418
|
unitPrice: number;
|
|
3414
3419
|
quantity: BD.BigDecimal;
|
|
3415
3420
|
amount: number;
|
|
3421
|
+
isTaxable: boolean;
|
|
3416
3422
|
}[];
|
|
3417
3423
|
} | {
|
|
3418
3424
|
invoiceNumber: string | null;
|
|
@@ -3435,6 +3441,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3435
3441
|
address: string | null | undefined;
|
|
3436
3442
|
lineItems: {
|
|
3437
3443
|
amount: number;
|
|
3444
|
+
isTaxable: boolean;
|
|
3438
3445
|
id: string;
|
|
3439
3446
|
externalId: string | null;
|
|
3440
3447
|
memo: string | null;
|
|
@@ -3459,6 +3466,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3459
3466
|
unitPrice: number;
|
|
3460
3467
|
quantity: BD.BigDecimal;
|
|
3461
3468
|
amount: number;
|
|
3469
|
+
isTaxable: boolean;
|
|
3462
3470
|
}[];
|
|
3463
3471
|
} | {
|
|
3464
3472
|
invoiceNumber: string | null;
|
|
@@ -3481,6 +3489,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3481
3489
|
address: string | null | undefined;
|
|
3482
3490
|
lineItems: {
|
|
3483
3491
|
amount: number;
|
|
3492
|
+
isTaxable: boolean;
|
|
3484
3493
|
id: string;
|
|
3485
3494
|
externalId: string | null;
|
|
3486
3495
|
memo: string | null;
|
|
@@ -3505,6 +3514,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3505
3514
|
unitPrice: number;
|
|
3506
3515
|
quantity: BD.BigDecimal;
|
|
3507
3516
|
amount: number;
|
|
3517
|
+
isTaxable: boolean;
|
|
3508
3518
|
}[];
|
|
3509
3519
|
} | {
|
|
3510
3520
|
invoiceNumber: string | null;
|
|
@@ -3527,6 +3537,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3527
3537
|
address: string | null | undefined;
|
|
3528
3538
|
lineItems: {
|
|
3529
3539
|
amount: number;
|
|
3540
|
+
isTaxable: boolean;
|
|
3530
3541
|
id: string;
|
|
3531
3542
|
externalId: string | null;
|
|
3532
3543
|
memo: string | null;
|
|
@@ -3551,6 +3562,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3551
3562
|
unitPrice: number;
|
|
3552
3563
|
quantity: BD.BigDecimal;
|
|
3553
3564
|
amount: number;
|
|
3565
|
+
isTaxable: boolean;
|
|
3554
3566
|
}[];
|
|
3555
3567
|
} | {
|
|
3556
3568
|
invoiceNumber: string | null;
|
|
@@ -3573,6 +3585,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3573
3585
|
address: string | null | undefined;
|
|
3574
3586
|
lineItems: {
|
|
3575
3587
|
amount: number;
|
|
3588
|
+
isTaxable: boolean;
|
|
3576
3589
|
id: string;
|
|
3577
3590
|
externalId: string | null;
|
|
3578
3591
|
memo: string | null;
|
|
@@ -3597,6 +3610,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3597
3610
|
unitPrice: number;
|
|
3598
3611
|
quantity: BD.BigDecimal;
|
|
3599
3612
|
amount: number;
|
|
3613
|
+
isTaxable: boolean;
|
|
3600
3614
|
}[];
|
|
3601
3615
|
} | {
|
|
3602
3616
|
invoiceNumber: string | null;
|
|
@@ -3619,6 +3633,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3619
3633
|
address: string | null | undefined;
|
|
3620
3634
|
lineItems: {
|
|
3621
3635
|
amount: number;
|
|
3636
|
+
isTaxable: boolean;
|
|
3622
3637
|
id: string;
|
|
3623
3638
|
externalId: string | null;
|
|
3624
3639
|
memo: string | null;
|
|
@@ -3643,6 +3658,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3643
3658
|
unitPrice: number;
|
|
3644
3659
|
quantity: BD.BigDecimal;
|
|
3645
3660
|
amount: number;
|
|
3661
|
+
isTaxable: boolean;
|
|
3646
3662
|
}[];
|
|
3647
3663
|
} | {
|
|
3648
3664
|
invoiceNumber: string | null;
|
|
@@ -3665,6 +3681,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3665
3681
|
address: string | null | undefined;
|
|
3666
3682
|
lineItems: {
|
|
3667
3683
|
amount: number;
|
|
3684
|
+
isTaxable: boolean;
|
|
3668
3685
|
id: string;
|
|
3669
3686
|
externalId: string | null;
|
|
3670
3687
|
memo: string | null;
|
|
@@ -3689,6 +3706,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3689
3706
|
unitPrice: number;
|
|
3690
3707
|
quantity: BD.BigDecimal;
|
|
3691
3708
|
amount: number;
|
|
3709
|
+
isTaxable: boolean;
|
|
3692
3710
|
}[];
|
|
3693
3711
|
} | {
|
|
3694
3712
|
invoiceNumber: string | null;
|
|
@@ -3711,6 +3729,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3711
3729
|
address: string | null | undefined;
|
|
3712
3730
|
lineItems: {
|
|
3713
3731
|
amount: number;
|
|
3732
|
+
isTaxable: boolean;
|
|
3714
3733
|
id: string;
|
|
3715
3734
|
externalId: string | null;
|
|
3716
3735
|
memo: string | null;
|
|
@@ -3735,6 +3754,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3735
3754
|
unitPrice: number;
|
|
3736
3755
|
quantity: BD.BigDecimal;
|
|
3737
3756
|
amount: number;
|
|
3757
|
+
isTaxable: boolean;
|
|
3738
3758
|
}[];
|
|
3739
3759
|
} | {
|
|
3740
3760
|
invoiceNumber: string | null;
|
|
@@ -3757,6 +3777,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3757
3777
|
address: string | null | undefined;
|
|
3758
3778
|
lineItems: {
|
|
3759
3779
|
amount: number;
|
|
3780
|
+
isTaxable: boolean;
|
|
3760
3781
|
id: string;
|
|
3761
3782
|
externalId: string | null;
|
|
3762
3783
|
memo: string | null;
|
|
@@ -3781,6 +3802,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3781
3802
|
unitPrice: number;
|
|
3782
3803
|
quantity: BD.BigDecimal;
|
|
3783
3804
|
amount: number;
|
|
3805
|
+
isTaxable: boolean;
|
|
3784
3806
|
}[];
|
|
3785
3807
|
} | {
|
|
3786
3808
|
invoiceNumber: string | null;
|
|
@@ -3803,6 +3825,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3803
3825
|
address: string | null | undefined;
|
|
3804
3826
|
lineItems: {
|
|
3805
3827
|
amount: number;
|
|
3828
|
+
isTaxable: boolean;
|
|
3806
3829
|
id: string;
|
|
3807
3830
|
externalId: string | null;
|
|
3808
3831
|
memo: string | null;
|
|
@@ -3827,6 +3850,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3827
3850
|
unitPrice: number;
|
|
3828
3851
|
quantity: BD.BigDecimal;
|
|
3829
3852
|
amount: number;
|
|
3853
|
+
isTaxable: boolean;
|
|
3830
3854
|
}[];
|
|
3831
3855
|
} | {
|
|
3832
3856
|
invoiceNumber: string | null;
|
|
@@ -3849,6 +3873,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3849
3873
|
address: string | null | undefined;
|
|
3850
3874
|
lineItems: {
|
|
3851
3875
|
amount: number;
|
|
3876
|
+
isTaxable: boolean;
|
|
3852
3877
|
id: string;
|
|
3853
3878
|
externalId: string | null;
|
|
3854
3879
|
memo: string | null;
|
|
@@ -3873,6 +3898,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3873
3898
|
unitPrice: number;
|
|
3874
3899
|
quantity: BD.BigDecimal;
|
|
3875
3900
|
amount: number;
|
|
3901
|
+
isTaxable: boolean;
|
|
3876
3902
|
}[];
|
|
3877
3903
|
} | {
|
|
3878
3904
|
invoiceNumber: string | null;
|
|
@@ -3895,6 +3921,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3895
3921
|
address: string | null | undefined;
|
|
3896
3922
|
lineItems: {
|
|
3897
3923
|
amount: number;
|
|
3924
|
+
isTaxable: boolean;
|
|
3898
3925
|
id: string;
|
|
3899
3926
|
externalId: string | null;
|
|
3900
3927
|
memo: string | null;
|
|
@@ -3919,6 +3946,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3919
3946
|
unitPrice: number;
|
|
3920
3947
|
quantity: BD.BigDecimal;
|
|
3921
3948
|
amount: number;
|
|
3949
|
+
isTaxable: boolean;
|
|
3922
3950
|
}[];
|
|
3923
3951
|
} | {
|
|
3924
3952
|
invoiceNumber: string | null;
|
|
@@ -3941,6 +3969,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3941
3969
|
address: string | null | undefined;
|
|
3942
3970
|
lineItems: {
|
|
3943
3971
|
amount: number;
|
|
3972
|
+
isTaxable: boolean;
|
|
3944
3973
|
id: string;
|
|
3945
3974
|
externalId: string | null;
|
|
3946
3975
|
memo: string | null;
|
|
@@ -3965,6 +3994,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3965
3994
|
unitPrice: number;
|
|
3966
3995
|
quantity: BD.BigDecimal;
|
|
3967
3996
|
amount: number;
|
|
3997
|
+
isTaxable: boolean;
|
|
3968
3998
|
}[];
|
|
3969
3999
|
} | {
|
|
3970
4000
|
invoiceNumber: string | null;
|
|
@@ -3987,6 +4017,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
3987
4017
|
address: string | null | undefined;
|
|
3988
4018
|
lineItems: {
|
|
3989
4019
|
amount: number;
|
|
4020
|
+
isTaxable: boolean;
|
|
3990
4021
|
id: string;
|
|
3991
4022
|
externalId: string | null;
|
|
3992
4023
|
memo: string | null;
|
|
@@ -4011,6 +4042,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4011
4042
|
unitPrice: number;
|
|
4012
4043
|
quantity: BD.BigDecimal;
|
|
4013
4044
|
amount: number;
|
|
4045
|
+
isTaxable: boolean;
|
|
4014
4046
|
}[];
|
|
4015
4047
|
} | {
|
|
4016
4048
|
invoiceNumber: string | null;
|
|
@@ -4033,6 +4065,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4033
4065
|
address: string | null | undefined;
|
|
4034
4066
|
lineItems: {
|
|
4035
4067
|
amount: number;
|
|
4068
|
+
isTaxable: boolean;
|
|
4036
4069
|
id: string;
|
|
4037
4070
|
externalId: string | null;
|
|
4038
4071
|
memo: string | null;
|
|
@@ -4057,6 +4090,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4057
4090
|
unitPrice: number;
|
|
4058
4091
|
quantity: BD.BigDecimal;
|
|
4059
4092
|
amount: number;
|
|
4093
|
+
isTaxable: boolean;
|
|
4060
4094
|
}[];
|
|
4061
4095
|
} | {
|
|
4062
4096
|
invoiceNumber: string | null;
|
|
@@ -4079,6 +4113,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4079
4113
|
address: string | null | undefined;
|
|
4080
4114
|
lineItems: {
|
|
4081
4115
|
amount: number;
|
|
4116
|
+
isTaxable: boolean;
|
|
4082
4117
|
id: string;
|
|
4083
4118
|
externalId: string | null;
|
|
4084
4119
|
memo: string | null;
|
|
@@ -4103,6 +4138,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4103
4138
|
unitPrice: number;
|
|
4104
4139
|
quantity: BD.BigDecimal;
|
|
4105
4140
|
amount: number;
|
|
4141
|
+
isTaxable: boolean;
|
|
4106
4142
|
}[];
|
|
4107
4143
|
} | {
|
|
4108
4144
|
invoiceNumber: string | null;
|
|
@@ -4125,6 +4161,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4125
4161
|
address: string | null | undefined;
|
|
4126
4162
|
lineItems: {
|
|
4127
4163
|
amount: number;
|
|
4164
|
+
isTaxable: boolean;
|
|
4128
4165
|
id: string;
|
|
4129
4166
|
externalId: string | null;
|
|
4130
4167
|
memo: string | null;
|
|
@@ -4150,6 +4187,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4150
4187
|
unitPrice: number;
|
|
4151
4188
|
quantity: BD.BigDecimal;
|
|
4152
4189
|
amount: number;
|
|
4190
|
+
isTaxable: boolean;
|
|
4153
4191
|
}[];
|
|
4154
4192
|
} | {
|
|
4155
4193
|
invoiceNumber: string | null;
|
|
@@ -4172,6 +4210,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4172
4210
|
address: string | null | undefined;
|
|
4173
4211
|
lineItems: {
|
|
4174
4212
|
amount: number;
|
|
4213
|
+
isTaxable: boolean;
|
|
4175
4214
|
id: string;
|
|
4176
4215
|
externalId: string | null;
|
|
4177
4216
|
memo: string | null;
|
|
@@ -4196,6 +4235,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4196
4235
|
unitPrice: number;
|
|
4197
4236
|
quantity: BD.BigDecimal;
|
|
4198
4237
|
amount: number;
|
|
4238
|
+
isTaxable: boolean;
|
|
4199
4239
|
}[];
|
|
4200
4240
|
} | {
|
|
4201
4241
|
invoiceNumber: string | null;
|
|
@@ -4218,6 +4258,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4218
4258
|
address: string | null | undefined;
|
|
4219
4259
|
lineItems: {
|
|
4220
4260
|
amount: number;
|
|
4261
|
+
isTaxable: boolean;
|
|
4221
4262
|
id: string;
|
|
4222
4263
|
externalId: string | null;
|
|
4223
4264
|
memo: string | null;
|
|
@@ -4242,6 +4283,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4242
4283
|
unitPrice: number;
|
|
4243
4284
|
quantity: BD.BigDecimal;
|
|
4244
4285
|
amount: number;
|
|
4286
|
+
isTaxable: boolean;
|
|
4245
4287
|
}[];
|
|
4246
4288
|
} | {
|
|
4247
4289
|
invoiceNumber: string | null;
|
|
@@ -4264,6 +4306,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4264
4306
|
address: string | null | undefined;
|
|
4265
4307
|
lineItems: {
|
|
4266
4308
|
amount: number;
|
|
4309
|
+
isTaxable: boolean;
|
|
4267
4310
|
id: string;
|
|
4268
4311
|
externalId: string | null;
|
|
4269
4312
|
memo: string | null;
|
|
@@ -4288,6 +4331,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4288
4331
|
unitPrice: number;
|
|
4289
4332
|
quantity: BD.BigDecimal;
|
|
4290
4333
|
amount: number;
|
|
4334
|
+
isTaxable: boolean;
|
|
4291
4335
|
}[];
|
|
4292
4336
|
} | {
|
|
4293
4337
|
invoiceNumber: string | null;
|
|
@@ -4310,6 +4354,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4310
4354
|
address: string | null | undefined;
|
|
4311
4355
|
lineItems: {
|
|
4312
4356
|
amount: number;
|
|
4357
|
+
isTaxable: boolean;
|
|
4313
4358
|
id: string;
|
|
4314
4359
|
externalId: string | null;
|
|
4315
4360
|
memo: string | null;
|
|
@@ -4334,6 +4379,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4334
4379
|
unitPrice: number;
|
|
4335
4380
|
quantity: BD.BigDecimal;
|
|
4336
4381
|
amount: number;
|
|
4382
|
+
isTaxable: boolean;
|
|
4337
4383
|
}[];
|
|
4338
4384
|
} | {
|
|
4339
4385
|
invoiceNumber: string | null;
|
|
@@ -4356,6 +4402,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4356
4402
|
address: string | null | undefined;
|
|
4357
4403
|
lineItems: {
|
|
4358
4404
|
amount: number;
|
|
4405
|
+
isTaxable: boolean;
|
|
4359
4406
|
id: string;
|
|
4360
4407
|
externalId: string | null;
|
|
4361
4408
|
memo: string | null;
|
|
@@ -4380,6 +4427,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4380
4427
|
unitPrice: number;
|
|
4381
4428
|
quantity: BD.BigDecimal;
|
|
4382
4429
|
amount: number;
|
|
4430
|
+
isTaxable: boolean;
|
|
4383
4431
|
}[];
|
|
4384
4432
|
} | {
|
|
4385
4433
|
invoiceNumber: string | null;
|
|
@@ -4402,6 +4450,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4402
4450
|
address: string | null | undefined;
|
|
4403
4451
|
lineItems: {
|
|
4404
4452
|
amount: number;
|
|
4453
|
+
isTaxable: boolean;
|
|
4405
4454
|
id: string;
|
|
4406
4455
|
externalId: string | null;
|
|
4407
4456
|
memo: string | null;
|
|
@@ -4426,6 +4475,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4426
4475
|
unitPrice: number;
|
|
4427
4476
|
quantity: BD.BigDecimal;
|
|
4428
4477
|
amount: number;
|
|
4478
|
+
isTaxable: boolean;
|
|
4429
4479
|
}[];
|
|
4430
4480
|
} | {
|
|
4431
4481
|
invoiceNumber: string | null;
|
|
@@ -4448,6 +4498,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4448
4498
|
address: string | null | undefined;
|
|
4449
4499
|
lineItems: {
|
|
4450
4500
|
amount: number;
|
|
4501
|
+
isTaxable: boolean;
|
|
4451
4502
|
id: string;
|
|
4452
4503
|
externalId: string | null;
|
|
4453
4504
|
memo: string | null;
|
|
@@ -4472,6 +4523,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4472
4523
|
unitPrice: number;
|
|
4473
4524
|
quantity: BD.BigDecimal;
|
|
4474
4525
|
amount: number;
|
|
4526
|
+
isTaxable: boolean;
|
|
4475
4527
|
}[];
|
|
4476
4528
|
} | {
|
|
4477
4529
|
invoiceNumber: string | null;
|
|
@@ -4494,6 +4546,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4494
4546
|
address: string | null | undefined;
|
|
4495
4547
|
lineItems: {
|
|
4496
4548
|
amount: number;
|
|
4549
|
+
isTaxable: boolean;
|
|
4497
4550
|
id: string;
|
|
4498
4551
|
externalId: string | null;
|
|
4499
4552
|
memo: string | null;
|
|
@@ -4518,6 +4571,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4518
4571
|
unitPrice: number;
|
|
4519
4572
|
quantity: BD.BigDecimal;
|
|
4520
4573
|
amount: number;
|
|
4574
|
+
isTaxable: boolean;
|
|
4521
4575
|
}[];
|
|
4522
4576
|
} | {
|
|
4523
4577
|
invoiceNumber: string | null;
|
|
@@ -4540,6 +4594,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4540
4594
|
address: string | null | undefined;
|
|
4541
4595
|
lineItems: {
|
|
4542
4596
|
amount: number;
|
|
4597
|
+
isTaxable: boolean;
|
|
4543
4598
|
id: string;
|
|
4544
4599
|
externalId: string | null;
|
|
4545
4600
|
memo: string | null;
|
|
@@ -4556,6 +4611,7 @@ declare module '@layerfi/components/components/Invoices/InvoiceForm/useInvoiceFo
|
|
|
4556
4611
|
}> | undefined, unknown, NoInfer<{
|
|
4557
4612
|
readonly BaseFormTextField: typeof import("@layerfi/components/features/forms/components/BaseFormTextField").BaseFormTextField;
|
|
4558
4613
|
readonly FormBigDecimalField: typeof import("@layerfi/components/features/forms/components/FormBigDecimalField").FormBigDecimalField;
|
|
4614
|
+
readonly FormCheckboxField: typeof import("@layerfi/components/features/forms/components/FormCheckboxField").FormCheckboxField;
|
|
4559
4615
|
readonly FormCurrencyField: typeof import("@layerfi/components/features/forms/components/FormCurrencyField").FormCurrencyField;
|
|
4560
4616
|
readonly FormTextAreaField: typeof import("@layerfi/components/features/forms/components/FormTextAreaField").FormTextAreaField;
|
|
4561
4617
|
readonly FormTextField: typeof import("@layerfi/components/features/forms/components/FormTextField").FormTextField;
|
|
@@ -6502,7 +6558,7 @@ declare module '@layerfi/components/components/ui/Button/Button' {
|
|
|
6502
6558
|
}
|
|
6503
6559
|
declare module '@layerfi/components/components/ui/Checkbox/Checkbox' {
|
|
6504
6560
|
import { type CheckboxProps as AriaCheckboxProps } from 'react-aria-components';
|
|
6505
|
-
type CheckboxVariant = 'default' | 'success';
|
|
6561
|
+
type CheckboxVariant = 'default' | 'success' | 'error';
|
|
6506
6562
|
type CheckboxSize = 'md' | 'lg';
|
|
6507
6563
|
type CheckboxProps = Omit<AriaCheckboxProps, 'className'> & {
|
|
6508
6564
|
className?: string;
|
|
@@ -7863,7 +7919,8 @@ declare module '@layerfi/components/features/customers/customersSchemas' {
|
|
|
7863
7919
|
declare module '@layerfi/components/features/forms/components/BaseFormTextField' {
|
|
7864
7920
|
import type { PropsWithChildren } from 'react';
|
|
7865
7921
|
import { type TextFieldProps } from '@layerfi/components/components/ui/Form/Form';
|
|
7866
|
-
export
|
|
7922
|
+
export type BaseFormTextFieldProps = Omit<InternalBaseFormTextFieldProps, 'isTextArea'>;
|
|
7923
|
+
interface InternalBaseFormTextFieldProps {
|
|
7867
7924
|
label: string;
|
|
7868
7925
|
className?: string;
|
|
7869
7926
|
inline?: boolean;
|
|
@@ -7872,58 +7929,57 @@ declare module '@layerfi/components/features/forms/components/BaseFormTextField'
|
|
|
7872
7929
|
inputMode?: TextFieldProps['inputMode'];
|
|
7873
7930
|
isTextArea?: boolean;
|
|
7874
7931
|
}
|
|
7875
|
-
export function BaseFormTextField<TData>({ label, className, inline, showLabel, showFieldError, isTextArea, children, }: PropsWithChildren<
|
|
7932
|
+
export function BaseFormTextField<TData>({ label, className, inline, showLabel, showFieldError, isTextArea, children, }: PropsWithChildren<InternalBaseFormTextFieldProps>): import("react/jsx-runtime").JSX.Element;
|
|
7933
|
+
export {};
|
|
7876
7934
|
|
|
7877
7935
|
}
|
|
7878
7936
|
declare module '@layerfi/components/features/forms/components/FormBigDecimalField' {
|
|
7879
7937
|
import { type BaseFormTextFieldProps } from '@layerfi/components/features/forms/components/BaseFormTextField';
|
|
7880
|
-
type FormBigDecimalFieldProps = {
|
|
7881
|
-
slotProps: {
|
|
7882
|
-
BaseFormTextField: Omit<BaseFormTextFieldProps, 'inputMode'>;
|
|
7883
|
-
};
|
|
7938
|
+
type FormBigDecimalFieldProps = Omit<BaseFormTextFieldProps, 'inputMode'> & {
|
|
7884
7939
|
maxInputLength?: number;
|
|
7885
7940
|
allowNegative?: boolean;
|
|
7886
7941
|
};
|
|
7887
|
-
export function FormBigDecimalField({
|
|
7942
|
+
export function FormBigDecimalField({ maxInputLength, allowNegative, ...restProps }: FormBigDecimalFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7888
7943
|
export {};
|
|
7889
7944
|
|
|
7945
|
+
}
|
|
7946
|
+
declare module '@layerfi/components/features/forms/components/FormCheckboxField' {
|
|
7947
|
+
import { type PropsWithChildren } from 'react';
|
|
7948
|
+
export interface FormCheckboxField {
|
|
7949
|
+
label: string;
|
|
7950
|
+
className?: string;
|
|
7951
|
+
inline?: boolean;
|
|
7952
|
+
showLabel?: boolean;
|
|
7953
|
+
showErrorInTooltip?: boolean;
|
|
7954
|
+
}
|
|
7955
|
+
export function FormCheckboxField({ label, className, inline, showLabel, showErrorInTooltip, }: PropsWithChildren<FormCheckboxField>): import("react/jsx-runtime").JSX.Element;
|
|
7956
|
+
|
|
7890
7957
|
}
|
|
7891
7958
|
declare module '@layerfi/components/features/forms/components/FormCurrencyField' {
|
|
7892
7959
|
import { type BaseFormTextFieldProps } from '@layerfi/components/features/forms/components/BaseFormTextField';
|
|
7893
|
-
type FormCurrencyFieldProps =
|
|
7894
|
-
|
|
7895
|
-
BaseFormTextField: Omit<BaseFormTextFieldProps, 'inputMode'>;
|
|
7896
|
-
};
|
|
7897
|
-
};
|
|
7898
|
-
export function FormCurrencyField({ slotProps }: FormCurrencyFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7960
|
+
type FormCurrencyFieldProps = Omit<BaseFormTextFieldProps, 'inputMode'>;
|
|
7961
|
+
export function FormCurrencyField(props: FormCurrencyFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7899
7962
|
export {};
|
|
7900
7963
|
|
|
7901
7964
|
}
|
|
7902
7965
|
declare module '@layerfi/components/features/forms/components/FormTextAreaField' {
|
|
7903
7966
|
import { type BaseFormTextFieldProps } from '@layerfi/components/features/forms/components/BaseFormTextField';
|
|
7904
|
-
type FormTextAreaFieldProps =
|
|
7905
|
-
|
|
7906
|
-
BaseFormTextField: BaseFormTextFieldProps;
|
|
7907
|
-
};
|
|
7908
|
-
};
|
|
7909
|
-
export function FormTextAreaField({ slotProps }: FormTextAreaFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7967
|
+
type FormTextAreaFieldProps = BaseFormTextFieldProps;
|
|
7968
|
+
export function FormTextAreaField(props: FormTextAreaFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7910
7969
|
export {};
|
|
7911
7970
|
|
|
7912
7971
|
}
|
|
7913
7972
|
declare module '@layerfi/components/features/forms/components/FormTextField' {
|
|
7914
7973
|
import { type BaseFormTextFieldProps } from '@layerfi/components/features/forms/components/BaseFormTextField';
|
|
7915
|
-
type FormTextFieldProps =
|
|
7916
|
-
|
|
7917
|
-
BaseFormTextField: BaseFormTextFieldProps;
|
|
7918
|
-
};
|
|
7919
|
-
};
|
|
7920
|
-
export function FormTextField({ slotProps }: FormTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7974
|
+
type FormTextFieldProps = BaseFormTextFieldProps;
|
|
7975
|
+
export function FormTextField(props: FormTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7921
7976
|
export {};
|
|
7922
7977
|
|
|
7923
7978
|
}
|
|
7924
7979
|
declare module '@layerfi/components/features/forms/hooks/useForm' {
|
|
7925
7980
|
import { BaseFormTextField } from '@layerfi/components/features/forms/components/BaseFormTextField';
|
|
7926
7981
|
import { FormBigDecimalField } from '@layerfi/components/features/forms/components/FormBigDecimalField';
|
|
7982
|
+
import { FormCheckboxField } from '@layerfi/components/features/forms/components/FormCheckboxField';
|
|
7927
7983
|
import { FormCurrencyField } from '@layerfi/components/features/forms/components/FormCurrencyField';
|
|
7928
7984
|
import { FormTextAreaField } from '@layerfi/components/features/forms/components/FormTextAreaField';
|
|
7929
7985
|
import { FormTextField } from '@layerfi/components/features/forms/components/FormTextField';
|
|
@@ -7932,6 +7988,7 @@ declare module '@layerfi/components/features/forms/hooks/useForm' {
|
|
|
7932
7988
|
AppField: import("@tanstack/react-form").FieldComponent<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer, TSubmitMeta, NoInfer<{
|
|
7933
7989
|
readonly BaseFormTextField: typeof BaseFormTextField;
|
|
7934
7990
|
readonly FormBigDecimalField: typeof FormBigDecimalField;
|
|
7991
|
+
readonly FormCheckboxField: typeof FormCheckboxField;
|
|
7935
7992
|
readonly FormCurrencyField: typeof FormCurrencyField;
|
|
7936
7993
|
readonly FormTextAreaField: typeof FormTextAreaField;
|
|
7937
7994
|
readonly FormTextField: typeof FormTextField;
|
|
@@ -7940,6 +7997,7 @@ declare module '@layerfi/components/features/forms/hooks/useForm' {
|
|
|
7940
7997
|
}, withForm: <TFormData, TOnMount extends import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined, TOnChange extends import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends Record<string, unknown> = {}>({ render, props, }: import("@tanstack/react-form").WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnServer, TSubmitMeta, {
|
|
7941
7998
|
readonly BaseFormTextField: typeof BaseFormTextField;
|
|
7942
7999
|
readonly FormBigDecimalField: typeof FormBigDecimalField;
|
|
8000
|
+
readonly FormCheckboxField: typeof FormCheckboxField;
|
|
7943
8001
|
readonly FormCurrencyField: typeof FormCurrencyField;
|
|
7944
8002
|
readonly FormTextAreaField: typeof FormTextAreaField;
|
|
7945
8003
|
readonly FormTextField: typeof FormTextField;
|
|
@@ -7948,6 +8006,7 @@ declare module '@layerfi/components/features/forms/hooks/useForm' {
|
|
|
7948
8006
|
AppField: import("@tanstack/react-form").FieldComponent<[unknown] extends [TFormData] ? any : TFormData, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, NoInfer<{
|
|
7949
8007
|
readonly BaseFormTextField: typeof BaseFormTextField;
|
|
7950
8008
|
readonly FormBigDecimalField: typeof FormBigDecimalField;
|
|
8009
|
+
readonly FormCheckboxField: typeof FormCheckboxField;
|
|
7951
8010
|
readonly FormCurrencyField: typeof FormCurrencyField;
|
|
7952
8011
|
readonly FormTextAreaField: typeof FormTextAreaField;
|
|
7953
8012
|
readonly FormTextField: typeof FormTextField;
|