mn-angular-lib 0.0.48 → 0.0.50
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
|
@@ -418,6 +418,11 @@ interface MnInputFieldUIConfig {
|
|
|
418
418
|
placeholder?: string;
|
|
419
419
|
/** ARIA label for screen readers (falls back to label if not provided) */
|
|
420
420
|
ariaLabel?: string;
|
|
421
|
+
/**
|
|
422
|
+
* Error messages resolved from config (supports $translate markers).
|
|
423
|
+
* These override built-in error messages but are overridden by props.errorMessages.
|
|
424
|
+
*/
|
|
425
|
+
errorMessages?: Record<string, string>;
|
|
421
426
|
}
|
|
422
427
|
/**
|
|
423
428
|
* Properties for standard input fields (text, email, password, tel, url, number, search).
|
|
@@ -484,6 +489,8 @@ declare class MnInputField implements OnInit {
|
|
|
484
489
|
private readonly configService;
|
|
485
490
|
private readonly sectionPath;
|
|
486
491
|
private readonly explicitInstanceId;
|
|
492
|
+
private readonly lang;
|
|
493
|
+
private readonly destroyRef;
|
|
487
494
|
/** Current raw string value of the input element */
|
|
488
495
|
value: string | null;
|
|
489
496
|
/** Whether the input is disabled */
|
|
@@ -1083,6 +1090,11 @@ interface MnTextareaUIConfig {
|
|
|
1083
1090
|
placeholder?: string;
|
|
1084
1091
|
/** ARIA label for screen readers (falls back to label if not provided) */
|
|
1085
1092
|
ariaLabel?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Error messages resolved from config (supports $translate markers).
|
|
1095
|
+
* These override built-in error messages but are overridden by props.errorMessages.
|
|
1096
|
+
*/
|
|
1097
|
+
errorMessages?: Record<string, string>;
|
|
1086
1098
|
}
|
|
1087
1099
|
|
|
1088
1100
|
declare const MN_TEXTAREA_CONFIG: InjectionToken<MnTextareaUIConfig>;
|
|
@@ -1126,6 +1138,8 @@ declare class MnTextarea implements OnInit {
|
|
|
1126
1138
|
private readonly configService;
|
|
1127
1139
|
private readonly sectionPath;
|
|
1128
1140
|
private readonly explicitInstanceId;
|
|
1141
|
+
private readonly lang;
|
|
1142
|
+
private readonly destroyRef;
|
|
1129
1143
|
/** Current raw string value of the textarea element */
|
|
1130
1144
|
value: string | null;
|
|
1131
1145
|
/** Whether the textarea is disabled */
|
|
@@ -1308,6 +1322,11 @@ interface MnCheckboxUIConfig {
|
|
|
1308
1322
|
label?: string;
|
|
1309
1323
|
/** ARIA label for screen readers (falls back to label if not provided) */
|
|
1310
1324
|
ariaLabel?: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* Error messages resolved from config (supports $translate markers).
|
|
1327
|
+
* These override built-in error messages but are overridden by props.errorMessages.
|
|
1328
|
+
*/
|
|
1329
|
+
errorMessages?: Record<string, string>;
|
|
1311
1330
|
}
|
|
1312
1331
|
|
|
1313
1332
|
declare const MN_CHECKBOX_CONFIG: InjectionToken<MnCheckboxUIConfig>;
|
|
@@ -1318,6 +1337,8 @@ declare class MnCheckbox implements OnInit {
|
|
|
1318
1337
|
private readonly configService;
|
|
1319
1338
|
private readonly sectionPath;
|
|
1320
1339
|
private readonly explicitInstanceId;
|
|
1340
|
+
private readonly lang;
|
|
1341
|
+
private readonly destroyRef;
|
|
1321
1342
|
value: boolean;
|
|
1322
1343
|
isDisabled: boolean;
|
|
1323
1344
|
private onChange;
|
|
@@ -1470,6 +1491,11 @@ interface MnDatetimeUIConfig {
|
|
|
1470
1491
|
placeholder?: string;
|
|
1471
1492
|
/** ARIA label for screen readers (falls back to label if not provided) */
|
|
1472
1493
|
ariaLabel?: string;
|
|
1494
|
+
/**
|
|
1495
|
+
* Error messages resolved from config (supports $translate markers).
|
|
1496
|
+
* These override built-in error messages but are overridden by props.errorMessages.
|
|
1497
|
+
*/
|
|
1498
|
+
errorMessages?: Record<string, string>;
|
|
1473
1499
|
}
|
|
1474
1500
|
|
|
1475
1501
|
declare const MN_DATETIME_CONFIG: InjectionToken<MnDatetimeUIConfig>;
|
|
@@ -1480,6 +1506,8 @@ declare class MnDatetime implements OnInit {
|
|
|
1480
1506
|
private readonly configService;
|
|
1481
1507
|
private readonly sectionPath;
|
|
1482
1508
|
private readonly explicitInstanceId;
|
|
1509
|
+
private readonly lang;
|
|
1510
|
+
private readonly destroyRef;
|
|
1483
1511
|
value: string | null;
|
|
1484
1512
|
isDisabled: boolean;
|
|
1485
1513
|
private onChange;
|
|
@@ -1634,6 +1662,11 @@ interface MnMultiSelectUIConfig {
|
|
|
1634
1662
|
placeholder?: string;
|
|
1635
1663
|
/** ARIA label for screen readers (falls back to label if not provided) */
|
|
1636
1664
|
ariaLabel?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* Error messages resolved from config (supports $translate markers).
|
|
1667
|
+
* These override built-in error messages but are overridden by props.errorMessages.
|
|
1668
|
+
*/
|
|
1669
|
+
errorMessages?: Record<string, string>;
|
|
1637
1670
|
}
|
|
1638
1671
|
|
|
1639
1672
|
declare const MN_MULTI_SELECT_CONFIG: InjectionToken<MnMultiSelectUIConfig>;
|
|
@@ -1645,6 +1678,8 @@ declare class MnMultiSelect implements OnInit {
|
|
|
1645
1678
|
private readonly sectionPath;
|
|
1646
1679
|
private readonly explicitInstanceId;
|
|
1647
1680
|
private readonly elRef;
|
|
1681
|
+
private readonly lang;
|
|
1682
|
+
private readonly destroyRef;
|
|
1648
1683
|
/** Currently selected values */
|
|
1649
1684
|
selectedValues: unknown[];
|
|
1650
1685
|
isOpen: boolean;
|