@dartech/arsenal-ui 0.3.12 → 0.3.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -3,10 +3,9 @@ import AceEditor from 'react-ace';
3
3
  import 'ace-builds/src-noconflict/mode-python';
4
4
  import 'ace-builds/src-noconflict/theme-monokai';
5
5
  import 'ace-builds/src-noconflict/ext-language_tools';
6
- import { Control } from 'react-hook-form';
7
6
  export interface ControlAceEditorProps {
8
7
  name: string;
9
- control: Control<any>;
8
+ control: any;
10
9
  mode?: string;
11
10
  label?: string;
12
11
  width?: string;
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { AutocompleteProps } from '@mui/material/Autocomplete';
3
3
  import { TextFieldProps } from '@mui/material/TextField';
4
- import { Control } from 'react-hook-form';
5
4
  import { ValidateFunc } from '../../interfaces';
6
5
  /**
7
6
  * This interface is referencing the [[ControlAutocomplete]] component props.
@@ -19,7 +18,7 @@ export type ControlAutocompleteProps = Omit<AutocompleteProps<unknown, boolean,
19
18
  /**
20
19
  * React Hook Form `control`
21
20
  */
22
- control: Control<any>;
21
+ control: any;
23
22
  /**
24
23
  * Is input required flag
25
24
  */
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { CheckboxProps } from '@mui/material/Checkbox';
3
- import { Control } from 'react-hook-form';
4
3
  import { ValidateFunc } from '../../interfaces';
5
4
  /**
6
5
  * This interface is referencing the [[ControlCheckbox]] component props.
@@ -18,7 +17,7 @@ export type ControlCheckboxProps = CheckboxProps & {
18
17
  /**
19
18
  * React Hook Form `control`
20
19
  */
21
- control: Control<any>;
20
+ control: any;
22
21
  /**
23
22
  * React Hook Form `defaultValue`
24
23
  */
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { Control } from 'react-hook-form';
3
2
  type Props = {
4
3
  /**
5
4
  * React Hook Form `control`
6
5
  */
7
- control: Control;
6
+ control: any;
8
7
  /**
9
8
  * Is input required flag
10
9
  */
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { Control } from 'react-hook-form';
3
2
  type Props = {
4
3
  /**
5
4
  * React Hook Form `control`
6
5
  */
7
- control: Control;
6
+ control: any;
8
7
  /**
9
8
  * Is input required flag
10
9
  */
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { Control } from 'react-hook-form';
3
2
  import { TextFieldProps } from '@mui/material/TextField';
4
3
  import { ValidateFunc } from '../../interfaces';
5
4
  /**
@@ -18,7 +17,7 @@ export type ControlInputProps = TextFieldProps & {
18
17
  /**
19
18
  * React Hook Form `control`
20
19
  */
21
- control: Control<any>;
20
+ control: any;
22
21
  /**
23
22
  * Is input required flag
24
23
  */
@@ -14,7 +14,7 @@ type Props = TextFieldProps & {
14
14
  /**
15
15
  * React Hook Form `control`
16
16
  */
17
- control: Control<any>;
17
+ control: Control;
18
18
  /**
19
19
  * Is input required flag
20
20
  */
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { Control } from 'react-hook-form';
3
2
  import { ValidateFunc } from '../../interfaces';
4
3
  /**
5
4
  * This interface is referencing the [[ControlRadioBtn]] component props.
@@ -9,7 +8,7 @@ export interface ControlRadioProps {
9
8
  /**
10
9
  * React Hook Form `control`
11
10
  */
12
- control: Control<any>;
11
+ control: any;
13
12
  /**
14
13
  * React Hook Form control `name` propery
15
14
  */
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { TextFieldProps } from '@mui/material/TextField';
3
- import { Control } from 'react-hook-form';
4
3
  import { ValidateFunc } from '../../interfaces';
5
4
  /**
6
5
  * This interface is referencing the [[ControlSelect]] component props.
@@ -18,7 +17,7 @@ export type ControlSelectProps = TextFieldProps & {
18
17
  /**
19
18
  * React Hook Form `control`
20
19
  */
21
- control: Control<any>;
20
+ control: any;
22
21
  /**
23
22
  * Is input required flag
24
23
  */
@@ -1,11 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { SwitchProps } from '@mui/material/Switch';
3
- import { Control } from 'react-hook-form';
4
3
  type Props = SwitchProps & {
5
4
  /**
6
5
  * React Hook Form `control`
7
6
  */
8
- control: Control<any>;
7
+ control: any;
9
8
  /**
10
9
  * React Hook Form control `name` propery
11
10
  */
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { Control } from 'react-hook-form';
3
2
  type Props = {
4
3
  /**
5
4
  * React Hook Form `control`
6
5
  */
7
- control: Control;
6
+ control: any;
8
7
  /**
9
8
  * Is input required flag
10
9
  */