@alexochihua/exos-library-components 2.20.6 → 2.21.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.
@@ -30956,29 +30956,50 @@ if (typeof (EBtnTogglevue_type_custom_index_0_blockType_docs_lang_md_default())
30956
30956
  const EBtnToggle_exports_ = EBtnTogglevue_type_script_setup_true_lang_js;
30957
30957
 
30958
30958
  /* harmony default export */ var EBtnToggle = (EBtnToggle_exports_);
30959
- ;// 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=c979566e
30959
+ ;// 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=94f7ed4a
30960
30960
 
30961
- const EFilePickervue_type_template_id_c979566e_hoisted_1 = ["accept", "multiple", "disabled", "id"];
30962
- const EFilePickervue_type_template_id_c979566e_hoisted_2 = ["for"];
30963
- const EFilePickervue_type_template_id_c979566e_hoisted_3 = {
30961
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_1 = ["accept", "multiple", "disabled", "id"];
30962
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_2 = ["for"];
30963
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_3 = {
30964
30964
  key: 1,
30965
+ class: "e-inputFile__multipleFiles__distributionContainer"
30966
+ };
30967
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_4 = {
30965
30968
  class: "e-inputFile__multipleFiles"
30966
30969
  };
30967
- const EFilePickervue_type_template_id_c979566e_hoisted_4 = {
30970
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_5 = ["onClick"];
30971
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_6 = {
30972
+ class: "e-inputFile__singleFile__distributionContainer"
30973
+ };
30974
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_7 = {
30975
+ class: "e-inputFile__labelClass--dragger"
30976
+ };
30977
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_8 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
30978
+ class: "e-inputFile__dragAndDrop__label"
30979
+ }, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", {
30980
+ class: "e-inputFile__dragAndDrop__label__callToAction"
30981
+ }, " Haga clic para cargar "), /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)(" o arrastre y suelte el archivo ")], -1);
30982
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_9 = {
30983
+ key: 0,
30984
+ class: "e-inputFile__dragAndDrop__label__detail"
30985
+ };
30986
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_10 = {
30968
30987
  key: 0,
30969
30988
  class: "e-inputFile__containerFileInfo"
30970
30989
  };
