@messaia/cdk 22.0.1-rc.4 → 22.0.1-rc.5
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/fesm2022/messaia-cdk.mjs
CHANGED
|
@@ -1683,7 +1683,7 @@ class BaseComponent {
|
|
|
1683
1683
|
* @param playSound A flag indicating whether to play a warning sound when the message type is Warning or Error. Defaults to false.
|
|
1684
1684
|
* @returns An observable that emits when the action button is clicked.
|
|
1685
1685
|
*/
|
|
1686
|
-
showMessage(message, type = MessageType.Success, duration, actionLabel = $localize `:@@ok:
|
|
1686
|
+
showMessage(message, type = MessageType.Success, duration, actionLabel = $localize `:@@ok:Ok`, playSound = false) {
|
|
1687
1687
|
/* Default snack bar class to 'primary' (for success messages) */
|
|
1688
1688
|
let snackBarClass = 'primary';
|
|
1689
1689
|
/* If duration is not provided, calculate it based on message length */
|
|
@@ -25467,7 +25467,7 @@ class MsaGenericFormMsaChipsFieldComponent extends MsaGenericFormFieldBaseCompon
|
|
|
25467
25467
|
<mat-hint>{{field.hint}}</mat-hint>
|
|
25468
25468
|
}
|
|
25469
25469
|
@if (vdChip.emptyResult) {
|
|
25470
|
-
<mat-hint class="tc-red-400" i18n="@@noResultsFound">No results
|
|
25470
|
+
<mat-hint class="tc-red-400" i18n="@@noResultsFound">No results found</mat-hint>
|
|
25471
25471
|
}
|
|
25472
25472
|
@for (errorMessage of $any(formGroup.controls[field.name!])['errorMessages']; track errorMessage) {
|
|
25473
25473
|
<mat-error>{{errorMessage}}</mat-error>
|
|
@@ -25526,7 +25526,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
|
|
|
25526
25526
|
<mat-hint>{{field.hint}}</mat-hint>
|
|
25527
25527
|
}
|
|
25528
25528
|
@if (vdChip.emptyResult) {
|
|
25529
|
-
<mat-hint class="tc-red-400" i18n="@@noResultsFound">No results
|
|
25529
|
+
<mat-hint class="tc-red-400" i18n="@@noResultsFound">No results found</mat-hint>
|
|
25530
25530
|
}
|
|
25531
25531
|
@for (errorMessage of $any(formGroup.controls[field.name!])['errorMessages']; track errorMessage) {
|
|
25532
25532
|
<mat-error>{{errorMessage}}</mat-error>
|