ps-toolkit-ui 1.7.49 → 1.7.52
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 +3 -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 +4 -4
- package/fesm2015/ps-toolkit-ui.js +3 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4112,10 +4112,10 @@
|
|
|
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;
|
|
4115
4117
|
if (_this.inp.value && typeof _this.inp.value !== 'string') {
|
|
4116
4118
|
if (!_this.inp.exportPdf) {
|
|
4117
|
-
var result = {};
|
|
4118
|
-
result[_this.inp.name] = _this.inp.value.filter(function (x) { return typeof x !== 'string'; }).map(function (x) { return x.name; });
|
|
4119
4119
|
result[_this.inp.name + 'File'] = _this.inp.value.filter(function (x) { return typeof x !== 'string'; });
|
|
4120
4120
|
return result;
|
|
4121
4121
|
}
|
|
@@ -4134,7 +4134,7 @@
|
|
|
4134
4134
|
// return doc.output('blob');
|
|
4135
4135
|
}
|
|
4136
4136
|
}
|
|
4137
|
-
return
|
|
4137
|
+
return result;
|
|
4138
4138
|
};
|
|
4139
4139
|
this.inp.focus = function () {
|
|
4140
4140
|
_this.onClick();
|