@shipengine/elements 2.18.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 +3 -3
- 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/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/elements/labels-grid/hooks/use-labels-grid.d.ts +9 -54
- 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 +30 -32
- package/src/elements/shipments-grid/shipments-grid.d.ts +24 -32
- package/src/elements/theme-creator/theme-creator.d.ts +21 -0
- 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 +39 -8
- 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/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 +1 -1
- package/src/utilities/shipengine/address.d.ts +1 -1
- 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 +32 -24
- package/src/workflows/label-workflow/label-workflow.d.ts +21 -0
- package/src/workflows/onboarding/onboarding.d.ts +29 -11
- 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/use-toggle.js +0 -1
|
@@ -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;
|
|
@@ -717,8 +720,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
717
720
|
trackingStatus: {
|
|
718
721
|
unknown: string;
|
|
719
722
|
inTransit: string;
|
|
723
|
+
in_transit: string;
|
|
720
724
|
delivered: string;
|
|
721
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;
|
|
722
731
|
};
|
|
723
732
|
actions: {
|
|
724
733
|
title: string;
|
|
@@ -738,6 +747,17 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
738
747
|
connectCarriers: string;
|
|
739
748
|
disconnect: string;
|
|
740
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;
|
|
741
761
|
};
|
|
742
762
|
noCarriersDescription: string;
|
|
743
763
|
registrationForm: {
|
|
@@ -784,6 +804,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
784
804
|
address: {
|
|
785
805
|
fields: {
|
|
786
806
|
name: string;
|
|
807
|
+
fullName: string;
|
|
787
808
|
company: string;
|
|
788
809
|
county: string;
|
|
789
810
|
countryCode: string;
|
|
@@ -801,6 +822,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
801
822
|
optional: string;
|
|
802
823
|
};
|
|
803
824
|
parserFields: {
|
|
825
|
+
/**
|
|
826
|
+
* `onClickPurchaseLabel` is a callback function that will be invoked when the user clicks the
|
|
827
|
+
* `Purchase Label` button.
|
|
828
|
+
*/
|
|
804
829
|
fullAddress: string;
|
|
805
830
|
};
|
|
806
831
|
paste: string;
|
|
@@ -813,31 +838,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
813
838
|
matchedAddress: string;
|
|
814
839
|
unableToValidate: string;
|
|
815
840
|
use: {
|
|
816
|
-
/**
|
|
817
|
-
* # Shipment Summary Component
|
|
818
|
-
*
|
|
819
|
-
* - The `<ShipmentSummary />` component is used to for viewing the shipment's tracking number, printing the label that
|
|
820
|
-
* was created, and the option to void the label. When a label is voided, you can see a list of the
|
|
821
|
-
* previously voided labels for a given shipment using this component.
|
|
822
|
-
*
|
|
823
|
-
* @param ComponentProps The base props that will be passed into the `<ShipmentSummary />` component.
|
|
824
|
-
*
|
|
825
|
-
* @returns Element An EmotionJSX.Element that will render the `<ShipmentSummary />` component
|
|
826
|
-
* with all the appropriate wrappers.
|
|
827
|
-
*
|
|
828
|
-
* @example
|
|
829
|
-
* You can see how the `<Component />` is used in the `createElement` function call below.
|
|
830
|
-
* ```tsx
|
|
831
|
-
* export const Element = createElement(Component, ErrorFallback, {
|
|
832
|
-
*
|
|
833
|
-
* resources: { en },
|
|
834
|
-
* });
|
|
835
|
-
* ```
|
|
836
|
-
*
|
|
837
|
-
* <br />
|
|
838
|
-
*
|
|
839
|
-
* @see {@link ShipmentSummary.Element | The **Element** created to render `<ShipmentSummary />`}
|
|
840
|
-
*/
|
|
841
841
|
originalAddress: string;
|
|
842
842
|
matchedAddress: string;
|
|
843
843
|
};
|
|
@@ -918,13 +918,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
918
918
|
harmonizedTariffCode: string;
|
|
919
919
|
ifDeliveryFails: string;
|
|
920
920
|
dutiesTaxes: string;
|
|
921
|
-
quantity: string;
|
|
922
|
-
* # Shipment Summary Element Props
|
|
923
|
-
*
|
|
924
|
-
* - These are the base props that will be passed into the `<ShipmentSummary />` element.
|
|
925
|
-
*
|
|
926
|
-
* @see {@link ShipmentSummary.Element | See the full type that `typeof Element` will return}
|
|
927
|
-
*/
|
|
921
|
+
quantity: string;
|
|
928
922
|
sku: string;
|
|
929
923
|
value: string;
|
|
930
924
|
valueQuantity: string;
|
|
@@ -977,6 +971,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
977
971
|
unknown: string;
|
|
978
972
|
noRatesAvailable: string;
|
|
979
973
|
refreshAndTryAgain: string;
|
|
974
|
+
updateShipFromAddress: string;
|
|
980
975
|
windsorFramework: {
|
|
981
976
|
doNotConform: string;
|
|
982
977
|
pleaseAddTheFollowingTaxIds: string;
|
|
@@ -995,6 +990,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
995
990
|
saveRate: string;
|
|
996
991
|
security: string;
|
|
997
992
|
shipmentStatus: string;
|
|
993
|
+
shipFromAddress: string;
|
|
998
994
|
system: string;
|
|
999
995
|
unknown: string;
|
|
1000
996
|
validation: string;
|
|
@@ -1008,6 +1004,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
1008
1004
|
shipmentId: string;
|
|
1009
1005
|
labelId: string;
|
|
1010
1006
|
labelIdFilter: string;
|
|
1007
|
+
filteredTrackingStatus: string;
|
|
1008
|
+
more: string;
|
|
1011
1009
|
createdDate: string;
|
|
1012
1010
|
shipmentIdFilter: string;
|
|
1013
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;
|
|
@@ -718,8 +721,10 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
718
721
|
trackingStatus: {
|
|
719
722
|
unknown: string;
|
|
720
723
|
inTransit: string;
|
|
724
|
+
in_transit: string;
|
|
721
725
|
delivered: string;
|
|
722
726
|
error: string;
|
|
727
|
+
voided: string;
|
|
723
728
|
};
|
|
724
729
|
actions: {
|
|
725
730
|
title: string;
|
|
@@ -739,6 +744,17 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
739
744
|
connectCarriers: string;
|
|
740
745
|
disconnect: string;
|
|
741
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;
|
|
742
758
|
};
|
|
743
759
|
noCarriersDescription: string;
|
|
744
760
|
registrationForm: {
|
|
@@ -752,10 +768,6 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
752
768
|
header: string;
|
|
753
769
|
};
|
|
754
770
|
status: {
|
|
755
|
-
/**
|
|
756
|
-
* `onClickCancelShipment` is a callback function that controls the display of `Cancel shipment` option and
|
|
757
|
-
* will be invoked when the user clicks on it.
|
|
758
|
-
*/
|
|
759
771
|
connected: string;
|
|
760
772
|
};
|
|
761
773
|
disconnectDropdown: {
|
|
@@ -789,6 +801,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
789
801
|
address: {
|
|
790
802
|
fields: {
|
|
791
803
|
name: string;
|
|
804
|
+
fullName: string;
|
|
792
805
|
company: string;
|
|
793
806
|
county: string;
|
|
794
807
|
countryCode: string;
|
|
@@ -796,10 +809,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
796
809
|
addressLine2: string;
|
|
797
810
|
cityLocality: string;
|
|
798
811
|
stateProvince: string;
|
|
799
|
-
postalCode: string;
|
|
800
|
-
* `onClickCancelShipment` is a callback function that controls the display of `Cancel shipment` option and
|
|
801
|
-
* will be invoked when the user clicks on it.
|
|
802
|
-
*/
|
|
812
|
+
postalCode: string;
|
|
803
813
|
phone: string;
|
|
804
814
|
email: string;
|
|
805
815
|
addressResidentialIndicator: string;
|
|
@@ -818,9 +828,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
818
828
|
modified: string;
|
|
819
829
|
title: string;
|
|
820
830
|
originalAddress: string;
|
|
821
|
-
matchedAddress: string;
|
|
822
|
-
* `showShipmentIdFilter` controls the display of the shipmentId search filter
|
|
823
|
-
*/
|
|
831
|
+
matchedAddress: string;
|
|
824
832
|
unableToValidate: string;
|
|
825
833
|
use: {
|
|
826
834
|
originalAddress: string;
|
|
@@ -828,27 +836,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
828
836
|
};
|
|
829
837
|
};
|
|
830
838
|
validation: {
|
|
831
|
-
notValidated: string;
|
|
832
|
-
* # Shipments Grid Component
|
|
833
|
-
*
|
|
834
|
-
* - The `<ShipmentsGrid />` component is used to view the user's list of shipments.
|
|
835
|
-
*
|
|
836
|
-
* @param ShipmentsGridProps The base props that will be passed into the `<ShipmentsGrid />` component.
|
|
837
|
-
*
|
|
838
|
-
* @returns Element An EmotionJSX.Element that will render the `<ShipmentsGrid />` component.
|
|
839
|
-
*
|
|
840
|
-
* @example
|
|
841
|
-
* You can see how the `<Component />` is used in the `createElement` function call below.
|
|
842
|
-
* ```tsx
|
|
843
|
-
* export const Element = createElement(Component, ErrorFallback, {
|
|
844
|
-
* resources: { en },
|
|
845
|
-
* });
|
|
846
|
-
* ```
|
|
847
|
-
*
|
|
848
|
-
* <br />
|
|
849
|
-
*
|
|
850
|
-
* @see {@link ShipmentsGrid.Element | The **Element** created to render `<ShipmentsGrid />`}
|
|
851
|
-
*/
|
|
839
|
+
notValidated: string;
|
|
852
840
|
validated: string;
|
|
853
841
|
};
|
|
854
842
|
};
|
|
@@ -976,6 +964,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
976
964
|
unknown: string;
|
|
977
965
|
noRatesAvailable: string;
|
|
978
966
|
refreshAndTryAgain: string;
|
|
967
|
+
updateShipFromAddress: string;
|
|
979
968
|
windsorFramework: {
|
|
980
969
|
doNotConform: string;
|
|
981
970
|
pleaseAddTheFollowingTaxIds: string;
|
|
@@ -994,6 +983,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
994
983
|
saveRate: string;
|
|
995
984
|
security: string;
|
|
996
985
|
shipmentStatus: string;
|
|
986
|
+
shipFromAddress: string;
|
|
997
987
|
system: string;
|
|
998
988
|
unknown: string;
|
|
999
989
|
validation: string;
|
|
@@ -1007,6 +997,8 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
1007
997
|
shipmentId: string;
|
|
1008
998
|
labelId: string;
|
|
1009
999
|
labelIdFilter: string;
|
|
1000
|
+
filteredTrackingStatus: string;
|
|
1001
|
+
more: string;
|
|
1010
1002
|
createdDate: string;
|
|
1011
1003
|
shipmentIdFilter: string;
|
|
1012
1004
|
createdDateFilter: string;
|
|
@@ -24,6 +24,9 @@ export declare const Element: ({ resources, ...props }: ThemeCreatorProps & {
|
|
|
24
24
|
thisMonth: string;
|
|
25
25
|
lastMonth: string;
|
|
26
26
|
};
|
|
27
|
+
category: {
|
|
28
|
+
fundsAdded: string;
|
|
29
|
+
};
|
|
27
30
|
};
|
|
28
31
|
"void-label": {
|
|
29
32
|
title: string;
|
|
@@ -620,8 +623,10 @@ export declare const Element: ({ resources, ...props }: ThemeCreatorProps & {
|
|
|
620
623
|
trackingStatus: {
|
|
621
624
|
unknown: string;
|
|
622
625
|
inTransit: string;
|
|
626
|
+
in_transit: string;
|
|
623
627
|
delivered: string;
|
|
624
628
|
error: string;
|
|
629
|
+
voided: string;
|
|
625
630
|
};
|
|
626
631
|
actions: {
|
|
627
632
|
title: string;
|
|
@@ -641,6 +646,17 @@ export declare const Element: ({ resources, ...props }: ThemeCreatorProps & {
|
|
|
641
646
|
connectCarriers: string;
|
|
642
647
|
disconnect: string;
|
|
643
648
|
disconnectCarrier: string;
|
|
649
|
+
downloadEula: string;
|
|
650
|
+
};
|
|
651
|
+
customForms: {
|
|
652
|
+
fedex: {
|
|
653
|
+
eulaName: string;
|
|
654
|
+
disclaimerFooter: string;
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
eula: {
|
|
658
|
+
toContinue: string;
|
|
659
|
+
iAgree: string;
|
|
644
660
|
};
|
|
645
661
|
noCarriersDescription: string;
|
|
646
662
|
registrationForm: {
|
|
@@ -687,6 +703,7 @@ export declare const Element: ({ resources, ...props }: ThemeCreatorProps & {
|
|
|
687
703
|
address: {
|
|
688
704
|
fields: {
|
|
689
705
|
name: string;
|
|
706
|
+
fullName: string;
|
|
690
707
|
company: string;
|
|
691
708
|
county: string;
|
|
692
709
|
countryCode: string;
|
|
@@ -849,6 +866,7 @@ export declare const Element: ({ resources, ...props }: ThemeCreatorProps & {
|
|
|
849
866
|
unknown: string;
|
|
850
867
|
noRatesAvailable: string;
|
|
851
868
|
refreshAndTryAgain: string;
|
|
869
|
+
updateShipFromAddress: string;
|
|
852
870
|
windsorFramework: {
|
|
853
871
|
doNotConform: string;
|
|
854
872
|
pleaseAddTheFollowingTaxIds: string;
|
|
@@ -867,6 +885,7 @@ export declare const Element: ({ resources, ...props }: ThemeCreatorProps & {
|
|
|
867
885
|
saveRate: string;
|
|
868
886
|
security: string;
|
|
869
887
|
shipmentStatus: string;
|
|
888
|
+
shipFromAddress: string;
|
|
870
889
|
system: string;
|
|
871
890
|
unknown: string;
|
|
872
891
|
validation: string;
|
|
@@ -880,6 +899,8 @@ export declare const Element: ({ resources, ...props }: ThemeCreatorProps & {
|
|
|
880
899
|
shipmentId: string;
|
|
881
900
|
labelId: string;
|
|
882
901
|
labelIdFilter: string;
|
|
902
|
+
filteredTrackingStatus: string;
|
|
903
|
+
more: string;
|
|
883
904
|
createdDate: string;
|
|
884
905
|
shipmentIdFilter: string;
|
|
885
906
|
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;
|