@bigbinary/neeto-rules-frontend 2.7.0 → 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.
- package/dist/.ready +1 -1
- package/dist/NeetoRules.js +1 -1
- package/dist/NeetoRulesBuilder.js +76 -17
- package/dist/NeetoRulesBuilder.js.map +1 -1
- package/dist/NeetoRulesForm.js +7 -5
- package/dist/NeetoRulesForm.js.map +1 -1
- package/dist/RulePreview.js +1 -1
- package/dist/cjs/NeetoRulesBuilder.js +76 -17
- package/dist/cjs/NeetoRulesBuilder.js.map +1 -1
- package/dist/cjs/NeetoRulesForm.js +6 -4
- package/dist/cjs/NeetoRulesForm.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/{index-C8o4tdnQ.js → index-Df_k2p4V.js} +10 -1
- package/dist/index-Df_k2p4V.js.map +1 -0
- package/dist/{index-B0FTuUOt.js → index-qw90tLi9.js} +11 -3
- package/dist/index-qw90tLi9.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/{utils-CfCq6Ltz.js → utils-DeqHhpwQ.js} +2 -2
- package/dist/{utils-CfCq6Ltz.js.map → utils-DeqHhpwQ.js.map} +1 -1
- package/dist/v2/NeetoRules.js +1 -1
- package/dist/v2/NeetoRulesForm.js +1 -1
- package/dist/v2/RulePreview.js +1 -1
- package/dist/v2/index.js +1 -1
- package/package.json +1 -1
- package/dist/index-B0FTuUOt.js.map +0 -1
- package/dist/index-C8o4tdnQ.js.map +0 -1
|
@@ -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,
|
|
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,
|
|
5528
|
-
//# sourceMappingURL=index-
|
|
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
|