@webilix/ngx-form-m3 0.0.62 → 0.0.67
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": "@webilix/ngx-form-m3",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.67",
|
|
4
4
|
"author": "Ali Amirnezhad",
|
|
5
5
|
"description": "Persian form library for Angular and Material 3",
|
|
6
6
|
"repository": {
|
|
@@ -20,15 +20,17 @@
|
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://github.com/webilix/ngx-form-m3#readme",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@angular/common": ">=
|
|
24
|
-
"@angular/core": ">=
|
|
25
|
-
"@angular/forms": ">=
|
|
26
|
-
"@angular/material": ">=
|
|
23
|
+
"@angular/common": ">=22.0.4",
|
|
24
|
+
"@angular/core": ">=22.0.4",
|
|
25
|
+
"@angular/forms": ">=22.0.4",
|
|
26
|
+
"@angular/material": ">=22.0.2",
|
|
27
27
|
"@webilix/helper-library": ">=6.1.7",
|
|
28
28
|
"@webilix/jalali-date-time": ">=2.0.9",
|
|
29
|
-
"@webilix/ngx-calendar-m3": ">=0.0.
|
|
30
|
-
"@webilix/ngx-helper-m3": ">=0.0.
|
|
31
|
-
"
|
|
29
|
+
"@webilix/ngx-calendar-m3": ">=0.0.32",
|
|
30
|
+
"@webilix/ngx-helper-m3": ">=0.0.56",
|
|
31
|
+
"@maskito/core": ">=5.3.1",
|
|
32
|
+
"@maskito/angular": ">=5.3.1",
|
|
33
|
+
"@maskito/kit": ">=5.3.1"
|
|
32
34
|
},
|
|
33
35
|
"dependencies": {
|
|
34
36
|
"tslib": "^2.3.0"
|
|
@@ -44,5 +46,6 @@
|
|
|
44
46
|
"types": "./types/webilix-ngx-form-m3.d.ts",
|
|
45
47
|
"default": "./fesm2022/webilix-ngx-form-m3.mjs"
|
|
46
48
|
}
|
|
47
|
-
}
|
|
49
|
+
},
|
|
50
|
+
"type": "module"
|
|
48
51
|
}
|
|
@@ -5,7 +5,7 @@ import { Router } from '@angular/router';
|
|
|
5
5
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
6
6
|
import { ComponentType } from '@angular/cdk/portal';
|
|
7
7
|
|
|
8
|
-
type NgxFormInputs = IInputAutoComplete | IInputBankCard | IInputBankSheba | IInputCheckbox | IInputColor | IInputComponent | IInputCoordinates | IInputDate | IInputEmail | IInputFile | IInputIcon | IInputIp | IInputItemList | IInputMobile | IInputMoment | IInputMultiSelect | IInputName | IInputNumber | IInputOptionList | IInputPassword | IInputPrice | IInputRoute | IInputSelect | IInputTag | IInputText | IInputTextarea | IInputTime | IInputUrl | IInputUsername;
|
|
8
|
+
type NgxFormInputs = IInputAutoComplete | IInputBankCard | IInputBankSheba | IInputCheckbox | IInputColor | IInputComponent | IInputCoordinates | IInputDate | IInputEmail | IInputFile | IInputIcon | IInputId | IInputIp | IInputItemList | IInputMobile | IInputMoment | IInputMultiSelect | IInputName | IInputNumber | IInputOptionList | IInputPassword | IInputPrice | IInputRoute | IInputSelect | IInputTag | IInputText | IInputTextarea | IInputTime | IInputUrl | IInputUsername;
|
|
9
9
|
type Inputs = NgxFormInputs | {
|
|
10
10
|
readonly header: string;
|
|
11
11
|
readonly input: NgxFormInputs;
|
|
@@ -159,6 +159,19 @@ interface IInputIcon extends Omit<IInput, 'english'> {
|
|
|
159
159
|
readonly type: 'ICON';
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
interface IInputId extends Omit<IInput, 'english'> {
|
|
163
|
+
readonly type: 'ID';
|
|
164
|
+
readonly showIcon?: boolean;
|
|
165
|
+
readonly verify?: {
|
|
166
|
+
readonly minLength?: number;
|
|
167
|
+
readonly maxLength?: number;
|
|
168
|
+
readonly useDash?: boolean;
|
|
169
|
+
readonly useDot?: boolean;
|
|
170
|
+
readonly canStartWithNumber?: boolean;
|
|
171
|
+
readonly canEndWithNumber?: boolean;
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
162
175
|
interface IInputIp extends Omit<IInput, 'english'> {
|
|
163
176
|
readonly type: 'IP';
|
|
164
177
|
readonly showIcon?: boolean;
|