30971
- const EFilePickervue_type_template_id_c979566e_hoisted_5 = {
30990
+ const EFilePickervue_type_template_id_94f7ed4a_hoisted_11 = {
30972
30991
  key: 1,
30973
30992
  class: "e-inputFile__message--error"
30974
30993
  };
30975
- function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $setup, $data, $options) {
30994
+ function EFilePickervue_type_template_id_94f7ed4a_render(_ctx, _cache, $props, $setup, $data, $options) {
30976
30995
  const _component_e_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("e-icon");
30977
30996
  const _component_e_file_viewer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("e-file-viewer");
30978
30997
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
30979
30998
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainContainer)
30980
30999
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
30981
- class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.fileContainer)
31000
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.fileContainer),
31001
+ onDragover: _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)((...args) => $options.onDragOver && $options.onDragOver(...args), ["prevent"])),
31002
+ onDragleave: _cache[6] || (_cache[6] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)((...args) => $options.onDragLeave && $options.onDragLeave(...args), ["prevent"]))
30982
31003
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("input", {
30983
31004
  ref: 'e-filePicker-' + _ctx.$.uid,
30984
31005
  "data-test": "file-picker-cy",
@@ -30991,7 +31012,7 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
30991
31012
  id: 'inputFile-' + $props.label,
30992
31013
  onChange: _cache[0] || (_cache[0] = (...args) => $options.handleFileChange && $options.handleFileChange(...args)),
30993
31014
  onClick: _cache[1] || (_cache[1] = (...args) => $options.handleClick && $options.handleClick(...args))
30994
- }, null, 40, EFilePickervue_type_template_id_c979566e_hoisted_1), !$props.modelValue ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("label", {
31015
+ }, null, 40, EFilePickervue_type_template_id_94f7ed4a_hoisted_1), !$props.modelValue && $options.designClass !== 'asDragger' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("label", {
30995
31016
  key: 0,
30996
31017
  for: 'inputFile-' + $props.label,
30997
31018
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.labelClass)
@@ -31000,31 +31021,39 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31000
31021
  }, $options.iconInfo)), null, 16)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (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", {
31001
31022
  key: 0,
31002
31023
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.requiredClass)
31003
- }, "*", 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 10, EFilePickervue_type_template_id_c979566e_hoisted_2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $props.multiple && $options.labelSelected ? ((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_c979566e_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)($options.labelSelected, (file, index) => {
31024
+ }, "*", 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 10, EFilePickervue_type_template_id_94f7ed4a_hoisted_2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $props.multiple && $options.labelSelected ? ((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_94f7ed4a_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFilePickervue_type_template_id_94f7ed4a_hoisted_4, [((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) => {
31004
31025
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
31005
31026
  key: index,
31006
31027
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.multipleFileBox)
31007
31028
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_e_icon, {
31029
+ class: "e-inputFile__iconFile--multiple",
31008
31030
  color: "e-inputFile__text--active",
31009
- name: $options.typeFileIconName(file.type)
31010
- }, null, 8, ["name"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
31011
- class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.multipleFileLabelSelected)
31012
- }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(file.name), 3), $props.useTags ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_e_icon, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
31031
+ name: $options.typeFileIconName(file.type),
31032
+ onClick: $event => $options.openOneItemFileViewerText(index)
31033
+ }, null, 8, ["name", "onClick"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
31034
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.multipleFileLabelSelected),
31035
+ onClick: $event => $options.openOneItemFileViewerText(index)
31036
+ }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(file.name), 11, EFilePickervue_type_template_id_94f7ed4a_hoisted_5), $props.useTags ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_e_icon, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
31013
31037
  key: 0,
31014
31038
  ref_for: true
31015
31039
  }, $options.closeTagIcon, {
31016
31040
  onClick: $event => $options.handleCloseOneFile(index)
31017
31041
  }), null, 16, ["onClick"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
31018
- }), 128))])) : $options.labelSelected ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
31042
+ }), 128))]), $options.showCloseIcon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
31043
+ key: 0,
31044
+ "data-test": "clean-icon",
31045
+ onClick: _cache[2] || (_cache[2] = (...args) => $options.clean && $options.clean(...args)),
31046
+ class: "e-inputFile__closeIcon__container"
31047
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconClose", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_e_icon, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.guardReactiveProps)($options.closeIcon)), null, 16)])])) : (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", {
31019
31048
  key: 2,
31020
31049
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.singleFileBox)
31021
- }, [$props.fileIcon && $options.designClass === 'asButton' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_e_icon, {
31050
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFilePickervue_type_template_id_94f7ed4a_hoisted_6, [$options.showFileIcon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_e_icon, {
31022
31051
  key: 0,
31023
31052
  name: $options.typeFileIconName($options.labelSelected.type),
31024
31053
  color: $options.singleFileIcon,
31025
31054
  onClick: $options.openFileViewerIcon
31026
31055
  }, null, 8, ["name", "color", "onClick"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
31027
- onClick: _cache[2] || (_cache[2] = (...args) => $options.openFileViewerText && $options.openFileViewerText(...args))
31056
+ onClick: _cache[3] || (_cache[3] = (...args) => $options.openFileViewerText && $options.openFileViewerText(...args))
31028
31057
  }, [$options.designClass === 'asInput' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("p", {
31029
31058
  key: 0,
31030
31059
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.singleFileLabelSelectedInput)
@@ -31032,12 +31061,16 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31032
31061
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.singleFileLabelSelected)
31033
31062
  }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.labelSelected.name), 3), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
31034
31063
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.singleFileDescription)
31035
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "fileDescription")], 2)])], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $options.showCloseIcon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
31036
- key: 3,
31064
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "fileDescription")], 2)])]), $options.showCloseIcon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
31065
+ key: 0,
31037
31066
  "data-test": "clean-icon",
31038
- onClick: _cache[3] || (_cache[3] = (...args) => $options.clean && $options.clean(...args)),
31067
+ onClick: _cache[4] || (_cache[4] = (...args) => $options.clean && $options.clean(...args)),
31039
31068
  class: "e-inputFile__closeIcon__container"
