@bigbinary/neeto-rules-frontend 2.7.17 → 2.7.19

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 (62) hide show
  1. package/app/javascript/src/translations/ar.json +1 -1
  2. package/app/javascript/src/translations/bg.json +1 -1
  3. package/app/javascript/src/translations/ca.json +1 -1
  4. package/app/javascript/src/translations/cs.json +1 -1
  5. package/app/javascript/src/translations/da.json +1 -1
  6. package/app/javascript/src/translations/en.json +1 -1
  7. package/app/javascript/src/translations/es-MX.json +1 -1
  8. package/app/javascript/src/translations/et.json +1 -1
  9. package/app/javascript/src/translations/fi.json +1 -1
  10. package/app/javascript/src/translations/fil.json +1 -1
  11. package/app/javascript/src/translations/fr.json +1 -1
  12. package/app/javascript/src/translations/he.json +1 -1
  13. package/app/javascript/src/translations/hi.json +1 -1
  14. package/app/javascript/src/translations/hr.json +1 -1
  15. package/app/javascript/src/translations/hu.json +1 -1
  16. package/app/javascript/src/translations/id.json +1 -1
  17. package/app/javascript/src/translations/it.json +1 -1
  18. package/app/javascript/src/translations/ja.json +1 -1
  19. package/app/javascript/src/translations/ko.json +1 -1
  20. package/app/javascript/src/translations/nl.json +1 -1
  21. package/app/javascript/src/translations/pl.json +1 -1
  22. package/app/javascript/src/translations/pt.json +1 -1
  23. package/app/javascript/src/translations/ro.json +1 -1
  24. package/app/javascript/src/translations/ru.json +1 -1
  25. package/app/javascript/src/translations/sk.json +1 -1
  26. package/app/javascript/src/translations/sl.json +1 -1
  27. package/app/javascript/src/translations/sv.json +1 -1
  28. package/app/javascript/src/translations/tr.json +1 -1
  29. package/app/javascript/src/translations/uk.json +1 -1
  30. package/app/javascript/src/translations/vi.json +1 -1
  31. package/app/javascript/src/translations/zh-CN.json +1 -1
  32. package/app/javascript/src/translations/zh-TW.json +1 -1
  33. package/dist/.ready +1 -1
  34. package/dist/NeetoRulesBuilder.js +4 -2
  35. package/dist/NeetoRulesBuilder.js.map +1 -1
  36. package/dist/NeetoRulesForm.js +1 -1
  37. package/dist/cjs/NeetoRulesBuilder.js +4 -2
  38. package/dist/cjs/NeetoRulesBuilder.js.map +1 -1
  39. package/dist/cjs/NeetoRulesForm.js +1 -1
  40. package/dist/cjs/index.js +1 -1
  41. package/dist/cjs/v2/NeetoRulesBuilder.js +4 -2
  42. package/dist/cjs/v2/NeetoRulesBuilder.js.map +1 -1
  43. package/dist/cjs/v2/NeetoRulesForm.js +1 -1
  44. package/dist/cjs/v2/index.js +1 -1
  45. package/dist/{index-C0gKo-ED.js → index-DwGEK-_1.js} +2 -2
  46. package/dist/index-DwGEK-_1.js.map +1 -0
  47. package/dist/{index-CZuNDvAW.js → index-Vt6GY_o0.js} +2 -2
  48. package/dist/index-Vt6GY_o0.js.map +1 -0
  49. package/dist/{index-CCO7dWzy.js → index-k-eGkX-R.js} +2 -2
  50. package/dist/index-k-eGkX-R.js.map +1 -0
  51. package/dist/{index-Bfe1tRHq.js → index-ogJeZ752.js} +2 -2
  52. package/dist/index-ogJeZ752.js.map +1 -0
  53. package/dist/index.js +1 -1
  54. package/dist/v2/NeetoRulesBuilder.js +4 -2
  55. package/dist/v2/NeetoRulesBuilder.js.map +1 -1
  56. package/dist/v2/NeetoRulesForm.js +1 -1
  57. package/dist/v2/index.js +1 -1
  58. package/package.json +7 -7
  59. package/dist/index-Bfe1tRHq.js.map +0 -1
  60. package/dist/index-C0gKo-ED.js.map +0 -1
  61. package/dist/index-CCO7dWzy.js.map +0 -1
  62. package/dist/index-CZuNDvAW.js.map +0 -1
package/dist/index.js CHANGED
@@ -54,7 +54,7 @@ import 'react-router-dom';
54
54
  import '@babel/runtime/helpers/objectDestructuringEmpty';
55
55
  import './keyboardShortcuts-DNOhEY8h.js';
56
56
  import 'classnames';
57
- import './index-Bfe1tRHq.js';
57
+ import './index-ogJeZ752.js';
58
58
  import '@babel/runtime/helpers/typeof';
59
59
  import 'yup';
60
60
  import '@bigbinary/neeto-icons/Search';
@@ -11,7 +11,7 @@ import { isNotEmpty, toLabelAndValue, removeBy, isNot, noop } from '@bigbinary/n
11
11
  import Container from '@bigbinary/neeto-molecules/v2/Container';
12
12
  import Header from '@bigbinary/neeto-molecules/v2/Header';
13
13
  import { useTranslation } from 'react-i18next';
14
- import { E as EditorAction, m as Panel, p as ErrorCallout, q as SmsFields, r as PhoneNumberField, j as formatData, u as usePollRuleName, T as TouchErrors, l as ScrollToErrorField, n as getValidationSchema, o as DEFAULT_INITIAL_VALUE, k as buildPayload } from '../index-CCO7dWzy.js';
14
+ import { E as EditorAction, m as Panel, p as ErrorCallout, q as SmsFields, r as PhoneNumberField, j as formatData, u as usePollRuleName, T as TouchErrors, l as ScrollToErrorField, n as getValidationSchema, o as DEFAULT_INITIAL_VALUE, k as buildPayload } from '../index-k-eGkX-R.js';
15
15
  import { u as useCustomDataStore } from '../useCustomDataStore-CU3KpyD4.js';
16
16
  import { u as useUtilityStore } from '../useUtilityStore-BBb39TOj.js';
17
17
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
@@ -2891,8 +2891,10 @@ var Canvas = function Canvas(_ref) {
2891
2891
  });
2892
2892
  };
2893
2893
  var handleClearTrigger = function handleClearTrigger() {
2894
+ var _schema$actor2;
2894
2895
  setTriggers([]);
2895
- setPerformer(null);
2896
+ // Hosts without an actor pane can never re-set it, and null fails its validation.
2897
+ if ((_schema$actor2 = schema.actor) !== null && _schema$actor2 !== void 0 && _schema$actor2.enabled) setPerformer(null);
2896
2898
  setConditions([]);
2897
2899
  setDelay(null);
2898
2900
  setActions([]);