@m4l/components 0.0.27 → 0.0.32

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.
Files changed (68) hide show
  1. package/dist/components/CompanyLogo/index.js +0 -1
  2. package/dist/components/DataGrid/index.js +5 -2
  3. package/dist/components/DynamicFilter/components/ApplyedFilters/components/ApplyedFilter/index.d.ts +3 -0
  4. package/dist/components/DynamicFilter/components/ApplyedFilters/components/ApplyedFilter/styles.d.ts +6 -0
  5. package/dist/components/DynamicFilter/components/ApplyedFilters/index.d.ts +2 -0
  6. package/dist/components/DynamicFilter/components/ApplyedFilters/styles.d.ts +2 -0
  7. package/dist/components/DynamicFilter/components/ClearFilters/index.d.ts +2 -0
  8. package/dist/components/DynamicFilter/components/ClearFilters/styles.d.ts +3 -0
  9. package/dist/components/DynamicFilter/components/FilterButton/index.d.ts +2 -0
  10. package/dist/components/DynamicFilter/components/FilterButton/styles.d.ts +4 -0
  11. package/dist/components/DynamicFilter/components/InputFilter/index.d.ts +2 -0
  12. package/dist/components/DynamicFilter/components/InputFilter/styles.d.ts +3 -0
  13. package/dist/components/DynamicFilter/components/PopupEditFilter/components/BooleanFilter/index.d.ts +2 -0
  14. package/dist/components/DynamicFilter/components/PopupEditFilter/components/BooleanFilter/styles.d.ts +3 -0
  15. package/dist/components/DynamicFilter/components/PopupEditFilter/components/DateTimeFilter/index.d.ts +2 -0
  16. package/dist/components/DynamicFilter/components/PopupEditFilter/components/DateTimeFilter/styles.d.ts +3 -0
  17. package/dist/components/DynamicFilter/components/PopupEditFilter/components/StringFilter/index.d.ts +2 -0
  18. package/dist/components/DynamicFilter/components/PopupEditFilter/components/StringFilter/styles.d.ts +3 -0
  19. package/dist/components/DynamicFilter/components/PopupEditFilter/components/factory.d.ts +6 -0
  20. package/dist/components/DynamicFilter/components/PopupEditFilter/components/validations.d.ts +5 -0
  21. package/dist/components/DynamicFilter/components/PopupEditFilter/index.d.ts +2 -0
  22. package/dist/components/DynamicFilter/components/PopupEditFilter/styles.d.ts +5 -0
  23. package/dist/components/DynamicFilter/contexts/BaseContext/index.d.ts +5 -0
  24. package/dist/components/DynamicFilter/contexts/BaseContext/types.d.ts +42 -0
  25. package/dist/components/DynamicFilter/hooks/useFilter.d.ts +1 -0
  26. package/dist/components/DynamicFilter/index.d.ts +3 -0
  27. package/dist/components/DynamicFilter/index.js +1392 -0
  28. package/dist/components/DynamicFilter/styles.d.ts +8 -0
  29. package/dist/components/DynamicFilter/types.d.ts +65 -0
  30. package/dist/components/Icon/index.js +4 -2
  31. package/dist/components/Icon/styles.d.ts +1 -2
  32. package/dist/components/Icon/types.d.ts +4 -2
  33. package/dist/components/Image/index.js +1 -2
  34. package/dist/components/ObjectLogs/index.js +51 -98
  35. package/dist/components/ObjectLogs/types.d.ts +0 -2
  36. package/dist/components/ScrollBar/index.d.ts +6 -3
  37. package/dist/components/ScrollBar/index.js +7 -15
  38. package/dist/components/hook-form/FormProvider/index.js +0 -1
  39. package/dist/components/hook-form/RHFAutocomplete/index.d.ts +4 -0
  40. package/dist/components/hook-form/RHFAutocomplete/styles.d.ts +5 -0
  41. package/dist/components/hook-form/RHFAutocomplete/types.d.ts +13 -0
  42. package/dist/components/hook-form/RHFAutocompleteAsync/index.js +0 -2
  43. package/dist/components/hook-form/RHFDateTime/index.d.ts +4 -0
  44. package/dist/components/hook-form/RHFDateTime/styles.d.ts +2 -0
  45. package/dist/components/hook-form/RHFDateTime/types.d.ts +9 -0
  46. package/dist/components/hook-form/RHFDateTime.js +72 -0
  47. package/dist/components/hook-form/RHFTextField/index.d.ts +1 -2
  48. package/dist/components/hook-form/RHFTextField/index.js +6 -3
  49. package/dist/components/hook-form/RHFUpload/RHFUploadImage/components/UploadImage/index.d.ts +3 -0
  50. package/dist/components/hook-form/RHFUpload/RHFUploadImage/components/UploadImage/styles.d.ts +4 -0
  51. package/dist/components/hook-form/RHFUpload/RHFUploadImage/components/UploadImage/types.d.ts +11 -0
  52. package/dist/components/hook-form/RHFUpload/RHFUploadImage/index.d.ts +3 -0
  53. package/dist/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +14 -0
  54. package/dist/components/hook-form/RHFUpload/index.d.ts +1 -0
  55. package/dist/components/hook-form/RHFUpload/types.d.ts +4 -0
  56. package/dist/components/hook-form/RHFUpload.js +182 -0
  57. package/dist/components/hook-form/index.d.ts +3 -0
  58. package/dist/components/index.d.ts +2 -0
  59. package/dist/components/mui_extended/MenuActions/index.js +1 -1
  60. package/dist/index.js +18 -14
  61. package/dist/lodash.js +61 -1
  62. package/dist/node_modules.js +1307 -1
  63. package/dist/simplebar.js +1 -0
  64. package/dist/style.css +1 -0
  65. package/dist/vendor.js +150 -11
  66. package/package.json +9 -7
  67. package/dist/components/ScrollBar/styles.d.ts +0 -6
  68. package/dist/components/ScrollBar/types.d.ts +0 -7
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { UploadImageProps } from './types';
3
+ export default function UploadImage({ error, file, helperText, sx, ...other }: UploadImageProps): JSX.Element;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const RootStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const DropZoneStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ export declare const PlaceholderStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,11 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { DropzoneOptions } from 'react-dropzone';
3
+ import type { SxProps } from '@mui/material';
4
+ import type { Theme } from '@mui/material/styles';
5
+ import { CustomFile } from '../../../types';
6
+ export interface UploadImageProps extends DropzoneOptions {
7
+ error?: boolean;
8
+ file: CustomFile | string | null;
9
+ helperText?: ReactNode;
10
+ sx?: SxProps<Theme>;
11
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { RHFUploadImageProps } from './types';
3
+ export declare function RHFUploadImage({ name, ...other }: RHFUploadImageProps): JSX.Element;
@@ -0,0 +1,14 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { DropzoneOptions } from 'react-dropzone';
3
+ import { CustomFile } from '../types';
4
+ import type { SxProps } from '@mui/material';
5
+ import type { Theme } from '@mui/material/styles';
6
+ export interface UploadImageProps extends DropzoneOptions {
7
+ error?: boolean;
8
+ file: CustomFile | string | null;
9
+ helperText?: ReactNode;
10
+ sx?: SxProps<Theme>;
11
+ }
12
+ export interface RHFUploadImageProps extends Omit<UploadImageProps, 'file' | 'onDrop'> {
13
+ name: string;
14
+ }
@@ -0,0 +1 @@
1
+ export { RHFUploadImage } from './RHFUploadImage/';
@@ -0,0 +1,4 @@
1
+ export interface CustomFile extends File {
2
+ path?: string;
3
+ preview?: string;
4
+ }
@@ -0,0 +1,182 @@
1
+ import { Typography, FormHelperText } from "@mui/material";
2
+ import { useCallback } from "react";
3
+ import { useFormContext, Controller } from "react-hook-form";
4
+ import { i as isString_1 } from "../../lodash.js";
5
+ import { u as useDropzone } from "../../node_modules.js";
6
+ import { I as Image } from "../Image/index.js";
7
+ import { useEnvironment } from "@m4l/core";
8
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
9
+ import "../../react-lazy-load-image-component.js";
10
+ import { styled } from "@mui/material/styles";
11
+ const RootStyle = styled("div")(({
12
+ theme
13
+ }) => ({
14
+ width: 144,
15
+ height: 144,
16
+ margin: "auto",
17
+ borderRadius: theme.spacing(1),
18
+ padding: theme.spacing(1),
19
+ border: `1px dashed ${theme.palette.grey[50032]}`
20
+ }));
21
+ const DropZoneStyle = styled("div")(({
22
+ theme
23
+ }) => ({
24
+ zIndex: 0,
25
+ width: "100%",
26
+ height: "100%",
27
+ outline: "none",
28
+ display: "flex",
29
+ overflow: "hidden",
30
+ borderRadius: theme.spacing(1),
31
+ position: "relative",
32
+ alignItems: "center",
33
+ justifyContent: "center",
34
+ "& > *": {
35
+ width: "100%",
36
+ height: "100%"
37
+ },
38
+ "&:hover": {
39
+ cursor: "pointer",
40
+ "& .placeholder": {
41
+ zIndex: 9
42
+ }
43
+ }
44
+ }));
45
+ const PlaceholderStyle = styled("div")(({
46
+ theme
47
+ }) => ({
48
+ display: "flex",
49
+ position: "absolute",
50
+ alignItems: "center",
51
+ flexDirection: "column",
52
+ justifyContent: "center",
53
+ color: theme.palette.text.secondary,
54
+ backgroundColor: theme.palette.background.neutral,
55
+ transition: theme.transitions.create("opacity", {
56
+ easing: theme.transitions.easing.easeInOut,
57
+ duration: theme.transitions.duration.shorter
58
+ }),
59
+ "&:hover": {
60
+ opacity: 0.72
61
+ }
62
+ }));
63
+ function UploadImage({
64
+ error,
65
+ file,
66
+ helperText,
67
+ sx,
68
+ ...other
69
+ }) {
70
+ const {
71
+ getRootProps,
72
+ getInputProps,
73
+ isDragActive,
74
+ isDragReject
75
+ } = useDropzone({
76
+ multiple: false,
77
+ ...other
78
+ });
79
+ const {
80
+ host_static_assets,
81
+ environment
82
+ } = useEnvironment();
83
+ return /* @__PURE__ */ jsxs(Fragment, {
84
+ children: [/* @__PURE__ */ jsx(RootStyle, {
85
+ sx: {
86
+ ...(isDragReject || error) && {
87
+ borderColor: "error.light"
88
+ },
89
+ ...sx
90
+ },
91
+ children: /* @__PURE__ */ jsxs(DropZoneStyle, {
92
+ ...getRootProps(),
93
+ sx: {
94
+ ...isDragActive && {
95
+ opacity: 0.72
96
+ }
97
+ },
98
+ children: [/* @__PURE__ */ jsx("input", {
99
+ ...getInputProps()
100
+ }), file && /* @__PURE__ */ jsx(Image, {
101
+ alt: "avatar",
102
+ src: isString_1(file) ? file : file.preview,
103
+ sx: {
104
+ zIndex: 8
105
+ }
106
+ }), /* @__PURE__ */ jsxs(PlaceholderStyle, {
107
+ className: "placeholder",
108
+ sx: {
109
+ ...file && {
110
+ opacity: 0,
111
+ color: "common.white",
112
+ bgcolor: "grey.900",
113
+ "&:hover": {
114
+ opacity: 0.72
115
+ }
116
+ },
117
+ ...(isDragReject || error) && {
118
+ bgcolor: "error.lighter"
119
+ }
120
+ },
121
+ children: [/* @__PURE__ */ jsx(Image, {
122
+ src: `${host_static_assets}/${environment}/frontend/commons/assets/icons/more_vertical.svg`,
123
+ effect: "opacity",
124
+ width: "24",
125
+ height: "24",
126
+ mb: 1
127
+ }), /* @__PURE__ */ jsx(Typography, {
128
+ variant: "caption",
129
+ children: file ? "Update photo" : "Upload photo"
130
+ })]
131
+ })]
132
+ })
133
+ }), helperText && helperText]
134
+ });
135
+ }
136
+ function RHFUploadImage({
137
+ name,
138
+ ...other
139
+ }) {
140
+ const {
141
+ control,
142
+ setValue
143
+ } = useFormContext();
144
+ const handleDrop = useCallback((acceptedFiles) => {
145
+ const file = acceptedFiles[0];
146
+ console.log("handleDrop**", URL.createObjectURL(file));
147
+ if (file) {
148
+ setValue(name, {
149
+ ...file,
150
+ preview: URL.createObjectURL(file)
151
+ });
152
+ }
153
+ }, [setValue]);
154
+ return /* @__PURE__ */ jsx(Controller, {
155
+ name,
156
+ control,
157
+ render: ({
158
+ field,
159
+ fieldState: {
160
+ error
161
+ }
162
+ }) => {
163
+ const checkError = !!error && !field.value;
164
+ return /* @__PURE__ */ jsxs("div", {
165
+ children: [/* @__PURE__ */ jsx(UploadImage, {
166
+ onDrop: handleDrop,
167
+ error: checkError,
168
+ ...other,
169
+ file: field.value
170
+ }), checkError && /* @__PURE__ */ jsx(FormHelperText, {
171
+ error: true,
172
+ sx: {
173
+ px: 2,
174
+ textAlign: "center"
175
+ },
176
+ children: error.message
177
+ })]
178
+ });
179
+ }
180
+ });
181
+ }
182
+ export { RHFUploadImage as R };
@@ -1,7 +1,10 @@
1
1
  export { FormProvider } from './FormProvider';
2
+ export { RHFAutocomplete } from './RHFAutocomplete';
2
3
  export { RHFAutocompleteAsync } from './RHFAutocompleteAsync';
3
4
  export { RHFCheckbox } from './RHFCheckbox';
5
+ export { RHFDateTime } from './RHFDateTime';
4
6
  export { RHFMultiCheckbox } from './RHFMultiCheckbox';
5
7
  export { RHFSelect } from './RHFSelect';
6
8
  export { RHFTextField } from './RHFTextField';
7
9
  export { RHFRadioGroup } from './RHFRadioGroup';
10
+ export * from './RHFUpload';
@@ -7,6 +7,8 @@ export { DateFormatter, BooleanFormatter } from '../components/DataGrid/formatte
7
7
  export type { Column } from 'react-data-grid';
8
8
  export type { RowKey } from '../components/DataGrid/types';
9
9
  export { getGridComponentsDictionary } from '../components/DataGrid/dictionary';
10
+ export * from '../components/DynamicFilter';
11
+ export type { FilterFieldApply, RawFilterFieldApply } from '../components/DynamicFilter/types';
10
12
  export * from '../components/FormActions';
11
13
  export * from '../components/FormActions/dictionary';
12
14
  export * from '../components/Icon';
@@ -110,4 +110,4 @@ function MenuActions(props) {
110
110
  })]