31040
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconClose", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_e_icon, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.guardReactiveProps)($options.closeIcon)), null, 16)])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2), $options.showInfoFileCounter ? ((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_c979566e_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.formattedFileInfo), 1)) : (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_c979566e_hoisted_5, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($data.messageError), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $data.showFileViwerFlag ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_e_file_viewer, {
31069
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconClose", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_e_icon, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.guardReactiveProps)($options.closeIcon)), null, 16)])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $options.designClass === 'asDragger' ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "drag-drop-content", {
31070
+ key: 3
31071
+ }, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
31072
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["e-inputFile__file__container--dragger", $props.dragDropHeight])
31073
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_e_icon, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.guardReactiveProps)($options.draggerIcon)), null, 16), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", EFilePickervue_type_template_id_94f7ed4a_hoisted_7, [EFilePickervue_type_template_id_94f7ed4a_hoisted_8, $props.accept ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("p", EFilePickervue_type_template_id_94f7ed4a_hoisted_9, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.accept), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 2)]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 34), $options.showInfoFileCounter ? ((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_94f7ed4a_hoisted_10, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.formattedFileInfo), 1)) : (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_94f7ed4a_hoisted_11, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($data.messageError), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $data.showFileViwerFlag ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_e_file_viewer, {
31041
31074
  key: 2,
31042
31075
  data: $data.fileToview,
31043
31076
  fileName: $data.nameFile,
@@ -31046,7 +31079,7 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31046
31079
  onClose: $options.handleCloseFileViewer
31047
31080
  }, null, 8, ["data", "fileName", "extention", "notSupported", "onClose"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
31048
31081
  }
31049
- ;// CONCATENATED MODULE: ./src/ui/components/filePicker/EFilePicker.vue?vue&type=template&id=c979566e
31082
+ ;// CONCATENATED MODULE: ./src/ui/components/filePicker/EFilePicker.vue?vue&type=template&id=94f7ed4a
31050
31083
 
31051
31084
  ;// 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
31052
31085
 
@@ -31063,6 +31096,42 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31063
31096
  required: true,
31064
31097
  default: null
31065
31098
  },
31099
+ /**
31100
+ * Clase de TailwindCSS que define la altura del área de drag and drop.
31101
+ *
31102
+ * Esta propiedad permite aplicar una clase de utilidad de TailwindCSS para controlar la altura del contenedor
31103
+ * de carga por arrastre. Solo se deben usar clases válidas relacionadas con `height`, como `h-32`, `min-h-[10rem]`, `max-h-screen`, etc.
31104
+ *
31105
+ * Solo tiene efecto si **no** se utiliza el slot `drag-drop-content`. En caso de que ese slot esté definido,
31106
+ * se considera que se está personalizando completamente el diseño del área de drag and drop, y por lo tanto esta propiedad no será aplicada.
31107
+ *
31108
+ * **Ejemplo de uso:**
31109
+ * `<e-file-picker dragDropHeight="h-48" />`
31110
+ *
31111
+ * @default null
31112
+ */
31113
+ dragDropHeight: {
31114
+ type: String,
31115
+ default: null,
31116
+ description: 'Clase de TailwindCSS para definir la altura del área de drag and drop, como "h-32", "min-h-[10rem]" o "max-h-screen". Solo aplica si no se utiliza el slot "drag-drop-content".'
31117
+ },
31118
+ /**
31119
+ * Tamaño del icono para la sección drag and drop.
31120
+ * @values xs, sm, md, lg, xl, o un valor compatible con font-size -> 3px, 1rem, 2vw, etc
31121
+ */
31122
+ dragDropIconSize: {
31123
+ type: String,
31124
+ default: null,
31125
+ description: 'Tamaño del icono para la sección drag and drop.'
31126
+ },
31127
+ /**
31128
+ * Nombre del icono para la sección drag and drop.
31129
+ */
31130
+ dragDropIconName: {
31131
+ type: String,
31132
+ default: null,
31133
+ description: 'Nombre del icono para la sección drag and drop.'
31134
+ },
31066
31135
  /**
31067
31136
  * Indica si el archivo debe permanecer cargado incluso cuando no cumple con las validaciones.
31068
31137
  * Si el archivo es inválido, se mostrará un mensaje de error, pero no se eliminará automáticamente.
@@ -31088,13 +31157,37 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31088
31157
  default: false
31089
31158
  },
31090
31159
  /**
31091
- * Estilo que tendrá el componente.
31092
- * @values botton, input, card
31160
+ * Estilo visual que define la presentación del componente `EFilePicker`.
31161
+ *
31162
+ * Esta propiedad controla cómo se representa visualmente el área de carga del archivo. Los diferentes estilos están
31163
+ * pensados para ajustarse a distintos flujos de interacción dentro de formularios o interfaces.
31164
+ *
31165
+ * ### Estilos disponibles:
31166
+ *
31167
+ * - **`input`**: Presenta una caja tradicional similar a un campo de formulario con etiqueta flotante.
31168
+ * - Ideal para formularios donde se busca mantener una estética uniforme.
31169
+ * - Ejemplo: campo de selección de archivo dentro de una línea de campos como nombre, fecha, etc.
31170
+ *
31171
+ * - **`button`**: Muestra un botón de acción completo que lanza el explorador de archivos.
31172
+ * - Se recomienda cuando el selector de archivos es una acción secundaria o aislada del formulario.
31173
+ * - Ejemplo: botón azul con ícono y texto alineado horizontalmente al centro.
31174
+ *
31175
+ * - **`dragger`**: Permite arrastrar y soltar archivos sobre un área amplia con borde punteado y mensaje central.
31176
+ * - Es el estilo más visual e interactivo.
31177
+ * - Ejemplo: caja centrada con ícono de nube y texto "Haga clic o arrastre y suelte el archivo".
31178
+ *
31179
+ * ### Consideraciones:
31180
+ * - Si no se establece, el valor por defecto será `button`.
31181
+ * - Esta propiedad afecta la disposición de elementos internos como íconos, etiquetas, comportamiento del input y slots.
31182
+ * - Al usar `dragger`, se pueden personalizar la altura (`dragDropHeight`) y el ícono (`dragDropIconName`).
31183
+ *
31184
+ * @values 'input', 'button', 'dragger'
31185
+ * @default 'button'
31093
31186
  */
