@nyaruka/temba-components 0.55.0 → 0.56.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 (53) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{31b8df84.js → e3f2a5a4.js} +169 -102
  3. package/dist/index.js +169 -102
  4. package/dist/locales/es.js +6 -0
  5. package/dist/locales/es.js.map +1 -1
  6. package/dist/locales/fr.js +6 -0
  7. package/dist/locales/fr.js.map +1 -1
  8. package/dist/locales/pt.js +6 -0
  9. package/dist/locales/pt.js.map +1 -1
  10. package/dist/static/svg/index.svg +1 -1
  11. package/dist/sw.js +1 -1
  12. package/dist/sw.js.map +1 -1
  13. package/dist/templates/components-body.html +1 -1
  14. package/dist/templates/components-head.html +1 -1
  15. package/out-tsc/src/FormElement.js +6 -0
  16. package/out-tsc/src/FormElement.js.map +1 -1
  17. package/out-tsc/src/button/Button.js +1 -1
  18. package/out-tsc/src/button/Button.js.map +1 -1
  19. package/out-tsc/src/contactsearch/ContactSearch.js +244 -95
  20. package/out-tsc/src/contactsearch/ContactSearch.js.map +1 -1
  21. package/out-tsc/src/label/Label.js +2 -3
  22. package/out-tsc/src/label/Label.js.map +1 -1
  23. package/out-tsc/src/locales/es.js +6 -0
  24. package/out-tsc/src/locales/es.js.map +1 -1
  25. package/out-tsc/src/locales/fr.js +6 -0
  26. package/out-tsc/src/locales/fr.js.map +1 -1
  27. package/out-tsc/src/locales/pt.js +6 -0
  28. package/out-tsc/src/locales/pt.js.map +1 -1
  29. package/out-tsc/src/omnibox/Omnibox.js +10 -3
  30. package/out-tsc/src/omnibox/Omnibox.js.map +1 -1
  31. package/out-tsc/src/select/Select.js +21 -11
  32. package/out-tsc/src/select/Select.js.map +1 -1
  33. package/out-tsc/src/vectoricon/index.js +3 -1
  34. package/out-tsc/src/vectoricon/index.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/FormElement.ts +8 -0
  37. package/src/button/Button.ts +1 -1
  38. package/src/contactsearch/ContactSearch.ts +270 -113
  39. package/src/label/Label.ts +2 -3
  40. package/src/locales/es.ts +6 -0
  41. package/src/locales/fr.ts +6 -0
  42. package/src/locales/pt.ts +6 -0
  43. package/src/omnibox/Omnibox.ts +10 -4
  44. package/src/select/Select.ts +21 -11
  45. package/src/vectoricon/index.ts +4 -1
  46. package/static/svg/index.svg +1 -1
  47. package/static/svg/work/traced/edit-03.svg +1 -0
  48. package/static/svg/work/traced/flip-backward.svg +1 -0
  49. package/static/svg/work/used/edit-03.svg +3 -0
  50. package/static/svg/work/used/flip-backward.svg +3 -0
  51. package/xliff/es.xlf +18 -0
  52. package/xliff/fr.xlf +18 -0
  53. package/xliff/pt.xlf +18 -0
@@ -4,5 +4,11 @@
4
4
  /* eslint-disable @typescript-eslint/no-explicit-any */
5
5
  export const templates = {
6
6
  scf1453991c986b25: `Tab para completar, enter para seleccionar`,
7
+ sf8653793d61d060c: `Skip inactive contacts`,
8
+ sd4af861b95e8ba4a: `Only include contacts who have sent a message in the last 90 days.`,
9
+ sd149dff460c8dc41: `Skip contacts currently in a flow`,
10
+ sc85010c81b71421e: `Avoid interrupting a contact who is already in a flow.`,
11
+ s3e3fa53e834f4fda: `Skip repeat contacts`,
12
+ s95e715d82602bced: `Avoid restarting a contact who has been in this flow in the last 90 days.`,
7
13
  };
