vdb-ai-chat 1.0.86 → 1.0.87
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/chat-widget.js +1 -1
- package/lib/commonjs/components/ChatInput.js +1 -0
- package/lib/commonjs/components/ChatInput.js.map +1 -1
- package/lib/commonjs/components/ChatWidget.js +2 -2
- package/lib/commonjs/components/ChatWidget.js.map +1 -1
- package/lib/commonjs/components/utils.js +2 -1
- package/lib/commonjs/components/utils.js.map +1 -1
- package/lib/module/components/ChatInput.js +1 -0
- package/lib/module/components/ChatInput.js.map +1 -1
- package/lib/module/components/ChatWidget.js +2 -2
- package/lib/module/components/ChatWidget.js.map +1 -1
- package/lib/module/components/utils.js +2 -1
- package/lib/module/components/utils.js.map +1 -1
- package/lib/typescript/components/ChatInput.d.ts.map +1 -1
- package/lib/typescript/components/utils.d.ts +2 -1
- package/lib/typescript/components/utils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/ChatInput.tsx +1 -0
- package/src/components/ChatWidget.tsx +2 -2
- package/src/components/utils.ts +2 -1
package/src/components/utils.ts
CHANGED
|
@@ -1544,6 +1544,7 @@ export enum ProductExternalContext {
|
|
|
1544
1544
|
LAB_GROWN_DIAMOND = "Lab-Grown",
|
|
1545
1545
|
GEMSTONE = "Gemstone",
|
|
1546
1546
|
JEWELRY = "Jewelry",
|
|
1547
|
+
LAB_GROWN_JEWELRY = "Lab_Grown_Jewelry",
|
|
1547
1548
|
}
|
|
1548
1549
|
|
|
1549
1550
|
export enum ProductPrefix {
|
|
@@ -1767,7 +1768,7 @@ export const getProductTypeFromTypeAndParams = (type: string, isLabgrown: boolea
|
|
|
1767
1768
|
}
|
|
1768
1769
|
|
|
1769
1770
|
export const getProductTypeFromExternalContext = (externalContext: ProductExternalContext) => {
|
|
1770
|
-
if (externalContext === ProductExternalContext.JEWELRY) {
|
|
1771
|
+
if (externalContext === ProductExternalContext.JEWELRY || externalContext === ProductExternalContext.LAB_GROWN_JEWELRY) {
|
|
1771
1772
|
return ProductCategory.JEWELRY;
|
|
1772
1773
|
}
|
|
1773
1774
|
if (externalContext === ProductExternalContext.LAB_GROWN_DIAMOND) {
|