31094
31187
  design: {
31095
31188
  type: String,
31096
- default: null,
31097
- description: 'Estilo que tendrá el componente.'
31189
+ default: 'button',
31190
+ description: 'Estilo visual del componente de carga de archivos.'
31098
31191
  },
31099
31192
  /**
31100
31193
  * Si es true, el ícono estará en el lado derecho del componente; de lo contrario, en el lado izquierdo.
@@ -31375,6 +31468,7 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31375
31468
  data() {
31376
31469
  return {
31377
31470
  iconsSVG: iconsSVG,
31471
+ isHovering: false,
31378
31472
  showFileViwerFlag: false,
31379
31473
  messageError: null,
31380
31474
  selectedFiles: [],
@@ -31412,7 +31506,7 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31412
31506
  return filterRules;
31413
31507
  },
31414
31508
  fileContainer() {
31415
- const mainContainerClass = ['e-inputFile__file__container', this.labelSelected ? 'padding--active' : 'padding--inactive', this.designClass, this.shadowSize ? 'shadow-' + this.shadowSize : 'shadow-def', this.roundedSize ? 'rounded-' + this.roundedSize : 'rounded-def', this.disabled ? 'hover:exos-cursor-not-allowed exos-bg--disabled' : ['hover:exos-cursor-pointer', this.bgColor ? this.bgColor : this.modelValue ? 'exos-bg--active' : 'exos-bg--inactive']];
31509
+ const mainContainerClass = ['e-inputFile__file__container', this.labelSelected ? 'padding--active' : 'padding--inactive', this.designClass, this.designClass === 'asDragger' && !this.modelValue ? [this.isHovering ? 'exos-bg--hover border-dashed--hover' : 'border-dashed--inactive'] : '', this.shadowSize ? 'shadow-' + this.shadowSize : 'shadow-def', this.roundedSize ? 'rounded-' + this.roundedSize : 'rounded-def', this.disabled ? 'hover:exos-cursor-not-allowed exos-bg--disabled' : ['hover:exos-cursor-pointer', this.bgColor ? this.bgColor : this.modelValue ? 'exos-bg--active' : 'exos-bg--inactive']];
31416
31510
  return mainContainerClass;
31417
31511
  },
31418
31512
  closeIcon() {
@@ -31422,6 +31516,13 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31422
31516
  class: closeClasses
31423
31517
  };
31424
31518
  },
31519
+ draggerIcon() {
31520
+ return {
31521
+ name: this.dragDropIconName ?? 'sym-cloud_upload',
31522
+ color: this.disabled ? 'e-inputFile__iconDragger--disabled' : 'e-inputFile__iconDragger--enable',
31523
+ size: this.dragDropIconSize ?? 'xl'
31524
+ };
31525
+ },
31425
31526
  closeTagIcon() {
31426
31527
  const closeTagClasses = 'e-inputFile__iconTag';
31427
31528
  return {
@@ -31432,6 +31533,9 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31432
31533
  class: closeTagClasses
31433
31534
  };
31434
31535
  },
31536
+ showFileIcon() {
31537
+ return this.fileIcon && this.designClass === 'asButton' || this.designClass === 'asDragger';
31538
+ },
31435
31539
  showCloseIcon() {
31436
31540
  return !!this.modelValue && !this.disabled && this.showCleanBtn;
31437
31541
  },
@@ -31472,13 +31576,14 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31472
31576
  return baseClasses;
31473
31577
  },
31474
31578
  multipleFileLabelSelected() {
31475
- const baseClasses = [this.textSize ? 'textSize-' + this.textSize : 'textSize-def', this.labelColor ?? 'e-inputFile__multipleFile__fileName__color'];
31579
+ const baseClasses = ['exos-relative exos-z-10', this.textSize ? 'textSize-' + this.textSize : 'textSize-def', this.labelColor ?? 'e-inputFile__multipleFile__fileName__color'];
31476
31580
  return baseClasses;
31477
31581
  },
31478
31582
  designClass() {
31479
31583
  const designMap = {
31480
31584
  button: 'asButton',
31481
- input: 'asInput'
31585
+ input: 'asInput',
31586
+ dragger: 'asDragger'
31482
31587
  };
31483
31588
  return designMap[this.design] || 'asButton';
31484
31589
  },
@@ -31557,6 +31662,14 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31557
31662
  // Devolver el icono correspondiente o uno por defecto si no existe en el mapa
31558
31663
  return iconMap[fileType] || 'sym-draft';
31559
31664
  },
31665
+ onDragOver() {
31666
+ if (this.designClass !== 'asDragger') return;
31667
+ this.isHovering = true;
31668
+ },
31669
+ onDragLeave() {
31670
+ if (this.designClass !== 'asDragger') return;
31671
+ this.isHovering = false;
31672
+ },
31560
31673
  handleCloseFileViewer() {
31561
31674
  this.fileToview = null;
31562
31675
  this.showFileViwerFlag = false;
@@ -31611,6 +31724,13 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31611
31724
  this.extensionFile = this.modelValue.name.split('.').pop();
31612
31725
  this.showFileViwerFlag = true;
31613
31726
  },
31727
+ async openOneItemFileViewe(index) {
31728
+ let file64 = await this.convertFileToBase64(this.modelValue?.[index]);
31729
+ this.nameFile = this.modelValue?.[index].name;
31730
+ this.fileToview = file64.split(',')[1];
31731
+ this.extensionFile = this.modelValue?.[index].name.split('.').pop();
31732
+ this.showFileViwerFlag = true;
31733
+ },
31614
31734
  async openFileViewerIcon() {
31615
31735
  if (!this.disabled) {
31616
31736
  this.onlyRead ? await this.openFileViewer() : this.$refs['e-filePicker-' + this.$.uid].click();
@@ -31621,6 +31741,11 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31621
31741
  await this.openFileViewer();
31622
31742
  }
31623
31743
  },
31744
+ async openOneItemFileViewerText(index) {
31745
+ if (!this.disabled) {
31746
+ await this.openOneItemFileViewe(index);
31747
+ }
31748
+ },
31624
31749
  validateMultipleFiles(filterRules) {
31625
31750
  let i = 0;
31626
31751
  let result = true;
@@ -31734,6 +31859,7 @@ function EFilePickervue_type_template_id_c979566e_render(_ctx, _cache, $props, $
31734
31859
  },
31735
31860
  // Resetear mensaje de error y estilos de la regla, llamar a resetear mensaje y estilos de restricción
31736
31861
  reset() {
31862
+ this.isHovering = false;
31737
31863
  this.messageError = null;
31738
31864
  },
31739
31865
  // Limpiar el contenido del componente EFilePicker, emitir evento clean y resetear variables de error de regla
@@ -31923,7 +32049,7 @@ if (typeof (EFilePickervue_type_custom_index_0_blockType_docs_lang_md_default())
31923
32049
 
31924
32050
 
31925
32051
  ;
31926
- const EFilePicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EFilePickervue_type_script_lang_js, [['render',EFilePickervue_type_template_id_c979566e_render]])
32052
+ const EFilePicker_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EFilePickervue_type_script_lang_js, [['render',EFilePickervue_type_template_id_94f7ed4a_render]])
31927
32053
 
31928
32054
  /* harmony default export */ var EFilePicker = (EFilePicker_exports_);
