umwd-components 0.1.835 → 0.1.836
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/components/e-commerce/opo/OpoDisplay.js +1 -1
- package/dist/cjs/src/components/e-commerce/opo/ShippingStatusIndicator.js +6 -0
- package/dist/cjs/src/data/loaders/e-commerce/getAllOpos.js +1 -1
- package/dist/cjs/src/index.js +1 -1
- package/dist/cjs/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/src/components/e-commerce/opo/OpoDisplay.js +2 -1
- package/dist/esm/src/components/e-commerce/opo/ShippingStatusIndicator.js +27 -0
- package/dist/esm/src/data/loaders/e-commerce/getAllOpos.js +1 -0
- package/dist/esm/src/index.js +1 -0
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/types/components/e-commerce/opo/ShippingStatusIndicator.d.ts +8 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/types/e-commerce/opo/types.d.ts +2 -0
- package/dist/esm/types/types/e-commerce/parcelreference/types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ShippingStatus } from "../../../types/e-commerce/parcelreference/types";
|
|
3
|
+
interface ShippingStatusIndicatorProps {
|
|
4
|
+
shipping_status: ShippingStatus;
|
|
5
|
+
provider_id?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const ShippingStatusIndicator: React.FC<ShippingStatusIndicatorProps>;
|
|
8
|
+
export {};
|
|
@@ -256,3 +256,4 @@ export { getAllMinioReferences as getAllMinioReferences } from "./data/loaders/c
|
|
|
256
256
|
export { MinioItemList as MinioItemList } from "./components/common/media/minio/MinioItemList";
|
|
257
257
|
export { MinioDisplay as MinioDisplay } from "./components/common/media/minio/MinioDisplay";
|
|
258
258
|
export { contactFormAction as contactFormAction } from "./data/actions/e-commerce/lead/contactFormAction";
|
|
259
|
+
export { ShippingStatusIndicator as ShippingStatusIndicator } from "./components/e-commerce/opo/ShippingStatusIndicator";
|
|
@@ -6,6 +6,7 @@ import { StrapiImageProps } from "../../StrapiImageProps";
|
|
|
6
6
|
import { CustomerLabel } from "../customer/types";
|
|
7
7
|
import { Note } from "../../logistics/Note";
|
|
8
8
|
import { Report, PreReport } from "../../logistics/Report";
|
|
9
|
+
import { Parcelreference } from "../parcelreference/types";
|
|
9
10
|
export interface OpoItem {
|
|
10
11
|
id: number;
|
|
11
12
|
documentId: string;
|
|
@@ -39,6 +40,7 @@ export interface Opo {
|
|
|
39
40
|
delivery_note: {
|
|
40
41
|
name: string;
|
|
41
42
|
};
|
|
43
|
+
parcel_reference?: Parcelreference;
|
|
42
44
|
}
|
|
43
45
|
export interface ManageOpoFormProps {
|
|
44
46
|
opo: Opo;
|