@clikvn/agent-widget-embedded 1.1.12-dev-03 → 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.
|
@@ -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,
|
|
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":"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;;
|
|
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
|
},
|