@shipengine/elements 2.17.0 → 2.19.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 +5 -5
- package/components.js +1 -1
- package/elements.js +1 -1
- package/hooks.js +1 -1
- package/index.js +1 -1
- package/package.json +4 -12
- package/src/components/add-funds-form/add-funds-form.d.ts +3 -9
- package/src/components/button-group/button-group.d.ts +4 -1
- package/src/components/date-range-combo/date-range-combo.d.ts +1 -1
- package/src/components/field/select/select-with-categories.d.ts +1 -0
- package/src/components/fund-and-purchase/fund-and-purchase.d.ts +6 -7
- package/src/components/grid-controller/grid-controller.d.ts +6 -2
- package/src/components/grid-controller/index.d.ts +1 -0
- package/src/components/grid-controller/sortable-header.d.ts +20 -0
- package/src/components/grid-filters/components/index.d.ts +1 -0
- package/src/components/grid-filters/components/tracking-status-filter/index.d.ts +1 -0
- package/src/components/grid-filters/components/tracking-status-filter/tracking-status-filter-schema.d.ts +21 -0
- package/src/components/grid-filters/components/tracking-status-filter/tracking-status-filter.d.ts +23 -0
- package/src/components/grid-filters/components/tracking-status-filter/tracking-status-filter.styles.d.ts +13 -0
- package/src/components/grid-filters/grid-filters.d.ts +4 -1
- package/src/components/history/history-card/history-card.styles.d.ts +1 -1
- package/src/components/ship-from-address-form/ship-from-address-form.d.ts +2 -1
- package/src/components/templates/connect-external-carrier-form/connect-external-carrier-form.d.ts +3 -1
- package/src/components/templates/connect-external-carrier-form/custom-forms/custom-external-carrier-form.d.ts +10 -0
- package/src/components/templates/connect-external-carrier-form/custom-forms/custom-form-fedex.d.ts +6 -0
- package/src/components/templates/connect-external-carrier-form/custom-forms/eula-clickwrap.d.ts +11 -0
- package/src/components/templates/connect-external-carrier-form/custom-forms/eula-clickwrap.styles.d.ts +20 -0
- package/src/components/templates/connect-external-carrier-form/custom-forms/index.d.ts +1 -0
- package/src/components/templates/connect-external-carrier-form/index.d.ts +1 -0
- package/src/components/templates/rate-form/rate-form.d.ts +4 -2
- package/src/components/templates/shipment-form/shipment-form.d.ts +2 -1
- package/src/components/templates/theme-creator/theme-creator.d.ts +3 -2
- package/src/create-element/element/index.d.ts +0 -1
- package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +12 -51
- package/src/elements/labels-grid/labels-grid.d.ts +50 -34
- package/src/elements/manage-carriers/manage-carriers.d.ts +49 -49
- package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +43 -0
- package/src/elements/manage-funding/manage-funding-element.d.ts +24 -2
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +21 -0
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +21 -0
- package/src/elements/purchase-label/hooks/use-rates-form.d.ts +1 -0
- package/src/elements/purchase-label/hooks/use-shipment-form.d.ts +4 -4
- package/src/elements/purchase-label/purchase-label.d.ts +26 -5
- package/src/elements/select-label-layout/select-label-layout-element.d.ts +21 -0
- package/src/elements/shipment-summary/shipment-summary.d.ts +31 -36
- package/src/elements/shipments-grid/shipments-grid.d.ts +25 -36
- package/src/elements/theme-creator/theme-creator.d.ts +25 -15
- package/src/elements/transaction-history/transaction-history-element.d.ts +21 -0
- package/src/elements/unit-settings/unit-settings-element.d.ts +21 -0
- package/src/elements/vat-settings/vat-settings-element.d.ts +21 -0
- package/src/elements/void-label/void-label.d.ts +50 -9
- package/src/elements-provider/elements-context-provider.d.ts +2 -2
- package/src/elements-provider/elements-provider.d.ts +1 -2
- package/src/features/manage-carriers/manage-carriers.d.ts +6 -8
- package/src/features/manage-carriers/use-manage-carriers.d.ts +4 -7
- package/src/features/manage-funding/manage-funding.d.ts +4 -9
- package/src/hooks/index.d.ts +1 -0
- package/src/hooks/insurance/use-manage-funding-source-insurance.d.ts +1 -0
- package/src/hooks/options/use-date-range-options.d.ts +4 -1
- package/src/hooks/options/use-rate-options.d.ts +2 -1
- package/src/hooks/use-balance-services.d.ts +22 -0
- package/src/hooks/use-helpers.d.ts +4 -0
- package/src/locales/en/index.d.ts +21 -0
- package/src/utilities/feature-flags/types.d.ts +5 -1
- package/src/utilities/shipengine/address.d.ts +1 -1
- package/src/utilities/storybook-local-storage-config.d.ts +12 -0
- package/src/utilities/validation.d.ts +19 -0
- package/src/workflows/account-settings/account-settings.d.ts +21 -0
- package/src/workflows/carrier-services/carrier-services.d.ts +22 -27
- package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +31 -24
- package/src/workflows/label-workflow/label-workflow.d.ts +21 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -1
- package/src/workflows/onboarding/onboarding.d.ts +67 -84
- package/styles.js +1 -0
- package/suspend-text.js +1 -1
- package/transaction-history-element.js +1 -1
- package/use-balance-services.js +1 -0
- package/use-configure-shipment.js +1 -1
- package/use-page-layout.js +1 -1
- package/use-unit-settings.js +1 -1
- package/usePager.js +1 -1
- package/utilities.js +1 -1
- package/validation.js +1 -1
- package/wallet-form.js +1 -1
- package/warehouses.js +1 -1
- package/workflows.js +1 -1
- package/carrier.js +0 -1
- package/src/create-element/element/utils/get-emotion-cache.d.ts +0 -2
- package/src/create-element/element/utils/index.d.ts +0 -1
- package/use-toggle.js +0 -1
|
@@ -40,6 +40,9 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
40
40
|
thisMonth: string;
|
|
41
41
|
lastMonth: string;
|
|
42
42
|
};
|
|
43
|
+
category: {
|
|
44
|
+
fundsAdded: string;
|
|
45
|
+
};
|
|
43
46
|
};
|
|
44
47
|
"void-label": {
|
|
45
48
|
title: string;
|
|
@@ -636,8 +639,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
636
639
|
trackingStatus: {
|
|
637
640
|
unknown: string;
|
|
638
641
|
inTransit: string;
|
|
642
|
+
in_transit: string;
|
|
639
643
|
delivered: string;
|
|
640
644
|
error: string;
|
|
645
|
+
voided: string;
|
|
641
646
|
};
|
|
642
647
|
actions: {
|
|
643
648
|
title: string;
|
|
@@ -657,6 +662,17 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
657
662
|
connectCarriers: string;
|
|
658
663
|
disconnect: string;
|
|
659
664
|
disconnectCarrier: string;
|
|
665
|
+
downloadEula: string;
|
|
666
|
+
};
|
|
667
|
+
customForms: {
|
|
668
|
+
fedex: {
|
|
669
|
+
eulaName: string;
|
|
670
|
+
disclaimerFooter: string;
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
eula: {
|
|
674
|
+
toContinue: string;
|
|
675
|
+
iAgree: string;
|
|
660
676
|
};
|
|
661
677
|
noCarriersDescription: string;
|
|
662
678
|
registrationForm: {
|
|
@@ -720,6 +736,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
720
736
|
address: {
|
|
721
737
|
fields: {
|
|
722
738
|
name: string;
|
|
739
|
+
fullName: string;
|
|
723
740
|
company: string;
|
|
724
741
|
county: string;
|
|
725
742
|
countryCode: string;
|
|
@@ -882,6 +899,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
882
899
|
unknown: string;
|
|
883
900
|
noRatesAvailable: string;
|
|
884
901
|
refreshAndTryAgain: string;
|
|
902
|
+
updateShipFromAddress: string;
|
|
885
903
|
windsorFramework: {
|
|
886
904
|
doNotConform: string;
|
|
887
905
|
pleaseAddTheFollowingTaxIds: string;
|
|
@@ -900,6 +918,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
900
918
|
saveRate: string;
|
|
901
919
|
security: string;
|
|
902
920
|
shipmentStatus: string;
|
|
921
|
+
shipFromAddress: string;
|
|
903
922
|
system: string;
|
|
904
923
|
unknown: string;
|
|
905
924
|
validation: string;
|
|
@@ -913,6 +932,8 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
913
932
|
shipmentId: string;
|
|
914
933
|
labelId: string;
|
|
915
934
|
labelIdFilter: string;
|
|
935
|
+
filteredTrackingStatus: string;
|
|
936
|
+
more: string;
|
|
916
937
|
createdDate: string;
|
|
917
938
|
shipmentIdFilter: string;
|
|
918
939
|
createdDateFilter: string;
|
|
@@ -23,6 +23,9 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
23
23
|
thisMonth: string;
|
|
24
24
|
lastMonth: string;
|
|
25
25
|
};
|
|
26
|
+
category: {
|
|
27
|
+
fundsAdded: string;
|
|
28
|
+
};
|
|
26
29
|
};
|
|
27
30
|
"void-label": {
|
|
28
31
|
title: string;
|
|
@@ -619,8 +622,10 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
619
622
|
trackingStatus: {
|
|
620
623
|
unknown: string;
|
|
621
624
|
inTransit: string;
|
|
625
|
+
in_transit: string;
|
|
622
626
|
delivered: string;
|
|
623
627
|
error: string;
|
|
628
|
+
voided: string;
|
|
624
629
|
};
|
|
625
630
|
actions: {
|
|
626
631
|
title: string;
|
|
@@ -640,6 +645,17 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
640
645
|
connectCarriers: string;
|
|
641
646
|
disconnect: string;
|
|
642
647
|
disconnectCarrier: string;
|
|
648
|
+
downloadEula: string;
|
|
649
|
+
};
|
|
650
|
+
customForms: {
|
|
651
|
+
fedex: {
|
|
652
|
+
eulaName: string;
|
|
653
|
+
disclaimerFooter: string;
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
eula: {
|
|
657
|
+
toContinue: string;
|
|
658
|
+
iAgree: string;
|
|
643
659
|
};
|
|
644
660
|
noCarriersDescription: string;
|
|
645
661
|
registrationForm: {
|
|
@@ -686,6 +702,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
686
702
|
address: {
|
|
687
703
|
fields: {
|
|
688
704
|
name: string;
|
|
705
|
+
fullName: string;
|
|
689
706
|
company: string;
|
|
690
707
|
county: string;
|
|
691
708
|
countryCode: string;
|
|
@@ -848,6 +865,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
848
865
|
unknown: string;
|
|
849
866
|
noRatesAvailable: string;
|
|
850
867
|
refreshAndTryAgain: string;
|
|
868
|
+
updateShipFromAddress: string;
|
|
851
869
|
windsorFramework: {
|
|
852
870
|
doNotConform: string;
|
|
853
871
|
pleaseAddTheFollowingTaxIds: string;
|
|
@@ -866,6 +884,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
866
884
|
saveRate: string;
|
|
867
885
|
security: string;
|
|
868
886
|
shipmentStatus: string;
|
|
887
|
+
shipFromAddress: string;
|
|
869
888
|
system: string;
|
|
870
889
|
unknown: string;
|
|
871
890
|
validation: string;
|
|
@@ -879,6 +898,8 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
879
898
|
shipmentId: string;
|
|
880
899
|
labelId: string;
|
|
881
900
|
labelIdFilter: string;
|
|
901
|
+
filteredTrackingStatus: string;
|
|
902
|
+
more: string;
|
|
882
903
|
createdDate: string;
|
|
883
904
|
shipmentIdFilter: string;
|
|
884
905
|
createdDateFilter: string;
|
|
@@ -28,6 +28,7 @@ export declare const useRatesForm: ({ getPreferredRates, disabledShippingService
|
|
|
28
28
|
displayableRateErrors: string[] | undefined;
|
|
29
29
|
errors: SE.CodedError[] | undefined;
|
|
30
30
|
fetchServicePoints: (searchQuery?: import("../../../hooks").ServicePointSearchQuery | undefined) => void;
|
|
31
|
+
fundingOrigin: import("../../../hooks").FundingOrigin | undefined;
|
|
31
32
|
isLoading: boolean;
|
|
32
33
|
labelErrors: string[] | undefined;
|
|
33
34
|
labels: SE.Label[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SE } from "@shipengine/react-api";
|
|
1
|
+
import { CodedError, SE } from "@shipengine/react-api";
|
|
2
2
|
import { HarmonizedTariffCode, ShipFromAddress } from "../../../types";
|
|
3
3
|
import { UseAddressProps } from "./use-address";
|
|
4
4
|
import { UsePresetsProps } from "./use-presets";
|
|
@@ -22,7 +22,7 @@ export declare const useShipmentForm: ({ compatibleCountryCodes, onAddressValida
|
|
|
22
22
|
charsetWarning: import("../../../components/templates").CharsetWarning | undefined;
|
|
23
23
|
customPackageTypes: SE.CustomPackage[] | undefined;
|
|
24
24
|
displayableErrors: string[] | undefined;
|
|
25
|
-
errors:
|
|
25
|
+
errors: CodedError[] | undefined;
|
|
26
26
|
onApplyPreset: (preset: import("../../../types").ShippingPreset) => Promise<void>;
|
|
27
27
|
onChangeAddress: (shipTo: SE.Address, { shouldValidate }: import("../../../components/templates").OnChangeAddressOptions) => Promise<SE.SalesOrderShipment>;
|
|
28
28
|
onChangeShipFromAddress: (id?: string, shipFromAddress?: ShipFromAddress) => Promise<void>;
|
|
@@ -31,8 +31,8 @@ export declare const useShipmentForm: ({ compatibleCountryCodes, onAddressValida
|
|
|
31
31
|
fullAddress: string;
|
|
32
32
|
}) => Promise<SE.AddressExtraction>;
|
|
33
33
|
onUpdateCustoms: (customs: SE.Customs, products: SE.Product[], canadaDdpValue?: string | null | undefined) => Promise<SE.SalesOrderShipment>;
|
|
34
|
-
onUpdateTaxableIds: (taxIds: SE.TaxIdentifier[], onError: (errors:
|
|
35
|
-
parseAddressErrors:
|
|
34
|
+
onUpdateTaxableIds: (taxIds: SE.TaxIdentifier[], onError: (errors: CodedError[]) => void) => Promise<SE.SalesOrderShipment>;
|
|
35
|
+
parseAddressErrors: CodedError[] | undefined;
|
|
36
36
|
resetParseAddress: () => void;
|
|
37
37
|
resetSalesOrderShipment: () => void;
|
|
38
38
|
salesOrder: SE.SalesOrder | undefined;
|
|
@@ -246,6 +246,9 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
246
246
|
thisMonth: string;
|
|
247
247
|
lastMonth: string;
|
|
248
248
|
};
|
|
249
|
+
category: {
|
|
250
|
+
fundsAdded: string;
|
|
251
|
+
};
|
|
249
252
|
};
|
|
250
253
|
"void-label": {
|
|
251
254
|
title: string;
|
|
@@ -848,8 +851,10 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
848
851
|
trackingStatus: {
|
|
849
852
|
unknown: string;
|
|
850
853
|
inTransit: string;
|
|
854
|
+
in_transit: string;
|
|
851
855
|
delivered: string;
|
|
852
856
|
error: string;
|
|
857
|
+
voided: string;
|
|
853
858
|
};
|
|
854
859
|
actions: {
|
|
855
860
|
title: string;
|
|
@@ -869,6 +874,17 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
869
874
|
connectCarriers: string;
|
|
870
875
|
disconnect: string;
|
|
871
876
|
disconnectCarrier: string;
|
|
877
|
+
downloadEula: string;
|
|
878
|
+
};
|
|
879
|
+
customForms: {
|
|
880
|
+
fedex: {
|
|
881
|
+
eulaName: string;
|
|
882
|
+
disclaimerFooter: string;
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
eula: {
|
|
886
|
+
toContinue: string;
|
|
887
|
+
iAgree: string;
|
|
872
888
|
};
|
|
873
889
|
noCarriersDescription: string;
|
|
874
890
|
registrationForm: {
|
|
@@ -915,6 +931,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
915
931
|
address: {
|
|
916
932
|
fields: {
|
|
917
933
|
name: string;
|
|
934
|
+
fullName: string;
|
|
918
935
|
company: string;
|
|
919
936
|
county: string;
|
|
920
937
|
countryCode: string;
|
|
@@ -936,10 +953,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
936
953
|
};
|
|
937
954
|
paste: string;
|
|
938
955
|
preference: {
|
|
939
|
-
confirm: string;
|
|
940
|
-
* A unique ID assigned during the creation of a sales order. It can be used to locate the
|
|
941
|
-
* sales order and any subsequent shipments related to that order.
|
|
942
|
-
*/
|
|
956
|
+
confirm: string;
|
|
943
957
|
addressNotValidated: string;
|
|
944
958
|
modified: string;
|
|
945
959
|
title: string;
|
|
@@ -947,7 +961,10 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
947
961
|
matchedAddress: string;
|
|
948
962
|
unableToValidate: string;
|
|
949
963
|
use: {
|
|
950
|
-
originalAddress: string;
|
|
964
|
+
originalAddress: string; /**
|
|
965
|
+
* A unique ID assigned during the creation of a sales order. It can be used to locate the
|
|
966
|
+
* sales order and any subsequent shipments related to that order.
|
|
967
|
+
*/
|
|
951
968
|
matchedAddress: string;
|
|
952
969
|
};
|
|
953
970
|
};
|
|
@@ -1080,6 +1097,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
1080
1097
|
unknown: string;
|
|
1081
1098
|
noRatesAvailable: string;
|
|
1082
1099
|
refreshAndTryAgain: string;
|
|
1100
|
+
updateShipFromAddress: string;
|
|
1083
1101
|
windsorFramework: {
|
|
1084
1102
|
doNotConform: string;
|
|
1085
1103
|
pleaseAddTheFollowingTaxIds: string;
|
|
@@ -1098,6 +1116,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
1098
1116
|
saveRate: string;
|
|
1099
1117
|
security: string;
|
|
1100
1118
|
shipmentStatus: string;
|
|
1119
|
+
shipFromAddress: string;
|
|
1101
1120
|
system: string;
|
|
1102
1121
|
unknown: string;
|
|
1103
1122
|
validation: string;
|
|
@@ -1111,6 +1130,8 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
1111
1130
|
shipmentId: string;
|
|
1112
1131
|
labelId: string;
|
|
1113
1132
|
labelIdFilter: string;
|
|
1133
|
+
filteredTrackingStatus: string;
|
|
1134
|
+
more: string;
|
|
1114
1135
|
createdDate: string;
|
|
1115
1136
|
shipmentIdFilter: string;
|
|
1116
1137
|
createdDateFilter: string;
|
|
@@ -22,6 +22,9 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
22
22
|
thisMonth: string;
|
|
23
23
|
lastMonth: string;
|
|
24
24
|
};
|
|
25
|
+
category: {
|
|
26
|
+
fundsAdded: string;
|
|
27
|
+
};
|
|
25
28
|
};
|
|
26
29
|
"void-label": {
|
|
27
30
|
title: string;
|
|
@@ -618,8 +621,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
618
621
|
trackingStatus: {
|
|
619
622
|
unknown: string;
|
|
620
623
|
inTransit: string;
|
|
624
|
+
in_transit: string;
|
|
621
625
|
delivered: string;
|
|
622
626
|
error: string;
|
|
627
|
+
voided: string;
|
|
623
628
|
};
|
|
624
629
|
actions: {
|
|
625
630
|
title: string;
|
|
@@ -639,6 +644,17 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
639
644
|
connectCarriers: string;
|
|
640
645
|
disconnect: string;
|
|
641
646
|
disconnectCarrier: string;
|
|
647
|
+
downloadEula: string;
|
|
648
|
+
};
|
|
649
|
+
customForms: {
|
|
650
|
+
fedex: {
|
|
651
|
+
eulaName: string;
|
|
652
|
+
disclaimerFooter: string;
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
eula: {
|
|
656
|
+
toContinue: string;
|
|
657
|
+
iAgree: string;
|
|
642
658
|
};
|
|
643
659
|
noCarriersDescription: string;
|
|
644
660
|
registrationForm: {
|
|
@@ -685,6 +701,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
685
701
|
address: {
|
|
686
702
|
fields: {
|
|
687
703
|
name: string;
|
|
704
|
+
fullName: string;
|
|
688
705
|
company: string;
|
|
689
706
|
county: string;
|
|
690
707
|
countryCode: string;
|
|
@@ -847,6 +864,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
847
864
|
unknown: string;
|
|
848
865
|
noRatesAvailable: string;
|
|
849
866
|
refreshAndTryAgain: string;
|
|
867
|
+
updateShipFromAddress: string;
|
|
850
868
|
windsorFramework: {
|
|
851
869
|
doNotConform: string;
|
|
852
870
|
pleaseAddTheFollowingTaxIds: string;
|
|
@@ -865,6 +883,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
865
883
|
saveRate: string;
|
|
866
884
|
security: string;
|
|
867
885
|
shipmentStatus: string;
|
|
886
|
+
shipFromAddress: string;
|
|
868
887
|
system: string;
|
|
869
888
|
unknown: string;
|
|
870
889
|
validation: string;
|
|
@@ -878,6 +897,8 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
878
897
|
shipmentId: string;
|
|
879
898
|
labelId: string;
|
|
880
899
|
labelIdFilter: string;
|
|
900
|
+
filteredTrackingStatus: string;
|
|
901
|
+
more: string;
|
|
881
902
|
createdDate: string;
|
|
882
903
|
shipmentIdFilter: string;
|
|
883
904
|
createdDateFilter: string;
|
|
@@ -111,6 +111,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
111
111
|
thisMonth: string;
|
|
112
112
|
lastMonth: string;
|
|
113
113
|
};
|
|
114
|
+
category: {
|
|
115
|
+
fundsAdded: string;
|
|
116
|
+
};
|
|
114
117
|
};
|
|
115
118
|
"void-label": {
|
|
116
119
|
title: string;
|
|
@@ -712,16 +715,19 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
712
715
|
voided: string;
|
|
713
716
|
error: string;
|
|
714
717
|
completed: string;
|
|
715
|
-
processing: string;
|
|
716
|
-
* `onClickPrintLabel` is a callback function that will be invoked when the user clicks the
|
|
717
|
-
* `Print Label` button.
|
|
718
|
-
*/
|
|
718
|
+
processing: string;
|
|
719
719
|
};
|
|
720
720
|
trackingStatus: {
|
|
721
721
|
unknown: string;
|
|
722
722
|
inTransit: string;
|
|
723
|
+
in_transit: string;
|
|
723
724
|
delivered: string;
|
|
724
725
|
error: string;
|
|
726
|
+
/**
|
|
727
|
+
* `onClickPurchaseLabel` is a callback function that will be invoked when the user clicks the
|
|
728
|
+
* `Purchase Label` button.
|
|
729
|
+
*/
|
|
730
|
+
voided: string;
|
|
725
731
|
};
|
|
726
732
|
actions: {
|
|
727
733
|
title: string;
|
|
@@ -741,6 +747,17 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
741
747
|
connectCarriers: string;
|
|
742
748
|
disconnect: string;
|
|
743
749
|
disconnectCarrier: string;
|
|
750
|
+
downloadEula: string;
|
|
751
|
+
};
|
|
752
|
+
customForms: {
|
|
753
|
+
fedex: {
|
|
754
|
+
eulaName: string;
|
|
755
|
+
disclaimerFooter: string;
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
eula: {
|
|
759
|
+
toContinue: string;
|
|
760
|
+
iAgree: string;
|
|
744
761
|
};
|
|
745
762
|
noCarriersDescription: string;
|
|
746
763
|
registrationForm: {
|
|
@@ -787,6 +804,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
787
804
|
address: {
|
|
788
805
|
fields: {
|
|
789
806
|
name: string;
|
|
807
|
+
fullName: string;
|
|
790
808
|
company: string;
|
|
791
809
|
county: string;
|
|
792
810
|
countryCode: string;
|
|
@@ -804,6 +822,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
804
822
|
optional: string;
|
|
805
823
|
};
|
|
806
824
|
parserFields: {
|
|
825
|
+
/**
|
|
826
|
+
* `onClickPurchaseLabel` is a callback function that will be invoked when the user clicks the
|
|
827
|
+
* `Purchase Label` button.
|
|
828
|
+
*/
|
|
807
829
|
fullAddress: string;
|
|
808
830
|
};
|
|
809
831
|
paste: string;
|
|
@@ -816,31 +838,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
816
838
|
matchedAddress: string;
|
|
817
839
|
unableToValidate: string;
|
|
818
840
|
use: {
|
|
819
|
-
/**
|
|
820
|
-
* # Shipment Summary Component
|
|
821
|
-
*
|
|
822
|
-
* - The `<ShipmentSummary />` component is used to for viewing the shipment's tracking number, printing the label that
|
|
823
|
-
* was created, and the option to void the label. When a label is voided, you can see a list of the
|
|
824
|
-
* previously voided labels for a given shipment using this component.
|
|
825
|
-
*
|
|
826
|
-
* @param ComponentProps The base props that will be passed into the `<ShipmentSummary />` component.
|
|
827
|
-
*
|
|
828
|
-
* @returns Element An EmotionJSX.Element that will render the `<ShipmentSummary />` component
|
|
829
|
-
* with all the appropriate wrappers.
|
|
830
|
-
*
|
|
831
|
-
* @example
|
|
832
|
-
* You can see how the `<Component />` is used in the `createElement` function call below.
|
|
833
|
-
* ```tsx
|
|
834
|
-
* export const Element = createElement(Component, ErrorFallback, {
|
|
835
|
-
*
|
|
836
|
-
* resources: { en },
|
|
837
|
-
* });
|
|
838
|
-
* ```
|
|
839
|
-
*
|
|
840
|
-
* <br />
|
|
841
|
-
*
|
|
842
|
-
* @see {@link ShipmentSummary.Element | The **Element** created to render `<ShipmentSummary />`}
|
|
843
|
-
*/
|
|
844
841
|
originalAddress: string;
|
|
845
842
|
matchedAddress: string;
|
|
846
843
|
};
|
|
@@ -921,13 +918,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
921
918
|
harmonizedTariffCode: string;
|
|
922
919
|
ifDeliveryFails: string;
|
|
923
920
|
dutiesTaxes: string;
|
|
924
|
-
quantity: string;
|
|
925
|
-
* # Shipment Summary Element Props
|
|
926
|
-
*
|
|
927
|
-
* - These are the base props that will be passed into the `<ShipmentSummary />` element.
|
|
928
|
-
*
|
|
929
|
-
* @see {@link ShipmentSummary.Element | See the full type that `typeof Element` will return}
|
|
930
|
-
*/
|
|
921
|
+
quantity: string;
|
|
931
922
|
sku: string;
|
|
932
923
|
value: string;
|
|
933
924
|
valueQuantity: string;
|
|
@@ -980,6 +971,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
980
971
|
unknown: string;
|
|
981
972
|
noRatesAvailable: string;
|
|
982
973
|
refreshAndTryAgain: string;
|
|
974
|
+
updateShipFromAddress: string;
|
|
983
975
|
windsorFramework: {
|
|
984
976
|
doNotConform: string;
|
|
985
977
|
pleaseAddTheFollowingTaxIds: string;
|
|
@@ -998,6 +990,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
998
990
|
saveRate: string;
|
|
999
991
|
security: string;
|
|
1000
992
|
shipmentStatus: string;
|
|
993
|
+
shipFromAddress: string;
|
|
1001
994
|
system: string;
|
|
1002
995
|
unknown: string;
|
|
1003
996
|
validation: string;
|
|
@@ -1011,6 +1004,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
1011
1004
|
shipmentId: string;
|
|
1012
1005
|
labelId: string;
|
|
1013
1006
|
labelIdFilter: string;
|
|
1007
|
+
filteredTrackingStatus: string;
|
|
1008
|
+
more: string;
|
|
1014
1009
|
createdDate: string;
|
|
1015
1010
|
shipmentIdFilter: string;
|
|
1016
1011
|
createdDateFilter: string;
|
|
@@ -94,6 +94,9 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
94
94
|
thisMonth: string;
|
|
95
95
|
lastMonth: string;
|
|
96
96
|
};
|
|
97
|
+
category: {
|
|
98
|
+
fundsAdded: string;
|
|
99
|
+
};
|
|
97
100
|
};
|
|
98
101
|
"void-label": {
|
|
99
102
|
title: string;
|
|
@@ -710,10 +713,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
710
713
|
button: string;
|
|
711
714
|
};
|
|
712
715
|
status: {
|
|
713
|
-
voided: string;
|
|
714
|
-
* `onClickCancelShipment` is a callback function that controls the display of `Cancel shipment` option and
|
|
715
|
-
* will be invoked when the user clicks on it.
|
|
716
|
-
*/
|
|
716
|
+
voided: string;
|
|
717
717
|
error: string;
|
|
718
718
|
completed: string;
|
|
719
719
|
processing: string;
|
|
@@ -721,8 +721,10 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
721
721
|
trackingStatus: {
|
|
722
722
|
unknown: string;
|
|
723
723
|
inTransit: string;
|
|
724
|
+
in_transit: string;
|
|
724
725
|
delivered: string;
|
|
725
726
|
error: string;
|
|
727
|
+
voided: string;
|
|
726
728
|
};
|
|
727
729
|
actions: {
|
|
728
730
|
title: string;
|
|
@@ -742,6 +744,17 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
742
744
|
connectCarriers: string;
|
|
743
745
|
disconnect: string;
|
|
744
746
|
disconnectCarrier: string;
|
|
747
|
+
downloadEula: string;
|
|
748
|
+
};
|
|
749
|
+
customForms: {
|
|
750
|
+
fedex: {
|
|
751
|
+
eulaName: string;
|
|
752
|
+
disclaimerFooter: string;
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
eula: {
|
|
756
|
+
toContinue: string;
|
|
757
|
+
iAgree: string;
|
|
745
758
|
};
|
|
746
759
|
noCarriersDescription: string;
|
|
747
760
|
registrationForm: {
|
|
@@ -755,10 +768,6 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
755
768
|
header: string;
|
|
756
769
|
};
|
|
757
770
|
status: {
|
|
758
|
-
/**
|
|
759
|
-
* `onClickCancelShipment` is a callback function that controls the display of `Cancel shipment` option and
|
|
760
|
-
* will be invoked when the user clicks on it.
|
|
761
|
-
*/
|
|
762
771
|
connected: string;
|
|
763
772
|
};
|
|
764
773
|
disconnectDropdown: {
|
|
@@ -792,6 +801,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
792
801
|
address: {
|
|
793
802
|
fields: {
|
|
794
803
|
name: string;
|
|
804
|
+
fullName: string;
|
|
795
805
|
company: string;
|
|
796
806
|
county: string;
|
|
797
807
|
countryCode: string;
|
|
@@ -799,10 +809,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
799
809
|
addressLine2: string;
|
|
800
810
|
cityLocality: string;
|
|
801
811
|
stateProvince: string;
|
|
802
|
-
postalCode: string;
|
|
803
|
-
* `onClickCancelShipment` is a callback function that controls the display of `Cancel shipment` option and
|
|
804
|
-
* will be invoked when the user clicks on it.
|
|
805
|
-
*/
|
|
812
|
+
postalCode: string;
|
|
806
813
|
phone: string;
|
|
807
814
|
email: string;
|
|
808
815
|
addressResidentialIndicator: string;
|
|
@@ -821,9 +828,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
821
828
|
modified: string;
|
|
822
829
|
title: string;
|
|
823
830
|
originalAddress: string;
|
|
824
|
-
matchedAddress: string;
|
|
825
|
-
* `showShipmentIdFilter` controls the display of the shipmentId search filter
|
|
826
|
-
*/
|
|
831
|
+
matchedAddress: string;
|
|
827
832
|
unableToValidate: string;
|
|
828
833
|
use: {
|
|
829
834
|
originalAddress: string;
|
|
@@ -831,27 +836,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
831
836
|
};
|
|
832
837
|
};
|
|
833
838
|
validation: {
|
|
834
|
-
notValidated: string;
|
|
835
|
-
* # Shipments Grid Component
|
|
836
|
-
*
|
|
837
|
-
* - The `<ShipmentsGrid />` component is used to view the user's list of shipments.
|
|
838
|
-
*
|
|
839
|
-
* @param ShipmentsGridProps The base props that will be passed into the `<ShipmentsGrid />` component.
|
|
840
|
-
*
|
|
841
|
-
* @returns Element An EmotionJSX.Element that will render the `<ShipmentsGrid />` component.
|
|
842
|
-
*
|
|
843
|
-
* @example
|
|
844
|
-
* You can see how the `<Component />` is used in the `createElement` function call below.
|
|
845
|
-
* ```tsx
|
|
846
|
-
* export const Element = createElement(Component, ErrorFallback, {
|
|
847
|
-
* resources: { en },
|
|
848
|
-
* });
|
|
849
|
-
* ```
|
|
850
|
-
*
|
|
851
|
-
* <br />
|
|
852
|
-
*
|
|
853
|
-
* @see {@link ShipmentsGrid.Element | The **Element** created to render `<ShipmentsGrid />`}
|
|
854
|
-
*/
|
|
839
|
+
notValidated: string;
|
|
855
840
|
validated: string;
|
|
856
841
|
};
|
|
857
842
|
};
|
|
@@ -979,6 +964,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
979
964
|
unknown: string;
|
|
980
965
|
noRatesAvailable: string;
|
|
981
966
|
refreshAndTryAgain: string;
|
|
967
|
+
updateShipFromAddress: string;
|
|
982
968
|
windsorFramework: {
|
|
983
969
|
doNotConform: string;
|
|
984
970
|
pleaseAddTheFollowingTaxIds: string;
|
|
@@ -997,6 +983,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
997
983
|
saveRate: string;
|
|
998
984
|
security: string;
|
|
999
985
|
shipmentStatus: string;
|
|
986
|
+
shipFromAddress: string;
|
|
1000
987
|
system: string;
|
|
1001
988
|
unknown: string;
|
|
1002
989
|
validation: string;
|
|
@@ -1010,6 +997,8 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
1010
997
|
shipmentId: string;
|
|
1011
998
|
labelId: string;
|
|
1012
999
|
labelIdFilter: string;
|
|
1000
|
+
filteredTrackingStatus: string;
|
|
1001
|
+
more: string;
|
|
1013
1002
|
createdDate: string;
|
|
1014
1003
|
shipmentIdFilter: string;
|
|
1015
1004
|
createdDateFilter: string;
|