@elliemae/pui-app-sdk 5.7.0 → 5.7.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.
|
@@ -19,12 +19,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
19
19
|
var input_mask_exports = {};
|
|
20
20
|
__export(input_mask_exports, {
|
|
21
21
|
InputMask: () => InputMask,
|
|
22
|
-
MASK_PIPES: () =>
|
|
23
|
-
MASK_TYPES: () =>
|
|
22
|
+
MASK_PIPES: () => import_ds_form.MASK_PIPES,
|
|
23
|
+
MASK_TYPES: () => import_ds_form.MASK_TYPES
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(input_mask_exports);
|
|
26
26
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
-
var
|
|
27
|
+
var import_ds_form = require("@elliemae/ds-form");
|
|
28
28
|
var import_react_hook_form = require("react-hook-form");
|
|
29
29
|
const InputMask = ({
|
|
30
30
|
name,
|
|
@@ -40,7 +40,7 @@ const InputMask = ({
|
|
|
40
40
|
rules,
|
|
41
41
|
defaultValue,
|
|
42
42
|
render: ({ field: { onChange, onBlur, ...props } }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
-
|
|
43
|
+
import_ds_form.DSInputMask,
|
|
44
44
|
{
|
|
45
45
|
...rest,
|
|
46
46
|
...props,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="lib/typings/elliemae" />
|
|
3
|
-
import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-form
|
|
3
|
+
import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-form';
|
|
4
4
|
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
|
|
5
5
|
export type InputMaskProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
6
6
|
name: string;
|