111
111
  });
112
112
  }
113
- export { MenuActions as M };
113
+ export { LabelMemuItem as L, MenuActions as M };
package/dist/index.js CHANGED
@@ -6,12 +6,15 @@ export { I as IconButton, a as IconButtonAnimate } from "./components/mui_extend
6
6
  export { M as MotionContainer } from "./components/animate/MotionContainer/index.js";
7
7
  export { M as MotionLazyContainer } from "./components/animate/MotionLazyContainer/index.js";
8
8
  export { F as FormProvider } from "./components/hook-form/FormProvider/index.js";
9
+ export { R as RHFAutocomplete } from "./vendor.js";
9
10
  export { R as RHFAutocompleteAsync } from "./components/hook-form/RHFAutocompleteAsync/index.js";
10
11
  export { R as RHFCheckbox } from "./components/hook-form/RHFCheckbox/index.js";
12
+ export { R as RHFDateTime } from "./components/hook-form/RHFDateTime.js";
11
13
  export { R as RHFMultiCheckbox } from "./components/hook-form/RHFMultiCheckbox/index.js";
12
14
  export { R as RHFSelect } from "./components/hook-form/RHFSelect.js";
13
15
  export { R as RHFTextField } from "./components/hook-form/RHFTextField/index.js";
14
16
  export { R as RHFRadioGroup } from "./components/hook-form/RHFRadioGroup.js";
