@orderingstack/front-components-product-configurator 1.4.1 → 1.4.2-beta.1
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/components/Counter/Counter.d.ts +1 -2
- package/dist/components/Counter/Counter.d.ts.map +1 -1
- package/dist/components/DisplayState/DisplayState.d.ts +1 -2
- package/dist/components/DisplayState/DisplayState.d.ts.map +1 -1
- package/dist/components/GroupStateInfo/GroupStateInfo.d.ts +1 -2
- package/dist/components/GroupStateInfo/GroupStateInfo.d.ts.map +1 -1
- package/dist/components/InfoLine/InfoLine.d.ts +1 -2
- package/dist/components/InfoLine/InfoLine.d.ts.map +1 -1
- package/dist/components/MenuItemsDispatcher/MenuItemsDispatcher.d.ts +2 -3
- package/dist/components/MenuItemsDispatcher/MenuItemsDispatcher.d.ts.map +1 -1
- package/dist/components/MenuOptions/MenuOptions.d.ts +1 -2
- package/dist/components/MenuOptions/MenuOptions.d.ts.map +1 -1
- package/dist/components/MenuOptions/MenuOptionsDefaultUI.d.ts +1 -2
- package/dist/components/MenuOptions/MenuOptionsDefaultUI.d.ts.map +1 -1
- package/dist/components/MenuProduct/MenuProduct.d.ts +2 -3
- package/dist/components/MenuProduct/MenuProduct.d.ts.map +1 -1
- package/dist/components/MenuProductRoot/MenuProductRoot.d.ts +1 -2
- package/dist/components/MenuProductRoot/MenuProductRoot.d.ts.map +1 -1
- package/dist/components/MenuProductRoot/MenuProductRootDefaultUI.d.ts +1 -2
- package/dist/components/MenuProductRoot/MenuProductRootDefaultUI.d.ts.map +1 -1
- package/dist/components/MenuProductRoot/MenuProductRootDefaultUIModal.d.ts +1 -2
- package/dist/components/MenuProductRoot/MenuProductRootDefaultUIModal.d.ts.map +1 -1
- package/dist/components/Price/Price.d.ts +1 -2
- package/dist/components/Price/Price.d.ts.map +1 -1
- package/dist/components/ProductConfigurator/ProductConfigurator.d.ts +1 -2
- package/dist/components/ProductConfigurator/ProductConfigurator.d.ts.map +1 -1
- package/dist/components/SimpleCheckbox/SimpleCheckbox.d.ts +1 -2
- package/dist/components/SimpleCheckbox/SimpleCheckbox.d.ts.map +1 -1
- package/dist/components/SimpleRadio/SimpleRadio.d.ts +1 -2
- package/dist/components/SimpleRadio/SimpleRadio.d.ts.map +1 -1
- package/dist/components/SubmitRow/SubmitRow.d.ts +1 -2
- package/dist/components/SubmitRow/SubmitRow.d.ts.map +1 -1
- package/dist/context/ProductData.d.ts +1 -1
- package/dist/context/ProductData.d.ts.map +1 -1
- package/dist/index.cjs.js +7 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1718 -1298
- package/dist/index.es.js.map +1 -1
- package/dist/state/index.d.ts +1 -1
- package/dist/state/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +6 -7
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/setSelected.d.ts.map +1 -1
- package/package.json +89 -89
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface Props {
|
|
3
2
|
value: number;
|
|
4
3
|
add: () => void;
|
|
@@ -7,6 +6,6 @@ interface Props {
|
|
|
7
6
|
disabledAdd?: boolean;
|
|
8
7
|
size?: string;
|
|
9
8
|
}
|
|
10
|
-
export declare function Counter(props: Props): JSX.Element;
|
|
9
|
+
export declare function Counter(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
12
11
|
//# sourceMappingURL=Counter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Counter.d.ts","sourceRoot":"","sources":["Counter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Counter.d.ts","sourceRoot":"","sources":["Counter.tsx"],"names":[],"mappings":"AAAA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,IAAI,CAAA;IACf,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,KAAK,2CA6DnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisplayState.d.ts","sourceRoot":"","sources":["DisplayState.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DisplayState.d.ts","sourceRoot":"","sources":["DisplayState.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,+CA6BxB,CAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Attrs } from '../../types';
|
|
3
2
|
interface IGroupStateInfo {
|
|
4
3
|
productAttrs: Attrs;
|
|
5
4
|
selCnt: number;
|
|
6
5
|
qtyCnt: number;
|
|
7
6
|
}
|
|
8
|
-
export declare const GroupStateInfo: (props: IGroupStateInfo) => JSX.Element;
|
|
7
|
+
export declare const GroupStateInfo: (props: IGroupStateInfo) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=GroupStateInfo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupStateInfo.d.ts","sourceRoot":"","sources":["GroupStateInfo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GroupStateInfo.d.ts","sourceRoot":"","sources":["GroupStateInfo.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,UAAU,eAAe;IACvB,YAAY,EAAE,KAAK,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,cAAc,UAAW,eAAe,4CA2BpD,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface Props {
|
|
3
2
|
isOk: boolean;
|
|
4
3
|
isErr: boolean;
|
|
5
4
|
info: string;
|
|
6
5
|
}
|
|
7
|
-
export declare function InfoLine(props: Props): JSX.Element;
|
|
6
|
+
export declare function InfoLine(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export {};
|
|
9
8
|
//# sourceMappingURL=InfoLine.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoLine.d.ts","sourceRoot":"","sources":["InfoLine.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InfoLine.d.ts","sourceRoot":"","sources":["InfoLine.tsx"],"names":[],"mappings":"AAAA,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,OAAO,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,2CAapC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IProduct, IMenuItemsUIProps } from '@orderingstack/ordering-types';
|
|
3
2
|
export declare function MenuItemsDispatcher(props: {
|
|
4
3
|
productItems: IProduct[] | any;
|
|
5
4
|
nestedLvl?: number;
|
|
6
5
|
parentProduct: IProduct;
|
|
7
6
|
rootProduct: IProduct;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
export declare function MenuItemsDefaultUI(props: IMenuItemsUIProps): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function MenuItemsDefaultUI(props: IMenuItemsUIProps): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
//# sourceMappingURL=MenuItemsDispatcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItemsDispatcher.d.ts","sourceRoot":"","sources":["MenuItemsDispatcher.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuItemsDispatcher.d.ts","sourceRoot":"","sources":["MenuItemsDispatcher.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACR,iBAAiB,EAClB,MAAM,+BAA+B,CAAA;AAMtC,OAAO,mBAAmB,CAAA;AAG1B,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,YAAY,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,QAAQ,CAAA;IACvB,WAAW,EAAE,QAAQ,CAAA;CACtB,2CA8CA;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,2CA+C1D"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IProduct } from '@orderingstack/ordering-types';
|
|
3
2
|
interface Props {
|
|
4
3
|
optionsItem: IProduct;
|
|
@@ -7,6 +6,6 @@ interface Props {
|
|
|
7
6
|
nestedLvl: number;
|
|
8
7
|
parentKind: string;
|
|
9
8
|
}
|
|
10
|
-
export declare const MenuOptions: (props: Props) => JSX.Element | null;
|
|
9
|
+
export declare const MenuOptions: (props: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
10
|
export {};
|
|
12
11
|
//# sourceMappingURL=MenuOptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuOptions.d.ts","sourceRoot":"","sources":["MenuOptions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuOptions.d.ts","sourceRoot":"","sources":["MenuOptions.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAKxD,UAAU,KAAK;IACb,WAAW,EAAE,QAAQ,CAAA;IACrB,WAAW,EAAE,QAAQ,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,UAAW,KAAK,mDAgDvC,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IMenuOptionsUIProps } from '../../types';
|
|
3
|
-
export declare const MenuOptionsDefaultUI: (props: IMenuOptionsUIProps) => JSX.Element;
|
|
2
|
+
export declare const MenuOptionsDefaultUI: (props: IMenuOptionsUIProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=MenuOptionsDefaultUI.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuOptionsDefaultUI.d.ts","sourceRoot":"","sources":["MenuOptionsDefaultUI.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuOptionsDefaultUI.d.ts","sourceRoot":"","sources":["MenuOptionsDefaultUI.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAsB,MAAM,aAAa,CAAA;AAarE,eAAO,MAAM,oBAAoB,UAAW,mBAAmB,4CAuE9D,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IProduct, IProductAttrs, IMenuProductUIProps } from '@orderingstack/ordering-types';
|
|
3
2
|
interface Props {
|
|
4
3
|
product: IProduct;
|
|
@@ -7,7 +6,7 @@ interface Props {
|
|
|
7
6
|
nestedLvl: number;
|
|
8
7
|
parentProduct: IProduct;
|
|
9
8
|
}
|
|
10
|
-
export declare const MenuProduct: (props: Props) => JSX.Element;
|
|
11
|
-
export declare const MenuProductDefaultUI: (props: IMenuProductUIProps) => JSX.Element;
|
|
9
|
+
export declare const MenuProduct: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const MenuProductDefaultUI: (props: IMenuProductUIProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export {};
|
|
13
12
|
//# sourceMappingURL=MenuProduct.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuProduct.d.ts","sourceRoot":"","sources":["MenuProduct.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuProduct.d.ts","sourceRoot":"","sources":["MenuProduct.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,QAAQ,EACR,aAAa,EACb,mBAAmB,EACpB,MAAM,+BAA+B,CAAA;AAItC,UAAU,KAAK;IACb,OAAO,EAAE,QAAQ,CAAA;IACjB,WAAW,EAAE,QAAQ,CAAA;IACrB,WAAW,EAAE,aAAa,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,QAAQ,CAAA;CACxB;AAED,eAAO,MAAM,WAAW,UAAW,KAAK,4CA+DvC,CAAA;AAED,eAAO,MAAM,oBAAoB,UAAW,mBAAmB,4CAoF9D,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IMenuProductRootUIProps } from 'types';
|
|
3
|
-
export declare const MenuProductRoot: (props: Omit<IMenuProductRootUIProps, 'children'>) => JSX.Element;
|
|
2
|
+
export declare const MenuProductRoot: (props: Omit<IMenuProductRootUIProps, 'children'>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=MenuProductRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuProductRoot.d.ts","sourceRoot":"","sources":["MenuProductRoot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuProductRoot.d.ts","sourceRoot":"","sources":["MenuProductRoot.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,OAAO,CAAA;AAG/C,eAAO,MAAM,eAAe,UACnB,KAAK,uBAAuB,EAAE,UAAU,CAAC,4CA6BjD,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IMenuProductRootUIProps } from 'types';
|
|
3
2
|
export declare enum ModalSetSizeStage {
|
|
4
3
|
INIT = 0,
|
|
@@ -6,5 +5,5 @@ export declare enum ModalSetSizeStage {
|
|
|
6
5
|
REFRESH_AGAIN = 2,
|
|
7
6
|
BLOCKED = 3
|
|
8
7
|
}
|
|
9
|
-
export declare function MenuProductRootDefaultUI(props: IMenuProductRootUIProps): JSX.Element;
|
|
8
|
+
export declare function MenuProductRootDefaultUI(props: IMenuProductRootUIProps): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
//# sourceMappingURL=MenuProductRootDefaultUI.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuProductRootDefaultUI.d.ts","sourceRoot":"","sources":["MenuProductRootDefaultUI.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuProductRootDefaultUI.d.ts","sourceRoot":"","sources":["MenuProductRootDefaultUI.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,OAAO,CAAA;AAU/C,oBAAY,iBAAiB;IAC3B,IAAI,IAAA;IACJ,OAAO,IAAA;IACP,aAAa,IAAA;IACb,OAAO,IAAA;CACR;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,uBAAuB,2CAqKtE"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface Props {
|
|
3
2
|
children?: JSX.Element;
|
|
4
3
|
isOpen: boolean;
|
|
5
4
|
handleClose: () => void;
|
|
6
5
|
}
|
|
7
|
-
export declare function Modal(props: Props): JSX.Element;
|
|
6
|
+
export declare function Modal(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export {};
|
|
9
8
|
//# sourceMappingURL=MenuProductRootDefaultUIModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuProductRootDefaultUIModal.d.ts","sourceRoot":"","sources":["MenuProductRootDefaultUIModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuProductRootDefaultUIModal.d.ts","sourceRoot":"","sources":["MenuProductRootDefaultUIModal.tsx"],"names":[],"mappings":"AAIA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IACtB,MAAM,EAAE,OAAO,CAAA;IACf,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,2CAkFjC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface Props {
|
|
3
2
|
price: number;
|
|
4
3
|
addPlusBefore?: boolean;
|
|
@@ -7,6 +6,6 @@ interface Props {
|
|
|
7
6
|
minPrice?: string;
|
|
8
7
|
hiddenIfPriceZero?: boolean;
|
|
9
8
|
}
|
|
10
|
-
export declare function Price(props: Props): JSX.Element | null;
|
|
9
|
+
export declare function Price(props: Props): import("react/jsx-runtime").JSX.Element | null;
|
|
11
10
|
export {};
|
|
12
11
|
//# sourceMappingURL=Price.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Price.d.ts","sourceRoot":"","sources":["Price.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Price.d.ts","sourceRoot":"","sources":["Price.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,kDA4BjC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IProductConfiguratorProps } from '@orderingstack/ordering-types';
|
|
3
|
-
export declare function ProductConfigurator(props: IProductConfiguratorProps): JSX.Element;
|
|
2
|
+
export declare function ProductConfigurator(props: IProductConfiguratorProps): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=ProductConfigurator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductConfigurator.d.ts","sourceRoot":"","sources":["ProductConfigurator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProductConfigurator.d.ts","sourceRoot":"","sources":["ProductConfigurator.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAA;AAEzE,OAAO,aAAa,CAAA;AAKpB,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,yBAAyB,2CAkHnE"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { UseFormRegisterReturn } from 'react-hook-form';
|
|
3
2
|
import { IProduct } from '@orderingstack/ordering-types';
|
|
4
3
|
export interface Props {
|
|
@@ -9,5 +8,5 @@ export interface Props {
|
|
|
9
8
|
size?: string;
|
|
10
9
|
children?: JSX.Element;
|
|
11
10
|
}
|
|
12
|
-
export declare const SimpleCheckbox: (props: Props) => JSX.Element;
|
|
11
|
+
export declare const SimpleCheckbox: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
//# sourceMappingURL=SimpleCheckbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleCheckbox.d.ts","sourceRoot":"","sources":["SimpleCheckbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SimpleCheckbox.d.ts","sourceRoot":"","sources":["SimpleCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAIvD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAExD,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,QAAQ,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,OAAO,CAAA;IACnB,aAAa,EAAE,qBAAqB,CAAA;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;CACvB;AACD,eAAO,MAAM,cAAc,UAAW,KAAK,4CAwD1C,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { UseFormRegisterReturn } from 'react-hook-form';
|
|
3
2
|
import { IProduct } from '@orderingstack/ordering-types';
|
|
4
3
|
export interface Props {
|
|
@@ -10,5 +9,5 @@ export interface Props {
|
|
|
10
9
|
size?: string;
|
|
11
10
|
children?: JSX.Element;
|
|
12
11
|
}
|
|
13
|
-
export declare const SimpleRadio: (props: Props) => JSX.Element;
|
|
12
|
+
export declare const SimpleRadio: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
//# sourceMappingURL=SimpleRadio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleRadio.d.ts","sourceRoot":"","sources":["SimpleRadio.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SimpleRadio.d.ts","sourceRoot":"","sources":["SimpleRadio.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAIxD,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,QAAQ,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,qBAAqB,CAAA;IACpC,SAAS,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;CACvB;AACD,eAAO,MAAM,WAAW,UAAW,KAAK,4CAoDvC,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface Props {
|
|
3
2
|
finalPrice: string;
|
|
4
3
|
isBackIcon?: boolean;
|
|
@@ -9,6 +8,6 @@ interface Props {
|
|
|
9
8
|
decreaseProductQuantity: () => void;
|
|
10
9
|
handleOnSubmit: () => void;
|
|
11
10
|
}
|
|
12
|
-
export declare function SubmitRow(props: Props): JSX.Element;
|
|
11
|
+
export declare function SubmitRow(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export {};
|
|
14
13
|
//# sourceMappingURL=SubmitRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubmitRow.d.ts","sourceRoot":"","sources":["SubmitRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SubmitRow.d.ts","sourceRoot":"","sources":["SubmitRow.tsx"],"names":[],"mappings":"AACA,OAAO,mBAAmB,CAAA;AAG1B,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,uBAAuB,EAAE,MAAM,IAAI,CAAA;IACnC,uBAAuB,EAAE,MAAM,IAAI,CAAA;IACnC,cAAc,EAAE,MAAM,IAAI,CAAA;CAC3B;AACD,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,2CAmFrC"}
|
|
@@ -6,6 +6,6 @@ export interface IProductContext {
|
|
|
6
6
|
export declare function ProductDataProvider({ rootProduct, children }: {
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
rootProduct: IProduct;
|
|
9
|
-
}): JSX.Element;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export declare function useProductData(): IProductContext;
|
|
11
11
|
//# sourceMappingURL=ProductData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductData.d.ts","sourceRoot":"","sources":["ProductData.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAExD,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,QAAQ,CAAA;CACtB;AAID,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,QAAQ,EACT,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,EAAE,QAAQ,CAAA;CACtB,
|
|
1
|
+
{"version":3,"file":"ProductData.d.ts","sourceRoot":"","sources":["ProductData.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAExD,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,QAAQ,CAAA;CACtB;AAID,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,QAAQ,EACT,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,WAAW,EAAE,QAAQ,CAAA;CACtB,2CAMA;AAED,wBAAgB,cAAc,oBAO7B"}
|