@alexochihua/exos-library-components 2.6.3 → 2.8.0
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/dist/exos-library-components.common.js +2380 -313
- package/dist/exos-library-components.umd.js +2380 -313
- package/dist/exos-library-components.umd.min.js +1 -1
- package/dist/style.css +557 -73
- package/package.json +14 -13
|
@@ -1,7 +1,345 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 13:
|
|
5
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Funciones que nos ayudan a realizar alguna acción o lógica.
|
|
12
|
+
*
|
|
13
|
+
* @namespace Mixins
|
|
14
|
+
*/
|
|
15
|
+
__webpack_require__(6573);
|
|
16
|
+
__webpack_require__(8100);
|
|
17
|
+
__webpack_require__(7936);
|
|
18
|
+
__webpack_require__(7467);
|
|
19
|
+
__webpack_require__(4732);
|
|
20
|
+
__webpack_require__(9577);
|
|
21
|
+
__webpack_require__(4979);
|
|
22
|
+
__webpack_require__(4603);
|
|
23
|
+
__webpack_require__(7566);
|
|
24
|
+
__webpack_require__(8721);
|
|
25
|
+
var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) {
|
|
27
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
28
|
+
resolve(value);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
32
|
+
function fulfilled(value) {
|
|
33
|
+
try {
|
|
34
|
+
step(generator.next(value));
|
|
35
|
+
} catch (e) {
|
|
36
|
+
reject(e);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function rejected(value) {
|
|
40
|
+
try {
|
|
41
|
+
step(generator["throw"](value));
|
|
42
|
+
} catch (e) {
|
|
43
|
+
reject(e);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function step(result) {
|
|
47
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
48
|
+
}
|
|
49
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
53
|
+
value: true
|
|
54
|
+
}));
|
|
55
|
+
/**
|
|
56
|
+
* Función que lee el contenido de un archivo de texto.
|
|
57
|
+
*
|
|
58
|
+
* @memberof Mixins
|
|
59
|
+
* @param {File} txtFile - Archivo de texto a leer.
|
|
60
|
+
* @returns {Promise<string|ArrayBuffer>} Contenido exitoso de la promesa del archivo como cadena o ArrayBuffer.
|
|
61
|
+
* @example
|
|
62
|
+
* // Recuerda, al ser una promesa es importante usarlo dentro de una
|
|
63
|
+
* // función asíncrona (async-await)
|
|
64
|
+
* async setFinalDocs() {
|
|
65
|
+
try {
|
|
66
|
+
this.$q.loading.show();
|
|
67
|
+
let data = await this.readContentTxt(this.myDocs[0].file);
|
|
68
|
+
} catch (error) {
|
|
69
|
+
console.log('Error lectura txt', error);
|
|
70
|
+
this.showMsg('error', error);
|
|
71
|
+
} finally {
|
|
72
|
+
this.$q.loading.hide();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
*/
|
|
76
|
+
function readContentTxt(txtFile) {
|
|
77
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
78
|
+
return new Promise((resolve, reject) => {
|
|
79
|
+
try {
|
|
80
|
+
let reader = new FileReader();
|
|
81
|
+
reader.onload = function (e) {
|
|
82
|
+
let output = e.target.result;
|
|
83
|
+
resolve(output);
|
|
84
|
+
};
|
|
85
|
+
reader.readAsText(txtFile);
|
|
86
|
+
} catch (error) {
|
|
87
|
+
reject(error);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Función que obtiene el tipo MIME de una extensión de archivo.
|
|
94
|
+
*
|
|
95
|
+
* @memberof Mixins
|
|
96
|
+
* @param {string} extFile - Extensión del archivo.
|
|
97
|
+
* @returns {string|null} El tipo MIME correspondiente a la extensión del archivo.
|
|
98
|
+
* @example
|
|
99
|
+
* console.log(
|
|
100
|
+
* "getTypeFileFromExtension:",
|
|
101
|
+
* this.getTypeFileFromExtension("pdf")
|
|
102
|
+
* );
|
|
103
|
+
* //Como salida: getTypeFileFromExtension: application/pdf
|
|
104
|
+
*/
|
|
105
|
+
function getTypeFileFromExtension(extFile) {
|
|
106
|
+
let type = null;
|
|
107
|
+
if (!extFile) {
|
|
108
|
+
return type;
|
|
109
|
+
}
|
|
110
|
+
extFile = extFile.toString().toLowerCase();
|
|
111
|
+
if (extFile === "jpeg" || extFile === "png" || extFile === "jpg" || extFile === "tiff" || extFile === "tif") {
|
|
112
|
+
type = `image/${extFile}`;
|
|
113
|
+
} else if (extFile === "txt") {
|
|
114
|
+
type = "text/plain";
|
|
115
|
+
} else if (extFile === "mp4") {
|
|
116
|
+
type = "video/mp4";
|
|
117
|
+
} else if (extFile === "xls" || extFile === "xlsx") {
|
|
118
|
+
type = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
119
|
+
} else if (extFile === "pdf") {
|
|
120
|
+
type = "application/pdf";
|
|
121
|
+
}
|
|
122
|
+
return type;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Función que convierte un array de bits en una URL de datos codificada en base64
|
|
126
|
+
* @memberof Example
|
|
127
|
+
* @param {string|ArrayBuffer} arrayBits - Array de bits a convertir.
|
|
128
|
+
* @param {string} ext - Extensión del archivo.
|
|
129
|
+
* @returns {string} URL codificada en base64.
|
|
130
|
+
* @example
|
|
131
|
+
* let b64 = this.getB64FromArrayBits(arrayBitsFile, 'pdf');
|
|
132
|
+
*/
|
|
133
|
+
function getB64FromArrayBits(arrayBits, ext) {
|
|
134
|
+
let type = getTypeFileFromExtension(ext);
|
|
135
|
+
return `data:${type};base64,${arrayBits}`;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Función que obtiene la extensión de un nombre de archivo.
|
|
139
|
+
* @memberof Mixins
|
|
140
|
+
* @param {string} nameFile - Nombre de archivo.
|
|
141
|
+
* @returns {string} Extensión del archivo.
|
|
142
|
+
* @example
|
|
143
|
+
* console.log(
|
|
144
|
+
* "getExtensionFromName:",
|
|
145
|
+
* this.getExtensionFromName("Controversias ATM.xlsx")
|
|
146
|
+
* );
|
|
147
|
+
* //Como salida: getExtensionFromName: xlsx'
|
|
148
|
+
*/
|
|
149
|
+
function getExtensionFromName(nameFile) {
|
|
150
|
+
let words = nameFile.split(".");
|
|
151
|
+
let ext = words[words.length - 1];
|
|
152
|
+
return ext;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Función que genera una URL a partir de dato y nombre de archivo en base64,
|
|
156
|
+
* utiliza la función {@link convertBase64ToFile} parara convertir el array de bits en un archivo.
|
|
157
|
+
* @memberof Mixins
|
|
158
|
+
* @param {string} data - String del dato codificado en base64.
|
|
159
|
+
* @param {string} nameFile - Nombre del archivo.
|
|
160
|
+
* @returns {string|null} URL generada.
|
|
161
|
+
* @example
|
|
162
|
+
* let urlFileBase64= this.urlFileFromB64(dataBase64,'Prueba.pdf');
|
|
163
|
+
*/
|
|
164
|
+
function urlFileFromB64(data, nameFile) {
|
|
165
|
+
try {
|
|
166
|
+
if (!nameFile || !data) {
|
|
167
|
+
return null;
|
|
168
|
+
}
|
|
169
|
+
let file = convertBase64ToFile(data, nameFile);
|
|
170
|
+
let fileURL = URL.createObjectURL(file);
|
|
171
|
+
return fileURL;
|
|
172
|
+
} catch (error) {
|
|
173
|
+
console.log(error);
|
|
174
|
+
return null;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Función que convierte un archivo en base64.
|
|
179
|
+
*
|
|
180
|
+
* @memberof Mixins
|
|
181
|
+
* @param {File} file - Archivo a convertir
|
|
182
|
+
* @returns {Promise<string|ArrayBuffer>} Promesa que da como resultado un archivo codificado en base64.
|
|
183
|
+
* @example
|
|
184
|
+
* // Recuerda, al ser una promesa es importante usarlo dentro de una
|
|
185
|
+
* // función asíncrona (async-await)
|
|
186
|
+
* async handleAttent() {
|
|
187
|
+
try {
|
|
188
|
+
this.$q.loading.show();
|
|
189
|
+
let base64 = await this.convertToBase64(file);
|
|
190
|
+
} catch (error) {
|
|
191
|
+
console.log('error', error);
|
|
192
|
+
this.showMsg('error', error);
|
|
193
|
+
} finally {
|
|
194
|
+
this.$q.loading.hide();
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
*/
|
|
198
|
+
function convertFileToBase64(file) {
|
|
199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
+
return new Promise((resolve, reject) => {
|
|
201
|
+
try {
|
|
202
|
+
//Check File is not Empty
|
|
203
|
+
if (!!file) {
|
|
204
|
+
// Select the very first file from list
|
|
205
|
+
let fileToLoad = file;
|
|
206
|
+
// FileReader function for read the file.
|
|
207
|
+
let fileReader = new FileReader();
|
|
208
|
+
let base64;
|
|
209
|
+
// Onload of file read the file content
|
|
210
|
+
fileReader.onload = function (fileLoadedEvent) {
|
|
211
|
+
base64 = fileLoadedEvent.target.result;
|
|
212
|
+
resolve(base64);
|
|
213
|
+
};
|
|
214
|
+
// Convert data to base64
|
|
215
|
+
fileReader.readAsDataURL(fileToLoad);
|
|
216
|
+
}
|
|
217
|
+
} catch (error) {
|
|
218
|
+
reject(error);
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Función que convierte un base64 y el nombre del archivo en un objeto File.
|
|
225
|
+
*
|
|
226
|
+
* @memberof Mixins
|
|
227
|
+
* @param {string} fileData - Datos en base64.
|
|
228
|
+
* @param {string} nameFile - Nombre del archivo.
|
|
229
|
+
* @returns {File|null} Archivo de resultado.
|
|
230
|
+
* @example
|
|
231
|
+
* // Recuerda, al ser una promesa es importante usarlo dentro de una
|
|
232
|
+
* // función asíncrona (async-await)
|
|
233
|
+
* async loadFile() {
|
|
234
|
+
try {
|
|
235
|
+
this.$q.loading.show();
|
|
236
|
+
let firstFile = await this.convertBase64ToFile(
|
|
237
|
+
file,
|
|
238
|
+
'Controversias.pdf',
|
|
239
|
+
);
|
|
240
|
+
} catch (error) {
|
|
241
|
+
console.log('error', error);
|
|
242
|
+
this.showMsg('error', error);
|
|
243
|
+
} finally {
|
|
244
|
+
this.$q.loading.hide();
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
*/
|
|
248
|
+
function convertBase64ToFile(fileData, nameFile) {
|
|
249
|
+
try {
|
|
250
|
+
if (!nameFile || !fileData) {
|
|
251
|
+
return null;
|
|
252
|
+
}
|
|
253
|
+
let wordsName = nameFile.split(".");
|
|
254
|
+
let ext = wordsName[wordsName.length - 1];
|
|
255
|
+
let type = getTypeFileFromExtension(ext);
|
|
256
|
+
let fileDataFinal = fileData.replace(/+/g, "+");
|
|
257
|
+
fileDataFinal = fileDataFinal.replace(/=/g, "=");
|
|
258
|
+
let byteCharacters = atob(fileDataFinal);
|
|
259
|
+
let byteNumbers = new Array(byteCharacters.length);
|
|
260
|
+
for (let i = 0; i < byteCharacters.length; i++) {
|
|
261
|
+
byteNumbers[i] = byteCharacters.charCodeAt(i);
|
|
262
|
+
}
|
|
263
|
+
let byteArray = new Uint8Array(byteNumbers);
|
|
264
|
+
let file = new File([byteArray], nameFile, {
|
|
265
|
+
type: type
|
|
266
|
+
});
|
|
267
|
+
return file;
|
|
268
|
+
} catch (error) {
|
|
269
|
+
console.log(error);
|
|
270
|
+
return null;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Función que ayuda a representar el tag 'a'.
|
|
275
|
+
* @memberof Mixins
|
|
276
|
+
* @param {string} link - Enlace para descargar el archivo.
|
|
277
|
+
* @param {string} name - Nombre del archivo a descargar.
|
|
278
|
+
*/
|
|
279
|
+
function downloadFileFromLink(link, name) {
|
|
280
|
+
let linkA = document.createElement("a");
|
|
281
|
+
linkA.setAttribute("download", name);
|
|
282
|
+
linkA.href = link;
|
|
283
|
+
document.body.appendChild(linkA);
|
|
284
|
+
linkA.click();
|
|
285
|
+
linkA.remove();
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Función que nos ayuda a descargar un archivo creado de lado del back end simulando en
|
|
289
|
+
* el front una descarga por medio de una etiqueta 'a', parte de la lógica podemos verla en {@link downloadFileFromLink}.
|
|
290
|
+
* @memberof Mixins
|
|
291
|
+
* @param {ArrayBuffer} streamData - Datos del archivo como ArrayBuffer.
|
|
292
|
+
* @param {string} nameFile - Nombre del archivo usado para descargar.
|
|
293
|
+
* @example
|
|
294
|
+
* //Es la nueva forma de descarga de un archivo
|
|
295
|
+
* async handleExport() {
|
|
296
|
+
try {
|
|
297
|
+
this.$loading.show();
|
|
298
|
+
let query = {
|
|
299
|
+
...
|
|
300
|
+
};
|
|
301
|
+
let path='...'
|
|
302
|
+
let res = await this.disputesStore.export({ query, path });
|
|
303
|
+
this.downloadFileFromStreamFile(res, "Consulta de Contoversias.xlsx");
|
|
304
|
+
} catch (error) {
|
|
305
|
+
console.log('error', error);
|
|
306
|
+
this.showMsg('error', error);
|
|
307
|
+
} finally {
|
|
308
|
+
this.$q.loading.hide();
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
*/
|
|
312
|
+
function downloadFileFromStreamFile(streamData, nameFile) {
|
|
313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
+
try {
|
|
315
|
+
const blob = new Blob([streamData], {
|
|
316
|
+
type: getExtensionFromName(nameFile)
|
|
317
|
+
});
|
|
318
|
+
let link = URL.createObjectURL(blob);
|
|
319
|
+
downloadFileFromLink(link, nameFile);
|
|
320
|
+
} catch (error) {
|
|
321
|
+
throw error;
|
|
322
|
+
} finally {}
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
const methods = {
|
|
326
|
+
readContentTxt,
|
|
327
|
+
getTypeFileFromExtension,
|
|
328
|
+
getB64FromArrayBits,
|
|
329
|
+
getExtensionFromName,
|
|
330
|
+
urlFileFromB64,
|
|
331
|
+
convertFileToBase64,
|
|
332
|
+
convertBase64ToFile,
|
|
333
|
+
downloadFileFromLink,
|
|
334
|
+
downloadFileFromStreamFile
|
|
335
|
+
};
|
|
336
|
+
exports["default"] = {
|
|
337
|
+
methods: Object.assign({}, methods)
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
/***/ }),
|
|
341
|
+
|
|
342
|
+
/***/ 1241:
|
|
5
343
|
/***/ (function(__unused_webpack_module, exports) {
|
|
6
344
|
|
|
7
345
|
"use strict";
|
|
@@ -79,6 +417,13 @@ module.exports = {}
|
|
|
79
417
|
|
|
80
418
|
/***/ }),
|
|
81
419
|
|
|
420
|
+
/***/ 5299:
|
|
421
|
+
/***/ (function(module) {
|
|
422
|
+
|
|
423
|
+
module.exports = {}
|
|
424
|
+
|
|
425
|
+
/***/ }),
|
|
426
|
+
|
|
82
427
|
/***/ 7035:
|
|
83
428
|
/***/ (function(module) {
|
|
84
429
|
|
|
@@ -100,6 +445,13 @@ module.exports = {}
|
|
|
100
445
|
|
|
101
446
|
/***/ }),
|
|
102
447
|
|
|
448
|
+
/***/ 7359:
|
|
449
|
+
/***/ (function(module) {
|
|
450
|
+
|
|
451
|
+
module.exports = {}
|
|
452
|
+
|
|
453
|
+
/***/ }),
|
|
454
|
+
|
|
103
455
|
/***/ 2891:
|
|
104
456
|
/***/ (function(module) {
|
|
105
457
|
|
|
@@ -163,6 +515,13 @@ module.exports = {}
|
|
|
163
515
|
|
|
164
516
|
/***/ }),
|
|
165
517
|
|
|
518
|
+
/***/ 6877:
|
|
519
|
+
/***/ (function(module) {
|
|
520
|
+
|
|
521
|
+
module.exports = {}
|
|
522
|
+
|
|
523
|
+
/***/ }),
|
|
524
|
+
|
|
166
525
|
/***/ 9306:
|
|
167
526
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
168
527
|
|
|
@@ -3841,7 +4200,7 @@ if (typeof window !== 'undefined') {
|
|
|
3841
4200
|
|
|
3842
4201
|
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
3843
4202
|
var external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
3844
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
4203
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/layouts/mainTpl/EMainTpl.vue?vue&type=template&id=42dbf93c
|
|
3845
4204
|
|
|
3846
4205
|
const _hoisted_1 = {
|
|
3847
4206
|
class: "exos-flex exos-flex-col md:max-lg:exos-pl-[8.35rem] lg:exos-pl-40 md:exos-pr-7 exos-h-full exos-bg-main dark:exos-bg-mainDark"
|
|
@@ -3863,7 +4222,7 @@ var EMainTplvue_type_custom_index_0_blockType_docs_lang_md_default = /*#__PURE__
|
|
|
3863
4222
|
;// CONCATENATED MODULE: ./src/layouts/mainTpl/EMainTpl.vue?vue&type=custom&index=0&blockType=docs&lang=md
|
|
3864
4223
|
|
|
3865
4224
|
// EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js
|
|
3866
|
-
var exportHelper = __webpack_require__(
|
|
4225
|
+
var exportHelper = __webpack_require__(1241);
|
|
3867
4226
|
;// CONCATENATED MODULE: ./src/layouts/mainTpl/EMainTpl.vue
|
|
3868
4227
|
|
|
3869
4228
|
const script = {}
|
|
@@ -3876,7 +4235,7 @@ if (typeof (EMainTplvue_type_custom_index_0_blockType_docs_lang_md_default()) ==
|
|
|
3876
4235
|
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.A)(script, [['render',render]])
|
|
3877
4236
|
|
|
3878
4237
|
/* harmony default export */ var EMainTpl = (__exports__);
|
|
3879
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
4238
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/layouts/buttonsHeaderTpl/EButtonsHeaderTpl.vue?vue&type=template&id=c2d240d2
|
|
3880
4239
|
|
|
3881
4240
|
const EButtonsHeaderTplvue_type_template_id_c2d240d2_hoisted_1 = {
|
|
3882
4241
|
class: "exos-flex exos-justify-start exos-mt-3 exos-items-center exos-animate-fade-left exos-animate-duration-500 exos-animate-ease-in-out"
|
|
@@ -3903,7 +4262,7 @@ if (typeof (EButtonsHeaderTplvue_type_custom_index_0_blockType_docs_lang_md_defa
|
|
|
3903
4262
|
const EButtonsHeaderTpl_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EButtonsHeaderTpl_script, [['render',EButtonsHeaderTplvue_type_template_id_c2d240d2_render]])
|
|
3904
4263
|
|
|
3905
4264
|
/* harmony default export */ var EButtonsHeaderTpl = (EButtonsHeaderTpl_exports_);
|
|
3906
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
4265
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/layouts/mainPageTpl/EMainPageTpl.vue?vue&type=template&id=43642081
|
|
3907
4266
|
|
|
3908
4267
|
const EMainPageTplvue_type_template_id_43642081_hoisted_1 = {
|
|
3909
4268
|
class: "eMainPageTpl__mainContainer"
|
|
@@ -3971,7 +4330,7 @@ const EMainPageTpl_script = {}
|
|
|
3971
4330
|
const EMainPageTpl_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EMainPageTpl_script, [['render',EMainPageTplvue_type_template_id_43642081_render]])
|
|
3972
4331
|
|
|
3973
4332
|
/* harmony default export */ var EMainPageTpl = (EMainPageTpl_exports_);
|
|
3974
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
4333
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/layouts/contentTpl/EContentTpl.vue?vue&type=template&id=6aa61332
|
|
3975
4334
|
|
|
3976
4335
|
const EContentTplvue_type_template_id_6aa61332_hoisted_1 = {
|
|
3977
4336
|
class: "exos-flex exos-flex-col exos-justify-between exos-w-full exos-h-full"
|
|
@@ -4049,7 +4408,7 @@ const useSizeProps = {
|
|
|
4049
4408
|
function sizeValue(props, sizes = useSizeDefaults) {
|
|
4050
4409
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => props.size !== void 0 ? props.size in sizes ? `${sizes[props.size]}px` : props.size : null);
|
|
4051
4410
|
}
|
|
4052
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
4411
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/radio/ERadio.vue?vue&type=script&setup=true&lang=js
|
|
4053
4412
|
|
|
4054
4413
|
const ERadiovue_type_script_setup_true_lang_js_hoisted_1 = ["id", "value", "name", "disabled", "checked"];
|
|
4055
4414
|
const ERadiovue_type_script_setup_true_lang_js_hoisted_2 = ["for"];
|
|
@@ -4313,7 +4672,7 @@ if (typeof (ERadiovue_type_custom_index_0_blockType_docs_lang_md_default()) ===
|
|
|
4313
4672
|
const ERadio_exports_ = ERadiovue_type_script_setup_true_lang_js;
|
|
4314
4673
|
|
|
4315
4674
|
/* harmony default export */ var ERadio = (ERadio_exports_);
|
|
4316
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
4675
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/checkbox/ECheckbox.vue?vue&type=script&setup=true&lang=js
|
|
4317
4676
|
|
|
4318
4677
|
const ECheckboxvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
4319
4678
|
key: 0,
|
|
@@ -4545,7 +4904,7 @@ if (typeof (ECheckboxvue_type_custom_index_0_blockType_docs_lang_md_default()) =
|
|
|
4545
4904
|
const ECheckbox_exports_ = ECheckboxvue_type_script_setup_true_lang_js;
|
|
4546
4905
|
|
|
4547
4906
|
/* harmony default export */ var ECheckbox = (ECheckbox_exports_);
|
|
4548
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
4907
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/icon/EIcon.vue?vue&type=script&setup=true&lang=js
|
|
4549
4908
|
|
|
4550
4909
|
const EIconvue_type_script_setup_true_lang_js_hoisted_1 = ["width", "height"];
|
|
4551
4910
|
const EIconvue_type_script_setup_true_lang_js_hoisted_2 = ["id"];
|
|
@@ -4714,7 +5073,7 @@ if (typeof (EIconvue_type_custom_index_0_blockType_docs_lang_md_default()) === '
|
|
|
4714
5073
|
const EIcon_exports_ = EIconvue_type_script_setup_true_lang_js;
|
|
4715
5074
|
|
|
4716
5075
|
/* harmony default export */ var EIcon = (EIcon_exports_);
|
|
4717
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
5076
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/card/ECard.vue?vue&type=template&id=38d32585
|
|
4718
5077
|
|
|
4719
5078
|
const ECardvue_type_template_id_38d32585_hoisted_1 = {
|
|
4720
5079
|
key: 0,
|
|
@@ -4740,7 +5099,7 @@ function ECardvue_type_template_id_38d32585_render(_ctx, _cache, $props, $setup,
|
|
|
4740
5099
|
}
|
|
4741
5100
|
;// CONCATENATED MODULE: ./src/ui/components/card/ECard.vue?vue&type=template&id=38d32585
|
|
4742
5101
|
|
|
4743
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
5102
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/card/ECard.vue?vue&type=script&lang=js
|
|
4744
5103
|
/* harmony default export */ var ECardvue_type_script_lang_js = ({
|
|
4745
5104
|
name: 'ECard',
|
|
4746
5105
|
props: {
|
|
@@ -4906,7 +5265,7 @@ if (typeof (ECardvue_type_custom_index_0_blockType_docs_lang_md_default()) === '
|
|
|
4906
5265
|
const ECard_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ECardvue_type_script_lang_js, [['render',ECardvue_type_template_id_38d32585_render]])
|
|
4907
5266
|
|
|
4908
5267
|
/* harmony default export */ var ECard = (ECard_exports_);
|
|
4909
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
5268
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/detail/EDetail.vue?vue&type=template&id=4cfd89f9
|
|
4910
5269
|
|
|
4911
5270
|
const EDetailvue_type_template_id_4cfd89f9_hoisted_1 = {
|
|
4912
5271
|
class: "exos-grid exos-col-span-1 exos-items-center exos-text-right"
|
|
@@ -4955,7 +5314,7 @@ function EDetailvue_type_template_id_4cfd89f9_render(_ctx, _cache, $props, $setu
|
|
|
4955
5314
|
|
|
4956
5315
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
4957
5316
|
var es_array_push = __webpack_require__(4114);
|
|
4958
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
5317
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/detail/EDetail.vue?vue&type=script&lang=js
|
|
4959
5318
|
|
|
4960
5319
|
/* harmony default export */ var EDetailvue_type_script_lang_js = ({
|
|
4961
5320
|
name: 'EDetail',
|
|
@@ -5126,7 +5485,7 @@ if (typeof (EDetailvue_type_custom_index_0_blockType_docs_lang_md_default()) ===
|
|
|
5126
5485
|
const EDetail_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EDetailvue_type_script_lang_js, [['render',EDetailvue_type_template_id_4cfd89f9_render]])
|
|
5127
5486
|
|
|
5128
5487
|
/* harmony default export */ var EDetail = (EDetail_exports_);
|
|
5129
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
5488
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/dialog/EDialog.vue?vue&type=template&id=1d24162e
|
|
5130
5489
|
|
|
5131
5490
|
const EDialogvue_type_template_id_1d24162e_hoisted_1 = {
|
|
5132
5491
|
class: "e-dialog__extraContentContainerClass"
|
|
@@ -5195,7 +5554,7 @@ function EDialogvue_type_template_id_1d24162e_render(_ctx, _cache, $props, $setu
|
|
|
5195
5554
|
}
|
|
5196
5555
|
;// CONCATENATED MODULE: ./src/ui/components/dialog/EDialog.vue?vue&type=template&id=1d24162e
|
|
5197
5556
|
|
|
5198
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
5557
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/btn/EBtn.vue?vue&type=template&id=4aa59095
|
|
5199
5558
|
|
|
5200
5559
|
const EBtnvue_type_template_id_4aa59095_hoisted_1 = ["type", "disabled"];
|
|
5201
5560
|
const EBtnvue_type_template_id_4aa59095_hoisted_2 = {
|
|
@@ -5220,7 +5579,7 @@ function EBtnvue_type_template_id_4aa59095_render(_ctx, _cache, $props, $setup,
|
|
|
5220
5579
|
}
|
|
5221
5580
|
;// CONCATENATED MODULE: ./src/ui/components/btn/EBtn.vue?vue&type=template&id=4aa59095
|
|
5222
5581
|
|
|
5223
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
5582
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/btn/EBtn.vue?vue&type=script&lang=js
|
|
5224
5583
|
/* harmony default export */ var EBtnvue_type_script_lang_js = ({
|
|
5225
5584
|
name: 'EBtn',
|
|
5226
5585
|
props: {
|
|
@@ -5514,7 +5873,7 @@ if (typeof (EBtnvue_type_custom_index_0_blockType_docs_lang_md_default()) === 'f
|
|
|
5514
5873
|
const EBtn_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EBtnvue_type_script_lang_js, [['render',EBtnvue_type_template_id_4aa59095_render]])
|
|
5515
5874
|
|
|
5516
5875
|
/* harmony default export */ var EBtn = (EBtn_exports_);
|
|
5517
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
5876
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/dialog/EDialog.vue?vue&type=script&lang=js
|
|
5518
5877
|
|
|
5519
5878
|
|
|
5520
5879
|
/* harmony default export */ var EDialogvue_type_script_lang_js = ({
|
|
@@ -5787,7 +6146,7 @@ const EBtn_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EBtnvue_type_
|
|
|
5787
6146
|
const EDialog_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EDialogvue_type_script_lang_js, [['render',EDialogvue_type_template_id_1d24162e_render]])
|
|
5788
6147
|
|
|
5789
6148
|
/* harmony default export */ var EDialog = (EDialog_exports_);
|
|
5790
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
6149
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/fileList/EFileList.vue?vue&type=template&id=71763e44
|
|
5791
6150
|
|
|
5792
6151
|
const EFileListvue_type_template_id_71763e44_hoisted_1 = {
|
|
5793
6152
|
class: "exos-flex exos-flex-col exos-justify-center exos-w-full exos-h-full exos-my-2 sm:exos-mx-6 lg:exos-mx-8"
|
|
@@ -5843,7 +6202,7 @@ function EFileListvue_type_template_id_71763e44_render(_ctx, _cache, $props, $se
|
|
|
5843
6202
|
}
|
|
5844
6203
|
;// CONCATENATED MODULE: ./src/ui/components/fileList/EFileList.vue?vue&type=template&id=71763e44
|
|
5845
6204
|
|
|
5846
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
6205
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/fileList/EFileList.vue?vue&type=script&lang=js
|
|
5847
6206
|
/* harmony default export */ var EFileListvue_type_script_lang_js = ({
|
|
5848
6207
|
name: 'EFileList',
|
|
5849
6208
|
props: {
|
|
@@ -5954,7 +6313,217 @@ if (typeof (EFileListvue_type_custom_index_0_blockType_docs_lang_md_default()) =
|
|
|
5954
6313
|
const EFileList_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EFileListvue_type_script_lang_js, [['render',EFileListvue_type_template_id_71763e44_render]])
|
|
5955
6314
|
|
|
5956
6315
|
/* harmony default export */ var EFileList = (EFileList_exports_);
|
|
5957
|
-
|
|
6316
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.delete.js
|
|
6317
|
+
var web_url_search_params_delete = __webpack_require__(4603);
|
|
6318
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.has.js
|
|
6319
|
+
var web_url_search_params_has = __webpack_require__(7566);
|
|
6320
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
|
|
6321
|
+
var web_url_search_params_size = __webpack_require__(8721);
|
|
6322
|
+
// EXTERNAL MODULE: ./node_modules/@alexochihua/exos-functionality/dist/mixins/index.js
|
|
6323
|
+
var mixins = __webpack_require__(13);
|
|
6324
|
+
var mixins_default = /*#__PURE__*/__webpack_require__.n(mixins);
|
|
6325
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/fileViewer/EFileViewer.vue?vue&type=script&setup=true&lang=js
|
|
6326
|
+
|
|
6327
|
+
|
|
6328
|
+
|
|
6329
|
+
|
|
6330
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
6331
|
+
class: "e-file-viewer__container"
|
|
6332
|
+
};
|
|
6333
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
6334
|
+
class: "e-file-viewer__header"
|
|
6335
|
+
};
|
|
6336
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_3 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
6337
|
+
class: "e-file-viewer__title"
|
|
6338
|
+
}, "Vista previa del documento", -1);
|
|
6339
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_4 = {
|
|
6340
|
+
class: "e-file-viewer__close"
|
|
6341
|
+
};
|
|
6342
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_5 = {
|
|
6343
|
+
class: "e-file-viewer__preview-container"
|
|
6344
|
+
};
|
|
6345
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_6 = {
|
|
6346
|
+
class: "e-file-viewer__preview-header"
|
|
6347
|
+
};
|
|
6348
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_7 = {
|
|
6349
|
+
class: "e-file-viewer__file-name"
|
|
6350
|
+
};
|
|
6351
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_8 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
6352
|
+
class: "e-file-viewer__counter"
|
|
6353
|
+
}, "1/1", -1);
|
|
6354
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_9 = {
|
|
6355
|
+
class: "e-file-viewer__download"
|
|
6356
|
+
};
|
|
6357
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_10 = ["src"];
|
|
6358
|
+
const EFileViewervue_type_script_setup_true_lang_js_hoisted_11 = ["src"];
|
|
6359
|
+
|
|
6360
|
+
|
|
6361
|
+
/* harmony default export */ var EFileViewervue_type_script_setup_true_lang_js = ({
|
|
6362
|
+
__name: 'EFileViewer',
|
|
6363
|
+
props: {
|
|
6364
|
+
/**
|
|
6365
|
+
* Prop que recibe un b64 para mostrar
|
|
6366
|
+
* Se debe enviar solo el cuerpo del b64 (JVBERi0xLjUKJYCB) SIN incluir el header (data:image/jpeg;base64,)
|
|
6367
|
+
*
|
|
6368
|
+
* La prioridad de archivos para mostrar es:
|
|
6369
|
+
* 1.-link
|
|
6370
|
+
* 2.-file
|
|
6371
|
+
* 3.-data
|
|
6372
|
+
*
|
|
6373
|
+
*/
|
|
6374
|
+
data: {
|
|
6375
|
+
type: String,
|
|
6376
|
+
default: null
|
|
6377
|
+
},
|
|
6378
|
+
/**
|
|
6379
|
+
* Prop que recibe un archivo (class File) para mostrar
|
|
6380
|
+
* La prioridad de archivos para mostrar es:
|
|
6381
|
+
* 1.-link
|
|
6382
|
+
* 2.-file
|
|
6383
|
+
* 3.-data
|
|
6384
|
+
*/
|
|
6385
|
+
file: {
|
|
6386
|
+
default: null
|
|
6387
|
+
},
|
|
6388
|
+
/**
|
|
6389
|
+
* Prop que recibe un link de un archivo para mostrar
|
|
6390
|
+
* La prioridad de archivos para mostrar es:
|
|
6391
|
+
* 1.-link
|
|
6392
|
+
* 2.-file
|
|
6393
|
+
* 3.-data
|
|
6394
|
+
*/
|
|
6395
|
+
link: {
|
|
6396
|
+
type: String,
|
|
6397
|
+
default: null
|
|
6398
|
+
},
|
|
6399
|
+
/**
|
|
6400
|
+
* Nombre que se le dara al archivo en la vista previa y en la descarga
|
|
6401
|
+
*/
|
|
6402
|
+
fileName: {
|
|
6403
|
+
type: String,
|
|
6404
|
+
default: null,
|
|
6405
|
+
required: true
|
|
6406
|
+
},
|
|
6407
|
+
/**
|
|
6408
|
+
* Extension del archivo que se esta previsualizando
|
|
6409
|
+
* No debe llevar " . " (punto), solo la extension
|
|
6410
|
+
* @values pdf, jpg, png
|
|
6411
|
+
*/
|
|
6412
|
+
extention: {
|
|
6413
|
+
type: String,
|
|
6414
|
+
default: null,
|
|
6415
|
+
required: true
|
|
6416
|
+
},
|
|
6417
|
+
/**
|
|
6418
|
+
* Bandera que al estar activa muestra el icono de descarga del archivo
|
|
6419
|
+
*/
|
|
6420
|
+
showDownload: {
|
|
6421
|
+
type: Boolean,
|
|
6422
|
+
default: true
|
|
6423
|
+
}
|
|
6424
|
+
},
|
|
6425
|
+
emits: 'close',
|
|
6426
|
+
setup(__props, {
|
|
6427
|
+
emit: __emit
|
|
6428
|
+
}) {
|
|
6429
|
+
const props = __props;
|
|
6430
|
+
const emit = __emit;
|
|
6431
|
+
const isSupportFormat = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
|
|
6432
|
+
if (!mimeType.value) {
|
|
6433
|
+
return true;
|
|
6434
|
+
}
|
|
6435
|
+
let notSupport = ['image/tiff', 'image/tif', 'tiff', 'tif'];
|
|
6436
|
+
return !notSupport.includes(mimeType.value);
|
|
6437
|
+
});
|
|
6438
|
+
const mimeType = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
|
|
6439
|
+
console.log((mixins_default()));
|
|
6440
|
+
return mixins_default().methods.getTypeFileFromExtension(props.extention) ?? props.extention;
|
|
6441
|
+
});
|
|
6442
|
+
const isImage = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
|
|
6443
|
+
if (!mimeType.value) {
|
|
6444
|
+
return false;
|
|
6445
|
+
}
|
|
6446
|
+
return !!mimeType.value.includes?.('image/');
|
|
6447
|
+
});
|
|
6448
|
+
const nameFile = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
|
|
6449
|
+
let name = props.fileName.includes(props.extention) ? props.fileName : `${props.fileName}.${props.extention}`;
|
|
6450
|
+
return name;
|
|
6451
|
+
});
|
|
6452
|
+
const src = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
|
|
6453
|
+
if (!props.link && !props.file && !props.data) {
|
|
6454
|
+
return false;
|
|
6455
|
+
}
|
|
6456
|
+
if (props.link) {
|
|
6457
|
+
return props.link;
|
|
6458
|
+
}
|
|
6459
|
+
if (props.file) {
|
|
6460
|
+
return URL.createObjectURL(props.file);
|
|
6461
|
+
}
|
|
6462
|
+
let url = mixins_default().methods.urlFileFromB64(props.data, nameFile.value);
|
|
6463
|
+
return url;
|
|
6464
|
+
});
|
|
6465
|
+
function handleDownload() {
|
|
6466
|
+
mixins_default().methods.downloadFileFromLink(src.value, nameFile.value);
|
|
6467
|
+
}
|
|
6468
|
+
function handleClose() {
|
|
6469
|
+
/**
|
|
6470
|
+
* Se emite al dar click en el boton de cerrar
|
|
6471
|
+
*
|
|
6472
|
+
* @event close
|
|
6473
|
+
* @type {Event}
|
|
6474
|
+
*/
|
|
6475
|
+
emit('close');
|
|
6476
|
+
}
|
|
6477
|
+
return (_ctx, _cache) => {
|
|
6478
|
+
const _component_e_btn = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("e-btn");
|
|
6479
|
+
const _component_e_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("e-icon");
|
|
6480
|
+
const _component_e_dialog = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("e-dialog");
|
|
6481
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_e_dialog, {
|
|
6482
|
+
show: !!src.value,
|
|
6483
|
+
onClose: handleClose
|
|
6484
|
+
}, {
|
|
6485
|
+
content: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFileViewervue_type_script_setup_true_lang_js_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFileViewervue_type_script_setup_true_lang_js_hoisted_2, [EFileViewervue_type_script_setup_true_lang_js_hoisted_3, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFileViewervue_type_script_setup_true_lang_js_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_e_btn, {
|
|
6486
|
+
onClick: handleClose,
|
|
6487
|
+
rounded: "",
|
|
6488
|
+
roundedSize: "xl",
|
|
6489
|
+
textColor: "exos-text-secondary",
|
|
6490
|
+
color: "exos-bg-white",
|
|
6491
|
+
iconName: "close",
|
|
6492
|
+
iconSize: "2.5rem",
|
|
6493
|
+
padding: "p-2"
|
|
6494
|
+
})])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFileViewervue_type_script_setup_true_lang_js_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFileViewervue_type_script_setup_true_lang_js_hoisted_6, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFileViewervue_type_script_setup_true_lang_js_hoisted_7, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(nameFile.value), 1), EFileViewervue_type_script_setup_true_lang_js_hoisted_8, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFileViewervue_type_script_setup_true_lang_js_hoisted_9, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_e_icon, {
|
|
6495
|
+
onClick: handleDownload,
|
|
6496
|
+
size: "1.5rem",
|
|
6497
|
+
name: "system_update_alt",
|
|
6498
|
+
class: "exos-cursor-pointer"
|
|
6499
|
+
})])]), isSupportFormat.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, {
|
|
6500
|
+
key: 0
|
|
6501
|
+
}, [isImage.value ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
|
|
6502
|
+
key: 0,
|
|
6503
|
+
src: src.value,
|
|
6504
|
+
class: "e-file-viewer__preview-content"
|
|
6505
|
+
}, null, 8, EFileViewervue_type_script_setup_true_lang_js_hoisted_10)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("iframe", {
|
|
6506
|
+
key: 1,
|
|
6507
|
+
class: "e-file-viewer__preview-content",
|
|
6508
|
+
src: src.value
|
|
6509
|
+
}, null, 8, EFileViewervue_type_script_setup_true_lang_js_hoisted_11))], 64)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, {
|
|
6510
|
+
key: 1
|
|
6511
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)(" Lo sentimos, este archivo no es compatible en vista previa ")], 64))])])]),
|
|
6512
|
+
_: 1
|
|
6513
|
+
}, 8, ["show"]);
|
|
6514
|
+
};
|
|
6515
|
+
}
|
|
6516
|
+
});
|
|
6517
|
+
;// CONCATENATED MODULE: ./src/ui/components/fileViewer/EFileViewer.vue?vue&type=script&setup=true&lang=js
|
|
6518
|
+
|
|
6519
|
+
;// CONCATENATED MODULE: ./src/ui/components/fileViewer/EFileViewer.vue
|
|
6520
|
+
|
|
6521
|
+
|
|
6522
|
+
|
|
6523
|
+
const EFileViewer_exports_ = EFileViewervue_type_script_setup_true_lang_js;
|
|
6524
|
+
|
|
6525
|
+
/* harmony default export */ var EFileViewer = (EFileViewer_exports_);
|
|
6526
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/form/EForm.vue?vue&type=template&id=09465655
|
|
5958
6527
|
|
|
5959
6528
|
const EFormvue_type_template_id_09465655_hoisted_1 = {
|
|
5960
6529
|
class: "exos-w-full"
|
|
@@ -5969,7 +6538,7 @@ function EFormvue_type_template_id_09465655_render(_ctx, _cache, $props, $setup,
|
|
|
5969
6538
|
}
|
|
5970
6539
|
;// CONCATENATED MODULE: ./src/ui/components/form/EForm.vue?vue&type=template&id=09465655
|
|
5971
6540
|
|
|
5972
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
6541
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/form/EForm.vue?vue&type=script&lang=js
|
|
5973
6542
|
|
|
5974
6543
|
/* harmony default export */ var EFormvue_type_script_lang_js = ({
|
|
5975
6544
|
name: 'EForm',
|
|
@@ -6063,7 +6632,7 @@ if (typeof (EFormvue_type_custom_index_0_blockType_docs_lang_md_default()) === '
|
|
|
6063
6632
|
const EForm_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EFormvue_type_script_lang_js, [['render',EFormvue_type_template_id_09465655_render]])
|
|
6064
6633
|
|
|
6065
6634
|
/* harmony default export */ var EForm = (EForm_exports_);
|
|
6066
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
6635
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/modal/EModal.vue?vue&type=template&id=79530638
|
|
6067
6636
|
|
|
6068
6637
|
const EModalvue_type_template_id_79530638_hoisted_1 = {
|
|
6069
6638
|
key: 1,
|
|
@@ -6121,7 +6690,7 @@ function EModalvue_type_template_id_79530638_render(_ctx, _cache, $props, $setup
|
|
|
6121
6690
|
}
|
|
6122
6691
|
;// CONCATENATED MODULE: ./src/ui/components/modal/EModal.vue?vue&type=template&id=79530638
|
|
6123
6692
|
|
|
6124
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
6693
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/modal/EModal.vue?vue&type=script&lang=js
|
|
6125
6694
|
/* harmony default export */ var EModalvue_type_script_lang_js = ({
|
|
6126
6695
|
data() {
|
|
6127
6696
|
return {
|
|
@@ -6203,18 +6772,18 @@ function EModalvue_type_template_id_79530638_render(_ctx, _cache, $props, $setup
|
|
|
6203
6772
|
const EModal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EModalvue_type_script_lang_js, [['render',EModalvue_type_template_id_79530638_render]])
|
|
6204
6773
|
|
|
6205
6774
|
/* harmony default export */ var EModal = (EModal_exports_);
|
|
6206
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
6775
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/collapse/ECollapse.vue?vue&type=template&id=725d6b30
|
|
6207
6776
|
|
|
6208
|
-
const
|
|
6777
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_1 = {
|
|
6209
6778
|
class: "exos-flex exos-flex-col exos-w-full exos-h-full exos-relative"
|
|
6210
6779
|
};
|
|
6211
|
-
const
|
|
6780
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_2 = {
|
|
6212
6781
|
class: "exos-flex exos-justify-start exos-items-center exos-space-x-3 exos-w-full exos-h-full"
|
|
6213
6782
|
};
|
|
6214
|
-
const
|
|
6783
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_3 = {
|
|
6215
6784
|
key: 0
|
|
6216
6785
|
};
|
|
6217
|
-
const
|
|
6786
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_4 = {
|
|
6218
6787
|
key: 1,
|
|
6219
6788
|
width: "25.56",
|
|
6220
6789
|
height: "25",
|
|
@@ -6222,20 +6791,24 @@ const ECollapsevue_type_template_id_8223d4aa_hoisted_4 = {
|
|
|
6222
6791
|
class: "exos-fill-secondary",
|
|
6223
6792
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6224
6793
|
};
|
|
6225
|
-
const
|
|
6794
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
|
|
6226
6795
|
id: "filter_alt_FILL0_wght400_GRAD0_opsz48",
|
|
6227
6796
|
d: "M52.769-192.5a1.512,1.512,0,0,1-1.113-.449,1.512,1.512,0,0,1-.449-1.113v-9.375l-9.336-11.914a1.182,1.182,0,0,1-.156-1.406,1.284,1.284,0,0,1,1.211-.742H65.738a1.284,1.284,0,0,1,1.211.742,1.182,1.182,0,0,1-.156,1.406l-9.336,11.914v9.375a1.512,1.512,0,0,1-.449,1.113,1.512,1.512,0,0,1-1.113.449Zm1.563-10.781,9.375-11.875H44.957ZM54.332-203.281Z",
|
|
6228
6797
|
transform: "translate(-41.552 217.5)"
|
|
6229
6798
|
}, null, -1);
|
|
6230
|
-
const
|
|
6231
|
-
const
|
|
6799
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_6 = [ECollapsevue_type_template_id_725d6b30_hoisted_5];
|
|
6800
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_7 = {
|
|
6232
6801
|
class: "exos-flex exos-flex-col exos-w-full exos-space-y-0"
|
|
6233
6802
|
};
|
|
6234
|
-
const
|
|
6803
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_8 = {
|
|
6235
6804
|
key: 0,
|
|
6236
6805
|
class: "exos-w-fit"
|
|
6237
6806
|
};
|
|
6238
|
-
const
|
|
6807
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_9 = {
|
|
6808
|
+
key: 1,
|
|
6809
|
+
class: "exos-flex exos-justify-center exos-align-center exos-text-secondary exos-z-20"
|
|
6810
|
+
};
|
|
6811
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_10 = {
|
|
6239
6812
|
key: 1,
|
|
6240
6813
|
height: "14",
|
|
6241
6814
|
width: "23.746",
|
|
@@ -6243,41 +6816,75 @@ const ECollapsevue_type_template_id_8223d4aa_hoisted_9 = {
|
|
|
6243
6816
|
class: "exos-fill-secondary",
|
|
6244
6817
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6245
6818
|
};
|
|
6246
|
-
const
|
|
6819
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_11 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
|
|
6247
6820
|
id: "expand_less_FILL0_wght400_GRAD0_opsz48",
|
|
6248
6821
|
d: "M47.074-117.611l-2.127,2.127L56.82-103.611l11.873-11.823-2.127-2.127-9.746,9.746Z",
|
|
6249
6822
|
transform: "translate(-44.947 117.611)"
|
|
6250
6823
|
}, null, -1);
|
|
6251
|
-
const
|
|
6252
|
-
|
|
6253
|
-
|
|
6824
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_12 = [ECollapsevue_type_template_id_725d6b30_hoisted_11];
|
|
6825
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_13 = {
|
|
6826
|
+
class: "exos-flex exos-justify-between exos-w-full exos-mb-6"
|
|
6827
|
+
};
|
|
6828
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_14 = {
|
|
6829
|
+
key: 0,
|
|
6830
|
+
class: "exos-font-extrabold exos-text-xl"
|
|
6831
|
+
};
|
|
6832
|
+
const ECollapsevue_type_template_id_725d6b30_hoisted_15 = {
|
|
6833
|
+
class: "exos-inline-block exos-rounded-full exos-cursor-pointer exos-shadow-md exos-p-1.5 exos-h-9 exos-w-9 exos-bg-zinc-100 dark:exos-bg-fieldDark"
|
|
6834
|
+
};
|
|
6835
|
+
function ECollapsevue_type_template_id_725d6b30_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6836
|
+
const _component_EIcon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EIcon");
|
|
6837
|
+
const _component_EBtn = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EBtn");
|
|
6838
|
+
const _component_EDialog = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EDialog");
|
|
6839
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_template_id_725d6b30_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
6254
6840
|
onClick: _cache[0] || (_cache[0] = (...args) => $options.toggleCollapse && $options.toggleCollapse(...args)),
|
|
6255
6841
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainClass),
|
|
6256
6842
|
ref: "collapse"
|
|
6257
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
6843
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_template_id_725d6b30_hoisted_2, [$props.iconLeft ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ECollapsevue_type_template_id_725d6b30_hoisted_3, [_ctx.$slots.iconLeft ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconLeft", {
|
|
6258
6844
|
key: 0
|
|
6259
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg",
|
|
6845
|
+
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", ECollapsevue_type_template_id_725d6b30_hoisted_4, ECollapsevue_type_template_id_725d6b30_hoisted_6))])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_template_id_725d6b30_hoisted_7, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
|
|
6260
6846
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.textClass)
|
|
6261
6847
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.text), 3), _ctx.$slots.description ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "description", {
|
|
6262
6848
|
key: 0
|
|
6263
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])]), _ctx.$slots.rightSection ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
6849
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])]), _ctx.$slots.rightSection ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ECollapsevue_type_template_id_725d6b30_hoisted_8, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "rightSection")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $data.isCollapseOpen && $props.showExpand ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ECollapsevue_type_template_id_725d6b30_hoisted_9, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EIcon, {
|
|
6850
|
+
name: "zoom_out_map",
|
|
6851
|
+
class: "exos-mr-6",
|
|
6852
|
+
onClick: $options.expandContent
|
|
6853
|
+
}, null, 8, ["onClick"])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
6264
6854
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center", {
|
|
6265
6855
|
'exos-rotate-180': $data.isCollapseOpen
|
|
6266
6856
|
}])
|
|
6267
6857
|
}, [_ctx.$slots.arrow ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "arrow", {
|
|
6268
6858
|
key: 0
|
|
6269
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg",
|
|
6859
|
+
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", ECollapsevue_type_template_id_725d6b30_hoisted_10, ECollapsevue_type_template_id_725d6b30_hoisted_12))], 2)], 2), $data.isCollapseOpen ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
6270
6860
|
key: 0,
|
|
6271
6861
|
ref: "contentCollapse",
|
|
6272
6862
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.filter),
|
|
6273
6863
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)($options.calculateDropPositionY())
|
|
6274
6864
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "filter-collapse"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
6275
6865
|
onClick: _cache[1] || (_cache[1] = (...args) => $options.toggleCollapse && $options.toggleCollapse(...args))
|
|
6276
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "btn-collapse")])], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6866
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "btn-collapse")])], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EDialog, {
|
|
6867
|
+
show: $data.showExpandDialog
|
|
6868
|
+
}, {
|
|
6869
|
+
content: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_template_id_725d6b30_hoisted_13, [$props.text != null ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ECollapsevue_type_template_id_725d6b30_hoisted_14, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.text), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_template_id_725d6b30_hoisted_15, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EBtn, {
|
|
6870
|
+
rounded: "",
|
|
6871
|
+
roundedSize: "xl",
|
|
6872
|
+
textColor: "exos-text-secondary",
|
|
6873
|
+
color: "exos-bg-white",
|
|
6874
|
+
iconName: "close",
|
|
6875
|
+
iconSize: "1.2rem",
|
|
6876
|
+
onClick: _cache[2] || (_cache[2] = $event => $data.showExpandDialog = false)
|
|
6877
|
+
})])]), _ctx.$slots.contentExpand ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "contentExpand", {
|
|
6878
|
+
key: 0
|
|
6879
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "filter-collapse", {
|
|
6880
|
+
key: 1
|
|
6881
|
+
})]),
|
|
6882
|
+
_: 3
|
|
6883
|
+
}, 8, ["show"])], 64);
|
|
6884
|
+
}
|
|
6885
|
+
;// CONCATENATED MODULE: ./src/ui/components/collapse/ECollapse.vue?vue&type=template&id=725d6b30
|
|
6886
|
+
|
|
6887
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/collapse/ECollapse.vue?vue&type=script&lang=js
|
|
6281
6888
|
/* harmony default export */ var ECollapsevue_type_script_lang_js = ({
|
|
6282
6889
|
name: 'ECollapse',
|
|
6283
6890
|
props: {
|
|
@@ -6466,6 +7073,14 @@ function ECollapsevue_type_template_id_8223d4aa_render(_ctx, _cache, $props, $se
|
|
|
6466
7073
|
type: String,
|
|
6467
7074
|
default: '',
|
|
6468
7075
|
description: 'Setea el color del borde del contenido desplegado.'
|
|
7076
|
+
},
|
|
7077
|
+
/**
|
|
7078
|
+
* 'Bandera para mostrar el icon expand que activara la funcionalidad de mostrat el contenido del ecollapse en un EDialog al darle click'
|
|
7079
|
+
*/
|
|
7080
|
+
showExpand: {
|
|
7081
|
+
type: Boolean,
|
|
7082
|
+
default: false,
|
|
7083
|
+
description: 'Bandera para mostrar el icon expand que activara la funcionalidad de mostrat el contenido del ecollapse en un EDialog al darle click'
|
|
6469
7084
|
}
|
|
6470
7085
|
},
|
|
6471
7086
|
data() {
|
|
@@ -6473,7 +7088,8 @@ function ECollapsevue_type_template_id_8223d4aa_render(_ctx, _cache, $props, $se
|
|
|
6473
7088
|
collapseContentHeight: null,
|
|
6474
7089
|
collapseHeight: null,
|
|
6475
7090
|
isCollapseOpen: false,
|
|
6476
|
-
showPosition: true
|
|
7091
|
+
showPosition: true,
|
|
7092
|
+
showExpandDialog: false
|
|
6477
7093
|
};
|
|
6478
7094
|
},
|
|
6479
7095
|
computed: {
|
|
@@ -6497,6 +7113,9 @@ function ECollapsevue_type_template_id_8223d4aa_render(_ctx, _cache, $props, $se
|
|
|
6497
7113
|
}
|
|
6498
7114
|
},
|
|
6499
7115
|
methods: {
|
|
7116
|
+
expandContent() {
|
|
7117
|
+
this.showExpandDialog = true;
|
|
7118
|
+
},
|
|
6500
7119
|
calculateDropPositionY() {
|
|
6501
7120
|
if (this.isCollapseOpen) {
|
|
6502
7121
|
if (this.calculateAvailableSpaceY(this.$refs.collapse)) {
|
|
@@ -6584,10 +7203,10 @@ if (typeof (ECollapsevue_type_custom_index_0_blockType_docs_lang_md_default()) =
|
|
|
6584
7203
|
|
|
6585
7204
|
|
|
6586
7205
|
;
|
|
6587
|
-
const ECollapse_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ECollapsevue_type_script_lang_js, [['render',
|
|
7206
|
+
const ECollapse_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ECollapsevue_type_script_lang_js, [['render',ECollapsevue_type_template_id_725d6b30_render]])
|
|
6588
7207
|
|
|
6589
7208
|
/* harmony default export */ var ECollapse = (ECollapse_exports_);
|
|
6590
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
7209
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/switch/ESwitch.vue?vue&type=template&id=3c9a20b8
|
|
6591
7210
|
|
|
6592
7211
|
const ESwitchvue_type_template_id_3c9a20b8_hoisted_1 = ["disabled"];
|
|
6593
7212
|
function ESwitchvue_type_template_id_3c9a20b8_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -6608,7 +7227,7 @@ function ESwitchvue_type_template_id_3c9a20b8_render(_ctx, _cache, $props, $setu
|
|
|
6608
7227
|
}
|
|
6609
7228
|
;// CONCATENATED MODULE: ./src/ui/components/switch/ESwitch.vue?vue&type=template&id=3c9a20b8
|
|
6610
7229
|
|
|
6611
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
7230
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/switch/ESwitch.vue?vue&type=script&lang=js
|
|
6612
7231
|
/* harmony default export */ var ESwitchvue_type_script_lang_js = ({
|
|
6613
7232
|
name: 'ESwitch',
|
|
6614
7233
|
props: {
|
|
@@ -6719,56 +7338,53 @@ function ESwitchvue_type_template_id_3c9a20b8_render(_ctx, _cache, $props, $setu
|
|
|
6719
7338
|
const ESwitch_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ESwitchvue_type_script_lang_js, [['render',ESwitchvue_type_template_id_3c9a20b8_render]])
|
|
6720
7339
|
|
|
6721
7340
|
/* harmony default export */ var ESwitch = (ESwitch_exports_);
|
|
6722
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
7341
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/pagination/EPaginationTable.vue?vue&type=template&id=b01ce43a
|
|
6723
7342
|
|
|
6724
|
-
const
|
|
6725
|
-
class: "exos-flex exos-
|
|
7343
|
+
const EPaginationTablevue_type_template_id_b01ce43a_hoisted_1 = {
|
|
7344
|
+
class: "exos-flex xs:max-sm:exos-flex-col sm:exos-flex-row exos-items-center exos-h-full"
|
|
6726
7345
|
};
|
|
6727
|
-
const
|
|
6728
|
-
class: "exos-flex exos-items-center exos-justify-
|
|
7346
|
+
const EPaginationTablevue_type_template_id_b01ce43a_hoisted_2 = {
|
|
7347
|
+
class: "exos-flex exos-h-8 exos-w-full exos-items-center exos-justify-center sm:max-md:exos-px-6 md:exos-px-10 exos-text-gray-700 dark:exos-border-gray-700 dark:exos-text-gray-400 dark:hover:exos-text-white"
|
|
6729
7348
|
};
|
|
6730
|
-
const
|
|
6731
|
-
class: "exos-
|
|
7349
|
+
const EPaginationTablevue_type_template_id_b01ce43a_hoisted_3 = {
|
|
7350
|
+
class: "exos-flex exos-w-full exos-justify-center exos-items-center exos-text-sm"
|
|
6732
7351
|
};
|
|
6733
|
-
const
|
|
6734
|
-
|
|
7352
|
+
const EPaginationTablevue_type_template_id_b01ce43a_hoisted_4 = ["disabled"];
|
|
7353
|
+
const EPaginationTablevue_type_template_id_b01ce43a_hoisted_5 = {
|
|
7354
|
+
class: "exos-flex exos-items-center exos-justify-center xs:max-sm:exos-px-8 sm:max-md:exos-px-6 md:exos-px-10 exos-text-gray-700 dark:exos-border-gray-700 dark:exos-text-gray-400 dark:hover:exos-text-white"
|
|
6735
7355
|
};
|
|
6736
|
-
const
|
|
6737
|
-
|
|
6738
|
-
class: "exos-flex exos-items-center exos-justify-center exos-px-6 exos-h-8 exos-ml-2 exos-leading-tight exos-text-gray-700 dark:exos-border-gray-700 dark:exos-text-gray-400 dark:hover:exos-text-white"
|
|
6739
|
-
};
|
|
6740
|
-
const EPaginationTablevue_type_template_id_2ddf90ce_hoisted_7 = ["disabled"];
|
|
6741
|
-
function EPaginationTablevue_type_template_id_2ddf90ce_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7356
|
+
const EPaginationTablevue_type_template_id_b01ce43a_hoisted_6 = ["disabled"];
|
|
7357
|
+
function EPaginationTablevue_type_template_id_b01ce43a_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6742
7358
|
const _component_EIcon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EIcon");
|
|
6743
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("
|
|
7359
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("nav", EPaginationTablevue_type_template_id_b01ce43a_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EPaginationTablevue_type_template_id_b01ce43a_hoisted_2, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.finalModelValue) + " / " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.numPagesTotal), 1), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("ul", EPaginationTablevue_type_template_id_b01ce43a_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("li", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("button", {
|
|
6744
7360
|
disabled: $options.finalModelValue <= 1,
|
|
6745
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center exos-
|
|
7361
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center exos-h-8 xs:max-sm:exos-px-8 sm:max-md:exos-px-6 md:exos-px-10", `${$options.finalModelValue <= 1 ? 'exos-cursor-not-allowed' : 'exos-cursor-pointer'}`]),
|
|
6746
7362
|
onClick: _cache[0] || (_cache[0] = (...args) => $options.handleFirstPage && $options.handleFirstPage(...args))
|
|
6747
7363
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EIcon, {
|
|
6748
7364
|
name: "keyboard_double_arrow_left",
|
|
6749
7365
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.finalModelValue <= 1 ? 'exos-opacity-50 exos-text-secondary dark:exos-text-white' : 'exos-text-secondary dark:exos-text-white')
|
|
6750
|
-
}, null, 8, ["class"])], 10,
|
|
6751
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center exos-
|
|
7366
|
+
}, null, 8, ["class"])], 10, EPaginationTablevue_type_template_id_b01ce43a_hoisted_4)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("li", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("button", {
|
|
7367
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center exos-h-8 xs:max-sm:exos-px-8 sm:max-md:exos-px-6 md:exos-px-10", `${$options.finalModelValue <= 1 ? 'exos-cursor-not-allowed' : 'exos-cursor-pointer'}`]),
|
|
6752
7368
|
onClick: _cache[1] || (_cache[1] = $event => $options.finalModelValue > 1 ? $options.handlePrev() : false)
|
|
6753
7369
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EIcon, {
|
|
6754
7370
|
name: "chevron_left",
|
|
6755
7371
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-text-secondary dark:exos-text-white", $options.finalModelValue <= 1 ? 'exos-opacity-50 exos-text-secondary dark:exos-text-white' : 'exos-text-secondary dark:exos-text-white'])
|
|
6756
|
-
}, null, 8, ["class"])], 2)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("li",
|
|
6757
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center exos-
|
|
7372
|
+
}, null, 8, ["class"])], 2)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("li", EPaginationTablevue_type_template_id_b01ce43a_hoisted_5, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.modelValue), 1), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("li", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("button", {
|
|
7373
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center exos-h-8 xs:max-sm:exos-px-8 sm:max-md:exos-px-6 md:exos-px-10", `${$options.finalModelValue >= $props.numPagesTotal ? 'exos-cursor-not-allowed' : 'exos-cursor-pointer'}`]),
|
|
6758
7374
|
onClick: _cache[2] || (_cache[2] = $event => $options.finalModelValue < $props.numPagesTotal ? $options.handleNext() : false)
|
|
6759
7375
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EIcon, {
|
|
6760
7376
|
name: "chevron_right",
|
|
6761
7377
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.finalModelValue >= $props.numPagesTotal ? 'exos-opacity-50 exos-text-secondary dark:exos-text-white' : 'exos-text-secondary dark:exos-text-white')
|
|
6762
7378
|
}, null, 8, ["class"])], 2)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("li", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("button", {
|
|
6763
7379
|
disabled: $options.finalModelValue >= $props.numPagesTotal,
|
|
6764
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center exos-
|
|
7380
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center exos-h-8 xs:max-sm:exos-px-8 sm:max-md:exos-px-6 md:exos-px-10", `${$options.finalModelValue >= $props.numPagesTotal ? 'exos-cursor-not-allowed' : 'exos-cursor-pointer'}`]),
|
|
6765
7381
|
onClick: _cache[3] || (_cache[3] = (...args) => $options.handleLast && $options.handleLast(...args))
|
|
6766
7382
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EIcon, {
|
|
6767
7383
|
name: "keyboard_double_arrow_right",
|
|
6768
7384
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.finalModelValue >= $props.numPagesTotal ? 'exos-opacity-50 exos-text-secondary dark:exos-text-white' : 'exos-text-secondary dark:exos-text-white')
|
|
6769
|
-
}, null, 8, ["class"])], 10,
|
|
7385
|
+
}, null, 8, ["class"])], 10, EPaginationTablevue_type_template_id_b01ce43a_hoisted_6)])])]);
|
|
6770
7386
|
}
|
|
6771
|
-
;// CONCATENATED MODULE: ./src/ui/components/pagination/EPaginationTable.vue?vue&type=template&id=
|
|
7387
|
+
;// CONCATENATED MODULE: ./src/ui/components/pagination/EPaginationTable.vue?vue&type=template&id=b01ce43a
|
|
6772
7388
|
|
|
6773
7389
|
;// CONCATENATED MODULE: ./node_modules/ramda/es/internal/_isPlaceholder.js
|
|
6774
7390
|
function _isPlaceholder(a) {
|
|
@@ -6863,7 +7479,7 @@ _curry2(function range(from, to) {
|
|
|
6863
7479
|
return result;
|
|
6864
7480
|
});
|
|
6865
7481
|
/* harmony default export */ var es_range = (range);
|
|
6866
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
7482
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/pagination/EPaginationTable.vue?vue&type=script&lang=js
|
|
6867
7483
|
|
|
6868
7484
|
|
|
6869
7485
|
/* harmony default export */ var EPaginationTablevue_type_script_lang_js = ({
|
|
@@ -7014,10 +7630,10 @@ if (typeof (EPaginationTablevue_type_custom_index_0_blockType_docs_lang_md_defau
|
|
|
7014
7630
|
|
|
7015
7631
|
|
|
7016
7632
|
;
|
|
7017
|
-
const EPaginationTable_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EPaginationTablevue_type_script_lang_js, [['render',
|
|
7633
|
+
const EPaginationTable_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EPaginationTablevue_type_script_lang_js, [['render',EPaginationTablevue_type_template_id_b01ce43a_render]])
|
|
7018
7634
|
|
|
7019
7635
|
/* harmony default export */ var EPaginationTable = (EPaginationTable_exports_);
|
|
7020
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
7636
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/dropdown/EDropdown.vue?vue&type=template&id=0602e4d4
|
|
7021
7637
|
|
|
7022
7638
|
const EDropdownvue_type_template_id_0602e4d4_hoisted_1 = ["disabled"];
|
|
7023
7639
|
const EDropdownvue_type_template_id_0602e4d4_hoisted_2 = {
|
|
@@ -7082,12 +7698,6 @@ var esnext_set_symmetric_difference_v2 = __webpack_require__(7561);
|
|
|
7082
7698
|
var esnext_set_union_v2 = __webpack_require__(6197);
|
|
7083
7699
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-exception.stack.js
|
|
7084
7700
|
var web_dom_exception_stack = __webpack_require__(4979);
|
|
7085
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.delete.js
|
|
7086
|
-
var web_url_search_params_delete = __webpack_require__(4603);
|
|
7087
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.has.js
|
|
7088
|
-
var web_url_search_params_has = __webpack_require__(7566);
|
|
7089
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
|
|
7090
|
-
var web_url_search_params_size = __webpack_require__(8721);
|
|
7091
7701
|
;// CONCATENATED MODULE: ./node_modules/@vueuse/shared/node_modules/vue-demi/lib/index.mjs
|
|
7092
7702
|
|
|
7093
7703
|
var lib_isVue2 = false;
|
|
@@ -15699,7 +16309,7 @@ function useWindowSize(options = {}) {
|
|
|
15699
16309
|
};
|
|
15700
16310
|
}
|
|
15701
16311
|
|
|
15702
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
16312
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/dropdown/EDropdown.vue?vue&type=script&lang=js
|
|
15703
16313
|
|
|
15704
16314
|
|
|
15705
16315
|
|
|
@@ -16181,7 +16791,7 @@ if (typeof (EDropdownvue_type_custom_index_0_blockType_docs_lang_md_default()) =
|
|
|
16181
16791
|
const EDropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EDropdownvue_type_script_lang_js, [['render',EDropdownvue_type_template_id_0602e4d4_render]])
|
|
16182
16792
|
|
|
16183
16793
|
/* harmony default export */ var EDropdown = (EDropdown_exports_);
|
|
16184
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
16794
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/calendar/ECalendar.vue?vue&type=template&id=1154f102
|
|
16185
16795
|
|
|
16186
16796
|
const ECalendarvue_type_template_id_1154f102_hoisted_1 = {
|
|
16187
16797
|
class: "exos-relative"
|
|
@@ -23895,7 +24505,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
23895
24505
|
|
|
23896
24506
|
const VERSION = "3.4.4";
|
|
23897
24507
|
|
|
23898
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
24508
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/calendar/ECalendar.vue?vue&type=script&lang=js
|
|
23899
24509
|
|
|
23900
24510
|
|
|
23901
24511
|
|
|
@@ -24801,16 +25411,16 @@ if (typeof (ECalendarvue_type_custom_index_0_blockType_docs_lang_md_default()) =
|
|
|
24801
25411
|
const ECalendar_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ECalendarvue_type_script_lang_js, [['render',ECalendarvue_type_template_id_1154f102_render]])
|
|
24802
25412
|
|
|
24803
25413
|
/* harmony default export */ var ECalendar = (ECalendar_exports_);
|
|
24804
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
25414
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/input/EInput.vue?vue&type=template&id=08a8ec2e
|
|
24805
25415
|
|
|
24806
|
-
const
|
|
25416
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_1 = {
|
|
24807
25417
|
class: "exos-flex exos-flex-grow exos-relative"
|
|
24808
25418
|
};
|
|
24809
|
-
const
|
|
24810
|
-
const
|
|
25419
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_2 = ["for"];
|
|
25420
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_3 = {
|
|
24811
25421
|
key: 0
|
|
24812
25422
|
};
|
|
24813
|
-
const
|
|
25423
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_4 = {
|
|
24814
25424
|
key: 1,
|
|
24815
25425
|
class: "exos-w-4 exos-h-4 exos-text-secondary exos-opacity-60 hover:exos-opacity-100 dark:exos-text-white",
|
|
24816
25426
|
"aria-hidden": "true",
|
|
@@ -24818,26 +25428,26 @@ const EInputvue_type_template_id_1a8579fc_hoisted_4 = {
|
|
|
24818
25428
|
fill: "none",
|
|
24819
25429
|
viewBox: "0 0 15 15"
|
|
24820
25430
|
};
|
|
24821
|
-
const
|
|
25431
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
|
|
24822
25432
|
stroke: "currentColor",
|
|
24823
25433
|
"stroke-linecap": "round",
|
|
24824
25434
|
"stroke-linejoin": "round",
|
|
24825
25435
|
"stroke-width": "2",
|
|
24826
25436
|
d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
|
|
24827
25437
|
}, null, -1);
|
|
24828
|
-
const
|
|
24829
|
-
const
|
|
25438
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_6 = [EInputvue_type_template_id_08a8ec2e_hoisted_5];
|
|
25439
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_7 = {
|
|
24830
25440
|
key: 1
|
|
24831
25441
|
};
|
|
24832
|
-
const
|
|
25442
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_8 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
|
|
24833
25443
|
stroke: "currentColor",
|
|
24834
25444
|
"stroke-linecap": "round",
|
|
24835
25445
|
"stroke-linejoin": "round",
|
|
24836
25446
|
"stroke-width": "2",
|
|
24837
25447
|
d: "M1.933 10.909A4.357 4.357 0 0 1 1 9c0-1 4-6 9-6m7.6 3.8A5.068 5.068 0 0 1 19 9c0 1-3 6-9 6-.314 0-.62-.014-.918-.04M2 17 18 1m-5 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
|
|
24838
25448
|
}, null, -1);
|
|
24839
|
-
const
|
|
24840
|
-
const
|
|
25449
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_9 = [EInputvue_type_template_id_08a8ec2e_hoisted_8];
|
|
25450
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_10 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("g", {
|
|
24841
25451
|
stroke: "currentColor",
|
|
24842
25452
|
"stroke-linecap": "round",
|
|
24843
25453
|
"stroke-linejoin": "round",
|
|
@@ -24847,17 +25457,17 @@ const EInputvue_type_template_id_1a8579fc_hoisted_10 = /*#__PURE__*/(0,external_
|
|
|
24847
25457
|
}), /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
|
|
24848
25458
|
d: "M10 13c4.97 0 9-2.686 9-6s-4.03-6-9-6-9 2.686-9 6 4.03 6 9 6Z"
|
|
24849
25459
|
})], -1);
|
|
24850
|
-
const
|
|
24851
|
-
const
|
|
25460
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_11 = [EInputvue_type_template_id_08a8ec2e_hoisted_10];
|
|
25461
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_12 = {
|
|
24852
25462
|
key: 0,
|
|
24853
25463
|
class: "e-input--error-message"
|
|
24854
25464
|
};
|
|
24855
|
-
const
|
|
25465
|
+
const EInputvue_type_template_id_08a8ec2e_hoisted_13 = {
|
|
24856
25466
|
key: 1,
|
|
24857
25467
|
class: "e-input--error-message"
|
|
24858
25468
|
};
|
|
24859
|
-
function
|
|
24860
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
25469
|
+
function EInputvue_type_template_id_08a8ec2e_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25470
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EInputvue_type_template_id_08a8ec2e_hoisted_1, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.textarea ? 'textarea' : 'input'), {
|
|
24861
25471
|
placeholder: " ",
|
|
24862
25472
|
type: $data.inputType,
|
|
24863
25473
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainClass),
|
|
@@ -24875,41 +25485,41 @@ function EInputvue_type_template_id_1a8579fc_render(_ctx, _cache, $props, $setup
|
|
|
24875
25485
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.labelClass)
|
|
24876
25486
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
24877
25487
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.classBoxLabel)
|
|
24878
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.label), 1), $props.required ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span",
|
|
25488
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.label), 1), $props.required ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", EInputvue_type_template_id_08a8ec2e_hoisted_3, "*")) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)], 10, EInputvue_type_template_id_08a8ec2e_hoisted_2), !!$props.modelValue && !$props.disabled ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
24879
25489
|
key: 0,
|
|
24880
25490
|
onClick: _cache[0] || (_cache[0] = (...args) => $options.clean && $options.clean(...args)),
|
|
24881
25491
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['e-input-icon exos-animate-slide-down', $props.type == 'password' ? _ctx.$slots.icon && $props.iconRight ? 'exos-right-[4.25rem]' : 'exos-right-10' : [_ctx.$slots.icon ? 'exos-right-11' : 'exos-right-3'] ? $props.iconRight ? 'exos-right-11' : 'exos-right-3' : 0])
|
|
24882
25492
|
}, [_ctx.$slots.iconClose ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconClose", {
|
|
24883
25493
|
key: 0
|
|
24884
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg",
|
|
25494
|
+
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", EInputvue_type_template_id_08a8ec2e_hoisted_4, EInputvue_type_template_id_08a8ec2e_hoisted_6))], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $props.type == 'password' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
24885
25495
|
key: 1,
|
|
24886
25496
|
onClick: _cache[1] || (_cache[1] = (...args) => $options.showPassword && $options.showPassword(...args)),
|
|
24887
25497
|
class: "e-input-icon exos-right-3"
|
|
24888
25498
|
}, [_ctx.$slots.iconPassword ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconClose", {
|
|
24889
25499
|
key: 0
|
|
24890
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
25500
|
+
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EInputvue_type_template_id_08a8ec2e_hoisted_7, [$data.showPass ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", {
|
|
24891
25501
|
key: 0,
|
|
24892
25502
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['exos-w-6 exos-h-6', $data.errorRules ? 'exos-text-danger' : 'exos-text-secondary dark:exos-text-white']),
|
|
24893
25503
|
"aria-hidden": "true",
|
|
24894
25504
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24895
25505
|
fill: "none",
|
|
24896
25506
|
viewBox: "0 0 20 14"
|
|
24897
|
-
},
|
|
25507
|
+
}, EInputvue_type_template_id_08a8ec2e_hoisted_9, 2)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", {
|
|
24898
25508
|
key: 1,
|
|
24899
25509
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['exos-w-6 exos-h-6', $data.errorRules ? 'exos-text-danger' : 'exos-text-secondary dark:exos-text-white']),
|
|
24900
25510
|
"aria-hidden": "true",
|
|
24901
25511
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24902
25512
|
fill: "none",
|
|
24903
25513
|
viewBox: "0 0 20 14"
|
|
24904
|
-
},
|
|
25514
|
+
}, EInputvue_type_template_id_08a8ec2e_hoisted_11, 2))]))])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
24905
25515
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["e-input-icon", [$props.type == 'password' ? $props.iconRight ? 'exos-right-9' : 'exos-left-2' : $props.iconRight ? 'exos-right-3' : 'exos-left-2']])
|
|
24906
25516
|
}, [_ctx.$slots.icon ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon", {
|
|
24907
25517
|
key: 0
|
|
24908
|
-
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)]), !!$data.messageRestrictions ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
25518
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)]), !!$data.messageRestrictions ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EInputvue_type_template_id_08a8ec2e_hoisted_12, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($data.messageRestrictions), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), !!$data.messageRule ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EInputvue_type_template_id_08a8ec2e_hoisted_13, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($data.messageRule), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
24909
25519
|
}
|
|
24910
|
-
;// CONCATENATED MODULE: ./src/ui/components/input/EInput.vue?vue&type=template&id=
|
|
25520
|
+
;// CONCATENATED MODULE: ./src/ui/components/input/EInput.vue?vue&type=template&id=08a8ec2e
|
|
24911
25521
|
|
|
24912
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
25522
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/input/EInput.vue?vue&type=script&lang=js
|
|
24913
25523
|
|
|
24914
25524
|
|
|
24915
25525
|
const patterns = {
|
|
@@ -25179,7 +25789,6 @@ const patterns = {
|
|
|
25179
25789
|
* regex: /[^a-zA-Z0-9]/g //Ejemplo para solo manejar alfanumericos, si no define un regex se apliara como alfabetico
|
|
25180
25790
|
* msg: Mensaje a mostrar, en caso de no definir un msg se mostrara el texto "El caràcter NO cumple con las reglas establecidas"
|
|
25181
25791
|
* }
|
|
25182
|
-
* Este prop solo funciona con el modificador charExclude
|
|
25183
25792
|
*/
|
|
25184
25793
|
regexValidChars: {
|
|
25185
25794
|
default: null,
|
|
@@ -25342,7 +25951,7 @@ const patterns = {
|
|
|
25342
25951
|
let startTime;
|
|
25343
25952
|
let validateTime;
|
|
25344
25953
|
switch (true) {
|
|
25345
|
-
case this.modelModifiers?.charExclude:
|
|
25954
|
+
case this.modelModifiers?.charExclude || !!this.regexValidChars?.regex:
|
|
25346
25955
|
// eslint-disable-next-line
|
|
25347
25956
|
let regexToApply = this.regexValidChars?.regex ?? /[^a-zA-ZáÁéÉíÍóÓúÚüÜ\s]/g;
|
|
25348
25957
|
// eslint-disable-next-line
|
|
@@ -25576,10 +26185,10 @@ if (typeof (EInputvue_type_custom_index_0_blockType_docs_lang_md_default()) ===
|
|
|
25576
26185
|
|
|
25577
26186
|
|
|
25578
26187
|
;
|
|
25579
|
-
const EInput_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EInputvue_type_script_lang_js, [['render',
|
|
26188
|
+
const EInput_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EInputvue_type_script_lang_js, [['render',EInputvue_type_template_id_08a8ec2e_render]])
|
|
25580
26189
|
|
|
25581
26190
|
/* harmony default export */ var EInput = (EInput_exports_);
|
|
25582
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
26191
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/menuCalendar/EMenuCalendar.vue?vue&type=template&id=c9fd0884&scoped=true
|
|
25583
26192
|
|
|
25584
26193
|
const _withScopeId = n => (_pushScopeId("data-v-c9fd0884"), n = n(), _popScopeId(), n);
|
|
25585
26194
|
const EMenuCalendarvue_type_template_id_c9fd0884_scoped_true_hoisted_1 = {
|
|
@@ -25620,7 +26229,7 @@ function EMenuCalendarvue_type_template_id_c9fd0884_scoped_true_render(_ctx, _ca
|
|
|
25620
26229
|
}
|
|
25621
26230
|
;// CONCATENATED MODULE: ./src/ui/components/menuCalendar/EMenuCalendar.vue?vue&type=template&id=c9fd0884&scoped=true
|
|
25622
26231
|
|
|
25623
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
26232
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/menuCalendar/EMenuCalendar.vue?vue&type=script&lang=js
|
|
25624
26233
|
|
|
25625
26234
|
|
|
25626
26235
|
/* harmony default export */ var EMenuCalendarvue_type_script_lang_js = ({
|
|
@@ -25794,7 +26403,7 @@ if (typeof (EMenuCalendarvue_type_custom_index_0_blockType_docs_lang_md_default(
|
|
|
25794
26403
|
const EMenuCalendar_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EMenuCalendarvue_type_script_lang_js, [['render',EMenuCalendarvue_type_template_id_c9fd0884_scoped_true_render],['__scopeId',"data-v-c9fd0884"]])
|
|
25795
26404
|
|
|
25796
26405
|
/* harmony default export */ var EMenuCalendar = (EMenuCalendar_exports_);
|
|
25797
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
26406
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/select/ESelect.vue?vue&type=template&id=139aa572
|
|
25798
26407
|
|
|
25799
26408
|
const ESelectvue_type_template_id_139aa572_hoisted_1 = {
|
|
25800
26409
|
ref: "mainSelectComponent",
|
|
@@ -25943,7 +26552,7 @@ function ESelectvue_type_template_id_139aa572_render(_ctx, _cache, $props, $setu
|
|
|
25943
26552
|
}
|
|
25944
26553
|
;// CONCATENATED MODULE: ./src/ui/components/select/ESelect.vue?vue&type=template&id=139aa572
|
|
25945
26554
|
|
|
25946
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
26555
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/select/ESelect.vue?vue&type=script&lang=js
|
|
25947
26556
|
|
|
25948
26557
|
|
|
25949
26558
|
|
|
@@ -26851,52 +27460,55 @@ if (typeof (ESelectvue_type_custom_index_0_blockType_docs_lang_md_default()) ===
|
|
|
26851
27460
|
const ESelect_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ESelectvue_type_script_lang_js, [['render',ESelectvue_type_template_id_139aa572_render]])
|
|
26852
27461
|
|
|
26853
27462
|
/* harmony default export */ var ESelect = (ESelect_exports_);
|
|
26854
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
27463
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/table/ETable.vue?vue&type=template&id=6ab87d66
|
|
26855
27464
|
|
|
26856
|
-
const
|
|
27465
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_1 = {
|
|
26857
27466
|
key: 0
|
|
26858
27467
|
};
|
|
26859
|
-
const
|
|
27468
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_2 = {
|
|
26860
27469
|
key: 0,
|
|
26861
27470
|
class: "exos-px-4 exos-py-3"
|
|
26862
27471
|
};
|
|
26863
|
-
const
|
|
27472
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_3 = {
|
|
26864
27473
|
class: "exos-flex exos-justify-center exos-items-center"
|
|
26865
27474
|
};
|
|
26866
|
-
const
|
|
26867
|
-
const
|
|
27475
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_4 = ["onClick"];
|
|
27476
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_5 = {
|
|
26868
27477
|
key: 0
|
|
26869
27478
|
};
|
|
26870
|
-
const
|
|
27479
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_6 = {
|
|
26871
27480
|
key: 0,
|
|
26872
27481
|
class: "exos-px-4 exos-py-3"
|
|
26873
27482
|
};
|
|
26874
|
-
const
|
|
27483
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_7 = {
|
|
26875
27484
|
class: "radio"
|
|
26876
27485
|
};
|
|
26877
|
-
const
|
|
26878
|
-
const
|
|
26879
|
-
const
|
|
27486
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_8 = ["onClick"];
|
|
27487
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_9 = ["onClick"];
|
|
27488
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_10 = {
|
|
26880
27489
|
class: "exos-flex exos-items-center exos-justify-center exos-w-full exos-h-full"
|
|
26881
27490
|
};
|
|
26882
|
-
const
|
|
26883
|
-
const
|
|
27491
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_11 = ["onClick"];
|
|
27492
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_12 = {
|
|
26884
27493
|
class: "exos-flex exos-items-center exos-justify-center exos-mt-2 exos-mb-8 exos-flex-col"
|
|
26885
27494
|
};
|
|
26886
|
-
const
|
|
27495
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_13 = {
|
|
26887
27496
|
key: 1,
|
|
26888
|
-
class: "exos-flex exos-justify-between exos-items-center exos-w-full"
|
|
27497
|
+
class: "exos-flex xs:max-md:exos-flex-col md:exos-flex-row xs:max-md:exos-space-y-1 exos-justify-between exos-items-center exos-w-full"
|
|
26889
27498
|
};
|
|
26890
|
-
const
|
|
27499
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_14 = {
|
|
26891
27500
|
class: "exos-min-w-[5rem] exos-flex exos-justify-center"
|
|
26892
27501
|
};
|
|
26893
|
-
const
|
|
26894
|
-
class: "exos-
|
|
27502
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_15 = {
|
|
27503
|
+
class: "exos-flex xs:max-md:exos-flex-col md:exos-flex-row xs:max-md:exos-space-y-1 exos-justify-center exos-items-center exos-w-full exos-h-full"
|
|
26895
27504
|
};
|
|
26896
|
-
const
|
|
27505
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_16 = {
|
|
27506
|
+
class: "xs:max-sm:exos-w-full sm:max-md:exos-w-[40%]"
|
|
27507
|
+
};
|
|
27508
|
+
const ETablevue_type_template_id_6ab87d66_hoisted_17 = {
|
|
26897
27509
|
class: "exos-min-w-[5rem] exos-flex exos-justify-center"
|
|
26898
27510
|
};
|
|
26899
|
-
function
|
|
27511
|
+
function ETablevue_type_template_id_6ab87d66_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26900
27512
|
const _component_EIcon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EIcon");
|
|
26901
27513
|
const _component_e_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("e-icon");
|
|
26902
27514
|
const _component_EPaginationTable = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EPaginationTable");
|
|
@@ -26905,11 +27517,11 @@ function ETablevue_type_template_id_47b3c5ac_render(_ctx, _cache, $props, $setup
|
|
|
26905
27517
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainClass)
|
|
26906
27518
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("table", {
|
|
26907
27519
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.tableClass)
|
|
26908
|
-
}, [$props.haveTitle ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("caption",
|
|
27520
|
+
}, [$props.haveTitle ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("caption", ETablevue_type_template_id_6ab87d66_hoisted_1, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.title), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("thead", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("tr", null, [$props.select ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("th", ETablevue_type_template_id_6ab87d66_hoisted_2, "Selecciona")) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($options.finalColumns, (col, indexCol) => {
|
|
26909
27521
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("th", {
|
|
26910
27522
|
key: 'col' + indexCol,
|
|
26911
27523
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)([$options.headerClass, $options.styleHeaderClass(indexCol)])
|
|
26912
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
27524
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETablevue_type_template_id_6ab87d66_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
26913
27525
|
class: "exos-text-center exos-cursor-default",
|
|
26914
27526
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)(col.style)
|
|
26915
27527
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(col.title), 5), col.sortable ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
@@ -26920,8 +27532,8 @@ function ETablevue_type_template_id_47b3c5ac_render(_ctx, _cache, $props, $setup
|
|
|
26920
27532
|
name: $data.sortBy === col.field ? $data.descending ? 'arrow_drop_down' : 'arrow_drop_up' : 'ebind:flechas-arriba-abajo',
|
|
26921
27533
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)([this.arrowsColor + ' exos-text-secondary dark:exos-text-secondary']),
|
|
26922
27534
|
size: $data.sortBy === col.field ? 'sm' : '1em'
|
|
26923
|
-
}, null, 8, ["name", "class", "size"])], 8,
|
|
26924
|
-
}), 128))]), $props.headerSeparator ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("tr",
|
|
27535
|
+
}, null, 8, ["name", "class", "size"])], 8, ETablevue_type_template_id_6ab87d66_hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 2);
|
|
27536
|
+
}), 128))]), $props.headerSeparator ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("tr", ETablevue_type_template_id_6ab87d66_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
26925
27537
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($props.headerSeparator)
|
|
26926
27538
|
}, null, 2)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("tbody", null, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($options.finalRows, ({
|
|
26927
27539
|
row,
|
|
@@ -26930,15 +27542,15 @@ function ETablevue_type_template_id_47b3c5ac_render(_ctx, _cache, $props, $setup
|
|
|
26930
27542
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("tr", {
|
|
26931
27543
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.bodyClass),
|
|
26932
27544
|
key: 'row' + indexRow
|
|
26933
|
-
}, [$props.select ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("td",
|
|
27545
|
+
}, [$props.select ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("td", ETablevue_type_template_id_6ab87d66_hoisted_6, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETablevue_type_template_id_6ab87d66_hoisted_7, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("label", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("input", {
|
|
26934
27546
|
type: "radio",
|
|
26935
27547
|
onClick: $event => $options.handleSelect(rowOrig)
|
|
26936
|
-
}, null, 8,
|
|
27548
|
+
}, null, 8, ETablevue_type_template_id_6ab87d66_hoisted_8)])])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($options.finalColumns, (col, indexCol) => {
|
|
26937
27549
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, {
|
|
26938
27550
|
key: 'col' + indexCol
|
|
26939
|
-
}, [!!_ctx.$slots[`cell-name-${col.
|
|
27551
|
+
}, [!!_ctx.$slots[`cell-name-${col.slot}`] ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, `cell-name-${col.slot}`, {
|
|
26940
27552
|
key: 0,
|
|
26941
|
-
value: row[col.
|
|
27553
|
+
value: row[col.finalField],
|
|
26942
27554
|
rowModified: row,
|
|
26943
27555
|
col: col,
|
|
26944
27556
|
class: "exos-text-center",
|
|
@@ -26948,9 +27560,9 @@ function ETablevue_type_template_id_47b3c5ac_render(_ctx, _cache, $props, $setup
|
|
|
26948
27560
|
key: 1,
|
|
26949
27561
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.styleRowClass(col, indexRow, $data.indexRowSelected)),
|
|
26950
27562
|
onClick: $event => col.isClickeable ? $options.handleClickEmit(row, col.field, col, indexRow) : false
|
|
26951
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
27563
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETablevue_type_template_id_6ab87d66_hoisted_10, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(row[col.finalField]), 1), col.copy ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
26952
27564
|
key: 0,
|
|
26953
|
-
onClick: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.handleCopyRow(
|
|
27565
|
+
onClick: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.handleCopyRow(rowOrig, col), ["stop"]),
|
|
26954
27566
|
class: "exos-flex exos-items-center exos-justify-center exos-ml-1 exos-cursor-pointer"
|
|
26955
27567
|
}, [_ctx.$slots.iconCopy ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconCopy", {
|
|
26956
27568
|
key: 0
|
|
@@ -26959,17 +27571,17 @@ function ETablevue_type_template_id_47b3c5ac_render(_ctx, _cache, $props, $setup
|
|
|
26959
27571
|
size: "xs",
|
|
26960
27572
|
name: "content_copy",
|
|
26961
27573
|
textColor: "exos-text-primary"
|
|
26962
|
-
}))], 8,
|
|
27574
|
+
}))], 8, ETablevue_type_template_id_6ab87d66_hoisted_11)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 10, ETablevue_type_template_id_6ab87d66_hoisted_9))], 64);
|
|
26963
27575
|
}), 128))], 2);
|
|
26964
|
-
}), 128))])], 2)], 2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
27576
|
+
}), 128))])], 2)], 2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETablevue_type_template_id_6ab87d66_hoisted_12, [$props.rows.length < 1 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
26965
27577
|
key: 0,
|
|
26966
27578
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)([$options.bodyClass, "exos-flex exos-items-center exos-justify-center exos-min-h-[10rem] exos-w-full"])
|
|
26967
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "noData", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)(" No existen datos para mostrar ")])], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $options.numPagesTotal !== null && $props.showPagination ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
27579
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "noData", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)(" No existen datos para mostrar ")])], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $options.numPagesTotal !== null && $props.showPagination ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ETablevue_type_template_id_6ab87d66_hoisted_13, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETablevue_type_template_id_6ab87d66_hoisted_14, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "btn-bl")]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETablevue_type_template_id_6ab87d66_hoisted_15, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EPaginationTable, {
|
|
26968
27580
|
numPagesTotal: $options.numPagesTotal,
|
|
26969
27581
|
modelValue: $data.currentPage,
|
|
26970
27582
|
"onUpdate:modelValue": [_cache[0] || (_cache[0] = $event => $data.currentPage = $event), _cache[1] || (_cache[1] = $event => $options.handleRequest(true))],
|
|
26971
27583
|
ref: "paginationRef"
|
|
26972
|
-
}, null, 8, ["numPagesTotal", "modelValue"])
|
|
27584
|
+
}, null, 8, ["numPagesTotal", "modelValue"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETablevue_type_template_id_6ab87d66_hoisted_16, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_ESelect, {
|
|
26973
27585
|
outline: false,
|
|
26974
27586
|
showClean: false,
|
|
26975
27587
|
shadowSize: "none",
|
|
@@ -26977,9 +27589,9 @@ function ETablevue_type_template_id_47b3c5ac_render(_ctx, _cache, $props, $setup
|
|
|
26977
27589
|
modelValue: $data.numRowsByPage,
|
|
26978
27590
|
"onUpdate:modelValue": [_cache[2] || (_cache[2] = $event => $data.numRowsByPage = $event), $options.handleReload],
|
|
26979
27591
|
options: $props.rowsByPage
|
|
26980
|
-
}, null, 8, ["bgColor", "modelValue", "options", "onUpdate:modelValue"])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
27592
|
+
}, null, 8, ["bgColor", "modelValue", "options", "onUpdate:modelValue"])])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETablevue_type_template_id_6ab87d66_hoisted_17, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "btn-br")])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 64);
|
|
26981
27593
|
}
|
|
26982
|
-
;// CONCATENATED MODULE: ./src/ui/components/table/ETable.vue?vue&type=template&id=
|
|
27594
|
+
;// CONCATENATED MODULE: ./src/ui/components/table/ETable.vue?vue&type=template&id=6ab87d66
|
|
26983
27595
|
|
|
26984
27596
|
;// CONCATENATED MODULE: ./node_modules/ramda/es/is.js
|
|
26985
27597
|
|
|
@@ -27306,7 +27918,7 @@ function message_show(type, content, config = null) {
|
|
|
27306
27918
|
return message === true ? true : notify.show(type, message);
|
|
27307
27919
|
}
|
|
27308
27920
|
const message = message_show;
|
|
27309
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
27921
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/table/ETable.vue?vue&type=script&lang=js
|
|
27310
27922
|
|
|
27311
27923
|
|
|
27312
27924
|
|
|
@@ -27796,10 +28408,8 @@ const message = message_show;
|
|
|
27796
28408
|
...row
|
|
27797
28409
|
};
|
|
27798
28410
|
this.finalColumns.map(col => {
|
|
27799
|
-
let
|
|
27800
|
-
aux[col.
|
|
27801
|
-
fieldObject: col.readObject ? col.readObject : 'label'
|
|
27802
|
-
}) : this.$filters[formater](row[col.field]);
|
|
28411
|
+
let valueRow = this.readInfoRow(col, row, true);
|
|
28412
|
+
aux[col.finalField] = valueRow;
|
|
27803
28413
|
});
|
|
27804
28414
|
return {
|
|
27805
28415
|
row: aux,
|
|
@@ -27828,6 +28438,8 @@ const message = message_show;
|
|
|
27828
28438
|
...col
|
|
27829
28439
|
};
|
|
27830
28440
|
colCopy.formater = colCopy.formater ? colCopy.formater : 'formatInfo';
|
|
28441
|
+
colCopy.slot = col.field?.replace(/ /g, '')?.split('.')?.[0];
|
|
28442
|
+
colCopy.finalField = colCopy.slot;
|
|
27831
28443
|
return colCopy;
|
|
27832
28444
|
});
|
|
27833
28445
|
return aux;
|
|
@@ -27851,6 +28463,21 @@ const message = message_show;
|
|
|
27851
28463
|
}
|
|
27852
28464
|
},
|
|
27853
28465
|
methods: {
|
|
28466
|
+
readInfoRow(column, row, withFormat = false) {
|
|
28467
|
+
let {
|
|
28468
|
+
field,
|
|
28469
|
+
format,
|
|
28470
|
+
readObject,
|
|
28471
|
+
formater = 'formatInfo'
|
|
28472
|
+
} = column;
|
|
28473
|
+
field = readObject ? `${field}.${readObject}` : field;
|
|
28474
|
+
let nestedField = null;
|
|
28475
|
+
let valueOfRow = null;
|
|
28476
|
+
nestedField = field.replace(/ /g, '');
|
|
28477
|
+
valueOfRow = this.$filters.getFromNestedObject(row, nestedField);
|
|
28478
|
+
format = format ? format : this.$filters[formater];
|
|
28479
|
+
return withFormat ? this.$filters.formatInfo(format(valueOfRow)) : valueOfRow;
|
|
28480
|
+
},
|
|
27854
28481
|
structureColumns(columnsArray) {
|
|
27855
28482
|
if (!columnsArray) {
|
|
27856
28483
|
return [];
|
|
@@ -27918,25 +28545,15 @@ const message = message_show;
|
|
|
27918
28545
|
const y = descending ? a : b;
|
|
27919
28546
|
let columnInfo = this.finalColumns.find(col => col.field === sortBy);
|
|
27920
28547
|
if (columnInfo.type === 'Number' || columnInfo.type === 'numeric' || columnInfo.typeSort === 'Number' || columnInfo.typeSort === 'numeric') {
|
|
27921
|
-
|
|
27922
|
-
let
|
|
27923
|
-
let auxB = this.$filters.getFromNestedObject(y, sortBy + `${columnInfo.readObject ? '.' + columnInfo.readObject : ''}`);
|
|
28548
|
+
let auxA = this.readInfoRow(columnInfo, x);
|
|
28549
|
+
let auxB = this.readInfoRow(columnInfo, y);
|
|
27924
28550
|
return parseFloat(auxA ? auxA : '0.0') - parseFloat(auxB ? auxB : '0.0');
|
|
27925
28551
|
} else {
|
|
27926
28552
|
// string sort
|
|
27927
28553
|
let xFormated;
|
|
27928
28554
|
let yFormated;
|
|
27929
|
-
|
|
27930
|
-
|
|
27931
|
-
yFormated = columnInfo.format(y[columnInfo.field], y);
|
|
27932
|
-
} else {
|
|
27933
|
-
let formater = columnInfo.formater ? columnInfo.formater : 'formatInfo';
|
|
27934
|
-
let config = formater == 'formatInfo' ? {
|
|
27935
|
-
fieldObject: columnInfo.readObject
|
|
27936
|
-
} : null;
|
|
27937
|
-
xFormated = this.$filters[formater](x[columnInfo.field], config);
|
|
27938
|
-
yFormated = this.$filters[formater](y[columnInfo.field], config);
|
|
27939
|
-
}
|
|
28555
|
+
xFormated = this.readInfoRow(columnInfo, x, true);
|
|
28556
|
+
yFormated = this.readInfoRow(columnInfo, y, true);
|
|
27940
28557
|
return xFormated.toString().toLowerCase().localeCompare(yFormated.toString().toLowerCase());
|
|
27941
28558
|
}
|
|
27942
28559
|
});
|
|
@@ -28027,8 +28644,9 @@ const message = message_show;
|
|
|
28027
28644
|
* @public Éste es un método público
|
|
28028
28645
|
*/
|
|
28029
28646
|
handleCopyRow(rowTable, col) {
|
|
28030
|
-
let finalField = col.copy ?? col.
|
|
28031
|
-
|
|
28647
|
+
let finalField = col.copy ?? col.finalField ?? '';
|
|
28648
|
+
finalField = finalField.replace(/ /g, '');
|
|
28649
|
+
let textoACopiar = this.$filters.getFromNestedObject(rowTable, finalField);
|
|
28032
28650
|
const self = this;
|
|
28033
28651
|
navigator.clipboard.writeText(textoACopiar).then(function () {
|
|
28034
28652
|
/**
|
|
@@ -28086,10 +28704,123 @@ if (typeof (ETablevue_type_custom_index_0_blockType_docs_lang_md_default()) ===
|
|
|
28086
28704
|
|
|
28087
28705
|
|
|
28088
28706
|
;
|
|
28089
|
-
const ETable_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ETablevue_type_script_lang_js, [['render',
|
|
28707
|
+
const ETable_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ETablevue_type_script_lang_js, [['render',ETablevue_type_template_id_6ab87d66_render]])
|
|
28090
28708
|
|
|
28091
28709
|
/* harmony default export */ var ETable = (ETable_exports_);
|
|
28092
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
28710
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/tab/ETab.vue?vue&type=script&setup=true&lang=js
|
|
28711
|
+
|
|
28712
|
+
const ETabvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
28713
|
+
class: "e-tab"
|
|
28714
|
+
};
|
|
28715
|
+
const ETabvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
28716
|
+
class: "e-tab__header"
|
|
28717
|
+
};
|
|
28718
|
+
const ETabvue_type_script_setup_true_lang_js_hoisted_3 = {
|
|
28719
|
+
class: "e-tab__options-group"
|
|
28720
|
+
};
|
|
28721
|
+
const ETabvue_type_script_setup_true_lang_js_hoisted_4 = ["onClick"];
|
|
28722
|
+
const ETabvue_type_script_setup_true_lang_js_hoisted_5 = {
|
|
28723
|
+
class: "e-tab__container"
|
|
28724
|
+
};
|
|
28725
|
+
|
|
28726
|
+
/* harmony default export */ var ETabvue_type_script_setup_true_lang_js = ({
|
|
28727
|
+
__name: 'ETab',
|
|
28728
|
+
props: {
|
|
28729
|
+
/**
|
|
28730
|
+
* Valor del elemento seleccionado
|
|
28731
|
+
*/
|
|
28732
|
+
modelValue: {
|
|
28733
|
+
default: null
|
|
28734
|
+
},
|
|
28735
|
+
/**
|
|
28736
|
+
* Arreglo de objetos que definen cada opción.
|
|
28737
|
+
* Sus campos son label y value {label, value}
|
|
28738
|
+
* Para cambiar el campo value puede usar el prop "option-value"
|
|
28739
|
+
* Para cambiar el campo label puede usar el prop "option-label"
|
|
28740
|
+
*/
|
|
28741
|
+
options: {
|
|
28742
|
+
type: Array,
|
|
28743
|
+
default: () => []
|
|
28744
|
+
},
|
|
28745
|
+
/**
|
|
28746
|
+
* Indica el campo de la opcion que se utilizara para emitir al seleccionar una opcion
|
|
28747
|
+
*/
|
|
28748
|
+
optionValue: {
|
|
28749
|
+
type: String,
|
|
28750
|
+
default: 'value'
|
|
28751
|
+
},
|
|
28752
|
+
/**
|
|
28753
|
+
* Indica el campo de la opcion que se utilizara para obtener el texto de una opcion
|
|
28754
|
+
*/
|
|
28755
|
+
optionLabel: {
|
|
28756
|
+
type: String,
|
|
28757
|
+
default: 'label'
|
|
28758
|
+
},
|
|
28759
|
+
/**
|
|
28760
|
+
* Bandera para poder emitir todo el objeto de la opcion seleccionada, en caso de estar en false emite el valor del campo seleccionado en "option-value"
|
|
28761
|
+
*/
|
|
28762
|
+
fullEmit: {
|
|
28763
|
+
type: Boolean,
|
|
28764
|
+
default: false
|
|
28765
|
+
},
|
|
28766
|
+
/**
|
|
28767
|
+
* Bandera para desactivar los clicks en las opciones
|
|
28768
|
+
*/
|
|
28769
|
+
onlyRead: {
|
|
28770
|
+
type: Boolean,
|
|
28771
|
+
default: false
|
|
28772
|
+
}
|
|
28773
|
+
},
|
|
28774
|
+
emits: ['update:modelValue'],
|
|
28775
|
+
setup(__props, {
|
|
28776
|
+
emit: __emit
|
|
28777
|
+
}) {
|
|
28778
|
+
const props = __props;
|
|
28779
|
+
const $emit = __emit;
|
|
28780
|
+
const optionSelected = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
|
|
28781
|
+
let optionSelected = props.fullEmit ? props.modelValue?.[props.optionValue] : props.modelValue;
|
|
28782
|
+
return optionSelected;
|
|
28783
|
+
});
|
|
28784
|
+
function handleSelected(option) {
|
|
28785
|
+
let valueToEmit = props.fullEmit ? {
|
|
28786
|
+
...option
|
|
28787
|
+
} : option[props.optionValue];
|
|
28788
|
+
/**
|
|
28789
|
+
* Se emite al seleccionar una opción.
|
|
28790
|
+
*
|
|
28791
|
+
* @event update:modelValue
|
|
28792
|
+
* @type {Event}
|
|
28793
|
+
* @property valor de la opción, si se tiene activa la bandera "full-emit" emite todo el objeto de la opción, en caso que no este activa emite el valor del campo indicado en el prop "option-value"
|
|
28794
|
+
*/
|
|
28795
|
+
$emit('update:modelValue', valueToEmit);
|
|
28796
|
+
}
|
|
28797
|
+
return (_ctx, _cache) => {
|
|
28798
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ETabvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETabvue_type_script_setup_true_lang_js_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
28799
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["e-tab__title", _ctx.$slots.title ? 'exos-bg-red' : ''])
|
|
28800
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "title")], 2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETabvue_type_script_setup_true_lang_js_hoisted_3, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)(props.options, (option, index) => {
|
|
28801
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
28802
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["e-tab__option", `${option[props.optionValue] == optionSelected.value ? 'e-tab__option-selected' : ''} ${props.onlyRead ? '' : 'e-tab__only-read'}`]),
|
|
28803
|
+
key: 'tabOpt' + index,
|
|
28804
|
+
onClick: $event => !props.onlyRead ? handleSelected(option) : false
|
|
28805
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(option[props.optionLabel]), 11, ETabvue_type_script_setup_true_lang_js_hoisted_4);
|
|
28806
|
+
}), 128))])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ETabvue_type_script_setup_true_lang_js_hoisted_5, [_ctx.$slots[`tab-${optionSelected.value}`] ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, `tab-${optionSelected.value}`, {
|
|
28807
|
+
key: 0
|
|
28808
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), !_ctx.$slots[`tab-${optionSelected.value}`] ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default", {
|
|
28809
|
+
key: 1
|
|
28810
|
+
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])]);
|
|
28811
|
+
};
|
|
28812
|
+
}
|
|
28813
|
+
});
|
|
28814
|
+
;// CONCATENATED MODULE: ./src/ui/components/tab/ETab.vue?vue&type=script&setup=true&lang=js
|
|
28815
|
+
|
|
28816
|
+
;// CONCATENATED MODULE: ./src/ui/components/tab/ETab.vue
|
|
28817
|
+
|
|
28818
|
+
|
|
28819
|
+
|
|
28820
|
+
const ETab_exports_ = ETabvue_type_script_setup_true_lang_js;
|
|
28821
|
+
|
|
28822
|
+
/* harmony default export */ var ETab = (ETab_exports_);
|
|
28823
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/stepper/EStepper.vue?vue&type=script&setup=true&lang=js
|
|
28093
28824
|
|
|
28094
28825
|
const ESteppervue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
28095
28826
|
class: "e-stepper__container"
|
|
@@ -28199,7 +28930,7 @@ if (typeof (ESteppervue_type_custom_index_0_blockType_docs_lang_md_default()) ==
|
|
|
28199
28930
|
const EStepper_exports_ = ESteppervue_type_script_setup_true_lang_js;
|
|
28200
28931
|
|
|
28201
28932
|
/* harmony default export */ var EStepper = (EStepper_exports_);
|
|
28202
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
28933
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/btnGroup/EBtnGroup.vue?vue&type=script&setup=true&lang=js
|
|
28203
28934
|
|
|
28204
28935
|
|
|
28205
28936
|
/* harmony default export */ var EBtnGroupvue_type_script_setup_true_lang_js = ({
|
|
@@ -28287,7 +29018,7 @@ const EStepper_exports_ = ESteppervue_type_script_setup_true_lang_js;
|
|
|
28287
29018
|
const EBtnGroup_exports_ = EBtnGroupvue_type_script_setup_true_lang_js;
|
|
28288
29019
|
|
|
28289
29020
|
/* harmony default export */ var EBtnGroup = (EBtnGroup_exports_);
|
|
28290
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-
|
|
29021
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/btnToggle/EBtnToggle.vue?vue&type=script&setup=true&lang=js
|
|
28291
29022
|
|
|
28292
29023
|
|
|
28293
29024
|
|
|
@@ -28421,6 +29152,22 @@ const EBtnGroup_exports_ = EBtnGroupvue_type_script_setup_true_lang_js;
|
|
|
28421
29152
|
type: Boolean,
|
|
28422
29153
|
default: false,
|
|
28423
29154
|
description: 'Indica que el contenido inyectado en el slot debe estár situado a la izquierda del texto del botón.'
|
|
29155
|
+
},
|
|
29156
|
+
/**
|
|
29157
|
+
* Emite todo el objeto de la opcion seleccionada
|
|
29158
|
+
*/
|
|
29159
|
+
fullEmit: {
|
|
29160
|
+
type: Boolean,
|
|
29161
|
+
default: false,
|
|
29162
|
+
description: 'Emite todo el objeto de la opcion seleccionada'
|
|
29163
|
+
},
|
|
29164
|
+
/**
|
|
29165
|
+
* Emite todo el objeto de la opcion seleccionada
|
|
29166
|
+
*/
|
|
29167
|
+
valueField: {
|
|
29168
|
+
type: String,
|
|
29169
|
+
default: 'value',
|
|
29170
|
+
description: 'Emite todo el objeto de la opcion seleccionada'
|
|
28424
29171
|
}
|
|
28425
29172
|
},
|
|
28426
29173
|
emits: [
|
|
@@ -28457,11 +29204,20 @@ const EBtnGroup_exports_ = EBtnGroupvue_type_script_setup_true_lang_js;
|
|
|
28457
29204
|
return contentToggleClasses;
|
|
28458
29205
|
});
|
|
28459
29206
|
|
|
29207
|
+
/**
|
|
29208
|
+
* Asigna las clases al contenido dentro del toggle.
|
|
29209
|
+
*/
|
|
29210
|
+
const selectedKey = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
|
|
29211
|
+
let selectedKey = null;
|
|
29212
|
+
selectedKey = props.fullEmit ? props.modelValue?.[props.valueField] : props.modelValue;
|
|
29213
|
+
return selectedKey;
|
|
29214
|
+
});
|
|
29215
|
+
|
|
28460
29216
|
/**
|
|
28461
29217
|
* Busca que existe coincidencias entre el valor de modelValue y el valor del botón pasado como parámetro.
|
|
28462
29218
|
*/
|
|
28463
29219
|
const searchSelected = btn => {
|
|
28464
|
-
return btn.
|
|
29220
|
+
return btn?.[props.valueField] === selectedKey.value;
|
|
28465
29221
|
};
|
|
28466
29222
|
|
|
28467
29223
|
/**
|
|
@@ -28482,7 +29238,7 @@ const EBtnGroup_exports_ = EBtnGroupvue_type_script_setup_true_lang_js;
|
|
|
28482
29238
|
* Maneja el evento click de cada botón que conforman el componente.
|
|
28483
29239
|
*/
|
|
28484
29240
|
const handleToggleBtnClick = button => {
|
|
28485
|
-
emit('update:modelValue', button.
|
|
29241
|
+
emit('update:modelValue', props.fullEmit ? button : button?.[props.valueField]);
|
|
28486
29242
|
if (searchSelected(button)) emit('clear');
|
|
28487
29243
|
};
|
|
28488
29244
|
return (_ctx, _cache) => {
|
|
@@ -28490,7 +29246,7 @@ const EBtnGroup_exports_ = EBtnGroupvue_type_script_setup_true_lang_js;
|
|
|
28490
29246
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(toggleContainer.value)
|
|
28491
29247
|
}, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)(__props.options, button => {
|
|
28492
29248
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(EBtn, {
|
|
28493
|
-
key: button.
|
|
29249
|
+
key: button?.[props.valueField],
|
|
28494
29250
|
disabled: __props.disabled,
|
|
28495
29251
|
padding: __props.padding,
|
|
28496
29252
|
shadowSize: __props.shadowSize,
|
|
@@ -28527,141 +29283,1451 @@ if (typeof (EBtnTogglevue_type_custom_index_0_blockType_docs_lang_md_default())
|
|
|
28527
29283
|
const EBtnToggle_exports_ = EBtnTogglevue_type_script_setup_true_lang_js;
|
|
28528
29284
|
|
|
28529
29285
|
/* harmony default export */ var EBtnToggle = (EBtnToggle_exports_);
|
|
28530
|
-
;// CONCATENATED MODULE: ./src/components/
|
|
28531
|
-
function createLoadingHTML(config) {
|
|
28532
|
-
const color = config?.color ?? '#FAFAFA';
|
|
28533
|
-
const textColor = config?.project === 'galaxy' ? config?.textColor ?? 'exos-text-[#7F7E9E]' : 'exos-text-[#FAFAFA]';
|
|
28534
|
-
const services = `
|
|
28535
|
-
<div id="loadingApp" class="exos-fixed exos-inset-0 exos-flex exos-flex-col exos-space-y-5 exos-items-center exos-justify-center exos-bg-zinc-500 exos-bg-opacity-40 exos-z-50">
|
|
28536
|
-
<div class="exos-animate-spin">
|
|
28537
|
-
<svg
|
|
28538
|
-
id="Capa_1"
|
|
28539
|
-
data-name="Capa 1"
|
|
28540
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
28541
|
-
viewBox="0 0 185.24 191"
|
|
28542
|
-
style="width: 10.62rem;"
|
|
28543
|
-
>
|
|
28544
|
-
<path
|
|
28545
|
-
class="cls-1"
|
|
28546
|
-
fill="${color}"
|
|
28547
|
-
d="m185.24,95.51c-.01,52.74-42.76,95.49-95.51,95.49-40.11,0-75.95-25.06-89.73-62.73l5.94-1.16,3.52-.69,10.84-2.1c11.44,28.38,38.95,46.97,69.54,46.96,41.38,0,74.92-33.54,74.92-74.92S131.23,21.43,89.85,21.43h-.13c-16.36,0-32.27,5.39-45.28,15.32l-8.37-8.2-2.54-2.5-4.42-4.33C46.18,7.65,67.62-.03,89.73,0,142.48,0,185.24,42.76,185.24,95.51Z"
|
|
28548
|
-
/>
|
|
28549
|
-
<g id="Elipse_349" data-name="Elipse 349">
|
|
28550
|
-
<path
|
|
28551
|
-
class="cls-1"
|
|
28552
|
-
fill="${color}"
|
|
28553
|
-
d="m90.03,9.67C41.77,9.67,2.65,48.78,2.65,97.05s39.11,87.38,87.38,87.38,87.38-39.13,87.38-87.38S138.29,9.67,90.03,9.67Zm0,171.29c-46.35,0-83.91-37.57-83.91-83.91S43.68,13.14,90.03,13.14s83.91,37.56,83.91,83.91-37.57,83.91-83.91,83.91Z"
|
|
28554
|
-
/>
|
|
28555
|
-
</g>
|
|
28556
|
-
</svg>
|
|
28557
|
-
</div>
|
|
28558
|
-
${config?.message ? `<p class="${textColor} exos-text-3xl exos-font-bold">${config.message}</p>` : ''}
|
|
28559
|
-
</div>`;
|
|
28560
|
-
const galaxy = `
|
|
28561
|
-
<div id="loadingApp">
|
|
28562
|
-
<div class="exos-fixed exos-inset-0 exos-flex exos-flex-col exos-items-center exos-justify-center exos-z-50 exos-backdrop-blur-sm">
|
|
28563
|
-
<div>
|
|
28564
|
-
<svg width="81" height="118" viewBox="0 0 81 118" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
28565
|
-
<path d="M73.0041 19.9278C70.7132 19.9276 68.4571 20.4878 66.4324 21.5596C64.4077 22.6314 62.6759 24.1822 61.3881 26.0768L61.3011 26.2078L55.0791 35.3978L60.4881 43.5048L62.8371 47.0288L63.6491 45.7958L79.7171 21.6348L80.8481 19.9238L73.0041 19.9278Z" fill="#7F7E9E"/>
|
|
28566
|
-
<path d="M79.7142 96.0231L65.4142 74.4411L65.2402 74.1801L62.8622 70.5801L60.4842 74.1801L55.0342 82.4171L61.0812 91.4951L61.2112 91.6951C62.5018 93.5848 64.2349 95.1304 66.2595 96.197C68.2841 97.2637 70.5388 97.8192 72.8272 97.8151H80.8902V97.7571L79.7302 95.9881L79.7142 96.0231Z" fill="#7F7E9E"/>
|
|
28567
|
-
<path d="M8.35212 0.00195454C10.5725 0.000956507 12.7613 0.527679 14.7382 1.5387C16.715 2.54973 18.4233 4.0161 19.7221 5.81695L20.3461 6.75995L20.5781 7.10795L47.2471 47.09L47.2901 47.032L55.0491 58.764L23.3491 106.447L20.6081 110.667L20.1731 111.305C18.8757 113.132 17.1596 114.622 15.1684 115.649C13.1772 116.677 10.9689 117.213 8.72812 117.212H0.565113L1.79811 115.37L15.0671 95.183L39.4161 58.812L17.0281 25.134L1.50711 1.79995L0.318115 0.0119548H8.36712L8.35212 0.00195454Z" fill="#7F7E9E"/>
|
|
28568
|
-
</svg>
|
|
28569
|
-
<div class="exos-fixed exos-inset-0 exos-flex exos-items-center exos-justify-center">
|
|
28570
|
-
<div role="status">
|
|
28571
|
-
<svg aria-hidden="true" class="exos-inline exos-h-52 exos-text-gray-200 dark:exos-text-[#7F7E9E] exos-animate-spin-galaxy" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
28572
|
-
<defs>
|
|
28573
|
-
<linearGradient id="linearGradient1" gradientTransform="rotate(30 .5 .5)">
|
|
28574
|
-
<stop offset="0%" stop-color="#00d0ff"></stop>
|
|
28575
|
-
<stop offset="100%" stop-color="#a700ff"></stop>
|
|
28576
|
-
</linearGradient>
|
|
28577
|
-
</defs>
|
|
28578
|
-
<path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"/>
|
|
28579
|
-
<path fill="url(#linearGradient1)" d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"/>
|
|
28580
|
-
</svg>
|
|
28581
|
-
</div>
|
|
28582
|
-
</div>
|
|
28583
|
-
</div>
|
|
28584
|
-
${config?.message ? `<p class="${textColor} exos-text-3xl exos-font-bold exos-fixed exos-mt-80 exos-z-50">${config.message}</p>` : ''}
|
|
28585
|
-
</div>
|
|
28586
|
-
</div>`;
|
|
28587
|
-
switch (config?.project) {
|
|
28588
|
-
case 'services':
|
|
28589
|
-
return services;
|
|
28590
|
-
case 'galaxy':
|
|
28591
|
-
return galaxy;
|
|
28592
|
-
default:
|
|
28593
|
-
return services;
|
|
28594
|
-
}
|
|
28595
|
-
}
|
|
28596
|
-
function loading_show(config) {
|
|
28597
|
-
const html = createLoadingHTML(config);
|
|
28598
|
-
const newDiv = document.createElement('div');
|
|
28599
|
-
newDiv.innerHTML = html;
|
|
28600
|
-
document.body.appendChild(newDiv);
|
|
28601
|
-
}
|
|
28602
|
-
function loading_hide() {
|
|
28603
|
-
let loadingApp = document.getElementById('loadingApp');
|
|
28604
|
-
loadingApp.remove();
|
|
28605
|
-
}
|
|
28606
|
-
const loading = {
|
|
28607
|
-
show: loading_show,
|
|
28608
|
-
hide: loading_hide
|
|
28609
|
-
};
|
|
28610
|
-
;// CONCATENATED MODULE: ./src/exos-library-components.js
|
|
28611
|
-
|
|
28612
|
-
|
|
28613
|
-
|
|
28614
|
-
|
|
28615
|
-
|
|
28616
|
-
|
|
28617
|
-
|
|
28618
|
-
|
|
28619
|
-
|
|
28620
|
-
|
|
28621
|
-
|
|
28622
|
-
|
|
28623
|
-
|
|
28624
|
-
|
|
28625
|
-
|
|
28626
|
-
|
|
28627
|
-
|
|
28628
|
-
|
|
28629
|
-
|
|
28630
|
-
|
|
28631
|
-
|
|
28632
|
-
|
|
28633
|
-
|
|
28634
|
-
|
|
28635
|
-
|
|
28636
|
-
|
|
28637
|
-
//import EFilePicker from './ui/components/filePicker/EFilePicker.vue';
|
|
29286
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/filePicker/EFilePicker.vue?vue&type=template&id=0f4c3262
|
|
28638
29287
|
|
|
29288
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_1 = {
|
|
29289
|
+
class: "exos-flex exos-w-full exos-flex-col exos-space-y-1"
|
|
29290
|
+
};
|
|
29291
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_2 = ["accept", "multiple", "disabled", "id"];
|
|
29292
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_3 = ["for"];
|
|
29293
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_4 = {
|
|
29294
|
+
key: 0
|
|
29295
|
+
};
|
|
29296
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_5 = {
|
|
29297
|
+
key: 0,
|
|
29298
|
+
class: "exos-w-full exos-space-y-1"
|
|
29299
|
+
};
|
|
29300
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_6 = {
|
|
29301
|
+
class: "exos-flex exos-space-x-2"
|
|
29302
|
+
};
|
|
29303
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_7 = {
|
|
29304
|
+
class: "e-inputFile__containerFileInfo"
|
|
29305
|
+
};
|
|
29306
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_8 = ["onClick"];
|
|
29307
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_9 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
|
|
29308
|
+
stroke: "currentColor",
|
|
29309
|
+
"stroke-linecap": "round",
|
|
29310
|
+
"stroke-linejoin": "round",
|
|
29311
|
+
"stroke-width": "2",
|
|
29312
|
+
d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
|
|
29313
|
+
}, null, -1);
|
|
29314
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_10 = [EFilePickervue_type_template_id_0f4c3262_hoisted_9];
|
|
29315
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_11 = {
|
|
29316
|
+
key: 1,
|
|
29317
|
+
class: "exos-w-4 exos-h-4 exos-text-secondary exos-opacity-60 hover:exos-opacity-100 dark:exos-text-white",
|
|
29318
|
+
"aria-hidden": "true",
|
|
29319
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29320
|
+
fill: "none",
|
|
29321
|
+
viewBox: "0 0 15 15"
|
|
29322
|
+
};
|
|
29323
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_12 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
|
|
29324
|
+
stroke: "currentColor",
|
|
29325
|
+
"stroke-linecap": "round",
|
|
29326
|
+
"stroke-linejoin": "round",
|
|
29327
|
+
"stroke-width": "2",
|
|
29328
|
+
d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
|
|
29329
|
+
}, null, -1);
|
|
29330
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_13 = [EFilePickervue_type_template_id_0f4c3262_hoisted_12];
|
|
29331
|
+
const EFilePickervue_type_template_id_0f4c3262_hoisted_14 = {
|
|
29332
|
+
key: 1,
|
|
29333
|
+
class: "e-inputFile__message--error"
|
|
29334
|
+
};
|
|
29335
|
+
function EFilePickervue_type_template_id_0f4c3262_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29336
|
+
const _component_EIcon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EIcon");
|
|
29337
|
+
const _component_EFileViewer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EFileViewer");
|
|
29338
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EFilePickervue_type_template_id_0f4c3262_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
29339
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainContainerClass)
|
|
29340
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("input", {
|
|
29341
|
+
type: "file",
|
|
29342
|
+
placeholder: " ",
|
|
29343
|
+
accept: $props.accept,
|
|
29344
|
+
multiple: $props.multiple,
|
|
29345
|
+
disabled: $props.disabled,
|
|
29346
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainClass),
|
|
29347
|
+
id: 'inputFile-' + $props.label,
|
|
29348
|
+
onChange: _cache[0] || (_cache[0] = (...args) => $options.handleFileChange && $options.handleFileChange(...args))
|
|
29349
|
+
}, null, 42, EFilePickervue_type_template_id_0f4c3262_hoisted_2), !$props.modelValue ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("label", {
|
|
29350
|
+
key: 0,
|
|
29351
|
+
for: 'inputFile-' + $props.label,
|
|
29352
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.labelClass)
|
|
29353
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
29354
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.labelBoxClass)
|
|
29355
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "content", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EIcon, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.guardReactiveProps)($options.iconInfo)), null, 16), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.label) + " ", 1), $props.required ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", EFilePickervue_type_template_id_0f4c3262_hoisted_4, "*")) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])])], 2)], 10, EFilePickervue_type_template_id_0f4c3262_hoisted_3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $options.labelSelected ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
29356
|
+
key: 1,
|
|
29357
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.labelSelectedClass)
|
|
29358
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
29359
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.containerFileClass)
|
|
29360
|
+
}, [$props.multiple ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EFilePickervue_type_template_id_0f4c3262_hoisted_5, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($options.labelSelected, (file, index) => {
|
|
29361
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
29362
|
+
key: index,
|
|
29363
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.fileBoxContainer)
|
|
29364
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFilePickervue_type_template_id_0f4c3262_hoisted_6, [$props.fileIcon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_EIcon, {
|
|
29365
|
+
key: 0,
|
|
29366
|
+
name: $options.typeFileIconName(file.type),
|
|
29367
|
+
color: "exos-text-secondary"
|
|
29368
|
+
}, null, 8, ["name"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(file.name), 1), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFilePickervue_type_template_id_0f4c3262_hoisted_7, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "fileDescription")])])]), $props.useTags ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", {
|
|
29369
|
+
key: 0,
|
|
29370
|
+
fill: "none",
|
|
29371
|
+
"aria-hidden": "true",
|
|
29372
|
+
viewBox: "0 0 15 15",
|
|
29373
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29374
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.iconCloseTagClass),
|
|
29375
|
+
onClick: $event => $options.handleCloseOneFile(index)
|
|
29376
|
+
}, EFilePickervue_type_template_id_0f4c3262_hoisted_10, 10, EFilePickervue_type_template_id_0f4c3262_hoisted_8)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
|
|
29377
|
+
}), 128))])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
29378
|
+
key: 1,
|
|
29379
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.fileBoxContainer)
|
|
29380
|
+
}, [$props.fileIcon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_EIcon, {
|
|
29381
|
+
key: 0,
|
|
29382
|
+
name: $options.typeFileIconName($options.labelSelected.type),
|
|
29383
|
+
color: "exos-text-secondary"
|
|
29384
|
+
}, null, 8, ["name"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
|
|
29385
|
+
onClick: _cache[1] || (_cache[1] = (...args) => $options.openFileViewer && $options.openFileViewer(...args)),
|
|
29386
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($props.onlyRead ? 'exos-z-20 exos-cursor-pointer' : '')
|
|
29387
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.labelSelected.name), 3), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "fileDescription")], 2))], 2)], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), !!$props.modelValue && !$props.disabled && $props.showCleanBtn ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
29388
|
+
key: 2,
|
|
29389
|
+
onClick: _cache[2] || (_cache[2] = (...args) => $options.clean && $options.clean(...args)),
|
|
29390
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.iconCloseClass)
|
|
29391
|
+
}, [_ctx.$slots.iconClose ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconClose", {
|
|
29392
|
+
key: 0
|
|
29393
|
+
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", EFilePickervue_type_template_id_0f4c3262_hoisted_11, EFilePickervue_type_template_id_0f4c3262_hoisted_13))], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2), $props.counter || $props.counterLabel ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
29394
|
+
key: 0,
|
|
29395
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.containerFileInfoClass)
|
|
29396
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.formattedFileInfo), 3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), !!$data.messageError ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EFilePickervue_type_template_id_0f4c3262_hoisted_14, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($data.messageError), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EFileViewer, {
|
|
29397
|
+
data: $data.fileToview,
|
|
29398
|
+
fileName: $data.nameFile,
|
|
29399
|
+
extention: $data.extensionFile,
|
|
29400
|
+
onClose: _cache[3] || (_cache[3] = $event => $data.fileToview = null)
|
|
29401
|
+
}, null, 8, ["data", "fileName", "extention"])]);
|
|
29402
|
+
}
|
|
29403
|
+
;// CONCATENATED MODULE: ./src/ui/components/filePicker/EFilePicker.vue?vue&type=template&id=0f4c3262
|
|
28639
29404
|
|
|
29405
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/filePicker/EFilePicker.vue?vue&type=script&lang=js
|
|
28640
29406
|
|
|
28641
29407
|
|
|
28642
29408
|
|
|
28643
|
-
|
|
28644
|
-
|
|
28645
|
-
|
|
28646
|
-
|
|
28647
|
-
|
|
28648
|
-
|
|
28649
|
-
|
|
28650
|
-
|
|
28651
|
-
|
|
28652
|
-
|
|
28653
|
-
|
|
28654
|
-
|
|
28655
|
-
|
|
28656
|
-
|
|
28657
|
-
|
|
28658
|
-
|
|
28659
|
-
|
|
28660
|
-
|
|
28661
|
-
|
|
28662
|
-
|
|
28663
|
-
|
|
28664
|
-
|
|
29409
|
+
/* harmony default export */ var EFilePickervue_type_script_lang_js = ({
|
|
29410
|
+
name: 'EFilePicker',
|
|
29411
|
+
EFileViewer: EFileViewer,
|
|
29412
|
+
mixins: [(mixins_default())],
|
|
29413
|
+
props: {
|
|
29414
|
+
/**
|
|
29415
|
+
* Valor que se le asignará al componente ESelect.
|
|
29416
|
+
*/
|
|
29417
|
+
modelValue: {
|
|
29418
|
+
required: true,
|
|
29419
|
+
default: null
|
|
29420
|
+
},
|
|
29421
|
+
/**
|
|
29422
|
+
* Muestra el botón para eliminar el valor del componente
|
|
29423
|
+
*/
|
|
29424
|
+
showCleanBtn: {
|
|
29425
|
+
type: Boolean,
|
|
29426
|
+
default: false
|
|
29427
|
+
},
|
|
29428
|
+
/**
|
|
29429
|
+
* Si es true, el ícono estará en el lado derecho del componente; de lo contrario, en el lado izquierdo.
|
|
29430
|
+
*/
|
|
29431
|
+
iconRight: {
|
|
29432
|
+
type: Boolean,
|
|
29433
|
+
default: false,
|
|
29434
|
+
description: 'En caso de ser true el ícono deberá estár del lado derecho del componente, de lo contrario del lado izquierdo.'
|
|
29435
|
+
},
|
|
29436
|
+
/**
|
|
29437
|
+
* Etiqueta que indicará el valor solicitado para el componene.
|
|
29438
|
+
*/
|
|
29439
|
+
label: {
|
|
29440
|
+
type: String,
|
|
29441
|
+
default: 'Seleccione un archivo',
|
|
29442
|
+
description: 'Una etiqueta de texto que "flotará" sobre el campo de entrada, una vez que el campo se enfoque.'
|
|
29443
|
+
},
|
|
29444
|
+
/**
|
|
29445
|
+
* Setea el color del texto del label, y se puede agregar para los modos light y dark y estados como hover.<br>
|
|
29446
|
+
* Ej:<br>labelColor="text-gray-500 dark:text-whit hover:text-green-300"
|
|
29447
|
+
*/
|
|
29448
|
+
labelColor: {
|
|
29449
|
+
type: String,
|
|
29450
|
+
default: null,
|
|
29451
|
+
description: 'Setea el color del texto del label, y se puede agregar para los modos light y dark y estados como hover.'
|
|
29452
|
+
},
|
|
29453
|
+
/**
|
|
29454
|
+
* Setea el color del texto del label cuando no hay valores, y se puede agregar para los modos light y dark y estados como hover.<br>
|
|
29455
|
+
* Ej:<br>labelColorNV="text-gray-500 dark:text-white hover:text-green-300"
|
|
29456
|
+
*/
|
|
29457
|
+
labelColorNV: {
|
|
29458
|
+
type: String,
|
|
29459
|
+
default: null,
|
|
29460
|
+
description: 'Setea el color del texto del label cuando no hay valores, y se puede agregar para los modos light y dark y estados como hover.'
|
|
29461
|
+
},
|
|
29462
|
+
/**
|
|
29463
|
+
* Setea el color del bg del componente, y se puede agregar para los modos light y dark y estados como hover.<br>
|
|
29464
|
+
* Ej:<br>bgColor="bg-gray-500 dark:bg-white hover:bg-green-300"
|
|
29465
|
+
*/
|
|
29466
|
+
bgColor: {
|
|
29467
|
+
type: String,
|
|
29468
|
+
default: null,
|
|
29469
|
+
description: 'Setea el color del bg del componente, y se puede agregar para los modos light y dark y estados como hover.'
|
|
29470
|
+
},
|
|
29471
|
+
/**
|
|
29472
|
+
* Setea el color del texto del componente, y se puede agregar para los modos light y dark y estados como hover.<br>
|
|
29473
|
+
* Ej:<br>color="text-gray-500 dark:text-white hover:text-green-300"
|
|
29474
|
+
*/
|
|
29475
|
+
color: {
|
|
29476
|
+
type: String,
|
|
29477
|
+
default: null,
|
|
29478
|
+
description: 'Setea el color del texto ingresado, y se puede agregar para los modos light y dark y estados como hover.'
|
|
29479
|
+
},
|
|
29480
|
+
/**
|
|
29481
|
+
* Tamaño del texto del botón. Ej. sm, md, lg, etc
|
|
29482
|
+
* @values xs, sm, md, lg, xl, xxl
|
|
29483
|
+
*/
|
|
29484
|
+
textSize: {
|
|
29485
|
+
type: String,
|
|
29486
|
+
default: null,
|
|
29487
|
+
description: 'Tamaño del texto del componente. Ej. sm, md, lg...'
|
|
29488
|
+
},
|
|
29489
|
+
/**
|
|
29490
|
+
* Grado de la sombra del componente.
|
|
29491
|
+
* @values none, xs, sm, md, lg, xl, xxl
|
|
29492
|
+
*/
|
|
29493
|
+
shadowSize: {
|
|
29494
|
+
type: String,
|
|
29495
|
+
default: null,
|
|
29496
|
+
description: 'Grado de la sombra del componente.'
|
|
29497
|
+
},
|
|
29498
|
+
/**
|
|
29499
|
+
* Setea el grado de redondeo del botón.
|
|
29500
|
+
* @values sm, md, lg, xl, xxl, full
|
|
29501
|
+
*/
|
|
29502
|
+
roundedSize: {
|
|
29503
|
+
type: String,
|
|
29504
|
+
default: null,
|
|
29505
|
+
description: 'Grado de redondeo de los bordes del componente. Ej. sm, md, lg...'
|
|
29506
|
+
},
|
|
29507
|
+
/**
|
|
29508
|
+
* Si es true significa que el valor del componente es requerido, de lo contrario no lo es.
|
|
29509
|
+
*/
|
|
29510
|
+
required: {
|
|
29511
|
+
type: Boolean,
|
|
29512
|
+
default: false,
|
|
29513
|
+
description: 'Indica si el valor del componente es obligatorio o no.'
|
|
29514
|
+
},
|
|
29515
|
+
/**
|
|
29516
|
+
* Si es true significa que el componente estará deshabilitado, de lo contrario estará habilitado.
|
|
29517
|
+
*/
|
|
29518
|
+
disabled: {
|
|
29519
|
+
type: Boolean,
|
|
29520
|
+
default: false,
|
|
29521
|
+
description: 'El componente estará deshabilitado en caso de ser true.'
|
|
29522
|
+
},
|
|
29523
|
+
/**
|
|
29524
|
+
* Setea el nombre del ícono a mostrar del componente inicial.
|
|
29525
|
+
*/
|
|
29526
|
+
iconName: {
|
|
29527
|
+
type: String,
|
|
29528
|
+
default: null,
|
|
29529
|
+
description: 'Setea el nombre del ícono a mostrar del componente inicial.'
|
|
29530
|
+
},
|
|
29531
|
+
/**
|
|
29532
|
+
* Setea el tamaño del ícono a mostrar del componente inicial.
|
|
29533
|
+
*/
|
|
29534
|
+
iconSize: {
|
|
29535
|
+
type: String,
|
|
29536
|
+
default: null,
|
|
29537
|
+
description: 'Setea el tamaño del ícono a mostrar del componente inicial.'
|
|
29538
|
+
},
|
|
29539
|
+
/**
|
|
29540
|
+
* Setea el color del ícono a mostrar del componente inicial.
|
|
29541
|
+
*/
|
|
29542
|
+
iconColor: {
|
|
29543
|
+
type: String,
|
|
29544
|
+
default: null,
|
|
29545
|
+
description: 'Setea el color del ícono a mostrar del componente inicial.'
|
|
29546
|
+
},
|
|
29547
|
+
/**
|
|
29548
|
+
* Bandera para indicar que el icono a mostrar del componente inicial debe ser relleno.
|
|
29549
|
+
*/
|
|
29550
|
+
iconFill: {
|
|
29551
|
+
type: Boolean,
|
|
29552
|
+
default: false,
|
|
29553
|
+
description: 'Bandera para indicar que el icono a mostrar del componente inicial debe ser relleno.'
|
|
29554
|
+
},
|
|
29555
|
+
/**
|
|
29556
|
+
* Si es true significa que el componente mostrará los archivos seleccionados en columna junto con su respectivo icono.
|
|
29557
|
+
*/
|
|
29558
|
+
fileIcon: {
|
|
29559
|
+
type: Boolean,
|
|
29560
|
+
default: true,
|
|
29561
|
+
description: 'Bandera para indicar que se colocará el ícono del tipo de archivo seleccionado.'
|
|
29562
|
+
},
|
|
29563
|
+
/**
|
|
29564
|
+
* Si es true significa que el componente mostrará los archivos seleccionados con un pequeño color de fondo y botón de eliminar por cada archivo.
|
|
29565
|
+
*/
|
|
29566
|
+
useTags: {
|
|
29567
|
+
type: Boolean,
|
|
29568
|
+
default: false,
|
|
29569
|
+
description: 'Bandera para asignar un color en el background del nombre de cada archivo para delimitar dónde empieza y termina cada uno de los archivos seleccionados.'
|
|
29570
|
+
},
|
|
29571
|
+
/**
|
|
29572
|
+
* Setea el color del fondo del tag de cada archivo, se puede agregar para los modos light y dark y estados como hover.<br>
|
|
29573
|
+
* Ej:<br>tagBgColor="bg-gray-500 dark:bg-white hover:bg-green-300"
|
|
29574
|
+
*/
|
|
29575
|
+
tagBgColor: {
|
|
29576
|
+
type: String,
|
|
29577
|
+
default: null,
|
|
29578
|
+
description: 'Color bg del tag, para utilizar esta prop es necesario también utilizar la prop useTags.'
|
|
29579
|
+
},
|
|
29580
|
+
/**
|
|
29581
|
+
* Setea el color del texto del tag de cada archivo, se puede agregar para los modos light y dark y estados como hover.<br>
|
|
29582
|
+
* Ej:<br>tagTextColor="text-gray-500 dark:text-white hover:text-green-300"
|
|
29583
|
+
*/
|
|
29584
|
+
tagTextColor: {
|
|
29585
|
+
type: String,
|
|
29586
|
+
default: null,
|
|
29587
|
+
description: 'Color del texto del tag, para utilizar esta prop es necesario también utilizar la prop useTags.'
|
|
29588
|
+
},
|
|
29589
|
+
/**
|
|
29590
|
+
* Si es true significa que el componente mostrará un contador de los archivos seleccionados junto con el tamaño actual del o de los archivos.
|
|
29591
|
+
*/
|
|
29592
|
+
counter: {
|
|
29593
|
+
type: Boolean,
|
|
29594
|
+
default: false,
|
|
29595
|
+
description: 'Mostrar un contador automático en la parte inferior derecha.'
|
|
29596
|
+
},
|
|
29597
|
+
/**
|
|
29598
|
+
* Etiqueta que describirá el número de archivos seleccionados, puede ser de tipo String o Function. Para que esta prop funcione se requiere de la prop 'counter'.
|
|
29599
|
+
*/
|
|
29600
|
+
counterLabel: {
|
|
29601
|
+
type: [String, Function],
|
|
29602
|
+
default: null,
|
|
29603
|
+
description: 'Etiqueta para el contador, la prop counter es necesaria para habilitar esta prop.'
|
|
29604
|
+
},
|
|
29605
|
+
/**
|
|
29606
|
+
* Lista separada por comas del tipo de archivos que son aceptados
|
|
29607
|
+
*/
|
|
29608
|
+
accept: {
|
|
29609
|
+
type: String,
|
|
29610
|
+
default: null,
|
|
29611
|
+
description: 'Lista separada por comas del tipo de archivos que son aceptados.'
|
|
29612
|
+
},
|
|
29613
|
+
/**
|
|
29614
|
+
* Bandera para permitir múltiples cargas de archivos de forma apilada. Para utilizar esta prop es necesario contar con la prop "multiple".
|
|
29615
|
+
*/
|
|
29616
|
+
append: {
|
|
29617
|
+
type: Boolean,
|
|
29618
|
+
default: false,
|
|
29619
|
+
description: 'Bandera para permitir múltiples cargas de archivos de forma apilada. Para utilizar esta prop es necesario contar con la prop "multiple".'
|
|
29620
|
+
},
|
|
29621
|
+
/**
|
|
29622
|
+
* Bandera para permitir múltiples cargas de archivos.
|
|
29623
|
+
*/
|
|
29624
|
+
multiple: {
|
|
29625
|
+
type: Boolean,
|
|
29626
|
+
default: false,
|
|
29627
|
+
description: 'Bandera para permitir múltiples cargas de archivos.'
|
|
29628
|
+
},
|
|
29629
|
+
/**
|
|
29630
|
+
* Indica el tamaño máximo del archivo individual en bytes.
|
|
29631
|
+
*/
|
|
29632
|
+
maxFileSize: {
|
|
29633
|
+
type: [Number, String],
|
|
29634
|
+
default: null,
|
|
29635
|
+
description: 'Tamaño máximo de archivo individual en bytes.'
|
|
29636
|
+
},
|
|
29637
|
+
/**
|
|
29638
|
+
* Indica el tamaño máximo de todos los archivos combinados en bytes.
|
|
29639
|
+
*/
|
|
29640
|
+
maxTotalSize: {
|
|
29641
|
+
type: [Number, String],
|
|
29642
|
+
default: null,
|
|
29643
|
+
description: 'Tamaño máximo de todos los archivos combinados en bytes.'
|
|
29644
|
+
},
|
|
29645
|
+
/**
|
|
29646
|
+
* Indica el número máximo de archivos totales.
|
|
29647
|
+
*/
|
|
29648
|
+
maxFiles: {
|
|
29649
|
+
type: [Number, String],
|
|
29650
|
+
default: null,
|
|
29651
|
+
description: 'Número máximo de archivos totales.'
|
|
29652
|
+
},
|
|
29653
|
+
/**
|
|
29654
|
+
* Recibe una función para filtrar solo los archivos que cumplan con la condición indicada.
|
|
29655
|
+
* :filterFn="[
|
|
29656
|
+
* (val) =>
|
|
29657
|
+
* val.size > 6028 || 'El archivo no cumple el tamaño correcto'
|
|
29658
|
+
* ]"
|
|
29659
|
+
*/
|
|
29660
|
+
filterFn: {
|
|
29661
|
+
type: Array,
|
|
29662
|
+
default: () => [],
|
|
29663
|
+
description: 'Función callback para customizar la función de filtrado.'
|
|
29664
|
+
},
|
|
29665
|
+
/**
|
|
29666
|
+
* Mensaje para indicar al usuario cuando el tamaño máximo del archivo individual en bytes fue alcanzado.
|
|
29667
|
+
*/
|
|
29668
|
+
messageMaxSize: {
|
|
29669
|
+
type: String,
|
|
29670
|
+
default: 'El tamaño del archivo seleccionado es mayor al tamaño máximo permitido',
|
|
29671
|
+
description: 'Mensaje para indicar al usuario cuando el tamaño máximo del archivo individual en bytes fue alcanzado.'
|
|
29672
|
+
},
|
|
29673
|
+
/**
|
|
29674
|
+
* Mensaje para indicar al usuario cuando el tamaño máximo total de los archivos en bytes fue alcanzado.
|
|
29675
|
+
*/
|
|
29676
|
+
messageMaxTotalSize: {
|
|
29677
|
+
type: String,
|
|
29678
|
+
default: 'Tamaño máximo total de archivos superado en bytes',
|
|
29679
|
+
description: 'Mensaje para indicar al usuario cuando el tamaño máximo total de los archivos en bytes fue alcanzado.'
|
|
29680
|
+
},
|
|
29681
|
+
/**
|
|
29682
|
+
* Mensaje para indicar al usuario cuando el número máximo total de archivos fue alcanzado.
|
|
29683
|
+
*/
|
|
29684
|
+
messageMaxTotalFiles: {
|
|
29685
|
+
type: String,
|
|
29686
|
+
default: 'Se ha alcanzado el número máximo de archivos permitidos',
|
|
29687
|
+
description: 'Mensaje para indicar al usuario cuando el número máximo total de archivos fue alcanzado.'
|
|
29688
|
+
},
|
|
29689
|
+
/**
|
|
29690
|
+
* 'Bandera para indicar si funcionaran como previzualizador de documentos'
|
|
29691
|
+
*/
|
|
29692
|
+
onlyRead: {
|
|
29693
|
+
type: Boolean,
|
|
29694
|
+
default: false,
|
|
29695
|
+
description: 'Bandera para indicar si funcionaran como previzualizador de documentos'
|
|
29696
|
+
}
|
|
29697
|
+
},
|
|
29698
|
+
data() {
|
|
29699
|
+
return {
|
|
29700
|
+
messageError: null,
|
|
29701
|
+
selectedFiles: [],
|
|
29702
|
+
fileToview: null,
|
|
29703
|
+
nameFile: null,
|
|
29704
|
+
extensionFile: null
|
|
29705
|
+
};
|
|
29706
|
+
},
|
|
29707
|
+
computed: {
|
|
29708
|
+
iconInfo() {
|
|
29709
|
+
return {
|
|
29710
|
+
name: this.iconName ?? 'sym-draft',
|
|
29711
|
+
fill: this.iconFill,
|
|
29712
|
+
size: this.iconSize ?? 'sm',
|
|
29713
|
+
color: this.messageError ? 'exos-text-danger' : this.iconColor ?? 'exos-text-white'
|
|
29714
|
+
};
|
|
29715
|
+
},
|
|
29716
|
+
finalFilterRules() {
|
|
29717
|
+
let filterRules = [...this.filterFn];
|
|
29718
|
+
if (this.accept) {
|
|
29719
|
+
filterRules.push(this.filterByAccept);
|
|
29720
|
+
}
|
|
29721
|
+
return filterRules;
|
|
29722
|
+
},
|
|
29723
|
+
mainContainerClass() {
|
|
29724
|
+
const mainContainerClass = ['e-inputFile__containerClass', this.shadowSize ? 'shadow-' + this.shadowSize : 'shadow-def', this.roundedSize ? 'rounded-' + this.roundedSize : 'rounded-def', this.modelValue ? this.bgColor + ' exos-bg-field' : this.bgColor + ' exos-bg-secondary'];
|
|
29725
|
+
return mainContainerClass;
|
|
29726
|
+
},
|
|
29727
|
+
mainClass() {
|
|
29728
|
+
const baseClasses = ['e-inputFile__inputClass exos-peer'];
|
|
29729
|
+
const textColorClasses = [this.messageError ? 'exos-text-danger' : this.color + ' exos-text-black dark:exos-text-white'];
|
|
29730
|
+
return this.messageError ? [...baseClasses, textColorClasses] : baseClasses.concat(textColorClasses);
|
|
29731
|
+
},
|
|
29732
|
+
iconCloseClass() {
|
|
29733
|
+
const baseClasses = ['e-inputFile__icon exos-animate-slide-down exos-z-10'];
|
|
29734
|
+
return baseClasses;
|
|
29735
|
+
},
|
|
29736
|
+
iconCloseTagClass() {
|
|
29737
|
+
const baseClasses = ['e-inputFile__iconTag'];
|
|
29738
|
+
return baseClasses;
|
|
29739
|
+
},
|
|
29740
|
+
containerFileClass() {
|
|
29741
|
+
const baseClasses = ['exos-flex exos-items-center exos-w-full exos-break-all exos-justify-between'];
|
|
29742
|
+
return baseClasses;
|
|
29743
|
+
},
|
|
29744
|
+
fileBoxContainer() {
|
|
29745
|
+
const baseClasses = ['exos-flex exos-w-full exos-space-x-3 exos-break-all exos-justify-center exos-text-secondary exos-font-semibold'];
|
|
29746
|
+
if (this.useTags) {
|
|
29747
|
+
const tagClasses = 'exos-items-center exos-px-1 exos-rounded-lg exos-justify-between';
|
|
29748
|
+
baseClasses.push(tagClasses);
|
|
29749
|
+
baseClasses.push(this.tagBgColor ?? 'exos-bg-gray-400');
|
|
29750
|
+
baseClasses.push(this.tagTextColor ?? 'exos-text-white');
|
|
29751
|
+
}
|
|
29752
|
+
return baseClasses;
|
|
29753
|
+
},
|
|
29754
|
+
labelFileDescription() {
|
|
29755
|
+
return [this.$slots.fileDescription ? 'exos-flex exos-flex-col' : ''];
|
|
29756
|
+
},
|
|
29757
|
+
labelClass() {
|
|
29758
|
+
const dynamicLabelClasses = ['e-inputFile__labelClass', this.textSize ? 'textSize-' + this.textSize : 'textSize-def', this.messageError ? ['exos-text-danger'] : [this.labelColorNV ?? 'exos-text-white']];
|
|
29759
|
+
return dynamicLabelClasses;
|
|
29760
|
+
},
|
|
29761
|
+
labelBoxClass() {
|
|
29762
|
+
const baseClasses = ['exos-flex exos-items-center'];
|
|
29763
|
+
const dynamicClasses = [this.iconRight ? 'exos-flex-row-reverse' : ''];
|
|
29764
|
+
return baseClasses.concat(dynamicClasses);
|
|
29765
|
+
},
|
|
29766
|
+
labelSelectedClass() {
|
|
29767
|
+
const labelSelectedClasses = ['e-inputFile__labelSelectedClass', this.textSize ? 'textSize-' + this.textSize : 'textSize-def'];
|
|
29768
|
+
return labelSelectedClasses;
|
|
29769
|
+
},
|
|
29770
|
+
containerFileInfoClass() {
|
|
29771
|
+
const baseClasses = ['e-inputFile__containerFileInfo exos-justify-end'];
|
|
29772
|
+
return baseClasses;
|
|
29773
|
+
},
|
|
29774
|
+
labelSelected() {
|
|
29775
|
+
if (!this.modelValue) return null;
|
|
29776
|
+
return this.multiple ? this.useTags || this.fileIcon ? this.modelValue : this.modelValue.map(file => file.name).join(', ') : this.modelValue;
|
|
29777
|
+
},
|
|
29778
|
+
countTotalFileSize() {
|
|
29779
|
+
return this.selectedFiles.reduce((sum, file) => sum + (file?.size || 0), 0);
|
|
29780
|
+
},
|
|
29781
|
+
formattedFileInfo() {
|
|
29782
|
+
if (!this.modelValue) {
|
|
29783
|
+
return;
|
|
29784
|
+
}
|
|
29785
|
+
const selectedFilesCount = this.selectedFiles.length;
|
|
29786
|
+
const maxFilesText = this.maxFiles ? this.maxFiles : 'sin límite';
|
|
29787
|
+
const totalFileSize = this.countTotalFileSize;
|
|
29788
|
+
const formattedTotalFileSize = this.formatFileSize(totalFileSize);
|
|
29789
|
+
let counterLabelText = '';
|
|
29790
|
+
|
|
29791
|
+
// Verificar si counterLabel es una función
|
|
29792
|
+
if (typeof this.counterLabel === 'function') {
|
|
29793
|
+
// Llamar a counterLabelFn con los parámetros requeridos
|
|
29794
|
+
counterLabelText = this.counterLabel({
|
|
29795
|
+
totalSize: formattedTotalFileSize,
|
|
29796
|
+
filesNumber: selectedFilesCount,
|
|
29797
|
+
maxFiles: maxFilesText
|
|
29798
|
+
});
|
|
29799
|
+
return counterLabelText;
|
|
29800
|
+
} else {
|
|
29801
|
+
counterLabelText = this.counterLabel ? this.counterLabel + ' ' : '/';
|
|
29802
|
+
}
|
|
29803
|
+
return `${selectedFilesCount} ${counterLabelText} ${maxFilesText} (${formattedTotalFileSize})`;
|
|
29804
|
+
}
|
|
29805
|
+
},
|
|
29806
|
+
created() {
|
|
29807
|
+
//Registra al componente al EForm al crearse
|
|
29808
|
+
if (this.register) {
|
|
29809
|
+
this.register(this);
|
|
29810
|
+
}
|
|
29811
|
+
},
|
|
29812
|
+
beforeUnmount() {
|
|
29813
|
+
// Desregistra este componente en EForm antes de destruirse
|
|
29814
|
+
if (this.unregister) {
|
|
29815
|
+
this.unregister(this);
|
|
29816
|
+
}
|
|
29817
|
+
},
|
|
29818
|
+
methods: {
|
|
29819
|
+
typeFileIconName(fileType) {
|
|
29820
|
+
// Mapa de tipos de archivos a nombres de iconos de Material Symbols
|
|
29821
|
+
const iconMap = {
|
|
29822
|
+
'application/vnd.ms-excel': 'sym-description',
|
|
29823
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'sym-description',
|
|
29824
|
+
'application/pdf': 'sym-picture_as_pdf',
|
|
29825
|
+
'application/zip': 'sym-folder_zip',
|
|
29826
|
+
'application/x-zip-compressed': 'sym-folder_zip',
|
|
29827
|
+
'image/jpeg': 'sym-image',
|
|
29828
|
+
'image/png': 'sym-image',
|
|
29829
|
+
'image/gif': 'sym-image',
|
|
29830
|
+
'image/bmp': 'sym-image',
|
|
29831
|
+
'image/webp': 'sym-image',
|
|
29832
|
+
'video/mp4': 'sym-videocam',
|
|
29833
|
+
'video/quicktime': 'sym-videocam',
|
|
29834
|
+
'video/x-msvideo': 'sym-videocam',
|
|
29835
|
+
'video/x-ms-wmv': 'sym-videocam'
|
|
29836
|
+
};
|
|
29837
|
+
|
|
29838
|
+
// Devolver el icono correspondiente o uno por defecto si no existe en el mapa
|
|
29839
|
+
return iconMap[fileType] || 'sym-folder';
|
|
29840
|
+
},
|
|
29841
|
+
filterByAccept(val) {
|
|
29842
|
+
if (!this.accept) {
|
|
29843
|
+
return true;
|
|
29844
|
+
}
|
|
29845
|
+
let validTypes = this.accept.replace(/ /g, '').replace(/\*/g, '').replace(/\./g, '').replace(/\//g, '').split(',');
|
|
29846
|
+
let mimeTypeValid = validTypes.map(type => {
|
|
29847
|
+
let mime = this.getTypeFileFromExtension(type);
|
|
29848
|
+
return mime ?? type;
|
|
29849
|
+
});
|
|
29850
|
+
let fileIsValid = mimeTypeValid.find(mime => val.type?.includes(mime));
|
|
29851
|
+
return fileIsValid ? true : 'El tipo de archivo no es valido';
|
|
29852
|
+
},
|
|
29853
|
+
// Realiza la gestión de validación llamando a los métodos correspondientes según el tipo de selección
|
|
29854
|
+
validate() {
|
|
29855
|
+
let filterRules = this.finalFilterRules;
|
|
29856
|
+
if (this.multiple) {
|
|
29857
|
+
return this.validateMultipleFiles(filterRules);
|
|
29858
|
+
} else {
|
|
29859
|
+
return this.validateOneFile(filterRules);
|
|
29860
|
+
}
|
|
29861
|
+
},
|
|
29862
|
+
async openFileViewer() {
|
|
29863
|
+
if (this.onlyRead) {
|
|
29864
|
+
let file64 = await this.convertFileToBase64(this.modelValue);
|
|
29865
|
+
this.nameFile = this.modelValue.name;
|
|
29866
|
+
this.fileToview = file64.split(',')[1];
|
|
29867
|
+
this.extensionFile = this.modelValue.name.split('.').pop();
|
|
29868
|
+
}
|
|
29869
|
+
},
|
|
29870
|
+
validateMultipleFiles(filterRules) {
|
|
29871
|
+
let i = 0;
|
|
29872
|
+
let result = true;
|
|
29873
|
+
let valid = true;
|
|
29874
|
+
while (i < filterRules.length && result === true) {
|
|
29875
|
+
if (this.selectedFiles.length > 0) {
|
|
29876
|
+
for (let j = 0; j < this.selectedFiles.length; j++) {
|
|
29877
|
+
if (typeof this.selectedFiles[j] !== 'boolean') {
|
|
29878
|
+
result = filterRules[i](this.selectedFiles[j]);
|
|
29879
|
+
}
|
|
29880
|
+
if (result !== true) {
|
|
29881
|
+
this.selectedFiles.splice(j, 1); // Eliminar el archivo que no cumple la validación
|
|
29882
|
+
this.setMessageError(result);
|
|
29883
|
+
valid = false;
|
|
29884
|
+
j--; // Decrementar j para ajustar el índice después de la eliminación
|
|
29885
|
+
} else {
|
|
29886
|
+
this.reset();
|
|
29887
|
+
valid = true;
|
|
29888
|
+
}
|
|
29889
|
+
}
|
|
29890
|
+
} else if (this.required) {
|
|
29891
|
+
// Manejar el caso en que selectedFiles no es un array y es requerido
|
|
29892
|
+
this.setMessageError(`El campo ${this.label} es requerido`);
|
|
29893
|
+
valid = false;
|
|
29894
|
+
}
|
|
29895
|
+
i++;
|
|
29896
|
+
}
|
|
29897
|
+
return valid;
|
|
29898
|
+
},
|
|
29899
|
+
validateOneFile(filterRules) {
|
|
29900
|
+
let i = 0;
|
|
29901
|
+
let result = true;
|
|
29902
|
+
let valid = true;
|
|
29903
|
+
while (i < filterRules.length && result === true) {
|
|
29904
|
+
if (this.selectedFiles.length > 0) {
|
|
29905
|
+
if (typeof this.selectedFiles[0] !== 'boolean') {
|
|
29906
|
+
result = filterRules[i](this.selectedFiles[0]);
|
|
29907
|
+
}
|
|
29908
|
+
if (result !== true) {
|
|
29909
|
+
this.selectedFiles.splice(0, 1); // Eliminar el archivo que no cumple la validación
|
|
29910
|
+
this.setMessageError(result);
|
|
29911
|
+
valid = false;
|
|
29912
|
+
} else {
|
|
29913
|
+
this.reset();
|
|
29914
|
+
valid = true;
|
|
29915
|
+
}
|
|
29916
|
+
} else if (this.required) {
|
|
29917
|
+
// Manejar el caso en que modelValue no es un array y es requerido
|
|
29918
|
+
this.setMessageError(`El campo ${this.label} es requerido`);
|
|
29919
|
+
valid = false;
|
|
29920
|
+
}
|
|
29921
|
+
i++;
|
|
29922
|
+
}
|
|
29923
|
+
return valid;
|
|
29924
|
+
},
|
|
29925
|
+
setMessageError(message) {
|
|
29926
|
+
this.messageError = message;
|
|
29927
|
+
},
|
|
29928
|
+
formatFileSize(size) {
|
|
29929
|
+
let formattedSize;
|
|
29930
|
+
let unit;
|
|
29931
|
+
switch (true) {
|
|
29932
|
+
case size < 1024:
|
|
29933
|
+
formattedSize = size;
|
|
29934
|
+
unit = 'bytes';
|
|
29935
|
+
break;
|
|
29936
|
+
case size < 1024 * 1024:
|
|
29937
|
+
formattedSize = (size / 1024).toFixed(2);
|
|
29938
|
+
unit = 'KB';
|
|
29939
|
+
break;
|
|
29940
|
+
case size < 1024 * 1024 * 1024:
|
|
29941
|
+
formattedSize = (size / (1024 * 1024)).toFixed(2);
|
|
29942
|
+
unit = 'MB';
|
|
29943
|
+
break;
|
|
29944
|
+
default:
|
|
29945
|
+
formattedSize = (size / (1024 * 1024 * 1024)).toFixed(2);
|
|
29946
|
+
unit = 'GB';
|
|
29947
|
+
}
|
|
29948
|
+
return `${formattedSize} ${unit}`;
|
|
29949
|
+
},
|
|
29950
|
+
handleCloseOneFile(index) {
|
|
29951
|
+
// Verifica si el índice está dentro del rango de selectedFiles
|
|
29952
|
+
if (index >= 0 && index < this.selectedFiles.length) {
|
|
29953
|
+
this.selectedFiles.splice(index, 1);
|
|
29954
|
+
}
|
|
29955
|
+
if (this.selectedFiles.length === 0) {
|
|
29956
|
+
this.clean();
|
|
29957
|
+
}
|
|
29958
|
+
},
|
|
29959
|
+
// Resetear mensaje de error y estilos de la regla, llamar a resetear mensaje y estilos de restricción
|
|
29960
|
+
reset() {
|
|
29961
|
+
this.messageError = null;
|
|
29962
|
+
},
|
|
29963
|
+
// Limpiar el contenido del componente EFilePicker, emitir evento clean y resetear variables de error de regla
|
|
29964
|
+
async clean() {
|
|
29965
|
+
this.reset();
|
|
29966
|
+
/**
|
|
29967
|
+
* Se emite para limpiar el contenido del componente.
|
|
29968
|
+
*
|
|
29969
|
+
* @event clean
|
|
29970
|
+
* @type {Event}
|
|
29971
|
+
*/
|
|
29972
|
+
this.$emit('clean');
|
|
29973
|
+
},
|
|
29974
|
+
handleFileChange(event) {
|
|
29975
|
+
const file = event.target.files;
|
|
29976
|
+
if (file.length > 0) {
|
|
29977
|
+
switch (true) {
|
|
29978
|
+
case this.multiple:
|
|
29979
|
+
this.handleMultipleFiles(file);
|
|
29980
|
+
break;
|
|
29981
|
+
default:
|
|
29982
|
+
this.handleSingleFile(file);
|
|
29983
|
+
}
|
|
29984
|
+
}
|
|
29985
|
+
},
|
|
29986
|
+
handlePreloadFile(preloadedFile) {
|
|
29987
|
+
if (preloadedFile) {
|
|
29988
|
+
this.selectedFiles.push(preloadedFile);
|
|
29989
|
+
if (!this.validate()) {
|
|
29990
|
+
/**
|
|
29991
|
+
* Emitido al precargar un archivo que no cumple con las reglas y/o validaciones correspondientes.
|
|
29992
|
+
*
|
|
29993
|
+
* @event update:modelValue
|
|
29994
|
+
* @property {File} null - Valor en nulo
|
|
29995
|
+
*/
|
|
29996
|
+
this.$emit('update:modelValue', null);
|
|
29997
|
+
} else {
|
|
29998
|
+
this.reset();
|
|
29999
|
+
}
|
|
30000
|
+
}
|
|
30001
|
+
},
|
|
30002
|
+
handleSingleFile(fileToAdd) {
|
|
30003
|
+
this.selectedFiles = [];
|
|
30004
|
+
|
|
30005
|
+
// Convertir el FileList en un array
|
|
30006
|
+
let arrayFile = Array.from(fileToAdd);
|
|
30007
|
+
if (this.maxFileSize && arrayFile[0].size > this.maxFileSize) {
|
|
30008
|
+
this.messageError = this.messageMaxSize;
|
|
30009
|
+
return;
|
|
30010
|
+
}
|
|
30011
|
+
this.selectedFiles.push(...arrayFile);
|
|
30012
|
+
if (this.validate()) {
|
|
30013
|
+
/**
|
|
30014
|
+
* Emitido al actualizar el valor del componente con un archivo seleccionado.
|
|
30015
|
+
*
|
|
30016
|
+
* @event update:modelValue
|
|
30017
|
+
* @property {File} selectedFiles - El archivo seleccionado.
|
|
30018
|
+
*/
|
|
30019
|
+
this.$emit('update:modelValue', this.selectedFiles[0]);
|
|
30020
|
+
this.reset();
|
|
30021
|
+
}
|
|
30022
|
+
},
|
|
30023
|
+
handleMultipleFiles(fileToAdd) {
|
|
30024
|
+
if (!this.append) {
|
|
30025
|
+
this.selectedFiles = [];
|
|
30026
|
+
}
|
|
30027
|
+
|
|
30028
|
+
// Convertir el FileList en un array
|
|
30029
|
+
let arrayFiles = Array.from(fileToAdd);
|
|
30030
|
+
|
|
30031
|
+
// Filtrar archivos duplicados
|
|
30032
|
+
arrayFiles = this.validateDuplicateFiles(arrayFiles);
|
|
30033
|
+
|
|
30034
|
+
// Verificar si hay un maxFiles definido y si se ha alcanzado
|
|
30035
|
+
if (this.append && this.maxFiles && this.selectedFiles.length >= this.maxFiles) {
|
|
30036
|
+
this.messageError = this.messageMaxTotalFiles;
|
|
30037
|
+
return;
|
|
30038
|
+
}
|
|
30039
|
+
|
|
30040
|
+
// Si agregar estos archivos excede el maxFiles, limitar la cantidad de archivos a agregar
|
|
30041
|
+
if (this.maxFiles && this.selectedFiles.length + arrayFiles.length > this.maxFiles) {
|
|
30042
|
+
arrayFiles = this.limitFilesToAdd(arrayFiles);
|
|
30043
|
+
}
|
|
30044
|
+
|
|
30045
|
+
// Verificar si hay un maxTotalSize definido y si agregar estos archivos excede ese tamaño
|
|
30046
|
+
if (this.maxTotalSize && this.getTotalFileSize(this.selectedFiles.concat(arrayFiles)) > this.maxTotalSize) {
|
|
30047
|
+
this.messageError = this.messageMaxTotalSize;
|
|
30048
|
+
return;
|
|
30049
|
+
}
|
|
30050
|
+
|
|
30051
|
+
// Agrega cada archivo individualmente a selectedFiles
|
|
30052
|
+
this.selectedFiles.push(...arrayFiles);
|
|
30053
|
+
if (this.validate()) {
|
|
30054
|
+
/**
|
|
30055
|
+
* Se emite cuando se actualiza la lista de archivos seleccionados.
|
|
30056
|
+
* Emite un array con todos los archivos actualmente seleccionados.
|
|
30057
|
+
*
|
|
30058
|
+
* @event update:modelValue
|
|
30059
|
+
* @property {File[]} selectedFiles - Array de archivos seleccionados.
|
|
30060
|
+
*/
|
|
30061
|
+
this.$emit('update:modelValue', this.selectedFiles);
|
|
30062
|
+
this.reset();
|
|
30063
|
+
}
|
|
30064
|
+
},
|
|
30065
|
+
validateDuplicateFiles(arrayFiles) {
|
|
30066
|
+
return arrayFiles.filter(newFile => {
|
|
30067
|
+
return !this.selectedFiles.some(existingFile => existingFile.name === newFile.name && existingFile.size === newFile.size && existingFile.lastModified === newFile.lastModified);
|
|
30068
|
+
});
|
|
30069
|
+
},
|
|
30070
|
+
limitFilesToAdd(arrayFiles) {
|
|
30071
|
+
return arrayFiles.slice(0, this.maxFiles - this.selectedFiles.length);
|
|
30072
|
+
},
|
|
30073
|
+
getTotalFileSize(arrayFiles) {
|
|
30074
|
+
return arrayFiles.reduce((totalSize, file) => totalSize + file.size, 0);
|
|
30075
|
+
}
|
|
30076
|
+
},
|
|
30077
|
+
inject: {
|
|
30078
|
+
register: {
|
|
30079
|
+
from: 'register',
|
|
30080
|
+
default: false
|
|
30081
|
+
},
|
|
30082
|
+
unregister: {
|
|
30083
|
+
from: 'unregister',
|
|
30084
|
+
default: false
|
|
30085
|
+
}
|
|
30086
|
+
},
|
|
30087
|
+
watch: {
|
|
30088
|
+
modelValue(newVal) {
|
|
30089
|
+
if (this.selectedFiles.length == 0) {
|
|
30090
|
+
this.handlePreloadFile(newVal);
|
|
30091
|
+
}
|
|
30092
|
+
if (newVal === null) {
|
|
30093
|
+
this.selectedFiles = [];
|
|
30094
|
+
}
|
|
30095
|
+
}
|
|
30096
|
+
}
|
|
30097
|
+
});
|
|
30098
|
+
;// CONCATENATED MODULE: ./src/ui/components/filePicker/EFilePicker.vue?vue&type=script&lang=js
|
|
30099
|
+
|
|
30100
|
+
// EXTERNAL MODULE: ./node_modules/vue-cli-plugin-styleguidist/empty-object-loader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/filePicker/EFilePicker.vue?vue&type=custom&index=0&blockType=docs&lang=md
|
|
30101
|
+
var EFilePickervue_type_custom_index_0_blockType_docs_lang_md = __webpack_require__(7359);
|
|
30102
|
+
var EFilePickervue_type_custom_index_0_blockType_docs_lang_md_default = /*#__PURE__*/__webpack_require__.n(EFilePickervue_type_custom_index_0_blockType_docs_lang_md);
|
|
30103
|
+
;// CONCATENATED MODULE: ./src/ui/components/filePicker/EFilePicker.vue?vue&type=custom&index=0&blockType=docs&lang=md
|
|
30104
|
+
|
|
30105
|
+
;// CONCATENATED MODULE: ./src/ui/components/filePicker/EFilePicker.vue
|
|
30106
|
+
|
|
30107
|
+
|
|
30108
|
+
|
|
30109
|
+
/* custom blocks */
|
|
30110
|
+
;
|
|
30111
|
+
if (typeof (EFilePickervue_type_custom_index_0_blockType_docs_lang_md_default()) === 'function') EFilePickervue_type_custom_index_0_blockType_docs_lang_md_default()(EFilePickervue_type_script_lang_js)
|
|
30112
|
+
|
|
30113
|
+
|
|
30114
|
+
;
|
|
30115
|
+
const EFilePicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EFilePickervue_type_script_lang_js, [['render',EFilePickervue_type_template_id_0f4c3262_render]])
|
|
30116
|
+
|
|
30117
|
+
/* harmony default export */ var EFilePicker = (EFilePicker_exports_);
|
|
30118
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/dataDetail/EDataDetail.vue?vue&type=template&id=7b85beb3
|
|
30119
|
+
|
|
30120
|
+
const EDataDetailvue_type_template_id_7b85beb3_hoisted_1 = {
|
|
30121
|
+
key: 0,
|
|
30122
|
+
class: "e-dataDetail__titleContainerClass"
|
|
30123
|
+
};
|
|
30124
|
+
const EDataDetailvue_type_template_id_7b85beb3_hoisted_2 = {
|
|
30125
|
+
class: "e-dataDetail__contentTRClass"
|
|
30126
|
+
};
|
|
30127
|
+
const EDataDetailvue_type_template_id_7b85beb3_hoisted_3 = {
|
|
30128
|
+
key: 0
|
|
30129
|
+
};
|
|
30130
|
+
const EDataDetailvue_type_template_id_7b85beb3_hoisted_4 = {
|
|
30131
|
+
class: "exos-text-black exos-text-base"
|
|
30132
|
+
};
|
|
30133
|
+
const EDataDetailvue_type_template_id_7b85beb3_hoisted_5 = {
|
|
30134
|
+
key: 0,
|
|
30135
|
+
class: "e-dataDetail__paginationContainerClass"
|
|
30136
|
+
};
|
|
30137
|
+
const EDataDetailvue_type_template_id_7b85beb3_hoisted_6 = {
|
|
30138
|
+
class: "e-dataDetail__infoPageContainerClass"
|
|
30139
|
+
};
|
|
30140
|
+
const EDataDetailvue_type_template_id_7b85beb3_hoisted_7 = {
|
|
30141
|
+
key: 0,
|
|
30142
|
+
class: "e-dataDetail__footerContainerClass"
|
|
30143
|
+
};
|
|
30144
|
+
function EDataDetailvue_type_template_id_7b85beb3_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30145
|
+
const _component_EBtn = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EBtn");
|
|
30146
|
+
const _component_EIcon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EIcon");
|
|
30147
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
30148
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainContainer)
|
|
30149
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
30150
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.headerContainer)
|
|
30151
|
+
}, [_ctx.$slots.title ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EDataDetailvue_type_template_id_7b85beb3_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "title")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EDataDetailvue_type_template_id_7b85beb3_hoisted_2, [_ctx.$slots.contentTR ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EDataDetailvue_type_template_id_7b85beb3_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "contentTR")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $props.closeBtn ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_EBtn, {
|
|
30152
|
+
key: 1,
|
|
30153
|
+
rounded: "",
|
|
30154
|
+
padding: "exos-p-1",
|
|
30155
|
+
iconName: "sym-close",
|
|
30156
|
+
color: "exos-bg-white",
|
|
30157
|
+
textColor: "exos-text-secondary",
|
|
30158
|
+
onClick: $options.close
|
|
30159
|
+
}, null, 8, ["onClick"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
30160
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.gridContainerClass)
|
|
30161
|
+
}, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($options.currentData, (item, index) => {
|
|
30162
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
30163
|
+
key: index,
|
|
30164
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.detailGrid)
|
|
30165
|
+
}, [!$props.modeGrid ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("p", {
|
|
30166
|
+
key: 0,
|
|
30167
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.labelClass)
|
|
30168
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(item.label), 3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, `cell-name-${item.slot}`, {
|
|
30169
|
+
index: index,
|
|
30170
|
+
item: {
|
|
30171
|
+
label: item.label,
|
|
30172
|
+
value: item.value
|
|
30173
|
+
},
|
|
30174
|
+
data: item.field,
|
|
30175
|
+
labelClass: $options.labelClass,
|
|
30176
|
+
valueClass: ['exos-text-black exos-text-base']
|
|
30177
|
+
}, () => [$props.modeGrid ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("p", {
|
|
30178
|
+
key: 0,
|
|
30179
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.labelClass)
|
|
30180
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(item.label), 3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", EDataDetailvue_type_template_id_7b85beb3_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(item.value), 1)])], 2);
|
|
30181
|
+
}), 128))], 2), this.structuredData.length > 1 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EDataDetailvue_type_template_id_7b85beb3_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EIcon, {
|
|
30182
|
+
name: "chevron_left",
|
|
30183
|
+
color: "exos-text-secondary",
|
|
30184
|
+
class: "hover:exos-cursor-pointer",
|
|
30185
|
+
onClick: $options.handlePrev
|
|
30186
|
+
}, null, 8, ["onClick"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", EDataDetailvue_type_template_id_7b85beb3_hoisted_6, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($data.page + 1) + "/" + (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(this.structuredData.length), 1), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_EIcon, {
|
|
30187
|
+
name: "chevron_right",
|
|
30188
|
+
color: "exos-text-secondary",
|
|
30189
|
+
class: "hover:exos-cursor-pointer",
|
|
30190
|
+
onClick: $options.handleNext
|
|
30191
|
+
}, null, 8, ["onClick"])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]), _ctx.$slots.footer ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", EDataDetailvue_type_template_id_7b85beb3_hoisted_7, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
|
|
30192
|
+
}
|
|
30193
|
+
;// CONCATENATED MODULE: ./src/ui/components/dataDetail/EDataDetail.vue?vue&type=template&id=7b85beb3
|
|
30194
|
+
|
|
30195
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/dataDetail/EDataDetail.vue?vue&type=script&lang=js
|
|
30196
|
+
/* harmony default export */ var EDataDetailvue_type_script_lang_js = ({
|
|
30197
|
+
name: 'EDataDetail',
|
|
30198
|
+
props: {
|
|
30199
|
+
/**
|
|
30200
|
+
* Información que será mostrada en el componente
|
|
30201
|
+
*/
|
|
30202
|
+
data: {
|
|
30203
|
+
type: [Object, Array],
|
|
30204
|
+
default: () => {
|
|
30205
|
+
return [];
|
|
30206
|
+
},
|
|
30207
|
+
description: 'Información que será mostrada en el componente.'
|
|
30208
|
+
},
|
|
30209
|
+
/**
|
|
30210
|
+
* Recibe un layout dinámico para poder montar los campos de forma dinámica.
|
|
30211
|
+
* Ejemplo:
|
|
30212
|
+
* [
|
|
30213
|
+
* {
|
|
30214
|
+
* field: "fecha_intercambio",
|
|
30215
|
+
* title: "Fecha de intercambio",
|
|
30216
|
+
* },
|
|
30217
|
+
* ];
|
|
30218
|
+
*/
|
|
30219
|
+
layout: {
|
|
30220
|
+
type: Array,
|
|
30221
|
+
default: () => [],
|
|
30222
|
+
description: 'Recibe un layout dinámico para poder montar los campos de forma dinámica.'
|
|
30223
|
+
},
|
|
30224
|
+
/**
|
|
30225
|
+
* Bandera para indicar que el contenido se mostrará en columnas.
|
|
30226
|
+
*/
|
|
30227
|
+
modeGrid: {
|
|
30228
|
+
type: Boolean,
|
|
30229
|
+
default: true,
|
|
30230
|
+
description: 'Bandera para indicar que el contenido se mostrará en columnas.'
|
|
30231
|
+
},
|
|
30232
|
+
/**
|
|
30233
|
+
* Número de columnas totales a mostrar.
|
|
30234
|
+
*/
|
|
30235
|
+
numColumns: {
|
|
30236
|
+
type: String,
|
|
30237
|
+
default: null,
|
|
30238
|
+
description: 'Número de columnas totales a mostrar.'
|
|
30239
|
+
},
|
|
30240
|
+
/**
|
|
30241
|
+
* Setea el color del bg del componente, y se puede agregar para los modos light y dark y estados como hover.<br>
|
|
30242
|
+
* Ej:<br>bgColor="bg-gray-500 dark:bg-white hover:bg-green-300"
|
|
30243
|
+
*/
|
|
30244
|
+
bgColor: {
|
|
30245
|
+
type: String,
|
|
30246
|
+
default: null,
|
|
30247
|
+
description: 'Setea el color del bg del componente, y se puede agregar para los modos light y dark y estados como hover.'
|
|
30248
|
+
},
|
|
30249
|
+
/**
|
|
30250
|
+
* Grado de la sombra del componente.
|
|
30251
|
+
* @values none, xs, sm, md, lg, xl, xxl
|
|
30252
|
+
*/
|
|
30253
|
+
shadowSize: {
|
|
30254
|
+
type: String,
|
|
30255
|
+
default: null,
|
|
30256
|
+
description: 'Grado de la sombra del componente.'
|
|
30257
|
+
},
|
|
30258
|
+
/**
|
|
30259
|
+
* Setea el grado de redondeo del botón.
|
|
30260
|
+
* @values sm, md, lg, xl, xxl, full
|
|
30261
|
+
*/
|
|
30262
|
+
roundedSize: {
|
|
30263
|
+
type: String,
|
|
30264
|
+
default: null,
|
|
30265
|
+
description: 'Grado de redondeo de los bordes del componente. Ej. sm, md, lg...'
|
|
30266
|
+
},
|
|
30267
|
+
/**
|
|
30268
|
+
* Muestra u oculta el botón para cerrar el componente.
|
|
30269
|
+
*/
|
|
30270
|
+
closeBtn: {
|
|
30271
|
+
type: Boolean,
|
|
30272
|
+
default: false,
|
|
30273
|
+
description: 'Muestra u oculta el botón para cerrar el componente.'
|
|
30274
|
+
}
|
|
30275
|
+
},
|
|
30276
|
+
data() {
|
|
30277
|
+
return {
|
|
30278
|
+
page: 0
|
|
30279
|
+
};
|
|
30280
|
+
},
|
|
30281
|
+
computed: {
|
|
30282
|
+
currentData() {
|
|
30283
|
+
return this.finalData[this.page];
|
|
30284
|
+
},
|
|
30285
|
+
structuredData() {
|
|
30286
|
+
return Array.isArray(this.data) ? this.data : [this.data];
|
|
30287
|
+
},
|
|
30288
|
+
structuredLayout() {
|
|
30289
|
+
return Array.isArray(this.layout) ? [...this.layout] : [];
|
|
30290
|
+
},
|
|
30291
|
+
finalData() {
|
|
30292
|
+
if (!this.structuredData.length) {
|
|
30293
|
+
return [];
|
|
30294
|
+
}
|
|
30295
|
+
return this.structuredData.map(data => {
|
|
30296
|
+
return this.structuredLayout.map(col => {
|
|
30297
|
+
return {
|
|
30298
|
+
label: col.title,
|
|
30299
|
+
value: this.$filters['formatInfo'](this.$filters.getFromNestedObject(data, col.field)),
|
|
30300
|
+
field: data,
|
|
30301
|
+
slot: col.field
|
|
30302
|
+
};
|
|
30303
|
+
});
|
|
30304
|
+
});
|
|
30305
|
+
},
|
|
30306
|
+
gridContainerClass() {
|
|
30307
|
+
const baseClasses = ['e-dataDetail__gridContainer'];
|
|
30308
|
+
const dynamicClasses = this.numColumns + ' e-dataDetail__gridDefaultClass';
|
|
30309
|
+
return this.modeGrid ? baseClasses.concat(dynamicClasses) : 'exos-flex exos-flex-col exos-w-full';
|
|
30310
|
+
},
|
|
30311
|
+
detailGrid() {
|
|
30312
|
+
const baseClasses = ['exos-grid exos-grid-cols-2 exos-space-y-1'];
|
|
30313
|
+
return this.modeGrid ? '' : baseClasses;
|
|
30314
|
+
},
|
|
30315
|
+
mainContainer() {
|
|
30316
|
+
const baseClasses = ['e-dataDetail__containerClass', this.bgColor ?? 'exos-bg-transparent', this.shadowSize ? 'shadow-' + this.shadowSize : 'shadow-none', this.roundedSize ? 'rounded-' + this.roundedSize : 'rounded-def'];
|
|
30317
|
+
return baseClasses;
|
|
30318
|
+
},
|
|
30319
|
+
headerContainer() {
|
|
30320
|
+
const baseClasses = ['e-dataDetail__headerContainerClass'];
|
|
30321
|
+
const dynamicClasses = [this.$slots.title ? 'e-dataDetail__headerContainerClass-slotTitle' : ''];
|
|
30322
|
+
return baseClasses.concat(dynamicClasses);
|
|
30323
|
+
},
|
|
30324
|
+
labelClass() {
|
|
30325
|
+
const baseClasses = ['exos-text-secondary'];
|
|
30326
|
+
const dynamicClasses = [this.modeGrid ? 'exos-text-xs' : 'exos-text-sm'];
|
|
30327
|
+
return baseClasses.concat(dynamicClasses);
|
|
30328
|
+
}
|
|
30329
|
+
},
|
|
30330
|
+
methods: {
|
|
30331
|
+
handlePrev() {
|
|
30332
|
+
this.page = this.page > 0 ? this.page - 1 : 0;
|
|
30333
|
+
},
|
|
30334
|
+
handleNext() {
|
|
30335
|
+
this.page = this.page < this.structuredData.length - 1 ? this.page + 1 : this.structuredData.length - 1;
|
|
30336
|
+
},
|
|
30337
|
+
close() {
|
|
30338
|
+
/**
|
|
30339
|
+
* Emite el evento 'close' cuando se hace clic en el botón del encabezado para cerrar el detalle.
|
|
30340
|
+
*
|
|
30341
|
+
* @event close
|
|
30342
|
+
* @type {Event}
|
|
30343
|
+
*/
|
|
30344
|
+
this.$emit('close');
|
|
30345
|
+
}
|
|
30346
|
+
}
|
|
30347
|
+
});
|
|
30348
|
+
;// CONCATENATED MODULE: ./src/ui/components/dataDetail/EDataDetail.vue?vue&type=script&lang=js
|
|
30349
|
+
|
|
30350
|
+
// EXTERNAL MODULE: ./node_modules/vue-cli-plugin-styleguidist/empty-object-loader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/dataDetail/EDataDetail.vue?vue&type=custom&index=0&blockType=docs&lang=md
|
|
30351
|
+
var EDataDetailvue_type_custom_index_0_blockType_docs_lang_md = __webpack_require__(5299);
|
|
30352
|
+
var EDataDetailvue_type_custom_index_0_blockType_docs_lang_md_default = /*#__PURE__*/__webpack_require__.n(EDataDetailvue_type_custom_index_0_blockType_docs_lang_md);
|
|
30353
|
+
;// CONCATENATED MODULE: ./src/ui/components/dataDetail/EDataDetail.vue?vue&type=custom&index=0&blockType=docs&lang=md
|
|
30354
|
+
|
|
30355
|
+
;// CONCATENATED MODULE: ./src/ui/components/dataDetail/EDataDetail.vue
|
|
30356
|
+
|
|
30357
|
+
|
|
30358
|
+
|
|
30359
|
+
/* custom blocks */
|
|
30360
|
+
;
|
|
30361
|
+
if (typeof (EDataDetailvue_type_custom_index_0_blockType_docs_lang_md_default()) === 'function') EDataDetailvue_type_custom_index_0_blockType_docs_lang_md_default()(EDataDetailvue_type_script_lang_js)
|
|
30362
|
+
|
|
30363
|
+
|
|
30364
|
+
;
|
|
30365
|
+
const EDataDetail_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EDataDetailvue_type_script_lang_js, [['render',EDataDetailvue_type_template_id_7b85beb3_render]])
|
|
30366
|
+
|
|
30367
|
+
/* harmony default export */ var EDataDetail = (EDataDetail_exports_);
|
|
30368
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/tooltip/ETooltip.vue?vue&type=template&id=6ec1becb
|
|
30369
|
+
|
|
30370
|
+
function ETooltipvue_type_template_id_6ec1becb_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30371
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
30372
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainContainer)
|
|
30373
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
30374
|
+
ref: "etooltipRef",
|
|
30375
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.tooltipReferenceContainer),
|
|
30376
|
+
onMouseover: _cache[0] || (_cache[0] = $event => $data.showTooltip = true),
|
|
30377
|
+
onMouseleave: _cache[1] || (_cache[1] = $event => $data.showTooltip = false)
|
|
30378
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "label")], 34), $data.showTooltip ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
30379
|
+
key: 0,
|
|
30380
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.tooltipContainer),
|
|
30381
|
+
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)($options.computedDirection)
|
|
30382
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
30383
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.tooltip)
|
|
30384
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 2)], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
|
|
30385
|
+
}
|
|
30386
|
+
;// CONCATENATED MODULE: ./src/ui/components/tooltip/ETooltip.vue?vue&type=template&id=6ec1becb
|
|
30387
|
+
|
|
30388
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/tooltip/ETooltip.vue?vue&type=script&lang=js
|
|
30389
|
+
/* harmony default export */ var ETooltipvue_type_script_lang_js = ({
|
|
30390
|
+
name: 'ETooltip',
|
|
30391
|
+
props: {
|
|
30392
|
+
/**
|
|
30393
|
+
* Dirección hacia donde se desea se muestre el tooltip.
|
|
30394
|
+
* @values t, tl, tr, b, bl, br
|
|
30395
|
+
*/
|
|
30396
|
+
displayDirection: {
|
|
30397
|
+
type: String,
|
|
30398
|
+
default: null,
|
|
30399
|
+
description: 'Dirección hacia donde se desea se muestre el contenido del componente.'
|
|
30400
|
+
},
|
|
30401
|
+
/**
|
|
30402
|
+
* Dirección hacia donde se justificará el contenido del tooltip.
|
|
30403
|
+
* @values l, c, r
|
|
30404
|
+
*/
|
|
30405
|
+
justifyDirection: {
|
|
30406
|
+
type: String,
|
|
30407
|
+
default: null,
|
|
30408
|
+
description: 'Dirección hacia donde se desea se muestre el contenido del componente.'
|
|
30409
|
+
},
|
|
30410
|
+
/**
|
|
30411
|
+
* Valor de la anchura que tomará el componente tooltip.
|
|
30412
|
+
*/
|
|
30413
|
+
width: {
|
|
30414
|
+
type: String,
|
|
30415
|
+
default: null,
|
|
30416
|
+
description: 'Valor de la anchura que tomará el componente tooltip.'
|
|
30417
|
+
},
|
|
30418
|
+
/**
|
|
30419
|
+
* Valor de la anchura que tomará el componente padre que mantiene dentro al tooltip.
|
|
30420
|
+
*/
|
|
30421
|
+
widthTooltipTrack: {
|
|
30422
|
+
type: String,
|
|
30423
|
+
default: null,
|
|
30424
|
+
description: 'Valor de la anchura que tomará el componente padre que mantiene dentro al tooltip.'
|
|
30425
|
+
},
|
|
30426
|
+
/**
|
|
30427
|
+
* Setea el color del bg del tooltip, y se puede agregar para los modos light y dark y estados como hover.<br>
|
|
30428
|
+
* Ej:<br>bgColor="bg-gray-500 dark:bg-white hover:bg-green-300"
|
|
30429
|
+
*/
|
|
30430
|
+
bgColor: {
|
|
30431
|
+
type: String,
|
|
30432
|
+
default: null,
|
|
30433
|
+
description: 'Color bg del componente.'
|
|
30434
|
+
},
|
|
30435
|
+
/**
|
|
30436
|
+
* Setea el color del texto del tooltip, y se puede agregar para los modos light y dark y estados como hover.<br>
|
|
30437
|
+
* Ej:<br>textColor="text-gray-500 dark:text-white hover:text-green-300"
|
|
30438
|
+
*/
|
|
30439
|
+
textColor: {
|
|
30440
|
+
type: String,
|
|
30441
|
+
default: null,
|
|
30442
|
+
description: 'Color del texto del componente.'
|
|
30443
|
+
},
|
|
30444
|
+
/**
|
|
30445
|
+
* Grado de la sombra del componente.
|
|
30446
|
+
* @values none, xs, sm, md, lg, xl, xxl
|
|
30447
|
+
*/
|
|
30448
|
+
shadowSize: {
|
|
30449
|
+
type: String,
|
|
30450
|
+
default: null,
|
|
30451
|
+
description: 'Grado de la sombra del componente.'
|
|
30452
|
+
},
|
|
30453
|
+
/**
|
|
30454
|
+
* Setea el grado de redondeo del botón.
|
|
30455
|
+
* @values sm, md, lg, xl, xxl, full
|
|
30456
|
+
*/
|
|
30457
|
+
roundedSize: {
|
|
30458
|
+
type: String,
|
|
30459
|
+
default: null,
|
|
30460
|
+
description: 'Grado de redondeo de los bordes del componente. Ej. sm, md, lg...'
|
|
30461
|
+
}
|
|
30462
|
+
},
|
|
30463
|
+
data() {
|
|
30464
|
+
return {
|
|
30465
|
+
showTooltip: false,
|
|
30466
|
+
tooltipWidth: null,
|
|
30467
|
+
showToCenter: null,
|
|
30468
|
+
showToRight: null,
|
|
30469
|
+
showToBottom: null
|
|
30470
|
+
};
|
|
30471
|
+
},
|
|
30472
|
+
methods: {
|
|
30473
|
+
calculateAvailableSpaceX() {
|
|
30474
|
+
const rect = this.$refs.etooltipRef.getBoundingClientRect();
|
|
30475
|
+
const leftSpace = rect.left;
|
|
30476
|
+
const rightSpace = window.innerWidth - rect.right;
|
|
30477
|
+
this.showToCenter = leftSpace > window.innerWidth / 4 && rightSpace > window.innerWidth / 4;
|
|
30478
|
+
return rightSpace > rect.right ? true : false; // derecha : izquierda
|
|
30479
|
+
},
|
|
30480
|
+
calculateAvailableSpaceY() {
|
|
30481
|
+
const rect = this.$refs.etooltipRef.getBoundingClientRect();
|
|
30482
|
+
const bottomSpace = window.innerHeight - rect.bottom;
|
|
30483
|
+
return bottomSpace > rect.bottom ? true : false; // abajo : arriba
|
|
30484
|
+
}
|
|
30485
|
+
},
|
|
30486
|
+
mounted() {
|
|
30487
|
+
if (this.$refs.etooltipRef) {
|
|
30488
|
+
this.tooltipWidth = this.$refs.etooltipRef.offsetWidth;
|
|
30489
|
+
this.showToRight = this.calculateAvailableSpaceX();
|
|
30490
|
+
this.showToBottom = this.calculateAvailableSpaceY();
|
|
30491
|
+
}
|
|
30492
|
+
},
|
|
30493
|
+
computed: {
|
|
30494
|
+
computedDirection() {
|
|
30495
|
+
const offset = `calc(100% + 10px)`;
|
|
30496
|
+
const halfOffset = {
|
|
30497
|
+
top: '50%',
|
|
30498
|
+
transform: 'translateY(-50%)'
|
|
30499
|
+
};
|
|
30500
|
+
const directions = {
|
|
30501
|
+
t: {
|
|
30502
|
+
bottom: offset
|
|
30503
|
+
},
|
|
30504
|
+
tl: {
|
|
30505
|
+
bottom: offset,
|
|
30506
|
+
right: offset
|
|
30507
|
+
},
|
|
30508
|
+
tr: {
|
|
30509
|
+
bottom: offset,
|
|
30510
|
+
left: offset
|
|
30511
|
+
},
|
|
30512
|
+
b: {
|
|
30513
|
+
top: offset
|
|
30514
|
+
},
|
|
30515
|
+
bl: {
|
|
30516
|
+
top: offset,
|
|
30517
|
+
right: offset
|
|
30518
|
+
},
|
|
30519
|
+
br: {
|
|
30520
|
+
top: offset,
|
|
30521
|
+
left: offset
|
|
30522
|
+
},
|
|
30523
|
+
l: {
|
|
30524
|
+
...halfOffset,
|
|
30525
|
+
right: offset
|
|
30526
|
+
},
|
|
30527
|
+
r: {
|
|
30528
|
+
...halfOffset,
|
|
30529
|
+
left: offset
|
|
30530
|
+
}
|
|
30531
|
+
};
|
|
30532
|
+
if (this.displayDirection) {
|
|
30533
|
+
return directions[this.displayDirection];
|
|
30534
|
+
} else {
|
|
30535
|
+
switch (true) {
|
|
30536
|
+
case this.showToCenter && this.showToBottom:
|
|
30537
|
+
return directions['b'];
|
|
30538
|
+
case this.showToCenter && !this.showToBottom:
|
|
30539
|
+
return directions['t'];
|
|
30540
|
+
case this.showToRight && this.showToBottom:
|
|
30541
|
+
return directions['br'];
|
|
30542
|
+
case this.showToRight && !this.showToBottom:
|
|
30543
|
+
return directions['tr'];
|
|
30544
|
+
case !this.showToRight && this.showToBottom:
|
|
30545
|
+
return directions['bl'];
|
|
30546
|
+
case !this.showToRight && !this.showToBottom:
|
|
30547
|
+
return directions['tl'];
|
|
30548
|
+
}
|
|
30549
|
+
}
|
|
30550
|
+
return directions['b'];
|
|
30551
|
+
},
|
|
30552
|
+
mainContainer() {
|
|
30553
|
+
const baseClasses = ['e-tooltip__mainContainer'];
|
|
30554
|
+
return baseClasses;
|
|
30555
|
+
},
|
|
30556
|
+
tooltipReferenceContainer() {
|
|
30557
|
+
const baseClasses = ['exos-w-full hover:exos-cursor-pointer'];
|
|
30558
|
+
return baseClasses;
|
|
30559
|
+
},
|
|
30560
|
+
tooltipContainer() {
|
|
30561
|
+
const baseClasses = ['e-tooltip__tooltipContainerClass'];
|
|
30562
|
+
const dynamicClasses = [this.widthTooltipTrack ?? 'exos-w-[70vw]', this.justifyDirection ? ['justify-' + this.justifyDirection, this.displayDirection ? 'show-to-' + this.displayDirection : 'show-to-b'] : [this.showToCenter ? 'justify-c' : [this.showToRight ? 'justify-l' : 'justify-r']]];
|
|
30563
|
+
return baseClasses.concat(dynamicClasses);
|
|
30564
|
+
},
|
|
30565
|
+
tooltip() {
|
|
30566
|
+
const baseClasses = ['e-tooltip__tooltip', this.bgColor ?? 'exos-bg-secondary', this.textColor ?? 'exos-text-white', this.width ?? 'exos-w-fit', this.shadowSize ? 'shadow-' + this.shadowSize : 'shadow-def', this.roundedSize ? 'rounded-' + this.roundedSize : 'rounded-def'];
|
|
30567
|
+
return baseClasses;
|
|
30568
|
+
}
|
|
30569
|
+
}
|
|
30570
|
+
});
|
|
30571
|
+
;// CONCATENATED MODULE: ./src/ui/components/tooltip/ETooltip.vue?vue&type=script&lang=js
|
|
30572
|
+
|
|
30573
|
+
// EXTERNAL MODULE: ./node_modules/vue-cli-plugin-styleguidist/empty-object-loader.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/ui/components/tooltip/ETooltip.vue?vue&type=custom&index=0&blockType=docs&lang=md
|
|
30574
|
+
var ETooltipvue_type_custom_index_0_blockType_docs_lang_md = __webpack_require__(6877);
|
|
30575
|
+
var ETooltipvue_type_custom_index_0_blockType_docs_lang_md_default = /*#__PURE__*/__webpack_require__.n(ETooltipvue_type_custom_index_0_blockType_docs_lang_md);
|
|
30576
|
+
;// CONCATENATED MODULE: ./src/ui/components/tooltip/ETooltip.vue?vue&type=custom&index=0&blockType=docs&lang=md
|
|
30577
|
+
|
|
30578
|
+
;// CONCATENATED MODULE: ./src/ui/components/tooltip/ETooltip.vue
|
|
30579
|
+
|
|
30580
|
+
|
|
30581
|
+
|
|
30582
|
+
/* custom blocks */
|
|
30583
|
+
;
|
|
30584
|
+
if (typeof (ETooltipvue_type_custom_index_0_blockType_docs_lang_md_default()) === 'function') ETooltipvue_type_custom_index_0_blockType_docs_lang_md_default()(ETooltipvue_type_script_lang_js)
|
|
30585
|
+
|
|
30586
|
+
|
|
30587
|
+
;
|
|
30588
|
+
const ETooltip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ETooltipvue_type_script_lang_js, [['render',ETooltipvue_type_template_id_6ec1becb_render]])
|
|
30589
|
+
|
|
30590
|
+
/* harmony default export */ var ETooltip = (ETooltip_exports_);
|
|
30591
|
+
;// CONCATENATED MODULE: ./src/components/plugins/loading.js
|
|
30592
|
+
function createLoadingHTML(config) {
|
|
30593
|
+
const color = config?.color ?? '#FAFAFA';
|
|
30594
|
+
const textColor = config?.project === 'galaxy' ? config?.textColor ?? 'exos-text-[#7F7E9E]' : 'exos-text-[#FAFAFA]';
|
|
30595
|
+
const services = `
|
|
30596
|
+
<div id="loadingApp" class="exos-fixed exos-inset-0 exos-flex exos-flex-col exos-space-y-5 exos-items-center exos-justify-center exos-bg-zinc-500 exos-bg-opacity-40 exos-z-50">
|
|
30597
|
+
<div class="exos-animate-spin">
|
|
30598
|
+
<svg
|
|
30599
|
+
id="Capa_1"
|
|
30600
|
+
data-name="Capa 1"
|
|
30601
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
30602
|
+
viewBox="0 0 185.24 191"
|
|
30603
|
+
style="width: 10.62rem;"
|
|
30604
|
+
>
|
|
30605
|
+
<path
|
|
30606
|
+
class="cls-1"
|
|
30607
|
+
fill="${color}"
|
|
30608
|
+
d="m185.24,95.51c-.01,52.74-42.76,95.49-95.51,95.49-40.11,0-75.95-25.06-89.73-62.73l5.94-1.16,3.52-.69,10.84-2.1c11.44,28.38,38.95,46.97,69.54,46.96,41.38,0,74.92-33.54,74.92-74.92S131.23,21.43,89.85,21.43h-.13c-16.36,0-32.27,5.39-45.28,15.32l-8.37-8.2-2.54-2.5-4.42-4.33C46.18,7.65,67.62-.03,89.73,0,142.48,0,185.24,42.76,185.24,95.51Z"
|
|
30609
|
+
/>
|
|
30610
|
+
<g id="Elipse_349" data-name="Elipse 349">
|
|
30611
|
+
<path
|
|
30612
|
+
class="cls-1"
|
|
30613
|
+
fill="${color}"
|
|
30614
|
+
d="m90.03,9.67C41.77,9.67,2.65,48.78,2.65,97.05s39.11,87.38,87.38,87.38,87.38-39.13,87.38-87.38S138.29,9.67,90.03,9.67Zm0,171.29c-46.35,0-83.91-37.57-83.91-83.91S43.68,13.14,90.03,13.14s83.91,37.56,83.91,83.91-37.57,83.91-83.91,83.91Z"
|
|
30615
|
+
/>
|
|
30616
|
+
</g>
|
|
30617
|
+
</svg>
|
|
30618
|
+
</div>
|
|
30619
|
+
${config?.message ? `<p class="${textColor} exos-text-3xl exos-font-bold">${config.message}</p>` : ''}
|
|
30620
|
+
</div>`;
|
|
30621
|
+
const galaxy = `
|
|
30622
|
+
<div id="loadingApp">
|
|
30623
|
+
<div class="exos-fixed exos-inset-0 exos-flex exos-flex-col exos-items-center exos-justify-center exos-z-50 exos-backdrop-blur-sm">
|
|
30624
|
+
<div>
|
|
30625
|
+
<svg width="81" height="118" viewBox="0 0 81 118" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
30626
|
+
<path d="M73.0041 19.9278C70.7132 19.9276 68.4571 20.4878 66.4324 21.5596C64.4077 22.6314 62.6759 24.1822 61.3881 26.0768L61.3011 26.2078L55.0791 35.3978L60.4881 43.5048L62.8371 47.0288L63.6491 45.7958L79.7171 21.6348L80.8481 19.9238L73.0041 19.9278Z" fill="#7F7E9E"/>
|
|
30627
|
+
<path d="M79.7142 96.0231L65.4142 74.4411L65.2402 74.1801L62.8622 70.5801L60.4842 74.1801L55.0342 82.4171L61.0812 91.4951L61.2112 91.6951C62.5018 93.5848 64.2349 95.1304 66.2595 96.197C68.2841 97.2637 70.5388 97.8192 72.8272 97.8151H80.8902V97.7571L79.7302 95.9881L79.7142 96.0231Z" fill="#7F7E9E"/>
|
|
30628
|
+
<path d="M8.35212 0.00195454C10.5725 0.000956507 12.7613 0.527679 14.7382 1.5387C16.715 2.54973 18.4233 4.0161 19.7221 5.81695L20.3461 6.75995L20.5781 7.10795L47.2471 47.09L47.2901 47.032L55.0491 58.764L23.3491 106.447L20.6081 110.667L20.1731 111.305C18.8757 113.132 17.1596 114.622 15.1684 115.649C13.1772 116.677 10.9689 117.213 8.72812 117.212H0.565113L1.79811 115.37L15.0671 95.183L39.4161 58.812L17.0281 25.134L1.50711 1.79995L0.318115 0.0119548H8.36712L8.35212 0.00195454Z" fill="#7F7E9E"/>
|
|
30629
|
+
</svg>
|
|
30630
|
+
<div class="exos-fixed exos-inset-0 exos-flex exos-items-center exos-justify-center">
|
|
30631
|
+
<div role="status">
|
|
30632
|
+
<svg aria-hidden="true" class="exos-inline exos-h-52 exos-text-gray-200 dark:exos-text-[#7F7E9E] exos-animate-spin-galaxy" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
30633
|
+
<defs>
|
|
30634
|
+
<linearGradient id="linearGradient1" gradientTransform="rotate(30 .5 .5)">
|
|
30635
|
+
<stop offset="0%" stop-color="#00d0ff"></stop>
|
|
30636
|
+
<stop offset="100%" stop-color="#a700ff"></stop>
|
|
30637
|
+
</linearGradient>
|
|
30638
|
+
</defs>
|
|
30639
|
+
<path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"/>
|
|
30640
|
+
<path fill="url(#linearGradient1)" d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"/>
|
|
30641
|
+
</svg>
|
|
30642
|
+
</div>
|
|
30643
|
+
</div>
|
|
30644
|
+
</div>
|
|
30645
|
+
${config?.message ? `<p class="${textColor} exos-text-3xl exos-font-bold exos-fixed exos-mt-80 exos-z-50">${config.message}</p>` : ''}
|
|
30646
|
+
</div>
|
|
30647
|
+
</div>`;
|
|
30648
|
+
switch (config?.project) {
|
|
30649
|
+
case 'services':
|
|
30650
|
+
return services;
|
|
30651
|
+
case 'galaxy':
|
|
30652
|
+
return galaxy;
|
|
30653
|
+
default:
|
|
30654
|
+
return services;
|
|
30655
|
+
}
|
|
30656
|
+
}
|
|
30657
|
+
function loading_show(config) {
|
|
30658
|
+
const html = createLoadingHTML(config);
|
|
30659
|
+
const newDiv = document.createElement('div');
|
|
30660
|
+
newDiv.innerHTML = html;
|
|
30661
|
+
document.body.appendChild(newDiv);
|
|
30662
|
+
}
|
|
30663
|
+
function loading_hide() {
|
|
30664
|
+
let loadingApp = document.getElementById('loadingApp');
|
|
30665
|
+
loadingApp.remove();
|
|
30666
|
+
}
|
|
30667
|
+
const loading = {
|
|
30668
|
+
show: loading_show,
|
|
30669
|
+
hide: loading_hide
|
|
30670
|
+
};
|
|
30671
|
+
;// CONCATENATED MODULE: ./src/exos-library-components.js
|
|
30672
|
+
|
|
30673
|
+
|
|
30674
|
+
|
|
30675
|
+
|
|
30676
|
+
|
|
30677
|
+
|
|
30678
|
+
|
|
30679
|
+
|
|
30680
|
+
|
|
30681
|
+
|
|
30682
|
+
|
|
30683
|
+
|
|
30684
|
+
|
|
30685
|
+
|
|
30686
|
+
|
|
30687
|
+
|
|
30688
|
+
|
|
30689
|
+
|
|
30690
|
+
|
|
30691
|
+
|
|
30692
|
+
|
|
30693
|
+
|
|
30694
|
+
|
|
30695
|
+
|
|
30696
|
+
|
|
30697
|
+
|
|
30698
|
+
|
|
30699
|
+
|
|
30700
|
+
|
|
30701
|
+
|
|
30702
|
+
|
|
30703
|
+
|
|
30704
|
+
|
|
30705
|
+
|
|
30706
|
+
|
|
30707
|
+
const ExosLibraryComponents = {
|
|
30708
|
+
install(app) {
|
|
30709
|
+
my_directives(app);
|
|
30710
|
+
app.component('EMainTpl', EMainTpl);
|
|
30711
|
+
app.component('EButtonsHeaderTpl', EButtonsHeaderTpl);
|
|
30712
|
+
app.component('EMainPageTpl', EMainPageTpl);
|
|
30713
|
+
app.component('EContentTpl', EContentTpl);
|
|
30714
|
+
app.component('EBtn', EBtn);
|
|
30715
|
+
app.component('ECard', ECard);
|
|
30716
|
+
app.component('EDetail', EDetail);
|
|
30717
|
+
app.component('EDropdown', EDropdown);
|
|
30718
|
+
app.component('EFileList', EFileList);
|
|
30719
|
+
app.component('EFileViewer', EFileViewer);
|
|
30720
|
+
app.component('EIcon', EIcon);
|
|
30721
|
+
app.component('EInput', EInput);
|
|
30722
|
+
app.component('EModal', EModal);
|
|
30723
|
+
app.component('EPaginationTable', EPaginationTable);
|
|
30724
|
+
app.component('ESelect', ESelect);
|
|
30725
|
+
app.component('ETable', ETable);
|
|
30726
|
+
app.component('ETab', ETab);
|
|
30727
|
+
app.component('ECollapse', ECollapse);
|
|
30728
|
+
app.component('ESwitch', ESwitch);
|
|
30729
|
+
app.component('EDialog', EDialog);
|
|
30730
|
+
app.component('ECalendar', ECalendar);
|
|
28665
30731
|
app.component('EMenuCalendar', EMenuCalendar);
|
|
28666
30732
|
app.component('EForm', EForm);
|
|
28667
30733
|
app.component('EStepper', EStepper);
|
|
@@ -28669,8 +30735,9 @@ const ExosLibraryComponents = {
|
|
|
28669
30735
|
app.component('EBtnToggle', EBtnToggle);
|
|
28670
30736
|
app.component('ECheckbox', ECheckbox);
|
|
28671
30737
|
app.component('ERadio', ERadio);
|
|
28672
|
-
|
|
28673
|
-
|
|
30738
|
+
app.component('EFilePicker', EFilePicker);
|
|
30739
|
+
app.component('EDataDetail', EDataDetail);
|
|
30740
|
+
app.component('ETooltip', ETooltip);
|
|
28674
30741
|
app.provide('$loading', loading);
|
|
28675
30742
|
app.provide('$notify', notify);
|
|
28676
30743
|
app.provide('$showMessage', message);
|