@alexochihua/exos-library-components 2.2.0 → 2.2.2

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.
@@ -149,6 +149,13 @@ module.exports = {}
149
149
 
150
150
  /***/ }),
151
151
 
152
+ /***/ 7397:
153
+ /***/ (function(module) {
154
+
155
+ module.exports = {}
156
+
157
+ /***/ }),
158
+
152
159
  /***/ 5971:
153
160
  /***/ (function(module) {
154
161
 
@@ -3015,6 +3022,270 @@ const useSizeProps = {
3015
3022
  function sizeValue(props, sizes = useSizeDefaults) {
3016
3023
  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);
3017
3024
  }
3025
+ ;// 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
3026
+
3027
+ const ERadiovue_type_script_setup_true_lang_js_hoisted_1 = ["id", "value", "name", "disabled", "checked"];
3028
+ const ERadiovue_type_script_setup_true_lang_js_hoisted_2 = ["for"];
3029
+
3030
+
3031
+ /* harmony default export */ var ERadiovue_type_script_setup_true_lang_js = ({
3032
+ __name: 'ERadio',
3033
+ props: {
3034
+ /**
3035
+ * Variable para manejar la lectura del valor
3036
+ */
3037
+ modelValue: {
3038
+ required: true,
3039
+ default: null
3040
+ },
3041
+ /**
3042
+ * Se utiliza para agrupar varios radios juntos por su name.
3043
+ *Ej:<br> name="radio_grupo1"
3044
+ */
3045
+ name: {
3046
+ type: String,
3047
+ default: "radioGrupo1"
3048
+ },
3049
+ /**
3050
+ * Se utiliza para setear el valor del componente para cuando se realiza check en el.
3051
+ * Ej:<br> val="opcion 1"
3052
+ */
3053
+ val: {
3054
+ type: String,
3055
+ default: null
3056
+ },
3057
+ /**
3058
+ * Permite dar un tamaño al componente radio.
3059
+ * @values xs, sm, md, lg, xl, xxl o algun valor especifico como exos-w-10 exos-h-10, exos-w-20 exos-h-20,etc
3060
+ */
3061
+ size: {
3062
+ type: String,
3063
+ default: "xs"
3064
+ },
3065
+ /**
3066
+ * Label asociado al radio
3067
+ */
3068
+ label: {
3069
+ type: String,
3070
+ default: null
3071
+ },
3072
+ /**
3073
+ * Bandera para posicionar el label a la izquiera del checkbox
3074
+ */
3075
+ leftLabel: {
3076
+ type: Boolean,
3077
+ default: false
3078
+ },
3079
+ /**
3080
+ * Setea el grosor y color del borde del radio, y se puede agregar para los modos light y dark y estados como hover.<br>
3081
+ *Ej:<br> borderColor="border-gray-500 dark:border-whit hover:border-green-300"
3082
+ */
3083
+ borderStyle: {
3084
+ type: String,
3085
+ default: null
3086
+ },
3087
+ /**
3088
+ * Setea el grosor y color del anillo del radio para el estado checked, y se puede agregar para los modos light y dark.<br>
3089
+ *Ej:<br> borderColor="border-gray-500 dark:border-whit hover:border-green-300"
3090
+ */
3091
+ ringStyle: {
3092
+ type: String,
3093
+ default: null
3094
+ },
3095
+ /**
3096
+ * Setea el color del bg del radio, así como el color del borde y anillo y se puede agregar para los modos light y dark y estados como checked, hover.<br>
3097
+ * Ej:<br>color="bg-gray-500 dark:bg-whit hover:bg-green-300"
3098
+ */
3099
+ radioColor: {
3100
+ type: String,
3101
+ default: null
3102
+ },
3103
+ /**
3104
+ * Bandera para indicar que el radio se manejará a través de iconos.
3105
+ */
3106
+ icon: {
3107
+ type: Boolean,
3108
+ default: false
3109
+ },
3110
+ /**
3111
+ * Indica si el icono debe estar relleno.
3112
+ * @values true, false
3113
+ */
3114
+ iconFill: {
3115
+ type: Boolean,
3116
+ default: false
3117
+ },
3118
+ /**
3119
+ * Permite al usuario definir el icono que se mostrara al hacer check en lugar de la caja default
3120
+ * @values Ver docs de EIcon, para saber los iconos que se pueden usar
3121
+ */
3122
+ checkedIcon: {
3123
+ type: String,
3124
+ default: "task_alt"
3125
+ },
3126
+ /**
3127
+ * Permite al usuario definir el icono que se mostrara en lugar de la caja default cuando esta unchecked
3128
+ * @values Ver docs de EIcon, para saber los iconos que se pueden usar
3129
+ */
3130
+ uncheckedIcon: {
3131
+ type: String,
3132
+ default: "radio_button_unchecked"
3133
+ },
3134
+ /**
3135
+ * Setea el color del icono cuando el componente se encuentra en estado checked, se puede agregar para los modos light y dark y estados como hover.<br>
3136
+ * Ej:<br>iconColor="text-gray-500 dark:text-whit hover:text-green-300"
3137
+ */
3138
+ iconColorCheck: {
3139
+ type: String,
3140
+ default: null
3141
+ },
3142
+ /**
3143
+ * Setea el color del icono cuando el componente se encuentra en estado unchecked, se puede agregar para los modos light y dark y estados como hover.<br>
3144
+ * Ej:<br>iconColor="text-gray-500 dark:text-whit hover:text-green-300"
3145
+ */
3146
+ iconColorUncheck: {
3147
+ type: String,
3148
+ default: null
3149
+ },
3150
+ /**
3151
+ * Bandera para indicar que el checkbox debe estar deshabilitado
3152
+ */
3153
+ disable: Boolean,
3154
+ /**
3155
+ * Setea el estilo del radio cuando se encuentra en estado deshabilitado, y se puede agregar para los modos disabled y dark.<br>
3156
+ *Ej:<br> disableStyle="disabled:exos-opacity-40 dark:disabled:exos-bg-gray-500"
3157
+ */
3158
+ disableStyle: {
3159
+ type: String,
3160
+ default: null
3161
+ }
3162
+ },
3163
+ emits: [
3164
+ /**
3165
+ * Se emite al cambiar el estado del radio, solo funciona cuando la prop "disable" esta en false
3166
+ * @property {mixed} estado valor asignado a los estados del radio
3167
+ */
3168
+ "update:modelValue"],
3169
+ setup(__props, {
3170
+ emit: __emit
3171
+ }) {
3172
+ const props = __props;
3173
+ const sizeValueComputed = sizeValue(props);
3174
+ const sizeInnerComputed = use_size(props);
3175
+
3176
+ /**
3177
+ * Indica el tamaño del ícono.
3178
+ */
3179
+ const iconStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => ({
3180
+ ...sizeInnerComputed.value
3181
+ }));
3182
+
3183
+ /**
3184
+ * Indica si el componente fue chequeado o no.
3185
+ */
3186
+ const isChecked = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
3187
+ return props.modelValue === props.val;
3188
+ });
3189
+ const emit = __emit;
3190
+ const onChange = event => {
3191
+ if (!props.disable) {
3192
+ if (props.icon) {
3193
+ emit("update:modelValue", props.val);
3194
+ } else {
3195
+ emit("update:modelValue", event.target.value);
3196
+ }
3197
+ }
3198
+ };
3199
+
3200
+ /**
3201
+ * Asigna las clases para el contenedor principal.
3202
+ */
3203
+ const containerClass = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
3204
+ return `e-radio__mainContainer` + (props.leftLabel === true ? " exos-flex-row-reverse" : "");
3205
+ });
3206
+
3207
+ /**
3208
+ * Asigna las clases para el elemento input de tipo radio.
3209
+ */
3210
+ const radioClass = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
3211
+ const checkedColor = props.radioColor + " e-radio__color-checked e-radio__color-unchecked";
3212
+ const border = props.borderStyle + " e-radio__border e-radio__borderColor-checked e-radio__borderColor-unchecked";
3213
+ const ring = props.ringStyle + " e-radio__ring-checked e-radio__ringColor-checked";
3214
+ const disable = props.disableStyle + " e-radio__mainClass-disabled";
3215
+ return ` e-radio__mainClass ${disable} ${checkedColor} ${border} ${ring}`;
3216
+ });
3217
+
3218
+ /**
3219
+ * Asigna las clases para el label.
3220
+ */
3221
+ const label = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
3222
+ return "exos-px-2";
3223
+ });
3224
+
3225
+ /**
3226
+ * Asigna las clases el componente EInput en caso de utilizar el componente ERadio como ícono.
3227
+ */
3228
+ const iconInfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => {
3229
+ return {
3230
+ class: `${props.disable ? "exos-cursor-not-allowed" : "exos-cursor-pointer"}`,
3231
+ size: sizeValueComputed,
3232
+ fill: props.iconFill,
3233
+ color: isChecked.value ? props.iconColorCheck + " e-radio__iconColor-checked" : props.iconColorUncheck + " e-radio__iconColor-unchecked",
3234
+ name: isChecked.value ? props.checkedIcon : props.uncheckedIcon
3235
+ };
3236
+ });
3237
+ return (_ctx, _cache) => {
3238
+ const _component_EIcon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("EIcon");
3239
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
3240
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(containerClass.value)
3241
+ }, [__props.icon ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_EIcon, {
3242
+ key: 0,
3243
+ id: __props.val,
3244
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)(iconStyle.value),
3245
+ fill: iconInfo.value.fill,
3246
+ color: iconInfo.value.color,
3247
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(iconInfo.value.class),
3248
+ name: iconInfo.value.name,
3249
+ onClick: onChange
3250
+ }, null, 8, ["id", "style", "fill", "color", "class", "name"])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("input", {
3251
+ key: 1,
3252
+ type: "radio",
3253
+ id: __props.val,
3254
+ value: __props.val,
3255
+ name: __props.name,
3256
+ disabled: __props.disable,
3257
+ checked: isChecked.value,
3258
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(radioClass.value),
3259
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)({
3260
+ width: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.unref)(sizeValueComputed),
3261
+ height: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.unref)(sizeValueComputed)
3262
+ }),
3263
+ onChange: onChange
3264
+ }, null, 46, ERadiovue_type_script_setup_true_lang_js_hoisted_1)), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("label", {
3265
+ for: __props.val,
3266
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(label.value)
3267
+ }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(props.label), 11, ERadiovue_type_script_setup_true_lang_js_hoisted_2)], 2);
3268
+ };
3269
+ }
3270
+ });
3271
+ ;// CONCATENATED MODULE: ./src/ui/components/radio/ERadio.vue?vue&type=script&setup=true&lang=js
3272
+
3273
+ // 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/radio/ERadio.vue?vue&type=custom&index=0&blockType=docs&lang=md
3274
+ var ERadiovue_type_custom_index_0_blockType_docs_lang_md = __webpack_require__(7397);
3275
+ var ERadiovue_type_custom_index_0_blockType_docs_lang_md_default = /*#__PURE__*/__webpack_require__.n(ERadiovue_type_custom_index_0_blockType_docs_lang_md);
3276
+ ;// CONCATENATED MODULE: ./src/ui/components/radio/ERadio.vue?vue&type=custom&index=0&blockType=docs&lang=md
3277
+
3278
+ ;// CONCATENATED MODULE: ./src/ui/components/radio/ERadio.vue
3279
+
3280
+
3281
+ /* custom blocks */
3282
+ ;
3283
+ if (typeof (ERadiovue_type_custom_index_0_blockType_docs_lang_md_default()) === 'function') ERadiovue_type_custom_index_0_blockType_docs_lang_md_default()(ERadiovue_type_script_setup_true_lang_js)
3284
+
3285
+
3286
+ const ERadio_exports_ = ERadiovue_type_script_setup_true_lang_js;
3287
+
3288
+ /* harmony default export */ var ERadio = (ERadio_exports_);
3018
3289
  ;// 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
