@bigbinary/neeto-rules-frontend 2.6.3 → 2.7.1

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.
@@ -39,7 +39,7 @@ import Label from '@bigbinary/neetoui/Label';
39
39
  import Select from '@bigbinary/neetoui/Select';
40
40
  import { dayjs, joinHyphenCase, hyphenize } from '@bigbinary/neeto-commons-frontend/utils';
41
41
  import DatePicker from '@bigbinary/neetoui/DatePicker';
42
- import { g as getSeparator, d as dotPath$1, b as getDateTimeValue, D as DATE_TIME_TYPES, e as DATE_TIME_FORMAT, f as DATE_FORMAT, a as getDateTimeFormattedValue, T as TIME_FORMAT } from './utils-CfCq6Ltz.js';
42
+ import { g as getSeparator, d as dotPath$1, b as getDateTimeValue, e as DATE_TIME_TYPES, f as DATE_TIME_FORMAT, D as DATE_FORMAT, a as getDateTimeFormattedValue, T as TIME_FORMAT } from './utils-DeqHhpwQ.js';
43
43
  import MultiEmailInput from '@bigbinary/neetoui/formik/MultiEmailInput';
44
44
  import FormikEditor from '@bigbinary/neeto-editor/FormikEditor';
45
45
  import Refresh from '@bigbinary/neeto-icons/Refresh';
@@ -387,6 +387,14 @@ var getActionLabel = function getActionLabel(action) {
387
387
  var modifiedActionLabel = action.toLowerCase();
388
388
  return replace(/slack/g, "Slack", modifiedActionLabel);
389
389
  };
390
+ var getOptionsKey = function getOptionsKey() {
391
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
392
+ return options.map(function (_ref3) {
393
+ var value = _ref3.value,
394
+ label = _ref3.label;
395
+ return "".concat(value, ":").concat(label);
396
+ }).join(",");
397
+ };
390
398
 
391
399
  var ActionPanel = function ActionPanel() {
392
400
  var _useTranslation = useTranslation(),
@@ -5524,5 +5532,5 @@ var formatData = function formatData(data) {
5524
5532
  }, {});
5525
5533
  };
5526
5534
 
5527
- export { ActionSubItem as A, DEFAULT_RULE_ACTION as D, EditorAction as E, FIELDS_WITH_OPTIONS as F, OPERATORS as O, PANEL_TYPES as P, RadioField as R, SelectField as S, TouchErrors as T, ValueField as V, getFieldDetails$1 as a, getSlackChannelErrors as b, getActionLabel as c, getLogicalOperatorOptions as d, getFieldDetails as e, getVerbOptions as f, getActionOptions as g, DEFAULT_DELAY as h, getAllEvents as i, STATUS_KEYS as j, formatData as k, buildPayload as l, ScrollToErrorField as m, Panel as n, getValidationSchema as o, DEFAULT_INITIAL_VALUE as p, ErrorCallout as q, SmsFields as r, PhoneNumberField as s, usePollRuleName as u };
5528
- //# sourceMappingURL=index-B0FTuUOt.js.map
5535
+ export { ActionSubItem as A, DEFAULT_RULE_ACTION as D, EditorAction as E, FIELDS_WITH_OPTIONS as F, OPERATORS as O, PANEL_TYPES as P, RadioField as R, SelectField as S, TouchErrors as T, ValueField as V, getFieldDetails$1 as a, getSlackChannelErrors as b, getOptionsKey as c, getActionLabel as d, getLogicalOperatorOptions as e, getFieldDetails as f, getActionOptions as g, getVerbOptions as h, DEFAULT_DELAY as i, getAllEvents as j, STATUS_KEYS as k, formatData as l, buildPayload as m, ScrollToErrorField as n, Panel as o, getValidationSchema as p, DEFAULT_INITIAL_VALUE as q, ErrorCallout as r, SmsFields as s, PhoneNumberField as t, usePollRuleName as u };
5536
+ //# sourceMappingURL=index-qw90tLi9.js.map