8
14
  //# 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;CAChE,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};\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,wBAAwB;IAC3C,iBAAiB,EAAE,oEAAoE;IACvF,iBAAiB,EAAE,mCAAmC;IACtD,iBAAiB,EAAE,wDAAwD;IAC3E,iBAAiB,EAAE,sBAAsB;IACzC,iBAAiB,EAAE,2EAA2E;CAC/F,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 sf8653793d61d060c: `Skip inactive contacts`,\n sd4af861b95e8ba4a: `Only include contacts who have sent a message in the last 90 days.`,\n sd149dff460c8dc41: `Skip contacts currently in a flow`,\n sc85010c81b71421e: `Avoid interrupting a contact who is already in a flow.`,\n s3e3fa53e834f4fda: `Skip repeat contacts`,\n s95e715d82602bced: `Avoid restarting a contact who has been in this flow in the last 90 days.`,\n};\n"]}
@@ -4,5 +4,11 @@
4
4
  /* eslint-disable @typescript-eslint/no-explicit-any */
5
5
  export const templates = {
6
6
  scf1453991c986b25: `Tab to complete, enter to select`,
7
+ sf8653793d61d060c: `Skip inactive contacts`,
8
+ sd4af861b95e8ba4a: `Only include contacts who have sent a message in the last 90 days.`,
9
+ sd149dff460c8dc41: `Skip contacts currently in a flow`,
10
+ sc85010c81b71421e: `Avoid interrupting a contact who is already in a flow.`,
11
+ s3e3fa53e834f4fda: `Skip repeat contacts`,
12
+ s95e715d82602bced: `Avoid restarting a contact who has been in this flow in the last 90 days.`,
7
13
  };
8
14
  //# 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;CACtD,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};\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,wBAAwB;IAC3C,iBAAiB,EAAE,oEAAoE;IACvF,iBAAiB,EAAE,mCAAmC;IACtD,iBAAiB,EAAE,wDAAwD;IAC3E,iBAAiB,EAAE,sBAAsB;IACzC,iBAAiB,EAAE,2EAA2E;CAC/F,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 sf8653793d61d060c: `Skip inactive contacts`,\n sd4af861b95e8ba4a: `Only include contacts who have sent a message in the last 90 days.`,\n sd149dff460c8dc41: `Skip contacts currently in a flow`,\n sc85010c81b71421e: `Avoid interrupting a contact who is already in a flow.`,\n s3e3fa53e834f4fda: `Skip repeat contacts`,\n s95e715d82602bced: `Avoid restarting a contact who has been in this flow in the last 90 days.`,\n};\n"]}
@@ -4,5 +4,11 @@
4
4
  /* eslint-disable @typescript-eslint/no-explicit-any */
5
5
  export const templates = {
6
6
  scf1453991c986b25: `Tab to complete, enter to select`,
7
+ sf8653793d61d060c: `Skip inactive contacts`,
8
+ sd4af861b95e8ba4a: `Only include contacts who have sent a message in the last 90 days.`,
9
+ sd149dff460c8dc41: `Skip contacts currently in a flow`,
10
+ sc85010c81b71421e: `Avoid interrupting a contact who is already in a flow.`,
11
+ s3e3fa53e834f4fda: `Skip repeat contacts`,
12
+ s95e715d82602bced: `Avoid restarting a contact who has been in this flow in the last 90 days.`,
7
13
  };
8
14
  //# 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;CACtD,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};\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,wBAAwB;IAC3C,iBAAiB,EAAE,oEAAoE;IACvF,iBAAiB,EAAE,mCAAmC;IACtD,iBAAiB,EAAE,wDAAwD;IAC3E,iBAAiB,EAAE,sBAAsB;IACzC,iBAAiB,EAAE,2EAA2E;CAC/F,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 sf8653793d61d060c: `Skip inactive contacts`,\n sd4af861b95e8ba4a: `Only include contacts who have sent a message in the last 90 days.`,\n sd149dff460c8dc41: `Skip contacts currently in a flow`,\n sc85010c81b71421e: `Avoid interrupting a contact who is already in a flow.`,\n s3e3fa53e834f4fda: `Skip repeat contacts`,\n s95e715d82602bced: `Avoid restarting a contact who has been in this flow in the last 90 days.`,\n};\n"]}