3019
3290
 
3020
3291
  const ECheckboxvue_type_script_setup_true_lang_js_hoisted_1 = ["onClick"];
@@ -4978,66 +5249,70 @@ function EModalvue_type_template_id_cfaa37a0_render(_ctx, _cache, $props, $setup
4978
5249
  const EModal_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(EModalvue_type_script_lang_js, [['render',EModalvue_type_template_id_cfaa37a0_render]])
4979
5250
 
4980
5251
  /* harmony default export */ var EModal = (EModal_exports_);
4981
- ;// 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=530df53a
5252
+ ;// 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=1bf449de
4982
5253
 
4983
- const ECollapsevue_type_template_id_530df53a_hoisted_1 = {
5254
+ const ECollapsevue_type_template_id_1bf449de_hoisted_1 = {
4984
5255
  class: "exos-flex exos-flex-col exos-w-full exos-h-full exos-relative"
4985
5256
  };
4986
- const ECollapsevue_type_template_id_530df53a_hoisted_2 = {
5257
+ const ECollapsevue_type_template_id_1bf449de_hoisted_2 = {
4987
5258
  class: "exos-flex exos-justify-start exos-items-center exos-space-x-3 exos-w-full exos-h-full"
4988
5259
  };
4989
- const ECollapsevue_type_template_id_530df53a_hoisted_3 = {
5260
+ const ECollapsevue_type_template_id_1bf449de_hoisted_3 = {
4990
5261
  key: 0
4991
5262
  };
4992
- const ECollapsevue_type_template_id_530df53a_hoisted_4 = {
5263
+ const ECollapsevue_type_template_id_1bf449de_hoisted_4 = {
4993
5264
  key: 1,
4994
- xmlns: "http://www.w3.org/2000/svg",
4995
5265
  width: "25.56",
4996
5266
  height: "25",
4997
- viewBox: "0 0 25.56 25"
5267
+ viewBox: "0 0 25.56 25",
5268
+ class: "exos-fill-secondary",
5269
+ xmlns: "http://www.w3.org/2000/svg"
4998
5270
  };
4999
- const ECollapsevue_type_template_id_530df53a_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
5271
+ const ECollapsevue_type_template_id_1bf449de_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
5000
5272
  id: "filter_alt_FILL0_wght400_GRAD0_opsz48",
5001
5273
  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",
5002
- transform: "translate(-41.552 217.5)",
5003
- fill: "#3275e0"
5274
+ transform: "translate(-41.552 217.5)"
5004
5275
  }, null, -1);
5005
- const ECollapsevue_type_template_id_530df53a_hoisted_6 = [ECollapsevue_type_template_id_530df53a_hoisted_5];
5006
- const ECollapsevue_type_template_id_530df53a_hoisted_7 = {
5276
+ const ECollapsevue_type_template_id_1bf449de_hoisted_6 = [ECollapsevue_type_template_id_1bf449de_hoisted_5];
5277
+ const ECollapsevue_type_template_id_1bf449de_hoisted_7 = {
5007
5278
  class: "exos-flex exos-flex-col exos-space-y-0"
5008
5279
  };
5009
- const ECollapsevue_type_template_id_530df53a_hoisted_8 = {
5280
+ const ECollapsevue_type_template_id_1bf449de_hoisted_8 = {
5281
+ key: 0,
5282
+ class: "exos-w-full"
5283
+ };
5284
+ const ECollapsevue_type_template_id_1bf449de_hoisted_9 = {
5010
5285
  key: 1,
5011
- xmlns: "http://www.w3.org/2000/svg",
5012
- width: "23.746",
5013
5286
  height: "14",
5014
- viewBox: "0 0 23.746 14"
5287
+ width: "23.746",
5288
+ viewBox: "0 0 23.746 14",
5289
+ class: "exos-fill-secondary",
5290
+ xmlns: "http://www.w3.org/2000/svg"
5015
5291
  };
5016
- const ECollapsevue_type_template_id_530df53a_hoisted_9 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
5292
+ const ECollapsevue_type_template_id_1bf449de_hoisted_10 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
5017
5293
  id: "expand_less_FILL0_wght400_GRAD0_opsz48",
5018
5294
  d: "M47.074-117.611l-2.127,2.127L56.82-103.611l11.873-11.823-2.127-2.127-9.746,9.746Z",
5019
- transform: "translate(-44.947 117.611)",
5020
- fill: "#3275e0"
5295
+ transform: "translate(-44.947 117.611)"
5021
5296
  }, null, -1);
5022
- const ECollapsevue_type_template_id_530df53a_hoisted_10 = [ECollapsevue_type_template_id_530df53a_hoisted_9];
5023
- function ECollapsevue_type_template_id_530df53a_render(_ctx, _cache, $props, $setup, $data, $options) {
5024
- return (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_530df53a_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
5297
+ const ECollapsevue_type_template_id_1bf449de_hoisted_11 = [ECollapsevue_type_template_id_1bf449de_hoisted_10];
5298
+ function ECollapsevue_type_template_id_1bf449de_render(_ctx, _cache, $props, $setup, $data, $options) {
5299
+ return (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_1bf449de_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
5025
5300
  onClick: _cache[0] || (_cache[0] = (...args) => $options.toggleCollapse && $options.toggleCollapse(...args)),
5026
5301
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainClass),
5027
5302
  ref: "collapse"
5028
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_template_id_530df53a_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_530df53a_hoisted_3, [_ctx.$slots.iconLeft ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconLeft", {
5303
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_template_id_1bf449de_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_1bf449de_hoisted_3, [_ctx.$slots.iconLeft ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconLeft", {
5029
5304
  key: 0
5030
- }) : ((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_530df53a_hoisted_4, ECollapsevue_type_template_id_530df53a_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_530df53a_hoisted_7, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
5305
+ }) : ((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_1bf449de_hoisted_4, ECollapsevue_type_template_id_1bf449de_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_1bf449de_hoisted_7, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
5031
5306
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.textClass)
5032
5307
  }, (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", {
5033
5308
  key: 0
5034
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
5309
+ }) : (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_1bf449de_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), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
5035
5310
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(["exos-flex exos-items-center exos-justify-center", {
5036
5311
  'exos-rotate-180': $data.isCollapseOpen
5037
5312
  }])
5038
5313
  }, [_ctx.$slots.arrow ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "arrow", {
5039
5314
  key: 0
5040
- }) : ((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_530df53a_hoisted_8, ECollapsevue_type_template_id_530df53a_hoisted_10))], 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", {
5315
+ }) : ((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_1bf449de_hoisted_9, ECollapsevue_type_template_id_1bf449de_hoisted_11))], 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", {
5041
5316
  key: 0,
