@alexochihua/exos-library-components 2.25.32 → 2.25.33
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.
|
@@ -33805,9 +33805,9 @@ const ECollapsevue_type_script_setup_true_lang_js_hoisted_9 = {
|
|
|
33805
33805
|
"data-testid": "collapse-cy",
|
|
33806
33806
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(mainClass.value),
|
|
33807
33807
|
onClick: toggleCollapse
|
|
33808
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconLeft")]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
|
|
33808
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "iconLeft")]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header-section", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("p", {
|
|
33809
33809
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(titleText.value)
|
|
33810
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(__props.text), 3), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.unref)(slots).description ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "description", {
|
|
33810
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(__props.text), 3)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.unref)(slots).description ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "description", {
|
|
33811
33811
|
key: 0
|
|
33812
33812
|
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.unref)(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_script_setup_true_lang_js_hoisted_6, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "rightSection")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), expandIcon.value.show ? ((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)({
|
|
33813
33813
|
key: 1
|
|
@@ -51316,6 +51316,14 @@ const dayStyleBlock = 'exos-opacity-10 dark:exos-opacity-20 exos-cursor-not-allo
|
|
|
51316
51316
|
requiredMessage: {
|
|
51317
51317
|
type: String,
|
|
51318
51318
|
default: 'El campo %label% es requerido'
|
|
51319
|
+
},
|
|
51320
|
+
/**
|
|
51321
|
+
* Mensaje que se muestra cuando la fecha escrita o seleccionada no es válida (formato o fecha inexistente)
|
|
51322
|
+
* @values 'Error, no es una fecha valida' - mensaje por defecto, 'Introduce una fecha correcta' - ejemplo personalizado
|
|
51323
|
+
*/
|
|
51324
|
+
invalidDateMessage: {
|
|
51325
|
+
type: String,
|
|
51326
|
+
default: 'Error, no es una fecha valida'
|
|
51319
51327
|
}
|
|
51320
51328
|
},
|
|
51321
51329
|
emits: [
|
|
@@ -51353,7 +51361,7 @@ const dayStyleBlock = 'exos-opacity-10 dark:exos-opacity-20 exos-cursor-not-allo
|
|
|
51353
51361
|
const yearSelector = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)(false);
|
|
51354
51362
|
const currentDate = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)(DateTime.local());
|
|
51355
51363
|
const isInValid = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)(false);
|
|
51356
|
-
const messageRule = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)('
|
|
51364
|
+
const messageRule = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)('');
|
|
51357
51365
|
const isInputFocused = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)(false);
|
|
51358
51366
|
const isLabelFloatedVisual = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.computed)(() => !!props.modelValue || isInputFocused.value || hasMeaningfulPlaceholder.value);
|
|
51359
51367
|
const isTodayBlocked = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)(false);
|
|
@@ -51815,7 +51823,7 @@ const dayStyleBlock = 'exos-opacity-10 dark:exos-opacity-20 exos-cursor-not-allo
|
|
|
51815
51823
|
zone: 'local'
|
|
51816
51824
|
});
|
|
51817
51825
|
isInValid.value = !formattedDate.isValid;
|
|
51818
|
-
messageRule.value = isInValid.value ?
|
|
51826
|
+
messageRule.value = isInValid.value ? props.invalidDateMessage : '';
|
|
51819
51827
|
if (formattedDate.isValid) {
|
|
51820
51828
|
let fechaActual = formattedDate.startOf('day');
|
|
51821
51829
|
if (props.dateToStart) {
|
|
@@ -33823,9 +33823,9 @@ const ECollapsevue_type_script_setup_true_lang_js_hoisted_9 = {
|
|
|
33823
33823
|
"data-testid": "collapse-cy",
|
|
33824
33824
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(mainClass.value),
|
|
33825
33825
|
onClick: toggleCollapse
|
|
33826
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "iconLeft")]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("p", {
|
|
33826
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "iconLeft")]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "header-section", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("p", {
|
|
33827
33827
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(titleText.value)
|
|
33828
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.text), 3), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(slots).description ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "description", {
|
|
33828
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(__props.text), 3)]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(slots).description ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "description", {
|
|
33829
33829
|
key: 0
|
|
33830
33830
|
}) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(slots).rightSection ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", ECollapsevue_type_script_setup_true_lang_js_hoisted_6, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "rightSection")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), expandIcon.value.show ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_e_icon, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
|
|
33831
33831
|
key: 1
|
|
@@ -51334,6 +51334,14 @@ const dayStyleBlock = 'exos-opacity-10 dark:exos-opacity-20 exos-cursor-not-allo
|
|
|
51334
51334
|
requiredMessage: {
|
|
51335
51335
|
type: String,
|
|
51336
51336
|
default: 'El campo %label% es requerido'
|
|
51337
|
+
},
|
|
51338
|
+
/**
|
|
51339
|
+
* Mensaje que se muestra cuando la fecha escrita o seleccionada no es válida (formato o fecha inexistente)
|
|
51340
|
+
* @values 'Error, no es una fecha valida' - mensaje por defecto, 'Introduce una fecha correcta' - ejemplo personalizado
|
|
51341
|
+
*/
|
|
51342
|
+
invalidDateMessage: {
|
|
51343
|
+
type: String,
|
|
51344
|
+
default: 'Error, no es una fecha valida'
|
|
51337
51345
|
}
|
|
51338
51346
|
},
|
|
51339
51347
|
emits: [
|
|
@@ -51371,7 +51379,7 @@ const dayStyleBlock = 'exos-opacity-10 dark:exos-opacity-20 exos-cursor-not-allo
|
|
|
51371
51379
|
const yearSelector = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
51372
51380
|
const currentDate = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(DateTime.local());
|
|
51373
51381
|
const isInValid = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
51374
|
-
const messageRule = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)('
|
|
51382
|
+
const messageRule = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)('');
|
|
51375
51383
|
const isInputFocused = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
51376
51384
|
const isLabelFloatedVisual = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => !!props.modelValue || isInputFocused.value || hasMeaningfulPlaceholder.value);
|
|
51377
51385
|
const isTodayBlocked = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(false);
|
|
@@ -51833,7 +51841,7 @@ const dayStyleBlock = 'exos-opacity-10 dark:exos-opacity-20 exos-cursor-not-allo
|
|
|
51833
51841
|
zone: 'local'
|
|
51834
51842
|
});
|
|
51835
51843
|
isInValid.value = !formattedDate.isValid;
|
|
51836
|
-
messageRule.value = isInValid.value ?
|
|
51844
|
+
messageRule.value = isInValid.value ? props.invalidDateMessage : '';
|
|
51837
51845
|
if (formattedDate.isValid) {
|
|
51838
51846
|
let fechaActual = formattedDate.startOf('day');
|
|
51839
51847
|
if (props.dateToStart) {
|