@nyaruka/temba-components 0.161.0 → 0.162.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/CHANGELOG.md +6 -0
- package/dist/locales/es.js +2 -0
- package/dist/locales/es.js.map +1 -1
- package/dist/locales/fr.js +2 -0
- package/dist/locales/fr.js.map +1 -1
- package/dist/locales/pt.js +2 -0
- package/dist/locales/pt.js.map +1 -1
- package/dist/temba-components.js +465 -465
- package/dist/temba-components.js.map +1 -1
- package/package.json +3 -2
- package/src/display/Chat.ts +16 -0
- package/src/display/TembaUser.ts +7 -0
- package/src/live/ContactChat.ts +120 -78
- package/src/live/SocketService.ts +158 -0
- package/src/locales/es.ts +2 -0
- package/src/locales/fr.ts +2 -0
- package/src/locales/pt.ts +2 -0
- package/src/store/Store.ts +18 -0
- package/xliff/es.xlf +6 -0
- package/xliff/fr.xlf +6 -0
- package/xliff/pt.xlf +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
#### [v0.162.0](https://github.com/nyaruka/temba-components/compare/v0.161.0...v0.162.0)
|
|
8
|
+
|
|
9
|
+
- Deliver contact chat events over realtime sockets instead of polling [`#1037`](https://github.com/nyaruka/temba-components/pull/1037)
|
|
10
|
+
|
|
7
11
|
#### [v0.161.0](https://github.com/nyaruka/temba-components/compare/v0.160.1...v0.161.0)
|
|
8
12
|
|
|
13
|
+
> 2 July 2026
|
|
14
|
+
|
|
9
15
|
- Support legacy webhooks by preserving result_name placement [`#1035`](https://github.com/nyaruka/temba-components/pull/1035)
|
|
10
16
|
- Flow list label chips link to the label view [`#1036`](https://github.com/nyaruka/temba-components/pull/1036)
|
|
11
17
|
|
package/dist/locales/es.js
CHANGED
|
@@ -6,8 +6,10 @@ export const templates = {
|
|
|
6
6
|
'scf1453991c986b25': `Tab para completar, enter para seleccionar`,
|
|
7
7
|
's73b4d70c02f4b4e0': `No options`,
|
|
8
8
|
'sbc913d7dc0f33877': `to add`,
|
|
9
|
+
's81f17cfc89a04338': `Interrupt flow`,
|
|
9
10
|
's8f02e3a18ffc083a': `Are not currently in a flow`,
|
|
10
11
|
's638236250662c6b3': `Have sent a message in the last`,
|
|
11
12
|
's4788ee206c4570c7': `Have not started this flow in the last 90 days`,
|
|
13
|
+
'sea4f08110bb8f15d': `Remove`,
|
|
12
14
|
};
|
|
13
15
|
//# sourceMappingURL=es.js.map
|
package/dist/locales/es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/locales/es.ts"],"names":[],"mappings":"AACI,mCAAmC;AACnC,gDAAgD;AAKhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,mBAAmB,EAAE,4CAA4C;IACvE,mBAAmB,EAAE,YAAY;IACjC,mBAAmB,EAAE,QAAQ;IAC7B,mBAAmB,EAAE,6BAA6B;IAClD,mBAAmB,EAAE,iCAAiC;IACtD,mBAAmB,EAAE,gDAAgD;
|
|
1
|
+
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/locales/es.ts"],"names":[],"mappings":"AACI,mCAAmC;AACnC,gDAAgD;AAKhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,mBAAmB,EAAE,4CAA4C;IACvE,mBAAmB,EAAE,YAAY;IACjC,mBAAmB,EAAE,QAAQ;IAC7B,mBAAmB,EAAE,gBAAgB;IACrC,mBAAmB,EAAE,6BAA6B;IAClD,mBAAmB,EAAE,iCAAiC;IACtD,mBAAmB,EAAE,gDAAgD;IACrE,mBAAmB,EAAE,QAAQ;CACxB,CAAC","sourcesContent":["\n // Do not modify this file by hand!\n // Re-generate this file by running lit-localize\n\n \n \n\n /* eslint-disable no-irregular-whitespace */\n /* eslint-disable @typescript-eslint/no-explicit-any */\n\n export const templates = {\n 'scf1453991c986b25': `Tab para completar, enter para seleccionar`,\n's73b4d70c02f4b4e0': `No options`,\n'sbc913d7dc0f33877': `to add`,\n's81f17cfc89a04338': `Interrupt flow`,\n's8f02e3a18ffc083a': `Are not currently in a flow`,\n's638236250662c6b3': `Have sent a message in the last`,\n's4788ee206c4570c7': `Have not started this flow in the last 90 days`,\n'sea4f08110bb8f15d': `Remove`,\n };\n "]}
|
package/dist/locales/fr.js
CHANGED
|
@@ -6,8 +6,10 @@ export const templates = {
|
|
|
6
6
|
's73b4d70c02f4b4e0': `No options`,
|
|
7
7
|
'scf1453991c986b25': `Tab to complete, enter to select`,
|
|
8
8
|
'sbc913d7dc0f33877': `to add`,
|
|
9
|
+
's81f17cfc89a04338': `Interrupt flow`,
|
|
9
10
|
's8f02e3a18ffc083a': `Are not currently in a flow`,
|
|
10
11
|
's638236250662c6b3': `Have sent a message in the last`,
|
|
11
12
|
's4788ee206c4570c7': `Have not started this flow in the last 90 days`,
|
|
13
|
+
'sea4f08110bb8f15d': `Remove`,
|
|
12
14
|
};
|
|
13
15
|
//# sourceMappingURL=fr.js.map
|
package/dist/locales/fr.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.js","sourceRoot":"","sources":["../../../src/locales/fr.ts"],"names":[],"mappings":"AACI,mCAAmC;AACnC,gDAAgD;AAKhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,mBAAmB,EAAE,YAAY;IACvC,mBAAmB,EAAE,kCAAkC;IACvD,mBAAmB,EAAE,QAAQ;IAC7B,mBAAmB,EAAE,6BAA6B;IAClD,mBAAmB,EAAE,iCAAiC;IACtD,mBAAmB,EAAE,gDAAgD;
|
|
1
|
+
{"version":3,"file":"fr.js","sourceRoot":"","sources":["../../../src/locales/fr.ts"],"names":[],"mappings":"AACI,mCAAmC;AACnC,gDAAgD;AAKhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,mBAAmB,EAAE,YAAY;IACvC,mBAAmB,EAAE,kCAAkC;IACvD,mBAAmB,EAAE,QAAQ;IAC7B,mBAAmB,EAAE,gBAAgB;IACrC,mBAAmB,EAAE,6BAA6B;IAClD,mBAAmB,EAAE,iCAAiC;IACtD,mBAAmB,EAAE,gDAAgD;IACrE,mBAAmB,EAAE,QAAQ;CACxB,CAAC","sourcesContent":["\n // Do not modify this file by hand!\n // Re-generate this file by running lit-localize\n\n \n \n\n /* eslint-disable no-irregular-whitespace */\n /* eslint-disable @typescript-eslint/no-explicit-any */\n\n export const templates = {\n 's73b4d70c02f4b4e0': `No options`,\n'scf1453991c986b25': `Tab to complete, enter to select`,\n'sbc913d7dc0f33877': `to add`,\n's81f17cfc89a04338': `Interrupt flow`,\n's8f02e3a18ffc083a': `Are not currently in a flow`,\n's638236250662c6b3': `Have sent a message in the last`,\n's4788ee206c4570c7': `Have not started this flow in the last 90 days`,\n'sea4f08110bb8f15d': `Remove`,\n };\n "]}
|
package/dist/locales/pt.js
CHANGED
|
@@ -6,8 +6,10 @@ export const templates = {
|
|
|
6
6
|
's73b4d70c02f4b4e0': `No options`,
|
|
7
7
|
'scf1453991c986b25': `Tab to complete, enter to select`,
|
|
8
8
|
'sbc913d7dc0f33877': `to add`,
|
|
9
|
+
's81f17cfc89a04338': `Interrupt flow`,
|
|
9
10
|
's8f02e3a18ffc083a': `Are not currently in a flow`,
|
|
10
11
|
's638236250662c6b3': `Have sent a message in the last`,
|
|
11
12
|
's4788ee206c4570c7': `Have not started this flow in the last 90 days`,
|
|
13
|
+
'sea4f08110bb8f15d': `Remove`,
|
|
12
14
|
};
|
|
13
15
|
//# sourceMappingURL=pt.js.map
|
package/dist/locales/pt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pt.js","sourceRoot":"","sources":["../../../src/locales/pt.ts"],"names":[],"mappings":"AACI,mCAAmC;AACnC,gDAAgD;AAKhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,mBAAmB,EAAE,YAAY;IACvC,mBAAmB,EAAE,kCAAkC;IACvD,mBAAmB,EAAE,QAAQ;IAC7B,mBAAmB,EAAE,6BAA6B;IAClD,mBAAmB,EAAE,iCAAiC;IACtD,mBAAmB,EAAE,gDAAgD;
|
|
1
|
+
{"version":3,"file":"pt.js","sourceRoot":"","sources":["../../../src/locales/pt.ts"],"names":[],"mappings":"AACI,mCAAmC;AACnC,gDAAgD;AAKhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,mBAAmB,EAAE,YAAY;IACvC,mBAAmB,EAAE,kCAAkC;IACvD,mBAAmB,EAAE,QAAQ;IAC7B,mBAAmB,EAAE,gBAAgB;IACrC,mBAAmB,EAAE,6BAA6B;IAClD,mBAAmB,EAAE,iCAAiC;IACtD,mBAAmB,EAAE,gDAAgD;IACrE,mBAAmB,EAAE,QAAQ;CACxB,CAAC","sourcesContent":["\n // Do not modify this file by hand!\n // Re-generate this file by running lit-localize\n\n \n \n\n /* eslint-disable no-irregular-whitespace */\n /* eslint-disable @typescript-eslint/no-explicit-any */\n\n export const templates = {\n 's73b4d70c02f4b4e0': `No options`,\n'scf1453991c986b25': `Tab to complete, enter to select`,\n'sbc913d7dc0f33877': `to add`,\n's81f17cfc89a04338': `Interrupt flow`,\n's8f02e3a18ffc083a': `Are not currently in a flow`,\n's638236250662c6b3': `Have sent a message in the last`,\n's4788ee206c4570c7': `Have not started this flow in the last 90 days`,\n'sea4f08110bb8f15d': `Remove`,\n };\n "]}
|