lau-ecom-design-system 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -565,11 +565,11 @@ var script$z = /*@__PURE__*/vue.defineComponent({
565
565
  });script$z.__file = "src/components/LauEcomIcon/LauEcomCbtIconGirlReading.vue";var _hoisted_1$v = ["width", "height"];
566
566
  var _hoisted_2$i = ["fill"];
567
567
  var _hoisted_3$e = ["fill"];
568
- var _hoisted_4$8 = ["fill"];
569
- var _hoisted_5$7 = ["fill"];
568
+ var _hoisted_4$7 = ["fill"];
569
+ var _hoisted_5$6 = ["fill"];
570
570
  var _hoisted_6$5 = ["fill"];
571
- var _hoisted_7$3 = ["fill"];
572
- var _hoisted_8$3 = ["fill"];
571
+ var _hoisted_7$4 = ["fill"];
572
+ var _hoisted_8$4 = ["fill"];
573
573
  var script$y = /*@__PURE__*/vue.defineComponent({
574
574
  __name: 'LauEcomCbtIconChart',
575
575
  props: {
@@ -606,19 +606,19 @@ var script$y = /*@__PURE__*/vue.defineComponent({
606
606
  }, null, 8 /* PROPS */, _hoisted_3$e), vue.createElementVNode("path", {
607
607
  d: "M41.1582 33.1329C41.3492 33.3228 41.7311 33.5127 42.1131 33.5127C42.8769 33.5127 43.4498 33.5127 44.0227 33.5127H44.5956C44.9775 33.5127 45.3594 33.3228 45.5504 33.1329C45.7414 32.943 45.9323 32.5633 45.9323 32.1835C45.9323 28.576 45.9323 24.9684 45.9323 21.3608C45.9323 20.981 45.7414 20.6013 45.5504 20.4114C45.3594 20.2215 44.9775 20.0316 44.5956 20.0316H44.0227C43.4498 20.0316 42.8769 20.0316 42.1131 20.0316C41.5402 20.0316 41.3492 20.0316 40.9673 20.4114C40.7763 20.6013 40.5854 20.981 40.5854 21.5506C40.5854 22.6899 40.5854 24.019 40.5854 25.1582V28.0063C40.5854 29.3354 40.5854 30.6646 40.5854 31.9937C40.7763 32.5633 40.7763 32.7532 41.1582 33.1329ZM42.8769 31.2342V22.3101H43.6408V31.2342H42.8769Z",
608
608
  fill: _ctx.color
609
- }, null, 8 /* PROPS */, _hoisted_4$8), vue.createElementVNode("path", {
609
+ }, null, 8 /* PROPS */, _hoisted_4$7), vue.createElementVNode("path", {
610
610
  d: "M32.183 21.9304C31.992 21.7405 31.6101 21.5506 31.0372 21.5506C30.2733 21.5506 29.5095 21.5506 28.7456 21.5506C28.3637 21.5506 27.9818 21.7405 27.7908 21.9304C27.5998 22.1203 27.4089 22.5 27.4089 22.8797C27.4089 24.9684 27.4089 27.057 27.4089 29.1456V32.1835C27.4089 32.5633 27.5998 32.943 27.7908 33.1329C27.9818 33.3228 28.3637 33.5127 28.7456 33.5127H29.1275C29.8914 33.5127 30.6552 33.5127 31.4191 33.5127C31.801 33.5127 32.183 33.3228 32.3739 33.1329C32.5649 32.943 32.7558 32.5633 32.7558 32.1835C32.7558 31.0443 32.7558 30.0949 32.7558 28.9557V26.2975C32.7558 25.1582 32.7558 24.2089 32.7558 23.0696C32.3739 22.5 32.3739 22.1203 32.183 21.9304ZM30.2733 23.8291V31.2342H29.5095V23.8291H30.2733Z",
611
611
  fill: _ctx.color
612
- }, null, 8 /* PROPS */, _hoisted_5$7), vue.createElementVNode("path", {
612
+ }, null, 8 /* PROPS */, _hoisted_5$6), vue.createElementVNode("path", {
613
613
  d: "M38.8667 24.2089C38.6757 24.019 38.2938 23.8291 37.9119 23.8291C36.957 23.8291 36.1932 23.8291 35.2384 23.8291C34.8564 23.8291 34.4745 24.019 34.2836 24.2089C34.0926 24.3987 33.9016 24.7785 33.9016 25.1582C33.9016 27.4367 33.9016 29.9051 33.9016 32.1835C33.9016 32.5633 34.0926 32.943 34.2836 33.1329C34.4745 33.3228 34.8564 33.5127 35.2384 33.5127H35.8113C36.5751 33.5127 37.148 33.5127 37.7209 33.5127C38.1028 33.5127 38.4848 33.3228 38.6757 33.1329C38.8667 32.943 39.0576 32.5633 39.0576 32.1835C39.0576 31.4241 39.0576 30.6646 39.0576 29.9051V27.6266C39.0576 26.8671 39.0576 26.1076 39.0576 25.1582C39.0576 24.7785 39.0576 24.3987 38.8667 24.2089ZM36.957 26.1076V31.2342H36.1932V26.1076H36.957Z",
614
614
  fill: _ctx.color
615
615
  }, null, 8 /* PROPS */, _hoisted_6$5), vue.createElementVNode("path", {
616
616
  d: "M20.5342 31.8038C20.5342 33.1329 20.9161 33.3228 22.0619 33.3228C22.2529 33.3228 22.6348 33.3228 22.8257 33.3228C23.2077 33.3228 23.7806 33.3228 24.1625 33.3228C24.1625 33.3228 24.1625 33.3228 24.3535 33.3228C24.7354 33.3228 25.1173 33.1329 25.3083 32.943C25.4992 32.7532 25.6902 32.3734 25.6902 31.8038C25.6902 30.6646 25.6902 29.3354 25.6902 28.0063C25.6902 27.6266 25.4992 27.2468 25.3083 26.8671C25.1173 26.6772 24.7354 26.4873 24.1625 26.4873C23.3986 26.4873 22.6348 26.4873 21.8709 26.4873C21.298 26.4873 20.9161 26.4873 20.7251 26.8671C20.5342 27.057 20.3432 27.4367 20.3432 28.0063C20.3432 28.3861 20.3432 28.7658 20.3432 29.3354V30.4747C20.5342 31.0443 20.5342 31.4241 20.5342 31.8038ZM22.8257 31.2342V28.9557H23.5896V31.2342H22.8257Z",
617
617
  fill: _ctx.color
618
- }, null, 8 /* PROPS */, _hoisted_7$3), vue.createElementVNode("path", {
618
+ }, null, 8 /* PROPS */, _hoisted_7$4), vue.createElementVNode("path", {
619
619
  d: "M10.4131 37.1203L10.986 39.2089L12.8956 38.8291L12.5137 36.7405L10.4131 37.1203Z",
620
620
  fill: _ctx.color
621
- }, null, 8 /* PROPS */, _hoisted_8$3)], 8 /* PROPS */, _hoisted_1$v);
621
+ }, null, 8 /* PROPS */, _hoisted_8$4)], 8 /* PROPS */, _hoisted_1$v);
622
622
  };
623
623
  }
624
624
  });script$y.__file = "src/components/LauEcomIcon/LauEcomCbtIconChart.vue";var _hoisted_1$u = ["width", "height"];
@@ -841,7 +841,52 @@ var script$r = /*@__PURE__*/vue.defineComponent({
841
841
  }, null, -1 /* HOISTED */)]), 8 /* PROPS */, _hoisted_1$o);
842
842
  };
843
843
  }
