@dile/ui 2.1.21 → 2.1.23
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.
|
@@ -159,7 +159,6 @@ export class DileDropFile extends LitElement {
|
|
|
159
159
|
|
|
160
160
|
_processFile(files) {
|
|
161
161
|
if (files.length > 0) {
|
|
162
|
-
console.log("Mostramos el nombre del archivo",files);
|
|
163
162
|
this.fileName = files[0].name;
|
|
164
163
|
if(this._isValidExtension(this.fileName)) {
|
|
165
164
|
this.message = this.firstMessage || '';
|
|
@@ -208,4 +207,13 @@ export class DileDropFile extends LitElement {
|
|
|
208
207
|
getFiles() {
|
|
209
208
|
return this.fileInput.files;
|
|
210
209
|
}
|
|
210
|
+
|
|
211
|
+
get value() {
|
|
212
|
+
return this.fileInput.value;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
set value(value) {
|
|
216
|
+
this.fileInput.value = value;
|
|
217
|
+
}
|
|
218
|
+
|
|
211
219
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.23",
|
|
4
4
|
"description": "UI Core components from dile-components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "453ef1fb92c0c84f23635cb36a7d4896cdabd845"
|
|
30
30
|
}
|