@elliemae/ds-utilities 2.3.1 → 3.0.0-alpha.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/dist/cjs/capitalize.js +35 -0
- package/dist/cjs/capitalize.js.map +7 -0
- package/dist/cjs/compose.js +45 -0
- package/dist/cjs/compose.js.map +7 -0
- package/dist/cjs/getComponentFromProps.js +57 -0
- package/dist/cjs/getComponentFromProps.js.map +7 -0
- package/dist/cjs/hooks/index.js +73 -0
- package/dist/cjs/hooks/index.js.map +7 -0
- package/dist/cjs/hooks/useCancellableDelayedCallback.js +51 -0
- package/dist/cjs/hooks/useCancellableDelayedCallback.js.map +7 -0
- package/dist/cjs/hooks/useDerivedStateFromProps.js +67 -0
- package/dist/cjs/hooks/useDerivedStateFromProps.js.map +7 -0
- package/dist/cjs/hooks/useExecutionTimer.js +50 -0
- package/dist/cjs/hooks/useExecutionTimer.js.map +7 -0
- package/dist/cjs/hooks/useExpandState.js +137 -0
- package/dist/cjs/hooks/useExpandState.js.map +7 -0
- package/dist/cjs/hooks/useFocusTrap.js +49 -0
- package/dist/cjs/hooks/useFocusTrap.js.map +7 -0
- package/dist/cjs/hooks/useHotkeys.js +45 -0
- package/dist/cjs/hooks/useHotkeys.js.map +7 -0
- package/dist/cjs/hooks/useHoverHandlersDelay.js +58 -0
- package/dist/cjs/hooks/useHoverHandlersDelay.js.map +7 -0
- package/dist/cjs/hooks/useIsShowingEllipsis.js +58 -0
- package/dist/cjs/hooks/useIsShowingEllipsis.js.map +7 -0
- package/dist/cjs/hooks/useOnElementResize.js +55 -0
- package/dist/cjs/hooks/useOnElementResize.js.map +7 -0
- package/dist/cjs/hooks/useParentElement.js +43 -0
- package/dist/cjs/hooks/useParentElement.js.map +7 -0
- package/dist/cjs/hooks/usePrevious.js +44 -0
- package/dist/cjs/hooks/usePrevious.js.map +7 -0
- package/dist/cjs/hooks/useResizeObserver.js +60 -0
- package/dist/cjs/hooks/useResizeObserver.js.map +7 -0
- package/dist/cjs/hooks/useSetRef.js +42 -0
- package/dist/cjs/hooks/useSetRef.js.map +7 -0
- package/dist/cjs/hooks/useShouldRecalculate.js +44 -0
- package/dist/cjs/hooks/useShouldRecalculate.js.map +7 -0
- package/dist/cjs/hooks/useWindowScrollerList.js +83 -0
- package/dist/cjs/hooks/useWindowScrollerList.js.map +7 -0
- package/dist/cjs/hooks/useWindowSize.js +57 -0
- package/dist/cjs/hooks/useWindowSize.js.map +7 -0
- package/dist/cjs/index.js +146 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/onClickHandlerForNonInteractiveElements.js +49 -0
- package/dist/cjs/onClickHandlerForNonInteractiveElements.js.map +7 -0
- package/dist/cjs/operators.js +68 -0
- package/dist/cjs/operators.js.map +7 -0
- package/dist/cjs/platform.js +37 -0
- package/dist/cjs/platform.js.map +7 -0
- package/dist/cjs/reactTypesUtility.js +58 -0
- package/dist/cjs/reactTypesUtility.js.map +7 -0
- package/dist/cjs/scrollingTimer.js +46 -0
- package/dist/cjs/scrollingTimer.js.map +7 -0
- package/dist/cjs/system.js +60 -0
- package/dist/cjs/system.js.map +7 -0
- package/dist/cjs/timeUtils.js +43 -0
- package/dist/cjs/timeUtils.js.map +7 -0
- package/dist/cjs/utils.js +143 -0
- package/dist/cjs/utils.js.map +7 -0
- package/dist/cjs/validations.js +57 -0
- package/dist/cjs/validations.js.map +7 -0
- package/dist/esm/capitalize.js +6 -0
- package/dist/esm/capitalize.js.map +7 -0
- package/dist/esm/compose.js +16 -0
- package/dist/esm/compose.js.map +7 -0
- package/dist/esm/getComponentFromProps.js +30 -0
- package/dist/esm/getComponentFromProps.js.map +7 -0
- package/dist/esm/hooks/index.js +44 -0
- package/dist/esm/hooks/index.js.map +7 -0
- package/dist/esm/hooks/useCancellableDelayedCallback.js +22 -0
- package/dist/esm/hooks/useCancellableDelayedCallback.js.map +7 -0
- package/dist/esm/hooks/useDerivedStateFromProps.js +38 -0
- package/dist/esm/hooks/useDerivedStateFromProps.js.map +7 -0
- package/dist/esm/hooks/useExecutionTimer.js +21 -0
- package/dist/esm/hooks/useExecutionTimer.js.map +7 -0
- package/dist/esm/hooks/useExpandState.js +110 -0
- package/dist/esm/hooks/useExpandState.js.map +7 -0
- package/dist/esm/hooks/useFocusTrap.js +20 -0
- package/dist/esm/hooks/useFocusTrap.js.map +7 -0
- package/dist/esm/hooks/useHotkeys.js +16 -0
- package/dist/esm/hooks/useHotkeys.js.map +7 -0
- package/{esm → dist/esm}/hooks/useHoverHandlersDelay.js +15 -12
- package/dist/esm/hooks/useHoverHandlersDelay.js.map +7 -0
- package/{esm → dist/esm}/hooks/useIsShowingEllipsis.js +9 -12
- package/dist/esm/hooks/useIsShowingEllipsis.js.map +7 -0
- package/dist/esm/hooks/useOnElementResize.js +26 -0
- package/dist/esm/hooks/useOnElementResize.js.map +7 -0
- package/dist/esm/hooks/useParentElement.js +14 -0
- package/dist/esm/hooks/useParentElement.js.map +7 -0
- package/dist/esm/hooks/usePrevious.js +15 -0
- package/dist/esm/hooks/usePrevious.js.map +7 -0
- package/dist/esm/hooks/useResizeObserver.js +31 -0
- package/dist/esm/hooks/useResizeObserver.js.map +7 -0
- package/dist/esm/hooks/useSetRef.js +13 -0
- package/dist/esm/hooks/useSetRef.js.map +7 -0
- package/dist/esm/hooks/useShouldRecalculate.js +15 -0
- package/dist/esm/hooks/useShouldRecalculate.js.map +7 -0
- package/{esm → dist/esm}/hooks/useWindowScrollerList.js +20 -29
- package/dist/esm/hooks/useWindowScrollerList.js.map +7 -0
- package/dist/esm/hooks/useWindowSize.js +28 -0
- package/dist/esm/hooks/useWindowSize.js.map +7 -0
- package/dist/esm/index.js +206 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/onClickHandlerForNonInteractiveElements.js +20 -0
- package/dist/esm/onClickHandlerForNonInteractiveElements.js.map +7 -0
- package/dist/esm/operators.js +39 -0
- package/dist/esm/operators.js.map +7 -0
- package/dist/esm/platform.js +8 -0
- package/dist/esm/platform.js.map +7 -0
- package/dist/esm/reactTypesUtility.js +29 -0
- package/dist/esm/reactTypesUtility.js.map +7 -0
- package/dist/esm/scrollingTimer.js +17 -0
- package/dist/esm/scrollingTimer.js.map +7 -0
- package/dist/esm/system.js +31 -0
- package/dist/esm/system.js.map +7 -0
- package/dist/esm/timeUtils.js +14 -0
- package/dist/esm/timeUtils.js.map +7 -0
- package/dist/esm/utils.js +154 -0
- package/dist/esm/utils.js.map +7 -0
- package/dist/esm/validations.js +28 -0
- package/dist/esm/validations.js.map +7 -0
- package/package.json +80 -75
- package/cjs/capitalize.js +0 -7
- package/cjs/compose.js +0 -38
- package/cjs/getComponentFromProps.js +0 -30
- package/cjs/hooks/index.js +0 -65
- package/cjs/hooks/useCancellableDelayedCallback.js +0 -26
- package/cjs/hooks/useDerivedStateFromProps.js +0 -56
- package/cjs/hooks/useExecutionTimer.js +0 -31
- package/cjs/hooks/useExpandState.js +0 -133
- package/cjs/hooks/useFocusTrap.js +0 -31
- package/cjs/hooks/useHotkeys.js +0 -25
- package/cjs/hooks/useHoverHandlersDelay.js +0 -28
- package/cjs/hooks/useIsShowingEllipsis.js +0 -36
- package/cjs/hooks/useOnElementResize.js +0 -38
- package/cjs/hooks/useParentElement.js +0 -16
- package/cjs/hooks/usePrevious.js +0 -13
- package/cjs/hooks/useResizeObserver.js +0 -33
- package/cjs/hooks/useSetRef.js +0 -15
- package/cjs/hooks/useShouldRecalculate.js +0 -17
- package/cjs/hooks/useWindowScrollerList.js +0 -65
- package/cjs/hooks/useWindowSize.js +0 -27
- package/cjs/index.js +0 -270
- package/cjs/onClickHandlerForNonInteractiveElements.js +0 -22
- package/cjs/operators.js +0 -63
- package/cjs/platform.js +0 -9
- package/cjs/reactTypesUtility.js +0 -35
- package/cjs/scrollingTimer.js +0 -24
- package/cjs/system.js +0 -43
- package/cjs/timeUtils.js +0 -25
- package/cjs/utils.js +0 -263
- package/cjs/validations.js +0 -44
- package/esm/capitalize.js +0 -3
- package/esm/compose.js +0 -34
- package/esm/getComponentFromProps.js +0 -23
- package/esm/hooks/index.js +0 -20
- package/esm/hooks/useCancellableDelayedCallback.js +0 -24
- package/esm/hooks/useDerivedStateFromProps.js +0 -54
- package/esm/hooks/useExecutionTimer.js +0 -29
- package/esm/hooks/useExpandState.js +0 -127
- package/esm/hooks/useFocusTrap.js +0 -27
- package/esm/hooks/useHotkeys.js +0 -19
- package/esm/hooks/useOnElementResize.js +0 -34
- package/esm/hooks/useParentElement.js +0 -12
- package/esm/hooks/usePrevious.js +0 -11
- package/esm/hooks/useResizeObserver.js +0 -26
- package/esm/hooks/useSetRef.js +0 -11
- package/esm/hooks/useShouldRecalculate.js +0 -15
- package/esm/hooks/useWindowSize.js +0 -25
- package/esm/index.js +0 -33
- package/esm/onClickHandlerForNonInteractiveElements.js +0 -20
- package/esm/operators.js +0 -46
- package/esm/platform.js +0 -4
- package/esm/reactTypesUtility.js +0 -22
- package/esm/scrollingTimer.js +0 -20
- package/esm/system.js +0 -37
- package/esm/timeUtils.js +0 -20
- package/esm/utils.js +0 -99
- package/esm/validations.js +0 -38
- package/types/capitalize.d.ts +0 -1
- package/types/compose.d.ts +0 -11
- package/types/getComponentFromProps.d.ts +0 -2
- package/types/hooks/index.d.ts +0 -20
- package/types/hooks/useCancellableDelayedCallback.d.ts +0 -1
- package/types/hooks/useDerivedStateFromProps.d.ts +0 -1
- package/types/hooks/useExecutionTimer.d.ts +0 -1
- package/types/hooks/useExpandState.d.ts +0 -22
- package/types/hooks/useFocusTrap.d.ts +0 -8
- package/types/hooks/useHotkeys.d.ts +0 -5
- package/types/hooks/useHoverHandlersDelay.d.ts +0 -9
- package/types/hooks/useIsShowingEllipsis.d.ts +0 -5
- package/types/hooks/useOnElementResize.d.ts +0 -2
- package/types/hooks/useParentElement.d.ts +0 -1
- package/types/hooks/usePrevious.d.ts +0 -2
- package/types/hooks/useResizeObserver.d.ts +0 -2
- package/types/hooks/useSetRef.d.ts +0 -2
- package/types/hooks/useShouldRecalculate.d.ts +0 -1
- package/types/hooks/useWindowScrollerList.d.ts +0 -4
- package/types/hooks/useWindowSize.d.ts +0 -1
- package/types/index.d.ts +0 -13
- package/types/onClickHandlerForNonInteractiveElements.d.ts +0 -12
- package/types/operators.d.ts +0 -31
- package/types/platform.d.ts +0 -2
- package/types/reactTypesUtility.d.ts +0 -6
- package/types/scrollingTimer.d.ts +0 -1
- package/types/system.d.ts +0 -3
- package/types/timeUtils.d.ts +0 -7
- package/types/utils.d.ts +0 -23
- package/types/validations.d.ts +0 -23
package/types/compose.d.ts
DELETED
|
@@ -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;
|
package/types/hooks/index.d.ts
DELETED
|
@@ -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,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 +0,0 @@
|
|
|
1
|
-
export declare const useParentElement: (ref: any) => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useShouldRecalculate(bool: any): number;
|
|
@@ -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';
|
package/types/operators.d.ts
DELETED
|
@@ -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;
|
package/types/platform.d.ts
DELETED
|
@@ -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
package/types/timeUtils.d.ts
DELETED
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, };
|
package/types/validations.d.ts
DELETED
|
@@ -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
|
-
};
|