@elliemae/ds-utilities 2.3.1-rc.2 → 3.0.0-alpha.2

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 (204) hide show
  1. package/dist/cjs/capitalize.js +35 -0
  2. package/dist/cjs/capitalize.js.map +7 -0
  3. package/dist/cjs/compose.js +45 -0
  4. package/dist/cjs/compose.js.map +7 -0
  5. package/dist/cjs/getComponentFromProps.js +57 -0
  6. package/dist/cjs/getComponentFromProps.js.map +7 -0
  7. package/dist/cjs/hooks/index.js +71 -0
  8. package/dist/cjs/hooks/index.js.map +7 -0
  9. package/dist/cjs/hooks/useCancellableDelayedCallback.js +51 -0
  10. package/dist/cjs/hooks/useCancellableDelayedCallback.js.map +7 -0
  11. package/dist/cjs/hooks/useDerivedStateFromProps.js +67 -0
  12. package/dist/cjs/hooks/useDerivedStateFromProps.js.map +7 -0
  13. package/dist/cjs/hooks/useExecutionTimer.js +50 -0
  14. package/dist/cjs/hooks/useExecutionTimer.js.map +7 -0
  15. package/dist/cjs/hooks/useExpandState.js +137 -0
  16. package/dist/cjs/hooks/useExpandState.js.map +7 -0
  17. package/dist/cjs/hooks/useHotkeys.js +45 -0
  18. package/dist/cjs/hooks/useHotkeys.js.map +7 -0
  19. package/dist/cjs/hooks/useHoverHandlersDelay.js +58 -0
  20. package/dist/cjs/hooks/useHoverHandlersDelay.js.map +7 -0
  21. package/dist/cjs/hooks/useIsShowingEllipsis.js +58 -0
  22. package/dist/cjs/hooks/useIsShowingEllipsis.js.map +7 -0
  23. package/dist/cjs/hooks/useOnElementResize.js +55 -0
  24. package/dist/cjs/hooks/useOnElementResize.js.map +7 -0
  25. package/dist/cjs/hooks/useParentElement.js +43 -0
  26. package/dist/cjs/hooks/useParentElement.js.map +7 -0
  27. package/dist/cjs/hooks/usePrevious.js +44 -0
  28. package/dist/cjs/hooks/usePrevious.js.map +7 -0
  29. package/dist/cjs/hooks/useResizeObserver.js +60 -0
  30. package/dist/cjs/hooks/useResizeObserver.js.map +7 -0
  31. package/dist/cjs/hooks/useSetRef.js +42 -0
  32. package/dist/cjs/hooks/useSetRef.js.map +7 -0
  33. package/dist/cjs/hooks/useShouldRecalculate.js +44 -0
  34. package/dist/cjs/hooks/useShouldRecalculate.js.map +7 -0
  35. package/dist/cjs/hooks/useWindowScrollerList.js +83 -0
  36. package/dist/cjs/hooks/useWindowScrollerList.js.map +7 -0
  37. package/dist/cjs/hooks/useWindowSize.js +57 -0
  38. package/dist/cjs/hooks/useWindowSize.js.map +7 -0
  39. package/dist/cjs/index.js +146 -0
  40. package/dist/cjs/index.js.map +7 -0
  41. package/dist/cjs/onClickHandlerForNonInteractiveElements.js +49 -0
  42. package/dist/cjs/onClickHandlerForNonInteractiveElements.js.map +7 -0
  43. package/dist/cjs/operators.js +68 -0
  44. package/dist/cjs/operators.js.map +7 -0
  45. package/dist/cjs/platform.js +37 -0
  46. package/dist/cjs/platform.js.map +7 -0
  47. package/dist/cjs/reactTypesUtility.js +58 -0
  48. package/dist/cjs/reactTypesUtility.js.map +7 -0
  49. package/dist/cjs/scrollingTimer.js +46 -0
  50. package/dist/cjs/scrollingTimer.js.map +7 -0
  51. package/dist/cjs/system.js +60 -0
  52. package/dist/cjs/system.js.map +7 -0
  53. package/dist/cjs/timeUtils.js +43 -0
  54. package/dist/cjs/timeUtils.js.map +7 -0
  55. package/dist/cjs/utils.js +143 -0
  56. package/dist/cjs/utils.js.map +7 -0
  57. package/dist/cjs/validations.js +57 -0
  58. package/dist/cjs/validations.js.map +7 -0
  59. package/dist/esm/capitalize.js +6 -0
  60. package/dist/esm/capitalize.js.map +7 -0
  61. package/dist/esm/compose.js +16 -0
  62. package/dist/esm/compose.js.map +7 -0
  63. package/dist/esm/getComponentFromProps.js +30 -0
  64. package/dist/esm/getComponentFromProps.js.map +7 -0
  65. package/dist/esm/hooks/index.js +42 -0
  66. package/dist/esm/hooks/index.js.map +7 -0
  67. package/dist/esm/hooks/useCancellableDelayedCallback.js +22 -0
  68. package/dist/esm/hooks/useCancellableDelayedCallback.js.map +7 -0
  69. package/dist/esm/hooks/useDerivedStateFromProps.js +38 -0
  70. package/dist/esm/hooks/useDerivedStateFromProps.js.map +7 -0
  71. package/dist/esm/hooks/useExecutionTimer.js +21 -0
  72. package/dist/esm/hooks/useExecutionTimer.js.map +7 -0
  73. package/dist/esm/hooks/useExpandState.js +110 -0
  74. package/dist/esm/hooks/useExpandState.js.map +7 -0
  75. package/dist/esm/hooks/useHotkeys.js +16 -0
  76. package/dist/esm/hooks/useHotkeys.js.map +7 -0
  77. package/{esm → dist/esm}/hooks/useHoverHandlersDelay.js +15 -12
  78. package/dist/esm/hooks/useHoverHandlersDelay.js.map +7 -0
  79. package/{esm → dist/esm}/hooks/useIsShowingEllipsis.js +9 -12
  80. package/dist/esm/hooks/useIsShowingEllipsis.js.map +7 -0
  81. package/dist/esm/hooks/useOnElementResize.js +26 -0
  82. package/dist/esm/hooks/useOnElementResize.js.map +7 -0
  83. package/dist/esm/hooks/useParentElement.js +14 -0
  84. package/dist/esm/hooks/useParentElement.js.map +7 -0
  85. package/dist/esm/hooks/usePrevious.js +15 -0
  86. package/dist/esm/hooks/usePrevious.js.map +7 -0
  87. package/dist/esm/hooks/useResizeObserver.js +31 -0
  88. package/dist/esm/hooks/useResizeObserver.js.map +7 -0
  89. package/dist/esm/hooks/useSetRef.js +13 -0
  90. package/dist/esm/hooks/useSetRef.js.map +7 -0
  91. package/dist/esm/hooks/useShouldRecalculate.js +15 -0
  92. package/dist/esm/hooks/useShouldRecalculate.js.map +7 -0
  93. package/{esm → dist/esm}/hooks/useWindowScrollerList.js +20 -29
  94. package/dist/esm/hooks/useWindowScrollerList.js.map +7 -0
  95. package/dist/esm/hooks/useWindowSize.js +28 -0
  96. package/dist/esm/hooks/useWindowSize.js.map +7 -0
  97. package/dist/esm/index.js +206 -0
  98. package/dist/esm/index.js.map +7 -0
  99. package/dist/esm/onClickHandlerForNonInteractiveElements.js +20 -0
  100. package/dist/esm/onClickHandlerForNonInteractiveElements.js.map +7 -0
  101. package/dist/esm/operators.js +39 -0
  102. package/dist/esm/operators.js.map +7 -0
  103. package/dist/esm/platform.js +8 -0
  104. package/dist/esm/platform.js.map +7 -0
  105. package/dist/esm/reactTypesUtility.js +29 -0
  106. package/dist/esm/reactTypesUtility.js.map +7 -0
  107. package/dist/esm/scrollingTimer.js +17 -0
  108. package/dist/esm/scrollingTimer.js.map +7 -0
  109. package/dist/esm/system.js +31 -0
  110. package/dist/esm/system.js.map +7 -0
  111. package/dist/esm/timeUtils.js +14 -0
  112. package/dist/esm/timeUtils.js.map +7 -0
  113. package/dist/esm/utils.js +154 -0
  114. package/dist/esm/utils.js.map +7 -0
  115. package/dist/esm/validations.js +28 -0
  116. package/dist/esm/validations.js.map +7 -0
  117. package/package.json +80 -75
  118. package/cjs/capitalize.js +0 -7
  119. package/cjs/compose.js +0 -38
  120. package/cjs/getComponentFromProps.js +0 -30
  121. package/cjs/hooks/index.js +0 -65
  122. package/cjs/hooks/useCancellableDelayedCallback.js +0 -26
  123. package/cjs/hooks/useDerivedStateFromProps.js +0 -56
  124. package/cjs/hooks/useExecutionTimer.js +0 -31
  125. package/cjs/hooks/useExpandState.js +0 -133
  126. package/cjs/hooks/useFocusTrap.js +0 -31
  127. package/cjs/hooks/useHotkeys.js +0 -25
  128. package/cjs/hooks/useHoverHandlersDelay.js +0 -28
  129. package/cjs/hooks/useIsShowingEllipsis.js +0 -36
  130. package/cjs/hooks/useOnElementResize.js +0 -38
  131. package/cjs/hooks/useParentElement.js +0 -16
  132. package/cjs/hooks/usePrevious.js +0 -13
  133. package/cjs/hooks/useResizeObserver.js +0 -33
  134. package/cjs/hooks/useSetRef.js +0 -15
  135. package/cjs/hooks/useShouldRecalculate.js +0 -17
  136. package/cjs/hooks/useWindowScrollerList.js +0 -65
  137. package/cjs/hooks/useWindowSize.js +0 -27
  138. package/cjs/index.js +0 -270
  139. package/cjs/onClickHandlerForNonInteractiveElements.js +0 -22
  140. package/cjs/operators.js +0 -63
  141. package/cjs/platform.js +0 -9
  142. package/cjs/reactTypesUtility.js +0 -35
  143. package/cjs/scrollingTimer.js +0 -24
  144. package/cjs/system.js +0 -43
  145. package/cjs/timeUtils.js +0 -25
  146. package/cjs/utils.js +0 -263
  147. package/cjs/validations.js +0 -44
  148. package/esm/capitalize.js +0 -3
  149. package/esm/compose.js +0 -34
  150. package/esm/getComponentFromProps.js +0 -23
  151. package/esm/hooks/index.js +0 -20
  152. package/esm/hooks/useCancellableDelayedCallback.js +0 -24
  153. package/esm/hooks/useDerivedStateFromProps.js +0 -54
  154. package/esm/hooks/useExecutionTimer.js +0 -29
  155. package/esm/hooks/useExpandState.js +0 -127
  156. package/esm/hooks/useFocusTrap.js +0 -27
  157. package/esm/hooks/useHotkeys.js +0 -19
  158. package/esm/hooks/useOnElementResize.js +0 -34
  159. package/esm/hooks/useParentElement.js +0 -12
  160. package/esm/hooks/usePrevious.js +0 -11
  161. package/esm/hooks/useResizeObserver.js +0 -26
  162. package/esm/hooks/useSetRef.js +0 -11
  163. package/esm/hooks/useShouldRecalculate.js +0 -15
  164. package/esm/hooks/useWindowSize.js +0 -25
  165. package/esm/index.js +0 -33
  166. package/esm/onClickHandlerForNonInteractiveElements.js +0 -20
  167. package/esm/operators.js +0 -46
  168. package/esm/platform.js +0 -4
  169. package/esm/reactTypesUtility.js +0 -22
  170. package/esm/scrollingTimer.js +0 -20
  171. package/esm/system.js +0 -37
  172. package/esm/timeUtils.js +0 -20
  173. package/esm/utils.js +0 -99
  174. package/esm/validations.js +0 -38
  175. package/types/capitalize.d.ts +0 -1
  176. package/types/compose.d.ts +0 -11
  177. package/types/getComponentFromProps.d.ts +0 -2
  178. package/types/hooks/index.d.ts +0 -20
  179. package/types/hooks/useCancellableDelayedCallback.d.ts +0 -1
  180. package/types/hooks/useDerivedStateFromProps.d.ts +0 -1
  181. package/types/hooks/useExecutionTimer.d.ts +0 -1
  182. package/types/hooks/useExpandState.d.ts +0 -22
  183. package/types/hooks/useFocusTrap.d.ts +0 -8
  184. package/types/hooks/useHotkeys.d.ts +0 -5
  185. package/types/hooks/useHoverHandlersDelay.d.ts +0 -9
  186. package/types/hooks/useIsShowingEllipsis.d.ts +0 -5
  187. package/types/hooks/useOnElementResize.d.ts +0 -2
  188. package/types/hooks/useParentElement.d.ts +0 -1
  189. package/types/hooks/usePrevious.d.ts +0 -2
  190. package/types/hooks/useResizeObserver.d.ts +0 -2
  191. package/types/hooks/useSetRef.d.ts +0 -2
  192. package/types/hooks/useShouldRecalculate.d.ts +0 -1
  193. package/types/hooks/useWindowScrollerList.d.ts +0 -4
  194. package/types/hooks/useWindowSize.d.ts +0 -1
  195. package/types/index.d.ts +0 -13
  196. package/types/onClickHandlerForNonInteractiveElements.d.ts +0 -12
  197. package/types/operators.d.ts +0 -31
  198. package/types/platform.d.ts +0 -2
  199. package/types/reactTypesUtility.d.ts +0 -6
  200. package/types/scrollingTimer.d.ts +0 -1
  201. package/types/system.d.ts +0 -3
  202. package/types/timeUtils.d.ts +0 -7
  203. package/types/utils.d.ts +0 -23
  204. package/types/validations.d.ts +0 -23