5042
5317
  ref: "contentCollapse",
5043
5318
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.filter),
@@ -5046,7 +5321,7 @@ function ECollapsevue_type_template_id_530df53a_render(_ctx, _cache, $props, $se
5046
5321
  onClick: _cache[1] || (_cache[1] = (...args) => $options.toggleCollapse && $options.toggleCollapse(...args))
5047
5322
  }, [(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)]);
5048
5323
  }
5049
- ;// CONCATENATED MODULE: ./src/ui/components/collapse/ECollapse.vue?vue&type=template&id=530df53a
5324
+ ;// CONCATENATED MODULE: ./src/ui/components/collapse/ECollapse.vue?vue&type=template&id=1bf449de
5050
5325
 
5051
5326
  ;// 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
5052
5327
  /* harmony default export */ var ECollapsevue_type_script_lang_js = ({
@@ -5402,7 +5677,7 @@ if (typeof (ECollapsevue_type_custom_index_0_blockType_docs_lang_md_default()) =
5402
5677
 
5403
5678
 
5404
5679
  ;
5405
- const ECollapse_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ECollapsevue_type_script_lang_js, [['render',ECollapsevue_type_template_id_530df53a_render]])
5680
+ const ECollapse_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ECollapsevue_type_script_lang_js, [['render',ECollapsevue_type_template_id_1bf449de_render]])
5406
5681
 
5407
5682
  /* harmony default export */ var ECollapse = (ECollapse_exports_);
5408
5683
  ;// 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=4a17c364
@@ -24652,31 +24927,32 @@ if (typeof (EMenuCalendarvue_type_custom_index_0_blockType_docs_lang_md_default(
24652
24927
  const EMenuCalendar_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(EMenuCalendarvue_type_script_lang_js, [['render',EMenuCalendarvue_type_template_id_0c5bd428_scoped_true_render],['__scopeId',"data-v-0c5bd428"]])
24653
24928
 
24654
24929
  /* harmony default export */ var EMenuCalendar = (EMenuCalendar_exports_);
24655
- ;// 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=520bc088
24930
+ ;// 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=1fa1f6ec
24656
24931
 
24657
- const ESelectvue_type_template_id_520bc088_hoisted_1 = {
24932
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_1 = {
24658
24933
  ref: "mainSelectComponent",
24659
24934
  class: "exos-flex exos-flex-col"
24660
24935
  };
24661
- const ESelectvue_type_template_id_520bc088_hoisted_2 = {
24936
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_2 = {
24662
24937
  class: "exos-relative"
24663
24938
  };
24664
- const ESelectvue_type_template_id_520bc088_hoisted_3 = {
24665
- key: 0
24939
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_3 = {
24940
+ key: 0,
24941
+ class: "exos-relative"
24666
24942
  };
24667
- const ESelectvue_type_template_id_520bc088_hoisted_4 = ["disabled", "id", "value"];
24668
- const ESelectvue_type_template_id_520bc088_hoisted_5 = ["for"];
24669
- const ESelectvue_type_template_id_520bc088_hoisted_6 = {
24943
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_4 = ["disabled", "id", "value"];
24944
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_5 = ["for"];
24945
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_6 = {
24670
24946
  key: 0
24671
24947
  };
24672
- const ESelectvue_type_template_id_520bc088_hoisted_7 = ["disabled", "id"];
24673
- const ESelectvue_type_template_id_520bc088_hoisted_8 = {
24948
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_7 = ["disabled", "id"];
24949
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_8 = {
24674
24950
  class: "exos-flex exos-items-center exos-w-full"
24675
24951
  };
24676
- const ESelectvue_type_template_id_520bc088_hoisted_9 = {
24952
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_9 = {
24677
24953
  key: 0
24678
24954
  };
24679
- const ESelectvue_type_template_id_520bc088_hoisted_10 = {
24955
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_10 = {
24680
24956
  key: 1,
24681
24957
  class: "exos-w-4 exos-h-4 exos-text-secondary exos-opacity-60 hover:exos-opacity-100 dark:exos-text-white",
24682
24958
  "aria-hidden": "true",
@@ -24684,15 +24960,15 @@ const ESelectvue_type_template_id_520bc088_hoisted_10 = {
24684
24960
  fill: "none",
24685
24961
  viewBox: "0 0 15 15"
24686
24962
  };
24687
- const ESelectvue_type_template_id_520bc088_hoisted_11 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
24963
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_11 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
24688
24964
  stroke: "currentColor",
24689
24965
  "stroke-linecap": "round",
24690
24966
  "stroke-linejoin": "round",
24691
24967
  "stroke-width": "2",
24692
24968
  d: "m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
24693
24969
  }, null, -1);
24694
- const ESelectvue_type_template_id_520bc088_hoisted_12 = [ESelectvue_type_template_id_520bc088_hoisted_11];
24695
- const ESelectvue_type_template_id_520bc088_hoisted_13 = {
24970
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_12 = [ESelectvue_type_template_id_1fa1f6ec_hoisted_11];
24971
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_13 = {
24696
24972
  key: 1,
24697
24973
  "aria-hidden": "true",
24698
24974
  class: "exos-w-6 exos-h-6 exos-text-gray-200 exos-animate-spin dark:exos-text-gray-600 exos-fill-secondary",
@@ -24700,46 +24976,50 @@ const ESelectvue_type_template_id_520bc088_hoisted_13 = {
24700
24976
  fill: "none",
24701
24977
  xmlns: "http://www.w3.org/2000/svg"
24702
24978
  };
24703
- const ESelectvue_type_template_id_520bc088_hoisted_14 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
24979
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_14 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
24704
24980
  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",
24705
24981
  fill: "currentColor"
24706
24982
  }, null, -1);
24707
- const ESelectvue_type_template_id_520bc088_hoisted_15 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
24983
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_15 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
24708
24984
  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",
24709
24985
  fill: "currentFill"
24710
24986
  }, null, -1);
24711
- const ESelectvue_type_template_id_520bc088_hoisted_16 = [ESelectvue_type_template_id_520bc088_hoisted_14, ESelectvue_type_template_id_520bc088_hoisted_15];
24712
- const ESelectvue_type_template_id_520bc088_hoisted_17 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
24987
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_16 = [ESelectvue_type_template_id_1fa1f6ec_hoisted_14, ESelectvue_type_template_id_1fa1f6ec_hoisted_15];
24988
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_17 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", {
24713
24989
  stroke: "currentColor",
24714
24990
  "stroke-linecap": "round",
24715
24991
  "stroke-linejoin": "round",
24716
24992
  "stroke-width": "1.9",
24717
24993
  d: "m1 1 5.326 5.7a.909.909 0 0 0 1.348 0L13 1"
24718
24994
  }, null, -1);
24719
- const ESelectvue_type_template_id_520bc088_hoisted_18 = [ESelectvue_type_template_id_520bc088_hoisted_17];
24720
- const ESelectvue_type_template_id_520bc088_hoisted_19 = ["onClick"];
24721
- const ESelectvue_type_template_id_520bc088_hoisted_20 = {
24995
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_18 = [ESelectvue_type_template_id_1fa1f6ec_hoisted_17];
24996
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_19 = ["onClick"];
24997
+ const ESelectvue_type_template_id_1fa1f6ec_hoisted_20 = {
24722
24998
  key: 0,
24723
24999
  class: "e-select--error-message exos-animate-slide-down"
24724
25000
  };
24725
- function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setup, $data, $options) {
24726
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ESelectvue_type_template_id_520bc088_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ESelectvue_type_template_id_520bc088_hoisted_2, [$props.suggestion ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ESelectvue_type_template_id_520bc088_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("input", {
25001
+ function ESelectvue_type_template_id_1fa1f6ec_render(_ctx, _cache, $props, $setup, $data, $options) {
25002
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ESelectvue_type_template_id_1fa1f6ec_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ESelectvue_type_template_id_1fa1f6ec_hoisted_2, [$props.suggestion ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", ESelectvue_type_template_id_1fa1f6ec_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("input", {
24727
25003
  placeholder: " ",
24728
25004
  ref: "refSelect",
24729
25005
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainClass),
24730
25006
  disabled: $props.disabled,
24731
25007
  id: 'input-' + $props.label,
24732
- value: $options.labelSelected,
25008
+ value: $data.tempValueInput,
25009
+ style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)($options.inputPaddingSelectedClass),
24733
25010
  onBlur: _cache[0] || (_cache[0] = (...args) => $options.onInputBlur && $options.onInputBlur(...args)),
24734
25011
  onFocus: _cache[1] || (_cache[1] = (...args) => $options.onInputFocus && $options.onInputFocus(...args)),
24735
25012
  onInput: _cache[2] || (_cache[2] = (...args) => $options.fetchSuggestions && $options.fetchSuggestions(...args)),
24736
25013
  onClick: _cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)((...args) => $options.toggleDropdown && $options.toggleDropdown(...args), ["prevent"]))
24737
- }, null, 42, ESelectvue_type_template_id_520bc088_hoisted_4), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("label", {
25014
+ }, null, 46, ESelectvue_type_template_id_1fa1f6ec_hoisted_4), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
25015
+ ref: "inputLabelSelected",
25016
+ class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.inputLabelSelectedClass)
25017
+ }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.labelSelected), 3), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("label", {
24738
25018
  for: 'input-' + $props.label,
24739
25019
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.labelClass)
24740
25020
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
24741
25021
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.classBoxLabel)
24742
- }, [(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", ESelectvue_type_template_id_520bc088_hoisted_6, "*")) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)], 10, ESelectvue_type_template_id_520bc088_hoisted_5)])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("button", {
25022
+ }, [(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", ESelectvue_type_template_id_1fa1f6ec_hoisted_6, "*")) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)], 10, ESelectvue_type_template_id_1fa1f6ec_hoisted_5)])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("button", {
24743
25023
  key: 1,
24744
25024
  ref: "refSelect",
24745
25025
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.mainClass),
@@ -24748,24 +25028,25 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
24748
25028
  onBlur: _cache[4] || (_cache[4] = (...args) => $options.onInputBlur && $options.onInputBlur(...args)),
24749
25029
  onFocus: _cache[5] || (_cache[5] = (...args) => $options.onInputFocus && $options.onInputFocus(...args)),
24750
25030
  onClick: _cache[6] || (_cache[6] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)((...args) => $options.toggleDropdown && $options.toggleDropdown(...args), ["prevent"]))
24751
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ESelectvue_type_template_id_520bc088_hoisted_8, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
25031
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ESelectvue_type_template_id_1fa1f6ec_hoisted_8, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
24752
25032
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['exos-flex exos-flex-col', _ctx.$slots.icon ? [$props.iconRight ? '' : 'exos-pl-5'] : ''])
24753
25033
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("label", {
24754
25034
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)([$options.labelSelected ? $options.labelClass : $options.textSizeClass, $props.disabled ? 'exos-cursor-not-allowed' : 'exos-cursor-pointer'])
24755
25035
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
24756
25036
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.classBoxLabel)
24757
- }, [(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", ESelectvue_type_template_id_520bc088_hoisted_9, "*")) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)], 2), !$props.suggestion ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
25037
+ }, [(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", ESelectvue_type_template_id_1fa1f6ec_hoisted_9, "*")) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)], 2), !$props.suggestion ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
24758
25038
  key: 0,
24759
25039
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.labelSelectedClass)
24760
- }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.getFormattedOptionSelected($options.labelSelected)), 3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)])], 42, ESelectvue_type_template_id_520bc088_hoisted_7)), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
25040
+ }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.getFormattedOptionSelected($options.labelSelected)), 3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2)])], 42, ESelectvue_type_template_id_1fa1f6ec_hoisted_7)), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
25041
+ ref: "eSelectIconSection",
24761
25042
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['e-select-icon', $props.disabled ? 'exos-cursor-not-allowed' : 'exos-cursor-pointer', _ctx.$slots.icon ? 'exos-right-11' : true ? $props.iconRight ? 'exos-right-11' : 'exos-right-3' : 0])
24762
- }, [this.modelValue && $props.showClean && !$props.disabled || this.messageRule && $props.showClean && !$props.disabled ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
25043
+ }, [$options.showCleanBtn ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
24763
25044
  key: 0,
24764
25045
  onClick: _cache[7] || (_cache[7] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)((...args) => $options.clean && $options.clean(...args), ["stop", "prevent"])),