31929
32055
  ;// 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=22bb1c42
@@ -32396,9 +32522,9 @@ if (typeof (EDataDetailvue_type_custom_index_0_blockType_docs_lang_md_default())
32396
32522
  const EDataDetail_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(EDataDetailvue_type_script_lang_js, [['render',EDataDetailvue_type_template_id_22bb1c42_render]])
32397
32523
 
32398
32524
  /* harmony default export */ var EDataDetail = (EDataDetail_exports_);
32399
- ;// 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=32fc3bd7
32525
+ ;// 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=2334a1fd
32400
32526
 
32401
- function ETooltipvue_type_template_id_32fc3bd7_render(_ctx, _cache, $props, $setup, $data, $options) {
32527
+ function ETooltipvue_type_template_id_2334a1fd_render(_ctx, _cache, $props, $setup, $data, $options) {
32402
32528
  return $data.isVisible ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
32403
32529
  key: 0,
32404
32530
  lang: "es",
@@ -32407,7 +32533,7 @@ function ETooltipvue_type_template_id_32fc3bd7_render(_ctx, _cache, $props, $set
32407
32533
  ref: 'e-tooltip-' + _ctx.$.uid
32408
32534
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true);
32409
32535
  }
32410
- ;// CONCATENATED MODULE: ./src/ui/components/tooltip/ETooltip.vue?vue&type=template&id=32fc3bd7
32536
+ ;// CONCATENATED MODULE: ./src/ui/components/tooltip/ETooltip.vue?vue&type=template&id=2334a1fd
32411
32537
 
32412
32538
  ;// 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
32413
32539
  /* harmony default export */ var ETooltipvue_type_script_lang_js = ({
@@ -32604,7 +32730,7 @@ function ETooltipvue_type_template_id_32fc3bd7_render(_ctx, _cache, $props, $set
32604
32730
  },
32605
32731
  computed: {
32606
32732
  tooltip() {
32607
- const baseClasses = ['e-tooltip__tooltip', this.bgColor ?? 'exos-bg-secondary', this.textColor ?? 'exos-text-white', this.width ? this.width + ' exos-break-words exos-hyphens-auto' : 'exos-w-fit', this.roundedSize ? 'rounded-' + this.roundedSize : 'rounded-def'];
32733
+ const baseClasses = ['e-tooltip__tooltip', this.bgColor ?? 'e-tooltip__bgColor', this.textColor ?? 'e-tooltip__textColor', this.width ? this.width + ' e-tooltip__breakWords' : 'e-tooltip__width', this.roundedSize ? 'rounded-' + this.roundedSize : 'rounded-def'];
32608
32734
  return baseClasses;
32609
32735
  }
32610
32736
  },
@@ -32631,7 +32757,7 @@ if (typeof (ETooltipvue_type_custom_index_0_blockType_docs_lang_md_default()) ==
32631
32757
 
32632
32758
 
32633
32759
  ;
32634
- const ETooltip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ETooltipvue_type_script_lang_js, [['render',ETooltipvue_type_template_id_32fc3bd7_render]])
32760
+ const ETooltip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(ETooltipvue_type_script_lang_js, [['render',ETooltipvue_type_template_id_2334a1fd_render]])
32635
32761
 
32636
32762
  /* harmony default export */ var ETooltip = (ETooltip_exports_);
32637
32763
  ;// 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/stepTracker/EStepTracker.vue?vue&type=template&id=d9b0d8a8