844
- });script$r.__file = "src/components/LauEcomIcon/LauEcomUpcIconNavBack.vue";var LauEcomButtonType = /*#__PURE__*/function (LauEcomButtonType) {
844
+ });script$r.__file = "src/components/LauEcomIcon/LauEcomUpcIconNavBack.vue";var _hoisted_1$n = ["width", "height"];
845
+ var _hoisted_2$h = ["stroke"];
846
+ var _hoisted_3$d = ["stroke"];
847
+ var script$q = /*@__PURE__*/vue.defineComponent({
848
+ __name: 'LauEcomUpcIconSearch',
849
+ props: {
850
+ color: {
851
+ type: String,
852
+ required: false,
853
+ default: "currentColor"
854
+ },
855
+ width: {
856
+ type: String,
857
+ required: false,
858
+ default: "24"
859
+ },
860
+ height: {
861
+ type: String,
862
+ required: false,
863
+ default: "24"
864
+ }
865
+ },
866
+ setup: function setup(__props) {
867
+ return function (_ctx, _cache) {
868
+ return vue.openBlock(), vue.createElementBlock("svg", {
869
+ width: _ctx.width,
870
+ height: _ctx.height,
871
+ viewBox: "0 0 24 24",
872
+ fill: "none",
873
+ xmlns: "http://www.w3.org/2000/svg"
874
+ }, [vue.createElementVNode("path", {
875
+ d: "M11 19C15.4183 19 19 15.4183 19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19Z",
876
+ stroke: _ctx.color,
877
+ "stroke-width": "2",
878
+ "stroke-linecap": "round",
879
+ "stroke-linejoin": "round"
880
+ }, null, 8 /* PROPS */, _hoisted_2$h), vue.createElementVNode("path", {
881
+ d: "M21 21L16.65 16.65",
882
+ stroke: _ctx.color,
883
+ "stroke-width": "2",
884
+ "stroke-linecap": "round",
885
+ "stroke-linejoin": "round"
886
+ }, null, 8 /* PROPS */, _hoisted_3$d)], 8 /* PROPS */, _hoisted_1$n);
887
+ };
888
+ }
889
+ });script$q.__file = "src/components/LauEcomIcon/LauEcomUpcIconSearch.vue";var LauEcomButtonType = /*#__PURE__*/function (LauEcomButtonType) {
845
890
  LauEcomButtonType["Primary"] = "primary";
846
891
  LauEcomButtonType["Secondary"] = "secondary";
847
892
  return LauEcomButtonType;
@@ -857,8 +902,8 @@ var script$r = /*@__PURE__*/vue.defineComponent({
857
902
  LauEcomSize["lg"] = "large";
858
903
  LauEcomSize["full"] = "full";
859
904
  return LauEcomSize;
860
- }({});var _hoisted_1$n = ["disabled"];
861
- var script$q = /*@__PURE__*/vue.defineComponent({
905
+ }({});var _hoisted_1$m = ["disabled"];
906
+ var script$p = /*@__PURE__*/vue.defineComponent({
862
907
  __name: 'LauEcomButton',
863
908
  props: {
864
909
  type: {
@@ -912,13 +957,13 @@ var script$q = /*@__PURE__*/vue.defineComponent({
912
957
  }, [_ctx.hasArrow ? (vue.openBlock(), vue.createBlock(vue.unref(script$O), {
913
958
  key: 0,
914
959
  class: vue.normalizeClass(iconClasses.value)
915
- }, null, 8 /* PROPS */, ["class"])) : vue.createCommentVNode("v-if", true), vue.renderSlot(_ctx.$slots, "default")], 10 /* CLASS, PROPS */, _hoisted_1$n);
960
+ }, null, 8 /* PROPS */, ["class"])) : vue.createCommentVNode("v-if", true), vue.renderSlot(_ctx.$slots, "default")], 10 /* CLASS, PROPS */, _hoisted_1$m);
916
961
  };
917
962
  }
918
- });script$q.__scopeId = "data-v-7cd3bda6";
919
- script$q.__file = "src/components/LauEcomButton/LauEcomButton.vue";var _hoisted_1$m = ["id", "disabled", "value"];
920
- var _hoisted_2$h = ["for"];
921
- var script$p = /*@__PURE__*/vue.defineComponent({
963
+ });script$p.__scopeId = "data-v-7cd3bda6";
964
+ script$p.__file = "src/components/LauEcomButton/LauEcomButton.vue";var _hoisted_1$l = ["id", "disabled", "value"];
965
+ var _hoisted_2$g = ["for"];
966
+ var script$o = /*@__PURE__*/vue.defineComponent({
922
967
  __name: 'LauEcomRadioButton',
923
968
  props: {
924
969
  id: {
@@ -984,20 +1029,20 @@ var script$p = /*@__PURE__*/vue.defineComponent({
984
1029
  disabled: _ctx.isDisabled,
985
1030
  value: _ctx.value,
986
1031
  onChange: handleChange
987
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$m), [[vue.vModelRadio, radioGroupValue.value]]), vue.createElementVNode("span", {
1032
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$l), [[vue.vModelRadio, radioGroupValue.value]]), vue.createElementVNode("span", {
988
1033
  for: _ctx.id
989
- }, vue.toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$h)]);
1034
+ }, vue.toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$g)]);
990
1035
  };
991
1036
  }
992
- });script$p.__scopeId = "data-v-1e1b236f";
993
- script$p.__file = "src/components/LauEcomRadioButton/LauEcomRadioButton.vue";var _hoisted_1$l = {
1037
+ });script$o.__scopeId = "data-v-1e1b236f";
1038
+ script$o.__file = "src/components/LauEcomRadioButton/LauEcomRadioButton.vue";var _hoisted_1$k = {
994
1039
  class: "dsEcom-flex"
995
1040
  };
996
- var _hoisted_2$g = {
1041
+ var _hoisted_2$f = {
997
1042
  class: "lau-ecom-label group upc-font-body-reg-05-14px"
998
1043
  };
999
- var _hoisted_3$d = ["required", "disabled", "checked"];
1000
- var script$o = /*@__PURE__*/vue.defineComponent({
1044
+ var _hoisted_3$c = ["required", "disabled", "checked"];
1045
+ var script$n = /*@__PURE__*/vue.defineComponent({
1001
1046
  __name: 'LauEcomCheckbox',
1002
1047
  props: {
1003
1048
  id: {
@@ -1067,14 +1112,14 @@ var script$o = /*@__PURE__*/vue.defineComponent({
1067
1112
  return "";
1068
1113
  });
1069
1114
  return function (_ctx, _cache) {
1070
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [vue.createElementVNode("label", _hoisted_2$g, [vue.createElementVNode("input", {
1115
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [vue.createElementVNode("label", _hoisted_2$f, [vue.createElementVNode("input", {
1071
1116
  class: vue.normalizeClass(lauEcomCheckboxClasses.value),
1072
1117
  type: "checkbox",
1073
1118
  required: _ctx.isRequired,
1074
1119
  disabled: _ctx.isDisabled,
1075
1120
  checked: isChecked.value,
1076
1121
  onChange: handleChange
1077
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_3$d), vue.createVNode(vue.unref(script$N), {
1122
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_3$c), vue.createVNode(vue.unref(script$N), {
1078
1123
  class: "icon-checkmark",
1079
1124
  width: "16",
1080
1125
  height: "16"
@@ -1088,25 +1133,25 @@ var script$o = /*@__PURE__*/vue.defineComponent({
1088
1133
  })], 2 /* CLASS */)]);
1089
1134
  };
1090
1135
  }
1091
- });script$o.__scopeId = "data-v-51a6198f";
1092
- script$o.__file = "src/components/LauEcomCheckbox/LauEcomCheckbox.vue";var _hoisted_1$k = {
1136
+ });script$n.__scopeId = "data-v-51a6198f";
1137
+ script$n.__file = "src/components/LauEcomCheckbox/LauEcomCheckbox.vue";var _hoisted_1$j = {
1093
1138
  class: "dsEcom-flex dsEcom-flex-col"
1094
1139
  };
1095
- var _hoisted_2$f = ["id", "type", "placeholder", "name", "disabled", "value", "maxlength"];
1096
- var _hoisted_3$c = {
1140
+ var _hoisted_2$e = ["id", "type", "placeholder", "name", "disabled", "value", "maxlength"];
1141
+ var _hoisted_3$b = {
1097
1142
  key: 1,
1098
1143
  class: "lau-ecom-error-message core-font-body-reg-06-12px"
1099
1144
  };
1100
- var _hoisted_4$7 = {
1145
+ var _hoisted_4$6 = {
1101
1146
  class: "dsEcom-flex"
1102
1147
  };
1103
- var _hoisted_5$6 = {
1148
+ var _hoisted_5$5 = {
1104
1149
  class: "dsEcom-ml-1"
1105
1150
  };
1106
1151
  var _hoisted_6$4 = {
1107
1152
  key: 0
1108
1153
  };
1109
- var script$n = /*@__PURE__*/vue.defineComponent({
1154
+ var script$m = /*@__PURE__*/vue.defineComponent({
1110
1155
  __name: 'LauEcomInput',
1111
1156
  props: {
1112
1157
  id: {
@@ -1217,7 +1262,7 @@ var script$n = /*@__PURE__*/vue.defineComponent({
1217
1262
  return ["lau-ecom-success", props.size === LauEcomSize.md ? "dsEcom-top-[10px]" : "dsEcom-top-3"];
1218
1263
  });
1219
1264
  return function (_ctx, _cache) {
1220
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
1265
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
1221
1266
  key: 0,
1222
1267
  class: vue.normalizeClass(labelClasses.value)
1223
1268
  }, vue.toDisplayString(_ctx.label), 3 /* TEXT, CLASS */)) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", {
@@ -1232,82 +1277,85 @@ var script$n = /*@__PURE__*/vue.defineComponent({
1232
1277
  value: inputValue.value,
1233
1278
  maxlength: _ctx.limit,
1234
1279
  onInput: handleInput
1235
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_2$f), _ctx.hasSuccess && !errorMessageValue.value ? (vue.openBlock(), vue.createElementBlock("div", {
1280
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_2$e), _ctx.hasSuccess && !errorMessageValue.value ? (vue.openBlock(), vue.createElementBlock("div", {
1236
1281
  key: 0,
1237
1282
  class: vue.normalizeClass(successClasses.value)
1238
1283
  }, [vue.createVNode(vue.unref(script$N), {
1239
1284
  class: "dsEcom-fill-feedback-success-60",
1240
1285
  width: "24",
1241
1286
  height: "24"
1242
- })], 2 /* CLASS */)) : vue.createCommentVNode("v-if", true), errorMessageValue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$c, [vue.createElementVNode("div", _hoisted_4$7, [vue.createVNode(vue.unref(script$M), {
1287
+ })], 2 /* CLASS */)) : vue.createCommentVNode("v-if", true), errorMessageValue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$b, [vue.createElementVNode("div", _hoisted_4$6, [vue.createVNode(vue.unref(script$M), {
1243
1288
  class: "dsEcom-fill-primary-60",
1244
1289
  width: "16",
1245
1290
  height: "16"
1246
- }), vue.createElementVNode("p", _hoisted_5$6, vue.toDisplayString(errorMessageValue.value), 1 /* TEXT */)]), inputValue.value.toString().length === _ctx.limit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$4, vue.toDisplayString("".concat(inputValue.value.toString().length, "/").concat(_ctx.limit)), 1 /* TEXT */)) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true)], 2 /* CLASS */)]);
1291
+ }), vue.createElementVNode("p", _hoisted_5$5, vue.toDisplayString(errorMessageValue.value), 1 /* TEXT */)]), inputValue.value.toString().length === _ctx.limit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$4, vue.toDisplayString("".concat(inputValue.value.toString().length, "/").concat(_ctx.limit)), 1 /* TEXT */)) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true)], 2 /* CLASS */)]);
1247
1292
  };
1248
1293
  }
1249
- });script$n.__scopeId = "data-v-df501de2";
1250
- script$n.__file = "src/components/LauEcomInput/LauEcomInput.vue";var _hoisted_1$j = {
1251
- class: "dsEcom-flex dsEcom-flex-col"
1294
+ });script$m.__scopeId = "data-v-df501de2";
1295
+ script$m.__file = "src/components/LauEcomInput/LauEcomInput.vue";var _hoisted_1$i = {
1296
+ class: "dsEcom-relative"
1252
1297
  };
