@orderingstack/front-components-product-configurator 1.6.0-beta.3 → 1.7.0-beta.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/dist/components/MenuItemsDispatcher/MenuItemsDispatcher.d.ts.map +1 -1
- package/dist/components/MenuProduct/MenuProduct.d.ts.map +1 -1
- package/dist/components/MenuProduct/useMenuProduct.d.ts.map +1 -1
- package/dist/components/SimpleCheckbox/SimpleCheckbox.d.ts +1 -0
- package/dist/components/SimpleCheckbox/SimpleCheckbox.d.ts.map +1 -1
- package/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +119 -19
- package/dist/index.es.js.map +1 -1
- package/dist/utils/index.d.ts +18 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/utils/index.d.ts
CHANGED
|
@@ -9,4 +9,22 @@ export declare const getItemImage: (item: IProduct) => string;
|
|
|
9
9
|
export declare const isVisible: (item: IProduct) => boolean;
|
|
10
10
|
export declare function findGroupInProductItemsBySelCtx(selCtx: string, parent: IProduct): IProduct | null;
|
|
11
11
|
export declare const isAnyGroupOptionKind: (kind: EProductKind | EProductKindBucket) => Boolean;
|
|
12
|
+
export declare const isGroupBucketCase: (group?: IProduct) => boolean;
|
|
13
|
+
export declare const getGroupBucketSecondChildrenValues: (group: IProduct, fistProductId: string, fistProductValue: number) => {
|
|
14
|
+
product: IProduct | undefined;
|
|
15
|
+
value: number;
|
|
16
|
+
};
|
|
17
|
+
export declare const getGroupBucketSecondChildrenValuesInputChange: (group: IProduct, clickedProductId: string, checked: boolean, selected: any) => {
|
|
18
|
+
clickedProductValue: boolean;
|
|
19
|
+
secondProductValue: string | undefined;
|
|
20
|
+
secondProduct: IProduct | undefined;
|
|
21
|
+
} | {
|
|
22
|
+
clickedProductValue: string;
|
|
23
|
+
secondProductValue: string;
|
|
24
|
+
secondProduct: IProduct | undefined;
|
|
25
|
+
} | {
|
|
26
|
+
clickedProductValue: string | undefined;
|
|
27
|
+
secondProductValue: boolean;
|
|
28
|
+
secondProduct: IProduct | undefined;
|
|
29
|
+
};
|
|
12
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAE1F,wBAAgB,UAAU,CAAC,GAAG,OAAO,EAAE,OAAO,EAAE,GAAG,MAAM,CAExD;AAED,eAAO,MAAM,YAAY,UAAW,MAAM,KAAG,OAK5C,CAAA;AAED,eAAO,MAAM,gBAAgB,WAAY,OAAO,GAAG,MAAM,KAAG,OAK3D,CAAA;AAED,eAAO,MAAM,YAAY,WACf,MAAM,GAAG,SAAS,UAClB,MAAM,GAAG,SAAS,iBACX,OAAO,GAAG,SAAS,KACjC,MAOF,CAAA;AAED,eAAO,MAAM,UAAU,OAAQ,MAAM,SAOpC,CAAA;AAED,eAAO,MAAM,gBAAgB,gBAAiB,MAAM,KAAG,MAEtD,CAAA;AAED,eAAO,MAAM,YAAY,SAAU,QAAQ,WAI1C,CAAA;AAED,eAAO,MAAM,SAAS,SAAU,QAAQ,YAOvC,CAAA;AAED,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,QAAQ,GACf,QAAQ,GAAG,IAAI,CAsBjB;AAED,eAAO,MAAM,oBAAoB,SAAU,YAAY,GAAG,kBAAkB,KAAG,OAG3C,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAE1F,wBAAgB,UAAU,CAAC,GAAG,OAAO,EAAE,OAAO,EAAE,GAAG,MAAM,CAExD;AAED,eAAO,MAAM,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