@bigbinary/neeto-rules-frontend 2.7.16 → 2.7.18
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/app/javascript/src/translations/en.json +1 -1
- package/dist/.ready +1 -1
- package/dist/NeetoRulesBuilder.js +4 -2
- package/dist/NeetoRulesBuilder.js.map +1 -1
- package/dist/NeetoRulesForm.js +1 -1
- package/dist/cjs/NeetoRulesBuilder.js +4 -2
- package/dist/cjs/NeetoRulesBuilder.js.map +1 -1
- package/dist/cjs/NeetoRulesForm.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/v2/NeetoRulesBuilder.js +4 -2
- package/dist/cjs/v2/NeetoRulesBuilder.js.map +1 -1
- package/dist/cjs/v2/NeetoRulesForm.js +1 -1
- package/dist/cjs/v2/index.js +1 -1
- package/dist/{index-C0gKo-ED.js → index-DwGEK-_1.js} +2 -2
- package/dist/index-DwGEK-_1.js.map +1 -0
- package/dist/{index-D7dZ7WdP.js → index-Vt6GY_o0.js} +7 -6
- package/dist/index-Vt6GY_o0.js.map +1 -0
- package/dist/{index-DnM1MWRr.js → index-k-eGkX-R.js} +7 -6
- package/dist/index-k-eGkX-R.js.map +1 -0
- package/dist/{index-Bfe1tRHq.js → index-ogJeZ752.js} +2 -2
- package/dist/index-ogJeZ752.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/v2/NeetoRulesBuilder.js +4 -2
- package/dist/v2/NeetoRulesBuilder.js.map +1 -1
- package/dist/v2/NeetoRulesForm.js +1 -1
- package/dist/v2/index.js +1 -1
- package/package.json +11 -11
- package/dist/index-Bfe1tRHq.js.map +0 -1
- package/dist/index-C0gKo-ED.js.map +0 -1
- package/dist/index-D7dZ7WdP.js.map +0 -1
- package/dist/index-DnM1MWRr.js.map +0 -1
package/dist/NeetoRulesForm.js
CHANGED
|
@@ -15,7 +15,7 @@ import { u as useUtilityStore } from './useUtilityStore-CCUYS1mS.js';
|
|
|
15
15
|
import classNames from 'classnames';
|
|
16
16
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
17
17
|
import { isNotNil, isEmpty, pluck } from 'ramda';
|
|
18
|
-
import { g as getActionOptions, a as getFieldDetails, b as getSlackChannelErrors, c as getOptionsKey, d as getActionLabel, A as ActionSubItem, F as FIELDS_WITH_OPTIONS, P as PANEL_TYPES, D as DEFAULT_RULE_ACTION, e as getLogicalOperatorOptions, f as getFieldDetails$1, h as getVerbOptions, R as RadioField$1, S as SelectField$1, V as ValueField, i as DEFAULT_DELAY, j as getAllEvents, O as OPERATORS$1, k as STATUS_KEYS, l as formatData, u as usePollRuleName, T as TouchErrors, m as buildPayload, n as ScrollToErrorField, o as Panel, p as getValidationSchema, q as DEFAULT_INITIAL_VALUE } from './index-
|
|
18
|
+
import { g as getActionOptions, a as getFieldDetails, b as getSlackChannelErrors, c as getOptionsKey, d as getActionLabel, A as ActionSubItem, F as FIELDS_WITH_OPTIONS, P as PANEL_TYPES, D as DEFAULT_RULE_ACTION, e as getLogicalOperatorOptions, f as getFieldDetails$1, h as getVerbOptions, R as RadioField$1, S as SelectField$1, V as ValueField, i as DEFAULT_DELAY, j as getAllEvents, O as OPERATORS$1, k as STATUS_KEYS, l as formatData, u as usePollRuleName, T as TouchErrors, m as buildPayload, n as ScrollToErrorField, o as Panel, p as getValidationSchema, q as DEFAULT_INITIAL_VALUE } from './index-ogJeZ752.js';
|
|
19
19
|
import { a as useActiveField, u as useCustomDataStore } from './useCustomDataStore-BtKYtLVc.js';
|
|
20
20
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
21
|
import { joinHyphenCase } from '@bigbinary/neeto-commons-frontend/utils';
|
|
@@ -13,7 +13,7 @@ var Header = require('@bigbinary/neeto-molecules/Header');
|
|
|
13
13
|
var Spinner = require('@bigbinary/neetoui/Spinner');
|
|
14
14
|
var ActionBlock = require('@bigbinary/neetoui/formik/ActionBlock');
|
|
15
15
|
var reactI18next = require('react-i18next');
|
|
16
|
-
var index = require('../index-
|
|
16
|
+
var index = require('../index-DwGEK-_1.js');
|
|
17
17
|
var useCustomDataStore = require('../useCustomDataStore-DxFx8aCf.js');
|
|
18
18
|
var useUtilityStore = require('../useUtilityStore-C_U20IMX.js');
|
|
19
19
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
@@ -3040,8 +3040,10 @@ var Canvas = function Canvas(_ref) {
|
|
|
3040
3040
|
});
|
|
3041
3041
|
};
|
|
3042
3042
|
var handleClearTrigger = function handleClearTrigger() {
|
|
3043
|
+
var _schema$actor2;
|
|
3043
3044
|
clearTriggers();
|
|
3044
|
-
|
|
3045
|
+
// Hosts without an actor pane can never re-set it, and null fails its validation.
|
|
3046
|
+
if ((_schema$actor2 = schema.actor) !== null && _schema$actor2 !== void 0 && _schema$actor2.enabled) setPerformer(null);
|
|
3045
3047
|
clearConditions();
|
|
3046
3048
|
setDelay(null);
|
|
3047
3049
|
clearActions();
|