1253
- var _hoisted_2$e = ["id", "type", "placeholder", "name", "disabled", "value", "maxlength"];
1254
- var _hoisted_3$b = {
1255
- key: 1,
1256
- class: "lau-ecom-error-message core-font-body-reg-06-12px"
1298
+ var _hoisted_2$d = {
1299
+ class: "dsEcom-flex dsEcom-items-center dsEcom-gap-2 dsEcom-p-4"
1257
1300
  };
1258
- var _hoisted_4$6 = {
1259
- class: "dsEcom-flex"
1301
+ var _hoisted_3$a = {
1302
+ class: "dsEcom-flex dsEcom-items-center dsEcom-gap-2 dsEcom-flex-1"
1260
1303
  };
1261
- var _hoisted_5$5 = {
1262
- class: "dsEcom-ml-1"
1304
+ var _hoisted_4$5 = {
1305
+ class: "dsEcom-flex dsEcom-items-center dsEcom-gap-0 dsEcom-flex-1"
1263
1306
  };
1307
+ var _hoisted_5$4 = ["placeholder", "disabled"];
1264
1308
  var _hoisted_6$3 = {
1265
- key: 0
1309
+ key: 2
1266
1310
  };
1267
- var script$m = /*@__PURE__*/vue.defineComponent({
1268
- __name: 'LauEcomInput2',
1311
+ var _hoisted_7$3 = ["placeholder", "disabled"];
1312
+ var _hoisted_8$3 = {
1313
+ class: "dsEcom-absolute dsEcom-right-0 dsEcom-inset-y-0 dsEcom-flex dsEcom-items-stretch"
1314
+ };
1315
+ var _hoisted_9$1 = {
1316
+ class: "dsEcom-relative"
1317
+ };
1318
+ var _hoisted_10$1 = ["placeholder", "disabled"];
1319
+ var _hoisted_11$1 = {
1320
+ class: "dsEcom-absolute dsEcom-right-0 dsEcom-inset-y-0 dsEcom-flex dsEcom-items-stretch"
1321
+ };
1322
+
1323
+ // Log de versión del componente
1324
+
1325
+ var script$l = /*@__PURE__*/vue.defineComponent({
1326
+ __name: 'LauEcomInputSearch',
1269
1327
  props: {
1270
- id: {
1271
- type: String,
1272
- required: false,
1273
- default: "lauEcomInput"
1274
- },
1275
- type: {
1276
- type: String,
1277
- required: false,
1278
- default: "text"
1279
- },
1280
1328
  placeholder: {
1281
1329
  type: String,
1282
1330
  required: false,
1283
- default: "Placeholder"
1331
+ default: "Quiero aprender..."
1284
1332
  },
1285
1333
  isDisabled: {
1286
1334
  type: Boolean,
1287
1335
  required: false,
1288
1336
  default: false
1289
1337
  },
1290
- label: {
1338
+ modelValue: {
1291
1339
  type: String,
1292
1340
  required: false,
1293
- default: "Text label"
1341
+ default: ""
1294
1342
  },
1295
- size: {
1296
- type: null,
1343
+ forceClose: {
1344
+ type: Boolean,
1297
1345
  required: false,
1298
- default: LauEcomSize.md
1346
+ default: false
1299
1347
  },
1300
- name: {
1348
+ buttonColorClass: {
1301
1349
  type: String,
1302
1350
  required: false,
1303
- default: "input"
1351
+ default: "dsEcom-bg-primary-60 hover:dsEcom-bg-primary-70"
1304
1352
  },
1305
- modelValue: {
1306
- type: [String, Number],
1353
+ buttonTextColorClass: {
1354
+ type: String,
1307
1355
  required: false,
1308
- default: ""
1356
+ default: "dsEcom-text-white"
1309
1357
  },
1310
- inputContainerClass: {
1358
+ buttonClass: {
1311
1359
  type: String,
1312
1360
  required: false,
1313
1361
  default: ""
@@ -1315,132 +1363,57 @@ var script$m = /*@__PURE__*/vue.defineComponent({
1315
1363
  inputClass: {
1316
1364
  type: String,
1317
1365
  required: false,
1318
- default: ""
1366
+ default: "dsEcom-h-10 dsEcom-rounded-lg"
1319
1367
  },
1320
- errorMessage: {
1368
+ containerClass: {
1321
1369
  type: String,
1322
1370
  required: false,
1323
1371
  default: ""
1324
1372
  },
1325
- hasSuccess: {
1373
+ expandedWidth: {
1374
+ type: String,
1375
+ required: false,
1376
+ default: "50vw"
1377
+ },
1378
+ isMobileSearch: {
1326
1379
  type: Boolean,
1327
1380
  required: false,
1328
1381
  default: false
1329
1382
  },
1330
- limit: {
1331
- type: Number,
1383
+ arrowColorClass: {
1384
+ type: String,
1332
1385
  required: false,
1333
- default: 50
1334
- }
1335
- },
1336
- emits: ["update:modelValue"],
1337
- setup: function setup(__props, _ref) {
1338
- var __emit = _ref.emit;
1339
- var props = __props;
1340
- var emit = __emit;
1341
- var inputValue = vue.ref(props.modelValue);
1342
- var errorMessageValue = vue.ref(props.errorMessage);
1343
- var handleInput = function handleInput(event) {
1344
- var newValue = event.target.value;
1345
- if (newValue.length === props.limit) {
1346
- errorMessageValue.value = "Excediste el numero de caracteres";
1347
- inputValue.value = newValue;
1348
- emit("update:modelValue", newValue);
1349
- return;
1350
- } else {
1351
- errorMessageValue.value = props.errorMessage;
1352
- }
1353
- inputValue.value = newValue;
1354
- emit("update:modelValue", newValue);
1355
- };
1356
- var labelClasses = vue.computed(function () {
1357
- return {
1358
- "lau-ecom-label": true,
1359
- "lau-ecom-label--disabled": props.isDisabled
1360
- };
1361
- });
1362
- var inputContainerClasses = vue.computed(function () {
1363
- return ["dsEcom-relative", props.inputContainerClass ? props.inputContainerClass : "dsEcom-w-[284px]", props.size === LauEcomSize.md ? "dsEcom-h-[42px]" : "dsEcom-h-[46px]"];
1364
- });
1365
- var inputClasses = vue.computed(function () {
1366
- return ["lau-ecom-input core-font-body-reg-04-16px", props.inputClass, props.size === LauEcomSize.md ? "dsEcom-py-[9px]" : "dsEcom-py-[11px]", {
1367
- "lau-ecom-input--disabled": props.isDisabled
1368
- }, {
1369
- "lau-ecom-input--error": errorMessageValue.value
1370
- }, {
1371
- "lau-ecom-input-success": props.hasSuccess && !errorMessageValue.value
1372
- }, props.hasSuccess || errorMessageValue.value ? "placeholder:!dsEcom-text-neutral-100" : "placeholder:!dsEcom-text-neutral-80"];
1373
- });
1374
- var successClasses = vue.computed(function () {
1375
- return ["lau-ecom-success", props.size === LauEcomSize.md ? "dsEcom-top-[10px]" : "dsEcom-top-3"];
1376
- });
1377
- return function (_ctx, _cache) {
1378
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
1379
- key: 0,
1380
- class: vue.normalizeClass(labelClasses.value)
1381
- }, vue.toDisplayString(_ctx.label), 3 /* TEXT, CLASS */)) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", {
1382
- class: vue.normalizeClass(inputContainerClasses.value)
1383
- }, [vue.createElementVNode("input", {
1384
- id: _ctx.id,
1385
- class: vue.normalizeClass(inputClasses.value),
1386
- type: _ctx.type,
1387
- placeholder: _ctx.placeholder,
1388
- name: _ctx.name,
1389
- disabled: _ctx.isDisabled,
1390
- value: inputValue.value,
1391
- maxlength: _ctx.limit,
1392
- onInput: handleInput
1393
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_2$e), _ctx.hasSuccess && !errorMessageValue.value ? (vue.openBlock(), vue.createElementBlock("div", {
1394
- key: 0,
1395
- class: vue.normalizeClass(successClasses.value)
1396
- }, [vue.createVNode(vue.unref(script$N), {
1397
- class: "dsEcom-fill-feedback-success-60",
1398
- width: "24",
1399
- height: "24"
1400
- })], 2 /* CLASS */)) : vue.createCommentVNode("v-if", true), errorMessageValue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$b, [vue.createElementVNode("div", _hoisted_4$6, [vue.createVNode(vue.unref(script$M), {
1401
- class: "dsEcom-fill-primary-60",
1402
- width: "16",
1403
- height: "16"
1404
- }), vue.createElementVNode("p", _hoisted_5$5, vue.toDisplayString(errorMessageValue.value), 1 /* TEXT */)]), inputValue.value.toString().length === _ctx.limit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$3, vue.toDisplayString("".concat(inputValue.value.toString().length, "/").concat(_ctx.limit)), 1 /* TEXT */)) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true)], 2 /* CLASS */)]);
1405
- };
1406
- }
1407
- });script$m.__scopeId = "data-v-1dc17999";
1408
- script$m.__file = "src/components/LauEcomInput2/LauEcomInput2.vue";var _hoisted_1$i = {
1409
- class: "dsEcom-relative"
1410
- };
1411
- var _hoisted_2$d = ["placeholder", "disabled"];
1412
- var _hoisted_3$a = {
1413
- class: "dsEcom-relative"
1414
- };
1415
- var _hoisted_4$5 = ["placeholder", "disabled"];
1416
- var _hoisted_5$4 = {
1417
- class: "dsEcom-absolute dsEcom-right-2 dsEcom-top-1/2 -dsEcom-translate-y-1/2 dsEcom-flex dsEcom-gap-2"
1418
- };
1419
-
1420
- // Log de versión del componente
1421
-
1422
- var script$l = /*@__PURE__*/vue.defineComponent({
1423
- __name: 'LauEcomInputSearch',
1424
- props: {
1425
- placeholder: {
1386
+ default: "dsEcom-text-neutral-100"
1387
+ },
1388
+ arrowButtonClass: {
1426
1389
  type: String,
1427
1390
  required: false,
1428
- default: "Quiero aprender..."
1391
+ default: ""
1429
1392
  },
1430
- isDisabled: {
1431
- type: Boolean,
1393
+ mobileInputWidth: {
1394
+ type: String,
1432
1395
  required: false,
1433
- default: false
1396
+ default: "240px"
1434
1397
  },
1435
- modelValue: {
1398
+ mobileInputHeight: {
1436
1399
  type: String,
1437
1400
  required: false,
1438
- default: ""
1401
+ default: "40px"
1439
1402
  },
1440
- forceClose: {
1441
- type: Boolean,
1403
+ mobilePanelClass: {
1404
+ type: String,
1442
1405
  required: false,
1443
- default: false
1406
+ default: "dsEcom-bg-white"
1407
+ },
1408
+ expandedBackgroundClass: {
1409
+ type: String,
1410
+ required: false,
1411
+ default: "dsEcom-bg-white"
1412
+ },
1413
+ overlayClass: {
1414
+ type: String,
1415
+ required: false,
1416
+ default: "dsEcom-bg-black dsEcom-opacity-50"
1444
1417
  }
1445
1418
  },
1446
1419
  emits: {
@@ -1449,11 +1422,14 @@ var script$l = /*@__PURE__*/vue.defineComponent({
1449
1422
  },
1450
1423
  "search": function search(value) {
1451
1424
  return true;
1425
+ },
1426
+ "click:search-icon": function clickSearchIcon() {
1427
+ return true;
1452
1428
  }
1453
1429
  },
1454
1430
  setup: function setup(__props, _ref) {
1455
1431
  var __emit = _ref.emit;
1456
- console.log('🔍 InputSearch Version: 1.0.20 - Debug Mode');
1432
+ console.log('🔍 InputSearch Version: 1.0.25 - Debug Mode');
1457
1433
  var props = __props;
1458
1434
 
1459
1435
  // Log de props iniciales
@@ -1467,6 +1443,8 @@ var script$l = /*@__PURE__*/vue.defineComponent({
1467
1443
  var searchQuery = vue.ref(props.modelValue);
1468
1444
  var isExpanded = vue.ref(false);
1469
1445
  var showOverlay = vue.ref(false);
1446
+ var isMobileView = vue.ref(false);
1447
+ var isMobileSearchOpen = vue.ref(false);
1470
1448
  var handleSearch = function handleSearch() {
1471
1449
  console.log('🔍 Search triggered:', {
1472
1450
  query: searchQuery.value,
@@ -1476,6 +1454,7 @@ var script$l = /*@__PURE__*/vue.defineComponent({
1476
1454
  if (searchQuery.value && searchQuery.value.trim()) {
1477
1455
  emit("search", searchQuery.value);
1478
1456
  emit("update:modelValue", searchQuery.value);
1457
+ emit("click:search-icon");
1479
1458
  closeSearch();
1480
1459
  }
1481
1460
  };
@@ -1509,8 +1488,8 @@ var script$l = /*@__PURE__*/vue.defineComponent({
1509
1488
  showOverlay.value = true;
1510
1489
  };
1511
1490
  var containerClasses = vue.computed(function () {
1512
- var classes = ["dsEcom-transition-transform dsEcom-duration-300 dsEcom-ease-in-out", {
1513
- "dsEcom-relative dsEcom-w-[250px] md:dsEcom-w-[350px]": !isExpanded.value
1491
+ var classes = ["dsEcom-transition-transform dsEcom-duration-300 dsEcom-ease-in-out dsEcom-relative", {
1492
+ "dsEcom-w-[250px] md:dsEcom-w-[350px]": !isExpanded.value
1514
1493
  }];
1515
1494
  console.log('🔍 Container classes updated:', {
1516
1495
  isExpanded: isExpanded.value
@@ -1518,8 +1497,8 @@ var script$l = /*@__PURE__*/vue.defineComponent({
1518
1497
  return classes;
1519
1498
  });
1520
1499
  var overlayClasses = vue.computed(function () {
1521
- return ["dsEcom-fixed dsEcom-inset-0 dsEcom-bg-black dsEcom-transition-opacity dsEcom-duration-300 dsEcom-ease-in-out dsEcom-z-40", {
1522
- "dsEcom-opacity-50": showOverlay.value,
1500
+ return ["dsEcom-fixed dsEcom-inset-0 dsEcom-transition-opacity dsEcom-duration-300 dsEcom-ease-in-out dsEcom-z-40", props.overlayClass, {
1501
+ "dsEcom-opacity-100": showOverlay.value,
1523
1502
  "dsEcom-opacity-0 dsEcom-pointer-events-none": !showOverlay.value
1524
1503
  }];
1525
1504
  });
@@ -1528,20 +1507,62 @@ var script$l = /*@__PURE__*/vue.defineComponent({
1528
1507
  var updateExpandedPosition = function updateExpandedPosition() {
1529
1508
  if (originalContainer.value && expandedContainer.value) {
1530
1509
  var rect = originalContainer.value.getBoundingClientRect();
1531
- var scrollTop = window.pageYOffset || document.documentElement.scrollTop;
1532
- expandedContainer.value.style.top = "".concat(rect.top + scrollTop, "px");
1533
- console.log('🔍 Updated expanded position:', {
1534
- top: rect.top + scrollTop
1510
+ var viewportHeight = window.innerHeight;
1511
+ var viewportWidth = window.innerWidth;
1512
+ var topPosition;
1513
+ if (rect.top < 0) {
1514
+ topPosition = '20px';
1515
+ } else if (rect.top > viewportHeight) {
1516
+ topPosition = '20px';
1517
+ } else {
1518
+ topPosition = "".concat(rect.top, "px");
1519
+ }
1520
+
1521
+ // Mantenemos la posición original del input
1522
+ var leftPosition = "".concat(rect.left, "px");
1523
+ expandedContainer.value.style.position = 'fixed';
1524
+ expandedContainer.value.style.top = topPosition;
1525
+ expandedContainer.value.style.left = leftPosition;
1526
+ expandedContainer.value.style.transform = 'none';
1527
+ expandedContainer.value.style.width = props.expandedWidth;
1528
+ expandedContainer.value.style.maxWidth = '90vw';
1529
+
1530
+ // Ajustamos si se sale por la derecha
1531
+ var expandedWidth = parseInt(props.expandedWidth);
1532
+ if (rect.left + expandedWidth > viewportWidth) {
1533
+ // Si se sale por la derecha, ajustamos el ancho para que quepa
1534
+ var availableWidth = viewportWidth - rect.left - 32; // 32px de margen
1535
+ expandedContainer.value.style.width = "".concat(availableWidth, "px");
1536
+ }
1537
+
1538
+ // Log para debugging
1539
+ console.log('🔍 Expanded position updated:', {
1540
+ top: topPosition,
1541
+ left: leftPosition,
1542
+ width: expandedContainer.value.style.width,
1543
+ originalLeft: rect.left,
1544
+ viewportWidth: viewportWidth,
1545
+ originalWidth: rect.width
1535
1546
  });
1536
1547
  }
1537
1548
  };
1538
1549
  vue.onMounted(function () {
1539
- console.log('🔍 Component mounted');
1550
+ console.log('🔍 Component mounted with props:', {
1551
+ buttonColorClass: props.buttonColorClass,
1552
+ buttonTextColorClass: props.buttonTextColorClass,
1553
+ arrowColorClass: props.arrowColorClass,
1554
+ isMobileSearch: props.isMobileSearch,
1555
+ mobileInputWidth: props.mobileInputWidth,
1556
+ mobileInputHeight: props.mobileInputHeight
1557
+ });
1558
+ checkMobileView();
1540
1559
  window.addEventListener('resize', updateExpandedPosition);
1560
+ window.addEventListener('resize', checkMobileView);
1541
1561
  });
1542
1562
  vue.onBeforeUnmount(function () {
1543
1563
  console.log('🔍 Component will unmount');
1544
1564
  window.removeEventListener('resize', updateExpandedPosition);
1565
+ window.removeEventListener('resize', checkMobileView);
1545
1566
  });
1546
1567
  vue.watch(isExpanded, function (newValue) {
1547
1568
  console.log('🔍 isExpanded changed:', {
@@ -1572,68 +1593,195 @@ var script$l = /*@__PURE__*/vue.defineComponent({
1572
1593
  searchQuery.value = newValue;
1573
1594
  }
1574
1595
  });
1596
+ vue.computed(function () {
1597
+ var defaultClasses = "dsEcom-absolute dsEcom-right-0 dsEcom-top-1/2 -dsEcom-translate-y-1/2 dsEcom-p-2 dsEcom-rounded-r-lg dsEcom-transition-all dsEcom-duration-300";
1598
+
1599
+ // Si hay buttonClass, usamos esas clases directamente
1600
+ if (props.buttonClass) {
1601
+ return [defaultClasses, props.buttonClass];
1602
+ }
1603
+
1604
+ // Si no, usamos las clases de color tradicionales
1605
+ return [defaultClasses, props.buttonColorClass, props.buttonTextColorClass];
1606
+ });
1607
+ var checkMobileView = function checkMobileView() {
1608
+ var wasMobile = isMobileView.value;
1609
+ isMobileView.value = window.innerWidth < 768;
1610
+ if (wasMobile !== isMobileView.value) {
1611
+ console.log('🔍 Mobile view changed:', {
1612
+ isMobileView: isMobileView.value,
1613
+ width: window.innerWidth,
1614
+ buttonColorClass: props.buttonColorClass,
1615
+ buttonTextColorClass: props.buttonTextColorClass
1616
+ });
1617
+ }
1618
+ };
1619
+ var handleMobileSearchClick = function handleMobileSearchClick() {
1620
+ console.log('🔍 Mobile Search Click:', {
1621
+ buttonColorClass: props.buttonColorClass,
1622
+ buttonTextColorClass: props.buttonTextColorClass,
1623
+ arrowColorClass: props.arrowColorClass,
1624
+ isMobileView: isMobileView.value
1625
+ });
1626
+ isMobileSearchOpen.value = true;
1627
+ vue.nextTick(function () {
1628
+ if (expandedContainer.value) {
1629
+ var input = expandedContainer.value.querySelector('input');
1630
+ input === null || input === void 0 || input.focus();
1631
+ }
1632
+ });
1633
+ };
1634
+ var handleMobileSearchClose = function handleMobileSearchClose() {
1635
+ console.log('🔍 Mobile Search Close:', {
1636
+ buttonColorClass: props.buttonColorClass,
1637
+ buttonTextColorClass: props.buttonTextColorClass,
1638
+ arrowColorClass: props.arrowColorClass
1639
+ });
1640
+ isMobileSearchOpen.value = false;
1641
+ searchQuery.value = '';
1642
+ emit('update:modelValue', '');
1643
+ };
1644
+ var handleMobileSearch = function handleMobileSearch() {
1645
+ if (searchQuery.value && searchQuery.value.trim()) {
1646
+ emit("search", searchQuery.value);
1647
+ emit("update:modelValue", searchQuery.value);
1648
+ emit("click:search-icon");
1649
+ handleMobileSearchClose();
1650
+ }
1651
+ };
1652
+ var handleMobileClear = function handleMobileClear() {
1653
+ clearSearch();
1654
+ };
1575
1655
  return function (_ctx, _cache) {
1576
- var _originalContainer$va;
1577
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [vue.createElementVNode("div", {
1578
- class: vue.normalizeClass(containerClasses.value),
1656
+ var _props$inputClass, _props$inputClass2, _props$inputClass3;
1657
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [vue.createCommentVNode(" Versión móvil - Solo botón de búsqueda "), isMobileView.value && !isMobileSearchOpen.value ? (vue.openBlock(), vue.createElementBlock("button", {
1658
+ key: 0,
1659
+ onClick: handleMobileSearchClick,
1660
+ class: vue.normalizeClass(["dsEcom-p-2 dsEcom-rounded-lg", [_ctx.buttonColorClass]])
1661
+ }, [vue.createVNode(vue.unref(script$q), {
1662
+ width: "24",
1663
+ height: "24",
1664
+ class: vue.normalizeClass([_ctx.buttonTextColorClass])
1665
+ }, null, 8 /* PROPS */, ["class"])], 2 /* CLASS */)) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" Capa blanca móvil "), isMobileView.value && isMobileSearchOpen.value ? (vue.openBlock(), vue.createElementBlock("div", {
1666
+ key: 1,
1667
+ class: vue.normalizeClass(["dsEcom-fixed dsEcom-inset-0 dsEcom-z-50", [_ctx.mobilePanelClass]])
1668
+ }, [vue.createElementVNode("div", _hoisted_2$d, [vue.createCommentVNode(" Input y botones "), vue.createElementVNode("div", _hoisted_3$a, [vue.createElementVNode("button", {
1669
+ onClick: handleMobileSearchClose,
1670
+ class: vue.normalizeClass(["dsEcom-p-2 dsEcom-rounded-lg", [_ctx.arrowButtonClass]])
1671
+ }, [vue.createVNode(vue.unref(script$O), {
1672
+ width: "24",
1673
+ height: "24",
1674
+ class: vue.normalizeClass(["dsEcom-transform dsEcom-rotate-[-90deg]", [_ctx.arrowColorClass]]),
1675
+ color: "currentColor"
1676
+ }, null, 8 /* PROPS */, ["class"])], 2 /* CLASS */), vue.createElementVNode("div", _hoisted_4$5, [vue.withDirectives(vue.createElementVNode("input", {
1677
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
1678
+ return searchQuery.value = $event;
1679
+ }),
1680
+ type: "text",
1681
+ placeholder: _ctx.placeholder,
1682
+ disabled: _ctx.isDisabled,
1683
+ style: vue.normalizeStyle({
1684
+ width: props.mobileInputWidth,
1685
+ height: props.mobileInputHeight
1686
+ }),
1687
+ class: "lau-ecom-input dsEcom-pl-4 dsEcom-pr-4 dsEcom-border dsEcom-border-neutral-80 dsEcom-rounded-l-lg dsEcom-focus:outline-none dsEcom-focus:ring-2 dsEcom-focus:ring-primary-60 dsEcom-flex-1",
1688
+ onInput: handleInput,
1689
+ onKeyup: vue.withKeys(handleMobileSearch, ["enter"])
1690
+ }, null, 44 /* STYLE, PROPS, NEED_HYDRATION */, _hoisted_5$4), [[vue.vModelText, searchQuery.value]]), vue.createElementVNode("button", {
1691
+ onClick: handleMobileSearch,
1692
+ style: vue.normalizeStyle({
1693
+ height: props.mobileInputHeight
1694
+ }),
1695
+ class: vue.normalizeClass(['dsEcom-px-3 dsEcom-rounded-r-lg dsEcom-border-0', _ctx.buttonColorClass, _ctx.buttonTextColorClass])
1696
+ }, [vue.createVNode(vue.unref(script$q), {
1697
+ width: "20",
1698
+ height: "20",
1699
+ color: "currentColor"
1700
+ })], 6 /* CLASS, STYLE */)]), searchQuery.value.length >= 3 ? (vue.openBlock(), vue.createElementBlock("button", {
1701
+ key: 0,
1702
+ onClick: handleMobileClear,
1703
+ class: "dsEcom-p-2 dsEcom-text-neutral-100 hover:dsEcom-text-neutral-80"
1704
+ }, [vue.createVNode(vue.unref(script$J), {
1705
+ width: "16",
1706
+ height: "16"
1707
+ })])) : vue.createCommentVNode("v-if", true)])])], 2 /* CLASS */)) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" Versión desktop "), !isMobileView.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$3, [vue.createElementVNode("div", {
1708
+ class: vue.normalizeClass([containerClasses.value, props.containerClass]),
1579
1709
  ref_key: "originalContainer",
1580
1710
  ref: originalContainer
1711
+ }, [vue.createElementVNode("div", {
1712
+ class: vue.normalizeClass(["dsEcom-relative", {
1713
+ 'dsEcom-invisible': isExpanded.value
1714
+ }])
1581
1715
  }, [vue.withDirectives(vue.createElementVNode("input", {
1582
- "onUpdate:modelValue": _cache[0] || (_cache[0] = function ($event) {
1716
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
1583
1717
  return searchQuery.value = $event;
1584
1718
  }),
1585
1719
  type: "text",
1586
1720
  placeholder: _ctx.placeholder,
1587
1721
  disabled: _ctx.isDisabled,
1588
- class: vue.normalizeClass(["lau-ecom-input dsEcom-border dsEcom-border-neutral-80 dsEcom-rounded-lg dsEcom-px-4 dsEcom-h-10 dsEcom-w-full dsEcom-focus:outline-none dsEcom-focus:ring-2 dsEcom-focus:ring-primary-60", {
1589
- 'dsEcom-invisible': isExpanded.value
1722
+ class: vue.normalizeClass(['lau-ecom-input dsEcom-border dsEcom-border-neutral-80 dsEcom-pl-4 dsEcom-pr-24 dsEcom-w-full dsEcom-focus:outline-none dsEcom-focus:ring-2 dsEcom-focus:ring-primary-60', props.inputClass, {
1723
+ 'dsEcom-opacity-0': isExpanded.value
1590
1724
  }]),
1591
1725
  onFocus: handleFocus,
1592
1726
  onInput: handleInput,
1593
1727
  onKeyup: vue.withKeys(handleSearch, ["enter"])
1594
- }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_2$d), [[vue.vModelText, searchQuery.value]]), searchQuery.value.length >= 3 && !isExpanded.value ? (vue.openBlock(), vue.createElementBlock("button", {
1728
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_7$3), [[vue.vModelText, searchQuery.value]]), vue.createElementVNode("div", _hoisted_8$3, [searchQuery.value.length >= 3 ? (vue.openBlock(), vue.createElementBlock("button", {
1595
1729
  key: 0,
1730
+ onClick: clearSearch,
1731
+ class: vue.normalizeClass(['dsEcom-flex dsEcom-items-center dsEcom-px-1.5 dsEcom-text-neutral-100 hover:dsEcom-text-neutral-80 dsEcom-transition-all dsEcom-duration-300', props.inputClass])
1732
+ }, [vue.createVNode(vue.unref(script$J), {
1733
+ width: "16",
1734
+ height: "16"
1735
+ })], 2 /* CLASS */)) : vue.createCommentVNode("v-if", true), vue.createElementVNode("button", {
1596
1736
  onClick: handleSearch,
1597
- class: "dsEcom-absolute dsEcom-right-2 dsEcom-top-1/2 -dsEcom-translate-y-1/2 dsEcom-bg-primary-60 hover:dsEcom-bg-primary-70 dsEcom-text-white dsEcom-p-2 dsEcom-rounded-lg dsEcom-transition-all dsEcom-duration-300"
1598
- }, [vue.createVNode(vue.unref(script$L), {
1737
+ class: vue.normalizeClass(['dsEcom-flex dsEcom-items-center dsEcom-px-3 dsEcom-transition-all dsEcom-duration-300', (_props$inputClass = props.inputClass) !== null && _props$inputClass !== void 0 && _props$inputClass.includes('rounded') ? props.inputClass : 'dsEcom-rounded-r-lg', props.buttonColorClass, props.buttonTextColorClass, 'dsEcom-border-0']),
1738
+ style: {
1739
+ "margin": "1px",
1740
+ "height": "calc(100% - 2px)"
1741
+ }
1742
+ }, [vue.createVNode(vue.unref(script$q), {
1599
1743
  width: "20",
1600
- height: "20"
1601
- })])) : vue.createCommentVNode("v-if", true)], 2 /* CLASS */), vue.createCommentVNode(" Overlay "), vue.createElementVNode("div", {
1744
+ height: "20",
1745
+ color: "currentColor"
1746
+ })], 2 /* CLASS */)])], 2 /* CLASS */)], 2 /* CLASS */), vue.createCommentVNode(" Overlay "), vue.withDirectives(vue.createElementVNode("div", {
1602
1747
  class: vue.normalizeClass(overlayClasses.value),
1603
1748
  onClick: closeSearch
1604
- }, null, 2 /* CLASS */), vue.createCommentVNode(" Versión expandida "), vue.withDirectives(vue.createElementVNode("div", {
1605
- class: "dsEcom-fixed dsEcom-w-[656px] dsEcom-left-1/2 dsEcom-transform -dsEcom-translate-x-1/2 dsEcom-z-50",
1606
- style: vue.normalizeStyle({
1607
- top: isExpanded.value ? "".concat((_originalContainer$va = originalContainer.value) === null || _originalContainer$va === void 0 ? void 0 : _originalContainer$va.getBoundingClientRect().top, "px") : '0'
1608
- }),
1749
+ }, null, 2 /* CLASS */), [[vue.vShow, isExpanded.value]]), vue.createCommentVNode(" Versión expandida "), vue.withDirectives(vue.createElementVNode("div", {
1750
+ class: vue.normalizeClass(["dsEcom-fixed dsEcom-z-50 dsEcom-shadow-lg dsEcom-overflow-hidden", [(_props$inputClass2 = props.inputClass) !== null && _props$inputClass2 !== void 0 && _props$inputClass2.includes('rounded') ? props.inputClass : 'dsEcom-rounded-lg', _ctx.expandedBackgroundClass]]),
1609
1751
  ref_key: "expandedContainer",
1610
1752
  ref: expandedContainer
1611
- }, [vue.createElementVNode("div", _hoisted_3$a, [vue.withDirectives(vue.createElementVNode("input", {
1612
- "onUpdate:modelValue": _cache[1] || (_cache[1] = function ($event) {
1753
+ }, [vue.createElementVNode("div", _hoisted_9$1, [vue.withDirectives(vue.createElementVNode("input", {
1754
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
1613
1755
  return searchQuery.value = $event;
1614
1756
  }),
1615
1757
  type: "text",
1616
1758
  placeholder: _ctx.placeholder,
1617
1759
  disabled: _ctx.isDisabled,
1618
- class: "lau-ecom-input dsEcom-border dsEcom-border-neutral-80 dsEcom-rounded-lg dsEcom-px-4 dsEcom-h-10 dsEcom-w-full dsEcom-focus:outline-none dsEcom-focus:ring-2 dsEcom-focus:ring-primary-60 dsEcom-bg-white",
1760
+ class: vue.normalizeClass(['lau-ecom-input dsEcom-border dsEcom-border-neutral-80 dsEcom-pl-4 dsEcom-pr-24 dsEcom-w-full dsEcom-focus:outline-none dsEcom-focus:ring-2 dsEcom-focus:ring-primary-60', props.inputClass]),
1619
1761
  onInput: handleInput,
1620
1762
  onKeyup: vue.withKeys(handleSearch, ["enter"]),
1621
1763
  autofocus: ""
1622
- }, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_4$5), [[vue.vModelText, searchQuery.value]]), vue.createElementVNode("div", _hoisted_5$4, [searchQuery.value.length >= 3 ? (vue.openBlock(), vue.createElementBlock("button", {
1764
+ }, null, 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_10$1), [[vue.vModelText, searchQuery.value]]), vue.createElementVNode("div", _hoisted_11$1, [searchQuery.value.length >= 3 ? (vue.openBlock(), vue.createElementBlock("button", {
1623
1765
  key: 0,
1624
1766
  onClick: clearSearch,
1625
- class: "dsEcom-text-neutral-100 hover:dsEcom-text-neutral-80 dsEcom-transition-all dsEcom-duration-300"
1767
+ class: vue.normalizeClass(['dsEcom-flex dsEcom-items-center dsEcom-px-1.5 dsEcom-text-neutral-100 hover:dsEcom-text-neutral-80 dsEcom-transition-all dsEcom-duration-300', props.inputClass])
1626
1768
  }, [vue.createVNode(vue.unref(script$J), {
1627
1769
  width: "16",
1628
1770
  height: "16"
1629
- })])) : vue.createCommentVNode("v-if", true), searchQuery.value.length >= 3 ? (vue.openBlock(), vue.createElementBlock("button", {
1630
- key: 1,
1771
+ })], 2 /* CLASS */)) : vue.createCommentVNode("v-if", true), vue.createElementVNode("button", {
1631
1772
  onClick: handleSearch,
1632
- class: "dsEcom-bg-primary-60 hover:dsEcom-bg-primary-70 dsEcom-text-white dsEcom-p-2 dsEcom-rounded-lg dsEcom-transition-all dsEcom-duration-300"
1633
- }, [vue.createVNode(vue.unref(script$L), {
1773
+ class: vue.normalizeClass(['dsEcom-flex dsEcom-items-center dsEcom-px-3 dsEcom-transition-all dsEcom-duration-300', {
1774
+ 'dsEcom-rounded-r-lg': !((_props$inputClass3 = props.inputClass) !== null && _props$inputClass3 !== void 0 && _props$inputClass3.includes('rounded'))
1775
+ }, props.buttonColorClass, props.buttonTextColorClass, 'dsEcom-border-0']),
1776
+ style: {
1777
+ "margin": "1px",
1778
+ "height": "calc(100% - 2px)"
1779
+ }
1780
+ }, [vue.createVNode(vue.unref(script$q), {
1634
1781
  width: "20",
1635
- height: "20"
1636
- })])) : vue.createCommentVNode("v-if", true)])])], 4 /* STYLE */), [[vue.vShow, isExpanded.value]])]);
1782
+ height: "20",
1783
+ color: "currentColor"
1784
+ })], 2 /* CLASS */)])])], 2 /* CLASS */), [[vue.vShow, isExpanded.value]])])) : vue.createCommentVNode("v-if", true)]);
1637
1785
  };
1638
1786
  }
1639
1787
  });script$l.__scopeId = "data-v-dd08f962";
@@ -2355,7 +2503,7 @@ var script$e = /*@__PURE__*/vue.defineComponent({
2355
2503
  "category-cookie": item,
2356
2504
  onOnToggle: item.onToggle
2357
2505
  }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue", "category-cookie", "onOnToggle"]);
2358
- }), 128 /* KEYED_FRAGMENT */))]), vue.createElementVNode("div", _hoisted_3$6, [vue.createVNode(script$q, {
2506
+ }), 128 /* KEYED_FRAGMENT */))]), vue.createElementVNode("div", _hoisted_3$6, [vue.createVNode(script$p, {
2359
2507
  class: "!dsEcom-w-full mobiles:dsEcom-order-last",
2360
2508
  type: vue.unref(LauEcomButtonType).Secondary,
2361
2509
  onOnClick: handleReject
@@ -2364,7 +2512,7 @@ var script$e = /*@__PURE__*/vue.defineComponent({
2364
2512
  return _cache[1] || (_cache[1] = [vue.createTextVNode(" Rechazar ")]);
2365
2513
  }),
2366
2514
  _: 1 /* STABLE */
2367
- }, 8 /* PROPS */, ["type"]), vue.createVNode(script$q, {
2515
+ }, 8 /* PROPS */, ["type"]), vue.createVNode(script$p, {
2368
2516
  class: "!dsEcom-w-full",
2369
2517
  type: vue.unref(LauEcomButtonType).Secondary,
2370
2518
  onOnClick: handleAcceptSelected
@@ -2373,7 +2521,7 @@ var script$e = /*@__PURE__*/vue.defineComponent({
2373
2521
  return _cache[2] || (_cache[2] = [vue.createTextVNode(" Aceptar seleccionadas ")]);
2374
2522
  }),
2375
2523
  _: 1 /* STABLE */
2376
- }, 8 /* PROPS */, ["type"]), vue.createVNode(script$q, {
2524
+ }, 8 /* PROPS */, ["type"]), vue.createVNode(script$p, {
2377
2525
  class: "!dsEcom-w-full mobiles:dsEcom-order-first",
2378
2526
  onOnClick: handleAcceptAll
2379
2527
  }, {
@@ -2494,7 +2642,7 @@ var script$d = /*@__PURE__*/vue.defineComponent({
2494
2642
  return _cache[0] || (_cache[0] = [vue.createTextVNode(" Configurar cookies ")]);
2495
2643
  }),
2496
2644
  _: 1 /* STABLE */
2497
- }), vue.createVNode(script$q, {
2645
+ }), vue.createVNode(script$p, {
2498
2646
  onOnClick: handleAccept
2499
2647
  }, {
2500
2648
  default: vue.withCtx(function () {
@@ -3186,7 +3334,7 @@ var script = /*@__PURE__*/vue.defineComponent({
3186
3334
  class: "dsEcom-bg-neutral-40 dsEcom-mb-4"
3187
3335
  }, null, -1 /* HOISTED */)), vue.createElementVNode("div", _hoisted_7, [_cache[1] || (_cache[1] = vue.createElementVNode("p", {
3188
3336
  class: "button-bold-05-20px"
3189
- }, "Total", -1 /* HOISTED */)), vue.createElementVNode("p", _hoisted_8, " S/" + vue.toDisplayString(_ctx.summaryData.total), 1 /* TEXT */)]), vue.createVNode(script$q, {
3337
+ }, "Total", -1 /* HOISTED */)), vue.createElementVNode("p", _hoisted_8, " S/" + vue.toDisplayString(_ctx.summaryData.total), 1 /* TEXT */)]), vue.createVNode(script$p, {
3190
3338
  onOnClick: handleGoHomePage
3191
3339
  }, {
3192
3340
  default: vue.withCtx(function () {
@@ -3196,7 +3344,7 @@ var script = /*@__PURE__*/vue.defineComponent({
3196
3344
  })]);
3197
3345
  };
3198
3346
  }
3199
- });script.__file = "src/components/LauEcomTyPage/LauEcomTyPage.vue";var components$1=/*#__PURE__*/Object.freeze({__proto__:null,LauEcomButton:script$q,LauEcomRadioButton:script$p,LauEcomCheckbox:script$o,LauEcomInput:script$n,LauEcomInput2:script$m,LauEcomInputSearch:script$l,LauEcomStepbar:script$j,LauEcomDropdown:script$i,LauEcomBannerCookies:script$d,LauEcomTextButton:script$h,LauEcomTab:script$c,LauEcomDisclamer:script$b,LauEcomFooter:script$8,LauEcomSubFooter:script$9,LauEcomRtb:script$7,LauEcomLoaderPage:script$6,LauEcomSwitch:script$g,LauEcomPaginator:script$3,LauEcomTag:script$2,LauEcomTyPage:script,LauEcomUpcIconNavArrow:script$O,LauEcomUpcIconNavCheckmark:script$N,LauEcomUpcIconExclamationTriangle:script$M,LauEcomUpcIconCheck:script$L,LauEcomUpcIconArrowDown:script$K,LauEcomCoreIconNavClose:script$J,LauEcomUpcIconGlobe:script$I,LauEcomCoreIconFileCode:script$H,LauEcomUpcIconCheckCircle:script$G,LauEcomUpcIconExclamationCircle:script$F,LauEcomUpcIconInfoCircle:script$E,LauEcomUpcIconVirtualClass:script$D,LauEcomUpcIconCertificate:script$C,LauEcomUpcIconCreditCard:script$B,LauEcomCbtIconWorldwide:script$A,LauEcomCbtIconGirlReading:script$z,LauEcomCbtIconChart:script$y,LauEcomCoreIconBook:script$x,LauEcomLogoWasc:script$w,LauEcomUpcIconInnova:script$v,LauEcomCbtLogoCbtVer:script$u,LauEcomCbtLogoLaureate:script$t,LauEcomCbtLogoUpcWhite:script$s,LauEcomUpcIconNavBack:script$r});// install function executed by Vue.use()
3347
+ });script.__file = "src/components/LauEcomTyPage/LauEcomTyPage.vue";var components$1=/*#__PURE__*/Object.freeze({__proto__:null,LauEcomButton:script$p,LauEcomRadioButton:script$o,LauEcomCheckbox:script$n,LauEcomInput:script$m,LauEcomInputSearch:script$l,LauEcomStepbar:script$j,LauEcomDropdown:script$i,LauEcomBannerCookies:script$d,LauEcomTextButton:script$h,LauEcomTab:script$c,LauEcomDisclamer:script$b,LauEcomFooter:script$8,LauEcomSubFooter:script$9,LauEcomRtb:script$7,LauEcomLoaderPage:script$6,LauEcomSwitch:script$g,LauEcomPaginator:script$3,LauEcomTag:script$2,LauEcomTyPage:script,LauEcomUpcIconNavArrow:script$O,LauEcomUpcIconNavCheckmark:script$N,LauEcomUpcIconExclamationTriangle:script$M,LauEcomUpcIconCheck:script$L,LauEcomUpcIconArrowDown:script$K,LauEcomCoreIconNavClose:script$J,LauEcomUpcIconGlobe:script$I,LauEcomCoreIconFileCode:script$H,LauEcomUpcIconCheckCircle:script$G,LauEcomUpcIconExclamationCircle:script$F,LauEcomUpcIconInfoCircle:script$E,LauEcomUpcIconVirtualClass:script$D,LauEcomUpcIconCertificate:script$C,LauEcomUpcIconCreditCard:script$B,LauEcomCbtIconWorldwide:script$A,LauEcomCbtIconGirlReading:script$z,LauEcomCbtIconChart:script$y,LauEcomCoreIconBook:script$x,LauEcomLogoWasc:script$w,LauEcomUpcIconInnova:script$v,LauEcomCbtLogoCbtVer:script$u,LauEcomCbtLogoLaureate:script$t,LauEcomCbtLogoUpcWhite:script$s,LauEcomUpcIconNavBack:script$r,LauEcomUpcIconSearch:script$q});// install function executed by Vue.use()
3200
3348
  var install = function installDesignSystem(app) {
3201
3349
  Object.entries(components$1).forEach(function (_ref) {
3202
3350
  var _ref2 = _slicedToArray(_ref, 2),
@@ -3204,7 +3352,7 @@ var install = function installDesignSystem(app) {
3204
3352
  component = _ref2[1];
3205
3353
  app.component(componentName, component);
3206
3354
  });
3207
- };var components=/*#__PURE__*/Object.freeze({__proto__:null,'default':install,LauEcomButton:script$q,LauEcomRadioButton:script$p,LauEcomCheckbox:script$o,LauEcomInput:script$n,LauEcomInput2:script$m,LauEcomInputSearch:script$l,LauEcomStepbar:script$j,LauEcomDropdown:script$i,LauEcomBannerCookies:script$d,LauEcomTextButton:script$h,LauEcomTab:script$c,LauEcomDisclamer:script$b,LauEcomFooter:script$8,LauEcomSubFooter:script$9,LauEcomRtb:script$7,LauEcomLoaderPage:script$6,LauEcomSwitch:script$g,LauEcomPaginator:script$3,LauEcomTag:script$2,LauEcomTyPage:script,LauEcomUpcIconNavArrow:script$O,LauEcomUpcIconNavCheckmark:script$N,LauEcomUpcIconExclamationTriangle:script$M,LauEcomUpcIconCheck:script$L,LauEcomUpcIconArrowDown:script$K,LauEcomCoreIconNavClose:script$J,LauEcomUpcIconGlobe:script$I,LauEcomCoreIconFileCode:script$H,LauEcomUpcIconCheckCircle:script$G,LauEcomUpcIconExclamationCircle:script$F,LauEcomUpcIconInfoCircle:script$E,LauEcomUpcIconVirtualClass:script$D,LauEcomUpcIconCertificate:script$C,LauEcomUpcIconCreditCard:script$B,LauEcomCbtIconWorldwide:script$A,LauEcomCbtIconGirlReading:script$z,LauEcomCbtIconChart:script$y,LauEcomCoreIconBook:script$x,LauEcomLogoWasc:script$w,LauEcomUpcIconInnova:script$v,LauEcomCbtLogoCbtVer:script$u,LauEcomCbtLogoLaureate:script$t,LauEcomCbtLogoUpcWhite:script$s,LauEcomUpcIconNavBack:script$r});Object.entries(components).forEach(function (_ref) {
3355
+ };var components=/*#__PURE__*/Object.freeze({__proto__:null,'default':install,LauEcomButton:script$p,LauEcomRadioButton:script$o,LauEcomCheckbox:script$n,LauEcomInput:script$m,LauEcomInputSearch:script$l,LauEcomStepbar:script$j,LauEcomDropdown:script$i,LauEcomBannerCookies:script$d,LauEcomTextButton:script$h,LauEcomTab:script$c,LauEcomDisclamer:script$b,LauEcomFooter:script$8,LauEcomSubFooter:script$9,LauEcomRtb:script$7,LauEcomLoaderPage:script$6,LauEcomSwitch:script$g,LauEcomPaginator:script$3,LauEcomTag:script$2,LauEcomTyPage:script,LauEcomUpcIconNavArrow:script$O,LauEcomUpcIconNavCheckmark:script$N,LauEcomUpcIconExclamationTriangle:script$M,LauEcomUpcIconCheck:script$L,LauEcomUpcIconArrowDown:script$K,LauEcomCoreIconNavClose:script$J,LauEcomUpcIconGlobe:script$I,LauEcomCoreIconFileCode:script$H,LauEcomUpcIconCheckCircle:script$G,LauEcomUpcIconExclamationCircle:script$F,LauEcomUpcIconInfoCircle:script$E,LauEcomUpcIconVirtualClass:script$D,LauEcomUpcIconCertificate:script$C,LauEcomUpcIconCreditCard:script$B,LauEcomCbtIconWorldwide:script$A,LauEcomCbtIconGirlReading:script$z,LauEcomCbtIconChart:script$y,LauEcomCoreIconBook:script$x,LauEcomLogoWasc:script$w,LauEcomUpcIconInnova:script$v,LauEcomCbtLogoCbtVer:script$u,LauEcomCbtLogoLaureate:script$t,LauEcomCbtLogoUpcWhite:script$s,LauEcomUpcIconNavBack:script$r,LauEcomUpcIconSearch:script$q});Object.entries(components).forEach(function (_ref) {
3208
3356
  var _ref2 = _slicedToArray(_ref, 2),
3209
3357
  componentName = _ref2[0],
3210
3358
  component = _ref2[1];