@orderingstack/front-components-product-configurator 1.4.2-beta.1 → 1.4.2-beta.10
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/DisplayState/DisplayState.d.ts.map +1 -1
- package/dist/components/MenuProduct/useMenuProduct.d.ts +2 -2
- package/dist/components/MenuProduct/useMenuProduct.d.ts.map +1 -1
- package/dist/components/ProductConfigurator/ProductConfigurator.d.ts.map +1 -1
- package/dist/components/ProductConfigurator/useProductConfigurator.d.ts +1 -0
- package/dist/components/ProductConfigurator/useProductConfigurator.d.ts.map +1 -1
- package/dist/hooks/useEmitFilter.d.ts +1 -1
- package/dist/hooks/useEmitFilter.d.ts.map +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +205 -46
- package/dist/index.es.js.map +1 -1
- package/dist/utils/filter.d.ts.map +1 -1
- package/dist/utils/setSelected.d.ts +2 -1
- package/dist/utils/setSelected.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisplayState.d.ts","sourceRoot":"","sources":["DisplayState.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,+
|
|
1
|
+
{"version":3,"file":"DisplayState.d.ts","sourceRoot":"","sources":["DisplayState.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,+CA+BxB,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { IProduct, IProductAttrs } from '@orderingstack/ordering-types';
|
|
2
|
-
export declare function useMenuProduct(product: IProduct, parentAttrs: IProductAttrs): {
|
|
2
|
+
export declare function useMenuProduct(product: IProduct, parentAttrs: IProductAttrs, nestedLvl?: number): {
|
|
3
3
|
registerProps: import("react-hook-form").UseFormRegisterReturn<string>;
|
|
4
4
|
isRadio: boolean;
|
|
5
5
|
isCheckbox: boolean;
|
|
6
6
|
isCounter: boolean;
|
|
7
7
|
isDecrementEnabled: boolean;
|
|
8
|
-
isIncrementEnabled:
|
|
8
|
+
isIncrementEnabled: {};
|
|
9
9
|
isChecked: boolean;
|
|
10
10
|
isCheckboxEnabled: any;
|
|
11
11
|
handleCounterIncrementQty: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMenuProduct.d.ts","sourceRoot":"","sources":["useMenuProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"useMenuProduct.d.ts","sourceRoot":"","sources":["useMenuProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AASvE,wBAAgB,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,CAAC,EAAE,MAAM;;;;;;;;;;;;6BAiG9D,GAAG;;;;EAkCpC"}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,2CAoHnE"}
|
|
@@ -2,6 +2,7 @@ import { IProduct } from '@orderingstack/ordering-types';
|
|
|
2
2
|
declare function useProductConfigurator(product: IProduct): {
|
|
3
3
|
encodedProduct: any;
|
|
4
4
|
initSelected: any;
|
|
5
|
+
initFilter: any;
|
|
5
6
|
filter: import("@orderingstack/ordering-types").IProductStateFilter;
|
|
6
7
|
setCurrency: any;
|
|
7
8
|
setIsOnSubmittedOnTrue: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useProductConfigurator.d.ts","sourceRoot":"","sources":["useProductConfigurator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAMxD,iBAAS,sBAAsB,CAAC,OAAO,EAAE,QAAQ
|
|
1
|
+
{"version":3,"file":"useProductConfigurator.d.ts","sourceRoot":"","sources":["useProductConfigurator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAMxD,iBAAS,sBAAsB,CAAC,OAAO,EAAE,QAAQ;;;;;;;;;;;;EA2DhD;AAED,eAAe,sBAAsB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEmitFilter.d.ts","sourceRoot":"","sources":["useEmitFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"useEmitFilter.d.ts","sourceRoot":"","sources":["useEmitFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAKxD,wBAAgB,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,MAAM,MA+DpF"}
|