24765
25046
  class: "exos-animate-slide-down"
24766
25047
  }, [_ctx.$slots.iconClose ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconClose", {
24767
25048
  key: 0
24768
- }) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", ESelectvue_type_template_id_520bc088_hoisted_10, ESelectvue_type_template_id_520bc088_hoisted_12))])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $props.loading ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", ESelectvue_type_template_id_520bc088_hoisted_13, ESelectvue_type_template_id_520bc088_hoisted_16)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
25049
+ }) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", ESelectvue_type_template_id_1fa1f6ec_hoisted_10, ESelectvue_type_template_id_1fa1f6ec_hoisted_12))])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $props.loading ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", ESelectvue_type_template_id_1fa1f6ec_hoisted_13, ESelectvue_type_template_id_1fa1f6ec_hoisted_16)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
24769
25050
  key: 2,
24770
25051
  onClick: _cache[8] || (_cache[8] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)((...args) => $options.toggleDropdown && $options.toggleDropdown(...args), ["prevent"])),
24771
25052
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)({
@@ -24780,7 +25061,7 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
24780
25061
  xmlns: "http://www.w3.org/2000/svg",
24781
25062
  fill: "none",
24782
25063
  viewBox: "0 0 14 8"
24783
- }, ESelectvue_type_template_id_520bc088_hoisted_18, 2))], 2))], 2), $setup.isDropdownOpen ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
25064
+ }, ESelectvue_type_template_id_1fa1f6ec_hoisted_18, 2))], 2))], 2), $setup.isDropdownOpen ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
24784
25065
  key: 2,
