dynamic-modal 1.0.10 → 1.0.11

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.
@@ -12,7 +12,7 @@ import { IMakeButton } from './make-button';
12
12
  import { IMakeAutoComplete } from './make-autocomplete';
13
13
  export type IModalField = IMakeSelect | IMakeInput | IMakeFieldGroup | IMakeTextarea | IMakeToggle | IMakeMultiSelect | IMakeText | IMakeUpload | IMakeButton | IMakeAutoComplete;
14
14
  export type IFormField = IMakeSelect | IMakeInput | IMakeTextarea | IMakeToggle | IMakeMultiSelect;
15
- export type IModalRenderCondition = Record<string, Array<string | number | '*'>>;
15
+ export type IModalRenderCondition = Record<string, Array<string | number>>;
16
16
  export type IModalLiveDataCondition = {
17
17
  action: (data: string, ...args: any[]) => Promise<Array<IOption>>;
18
18
  condition: Array<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynamic-modal",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "The dynamic-modal is a solution of creation differents modals into project using a json configuration file",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@ export type IModalField = IMakeSelect | IMakeInput | IMakeFieldGroup | IMakeText
16
16
 
17
17
  export type IFormField = IMakeSelect | IMakeInput | IMakeTextarea | IMakeToggle | IMakeMultiSelect
18
18
 
19
- export type IModalRenderCondition = Record<string, Array<string | number | '*'>>
19
+ export type IModalRenderCondition = Record<string, Array<string | number>>
20
20
 
21
21
  export type IModalLiveDataCondition = {
22
22
  action: (data: string, ...args: any[]) => Promise<Array<IOption>>;