@shipengine/elements 2.6.0 → 2.8.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 +2 -2
- package/carrier.js +1 -1
- package/components.js +1 -1
- package/elements.js +1 -1
- package/index.js +1 -1
- package/package.json +5 -5
- package/src/components/grid-filters/components/created-date-filter/created-date-filter.d.ts +23 -0
- package/src/components/grid-filters/components/created-date-filter/created-date-filter.styles.d.ts +41 -0
- package/src/components/grid-filters/components/created-date-filter/index.d.ts +1 -0
- package/src/components/grid-filters/components/created-date-filter/types/form.d.ts +7 -0
- package/src/components/grid-filters/components/created-date-filter/types/index.d.ts +1 -0
- package/src/components/grid-filters/components/created-date-filter/utils/dates.d.ts +12 -0
- package/src/components/grid-filters/components/created-date-filter/utils/index.d.ts +1 -0
- package/src/components/grid-filters/components/index.d.ts +2 -0
- package/src/components/grid-filters/components/shipment-id-filter/index.d.ts +1 -0
- package/src/components/grid-filters/{shipment-id-filter.d.ts → components/shipment-id-filter/shipment-id-filter.d.ts} +1 -1
- package/src/components/grid-filters/components/shipment-id-filter/shipment-id-filter.styles.d.ts +10 -0
- package/src/components/grid-filters/grid-filters.d.ts +4 -0
- package/src/components/history/history-card/history-card.styles.d.ts +0 -3
- package/src/components/service-point-display/operating-hours.styles.d.ts +0 -1
- package/src/components/tabs/tabs.styles.d.ts +0 -1
- package/src/components/templates/shipment-form/shipment-schema.d.ts +67 -49
- package/src/elements/label-layout/label-layout-element.d.ts +14 -0
- package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +1 -1
- package/src/elements/labels-grid/labels-grid.d.ts +35 -18
- package/src/elements/manage-carriers/manage-carriers.d.ts +14 -0
- package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +14 -0
- package/src/elements/manage-funding/manage-funding-element.d.ts +14 -0
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +14 -0
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +14 -0
- package/src/elements/purchase-label/purchase-label.d.ts +14 -5
- package/src/elements/shipment-summary/shipment-summary.d.ts +14 -0
- package/src/elements/shipments-grid/hooks/use-shipments-grid.d.ts +2 -3
- package/src/elements/shipments-grid/shipments-grid.d.ts +35 -19
- package/src/elements/shipments-grid/utils/created-date-value.d.ts +15 -0
- package/src/elements/shipments-grid/utils/index.d.ts +1 -0
- package/src/elements/theme-creator/theme-creator.d.ts +14 -0
- package/src/elements/theme-creator/themeData/themeData.d.ts +1 -1
- package/src/elements/transaction-history/transaction-history-element.d.ts +14 -0
- package/src/elements/unit-settings/unit-settings-element.d.ts +14 -0
- package/src/elements/vat-settings/vat-settings-element.d.ts +14 -0
- package/src/elements/void-label/void-label.d.ts +14 -0
- package/src/locales/en/index.d.ts +14 -0
- package/src/utilities/date.d.ts +1 -1
- package/src/workflows/account-settings/account-settings.d.ts +14 -0
- package/src/workflows/carrier-services/carrier-services.d.ts +14 -0
- package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +14 -0
- package/src/workflows/onboarding/onboarding.d.ts +14 -0
- package/transaction-history-element.js +1 -1
- package/use-unit-settings.js +1 -1
- package/usePager.js +1 -1
- package/vat.js +1 -1
- package/wallet-form.js +1 -1
- package/src/components/grid-filters/grid-filters.styles.d.ts +0 -11
- /package/src/components/grid-filters/{shipment-id-filter-shema.d.ts → components/shipment-id-filter/shipment-id-filter-shema.d.ts} +0 -0
|
@@ -552,6 +552,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
552
552
|
shipping: string;
|
|
553
553
|
shipDate: string;
|
|
554
554
|
status: string;
|
|
555
|
+
trackingStatus: string;
|
|
555
556
|
};
|
|
556
557
|
empty: {
|
|
557
558
|
title: string;
|
|
@@ -568,6 +569,12 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
568
569
|
completed: string;
|
|
569
570
|
processing: string;
|
|
570
571
|
};
|
|
572
|
+
trackingStatus: {
|
|
573
|
+
unknown: string;
|
|
574
|
+
inTransit: string;
|
|
575
|
+
delivered: string;
|
|
576
|
+
error: string;
|
|
577
|
+
};
|
|
571
578
|
actions: {
|
|
572
579
|
title: string;
|
|
573
580
|
print: string;
|
|
@@ -799,11 +806,18 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
799
806
|
rows: string;
|
|
800
807
|
clearAll: string;
|
|
801
808
|
shipmentId: string;
|
|
809
|
+
createdDate: string;
|
|
802
810
|
shipmentIdFilter: string;
|
|
811
|
+
createdDateFilter: string;
|
|
803
812
|
apply: string;
|
|
804
813
|
clear: string;
|
|
805
814
|
search: string;
|
|
806
815
|
shipmentIdHint: string;
|
|
816
|
+
dateFilterToday: string;
|
|
817
|
+
dateFilterLast7Days: string;
|
|
818
|
+
dateFilterLast30Days: string;
|
|
819
|
+
dateFilterLast12Months: string;
|
|
820
|
+
dateFilterCustom: string;
|
|
807
821
|
};
|
|
808
822
|
insuranceProviders: {
|
|
809
823
|
carrier: string;
|
|
@@ -748,6 +748,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
748
748
|
shipping: string;
|
|
749
749
|
shipDate: string;
|
|
750
750
|
status: string;
|
|
751
|
+
trackingStatus: string;
|
|
751
752
|
};
|
|
752
753
|
empty: {
|
|
753
754
|
title: string;
|
|
@@ -764,6 +765,12 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
764
765
|
completed: string;
|
|
765
766
|
processing: string;
|
|
766
767
|
};
|
|
768
|
+
trackingStatus: {
|
|
769
|
+
unknown: string;
|
|
770
|
+
inTransit: string;
|
|
771
|
+
delivered: string;
|
|
772
|
+
error: string;
|
|
773
|
+
};
|
|
767
774
|
actions: {
|
|
768
775
|
title: string;
|
|
769
776
|
print: string;
|
|
@@ -1009,11 +1016,18 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1009
1016
|
rows: string;
|
|
1010
1017
|
clearAll: string;
|
|
1011
1018
|
shipmentId: string;
|
|
1019
|
+
createdDate: string;
|
|
1012
1020
|
shipmentIdFilter: string;
|
|
1021
|
+
createdDateFilter: string;
|
|
1013
1022
|
apply: string;
|
|
1014
1023
|
clear: string;
|
|
1015
1024
|
search: string;
|
|
1016
1025
|
shipmentIdHint: string;
|
|
1026
|
+
dateFilterToday: string;
|
|
1027
|
+
dateFilterLast7Days: string;
|
|
1028
|
+
dateFilterLast30Days: string;
|
|
1029
|
+
dateFilterLast12Months: string;
|
|
1030
|
+
dateFilterCustom: string;
|
|
1017
1031
|
};
|
|
1018
1032
|
insuranceProviders: {
|
|
1019
1033
|
carrier: string;
|
|
@@ -1082,11 +1096,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1082
1096
|
invalidStateProvince: string;
|
|
1083
1097
|
invalidString: string;
|
|
1084
1098
|
nonnegative: string;
|
|
1085
|
-
/**
|
|
1086
|
-
* # Purchase Label Component Props
|
|
1087
|
-
*
|
|
1088
|
-
* @see {@link PurchaseLabel.Component | The **Common Props** used in the `<PurchaseLabel /> component`}
|
|
1089
|
-
*/
|
|
1090
1099
|
nonnegativeList: string;
|
|
1091
1100
|
positive: string;
|
|
1092
1101
|
positiveList: string;
|
|
@@ -649,6 +649,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
649
649
|
shipping: string;
|
|
650
650
|
shipDate: string;
|
|
651
651
|
status: string;
|
|
652
|
+
trackingStatus: string;
|
|
652
653
|
};
|
|
653
654
|
empty: {
|
|
654
655
|
title: string;
|
|
@@ -665,6 +666,12 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
665
666
|
completed: string;
|
|
666
667
|
processing: string;
|
|
667
668
|
};
|
|
669
|
+
trackingStatus: {
|
|
670
|
+
unknown: string;
|
|
671
|
+
inTransit: string;
|
|
672
|
+
delivered: string;
|
|
673
|
+
error: string;
|
|
674
|
+
};
|
|
668
675
|
actions: {
|
|
669
676
|
title: string;
|
|
670
677
|
print: string;
|
|
@@ -898,11 +905,18 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
898
905
|
rows: string;
|
|
899
906
|
clearAll: string;
|
|
900
907
|
shipmentId: string;
|
|
908
|
+
createdDate: string;
|
|
901
909
|
shipmentIdFilter: string;
|
|
910
|
+
createdDateFilter: string;
|
|
902
911
|
apply: string;
|
|
903
912
|
clear: string;
|
|
904
913
|
search: string;
|
|
905
914
|
shipmentIdHint: string;
|
|
915
|
+
dateFilterToday: string;
|
|
916
|
+
dateFilterLast7Days: string;
|
|
917
|
+
dateFilterLast30Days: string;
|
|
918
|
+
dateFilterLast12Months: string;
|
|
919
|
+
dateFilterCustom: string;
|
|
906
920
|
};
|
|
907
921
|
insuranceProviders: {
|
|
908
922
|
carrier: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SE } from "@shipengine/js-api";
|
|
3
2
|
import { IGridFilters } from "../../../components";
|
|
4
3
|
import { ShipmentsGridProps } from "../shipments-grid";
|
|
5
|
-
export declare const useShipmentsGrid: ({ shipmentStatus, showShipmentIdFilter, }: ShipmentsGridProps) => {
|
|
4
|
+
export declare const useShipmentsGrid: ({ shipmentStatus, showShipmentIdFilter, showCreatedDateFilter, }: ShipmentsGridProps) => {
|
|
6
5
|
clearAllFilters: () => void;
|
|
7
6
|
filters: IGridFilters;
|
|
8
7
|
getGridData: () => {
|
|
@@ -89,7 +88,7 @@ export declare const useShipmentsGrid: ({ shipmentStatus, showShipmentIdFilter,
|
|
|
89
88
|
showPagination: boolean;
|
|
90
89
|
totalElements: number;
|
|
91
90
|
};
|
|
92
|
-
setFilters:
|
|
91
|
+
setFilters: (newFilters: IGridFilters) => void;
|
|
93
92
|
shipments: {
|
|
94
93
|
serviceName: string | null | undefined;
|
|
95
94
|
addressValidation?: SE.AddressValidation | undefined;
|
|
@@ -15,6 +15,10 @@ export type ShipmentsGridProps = {
|
|
|
15
15
|
* If no value is defined, all shipments will be rendered.
|
|
16
16
|
*/
|
|
17
17
|
shipmentStatus?: SE.ShipmentStatus;
|
|
18
|
+
/**
|
|
19
|
+
* `showCreatedDateFilter` controls the display of the Created Date filter
|
|
20
|
+
*/
|
|
21
|
+
showCreatedDateFilter?: boolean;
|
|
18
22
|
/**
|
|
19
23
|
* `showShipmentIdFilter` controls the display of the shipmentId search filter
|
|
20
24
|
*/
|
|
@@ -41,7 +45,7 @@ export type ShipmentsGridProps = {
|
|
|
41
45
|
*
|
|
42
46
|
* @see {@link ShipmentsGrid.Element | The **Element** created to render `<ShipmentsGrid />`}
|
|
43
47
|
*/
|
|
44
|
-
export declare const Component: ({ onRowClick, shipmentStatus, showShipmentIdFilter, }: ShipmentsGridProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
48
|
+
export declare const Component: ({ onRowClick, shipmentStatus, showShipmentIdFilter, showCreatedDateFilter, }: ShipmentsGridProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
45
49
|
/**
|
|
46
50
|
* # Registered Shipments Grid Element
|
|
47
51
|
*
|
|
@@ -105,7 +109,9 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
105
109
|
refund_rules: string;
|
|
106
110
|
resultTitles: {
|
|
107
111
|
approved: string;
|
|
108
|
-
rejected: string;
|
|
112
|
+
rejected: string; /**
|
|
113
|
+
* `showCreatedDateFilter` controls the display of the Created Date filter
|
|
114
|
+
*/
|
|
109
115
|
};
|
|
110
116
|
voidedOn: string;
|
|
111
117
|
};
|
|
@@ -155,7 +161,10 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
155
161
|
vatFormErrors: {
|
|
156
162
|
invalidFieldValue: string;
|
|
157
163
|
verificationFailure: string;
|
|
158
|
-
forbidden: string;
|
|
164
|
+
forbidden: string; /**
|
|
165
|
+
* `shipmentStatus` is the status of the shipments you wish to view.
|
|
166
|
+
* If no value is defined, all shipments will be rendered.
|
|
167
|
+
*/
|
|
159
168
|
connectionNotSupported: string;
|
|
160
169
|
genericTitle: string;
|
|
161
170
|
genericText: string;
|
|
@@ -204,7 +213,9 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
204
213
|
};
|
|
205
214
|
poBox: {
|
|
206
215
|
title: string;
|
|
207
|
-
description: string;
|
|
216
|
+
description: string; /**
|
|
217
|
+
* `showCreatedDateFilter` controls the display of the Created Date filter
|
|
218
|
+
*/
|
|
208
219
|
};
|
|
209
220
|
carrier: {
|
|
210
221
|
title: string;
|
|
@@ -255,18 +266,11 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
255
266
|
tax: string;
|
|
256
267
|
delivery: string;
|
|
257
268
|
handling: string;
|
|
258
|
-
/**
|
|
259
|
-
* # Shipments Grid Props
|
|
260
|
-
*
|
|
261
|
-
* @see {@link ShipmentsGrid.Element | This prop types usage in `<ShipmentsGrid />`}
|
|
262
|
-
*/
|
|
263
269
|
special_goods: string;
|
|
264
270
|
pickup: string;
|
|
265
271
|
location_fee: string;
|
|
266
272
|
oversize: string;
|
|
267
|
-
returns: string;
|
|
268
|
-
* `onRowClick` callback invoked when a row is clicked.
|
|
269
|
-
*/
|
|
273
|
+
returns: string;
|
|
270
274
|
notifications: string;
|
|
271
275
|
tip: string;
|
|
272
276
|
duties_and_taxes: string;
|
|
@@ -514,7 +518,9 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
514
518
|
title: string;
|
|
515
519
|
message: string;
|
|
516
520
|
};
|
|
517
|
-
isLoading: string;
|
|
521
|
+
isLoading: string; /**
|
|
522
|
+
* `showShipmentIdFilter` controls the display of the shipmentId search filter
|
|
523
|
+
*/
|
|
518
524
|
labels: {
|
|
519
525
|
amount: string;
|
|
520
526
|
};
|
|
@@ -621,6 +627,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
621
627
|
shipping: string;
|
|
622
628
|
shipDate: string;
|
|
623
629
|
status: string;
|
|
630
|
+
trackingStatus: string;
|
|
624
631
|
};
|
|
625
632
|
empty: {
|
|
626
633
|
title: string;
|
|
@@ -637,6 +644,12 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
637
644
|
completed: string;
|
|
638
645
|
processing: string;
|
|
639
646
|
};
|
|
647
|
+
trackingStatus: {
|
|
648
|
+
unknown: string;
|
|
649
|
+
inTransit: string;
|
|
650
|
+
delivered: string;
|
|
651
|
+
error: string;
|
|
652
|
+
};
|
|
640
653
|
actions: {
|
|
641
654
|
title: string;
|
|
642
655
|
print: string;
|
|
@@ -704,9 +717,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
704
717
|
county: string;
|
|
705
718
|
countryCode: string;
|
|
706
719
|
addressLine1: string;
|
|
707
|
-
addressLine2: string;
|
|
708
|
-
* `onRowClick` callback invoked when a row is clicked.
|
|
709
|
-
*/
|
|
720
|
+
addressLine2: string;
|
|
710
721
|
cityLocality: string;
|
|
711
722
|
stateProvince: string;
|
|
712
723
|
postalCode: string;
|
|
@@ -870,11 +881,18 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
870
881
|
rows: string;
|
|
871
882
|
clearAll: string;
|
|
872
883
|
shipmentId: string;
|
|
884
|
+
createdDate: string;
|
|
873
885
|
shipmentIdFilter: string;
|
|
886
|
+
createdDateFilter: string;
|
|
874
887
|
apply: string;
|
|
875
888
|
clear: string;
|
|
876
889
|
search: string;
|
|
877
890
|
shipmentIdHint: string;
|
|
891
|
+
dateFilterToday: string;
|
|
892
|
+
dateFilterLast7Days: string;
|
|
893
|
+
dateFilterLast30Days: string;
|
|
894
|
+
dateFilterLast12Months: string;
|
|
895
|
+
dateFilterCustom: string;
|
|
878
896
|
};
|
|
879
897
|
insuranceProviders: {
|
|
880
898
|
carrier: string;
|
|
@@ -1020,9 +1038,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
1020
1038
|
transactionHistory: string;
|
|
1021
1039
|
adjustmentHistory: string;
|
|
1022
1040
|
warehouses: string;
|
|
1023
|
-
carriers: string;
|
|
1024
|
-
* `onRowClick` callback invoked when a row is clicked.
|
|
1025
|
-
*/
|
|
1041
|
+
carriers: string;
|
|
1026
1042
|
externalCarriers: string;
|
|
1027
1043
|
labelLayout: string;
|
|
1028
1044
|
unitSettings: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This functions receive an start and end Dates and prepare an object that can be passed to the API.
|
|
3
|
+
*/
|
|
4
|
+
export declare const getCreatedDateFilterValue: (start: Date | undefined, end: Date | undefined) => {
|
|
5
|
+
createdAtEnd?: undefined;
|
|
6
|
+
createdAtStart?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
createdAtEnd: string;
|
|
9
|
+
createdAtStart: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Given an start/end Dates and the Shipment Creation date we check if the Shipment creation date
|
|
13
|
+
* its the same as the one selected by the user or within an interval
|
|
14
|
+
*/
|
|
15
|
+
export declare const filterDateAndShipmentDateIsSameOrWithinInterval: (start: Date, end: Date, shipmentCreationDate: string) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getCreatedDateFilterValue, filterDateAndShipmentDateIsSameOrWithinInterval, } from "./created-date-value";
|
|
@@ -564,6 +564,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
564
564
|
shipping: string;
|
|
565
565
|
shipDate: string;
|
|
566
566
|
status: string;
|
|
567
|
+
trackingStatus: string;
|
|
567
568
|
};
|
|
568
569
|
empty: {
|
|
569
570
|
title: string;
|
|
@@ -580,6 +581,12 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
580
581
|
completed: string;
|
|
581
582
|
processing: string;
|
|
582
583
|
};
|
|
584
|
+
trackingStatus: {
|
|
585
|
+
unknown: string;
|
|
586
|
+
inTransit: string;
|
|
587
|
+
delivered: string;
|
|
588
|
+
error: string;
|
|
589
|
+
};
|
|
583
590
|
actions: {
|
|
584
591
|
title: string;
|
|
585
592
|
print: string;
|
|
@@ -811,11 +818,18 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
811
818
|
rows: string;
|
|
812
819
|
clearAll: string;
|
|
813
820
|
shipmentId: string;
|
|
821
|
+
createdDate: string;
|
|
814
822
|
shipmentIdFilter: string;
|
|
823
|
+
createdDateFilter: string;
|
|
815
824
|
apply: string;
|
|
816
825
|
clear: string;
|
|
817
826
|
search: string;
|
|
818
827
|
shipmentIdHint: string;
|
|
828
|
+
dateFilterToday: string;
|
|
829
|
+
dateFilterLast7Days: string;
|
|
830
|
+
dateFilterLast30Days: string;
|
|
831
|
+
dateFilterLast12Months: string;
|
|
832
|
+
dateFilterCustom: string;
|
|
819
833
|
};
|
|
820
834
|
insuranceProviders: {
|
|
821
835
|
carrier: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CustomThemeData } from "@shipengine/giger-theme";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const auctaneThemeData: CustomThemeData;
|
|
@@ -551,6 +551,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
551
551
|
shipping: string;
|
|
552
552
|
shipDate: string;
|
|
553
553
|
status: string;
|
|
554
|
+
trackingStatus: string;
|
|
554
555
|
};
|
|
555
556
|
empty: {
|
|
556
557
|
title: string;
|
|
@@ -567,6 +568,12 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
567
568
|
completed: string;
|
|
568
569
|
processing: string;
|
|
569
570
|
};
|
|
571
|
+
trackingStatus: {
|
|
572
|
+
unknown: string;
|
|
573
|
+
inTransit: string;
|
|
574
|
+
delivered: string;
|
|
575
|
+
error: string;
|
|
576
|
+
};
|
|
570
577
|
actions: {
|
|
571
578
|
title: string;
|
|
572
579
|
print: string;
|
|
@@ -798,11 +805,18 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
798
805
|
rows: string;
|
|
799
806
|
clearAll: string;
|
|
800
807
|
shipmentId: string;
|
|
808
|
+
createdDate: string;
|
|
801
809
|
shipmentIdFilter: string;
|
|
810
|
+
createdDateFilter: string;
|
|
802
811
|
apply: string;
|
|
803
812
|
clear: string;
|
|
804
813
|
search: string;
|
|
805
814
|
shipmentIdHint: string;
|
|
815
|
+
dateFilterToday: string;
|
|
816
|
+
dateFilterLast7Days: string;
|
|
817
|
+
dateFilterLast30Days: string;
|
|
818
|
+
dateFilterLast12Months: string;
|
|
819
|
+
dateFilterCustom: string;
|
|
806
820
|
};
|
|
807
821
|
insuranceProviders: {
|
|
808
822
|
carrier: string;
|
|
@@ -551,6 +551,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
551
551
|
shipping: string;
|
|
552
552
|
shipDate: string;
|
|
553
553
|
status: string;
|
|
554
|
+
trackingStatus: string;
|
|
554
555
|
};
|
|
555
556
|
empty: {
|
|
556
557
|
title: string;
|
|
@@ -567,6 +568,12 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
567
568
|
completed: string;
|
|
568
569
|
processing: string;
|
|
569
570
|
};
|
|
571
|
+
trackingStatus: {
|
|
572
|
+
unknown: string;
|
|
573
|
+
inTransit: string;
|
|
574
|
+
delivered: string;
|
|
575
|
+
error: string;
|
|
576
|
+
};
|
|
570
577
|
actions: {
|
|
571
578
|
title: string;
|
|
572
579
|
print: string;
|
|
@@ -798,11 +805,18 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
798
805
|
rows: string;
|
|
799
806
|
clearAll: string;
|
|
800
807
|
shipmentId: string;
|
|
808
|
+
createdDate: string;
|
|
801
809
|
shipmentIdFilter: string;
|
|
810
|
+
createdDateFilter: string;
|
|
802
811
|
apply: string;
|
|
803
812
|
clear: string;
|
|
804
813
|
search: string;
|
|
805
814
|
shipmentIdHint: string;
|
|
815
|
+
dateFilterToday: string;
|
|
816
|
+
dateFilterLast7Days: string;
|
|
817
|
+
dateFilterLast30Days: string;
|
|
818
|
+
dateFilterLast12Months: string;
|
|
819
|
+
dateFilterCustom: string;
|
|
806
820
|
};
|
|
807
821
|
insuranceProviders: {
|
|
808
822
|
carrier: string;
|
|
@@ -551,6 +551,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
551
551
|
shipping: string;
|
|
552
552
|
shipDate: string;
|
|
553
553
|
status: string;
|
|
554
|
+
trackingStatus: string;
|
|
554
555
|
};
|
|
555
556
|
empty: {
|
|
556
557
|
title: string;
|
|
@@ -567,6 +568,12 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
567
568
|
completed: string;
|
|
568
569
|
processing: string;
|
|
569
570
|
};
|
|
571
|
+
trackingStatus: {
|
|
572
|
+
unknown: string;
|
|
573
|
+
inTransit: string;
|
|
574
|
+
delivered: string;
|
|
575
|
+
error: string;
|
|
576
|
+
};
|
|
570
577
|
actions: {
|
|
571
578
|
title: string;
|
|
572
579
|
print: string;
|
|
@@ -798,11 +805,18 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
798
805
|
rows: string;
|
|
799
806
|
clearAll: string;
|
|
800
807
|
shipmentId: string;
|
|
808
|
+
createdDate: string;
|
|
801
809
|
shipmentIdFilter: string;
|
|
810
|
+
createdDateFilter: string;
|
|
802
811
|
apply: string;
|
|
803
812
|
clear: string;
|
|
804
813
|
search: string;
|
|
805
814
|
shipmentIdHint: string;
|
|
815
|
+
dateFilterToday: string;
|
|
816
|
+
dateFilterLast7Days: string;
|
|
817
|
+
dateFilterLast30Days: string;
|
|
818
|
+
dateFilterLast12Months: string;
|
|
819
|
+
dateFilterCustom: string;
|
|
806
820
|
};
|
|
807
821
|
insuranceProviders: {
|
|
808
822
|
carrier: string;
|
|
@@ -684,6 +684,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
684
684
|
shipping: string;
|
|
685
685
|
shipDate: string;
|
|
686
686
|
status: string;
|
|
687
|
+
trackingStatus: string;
|
|
687
688
|
};
|
|
688
689
|
empty: {
|
|
689
690
|
title: string;
|
|
@@ -700,6 +701,12 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
700
701
|
completed: string;
|
|
701
702
|
processing: string;
|
|
702
703
|
};
|
|
704
|
+
trackingStatus: {
|
|
705
|
+
unknown: string;
|
|
706
|
+
inTransit: string;
|
|
707
|
+
delivered: string;
|
|
708
|
+
error: string;
|
|
709
|
+
};
|
|
703
710
|
actions: {
|
|
704
711
|
title: string;
|
|
705
712
|
print: string;
|
|
@@ -936,11 +943,18 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
936
943
|
rows: string;
|
|
937
944
|
clearAll: string;
|
|
938
945
|
shipmentId: string;
|
|
946
|
+
createdDate: string;
|
|
939
947
|
shipmentIdFilter: string;
|
|
948
|
+
createdDateFilter: string;
|
|
940
949
|
apply: string;
|
|
941
950
|
clear: string;
|
|
942
951
|
search: string;
|
|
943
952
|
shipmentIdHint: string;
|
|
953
|
+
dateFilterToday: string;
|
|
954
|
+
dateFilterLast7Days: string;
|
|
955
|
+
dateFilterLast30Days: string;
|
|
956
|
+
dateFilterLast12Months: string;
|
|
957
|
+
dateFilterCustom: string;
|
|
944
958
|
};
|
|
945
959
|
insuranceProviders: {
|
|
946
960
|
carrier: string;
|
|
@@ -547,6 +547,7 @@ declare const _default: {
|
|
|
547
547
|
shipping: string;
|
|
548
548
|
shipDate: string;
|
|
549
549
|
status: string;
|
|
550
|
+
trackingStatus: string;
|
|
550
551
|
};
|
|
551
552
|
empty: {
|
|
552
553
|
title: string;
|
|
@@ -563,6 +564,12 @@ declare const _default: {
|
|
|
563
564
|
completed: string;
|
|
564
565
|
processing: string;
|
|
565
566
|
};
|
|
567
|
+
trackingStatus: {
|
|
568
|
+
unknown: string;
|
|
569
|
+
inTransit: string;
|
|
570
|
+
delivered: string;
|
|
571
|
+
error: string;
|
|
572
|
+
};
|
|
566
573
|
actions: {
|
|
567
574
|
title: string;
|
|
568
575
|
print: string;
|
|
@@ -794,11 +801,18 @@ declare const _default: {
|
|
|
794
801
|
rows: string;
|
|
795
802
|
clearAll: string;
|
|
796
803
|
shipmentId: string;
|
|
804
|
+
createdDate: string;
|
|
797
805
|
shipmentIdFilter: string;
|
|
806
|
+
createdDateFilter: string;
|
|
798
807
|
apply: string;
|
|
799
808
|
clear: string;
|
|
800
809
|
search: string;
|
|
801
810
|
shipmentIdHint: string;
|
|
811
|
+
dateFilterToday: string;
|
|
812
|
+
dateFilterLast7Days: string;
|
|
813
|
+
dateFilterLast30Days: string;
|
|
814
|
+
dateFilterLast12Months: string;
|
|
815
|
+
dateFilterCustom: string;
|
|
802
816
|
};
|
|
803
817
|
insuranceProviders: {
|
|
804
818
|
carrier: string;
|
package/src/utilities/date.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ export declare const sortByCreationDate: (a: HasCreationDate, b: HasCreationDate
|
|
|
120
120
|
*
|
|
121
121
|
* @category Utilities
|
|
122
122
|
*/
|
|
123
|
-
export declare const isNowOrInTheFuture: (
|
|
123
|
+
export declare const isNowOrInTheFuture: (date?: string | Date) => boolean;
|
|
124
124
|
/**
|
|
125
125
|
* @internal
|
|
126
126
|
*
|
|
@@ -585,6 +585,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
585
585
|
shipping: string;
|
|
586
586
|
shipDate: string;
|
|
587
587
|
status: string;
|
|
588
|
+
trackingStatus: string;
|
|
588
589
|
};
|
|
589
590
|
empty: {
|
|
590
591
|
title: string;
|
|
@@ -601,6 +602,12 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
601
602
|
completed: string;
|
|
602
603
|
processing: string;
|
|
603
604
|
};
|
|
605
|
+
trackingStatus: {
|
|
606
|
+
unknown: string;
|
|
607
|
+
inTransit: string;
|
|
608
|
+
delivered: string;
|
|
609
|
+
error: string;
|
|
610
|
+
};
|
|
604
611
|
actions: {
|
|
605
612
|
title: string;
|
|
606
613
|
print: string;
|
|
@@ -832,11 +839,18 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
832
839
|
rows: string;
|
|
833
840
|
clearAll: string;
|
|
834
841
|
shipmentId: string;
|
|
842
|
+
createdDate: string;
|
|
835
843
|
shipmentIdFilter: string;
|
|
844
|
+
createdDateFilter: string;
|
|
836
845
|
apply: string;
|
|
837
846
|
clear: string;
|
|
838
847
|
search: string;
|
|
839
848
|
shipmentIdHint: string;
|
|
849
|
+
dateFilterToday: string;
|
|
850
|
+
dateFilterLast7Days: string;
|
|
851
|
+
dateFilterLast30Days: string;
|
|
852
|
+
dateFilterLast12Months: string;
|
|
853
|
+
dateFilterCustom: string;
|
|
840
854
|
};
|
|
841
855
|
insuranceProviders: {
|
|
842
856
|
carrier: string;
|
|
@@ -577,6 +577,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
577
577
|
shipping: string;
|
|
578
578
|
shipDate: string;
|
|
579
579
|
status: string;
|
|
580
|
+
trackingStatus: string;
|
|
580
581
|
};
|
|
581
582
|
empty: {
|
|
582
583
|
title: string;
|
|
@@ -593,6 +594,12 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
593
594
|
completed: string;
|
|
594
595
|
processing: string;
|
|
595
596
|
};
|
|
597
|
+
trackingStatus: {
|
|
598
|
+
unknown: string;
|
|
599
|
+
inTransit: string;
|
|
600
|
+
delivered: string;
|
|
601
|
+
error: string;
|
|
602
|
+
};
|
|
596
603
|
actions: {
|
|
597
604
|
title: string;
|
|
598
605
|
print: string;
|
|
@@ -824,11 +831,18 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
824
831
|
rows: string;
|
|
825
832
|
clearAll: string;
|
|
826
833
|
shipmentId: string;
|
|
834
|
+
createdDate: string;
|
|
827
835
|
shipmentIdFilter: string;
|
|
836
|
+
createdDateFilter: string;
|
|
828
837
|
apply: string;
|
|
829
838
|
clear: string;
|
|
830
839
|
search: string;
|
|
831
840
|
shipmentIdHint: string;
|
|
841
|
+
dateFilterToday: string;
|
|
842
|
+
dateFilterLast7Days: string;
|
|
843
|
+
dateFilterLast30Days: string;
|
|
844
|
+
dateFilterLast12Months: string;
|
|
845
|
+
dateFilterCustom: string;
|
|
832
846
|
};
|
|
833
847
|
insuranceProviders: {
|
|
834
848
|
carrier: string;
|