keski_lib_catalog 1.4.2 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +123 -95
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +124 -96
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/pencil_placeholder~DdrRnXBY.png +0 -0
package/dist/index.js
CHANGED
|
@@ -64,7 +64,28 @@ var AtomicElements = /*#__PURE__*/function () {
|
|
|
64
64
|
}();
|
|
65
65
|
|
|
66
66
|
function Layout1(content) {
|
|
67
|
-
return /*#__PURE__*/React__default.createElement(
|
|
67
|
+
return /*#__PURE__*/React__default.createElement(material.Box, {
|
|
68
|
+
sx: {
|
|
69
|
+
width: '100%',
|
|
70
|
+
height: '100%'
|
|
71
|
+
}
|
|
72
|
+
}, /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
73
|
+
component: 'h2',
|
|
74
|
+
dangerouslySetInnerHTML: {
|
|
75
|
+
__html: content.component.title ? content.component.title : ' '
|
|
76
|
+
},
|
|
77
|
+
sx: {
|
|
78
|
+
whiteSpace: 'pre-wrap',
|
|
79
|
+
fontSize: {
|
|
80
|
+
xs: '1.875em',
|
|
81
|
+
sm: '2.25em',
|
|
82
|
+
md: '3em',
|
|
83
|
+
lg: '3em',
|
|
84
|
+
xl: '3em'
|
|
85
|
+
},
|
|
86
|
+
paddingBottom: '32px'
|
|
87
|
+
}
|
|
88
|
+
}), /*#__PURE__*/React__default.createElement(Carousel, {
|
|
68
89
|
indicators: true,
|
|
69
90
|
navButtonsAlwaysInvisible: true,
|
|
70
91
|
sx: {
|
|
@@ -77,7 +98,7 @@ function Layout1(content) {
|
|
|
77
98
|
content: item,
|
|
78
99
|
side: content.component.justify_content
|
|
79
100
|
});
|
|
80
|
-
}));
|
|
101
|
+
})));
|
|
81
102
|
}
|
|
82
103
|
function Item(props) {
|
|
83
104
|
var content = props.content,
|
|
@@ -140,16 +161,16 @@ function Item(props) {
|
|
|
140
161
|
sx: {
|
|
141
162
|
width: '120px',
|
|
142
163
|
height: '120px',
|
|
143
|
-
transform: "translate(\n " + content.image_transform_x + "%\n ,\n " + content.image_transform_y + "%)" + ("scale(" + (content.image_scale ? content.image_scale :
|
|
164
|
+
transform: "translate(\n " + content.image_transform_x + "%\n ,\n " + content.image_transform_y + "%)" + ("scale(" + (content.image_scale ? content.image_scale : '1') + ")")
|
|
144
165
|
}
|
|
145
166
|
}))), /*#__PURE__*/React__default.createElement(material.Box, {
|
|
146
167
|
sx: {
|
|
147
168
|
width: {
|
|
148
|
-
xs:
|
|
149
|
-
xl:
|
|
150
|
-
lg:
|
|
169
|
+
xs: '100%',
|
|
170
|
+
xl: '72%',
|
|
171
|
+
lg: '72%'
|
|
151
172
|
},
|
|
152
|
-
height:
|
|
173
|
+
height: '100%',
|
|
153
174
|
overflow: 'hidden',
|
|
154
175
|
textOverflow: 'ellipsis',
|
|
155
176
|
display: '-webkit-box',
|
|
@@ -236,8 +257,8 @@ function Layout1$1(content) {
|
|
|
236
257
|
},
|
|
237
258
|
height: {
|
|
238
259
|
xs: '80vh',
|
|
239
|
-
sm:
|
|
240
|
-
md:
|
|
260
|
+
sm: '80vh',
|
|
261
|
+
md: '80vh'
|
|
241
262
|
},
|
|
242
263
|
backgroundSize: 'cover',
|
|
243
264
|
backgroundPosition: 'center',
|
|
@@ -259,21 +280,21 @@ function Layout1$1(content) {
|
|
|
259
280
|
},
|
|
260
281
|
justifyContent: 'center',
|
|
261
282
|
paddingLeft: (_content$component$su = content.component.subcomponent[0]) !== null && _content$component$su !== void 0 && _content$component$su.image ? {
|
|
262
|
-
lg:
|
|
263
|
-
md:
|
|
264
|
-
sm:
|
|
265
|
-
xs:
|
|
283
|
+
lg: '24px',
|
|
284
|
+
md: '24px',
|
|
285
|
+
sm: '16px',
|
|
286
|
+
xs: '16px'
|
|
266
287
|
} : {
|
|
267
|
-
lg:
|
|
268
|
-
md:
|
|
269
|
-
sm:
|
|
270
|
-
xs:
|
|
288
|
+
lg: '0px',
|
|
289
|
+
md: '24px',
|
|
290
|
+
sm: '16px',
|
|
291
|
+
xs: '16px'
|
|
271
292
|
},
|
|
272
293
|
paddingRight: {
|
|
273
|
-
lg:
|
|
274
|
-
md:
|
|
275
|
-
sm:
|
|
276
|
-
xs:
|
|
294
|
+
lg: '24px',
|
|
295
|
+
md: '24px',
|
|
296
|
+
sm: '16px',
|
|
297
|
+
xs: '16px'
|
|
277
298
|
}
|
|
278
299
|
}
|
|
279
300
|
}, ((_content$component$su2 = content.component.subcomponent[0]) === null || _content$component$su2 === void 0 ? void 0 : _content$component$su2.label_active) && /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(material.Chip, {
|
|
@@ -295,13 +316,13 @@ function Layout1$1(content) {
|
|
|
295
316
|
marginBottom: '16px',
|
|
296
317
|
whiteSpace: 'pre-wrap',
|
|
297
318
|
fontSize: {
|
|
298
|
-
xs:
|
|
299
|
-
sm:
|
|
300
|
-
md:
|
|
301
|
-
lg:
|
|
302
|
-
xl:
|
|
319
|
+
xs: '2em',
|
|
320
|
+
sm: '2em',
|
|
321
|
+
md: '3.75em',
|
|
322
|
+
lg: '3.75em',
|
|
323
|
+
xl: '3.75em'
|
|
303
324
|
},
|
|
304
|
-
fontWeight:
|
|
325
|
+
fontWeight: 'bold'
|
|
305
326
|
}
|
|
306
327
|
}), /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
307
328
|
component: 'p',
|
|
@@ -312,11 +333,11 @@ function Layout1$1(content) {
|
|
|
312
333
|
marginBottom: '16px',
|
|
313
334
|
whiteSpace: 'pre-wrap',
|
|
314
335
|
fontSize: {
|
|
315
|
-
xs:
|
|
316
|
-
sm:
|
|
317
|
-
md:
|
|
318
|
-
lg:
|
|
319
|
-
xl:
|
|
336
|
+
xs: '1.125em',
|
|
337
|
+
sm: '1.125em',
|
|
338
|
+
md: '1.125em',
|
|
339
|
+
lg: '1.125em',
|
|
340
|
+
xl: '1.125em'
|
|
320
341
|
}
|
|
321
342
|
}
|
|
322
343
|
}), ((_content$component$su10 = content.component.subcomponent[0]) === null || _content$component$su10 === void 0 ? void 0 : _content$component$su10.button_active) && /*#__PURE__*/React__default.createElement(material.Box, null, /*#__PURE__*/React__default.createElement(material.Button, {
|
|
@@ -552,13 +573,13 @@ function Layout1$3(content) {
|
|
|
552
573
|
sx: {
|
|
553
574
|
whiteSpace: 'pre-wrap',
|
|
554
575
|
fontSize: {
|
|
555
|
-
xs:
|
|
556
|
-
sm:
|
|
557
|
-
md:
|
|
558
|
-
lg:
|
|
559
|
-
xl:
|
|
576
|
+
xs: '1.875em',
|
|
577
|
+
sm: '2.25em',
|
|
578
|
+
md: '3em',
|
|
579
|
+
lg: '3em',
|
|
580
|
+
xl: '3em'
|
|
560
581
|
},
|
|
561
|
-
paddingBottom:
|
|
582
|
+
paddingBottom: '32px'
|
|
562
583
|
}
|
|
563
584
|
}), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
564
585
|
container: true,
|
|
@@ -578,7 +599,7 @@ function Layout1$3(content) {
|
|
|
578
599
|
elevation: 0,
|
|
579
600
|
sx: {
|
|
580
601
|
borderRadius: '24px',
|
|
581
|
-
width:
|
|
602
|
+
width: '100%',
|
|
582
603
|
height: {
|
|
583
604
|
xl: 350,
|
|
584
605
|
lg: 350,
|
|
@@ -589,12 +610,12 @@ function Layout1$3(content) {
|
|
|
589
610
|
}
|
|
590
611
|
}, /*#__PURE__*/React__default.createElement(material.CardMedia, {
|
|
591
612
|
component: "img",
|
|
592
|
-
alt: img.description ? img.description :
|
|
613
|
+
alt: img.description ? img.description : '',
|
|
593
614
|
image: img.image ? img.image.url ? img.image.url : 'none' : 'none',
|
|
594
615
|
sx: {
|
|
595
|
-
width:
|
|
596
|
-
height:
|
|
597
|
-
transform: "translate(\n " + img.image_transform_x + "%\n ,\n " + img.image_transform_y + "%)" + ("scale(" + (img.image_scale ? img.image_scale :
|
|
616
|
+
width: '100%',
|
|
617
|
+
height: '100%',
|
|
618
|
+
transform: "translate(\n " + img.image_transform_x + "%\n ,\n " + img.image_transform_y + "%)" + ("scale(" + (img.image_scale ? img.image_scale : '1') + ")")
|
|
598
619
|
}
|
|
599
620
|
})));
|
|
600
621
|
}))));
|
|
@@ -776,13 +797,13 @@ function Item$2(props) {
|
|
|
776
797
|
width: '100%',
|
|
777
798
|
height: '520px',
|
|
778
799
|
paddingTop: '70px',
|
|
779
|
-
|
|
800
|
+
'& .css-hn784z': {
|
|
780
801
|
left: {
|
|
781
802
|
xs: 'calc(100% - 120px)'
|
|
782
803
|
},
|
|
783
804
|
height: 'auto'
|
|
784
805
|
},
|
|
785
|
-
|
|
806
|
+
'& .css-1abc02a': {
|
|
786
807
|
height: 'auto'
|
|
787
808
|
}
|
|
788
809
|
}
|
|
@@ -860,7 +881,7 @@ function Item$2(props) {
|
|
|
860
881
|
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
861
882
|
sx: {
|
|
862
883
|
aspectRatio: '1/1',
|
|
863
|
-
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale :
|
|
884
|
+
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : '1') + ")")
|
|
864
885
|
}
|
|
865
886
|
})), /*#__PURE__*/React__default.createElement(material.CardContent, {
|
|
866
887
|
sx: {
|
|
@@ -980,7 +1001,7 @@ function Item$2(props) {
|
|
|
980
1001
|
image: item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image',
|
|
981
1002
|
sx: {
|
|
982
1003
|
aspectRatio: '1/1',
|
|
983
|
-
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale :
|
|
1004
|
+
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : '1') + ")")
|
|
984
1005
|
}
|
|
985
1006
|
}), /*#__PURE__*/React__default.createElement(material.CardContent, {
|
|
986
1007
|
sx: {
|
|
@@ -1147,18 +1168,24 @@ function Item$3(props) {
|
|
|
1147
1168
|
sx: {
|
|
1148
1169
|
position: 'absolute',
|
|
1149
1170
|
top: {
|
|
1150
|
-
xs: '-
|
|
1171
|
+
xs: '-70px',
|
|
1151
1172
|
sm: '-70px'
|
|
1152
1173
|
},
|
|
1153
|
-
zIndex: 1
|
|
1174
|
+
zIndex: 1,
|
|
1175
|
+
width: '100%',
|
|
1176
|
+
display: 'flex'
|
|
1154
1177
|
}
|
|
1155
|
-
},
|
|
1178
|
+
}, ' ', /*#__PURE__*/React__default.createElement(material.Typography, {
|
|
1156
1179
|
component: 'h2',
|
|
1157
1180
|
dangerouslySetInnerHTML: {
|
|
1158
1181
|
__html: title ? title : ''
|
|
1159
1182
|
},
|
|
1160
1183
|
sx: {
|
|
1161
1184
|
height: '100%',
|
|
1185
|
+
textAlign: {
|
|
1186
|
+
xs: 'center',
|
|
1187
|
+
sm: 'left'
|
|
1188
|
+
},
|
|
1162
1189
|
fontSize: {
|
|
1163
1190
|
xl: '3em',
|
|
1164
1191
|
lg: '3em',
|
|
@@ -1208,6 +1235,7 @@ function Item$3(props) {
|
|
|
1208
1235
|
sx: {
|
|
1209
1236
|
width: '100%',
|
|
1210
1237
|
height: '140px',
|
|
1238
|
+
marginTop: '10px',
|
|
1211
1239
|
transform: "translate(" + item.image_transform_x + "%, " + item.image_transform_y + "%) scale(" + (item.image_scale ? item.image_scale : '1') + ")"
|
|
1212
1240
|
}
|
|
1213
1241
|
}))));
|
|
@@ -3062,39 +3090,39 @@ function Layout(content) {
|
|
|
3062
3090
|
preserveAspectRatio: 'xMidYMid slice'
|
|
3063
3091
|
}
|
|
3064
3092
|
};
|
|
3065
|
-
var callToAction =
|
|
3093
|
+
var callToAction = 'Ingresa a Keski Creator desde tu panel administrativo para editar esta vista.';
|
|
3066
3094
|
var infoLoadingMap = {
|
|
3067
3095
|
'landing/content/1': {
|
|
3068
|
-
title:
|
|
3069
|
-
description:
|
|
3096
|
+
title: 'Página de inicio',
|
|
3097
|
+
description: 'Esta página es muy importante, aquí es la primera impresión de tus clientes. Agrega las secciones necesarias para que tu cliente te conozca, utiliza un diseño agradable y atractivo para captar su atención desde el primer momento. Personaliza el contenido para reflejar la esencia de tu marca y los valores de tu negocio.'
|
|
3070
3098
|
},
|
|
3071
3099
|
'landing/content/2': {
|
|
3072
|
-
title:
|
|
3073
|
-
description:
|
|
3100
|
+
title: 'Productos',
|
|
3101
|
+
description: 'En esta sección puedes detallar los productos que ofreces. Organiza tu catálogo y facilita la navegación.'
|
|
3074
3102
|
},
|
|
3075
3103
|
'landing/content/3': {
|
|
3076
|
-
title:
|
|
3077
|
-
description:
|
|
3104
|
+
title: 'Nosotros',
|
|
3105
|
+
description: 'Aquí puedes contar la historia de tu empresa, presentar a tu equipo y destacar tus valores y misión. Es una excelente oportunidad para generar confianza y credibilidad. Usa esta sección para humanizar tu marca y conectar emocionalmente con tus visitantes.'
|
|
3078
3106
|
},
|
|
3079
3107
|
'landing/content/4': {
|
|
3080
|
-
title:
|
|
3081
|
-
description:
|
|
3108
|
+
title: 'Catálogo',
|
|
3109
|
+
description: 'Muestra una lista detallada de todos los productos o servicios que ofreces. Organiza tu catálogo de manera que sea fácil de navegar y busca resaltar tus productos más populares o nuevos lanzamientos. Puedes incluir filtros y categorías para mejorar la experiencia del usuario.'
|
|
3082
3110
|
},
|
|
3083
3111
|
'landing/content/5': {
|
|
3084
|
-
title:
|
|
3085
|
-
description:
|
|
3112
|
+
title: 'Servicios',
|
|
3113
|
+
description: 'En esta página puedes detallar los diferentes servicios que ofreces. Describe cada servicio de manera clara y concisa, incluyendo sus beneficios y características. Utiliza imágenes y testimonios para reforzar la calidad de tus servicios y motivar a los visitantes a contactarte.'
|
|
3086
3114
|
},
|
|
3087
3115
|
'landing/content/6': {
|
|
3088
|
-
title:
|
|
3089
|
-
description:
|
|
3116
|
+
title: 'Blog',
|
|
3117
|
+
description: 'Comparte artículos, noticias y actualizaciones relacionadas con tu negocio. Un blog activo puede mejorar tu SEO y mantener a tus clientes informados y comprometidos. Publica contenido relevante y útil que pueda interesar a tus visitantes y mostrar tu expertise en la industria.'
|
|
3090
3118
|
},
|
|
3091
3119
|
'landing/content/7': {
|
|
3092
|
-
title:
|
|
3093
|
-
description:
|
|
3120
|
+
title: 'Ubicación',
|
|
3121
|
+
description: 'Aquí puedes mostrar a tus clientes dónde estás ubicado. Incluye un mapa interactivo, tu dirección completa y cualquier otra información de contacto relevante. Si tienes varias ubicaciones, asegúrate de incluir detalles para cada una. También puedes agregar instrucciones sobre cómo llegar y el horario de atención.'
|
|
3094
3122
|
},
|
|
3095
|
-
|
|
3096
|
-
title:
|
|
3097
|
-
description:
|
|
3123
|
+
placeholder: {
|
|
3124
|
+
title: 'En construccion',
|
|
3125
|
+
description: 'Bienvenido a la página principal. Aquí encontrarás información general y acceso a las diferentes secciones.'
|
|
3098
3126
|
}
|
|
3099
3127
|
};
|
|
3100
3128
|
var visible = true;
|
|
@@ -3108,8 +3136,8 @@ function Layout(content) {
|
|
|
3108
3136
|
},
|
|
3109
3137
|
height: {
|
|
3110
3138
|
xs: '80vh',
|
|
3111
|
-
sm:
|
|
3112
|
-
md:
|
|
3139
|
+
sm: '80vh',
|
|
3140
|
+
md: '80vh'
|
|
3113
3141
|
},
|
|
3114
3142
|
backgroundPosition: 'center',
|
|
3115
3143
|
justifyContent: 'center',
|
|
@@ -3129,18 +3157,18 @@ function Layout(content) {
|
|
|
3129
3157
|
lg: '80vh'
|
|
3130
3158
|
},
|
|
3131
3159
|
justifyContent: 'center',
|
|
3132
|
-
alignItems:
|
|
3160
|
+
alignItems: 'center',
|
|
3133
3161
|
paddingLeft: {
|
|
3134
|
-
lg:
|
|
3135
|
-
md:
|
|
3136
|
-
sm:
|
|
3137
|
-
xs:
|
|
3162
|
+
lg: '0px',
|
|
3163
|
+
md: '24px',
|
|
3164
|
+
sm: '16px',
|
|
3165
|
+
xs: '16px'
|
|
3138
3166
|
},
|
|
3139
3167
|
paddingRight: {
|
|
3140
|
-
lg:
|
|
3141
|
-
md:
|
|
3142
|
-
sm:
|
|
3143
|
-
xs:
|
|
3168
|
+
lg: '24px',
|
|
3169
|
+
md: '24px',
|
|
3170
|
+
sm: '16px',
|
|
3171
|
+
xs: '16px'
|
|
3144
3172
|
},
|
|
3145
3173
|
textAlign: 'center'
|
|
3146
3174
|
}
|
|
@@ -3150,11 +3178,11 @@ function Layout(content) {
|
|
|
3150
3178
|
marginBottom: '16px',
|
|
3151
3179
|
whiteSpace: 'pre-wrap',
|
|
3152
3180
|
fontSize: {
|
|
3153
|
-
xs:
|
|
3154
|
-
sm:
|
|
3155
|
-
md:
|
|
3156
|
-
lg:
|
|
3157
|
-
xl:
|
|
3181
|
+
xs: '2em',
|
|
3182
|
+
sm: '2em',
|
|
3183
|
+
md: '3.75em',
|
|
3184
|
+
lg: '3.75em',
|
|
3185
|
+
xl: '3.75em'
|
|
3158
3186
|
},
|
|
3159
3187
|
color: '#60269E'
|
|
3160
3188
|
}
|
|
@@ -3164,11 +3192,11 @@ function Layout(content) {
|
|
|
3164
3192
|
marginBottom: '16px',
|
|
3165
3193
|
justifyContent: 'center',
|
|
3166
3194
|
fontSize: {
|
|
3167
|
-
xs:
|
|
3168
|
-
sm:
|
|
3169
|
-
md:
|
|
3170
|
-
lg:
|
|
3171
|
-
xl:
|
|
3195
|
+
xs: '1.25em',
|
|
3196
|
+
sm: '1.25em',
|
|
3197
|
+
md: '1.25em',
|
|
3198
|
+
lg: '1.25em',
|
|
3199
|
+
xl: '1.25em'
|
|
3172
3200
|
}
|
|
3173
3201
|
}
|
|
3174
3202
|
}, infoLoadingMap[content.component.view_placeholder].description), /*#__PURE__*/React__default.createElement(Lottie, {
|
|
@@ -3181,11 +3209,11 @@ function Layout(content) {
|
|
|
3181
3209
|
marginBottom: '16px',
|
|
3182
3210
|
justifyContent: 'center',
|
|
3183
3211
|
fontSize: {
|
|
3184
|
-
xs:
|
|
3185
|
-
sm:
|
|
3186
|
-
md:
|
|
3187
|
-
lg:
|
|
3188
|
-
xl:
|
|
3212
|
+
xs: '1.25em',
|
|
3213
|
+
sm: '1.25em',
|
|
3214
|
+
md: '1.25em',
|
|
3215
|
+
lg: '1.25em',
|
|
3216
|
+
xl: '1.25em'
|
|
3189
3217
|
}
|
|
3190
3218
|
}
|
|
3191
3219
|
}, callToAction))));
|
|
@@ -3253,7 +3281,7 @@ var Sections = /*#__PURE__*/function () {
|
|
|
3253
3281
|
'0': 'Banner',
|
|
3254
3282
|
'1': 'Texto + Imágenes',
|
|
3255
3283
|
'2': 'Citas/Testimonios',
|
|
3256
|
-
'3': '
|
|
3284
|
+
'3': 'Galería',
|
|
3257
3285
|
'4': 'Texto',
|
|
3258
3286
|
'5': 'Lista',
|
|
3259
3287
|
'6': 'Marcas',
|