24785
25066
  ref: "contentSelect",
24786
25067
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.containerOptionsClass),
@@ -24790,15 +25071,74 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
24790
25071
  onClick: $event => $options.selectOption(option),
24791
25072
  key: option.value,
24792
25073
  class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)([$options.optionsClass, $options.labelSelectedColor(option.value)])
24793
- }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.getFormattedOption(option)), 11, ESelectvue_type_template_id_520bc088_hoisted_19);
24794
- }), 128))], 6)) : (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", ESelectvue_type_template_id_520bc088_hoisted_20, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($data.messageRule), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 512);
25074
+ }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.getFormattedOption(option)), 11, ESelectvue_type_template_id_1fa1f6ec_hoisted_19);
25075
+ }), 128))], 6)) : (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", ESelectvue_type_template_id_1fa1f6ec_hoisted_20, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($data.messageRule), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 512);
24795
25076
  }
24796
- ;// CONCATENATED MODULE: ./src/ui/components/select/ESelect.vue?vue&type=template&id=520bc088
25077
+ ;// CONCATENATED MODULE: ./src/ui/components/select/ESelect.vue?vue&type=template&id=1fa1f6ec
24797
25078
 
24798
25079
  ;// 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
24799
25080
 
24800
25081
 
24801
25082
 
25083
+ const ESelectvue_type_script_lang_js_patterns = {
25084
+ email: /^(?=[a-zA-Z0-9@._%+-]{6,254}$)[a-zA-Z0-9._%+-]{1,250}@(?:[a-zA-Z0-9-]{1,63}\.){1,8}[a-zA-Z]{2,63}$/,
25085
+ // Email
25086
+ decimal: {
25087
+ regex: /[^0-9.]/g,
25088
+ //Decimal
25089
+ msg: "El valor ingresado debe ser en formato decimal"
25090
+ },
25091
+ integer: {
25092
+ regex: /[^0-9]/g,
25093
+ // Números enteros
25094
+ msg: "El valor ingresado debe ser en formato entero"
25095
+ },
25096
+ alfa: {
25097
+ regex: /[^a-zA-ZáÁéÉíÍóÓúÚüÜ\s]/g,
25098
+ // Alfabético con espacio y acentos
25099
+ msg: "El valor ingresado debe ser alfabético"
25100
+ },
25101
+ alfaNum: {
25102
+ regex: /[^a-zA-Z0-9]/g,
25103
+ // Alfanumérico
25104
+ msg: "El valor ingresado debe ser alfanumérico"
25105
+ },
25106
+ alfaNumChar: {
25107
+ regex: /[^a-zA-Z0-9áéíóúÁÉÍÓÚüÜ!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?`~ ]/g,
25108
+ // Alfanumérico con caracteres especiales,
25109
+ msg: "El valor ingresado debe ser alfanumérico con caracteres"
25110
+ },
25111
+ alfaNumSpace: {
25112
+ regex: /[^a-zA-Z0-9\s]/g,
25113
+ // Letras, números y espacios
25114
+ msg: "El valor ingresado debe contener solo letras, números y espacios"
25115
+ },
25116
+ nomenclaturaDoc: {
25117
+ regex: /[^a-zA-Z0-9%_\-.,ñÑ\s]/g,
25118
+ // Alfanumérico para nomenclatura de documentos
25119
+ msg: "La nomenclatura contiene caracteres inválidos"
25120
+ },
25121
+ pathDocs: {
25122
+ regex: /[^a-zA-Z0-9\\/,_\-.:]/g,
25123
+ //Ruta de archivos
25124
+ msg: "La ruta contiene caracteres inválidos"
25125
+ },
25126
+ money: {
25127
+ regex: /[^0-9.,$]/g,
25128
+ // $15,450.00 Números, punto, coma y signo de peso
25129
+ msg: "El valor ingresado debe ser en formato de cantidad monetaria"
25130
+ },
25131
+ time: {
25132
+ regex: /[^0-9:]/g,
25133
+ //Horas HH:MM:SS
25134
+ msg: "El campo debe contener el formato HH:MM:SS"
25135
+ },
25136
+ timens: {
25137
+ regex: /[^0-9:]/g,
25138
+ //Horas HH:MM
25139
+ msg: "El campo debe contener el formato HH:MM"
25140
+ }
25141
+ };
24802
25142
  /* harmony default export */ var ESelectvue_type_script_lang_js = ({
24803
25143
  name: "ESelect",
24804
25144
  props: {
@@ -24810,6 +25150,25 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
24810
25150
  default: null,
24811
25151
  description: "Valor que se le asignará al componente ESelect."
24812
25152
  },
25153
+ /**
25154
+ * Modificador del valor del componente input. Ayuda para dar tratamiento a las máscaras.
25155
+ */
25156
+ modelModifiers: {
25157
+ default: null,
25158
+ description: "Modificadores modelValue."
25159
+ },
25160
+ /**
25161
+ * Regex para solo admitir ciertos caracteres, se maneja un objeto con 2 atributos
25162
+ * {
25163
+ * regex: /[^a-zA-Z0-9]/g //Ejemplo para solo manejar alfanumericos, si no define un regex se apliara como alfabetico
25164
+ * msg: Mensaje a mostrar, en caso de no definir un msg se mostrara el texto "El caràcter NO cumple con las reglas establecidas"
25165
+ * }
25166
+ * Este prop solo funciona con el modificador charExclude
25167
+ */
25168
+ regexValidChars: {
25169
+ default: null,
25170
+ description: "Regex para solo admitir ciertos caracteres, se maneja un objeto con 2 atributos."
25171
+ },
24813
25172
  /**
24814
25173
  * Bandera para habilitar el componente de selección multiple.
24815
25174
  */
@@ -25042,10 +25401,13 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
25042
25401
  },
25043
25402
  data() {
25044
25403
  return {
25404
+ tempValueInput: null,
25045
25405
  auxSuggestions: this.options,
25046
25406
  multipleValue: [],
25047
25407
  selectContentHeight: null,
25408
+ inputLabelSelectedW: null,
25048
25409
  selectHeight: null,
25410
+ iconSectionWidth: null,
25049
25411
  selectedoption: false,
25050
25412
  errorRules: false,
25051
25413
  messageRule: false,
@@ -25076,7 +25438,7 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
25076
25438
  return baseLabelSelectedClasses.concat(iconClasses);
25077
25439
  },
25078
25440
  labelClass() {
25079
- const baseLabelClasses = ["e-select-label", this.roundedClass, this.textSizeClass];
25441
+ const baseLabelClasses = [this.suggestion ? [this.labelSelected ? "e-select__inputSuggestLabel-suggest" : "e-select__inputSuggestLabel-selected"] : ["e-select-label"], this.roundedClass, this.textSizeClass];
25080
25442
  const dynamicLabelClasses = [this.modelValue ? [this.errorRules || this.messageRule ? ["e-select__labelTextColor--error"] : [this.labelColor + " e-select__labelTextColor"]] : this.errorRules || this.messageRule ? ["e-select__labelTextColor--error"] : [this.labelColorNV + " e-select__labelTextColor--noValue"], this.disabled ? "exos-cursor-not-allowed" : "exos-cursor-pointer"];
25081
25443
  return baseLabelClasses.concat(dynamicLabelClasses);
25082
25444
  },
@@ -25085,6 +25447,17 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
25085
25447
  const dynamicBoxLabelClasses = [this.modelValue || this.isInputFocused || this.messageRule ? [this.bgColor + " exos-bg-field dark:exos-bg-fieldDark"] : []];
25086
25448
  return baseBoxLabelClasses.concat(dynamicBoxLabelClasses);
25087
25449
  },
25450
+ inputLabelSelectedClass() {
25451
+ const inputLabelSelectedClass = ["e-select__inputSuggestLabel"];
25452
+ const inputLabelTextColor = [this.errorRules || this.messageRule ? ["e-select__labelTextColor--error"] : [this.tempValueInput ? [this.labelColor + " e-select__labelTextColor"] : [this.labelColorNV + " e-select__labelTextColor--noValue"]]];
25453
+ return inputLabelSelectedClass.concat(inputLabelTextColor);
25454
+ },
25455
+ inputPaddingSelectedClass() {
25456
+ return {
25457
+ "padding-left": this.inputLabelSelectedW ? this.inputLabelSelectedW + "px" : "0.75rem",
25458
+ "padding-right": this.iconSectionWidth ? this.iconSectionWidth + "px" : "4rem"
25459
+ };
25460
+ },
25088
25461
  textOptTransformClass() {
25089
25462
  const textOptTransformClasses = {
25090
25463
  upper: "exos-uppercase",
@@ -25160,6 +25533,9 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
25160
25533
  rules.unshift(val => !!val || `El campo ${this.label} es requerido`);
25161
25534
  }
25162
25535
  return rules;
25536
+ },
25537
+ showCleanBtn() {
25538
+ return this.modelValue && this.showClean && !this.disabled || this.messageRule && this.showClean && !this.disabled || this.tempValueInput;
25163
25539
  }
25164
25540
  },
25165
25541
  created() {
@@ -25172,6 +25548,7 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
25172
25548
  if (this.$refs.refSelect) {
25173
25549
  this.selectHeight = this.$refs.refSelect.offsetHeight;
25174
25550
  }
25551
+ this.calculateIconSectionWidth();
25175
25552
  },
25176
25553
  beforeUnmount() {
25177
25554
  // Desregistra este componente en EForm antes de destruirse
@@ -25180,6 +25557,11 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
25180
25557
  }
25181
25558
  },
25182
25559
  methods: {
25560
+ calculateIconSectionWidth() {
25561
+ if (this.$refs.eSelectIconSection) {
25562
+ this.iconSectionWidth = this.$refs.eSelectIconSection.offsetWidth + 20;
25563
+ }
25564
+ },
25183
25565
  calculateDropPositionY() {
25184
25566
  if (this.isDropdownOpen) {
25185
25567
  if (this.calculateAvailableSpaceY(this.$refs.refSelect)) {
@@ -25204,18 +25586,68 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
25204
25586
  return bottomSpace < 200 ? true : false; // arriba : abajo
25205
25587
  },
25206
25588
 
25589
+ calculateWidthLabelSelected() {
25590
+ this.$nextTick(() => {
25591
+ if (this.$refs.inputLabelSelected) {
25592
+ this.inputLabelSelectedW = this.$refs.inputLabelSelected.offsetWidth + 5;
25593
+ }
25594
+ });
25595
+ },
25596
+ setOptionsSuggest(val) {
25597
+ this.auxSuggestions = val;
25598
+ if (this.auxSuggestions.length > 0) {
25599
+ this.isDropdownOpen = true;
25600
+ }
25601
+ if (this.tempValueInput) {
25602
+ this.filterOptionsSuggest(this.tempValueInput);
25603
+ } else {
25604
+ if (this.labelSelected) {
25605
+ this.filterOptionsSuggest(this.labelSelected);
25606
+ }
25607
+ }
25608
+ },
25609
+ filterOptionsSuggest(val) {
25610
+ this.auxSuggestions = this.filterFn && typeof this.filterFn === "function" ? this.filterFn(this.options, val) : this.options.filter(option => {
25611
+ return option.label.toLowerCase().includes(val.toLowerCase());
25612
+ });
25613
+ },
25614
+ inputValReplaceRegex(regexToApply, valToReplace) {
25615
+ this.tempValueInput = this.tempValueInput.replace(regexToApply, valToReplace);
25616
+ },
25617
+ inputRegexValidation(inputValue) {
25618
+ if (this.modelModifiers) {
25619
+ if (this.modelModifiers?.charExclude) {
25620
+ // eslint-disable-next-line
25621
+ let regexToApply = this.regexValidChars?.regex ?? /[^a-zA-ZáÁéÉíÍóÓúÚüÜ\s]/g;
25622
+ // eslint-disable-next-line
25623
+ let msgToShow = this.regexValidChars?.msg ?? "El carácter no cumple con las reglas establecidas";
25624
+ this.inputValReplaceRegex(regexToApply, "");
25625
+
25626
+ // eslint-disable-next-line
25627
+ let errorKey = regexToApply.test(inputValue);
25628
+ if (!errorKey) {
25629
+ this.reset();
25630
+ } else {
25631
+ this.messageRule = msgToShow;
25632
+ }
25633
+ } else {
25634
+ Object.keys(this.modelModifiers).find(key => {
25635
+ if (key == "email") {
25636
+ return false;
25637
+ }
25638
+ this.inputValReplaceRegex(ESelectvue_type_script_lang_js_patterns[key].regex, "");
25639
+ });
25640
+ }
25641
+ }
25642
+ },
25207
25643
  fetchSuggestions(event) {
25208
25644
  this.selectedoption = false;
25209
- const valueInput = event.target.value;
25210
- if (valueInput === "") {
25211
- this.reset();
25212
- this.isDropdownOpen = false;
25213
- this.$emit("update:modelValue", null);
25214
- return;
25215
- }
25216
- this.auxSuggestions = this.filterFn && typeof this.filterFn === "function" ? this.filterFn(this.options, valueInput) : this.options.filter(option => option.label.toLowerCase().includes(valueInput.toLowerCase()));
25645
+ this.tempValueInput = event.target.value;
25646
+ this.calculateIconSectionWidth();
25647
+ this.inputRegexValidation(event.target.value);
25648
+ this.filterOptionsSuggest(this.tempValueInput);
25649
+ this.$emit("searchValue", this.tempValueInput);
25217
25650
  this.isDropdownOpen = this.auxSuggestions.length > 0;
25218
- this.$emit("update:modelValue", valueInput);
25219
25651
  },
25220
25652
  labelSelectedColor(value) {
25221
25653
  if (this.modelValue) {
@@ -25258,9 +25690,10 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
25258
25690
  // Limpia la opción seleccionada del componente
25259
25691
  async clean() {
25260
25692
  this.reset();
25261
- this.isDropdownOpen = false;
25262
25693
  this.multipleValue = [];
25694
+ this.isDropdownOpen = false;
25263
25695
  this.selectedoption = false;
25696
+ this.tempValueInput = null;
25264
25697
  /**
25265
25698
  * Se emite al limpiar el contenido del componente.
25266
25699
  *
@@ -25415,6 +25848,17 @@ function ESelectvue_type_template_id_520bc088_render(_ctx, _cache, $props, $setu
25415
25848
  };
25416
25849
  },
25417
25850
  watch: {
25851
+ labelSelected() {
25852
+ this.calculateWidthLabelSelected();
25853
+ },
25854
+ options(newVal) {
25855
+ if (this.suggestion && newVal.length > 0 && !this.multiple || newVal.length == 0) {
25856
+ this.setOptionsSuggest(newVal);
25857
+ }
25858
+ if (this.suggestion && newVal.length == 0 && !this.multiple) {
25859
+ this.auxSuggestions = newVal;
25860
+ }
25861
+ },
25418
25862
  isDropdownOpen(value) {
25419
25863
  if (value) {
25420
25864
  // Si se despliega el contenido oculto...
@@ -25466,7 +25910,7 @@ if (typeof (ESelectvue_type_custom_index_0_blockType_docs_lang_md_default()) ===
25466
25910
 
25467
25911
 
25468
25912
  ;
25469
- const ESelect_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ESelectvue_type_script_lang_js, [['render',ESelectvue_type_template_id_520bc088_render]])
25913
+ const ESelect_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ESelectvue_type_script_lang_js, [['render',ESelectvue_type_template_id_1fa1f6ec_render]])
25470
25914
 
25471
25915
  /* harmony default export */ var ESelect = (ESelect_exports_);
25472
25916
  ;// 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=62663a81
@@ -27154,6 +27598,7 @@ const loading = {
27154
27598
 
27155
27599
 
27156
27600
 
27601
+
27157
27602
 
27158
27603
 
27159
27604
  const ExosLibraryComponents = {
@@ -27181,6 +27626,7 @@ const ExosLibraryComponents = {
27181
27626
  app.component("EForm", EForm);
27182
27627
  app.component("EStepper", EStepper);
27183
27628
  app.component("ECheckbox", ECheckbox);
27629
+ app.component("ERadio", ERadio);
27184
27630
  app.provide("$loading", loading);
27185
27631
  app.provide("$notify", notify);
27186
27632
  app.provide("$showMessage", message);