@ahmadmubarak98/namozaj 1.6.1 → 1.6.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/main.d.ts +4 -1
- package/dist/namozaj.js +6 -3
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CountryIso2 } from 'react-international-phone';
|
|
1
2
|
import { default as default_2 } from 'react';
|
|
2
3
|
import { FieldValues } from 'react-hook-form';
|
|
3
4
|
import { PickersTimezone } from '@mui/x-date-pickers';
|
|
@@ -296,6 +297,8 @@ export declare interface NamozajLocalizationOptions {
|
|
|
296
297
|
};
|
|
297
298
|
}
|
|
298
299
|
|
|
300
|
+
export declare type NamozajPhoneFieldCountry = CountryIso2;
|
|
301
|
+
|
|
299
302
|
export declare type NumberFieldConfig = BaseFieldConfig & {
|
|
300
303
|
type: "number";
|
|
301
304
|
meta: BaseFieldConfig["meta"] & {
|
|
@@ -318,7 +321,7 @@ export declare type PhoneFieldConfig = BaseFieldConfig & {
|
|
|
318
321
|
meta: BaseFieldConfig["meta"] & {
|
|
319
322
|
variant?: FieldVariant;
|
|
320
323
|
size?: FieldSize;
|
|
321
|
-
defaultCountry?:
|
|
324
|
+
defaultCountry?: NamozajPhoneFieldCountry;
|
|
322
325
|
hideDropdown?: boolean;
|
|
323
326
|
maxLength?: number;
|
|
324
327
|
minLength?: number;
|
package/dist/namozaj.js
CHANGED
|
@@ -1251,12 +1251,15 @@ const DEFAULT_LOCALE_PICKER_FIELD_NAME = "localePicker_Field", DEFAULT_GRID_SIZE
|
|
|
1251
1251
|
"checkbox",
|
|
1252
1252
|
"switch",
|
|
1253
1253
|
"repeater",
|
|
1254
|
-
"field-array"
|
|
1254
|
+
"field-array",
|
|
1255
|
+
"group"
|
|
1255
1256
|
], FIELDS_EXCLUDE_HELPER_TEXT = [
|
|
1256
1257
|
"repeater",
|
|
1257
|
-
"field-array"
|
|
1258
|
+
"field-array",
|
|
1259
|
+
"group"
|
|
1258
1260
|
], FIELDS_EXCLUDE_REPEATER_GRID_HEADER = [
|
|
1259
|
-
"repeater"
|
|
1261
|
+
"repeater",
|
|
1262
|
+
"group"
|
|
1260
1263
|
], EXTENSION_MIME_TYPE_MAP = {
|
|
1261
1264
|
123: "application/vnd.lotus-1-2-3",
|
|
1262
1265
|
"1km": "application/vnd.1000minds.decision-model+xml",
|