@@ -1,11 +0,0 @@
1
- /**
2
- * Composes single-argument functions from right to left. The rightmost
3
- * function can take multiple arguments as it provides the signature for
4
- * the resulting composite function. [From redux v4.0.5]
5
- *
6
- * @param {...Function} funcs The functions to compose.
7
- * @returns {Function} A function obtained by composing the argument functions
8
- * from right to left. For example, compose(f, g, h) is identical to doing
9
- * (...args) => f(g(h(...args))).
10
- */
11
- export declare function compose(...funcs: any[]): any;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export default function getComponentFromProps(Component: any, props: any, children?: never[]): JSX.Element | null;
@@ -1,20 +0,0 @@
1
- export { default as useMeasure } from 'use-measure';
2
- export { default as useExecutionTimer } from './useExecutionTimer';
3
- export { default as useExpandState } from './useExpandState';
4
- export { default as useHotkeys } from './useHotkeys';
5
- export { default as useHoverHandlersDelay } from './useHoverHandlersDelay';
6
- export { default as useResizeObserver } from './useResizeObserver';
7
- export { default as useShouldRecalculate } from './useShouldRecalculate';
8
- export { default as useWindowScrollerList } from './useWindowScrollerList';
9
- export { default as useWindowSize } from './useWindowSize';
10
- export { default as useForceUpdate } from 'use-force-update';
11
- export { default as useOnClickOutside } from 'use-onclickoutside';
12
- export { useUncontrolled } from 'uncontrollable';
13
- export { default as usePrevious } from './usePrevious';
14
- export { default as useCancellableDelayedCallback } from './useCancellableDelayedCallback';
15
- export { default as useDerivedStateFromProps } from './useDerivedStateFromProps';
16
- export * from './useSetRef';
17
- export * from './useParentElement';
18
- export * from './useOnElementResize';
19
- export * from './useIsShowingEllipsis';
20
- export * from './useFocusTrap';
@@ -1 +0,0 @@
1
- export default function useCancellableDelayedCallback(cb: any, delay: any): ((...args: any[]) => void)[];
@@ -1 +0,0 @@
1
- export default function useDerivedStateFromProp(prop: any, options?: {}): any[];
@@ -1 +0,0 @@
1
- export default function useExecutionDelay(startFn: any, cleanFn: any, delayTime: any): ((...args: any[]) => void)[];
@@ -1,22 +0,0 @@
1
- export default function useExpandState({ items, itemKey, expanded: expandedProp, onExpand, onExpandChange, onExpandAll, onToggleExpand, onCollapse, }: {
2
- items?: never[] | undefined;
3
- itemKey?: string | undefined;
4
- expanded?: {} | undefined;
5
- onExpand: any;
6
- onExpandChange?: (() => null) | undefined;
7
- onExpandAll?: (() => null) | undefined;
8
- onToggleExpand: any;
9
- onCollapse: any;
10
- }): {
11
- state: {
12
- expanded: any;
13
- isExpandedAll: boolean;
14
- };
15
- actions: {
16
- expand: (item: any, stateData?: boolean) => void;
17
- toggleExpandAll: (stateData?: boolean) => void;
18
- toggleExpand: (item: any, stateData?: boolean) => void;
19
- collapse: (item: any) => void;
20
- };
21
- setExpanded: any;
22
- };
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- declare type UseFocusTrapT = <T extends HTMLElement = HTMLElement, K extends HTMLElement = HTMLElement>({ firstElementRef, lastElementRef, onKeyDown, }: {
3
- firstElementRef: React.MutableRefObject<T | null>;
4
- lastElementRef: React.MutableRefObject<K | null>;
5
- onKeyDown?: (e: KeyboardEvent) => void;
6
- }) => (e: KeyboardEvent) => void;
7
- export declare const useFocusTrap: UseFocusTrapT;
8
- export {};
@@ -1,5 +0,0 @@
1
- export default function useHotkeys({ keys, handler, options }: {
2
- keys: any;
3
- handler: any;
4
- options?: {} | undefined;
5
- }, deps?: never[]): void;
@@ -1,9 +0,0 @@
1
- export default function useHoverHandlersDelay({ onMouseOver, onMouseLeave, hideDelay, showDelay, }: {
2
- onMouseOver: any;
3
- onMouseLeave: any;
4
- hideDelay?: number | undefined;
5
- showDelay?: number | undefined;
6
- }): {
7
- onMouseOver: () => void;
8
- onMouseLeave: () => void;
9
- };
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const useIsShowingEllipsis: <T extends HTMLElement = HTMLSpanElement>() => {
3
- setElement: import("react").Dispatch<import("react").SetStateAction<T | undefined>>;
4
- isShowingEllipsis: boolean;
5
- };
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const useOnElementResize: <T extends HTMLElement>(targetRef: React.RefObject<T>) => Record<'width' | 'height', number>;
@@ -1 +0,0 @@
1
- export declare const useParentElement: (ref: any) => any;
@@ -1,2 +0,0 @@
1
- declare function usePrevious(value: any): undefined;
2
- export default usePrevious;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export default function useResizeObserver(handler: any, el: any): import("react").Dispatch<any>[];
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const useSetRef: (initial: any) => (import("react").MutableRefObject<any> | ((node: any) => void))[];
@@ -1 +0,0 @@
1
- export default function useShouldRecalculate(bool: any): number;
@@ -1,4 +0,0 @@
1
- export default function useWindowScrollerList({ listInstance, outerListRef }: {
2
- listInstance: any;
3
- outerListRef: any;
4
- }): void;
@@ -1 +0,0 @@
1
- export default function useWindowSize(): false | number[];
package/types/index.d.ts DELETED
@@ -1,13 +0,0 @@
1
- export { default as getComponentFromProps } from './getComponentFromProps';
2
- export { default as onClickHandlerForNonInteractiveElements } from './onClickHandlerForNonInteractiveElements';
3
- export * from './capitalize';
4
- export * from './operators';
5
- export * from './utils';
6
- export * from './system';
7
- export * from './hooks';
8
- export * from './timeUtils';
9
- export * from './compose';
10
- export * from './platform';
11
- export * from './reactTypesUtility';
12
- export * from './scrollingTimer';
13
- export * from './validations';
@@ -1,12 +0,0 @@
1
- declare const _default: (onClickHandler: any) => {
2
- role: string;
3
- tabIndex: string;
4
- onClick: any;
5
- onKeyPress: (event: any) => void;
6
- };
7
- /**
8
- * onClickHandler: callback
9
- *
10
- * @param onClickHandler
11
- */
12
- export default _default;
@@ -1,31 +0,0 @@
1
- /**
2
- * Check if the value is null undefined ''
3
- *
4
- * @param value
5
- */
6
- export declare const checkNotEmpty: (value: any) => boolean;
7
- export declare const checkEmpty: (value: any) => boolean;
8
- /**
9
- * @param value: number
10
- * @param comparator: number
11
- * @param value
12
- * @param comparator
13
- */
14
- export declare const greaterThan: (value: any, comparator: any) => boolean;
15
- /**
16
- * Check if a valid date with format MM/DD/YYYY
17
- *
18
- * @param {*} value: string
19
- * @param value
20
- */
21
- export declare const validDate: (value: any) => boolean;
22
- export declare const equal: (a: any, b: any) => boolean;
23
- export declare const notEqual: (a: any, b: any) => boolean;
24
- export declare const isNull: (a: any) => boolean;
25
- export declare const isNotNull: (a: any) => boolean;
26
- export declare const isIn: (a: any, b: any) => boolean;
27
- export declare const isNotIn: (a: any, b: any) => boolean;
28
- export declare const greaterThanOrEquals: (value: any, comparator: any) => boolean;
29
- export declare const lessThanOrEquals: (value: any, comparator: any) => boolean;
30
- export declare const startsWith: (value: any, comparator: any) => boolean;
31
- export declare const contains: (value: any, comparator: any) => boolean;
@@ -1,2 +0,0 @@
1
- export declare const DOCUMENT: Document | null;
2
- export declare const WINDOW: (Window & typeof globalThis) | null;
@@ -1,6 +0,0 @@
1
- export declare function isClassComponent(component: any): boolean;
2
- export declare function isFunctionComponent(component: any): boolean;
3
- export declare function isReactComponent(component: any): boolean;
4
- export declare function isElement(element: any): boolean;
5
- export declare function isDOMTypeElement(element: any): boolean;
6
- export declare function isCompositeTypeElement(element: any): boolean;
@@ -1 +0,0 @@
1
- export declare function resetTimer(func: any): (...args: any[]) => void;
package/types/system.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export declare const setRef: (ref: any, value: any) => void;
2
- export declare function mergeRefs(...refs: any[]): (node: any) => void;
3
- export declare function logger(...args: any[]): void;
@@ -1,7 +0,0 @@
1
- export declare const getVisibleTimeByFormat: (format: any) => {
2
- showHours: boolean;
3
- showMinutes: boolean;
4
- showSeconds: boolean;
5
- use12Hours: boolean;
6
- };
7
- export declare const addLeadingZeros: (count: any) => (number: any) => string;
package/types/utils.d.ts DELETED
@@ -1,23 +0,0 @@
1
- /**
2
- * commonly used functions
3
- * Add a level of indirection to lodash so we can replace
4
- * it if desired, while keeping function names the same
5
- */
6
- import { cloneDeep, filter, debounce, findIndex, isEmpty, isString, isEqual, noop, omit, orderBy, pull, sumBy, maxBy, meanBy, sortBy, transform, isFunction, uniq, uniqBy, groupBy, property, get, set, range, parseInt, padStart, isNaN, values, throttle, pick, pickBy, differenceBy, differenceWith, isEqualWith, curry, isObject, isBoolean } from 'lodash';
7
- /**
8
- * Concatenates classNames from arguments
9
- *
10
- * @param {...any} classnames
11
- */
12
- export declare const cx: (...classnames: any[]) => any;
13
- declare const toggleInObject: (obj: any, key: any, value: any) => any;
14
- declare const toggleInArray: (array: any, value: any) => any[];
15
- declare const arrayMove: (array: any, from: any, to: any) => any;
16
- declare const addOrRemove: (array: any, item: any, accessor?: (item: any) => any) => any;
17
- export declare function runAll(...fns: any[]): (...args: any[]) => void;
18
- export declare function hashArray(arr: any, fieldName: any): any;
19
- export declare function safeCall(fun: any, ...args: any[]): void;
20
- export declare const removeUndefinedProperties: (obj: any) => any;
21
- declare const _default: {};
22
- export default _default;
23
- export { isObject, curry, arrayMove, uniq, filter, uniqBy, groupBy, property, get, set, cloneDeep, debounce, findIndex, isEmpty, isString, isEqual, maxBy, meanBy, noop, omit, orderBy, pull, sortBy, sumBy, transform, isFunction, range, parseInt, padStart, isNaN, values, throttle, toggleInObject, toggleInArray, pick, pickBy, differenceBy, differenceWith, addOrRemove, isEqualWith, isBoolean, };
@@ -1,23 +0,0 @@
1
- export declare const isRequired: ({ value, help }: {
2
- value: any;
3
- help?: string | undefined;
4
- }) => {
5
- payload: string;
6
- error: boolean;
7
- };
8
- export declare const isGreaterThan: ({ value, help, comparator }: {
9
- value: any;
10
- help: any;
11
- comparator?: number | undefined;
12
- }) => {
13
- payload: any;
14
- error: boolean;
15
- };
16
- export declare const isValidDate: ({ value, help, format }: {
17
- value: any;
18
- help: any;
19
- format?: string | undefined;
20
- }) => {
21
- payload: any;
22
- error: boolean;
23
- };