ngx-vector-components 4.48.0 → 4.48.2
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/CHANGELOG.md +8 -2
- package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +1 -2
- package/esm2020/lib/models/profile.model.mjs +1 -2
- package/esm2020/lib/utils/mask.util.mjs +6 -1
- package/fesm2015/ngx-vector-components.mjs +6 -3
- package/fesm2015/ngx-vector-components.mjs.map +1 -1
- package/fesm2020/ngx-vector-components.mjs +6 -3
- package/fesm2020/ngx-vector-components.mjs.map +1 -1
- package/lib/models/profile.model.d.ts +1 -2
- package/lib/utils/mask.util.d.ts +2 -0
- package/package.json +1 -1
|
@@ -327,7 +327,6 @@ var ProfileModuleActionType;
|
|
|
327
327
|
ProfileModuleActionType["SHOW_DRIVER_LOG"] = "Show Driver Log";
|
|
328
328
|
ProfileModuleActionType["UPDATE_CHECKIN_CHECKOUT"] = "Update CheckIn CheckOut";
|
|
329
329
|
ProfileModuleActionType["AUTOMATIC_CHECKIN"] = "Automatic CheckIn";
|
|
330
|
-
ProfileModuleActionType["SHOW_FILTERS_MONTHLY_RECEPTION"] = "Show Filters Monthly Reception";
|
|
331
330
|
})(ProfileModuleActionType || (ProfileModuleActionType = {}));
|
|
332
331
|
|
|
333
332
|
var Role;
|
|
@@ -532,6 +531,7 @@ const POSTALCODE_PATTERN = '#####-###';
|
|
|
532
531
|
const CELLPHONE_PATTERN = '(##) #####-####';
|
|
533
532
|
const PHONE_PATTERN = '(##) ####-####';
|
|
534
533
|
const PLATE_PATTERN = '###-####';
|
|
534
|
+
const HOURS_MINUTES_PATTERN = '##:##';
|
|
535
535
|
class MaskUtil {
|
|
536
536
|
static formatDocument(stringValue) {
|
|
537
537
|
if (!stringValue) {
|
|
@@ -563,6 +563,9 @@ class MaskUtil {
|
|
|
563
563
|
}
|
|
564
564
|
return stringValue;
|
|
565
565
|
}
|
|
566
|
+
static formatHoursMinutes(stringValue) {
|
|
567
|
+
return this.doMaskString(stringValue, HOURS_MINUTES_PATTERN);
|
|
568
|
+
}
|
|
566
569
|
static formatPlate(stringValue) {
|
|
567
570
|
return this.doMaskString(stringValue, PLATE_PATTERN);
|
|
568
571
|
}
|
|
@@ -584,7 +587,8 @@ MaskUtil.BOLETO_TEXT_FIELD_PATTERN = '99999.99999 99999.999999 99999.999999 9 99
|
|
|
584
587
|
MaskUtil.CELLPHONE_TEXT_FIELD_PATTERN = '(99) 99999-9999';
|
|
585
588
|
MaskUtil.PHONE_TEXT_FIELD_PATTERN = '(99) 9999-9999';
|
|
586
589
|
MaskUtil.POSTALCODE_TEXT_FIELD_PATTERN = '99999-999';
|
|
587
|
-
MaskUtil.PLATE_FIELD_PATTERN = 'aaa-9*99';
|
|
590
|
+
MaskUtil.PLATE_FIELD_PATTERN = 'aaa-9*99';
|
|
591
|
+
MaskUtil.HOURS_MINUTES_FIELD_PATTERN = '99:99';
|
|
588
592
|
|
|
589
593
|
class ObjectUtil {
|
|
590
594
|
static getObjectKeys(obj) {
|
|
@@ -2208,7 +2212,6 @@ class DropdownFieldComponent {
|
|
|
2208
2212
|
if (this.paged) {
|
|
2209
2213
|
this.unlistenAutocompleteVirtualScroll();
|
|
2210
2214
|
}
|
|
2211
|
-
this.pagedSuggestions = [];
|
|
2212
2215
|
}
|
|
2213
2216
|
pageResults() {
|
|
2214
2217
|
if (this.service) {
|