@shipengine/elements 2.3.1 → 2.5.0
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/actions-menu.js +3 -12
- package/components.js +1 -1
- package/elements.js +1 -1
- package/hooks.js +1 -1
- package/index.js +1 -1
- package/package.json +5 -3
- package/src/components/actions-menu/actions-menu.d.ts +2 -1
- package/src/components/error-state/error-state.d.ts +6 -0
- package/src/{workflows/onboarding/components/account-registration-step/account-registration-step.styles.d.ts → components/error-state/error-state.styles.d.ts} +9 -5
- package/src/components/error-state/index.d.ts +1 -0
- package/src/components/field/create-field-controller.d.ts +2 -1
- package/src/components/field-label/field-label.d.ts +2 -1
- package/src/components/field-label/field-label.styles.d.ts +16 -0
- package/src/components/grid-controller/grid-controller.d.ts +20 -2
- package/src/components/grid-controller/grid-controller.styles.d.ts +18 -6
- package/src/components/grid-controller/grid-footer.d.ts +27 -0
- package/src/components/grid-controller/index.d.ts +2 -0
- package/src/components/grid-filters/grid-filters.d.ts +30 -0
- package/src/components/grid-filters/grid-filters.styles.d.ts +11 -0
- package/src/components/grid-filters/index.d.ts +2 -0
- package/src/components/grid-filters/shipment-id-filter-shema.d.ts +9 -0
- package/src/components/grid-filters/shipment-id-filter.d.ts +23 -0
- package/src/components/index.d.ts +2 -0
- package/src/components/templates/address-display/address-display.d.ts +2 -1
- package/src/components/templates/wallet-form/wallet-form.d.ts +1 -1
- package/src/components/warehouse-form/warehouse-form-schema.d.ts +4 -1
- package/src/components/warehouse-form/warehouse-form.d.ts +2 -1
- package/src/elements/label-layout/label-layout-element.d.ts +77 -22
- package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +68 -0
- package/src/elements/labels-grid/index.d.ts +1 -0
- package/src/elements/labels-grid/labels-grid.d.ts +132 -28
- package/src/elements/labels-grid/labels-grid.styles.d.ts +11 -0
- package/src/elements/manage-carriers/manage-carriers.d.ts +77 -22
- package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +99 -23
- package/src/elements/manage-funding/manage-funding-element.d.ts +77 -22
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +77 -22
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +77 -22
- package/src/elements/purchase-label/purchase-label.d.ts +88 -73
- package/src/elements/shipment-summary/shipment-summary.d.ts +84 -26
- package/src/elements/shipments-grid/hooks/use-shipments-grid.d.ts +161 -0
- package/src/elements/shipments-grid/shipments-grid.d.ts +161 -30
- package/src/elements/shipments-grid/shipments-grid.styles.d.ts +11 -0
- package/src/elements/theme-creator/theme-creator.d.ts +77 -22
- package/src/elements/transaction-history/transaction-history-element.d.ts +77 -22
- package/src/elements/unit-settings/unit-settings-element.d.ts +77 -22
- package/src/elements/vat-settings/vat-settings-element.d.ts +77 -22
- package/src/elements/void-label/void-label.d.ts +89 -33
- package/src/hooks/index.d.ts +1 -0
- package/src/hooks/use-get-service-name.d.ts +4 -0
- package/src/locales/en/index.d.ts +77 -22
- package/src/workflows/account-settings/account-settings.d.ts +77 -22
- package/src/workflows/carrier-services/carrier-services.d.ts +77 -22
- package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +77 -22
- package/src/workflows/label-workflow/label-workflow.d.ts +10 -29
- package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form-schema.d.ts +18 -18
- package/src/workflows/onboarding/components/confirmation-and-submission-step/confirmation-and-submission-step.d.ts +12 -0
- package/src/workflows/onboarding/components/confirmation-and-submission-step/index.d.ts +2 -0
- package/src/workflows/onboarding/components/confirmation-and-submission-step/use-confirmation-and-submission-step.d.ts +19 -0
- package/src/workflows/onboarding/components/funding-step/funding-step.d.ts +7 -0
- package/src/workflows/onboarding/components/funding-step/index.d.ts +1 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +1 -2
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.styles.d.ts +3 -0
- package/src/workflows/onboarding/components/ship-from-address-step/index.d.ts +0 -1
- package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +3 -2
- package/src/workflows/onboarding/components/step-header/step-header.d.ts +3 -2
- package/src/workflows/onboarding/components/{funding-and-carrier-connection-step/funding-and-carrier-connection-step.styles.d.ts → step-header/step-header.styles.d.ts} +5 -8
- package/src/workflows/onboarding/components/welcome-page/index.d.ts +1 -0
- package/src/workflows/onboarding/components/welcome-page/welcome-page.d.ts +4 -0
- package/src/workflows/onboarding/onboarding.d.ts +79 -26
- package/suspend-text.js +1 -1
- package/transaction-history-element.js +1 -1
- package/use-get-service-name.js +1 -0
- package/use-unit-settings.js +1 -1
- package/usePager.js +1 -0
- package/vat.js +1 -1
- package/wallet-form.js +1 -1
- package/workflows.js +1 -1
- package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +0 -13
- package/src/workflows/onboarding/components/account-registration-form/account-registration-form.d.ts +0 -4
- package/src/workflows/onboarding/components/account-registration-form/index.d.ts +0 -1
- package/src/workflows/onboarding/components/account-registration-step/account-registration-step.d.ts +0 -5
- package/src/workflows/onboarding/components/account-registration-step/index.d.ts +0 -2
- package/src/workflows/onboarding/components/account-registration-step/use-account-registration-step.d.ts +0 -7
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +0 -9
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/index.d.ts +0 -2
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +0 -25
- package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +0 -9
- package/story-notes.js +0 -1
|
@@ -135,7 +135,6 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
135
135
|
setup: {
|
|
136
136
|
title: string;
|
|
137
137
|
subtitle: string;
|
|
138
|
-
hiddenTermsSubtitle: string;
|
|
139
138
|
descriptionTitle: string;
|
|
140
139
|
description: string;
|
|
141
140
|
};
|
|
@@ -143,7 +142,6 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
143
142
|
title: string;
|
|
144
143
|
cardSubTitle: string;
|
|
145
144
|
addressSubTitle: string;
|
|
146
|
-
info: string;
|
|
147
145
|
};
|
|
148
146
|
vatSettings: {
|
|
149
147
|
title: string;
|
|
@@ -157,7 +155,6 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
157
155
|
title: string;
|
|
158
156
|
};
|
|
159
157
|
info: {
|
|
160
|
-
title: string;
|
|
161
158
|
description: string;
|
|
162
159
|
};
|
|
163
160
|
poBox: {
|
|
@@ -358,18 +355,15 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
358
355
|
};
|
|
359
356
|
onboarding: {
|
|
360
357
|
title: string;
|
|
361
|
-
|
|
362
|
-
accountRegistration: {
|
|
363
|
-
action: string;
|
|
358
|
+
confirmation: {
|
|
364
359
|
title: string;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
messageLine2: string;
|
|
360
|
+
warehouse: string;
|
|
361
|
+
billingAddress: string;
|
|
362
|
+
paymentMethod: string;
|
|
363
|
+
action: string;
|
|
370
364
|
};
|
|
371
365
|
stepLabel: {
|
|
372
|
-
|
|
366
|
+
confirmation: string;
|
|
373
367
|
termsAgreement: string;
|
|
374
368
|
shipFromAddress: string;
|
|
375
369
|
fundingAndCarrierConnection: string;
|
|
@@ -416,6 +410,14 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
416
410
|
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
417
411
|
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
418
412
|
};
|
|
413
|
+
tooltip: {
|
|
414
|
+
warehouse: string;
|
|
415
|
+
};
|
|
416
|
+
welcomePage: {
|
|
417
|
+
title: string;
|
|
418
|
+
message: string;
|
|
419
|
+
action: string;
|
|
420
|
+
};
|
|
419
421
|
};
|
|
420
422
|
"manage-warehouses": {
|
|
421
423
|
title: string;
|
|
@@ -524,32 +526,74 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
524
526
|
};
|
|
525
527
|
"list-shipments": {
|
|
526
528
|
title: string;
|
|
529
|
+
none: string;
|
|
527
530
|
headers: {
|
|
528
531
|
created: string;
|
|
529
|
-
|
|
532
|
+
modified: string;
|
|
533
|
+
shipping: string;
|
|
530
534
|
shipmentId: string;
|
|
531
|
-
|
|
532
|
-
|
|
535
|
+
parcels: string;
|
|
536
|
+
recipient: string;
|
|
537
|
+
status: string;
|
|
538
|
+
};
|
|
539
|
+
status: {
|
|
540
|
+
cancelled: string;
|
|
541
|
+
purchased: string;
|
|
542
|
+
readyToBuy: string;
|
|
543
|
+
processing: string;
|
|
533
544
|
};
|
|
534
545
|
actions: {
|
|
535
546
|
download: {
|
|
536
547
|
pdf: string;
|
|
537
548
|
};
|
|
538
549
|
};
|
|
550
|
+
emptyState: {
|
|
551
|
+
title: string;
|
|
552
|
+
subtitle: string;
|
|
553
|
+
filtersTitle: string;
|
|
554
|
+
filtersSubtitle: string;
|
|
555
|
+
viewAll: string;
|
|
556
|
+
};
|
|
557
|
+
errorMessages: {
|
|
558
|
+
title: string;
|
|
559
|
+
subtitle: string;
|
|
560
|
+
};
|
|
539
561
|
};
|
|
540
562
|
"list-labels": {
|
|
541
563
|
title: string;
|
|
542
564
|
headers: {
|
|
543
565
|
created: string;
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
566
|
+
shipmentId: string;
|
|
567
|
+
parcels: string;
|
|
568
|
+
recipient: string;
|
|
569
|
+
shipping: string;
|
|
570
|
+
shipDate: string;
|
|
571
|
+
status: string;
|
|
572
|
+
};
|
|
573
|
+
empty: {
|
|
574
|
+
title: string;
|
|
575
|
+
subtitle: string;
|
|
576
|
+
};
|
|
577
|
+
emptyWithFilters: {
|
|
578
|
+
title: string;
|
|
579
|
+
subtitle: string;
|
|
580
|
+
button: string;
|
|
581
|
+
};
|
|
582
|
+
status: {
|
|
583
|
+
voided: string;
|
|
584
|
+
error: string;
|
|
585
|
+
completed: string;
|
|
586
|
+
processing: string;
|
|
548
587
|
};
|
|
549
588
|
actions: {
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
589
|
+
title: string;
|
|
590
|
+
print: string;
|
|
591
|
+
void: string;
|
|
592
|
+
printForms: string;
|
|
593
|
+
};
|
|
594
|
+
errorMessages: {
|
|
595
|
+
title: string;
|
|
596
|
+
subtitle: string;
|
|
553
597
|
};
|
|
554
598
|
};
|
|
555
599
|
"connect-carrier": {
|
|
@@ -768,6 +812,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
768
812
|
emailIsRequired: string;
|
|
769
813
|
unknown: string;
|
|
770
814
|
noRatesAvailable: string;
|
|
815
|
+
refreshAndTryAgain: string;
|
|
771
816
|
};
|
|
772
817
|
errorTypes: {
|
|
773
818
|
accountStatus: string;
|
|
@@ -786,6 +831,13 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
786
831
|
"row-count_one": string;
|
|
787
832
|
"row-count_other": string;
|
|
788
833
|
rows: string;
|
|
834
|
+
clearAll: string;
|
|
835
|
+
shipmentId: string;
|
|
836
|
+
shipmentIdFilter: string;
|
|
837
|
+
apply: string;
|
|
838
|
+
clear: string;
|
|
839
|
+
search: string;
|
|
840
|
+
shipmentIdHint: string;
|
|
789
841
|
};
|
|
790
842
|
insuranceProviders: {
|
|
791
843
|
carrier: string;
|
|
@@ -861,6 +913,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
861
913
|
requiredList: string;
|
|
862
914
|
tooFewCharacters: string;
|
|
863
915
|
tooManyCharacters: string;
|
|
916
|
+
requiredShipmentId: string;
|
|
864
917
|
};
|
|
865
918
|
shippingPresets: {
|
|
866
919
|
apply: string;
|
|
@@ -874,6 +927,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
874
927
|
agreeToTerms: string;
|
|
875
928
|
carriersTitle: string;
|
|
876
929
|
fundingSourceTitle: string;
|
|
930
|
+
shipEngineTitle: string;
|
|
877
931
|
};
|
|
878
932
|
weight: {
|
|
879
933
|
ounces: string;
|
|
@@ -898,6 +952,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
898
952
|
printForms: string;
|
|
899
953
|
edit: string;
|
|
900
954
|
remove: string;
|
|
955
|
+
viewDetails: string;
|
|
901
956
|
};
|
|
902
957
|
};
|
|
903
958
|
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
@@ -118,7 +118,6 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
118
118
|
setup: {
|
|
119
119
|
title: string;
|
|
120
120
|
subtitle: string;
|
|
121
|
-
hiddenTermsSubtitle: string;
|
|
122
121
|
descriptionTitle: string;
|
|
123
122
|
description: string;
|
|
124
123
|
};
|
|
@@ -126,7 +125,6 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
126
125
|
title: string;
|
|
127
126
|
cardSubTitle: string;
|
|
128
127
|
addressSubTitle: string;
|
|
129
|
-
info: string;
|
|
130
128
|
};
|
|
131
129
|
vatSettings: {
|
|
132
130
|
title: string;
|
|
@@ -140,7 +138,6 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
140
138
|
title: string;
|
|
141
139
|
};
|
|
142
140
|
info: {
|
|
143
|
-
title: string;
|
|
144
141
|
description: string;
|
|
145
142
|
};
|
|
146
143
|
poBox: {
|
|
@@ -341,18 +338,15 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
341
338
|
};
|
|
342
339
|
onboarding: {
|
|
343
340
|
title: string;
|
|
344
|
-
|
|
345
|
-
accountRegistration: {
|
|
346
|
-
action: string;
|
|
341
|
+
confirmation: {
|
|
347
342
|
title: string;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
messageLine2: string;
|
|
343
|
+
warehouse: string;
|
|
344
|
+
billingAddress: string;
|
|
345
|
+
paymentMethod: string;
|
|
346
|
+
action: string;
|
|
353
347
|
};
|
|
354
348
|
stepLabel: {
|
|
355
|
-
|
|
349
|
+
confirmation: string;
|
|
356
350
|
termsAgreement: string;
|
|
357
351
|
shipFromAddress: string;
|
|
358
352
|
fundingAndCarrierConnection: string;
|
|
@@ -399,6 +393,14 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
399
393
|
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
400
394
|
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
401
395
|
};
|
|
396
|
+
tooltip: {
|
|
397
|
+
warehouse: string;
|
|
398
|
+
};
|
|
399
|
+
welcomePage: {
|
|
400
|
+
title: string;
|
|
401
|
+
message: string;
|
|
402
|
+
action: string;
|
|
403
|
+
};
|
|
402
404
|
};
|
|
403
405
|
"manage-warehouses": {
|
|
404
406
|
title: string;
|
|
@@ -507,32 +509,74 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
507
509
|
};
|
|
508
510
|
"list-shipments": {
|
|
509
511
|
title: string;
|
|
512
|
+
none: string;
|
|
510
513
|
headers: {
|
|
511
514
|
created: string;
|
|
512
|
-
|
|
515
|
+
modified: string;
|
|
516
|
+
shipping: string;
|
|
513
517
|
shipmentId: string;
|
|
514
|
-
|
|
515
|
-
|
|
518
|
+
parcels: string;
|
|
519
|
+
recipient: string;
|
|
520
|
+
status: string;
|
|
521
|
+
};
|
|
522
|
+
status: {
|
|
523
|
+
cancelled: string;
|
|
524
|
+
purchased: string;
|
|
525
|
+
readyToBuy: string;
|
|
526
|
+
processing: string;
|
|
516
527
|
};
|
|
517
528
|
actions: {
|
|
518
529
|
download: {
|
|
519
530
|
pdf: string;
|
|
520
531
|
};
|
|
521
532
|
};
|
|
533
|
+
emptyState: {
|
|
534
|
+
title: string;
|
|
535
|
+
subtitle: string;
|
|
536
|
+
filtersTitle: string;
|
|
537
|
+
filtersSubtitle: string;
|
|
538
|
+
viewAll: string;
|
|
539
|
+
};
|
|
540
|
+
errorMessages: {
|
|
541
|
+
title: string;
|
|
542
|
+
subtitle: string;
|
|
543
|
+
};
|
|
522
544
|
};
|
|
523
545
|
"list-labels": {
|
|
524
546
|
title: string;
|
|
525
547
|
headers: {
|
|
526
548
|
created: string;
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
549
|
+
shipmentId: string;
|
|
550
|
+
parcels: string;
|
|
551
|
+
recipient: string;
|
|
552
|
+
shipping: string;
|
|
553
|
+
shipDate: string;
|
|
554
|
+
status: string;
|
|
555
|
+
};
|
|
556
|
+
empty: {
|
|
557
|
+
title: string;
|
|
558
|
+
subtitle: string;
|
|
559
|
+
};
|
|
560
|
+
emptyWithFilters: {
|
|
561
|
+
title: string;
|
|
562
|
+
subtitle: string;
|
|
563
|
+
button: string;
|
|
564
|
+
};
|
|
565
|
+
status: {
|
|
566
|
+
voided: string;
|
|
567
|
+
error: string;
|
|
568
|
+
completed: string;
|
|
569
|
+
processing: string;
|
|
531
570
|
};
|
|
532
571
|
actions: {
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
572
|
+
title: string;
|
|
573
|
+
print: string;
|
|
574
|
+
void: string;
|
|
575
|
+
printForms: string;
|
|
576
|
+
};
|
|
577
|
+
errorMessages: {
|
|
578
|
+
title: string;
|
|
579
|
+
subtitle: string;
|
|
536
580
|
};
|
|
537
581
|
};
|
|
538
582
|
"connect-carrier": {
|
|
@@ -734,6 +778,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
734
778
|
emailIsRequired: string;
|
|
735
779
|
unknown: string;
|
|
736
780
|
noRatesAvailable: string;
|
|
781
|
+
refreshAndTryAgain: string;
|
|
737
782
|
};
|
|
738
783
|
errorTypes: {
|
|
739
784
|
accountStatus: string;
|
|
@@ -752,6 +797,13 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
752
797
|
"row-count_one": string;
|
|
753
798
|
"row-count_other": string;
|
|
754
799
|
rows: string;
|
|
800
|
+
clearAll: string;
|
|
801
|
+
shipmentId: string;
|
|
802
|
+
shipmentIdFilter: string;
|
|
803
|
+
apply: string;
|
|
804
|
+
clear: string;
|
|
805
|
+
search: string;
|
|
806
|
+
shipmentIdHint: string;
|
|
755
807
|
};
|
|
756
808
|
insuranceProviders: {
|
|
757
809
|
carrier: string;
|
|
@@ -827,6 +879,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
827
879
|
requiredList: string;
|
|
828
880
|
tooFewCharacters: string;
|
|
829
881
|
tooManyCharacters: string;
|
|
882
|
+
requiredShipmentId: string;
|
|
830
883
|
};
|
|
831
884
|
shippingPresets: {
|
|
832
885
|
apply: string;
|
|
@@ -840,6 +893,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
840
893
|
agreeToTerms: string;
|
|
841
894
|
carriersTitle: string;
|
|
842
895
|
fundingSourceTitle: string;
|
|
896
|
+
shipEngineTitle: string;
|
|
843
897
|
};
|
|
844
898
|
weight: {
|
|
845
899
|
ounces: string;
|
|
@@ -864,6 +918,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
864
918
|
printForms: string;
|
|
865
919
|
edit: string;
|
|
866
920
|
remove: string;
|
|
921
|
+
viewDetails: string;
|
|
867
922
|
};
|
|
868
923
|
};
|
|
869
924
|
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
@@ -306,7 +306,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
306
306
|
setup: {
|
|
307
307
|
title: string;
|
|
308
308
|
subtitle: string;
|
|
309
|
-
hiddenTermsSubtitle: string;
|
|
310
309
|
descriptionTitle: string;
|
|
311
310
|
description: string;
|
|
312
311
|
};
|
|
@@ -314,7 +313,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
314
313
|
title: string;
|
|
315
314
|
cardSubTitle: string;
|
|
316
315
|
addressSubTitle: string;
|
|
317
|
-
info: string;
|
|
318
316
|
};
|
|
319
317
|
vatSettings: {
|
|
320
318
|
title: string;
|
|
@@ -328,7 +326,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
328
326
|
title: string;
|
|
329
327
|
};
|
|
330
328
|
info: {
|
|
331
|
-
title: string;
|
|
332
329
|
description: string;
|
|
333
330
|
};
|
|
334
331
|
poBox: {
|
|
@@ -350,11 +347,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
350
347
|
billing: {
|
|
351
348
|
title: string;
|
|
352
349
|
subtitleCard: string;
|
|
353
|
-
/**
|
|
354
|
-
* `onAddressValidation` is an async/sync callback function that will be invoked on each Address
|
|
355
|
-
* validation request. For example, whenever you update the `Ship To Address` or
|
|
356
|
-
* `Ship From Address` for a given shipment.
|
|
357
|
-
*/
|
|
358
350
|
subtitleBilling: string;
|
|
359
351
|
};
|
|
360
352
|
};
|
|
@@ -538,18 +530,15 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
538
530
|
};
|
|
539
531
|
onboarding: {
|
|
540
532
|
title: string;
|
|
541
|
-
|
|
542
|
-
accountRegistration: {
|
|
543
|
-
action: string;
|
|
533
|
+
confirmation: {
|
|
544
534
|
title: string;
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
messageLine2: string;
|
|
535
|
+
warehouse: string;
|
|
536
|
+
billingAddress: string;
|
|
537
|
+
paymentMethod: string;
|
|
538
|
+
action: string;
|
|
550
539
|
};
|
|
551
540
|
stepLabel: {
|
|
552
|
-
|
|
541
|
+
confirmation: string;
|
|
553
542
|
termsAgreement: string;
|
|
554
543
|
shipFromAddress: string;
|
|
555
544
|
fundingAndCarrierConnection: string;
|
|
@@ -566,14 +555,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
566
555
|
};
|
|
567
556
|
};
|
|
568
557
|
success: {
|
|
569
|
-
title: string;
|
|
570
|
-
*`getPreferredRates is an async/sync optional callback function that will be invoked each time rates are caculated.
|
|
571
|
-
* This is an optional callback function that returns an array of ShipEngine rates. The rates from this response will
|
|
572
|
-
* be spliced into the normal get rates response the Elements makes internally. If a service code matches a service
|
|
573
|
-
* code on a rate returned from getPreferredRates, the rate returned from getPreferredRates will not be shown in the
|
|
574
|
-
* rate form. These preferred rates will be displayed with a set of UI enhancements that incude a dynamic cost savings
|
|
575
|
-
* flag and green checkmark when the rate is selected.
|
|
576
|
-
*/
|
|
558
|
+
title: string;
|
|
577
559
|
subtitle: string;
|
|
578
560
|
action: string;
|
|
579
561
|
};
|
|
@@ -594,6 +576,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
594
576
|
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
595
577
|
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
596
578
|
};
|
|
579
|
+
/**
|
|
580
|
+
* `onBeforeRateSave` is an async/sync callback function that will be invoked before each time a user
|
|
581
|
+
* saves a rate.
|
|
582
|
+
*/
|
|
597
583
|
termsAndAgreementTitles: {
|
|
598
584
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
599
585
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
@@ -603,6 +589,14 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
603
589
|
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
604
590
|
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
605
591
|
};
|
|
592
|
+
tooltip: {
|
|
593
|
+
warehouse: string;
|
|
594
|
+
};
|
|
595
|
+
welcomePage: {
|
|
596
|
+
title: string;
|
|
597
|
+
message: string;
|
|
598
|
+
action: string;
|
|
599
|
+
};
|
|
606
600
|
};
|
|
607
601
|
"manage-warehouses": {
|
|
608
602
|
title: string;
|
|
@@ -711,32 +705,74 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
711
705
|
};
|
|
712
706
|
"list-shipments": {
|
|
713
707
|
title: string;
|
|
708
|
+
none: string;
|
|
714
709
|
headers: {
|
|
715
710
|
created: string;
|
|
716
|
-
|
|
711
|
+
modified: string;
|
|
712
|
+
shipping: string;
|
|
717
713
|
shipmentId: string;
|
|
718
|
-
|
|
719
|
-
|
|
714
|
+
parcels: string;
|
|
715
|
+
recipient: string;
|
|
716
|
+
status: string;
|
|
717
|
+
};
|
|
718
|
+
status: {
|
|
719
|
+
cancelled: string;
|
|
720
|
+
purchased: string;
|
|
721
|
+
readyToBuy: string;
|
|
722
|
+
processing: string;
|
|
720
723
|
};
|
|
721
724
|
actions: {
|
|
722
725
|
download: {
|
|
723
726
|
pdf: string;
|
|
724
727
|
};
|
|
725
728
|
};
|
|
729
|
+
emptyState: {
|
|
730
|
+
title: string;
|
|
731
|
+
subtitle: string;
|
|
732
|
+
filtersTitle: string;
|
|
733
|
+
filtersSubtitle: string;
|
|
734
|
+
viewAll: string;
|
|
735
|
+
};
|
|
736
|
+
errorMessages: {
|
|
737
|
+
title: string;
|
|
738
|
+
subtitle: string;
|
|
739
|
+
};
|
|
726
740
|
};
|
|
727
741
|
"list-labels": {
|
|
728
742
|
title: string;
|
|
729
743
|
headers: {
|
|
730
744
|
created: string;
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
745
|
+
shipmentId: string;
|
|
746
|
+
parcels: string;
|
|
747
|
+
recipient: string;
|
|
748
|
+
shipping: string;
|
|
749
|
+
shipDate: string;
|
|
750
|
+
status: string;
|
|
751
|
+
};
|
|
752
|
+
empty: {
|
|
753
|
+
title: string;
|
|
754
|
+
subtitle: string;
|
|
755
|
+
};
|
|
756
|
+
emptyWithFilters: {
|
|
757
|
+
title: string;
|
|
758
|
+
subtitle: string;
|
|
759
|
+
button: string;
|
|
760
|
+
};
|
|
761
|
+
status: {
|
|
762
|
+
voided: string;
|
|
763
|
+
error: string;
|
|
764
|
+
completed: string;
|
|
765
|
+
processing: string;
|
|
735
766
|
};
|
|
736
767
|
actions: {
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
768
|
+
title: string;
|
|
769
|
+
print: string;
|
|
770
|
+
void: string;
|
|
771
|
+
printForms: string;
|
|
772
|
+
};
|
|
773
|
+
errorMessages: {
|
|
774
|
+
title: string;
|
|
775
|
+
subtitle: string;
|
|
740
776
|
};
|
|
741
777
|
};
|
|
742
778
|
"connect-carrier": {
|
|
@@ -952,6 +988,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
952
988
|
emailIsRequired: string;
|
|
953
989
|
unknown: string;
|
|
954
990
|
noRatesAvailable: string;
|
|
991
|
+
refreshAndTryAgain: string;
|
|
955
992
|
};
|
|
956
993
|
errorTypes: {
|
|
957
994
|
accountStatus: string;
|
|
@@ -970,6 +1007,13 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
970
1007
|
"row-count_one": string;
|
|
971
1008
|
"row-count_other": string;
|
|
972
1009
|
rows: string;
|
|
1010
|
+
clearAll: string;
|
|
1011
|
+
shipmentId: string;
|
|
1012
|
+
shipmentIdFilter: string;
|
|
1013
|
+
apply: string;
|
|
1014
|
+
clear: string;
|
|
1015
|
+
search: string;
|
|
1016
|
+
shipmentIdHint: string;
|
|
973
1017
|
};
|
|
974
1018
|
insuranceProviders: {
|
|
975
1019
|
carrier: string;
|
|
@@ -1013,44 +1057,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1013
1057
|
};
|
|
1014
1058
|
packageCategories: {
|
|
1015
1059
|
customPackages: string;
|
|
1016
|
-
};
|
|
1017
|
-
* # Registered Purchase Label Element
|
|
1018
|
-
*
|
|
1019
|
-
* @param ElementProps The props necessary to render the `<PurchaseLabel.Element />` for shipment
|
|
1020
|
-
* based or sales order based label purchasing.
|
|
1021
|
-
*
|
|
1022
|
-
* @example
|
|
1023
|
-
* The `<Component />` is the source JSX that is rendered when you make use of the `PurchaseLabel`
|
|
1024
|
-
* Element directly.
|
|
1025
|
-
* ```tsx
|
|
1026
|
-
* <PurchaseLabel.Element
|
|
1027
|
-
* key={currentSalesOrderId}
|
|
1028
|
-
* printLabelLayout='4x6'
|
|
1029
|
-
* shippingPresets={presets}
|
|
1030
|
-
* onShipmentUpdated={(shipment) => console.log('Shipment Updated', shipment)}
|
|
1031
|
-
* onRateSaved={(
|
|
1032
|
-
* shipment: SE.SalesOrderShipment,
|
|
1033
|
-
* rate?: SE.Rate,
|
|
1034
|
-
* rateOptions?: SE.Rate[]
|
|
1035
|
-
* ) => console.log('Rate Saved', shipment, rate, rateOptions)}
|
|
1036
|
-
* onRatesCalculated={() => console.log('Rates Calculated')}
|
|
1037
|
-
* onBeforeLabelCreate={onBeforeLabelPurchase}
|
|
1038
|
-
* onLabelCreateSuccess={onLabelPurchaseSuccess}
|
|
1039
|
-
* onLabelCreateFailure={(rate) => console.log('Label Purchase Failed', rate)}
|
|
1040
|
-
* warehouseId={defaultWarehouseId}
|
|
1041
|
-
* />
|
|
1042
|
-
* ```
|
|
1043
|
-
*
|
|
1044
|
-
* <br />
|
|
1045
|
-
*
|
|
1046
|
-
* - Once a label has been purchased using this Element, you can take the `shipmentId` for the
|
|
1047
|
-
* associated shipment and pass it into the `<ShipmentSummary.Element />` Element in order to view
|
|
1048
|
-
* the shipment details.
|
|
1049
|
-
*
|
|
1050
|
-
* @see {@link PurchaseLabel.PurchaseLabelCommonProps | The **Common props** used in `<PurchaseLabel.Element />`}
|
|
1051
|
-
*
|
|
1052
|
-
* @see {@link ShipmentSummary.Element | The next step in the label purchase workflow `<ShipmentSummary.Element />`}
|
|
1053
|
-
*/
|
|
1060
|
+
};
|
|
1054
1061
|
packageCodes: {
|
|
1055
1062
|
package: string;
|
|
1056
1063
|
};
|
|
@@ -1075,6 +1082,11 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1075
1082
|
invalidStateProvince: string;
|
|
1076
1083
|
invalidString: string;
|
|
1077
1084
|
nonnegative: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* # Purchase Label Component Props
|
|
1087
|
+
*
|
|
1088
|
+
* @see {@link PurchaseLabel.Component | The **Common Props** used in the `<PurchaseLabel /> component`}
|
|
1089
|
+
*/
|
|
1078
1090
|
nonnegativeList: string;
|
|
1079
1091
|
positive: string;
|
|
1080
1092
|
positiveList: string;
|
|
@@ -1082,6 +1094,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1082
1094
|
requiredList: string;
|
|
1083
1095
|
tooFewCharacters: string;
|
|
1084
1096
|
tooManyCharacters: string;
|
|
1097
|
+
requiredShipmentId: string;
|
|
1085
1098
|
};
|
|
1086
1099
|
shippingPresets: {
|
|
1087
1100
|
apply: string;
|
|
@@ -1095,6 +1108,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1095
1108
|
agreeToTerms: string;
|
|
1096
1109
|
carriersTitle: string;
|
|
1097
1110
|
fundingSourceTitle: string;
|
|
1111
|
+
shipEngineTitle: string;
|
|
1098
1112
|
};
|
|
1099
1113
|
weight: {
|
|
1100
1114
|
ounces: string;
|
|
@@ -1119,6 +1133,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1119
1133
|
printForms: string;
|
|
1120
1134
|
edit: string;
|
|
1121
1135
|
remove: string;
|
|
1136
|
+
viewDetails: string;
|
|
1122
1137
|
};
|
|
1123
1138
|
};
|
|
1124
1139
|
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|