ps-toolkit-ui 1.7.48 → 1.7.51
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/ps-toolkit-ui.umd.js +4 -3
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/file/form.file.component.js +5 -4
- package/fesm2015/ps-toolkit-ui.js +4 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4112,10 +4112,11 @@
|
|
|
4112
4112
|
_this.inp.value = _this.inp.default;
|
|
4113
4113
|
};
|
|
4114
4114
|
this.inp.data = function () {
|
|
4115
|
+
var result = {};
|
|
4116
|
+
result[_this.inp.name] = _this.inp.name;
|
|
4117
|
+
result[_this.inp.name + 'File'] = _this.inp.name;
|
|
4115
4118
|
if (_this.inp.value && typeof _this.inp.value !== 'string') {
|
|
4116
4119
|
if (!_this.inp.exportPdf) {
|
|
4117
|
-
var result = {};
|
|
4118
|
-
result[_this.inp.name] = _this.inp.value.filter(function (x) { return typeof x !== 'string'; });
|
|
4119
4120
|
result[_this.inp.name + 'File'] = _this.inp.value.filter(function (x) { return typeof x !== 'string'; });
|
|
4120
4121
|
return result;
|
|
4121
4122
|
}
|
|
@@ -4134,7 +4135,7 @@
|
|
|
4134
4135
|
// return doc.output('blob');
|
|
4135
4136
|
}
|
|
4136
4137
|
}
|
|
4137
|
-
return
|
|
4138
|
+
return result;
|
|
4138
4139
|
};
|
|
4139
4140
|
this.inp.focus = function () {
|
|
4140
4141
|
_this.onClick();
|