@churchillliving/se-ui-toolkit 6.53.485 → 6.53.487
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/churchillliving-se-ui-toolkit.umd.js +6 -6
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/file-upload/file-upload.component.js +4 -5
- package/esm2015/lib/components/base/form/form.component.js +2 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +4 -4
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -6977,7 +6977,7 @@
|
|
|
6977
6977
|
this.calenderPreviousValue = '';
|
|
6978
6978
|
this.defaultDate = '';
|
|
6979
6979
|
this.lookupFocusOut = false;
|
|
6980
|
-
this.calendarFormat = 'mm/dd/
|
|
6980
|
+
this.calendarFormat = 'mm/dd/yy';
|
|
6981
6981
|
this.setCardData = false;
|
|
6982
6982
|
// apply checked/unChecked prop for CheckBox of the Form
|
|
6983
6983
|
this.checked = true;
|
|
@@ -8962,7 +8962,7 @@
|
|
|
8962
8962
|
FileUploadComponent.prototype.ngOnInit = function () { };
|
|
8963
8963
|
FileUploadComponent.prototype.uploadFile = function (files) {
|
|
8964
8964
|
var _this = this;
|
|
8965
|
-
var _a, _b, _c
|
|
8965
|
+
var _a, _b, _c;
|
|
8966
8966
|
var fileData = new FormData();
|
|
8967
8967
|
var chooseFile = false;
|
|
8968
8968
|
for (var i = 0; i < files.length; i++) {
|
|
@@ -8975,8 +8975,8 @@
|
|
|
8975
8975
|
if (this.fields && ((_a = this.fields.uniqueKey) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
8976
8976
|
fileData.append('uniqueKey', (_b = this.fields) === null || _b === void 0 ? void 0 : _b.uniqueKey);
|
|
8977
8977
|
}
|
|
8978
|
-
else if (this.fields && ((
|
|
8979
|
-
fileData.append('azureContainer',
|
|
8978
|
+
else if (this.fields && ((_c = this.fields.pathSystemConfig) === null || _c === void 0 ? void 0 : _c.length) > 0) {
|
|
8979
|
+
fileData.append('azureContainer', this.fields.pathSystemConfig);
|
|
8980
8980
|
}
|
|
8981
8981
|
this.requestService.get('/Upload', fileData).subscribe(function (data) {
|
|
8982
8982
|
var _a;
|
|
@@ -8988,8 +8988,8 @@
|
|
|
8988
8988
|
}
|
|
8989
8989
|
_this.fileUrl.emit(data.results);
|
|
8990
8990
|
}
|
|
8991
|
-
}, function (
|
|
8992
|
-
var error =
|
|
8991
|
+
}, function (_d) {
|
|
8992
|
+
var error = _d.error;
|
|
8993
8993
|
_this.alertService.apiError(error);
|
|
8994
8994
|
if (_this.fields.onReturn) {
|
|
8995
8995
|
_this.fields.onReturn(error);
|