@nyaruka/temba-components 0.105.1 → 0.107.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/dist/locales/es.js +1 -1
  3. package/dist/locales/es.js.map +1 -1
  4. package/dist/locales/fr.js +1 -1
  5. package/dist/locales/fr.js.map +1 -1
  6. package/dist/locales/pt.js +1 -1
  7. package/dist/locales/pt.js.map +1 -1
  8. package/dist/temba-components.js +489 -373
  9. package/dist/temba-components.js.map +1 -1
  10. package/out-tsc/src/contactsearch/ContactSearch.js +31 -13
  11. package/out-tsc/src/contactsearch/ContactSearch.js.map +1 -1
  12. package/out-tsc/src/date/TembaDate.js +4 -0
  13. package/out-tsc/src/date/TembaDate.js.map +1 -1
  14. package/out-tsc/src/locales/es.js +1 -1
  15. package/out-tsc/src/locales/es.js.map +1 -1
  16. package/out-tsc/src/locales/fr.js +1 -1
  17. package/out-tsc/src/locales/fr.js.map +1 -1
  18. package/out-tsc/src/locales/pt.js +1 -1
  19. package/out-tsc/src/locales/pt.js.map +1 -1
  20. package/out-tsc/src/progress/FlowStartProgress.js +60 -0
  21. package/out-tsc/src/progress/FlowStartProgress.js.map +1 -0
  22. package/out-tsc/src/progress/ProgressBar.js +163 -0
  23. package/out-tsc/src/progress/ProgressBar.js.map +1 -0
  24. package/out-tsc/src/store/Store.js +23 -0
  25. package/out-tsc/src/store/Store.js.map +1 -1
  26. package/out-tsc/temba-modules.js +4 -0
  27. package/out-tsc/temba-modules.js.map +1 -1
  28. package/package.json +2 -2
  29. package/src/contactsearch/ContactSearch.ts +36 -15
  30. package/src/date/TembaDate.ts +3 -0
  31. package/src/locales/es.ts +1 -1
  32. package/src/locales/fr.ts +1 -1
  33. package/src/locales/pt.ts +1 -1
  34. package/src/progress/FlowStartProgress.ts +67 -0
  35. package/src/progress/ProgressBar.ts +159 -0
  36. package/src/store/Store.ts +28 -0
  37. package/temba-modules.ts +4 -0
