novo-elements 5.13.0 → 5.13.1
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/bundles/novo-elements.umd.js +5 -1
- package/bundles/novo-elements.umd.js.map +1 -1
- package/bundles/novo-elements.umd.min.js +1 -1
- package/bundles/novo-elements.umd.min.js.map +1 -1
- package/esm2015/elements/date-picker/DatePickerInput.js +2 -2
- package/esm2015/services/novo-label-service.js +5 -1
- package/fesm2015/novo-elements.js +5 -1
- package/fesm2015/novo-elements.js.map +1 -1
- package/novo-elements.metadata.json +1 -1
- package/package.json +1 -1
- package/services/novo-label-service.d.ts +2 -0
|
@@ -3168,6 +3168,7 @@
|
|
|
3168
3168
|
this.noItems = 'There are no items';
|
|
3169
3169
|
this.dateFormat = 'MM/dd/yyyy';
|
|
3170
3170
|
this.dateFormatPlaceholder = 'MM/DD/YYYY';
|
|
3171
|
+
this.localDatePlaceholder = 'mm/dd/yyyy';
|
|
3171
3172
|
this.timeFormatPlaceholderAM = 'hh:mm AM';
|
|
3172
3173
|
this.timeFormatPlaceholder24Hour = 'HH:mm';
|
|
3173
3174
|
this.timeFormatAM = 'AM';
|
|
@@ -3216,6 +3217,9 @@
|
|
|
3216
3217
|
NovoLabelService.prototype.dateFormatString = function () {
|
|
3217
3218
|
return this.dateFormat;
|
|
3218
3219
|
};
|
|
3220
|
+
NovoLabelService.prototype.localizedDatePlaceholder = function () {
|
|
3221
|
+
return this.localDatePlaceholder;
|
|
3222
|
+
};
|
|
3219
3223
|
NovoLabelService.prototype.tabbedGroupClearSuggestion = function (tabLabelPlural) {
|
|
3220
3224
|
return "Clear your search to see all " + tabLabelPlural + ".";
|
|
3221
3225
|
};
|
|
@@ -28432,7 +28436,7 @@
|
|
|
28432
28436
|
this.blurEvent = new core.EventEmitter();
|
|
28433
28437
|
this.focusEvent = new core.EventEmitter();
|
|
28434
28438
|
this.changeEvent = new core.EventEmitter();
|
|
28435
|
-
this.placeholder = this.labels.
|
|
28439
|
+
this.placeholder = this.labels.localizedDatePlaceholder();
|
|
28436
28440
|
}
|
|
28437
28441
|
NovoDatePickerInputElement.prototype.ngOnInit = function () {
|
|
28438
28442
|
this.userDefinedFormat = this.format ? !this.format.match(/^(DD\/MM\/YYYY|MM\/DD\/YYYY)$/g) : false;
|