@clikvn/agent-widget-embedded 1.1.12-dev-02 → 1.1.12-dev-04
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/Chat/Message.d.ts.map +1 -1
- package/dist/components/Chat/ProductDetail.d.ts +1 -0
- package/dist/components/Chat/ProductDetail.d.ts.map +1 -1
- package/dist/components/Chat/ProductList.d.ts +1 -0
- package/dist/components/Chat/ProductList.d.ts.map +1 -1
- package/dist/index.html +7 -7
- package/dist/utils/commonUtils.d.ts +1 -0
- package/dist/utils/commonUtils.d.ts.map +1 -1
- package/dist/web.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/Message.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAMhE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAa,MAAM,0BAA0B,CAAC;AA0CtE,KAAK,SAAS,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,eAAe,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/Message.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAMhE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAa,MAAM,0BAA0B,CAAC;AA0CtE,KAAK,SAAS,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,eAAe,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AA6PF,eAAO,MAAM,eAAe,YAAa;IAAE,GAAG,EAAE,OAAO,GAAG,IAAI,CAAA;CAAE,4CAqD/D,CAAC;;AAEF,wBAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductDetail.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/ProductDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductDetail.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/ProductDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AAgBvD,UAAU,SAAS;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;;AA4QD,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductList.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/ProductList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProductList.d.ts","sourceRoot":"","sources":["../../../src/components/Chat/ProductList.tsx"],"names":[],"mappings":"AAmBA,UAAU,SAAS;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;;AAySD,wBAA2C"}
|
package/dist/index.html
CHANGED
|
@@ -9,24 +9,24 @@
|
|
|
9
9
|
import Agent from 'http://localhost:3000/web.js'; // Change to from './web.js' to 'https://localhost:5678/web.js'
|
|
10
10
|
Agent.initWidget({
|
|
11
11
|
apiHost: 'https://ci-api.clik.vn/chatbot',
|
|
12
|
-
agentId: '
|
|
12
|
+
agentId: '6141dbff-28f9-456c-af38-3f7495e4b6d4',
|
|
13
13
|
overrideConfig: {
|
|
14
|
-
chatId: '
|
|
14
|
+
chatId: '04424d99-b19b-4b9b-88a5-e2c3c0b44d12',
|
|
15
15
|
skipSuggestion: true,
|
|
16
16
|
overrideConfig: {
|
|
17
17
|
vars: {
|
|
18
|
-
TOUR_CODE:
|
|
18
|
+
TOUR_CODE: "TOUR_KUFGDEPDTJA4",
|
|
19
19
|
LANGUAGE_CODE: 'VN',
|
|
20
20
|
// CLIK_VIRTUALTOUR_API: 'https://api.clik.vn/vt360',
|
|
21
|
-
SHOWROOM_CODE: '
|
|
22
|
-
SCENE_CODE: '
|
|
21
|
+
SHOWROOM_CODE: 'SHR_XRUXUDP4JF47',
|
|
22
|
+
SCENE_CODE: 'SCENE_W6GW9CTHFL94',
|
|
23
23
|
CATEGORY_CODE: '',
|
|
24
24
|
CLIK_GRAPHQL_API: 'https://ci-api.clik.vn/graphql',
|
|
25
25
|
USER_LOCALE: 'EN',
|
|
26
26
|
USER_IP: '192.168.1.11',
|
|
27
27
|
PRODUCT_CODE: '',
|
|
28
|
-
USER_ID: '
|
|
29
|
-
BRAND_ALIAS: '
|
|
28
|
+
USER_ID: 'c7cda5d9-7c6b-452f-b4a2-43a1e273bfaf',
|
|
29
|
+
BRAND_ALIAS: 'an-cuong',
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
32
|
},
|
|
@@ -4,4 +4,5 @@ export declare function getLocalStorage(key: string): any;
|
|
|
4
4
|
export declare function generateUUID(): string;
|
|
5
5
|
export declare const generateExtendedFileName: (originalFileName: string) => string;
|
|
6
6
|
export declare const sleep: (duration: number) => Promise<void>;
|
|
7
|
+
export declare const getFavoriteCodes: (brandAlias: string) => any;
|
|
7
8
|
//# sourceMappingURL=commonUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonUtils.d.ts","sourceRoot":"","sources":["../../src/utils/commonUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"commonUtils.d.ts","sourceRoot":"","sources":["../../src/utils/commonUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAI7C,eAAO,MAAM,EAAE,cAAe,UAAU,EAAE,WAEzC,CAAC;AAEF,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,OAK1C;AAED,wBAAgB,YAAY,IAAI,MAAM,CAMrC;AAED,eAAO,MAAM,wBAAwB,qBAAsB,MAAM,WAoBhE,CAAC;AAEF,eAAO,MAAM,KAAK,aAAoB,MAAM,KAAG,OAAO,CAAC,IAAI,CAE1D,CAAC;AAEF,eAAO,MAAM,gBAAgB,eAAgB,MAAM,QAQlD,CAAC"}
|