package/CHANGELOG.md CHANGED
@@ -4,15 +4,33 @@ 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.107.0](https://github.com/nyaruka/temba-components/compare/v0.106.0...v0.107.0)
8
+
9
+ - Add flow start progress [`#453`](https://github.com/nyaruka/temba-components/pull/453)
10
+ - Calculate a naiive eta [`fc2d480`](https://github.com/nyaruka/temba-components/commit/fc2d480aba07bf5267844a0d370423893d03d009)
11
+
12
+ #### [v0.106.0](https://github.com/nyaruka/temba-components/compare/v0.105.1...v0.106.0)
13
+
14
+ > 11 September 2024
15
+
16
+ - Handle empty contact searches more elegantly [`#451`](https://github.com/nyaruka/temba-components/pull/451)
17
+
7
18
  #### [v0.105.1](https://github.com/nyaruka/temba-components/compare/v0.105.0...v0.105.1)
8
19
 
20
+ > 6 September 2024
21
+
9
22
  - Remove debug [`2c3cd7f`](https://github.com/nyaruka/temba-components/commit/2c3cd7f61a7ee3418dbf52d1e4cfa1b57bc30a37)
10
23
 
11
- #### [v0.105.0](https://github.com/nyaruka/temba-components/compare/v0.104.0...v0.105.0)
24
+ #### [v0.105.0](https://github.com/nyaruka/temba-components/compare/v0.104.1...v0.105.0)
12
25
 
13
26
  > 6 September 2024
14
27
 
15
28
  - Add OutboxMonitor [`#450`](https://github.com/nyaruka/temba-components/pull/450)
29
+
30
+ #### [v0.104.1](https://github.com/nyaruka/temba-components/compare/v0.104.0...v0.104.1)
31
+
32
+ > 15 August 2024
33
+
16
34
  - Add user_token icon [`c4510b0`](https://github.com/nyaruka/temba-components/commit/c4510b03d9a00cc3f009788f0262e3535d4d25a9)
17
35
 
18
36
  #### [v0.104.0](https://github.com/nyaruka/temba-components/compare/v0.103.0...v0.104.0)
@@ -4,8 +4,8 @@
4
4
  /* eslint-disable @typescript-eslint/no-explicit-any */
5
5
  export const templates = {
6
6
  scf1453991c986b25: `Tab para completar, enter para seleccionar`,
7
- s638236250662c6b3: `Have sent a message in the last`,
8
7
  s8f02e3a18ffc083a: `Are not currently in a flow`,
8
+ s638236250662c6b3: `Have sent a message in the last`,
9
9
  s4788ee206c4570c7: `Have not started this flow in the last 90 days`
10
10
  };
11
11
  //# sourceMappingURL=es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/locales/es.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,gDAAgD;AAEhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,iBAAiB,EAAE,4CAA4C;IAC/D,iBAAiB,EAAE,iCAAiC;IACpD,iBAAiB,EAAE,6BAA6B;IAChD,iBAAiB,EAAE,gDAAgD;CACpE,CAAC","sourcesContent":["// Do not modify this file by hand!\n// Re-generate this file by running lit-localize\n\n/* eslint-disable no-irregular-whitespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport const templates = {\n scf1453991c986b25: `Tab para completar, enter para seleccionar`,\n s638236250662c6b3: `Have sent a message in the last`,\n s8f02e3a18ffc083a: `Are not currently in a flow`,\n s4788ee206c4570c7: `Have not started this flow in the last 90 days`\n};\n"]}
1
+ {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/locales/es.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,gDAAgD;AAEhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,iBAAiB,EAAE,4CAA4C;IAC/D,iBAAiB,EAAE,6BAA6B;IAChD,iBAAiB,EAAE,iCAAiC;IACpD,iBAAiB,EAAE,gDAAgD;CACpE,CAAC","sourcesContent":["// Do not modify this file by hand!\n// Re-generate this file by running lit-localize\n\n/* eslint-disable no-irregular-whitespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport const templates = {\n scf1453991c986b25: `Tab para completar, enter para seleccionar`,\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};\n"]}
@@ -4,8 +4,8 @@
4
4
  /* eslint-disable @typescript-eslint/no-explicit-any */
5
5
  export const templates = {
6
6
  scf1453991c986b25: `Tab to complete, enter to select`,
7
- s638236250662c6b3: `Have sent a message in the last`,
8
7
  s8f02e3a18ffc083a: `Are not currently in a flow`,
8
+ s638236250662c6b3: `Have sent a message in the last`,
9
9
  s4788ee206c4570c7: `Have not started this flow in the last 90 days`
10
10
  };
11
11
  //# sourceMappingURL=fr.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fr.js","sourceRoot":"","sources":["../../../src/locales/fr.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,gDAAgD;AAEhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,iBAAiB,EAAE,kCAAkC;IACrD,iBAAiB,EAAE,iCAAiC;IACpD,iBAAiB,EAAE,6BAA6B;IAChD,iBAAiB,EAAE,gDAAgD;CACpE,CAAC","sourcesContent":["// Do not modify this file by hand!\n// Re-generate this file by running lit-localize\n\n/* eslint-disable no-irregular-whitespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport const templates = {\n scf1453991c986b25: `Tab to complete, enter to select`,\n s638236250662c6b3: `Have sent a message in the last`,\n s8f02e3a18ffc083a: `Are not currently in a flow`,\n s4788ee206c4570c7: `Have not started this flow in the last 90 days`\n};\n"]}
1
+ {"version":3,"file":"fr.js","sourceRoot":"","sources":["../../../src/locales/fr.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,gDAAgD;AAEhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,iBAAiB,EAAE,kCAAkC;IACrD,iBAAiB,EAAE,6BAA6B;IAChD,iBAAiB,EAAE,iCAAiC;IACpD,iBAAiB,EAAE,gDAAgD;CACpE,CAAC","sourcesContent":["// Do not modify this file by hand!\n// Re-generate this file by running lit-localize\n\n/* eslint-disable no-irregular-whitespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport const templates = {\n scf1453991c986b25: `Tab to complete, enter to select`,\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};\n"]}
@@ -4,8 +4,8 @@
4
4
  /* eslint-disable @typescript-eslint/no-explicit-any */
5
5
  export const templates = {
6
6
  scf1453991c986b25: `Tab to complete, enter to select`,
7
- s638236250662c6b3: `Have sent a message in the last`,
8
7
  s8f02e3a18ffc083a: `Are not currently in a flow`,
8
+ s638236250662c6b3: `Have sent a message in the last`,
9
9
  s4788ee206c4570c7: `Have not started this flow in the last 90 days`
10
10
  };
11
11
  //# sourceMappingURL=pt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pt.js","sourceRoot":"","sources":["../../../src/locales/pt.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,gDAAgD;AAEhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,iBAAiB,EAAE,kCAAkC;IACrD,iBAAiB,EAAE,iCAAiC;IACpD,iBAAiB,EAAE,6BAA6B;IAChD,iBAAiB,EAAE,gDAAgD;CACpE,CAAC","sourcesContent":["// Do not modify this file by hand!\n// Re-generate this file by running lit-localize\n\n/* eslint-disable no-irregular-whitespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport const templates = {\n scf1453991c986b25: `Tab to complete, enter to select`,\n s638236250662c6b3: `Have sent a message in the last`,\n s8f02e3a18ffc083a: `Are not currently in a flow`,\n s4788ee206c4570c7: `Have not started this flow in the last 90 days`\n};\n"]}
1
+ {"version":3,"file":"pt.js","sourceRoot":"","sources":["../../../src/locales/pt.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,gDAAgD;AAEhD,4CAA4C;AAC5C,uDAAuD;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,iBAAiB,EAAE,kCAAkC;IACrD,iBAAiB,EAAE,6BAA6B;IAChD,iBAAiB,EAAE,iCAAiC;IACpD,iBAAiB,EAAE,gDAAgD;CACpE,CAAC","sourcesContent":["// Do not modify this file by hand!\n// Re-generate this file by running lit-localize\n\n/* eslint-disable no-irregular-whitespace */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport const templates = {\n scf1453991c986b25: `Tab to complete, enter to select`,\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};\n"]}