17
+ export { R as RHFUploadImage } from "./components/hook-form/RHFUpload.js";
15
18
  export { A as Accordion } from "./components/mui_extended/Accordion/index.js";
16
19
  export { B as BoxIcon } from "./components/mui_extended/BoxIcon/index.js";
17
20
  export { B as Breadcrumbs } from "./components/mui_extended/Breadcrumbs/index.js";
@@ -26,6 +29,7 @@ export { C as CompanyLogo } from "./components/CompanyLogo/index.js";
26
29
  export { D as DataGrid, g as getGridComponentsDictionary } from "./components/DataGrid/index.js";
27
30
  export { B as BooleanFormatter } from "./components/DataGrid/formatters/BooleanFormatter/index.js";
28
31
  export { D as DateFormatter } from "./components/DataGrid/formatters/DateFormatter/index.js";
32
+ export { D as DynamicFilter } from "./components/DynamicFilter/index.js";
29
33
  export { F as FormActions, d as defaultActionsDictionary, g as getActionnsComponentsDictionary } from "./components/FormActions/index.js";
30
34
  export { I as Icon } from "./components/Icon/index.js";
31
35
  export { I as Image } from "./components/Image/index.js";
@@ -37,7 +41,7 @@ export { O as ObjectLogs, d as defaultObjectLogDictionary, g as getObjectLogsCom
37
41
  export { P as PaperForm } from "./components/PaperForm/index.js";
38
42
  export { P as PropertyValue } from "./components/PropertyValue/index.js";
39
43
  export { R as Resizeable } from "./components/Resizeable/index.js";
40
- export { S as ScrollBar } from "./components/ScrollBar/index.js";
44
+ export { S as Scrollbar } from "./components/ScrollBar/index.js";
41
45
  export { S as SplitLayout } from "./components/SplitLayout/index.js";
42
46
  export { M as ModalContext, a as ModalProvider } from "./contexts/ModalContext/index.js";
43
47
  export { u as useModal } from "./hooks/useModal/index.js";
@@ -48,27 +52,27 @@ import "react/jsx-runtime";
48
52
  import "@m4l/core";
49
53
  import "react-hook-form";
50
54
  import "./node_modules.js";
55
+ import "prop-types";
51
56
  import "@mui/material/styles";
52
57
  import "react-router-dom";
53
58
  import "@mui/lab";
54
- import "@m4l/graphics";
55
- import "./react-data-grid.js";
59
+ import "@mui/x-date-pickers";
60
+ import "./lodash.js";
61
+ import "./commonjs.js";
62
+ import "react-dom";
56
63
  import "clsx";
64
+ import "./react-lazy-load-image-component.js";
65
+ import "@m4l/graphics";
57
66
  import "react-dnd";
58
67
  import "react-dnd-html5-backend";
59
68
  import "date-fns";
60
- import "./vendor.js";
61
- import "./react-lazy-load-image-component.js";
62
- import "react-dom";
63
- import "./react-draggable.js";
64
- import "prop-types";
65
- import "@mui/x-date-pickers";
66
- import "./react-json-view.js";
67
- import "./commonjs.js";
68
- import "./react-splitter-layout.js";
69
- import "./react-resizable.js";
70
69
  import "./simplebar.js";
71
70
  import "./core-js.js";
72
- import "./lodash.js";
73
71
  import "./juggle.js";
74
72
  import "./can-use-dom.js";
73
+ import "yup";
74
+ import "./react-draggable.js";
75
+ import "./react-json-view.js";
76
+ import "./react-splitter-layout.js";
77
+ import "./react-data-grid.js";
78
+ import "./react-resizable.js";
package/dist/lodash.js CHANGED
@@ -1,4 +1,64 @@
1
1
  import { c as commonjsGlobal } from "./commonjs.js";
2
+ var freeGlobal$4 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
3
+ var _freeGlobal = freeGlobal$4;
4
+ var freeGlobal$3 = _freeGlobal;
5
+ var freeSelf$3 = typeof self == "object" && self && self.Object === Object && self;
6
+ var root$4 = freeGlobal$3 || freeSelf$3 || Function("return this")();
7
+ var _root = root$4;
8
+ var root$3 = _root;
9
+ var Symbol$3 = root$3.Symbol;
10
+ var _Symbol = Symbol$3;
11
+ var Symbol$2 = _Symbol;
12
+ var objectProto$4 = Object.prototype;
13
+ var hasOwnProperty$1 = objectProto$4.hasOwnProperty;
14
+ var nativeObjectToString$1 = objectProto$4.toString;
15
+ var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
16
+ function getRawTag$1(value) {
17
+ var isOwn = hasOwnProperty$1.call(value, symToStringTag$1), tag = value[symToStringTag$1];
18
+ try {
19
+ value[symToStringTag$1] = void 0;
20
+ var unmasked = true;
21
+ } catch (e) {
22
+ }
23
+ var result = nativeObjectToString$1.call(value);
24
+ if (unmasked) {
25
+ if (isOwn) {
26
+ value[symToStringTag$1] = tag;
27
+ } else {
28
+ delete value[symToStringTag$1];
29
+ }
30
+ }
31
+ return result;
32
+ }
33
+ var _getRawTag = getRawTag$1;
34
+ var objectProto$3 = Object.prototype;
35
+ var nativeObjectToString = objectProto$3.toString;
36
+ function objectToString$4(value) {
37
+ return nativeObjectToString.call(value);
38
+ }
39
+ var _objectToString = objectToString$4;
40
+ var Symbol$1 = _Symbol, getRawTag = _getRawTag, objectToString$3 = _objectToString;
41
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
42
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
43
+ function baseGetTag$1(value) {
44
+ if (value == null) {
45
+ return value === void 0 ? undefinedTag : nullTag;
46
+ }
47
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString$3(value);
48
+ }
49
+ var _baseGetTag = baseGetTag$1;
50
+ var isArray$1 = Array.isArray;
51
+ var isArray_1 = isArray$1;
52
+ function isObjectLike$3(value) {
53
+ return value != null && typeof value == "object";
54
+ }
55
+ var isObjectLike_1 = isObjectLike$3;
56
+ var baseGetTag = _baseGetTag, isArray = isArray_1, isObjectLike$2 = isObjectLike_1;
57
+ var stringTag = "[object String]";
58
+ function isString(value) {
59
+ return typeof value == "string" || !isArray(value) && isObjectLike$2(value) && baseGetTag(value) == stringTag;
60
+ }
61
+ var isString_1 = isString;
2
62
  var FUNC_ERROR_TEXT$2 = "Expected a function";
3
63
  var NAN$1 = 0 / 0;
4
64
  var symbolTag$1 = "[object Symbol]";
@@ -486,4 +546,4 @@ function isObject(value) {
486
546
  return !!value && (type == "object" || type == "function");
487
547
  }
488
548
  var lodash_memoize = memoize;
489
- export { lodash_debounce as a, lodash_memoize as b, lodash_throttle as l };
549
+ export { lodash_debounce as a, lodash_memoize as b, isString_1 as i, lodash_throttle as l };