gd-bs 5.8.8 → 5.9.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/build/bs.js +1 -1
- package/build/components/form/control.js +5 -0
- package/build/components/inputGroup/index.js +1 -1
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +2 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/bs.scss +7 -7
- package/src/components/form/control.ts +6 -0
- package/src/components/inputGroup/index.ts +3 -3
- package/src/components/inputGroup/types.d.ts +2 -1
- package/src/styles/_dataTables.scss +26 -7
- package/src/styles/_icons.scss +1 -19
|
@@ -502,6 +502,11 @@ var FormControl = /** @class */ (function () {
|
|
|
502
502
|
}
|
|
503
503
|
// See if this is a textbox
|
|
504
504
|
if (this._tb) {
|
|
505
|
+
// See if this is a file
|
|
506
|
+
if (this._props.type == _1.FormControlTypes.File) {
|
|
507
|
+
// Return the file information
|
|
508
|
+
return this._tb.getFileInfo();
|
|
509
|
+
}
|
|
505
510
|
// Return the value
|
|
506
511
|
return this._tb.getValue();
|
|
507
512
|
}
|
|
@@ -175,7 +175,7 @@ var _InputGroup = /** @class */ (function (_super) {
|
|
|
175
175
|
// See if this is a file
|
|
176
176
|
if (this.props.type == InputGroupTypes.File) {
|
|
177
177
|
// Set the change event
|
|
178
|
-
elInput.addEventListener("
|
|
178
|
+
elInput.addEventListener("change", function (ev) {
|
|
179
179
|
// Get the source file
|
|
180
180
|
var srcFile = ev.target["files"][0];
|
|
181
181
|
if (srcFile) {
|