@bigbinary/neeto-filters-frontend 3.4.0-beta1 → 4.0.0
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 +20 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import i18next, { t as t$1 } from 'i18next';
|
|
|
5
5
|
import { findBy, isNotEmpty, capitalize, removeBy, toLabelAndValue, hyphenate, isNotPresent, noop, replaceBy, existsBy, _existsBy, isPresent, humanize, findById, filterBy } from '@bigbinary/neeto-cist';
|
|
6
6
|
import { useDebounce, useQueryParams, useMutationWithInvalidation, withT } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
7
7
|
import { groupBy, anyPass, isNil, isEmpty, any, concat, omit, mergeLeft, toLower, identity, mergeRight, toPairs, pluck, either, not, has, equals, pick, last, modify, append, mergeDeepRight, prop, assoc, reject, sortBy, project } from 'ramda';
|
|
8
|
-
import
|
|
8
|
+
import Delete$1 from '@bigbinary/neeto-icons/Delete';
|
|
9
9
|
import Accordion from '@bigbinary/neetoui/Accordion';
|
|
10
10
|
import Button from '@bigbinary/neetoui/Button';
|
|
11
11
|
import Pane$1 from '@bigbinary/neetoui/Pane';
|
|
@@ -21,14 +21,17 @@ import dayjs from 'dayjs';
|
|
|
21
21
|
import timezone from 'dayjs/plugin/timezone';
|
|
22
22
|
import utc from 'dayjs/plugin/utc';
|
|
23
23
|
import weekday from 'dayjs/plugin/weekday';
|
|
24
|
+
import Help from '@bigbinary/neeto-icons/Help';
|
|
24
25
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
25
26
|
import DatePicker from '@bigbinary/neetoui/DatePicker';
|
|
26
27
|
import TimePickerInput from '@bigbinary/neetoui/TimePickerInput';
|
|
27
28
|
import Input from '@bigbinary/neetoui/Input';
|
|
28
29
|
import NeetoUITreeSelect from '@bigbinary/neetoui/TreeSelect';
|
|
30
|
+
import Plus from '@bigbinary/neeto-icons/Plus';
|
|
29
31
|
import * as yup from 'yup';
|
|
30
32
|
import { useHistory as useHistory$1, useLocation } from 'react-router-dom';
|
|
31
33
|
import useHotkeys from '@bigbinary/neeto-hotkeys';
|
|
34
|
+
import Close from '@bigbinary/neeto-icons/Close';
|
|
32
35
|
import Tooltip from '@bigbinary/neetoui/Tooltip';
|
|
33
36
|
import axios from 'axios';
|
|
34
37
|
import Dropdown$2 from '@bigbinary/neetoui/Dropdown';
|
|
@@ -37,6 +40,7 @@ import { PLURAL } from '@bigbinary/neeto-commons-frontend/constants';
|
|
|
37
40
|
import Alert from '@bigbinary/neetoui/Alert';
|
|
38
41
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
39
42
|
import { DragDropContext, Droppable, Draggable } from '@hello-pangea/dnd';
|
|
43
|
+
import Down from '@bigbinary/neeto-icons/Down';
|
|
40
44
|
import MenuBar from '@bigbinary/neeto-molecules/MenuBar';
|
|
41
45
|
import MoreDropdown from '@bigbinary/neeto-molecules/MoreDropdown';
|
|
42
46
|
|
|
@@ -315,10 +319,7 @@ var TREE_SELECT_RULES = [{
|
|
|
315
319
|
value: "is_unknown"
|
|
316
320
|
}];
|
|
317
321
|
var DEFAULT_HELP_ICON_PROPS = {
|
|
318
|
-
icon: Help
|
|
319
|
-
tooltipProps: {
|
|
320
|
-
position: "right"
|
|
321
|
-
}
|
|
322
|
+
icon: Help
|
|
322
323
|
};
|
|
323
324
|
|
|
324
325
|
function ownKeys$e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -2574,17 +2575,17 @@ var useFetchSegments = function useFetchSegments(_ref) {
|
|
|
2574
2575
|
};
|
|
2575
2576
|
var useCreateSegment = function useCreateSegment(options) {
|
|
2576
2577
|
return useMutationWithInvalidation(segmentsApi.create, _objectSpread$4({
|
|
2577
|
-
keysToInvalidate: [SEGMENTS_LIST]
|
|
2578
|
+
keysToInvalidate: [[SEGMENTS_LIST]]
|
|
2578
2579
|
}, options));
|
|
2579
2580
|
};
|
|
2580
2581
|
var useUpdateSegment = function useUpdateSegment(options) {
|
|
2581
2582
|
return useMutationWithInvalidation(segmentsApi.update, _objectSpread$4({
|
|
2582
|
-
keysToInvalidate: [SEGMENTS_LIST]
|
|
2583
|
+
keysToInvalidate: [[SEGMENTS_LIST]]
|
|
2583
2584
|
}, options));
|
|
2584
2585
|
};
|
|
2585
2586
|
var useDestroySegment = function useDestroySegment(options) {
|
|
2586
2587
|
return useMutationWithInvalidation(segmentsApi.destroy, _objectSpread$4({
|
|
2587
|
-
keysToInvalidate: [SEGMENTS_LIST]
|
|
2588
|
+
keysToInvalidate: [[SEGMENTS_LIST]]
|
|
2588
2589
|
}, options));
|
|
2589
2590
|
};
|
|
2590
2591
|
|