@bigbinary/neeto-rules-frontend 2.6.1 → 2.6.3
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/ar.json +2 -1
- package/app/javascript/src/translations/bg.json +2 -1
- package/app/javascript/src/translations/ca.json +2 -1
- package/app/javascript/src/translations/cs.json +2 -1
- package/app/javascript/src/translations/da.json +2 -1
- package/app/javascript/src/translations/de.json +2 -1
- package/app/javascript/src/translations/en.json +2 -1
- package/app/javascript/src/translations/es-MX.json +2 -1
- package/app/javascript/src/translations/es.json +2 -1
- package/app/javascript/src/translations/et.json +2 -1
- package/app/javascript/src/translations/fi.json +2 -1
- package/app/javascript/src/translations/fil.json +2 -1
- package/app/javascript/src/translations/fr.json +2 -1
- package/app/javascript/src/translations/he.json +2 -1
- package/app/javascript/src/translations/hi.json +2 -1
- package/app/javascript/src/translations/hr.json +2 -1
- package/app/javascript/src/translations/hu.json +2 -1
- package/app/javascript/src/translations/id.json +2 -1
- package/app/javascript/src/translations/it.json +2 -1
- package/app/javascript/src/translations/ja.json +2 -1
- package/app/javascript/src/translations/ko.json +2 -1
- package/app/javascript/src/translations/nl.json +2 -1
- package/app/javascript/src/translations/pl.json +2 -1
- package/app/javascript/src/translations/pt-BR.json +2 -1
- package/app/javascript/src/translations/pt.json +2 -1
- package/app/javascript/src/translations/ro.json +2 -1
- package/app/javascript/src/translations/ru.json +2 -1
- package/app/javascript/src/translations/sk.json +2 -1
- package/app/javascript/src/translations/sl.json +2 -1
- package/app/javascript/src/translations/sv.json +2 -1
- package/app/javascript/src/translations/th.json +2 -1
- package/app/javascript/src/translations/tr.json +2 -1
- package/app/javascript/src/translations/uk.json +2 -1
- package/app/javascript/src/translations/vi.json +2 -1
- package/app/javascript/src/translations/zh-CN.json +2 -1
- package/app/javascript/src/translations/zh-TW.json +2 -1
- package/dist/.ready +1 -1
- package/dist/NeetoRulesBuilder.js +95 -85
- package/dist/NeetoRulesBuilder.js.map +1 -1
- package/dist/NeetoRulesForm.js +1 -1
- package/dist/cjs/NeetoRulesBuilder.js +95 -85
- package/dist/cjs/NeetoRulesBuilder.js.map +1 -1
- package/dist/cjs/NeetoRulesForm.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/{index-CkYo0ca_.js → index-B0FTuUOt.js} +20 -3
- package/dist/index-B0FTuUOt.js.map +1 -0
- package/dist/{index-3f8Yrbst.js → index-C8o4tdnQ.js} +20 -3
- package/dist/index-C8o4tdnQ.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/dist/index-3f8Yrbst.js.map +0 -1
- package/dist/index-CkYo0ca_.js.map +0 -1
|
@@ -1500,13 +1500,30 @@ var SelectField$1 = function SelectField(_ref2) {
|
|
|
1500
1500
|
setValue((_option$value = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value !== void 0 ? _option$value : null);
|
|
1501
1501
|
setTouched(true);
|
|
1502
1502
|
};
|
|
1503
|
+
var formatOptionLabel = function formatOptionLabel(_ref4, _ref5) {
|
|
1504
|
+
var label = _ref4.label,
|
|
1505
|
+
isPrivate = _ref4.isPrivate;
|
|
1506
|
+
var context = _ref5.context;
|
|
1507
|
+
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1508
|
+
className: "flex items-center justify-between gap-2",
|
|
1509
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("span", {
|
|
1510
|
+
children: label
|
|
1511
|
+
}), isPrivate && context === "menu" && /*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
1512
|
+
className: "neeto-ui-text-gray-500 italic",
|
|
1513
|
+
style: "body3",
|
|
1514
|
+
children: t("neetoRules.slack.private")
|
|
1515
|
+
})]
|
|
1516
|
+
});
|
|
1517
|
+
};
|
|
1503
1518
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1504
1519
|
className: "flex items-start gap-2",
|
|
1505
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(Select$1, _objectSpread$c(_objectSpread$c({}, _objectSpread$c({
|
|
1520
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(Select$1, _objectSpread$c(_objectSpread$c({}, _objectSpread$c(_objectSpread$c({
|
|
1506
1521
|
className: className,
|
|
1507
1522
|
name: name,
|
|
1508
1523
|
required: required
|
|
1509
|
-
}, otherProps)
|
|
1524
|
+
}, otherProps), {}, {
|
|
1525
|
+
formatOptionLabel: formatOptionLabel
|
|
1526
|
+
})), {}, {
|
|
1510
1527
|
innerRef: ref,
|
|
1511
1528
|
label: defaultLabel,
|
|
1512
1529
|
options: dropdownOptions,
|
|
@@ -5558,4 +5575,4 @@ exports.getSlackChannelErrors = getSlackChannelErrors;
|
|
|
5558
5575
|
exports.getValidationSchema = getValidationSchema;
|
|
5559
5576
|
exports.getVerbOptions = getVerbOptions;
|
|
5560
5577
|
exports.usePollRuleName = usePollRuleName;
|
|
5561
|
-
//# sourceMappingURL=index-
|
|
5578
|
+
//# sourceMappingURL=index-C8o4tdnQ.js.map
|