@dropins/storefront-order 1.0.6-beta3 → 1.1.0-beta1
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/api/initialize/initialize.d.ts +3 -3
- package/containers/CreateReturn/CreateReturn.d.ts +1 -1
- package/containers/CustomerDetails/CustomerDetails.d.ts +1 -1
- package/containers/OrderCancelForm/OrderCancelForm.d.ts +1 -1
- package/containers/OrderCostSummary/OrderCostSummary.d.ts +1 -1
- package/containers/OrderProductList/OrderProductList.d.ts +1 -1
- package/containers/OrderReturns/OrderReturns.d.ts +1 -1
- package/containers/OrderSearch/OrderSearch.d.ts +1 -1
- package/containers/OrderStatus/OrderStatus.d.ts +1 -1
- package/containers/ReturnsList/ReturnsList.d.ts +1 -1
- package/containers/ShippingStatus/ShippingStatus.d.ts +1 -1
- package/package.json +1 -1
- package/render/render.d.ts +1 -1
- package/types/createReturn.types.d.ts +2 -2
- package/types/customerDetails.types.d.ts +2 -2
- package/types/orderCancel.types.d.ts +2 -2
- package/types/orderProductList.types.d.ts +2 -2
- package/types/orderStatus.types.d.ts +1 -1
- package/types/returnsList.types.d.ts +2 -2
- package/types/shippingStatus.types.d.ts +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Initializer, Model } from '
|
|
2
|
-
import { Lang } from '
|
|
1
|
+
import { Initializer, Model } from '@dropins/tools/types/elsie/src/lib';
|
|
2
|
+
import { Lang } from '@dropins/tools/types/elsie/src/i18n';
|
|
3
3
|
import { CustomerOrdersReturnModel, OrderDataModel, RequestReturnModel } from '../../data/models';
|
|
4
4
|
|
|
5
5
|
export type ConfigProps = {
|
|
@@ -14,5 +14,5 @@ export type ConfigProps = {
|
|
|
14
14
|
orderData?: OrderDataModel | null;
|
|
15
15
|
};
|
|
16
16
|
export declare const initialize: Initializer<ConfigProps>;
|
|
17
|
-
export declare const config: import('
|
|
17
|
+
export declare const config: import('@dropins/tools/types/elsie/src/lib').Config<ConfigProps>;
|
|
18
18
|
//# sourceMappingURL=initialize.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Container } from '
|
|
1
|
+
import { Container } from '@dropins/tools/types/elsie/src/lib';
|
|
2
2
|
import { CreateReturnProps } from '../../types/createReturn.types';
|
|
3
3
|
|
|
4
4
|
export declare const CreateReturn: Container<CreateReturnProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrderCancelFormProps } from '../../types';
|
|
2
|
-
import { Container } from '
|
|
2
|
+
import { Container } from '@dropins/tools/types/elsie/src/lib';
|
|
3
3
|
|
|
4
4
|
export declare const OrderCancelForm: Container<OrderCancelFormProps>;
|
|
5
5
|
//# sourceMappingURL=OrderCancelForm.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrderProductListProps } from '../../types';
|
|
2
|
-
import { Container } from '
|
|
2
|
+
import { Container } from '@dropins/tools/types/elsie/src/lib';
|
|
3
3
|
|
|
4
4
|
export declare const OrderProductList: Container<OrderProductListProps>;
|
|
5
5
|
//# sourceMappingURL=OrderProductList.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrderReturnsProps } from '../../types';
|
|
2
|
-
import { Container } from '
|
|
2
|
+
import { Container } from '@dropins/tools/types/elsie/src/lib';
|
|
3
3
|
|
|
4
4
|
export declare const OrderReturns: Container<OrderReturnsProps>;
|
|
5
5
|
//# sourceMappingURL=OrderReturns.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrderStatusProps } from '../../types';
|
|
2
|
-
import { Container } from '
|
|
2
|
+
import { Container } from '@dropins/tools/types/elsie/src/lib';
|
|
3
3
|
|
|
4
4
|
export declare const OrderStatus: Container<OrderStatusProps>;
|
|
5
5
|
//# sourceMappingURL=OrderStatus.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReturnsListProps } from '../../types';
|
|
2
|
-
import { Container } from '
|
|
2
|
+
import { Container } from '@dropins/tools/types/elsie/src/lib';
|
|
3
3
|
|
|
4
4
|
export declare const ReturnsList: Container<ReturnsListProps>;
|
|
5
5
|
//# sourceMappingURL=ReturnsList.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ShippingStatusProps } from '../../types';
|
|
2
|
-
import { Container } from '
|
|
2
|
+
import { Container } from '@dropins/tools/types/elsie/src/lib';
|
|
3
3
|
|
|
4
4
|
export declare const ShippingStatus: Container<ShippingStatusProps>;
|
|
5
5
|
//# sourceMappingURL=ShippingStatus.d.ts.map
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@dropins/storefront-order", "version": "1.0
|
|
1
|
+
{"name": "@dropins/storefront-order", "version": "1.1.0-beta1", "@dropins/tools": "~1.2.0", "license": "SEE LICENSE IN LICENSE.md"}
|
package/render/render.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AttributesFormModel, OrderDataModel, OrderItemModel } from '../data/models';
|
|
2
2
|
import { InLineAlertProps, TaxTypes } from '.';
|
|
3
|
-
import { SlotProps } from '
|
|
4
|
-
import { ImageProps } from '
|
|
3
|
+
import { SlotProps } from '@dropins/tools/types/elsie/src/lib';
|
|
4
|
+
import { ImageProps } from '@dropins/tools/types/elsie/src/components';
|
|
5
5
|
import { RefObject } from 'preact';
|
|
6
6
|
import { MutableRefObject } from 'preact/compat';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SlotProps } from '
|
|
1
|
+
import { SlotProps } from '@dropins/tools/types/elsie/src/lib';
|
|
2
2
|
import { OrderDataModel, OrdersReturnPropsModel } from '../data/models';
|
|
3
|
-
import { IconNode, IconType } from '
|
|
3
|
+
import { IconNode, IconType } from '@dropins/tools/types/elsie/src/components';
|
|
4
4
|
|
|
5
5
|
export interface KeysSortOrderProps {
|
|
6
6
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps, PickerProps } from '
|
|
2
|
-
import { PickerOption } from '
|
|
1
|
+
import { ButtonProps, PickerProps } from '@dropins/tools/types/elsie/src/src/components';
|
|
2
|
+
import { PickerOption } from '@dropins/tools/types/elsie/src/components';
|
|
3
3
|
|
|
4
4
|
export interface OrderCancelProps {
|
|
5
5
|
orderRef: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SlotProps } from '
|
|
1
|
+
import { SlotProps } from '@dropins/tools/types/elsie/src/lib';
|
|
2
2
|
import { OrderDataModel, OrderItemModel } from '../data/models';
|
|
3
|
-
import { ImageProps } from '
|
|
3
|
+
import { ImageProps } from '@dropins/tools/types/elsie/src/components';
|
|
4
4
|
|
|
5
5
|
type options = Record<string, string | number | boolean>;
|
|
6
6
|
export type TaxTypes = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrderDataModel, OrdersReturnPropsModel } from '../data/models';
|
|
2
|
-
import { SlotProps } from '
|
|
2
|
+
import { SlotProps } from '@dropins/tools/types/elsie/src/lib';
|
|
3
3
|
import { UserInputErrorProps } from '.';
|
|
4
4
|
|
|
5
5
|
export declare enum StatusEnumProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SlotProps } from '
|
|
2
|
-
import { ImageProps } from '
|
|
1
|
+
import { SlotProps } from '@dropins/tools/types/elsie/src/src/lib';
|
|
2
|
+
import { ImageProps } from '@dropins/tools/types/elsie/src/components';
|
|
3
3
|
import { OrderDataModel, OrderItemModel, OrdersReturnItemsPropsModel, OrdersReturnPropsModel, PageInfoProps } from '../data/models';
|
|
4
4
|
|
|
5
5
|
export interface IconConfig {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'preact/compat';
|
|
2
|
-
import { SlotProps } from '
|
|
2
|
+
import { SlotProps } from '@dropins/tools/types/elsie/src/lib';
|
|
3
3
|
import { OrderDataModel, OrderItemModel, OrdersReturnItemsPropsModel, OrdersReturnPropsModel, ShipmentItemsModel } from '../data/models';
|
|
4
|
-
import { ImageProps } from '
|
|
4
|
+
import { ImageProps } from '@dropins/tools/types/elsie/src/components';
|
|
5
5
|
|
|
6
6
|
type routeOrderDetailsTypes = {
|
|
7
7
|
returnNumber?: string;
|