@bigbinary/neeto-rules-frontend 0.4.0 → 0.4.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/index.cjs.js +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { ActionBlock, Textarea, MultiEmailInput, Input as Input$2, Select as Sel
|
|
|
8
8
|
import { t as t$1 } from 'i18next';
|
|
9
9
|
import * as yup from 'yup';
|
|
10
10
|
import { isEditorEmpty, FormikEditor } from '@bigbinary/neeto-editor';
|
|
11
|
-
import { withImmutableActions, useDebounce
|
|
11
|
+
import { withImmutableActions, useDebounce } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
12
12
|
import { create } from 'zustand';
|
|
13
13
|
import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
|
|
14
14
|
import { Typography, Button, Pane, DatePicker, Dropdown as Dropdown$1, Input as Input$1, Checkbox, Select, Label } from '@bigbinary/neetoui';
|
|
@@ -16,6 +16,7 @@ import { useTranslation } from 'react-i18next';
|
|
|
16
16
|
import { Down, Up, Check, Search, Close, Delete, Plus, Refresh, Eye } from '@bigbinary/neeto-icons';
|
|
17
17
|
import { pluck, isNotNil, assocPath, toLower, isEmpty, isNil, without, append, pipe, partition } from 'ramda';
|
|
18
18
|
import { joinHyphenCase } from '@bigbinary/neeto-commons-frontend/utils';
|
|
19
|
+
import useHotkeys from '@bigbinary/neeto-hotkeys';
|
|
19
20
|
|
|
20
21
|
function _objectDestructuringEmpty(obj) {
|
|
21
22
|
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
@@ -1827,10 +1828,10 @@ var InlineInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
1827
1828
|
useOnClickOutside(inputWrapperRef, function () {
|
|
1828
1829
|
return handleCancel(inputValue);
|
|
1829
1830
|
});
|
|
1830
|
-
var inputFieldEscapeHotkeyRef =
|
|
1831
|
+
var inputFieldEscapeHotkeyRef = useHotkeys(SHORTCUTS.cancel.sequence, handleCancel, {
|
|
1831
1832
|
mode: "scoped"
|
|
1832
1833
|
});
|
|
1833
|
-
var inputFieldEnterHotkeyRef =
|
|
1834
|
+
var inputFieldEnterHotkeyRef = useHotkeys(SHORTCUTS.submit.sequence, onSubmit, {
|
|
1834
1835
|
mode: "scoped"
|
|
1835
1836
|
});
|
|
1836
1837
|
useEffect(function () {
|