keski_lib_catalog 1.4.3 → 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 CHANGED
@@ -77,13 +77,13 @@ function Layout1(content) {
77
77
  sx: {
78
78
  whiteSpace: 'pre-wrap',
79
79
  fontSize: {
80
- xs: "1.875em",
81
- sm: "2.25em",
82
- md: "3em",
83
- lg: "3em",
84
- xl: "3em"
80
+ xs: '1.875em',
81
+ sm: '2.25em',
82
+ md: '3em',
83
+ lg: '3em',
84
+ xl: '3em'
85
85
  },
86
- paddingBottom: "32px"
86
+ paddingBottom: '32px'
87
87
  }
88
88
  }), /*#__PURE__*/React__default.createElement(Carousel, {
89
89
  indicators: true,
@@ -161,16 +161,16 @@ function Item(props) {
161
161
  sx: {
162
162
  width: '120px',
163
163
  height: '120px',
164
- transform: "translate(\n " + content.image_transform_x + "%\n ,\n " + content.image_transform_y + "%)" + ("scale(" + (content.image_scale ? content.image_scale : "1") + ")")
164
+ transform: "translate(\n " + content.image_transform_x + "%\n ,\n " + content.image_transform_y + "%)" + ("scale(" + (content.image_scale ? content.image_scale : '1') + ")")
165
165
  }
166
166
  }))), /*#__PURE__*/React__default.createElement(material.Box, {
167
167
  sx: {
168
168
  width: {
169
- xs: "100%",
170
- xl: "72%",
171
- lg: "72%"
169
+ xs: '100%',
170
+ xl: '72%',
171
+ lg: '72%'
172
172
  },
173
- height: "100%",
173
+ height: '100%',
174
174
  overflow: 'hidden',
175
175
  textOverflow: 'ellipsis',
176
176
  display: '-webkit-box',
@@ -257,8 +257,8 @@ function Layout1$1(content) {
257
257
  },
258
258
  height: {
259
259
  xs: '80vh',
260
- sm: "80vh",
261
- md: "80vh"
260
+ sm: '80vh',
261
+ md: '80vh'
262
262
  },
263
263
  backgroundSize: 'cover',
264
264
  backgroundPosition: 'center',
@@ -280,21 +280,21 @@ function Layout1$1(content) {
280
280
  },
281
281
  justifyContent: 'center',
282
282
  paddingLeft: (_content$component$su = content.component.subcomponent[0]) !== null && _content$component$su !== void 0 && _content$component$su.image ? {
283
- lg: "24px",
284
- md: "24px",
285
- sm: "16px",
286
- xs: "16px"
283
+ lg: '24px',
284
+ md: '24px',
285
+ sm: '16px',
286
+ xs: '16px'
287
287
  } : {
288
- lg: "0px",
289
- md: "24px",
290
- sm: "16px",
291
- xs: "16px"
288
+ lg: '0px',
289
+ md: '24px',
290
+ sm: '16px',
291
+ xs: '16px'
292
292
  },
293
293
  paddingRight: {
294
- lg: "24px",
295
- md: "24px",
296
- sm: "16px",
297
- xs: "16px"
294
+ lg: '24px',
295
+ md: '24px',
296
+ sm: '16px',
297
+ xs: '16px'
298
298
  }
299
299
  }
300
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, {
@@ -316,13 +316,13 @@ function Layout1$1(content) {
316
316
  marginBottom: '16px',
317
317
  whiteSpace: 'pre-wrap',
318
318
  fontSize: {
319
- xs: "2em",
320
- sm: "2em",
321
- md: "3.75em",
322
- lg: "3.75em",
323
- xl: "3.75em"
319
+ xs: '2em',
320
+ sm: '2em',
321
+ md: '3.75em',
322
+ lg: '3.75em',
323
+ xl: '3.75em'
324
324
  },
325
- fontWeight: "bold"
325
+ fontWeight: 'bold'
326
326
  }
327
327
  }), /*#__PURE__*/React__default.createElement(material.Typography, {
328
328
  component: 'p',
@@ -333,11 +333,11 @@ function Layout1$1(content) {
333
333
  marginBottom: '16px',
334
334
  whiteSpace: 'pre-wrap',
335
335
  fontSize: {
336
- xs: "1.125em",
337
- sm: "1.125em",
338
- md: "1.125em",
339
- lg: "1.125em",
340
- xl: "1.125em"
336
+ xs: '1.125em',
337
+ sm: '1.125em',
338
+ md: '1.125em',
339
+ lg: '1.125em',
340
+ xl: '1.125em'
341
341
  }
342
342
  }
343
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, {
@@ -573,13 +573,13 @@ function Layout1$3(content) {
573
573
  sx: {
574
574
  whiteSpace: 'pre-wrap',
575
575
  fontSize: {
576
- xs: "1.875em",
577
- sm: "2.25em",
578
- md: "3em",
579
- lg: "3em",
580
- xl: "3em"
576
+ xs: '1.875em',
577
+ sm: '2.25em',
578
+ md: '3em',
579
+ lg: '3em',
580
+ xl: '3em'
581
581
  },
582
- paddingBottom: "32px"
582
+ paddingBottom: '32px'
583
583
  }
584
584
  }), /*#__PURE__*/React__default.createElement(material.Grid, {
585
585
  container: true,
@@ -599,7 +599,7 @@ function Layout1$3(content) {
599
599
  elevation: 0,
600
600
  sx: {
601
601
  borderRadius: '24px',
602
- width: "100%",
602
+ width: '100%',
603
603
  height: {
604
604
  xl: 350,
605
605
  lg: 350,
@@ -610,12 +610,12 @@ function Layout1$3(content) {
610
610
  }
611
611
  }, /*#__PURE__*/React__default.createElement(material.CardMedia, {
612
612
  component: "img",
613
- alt: img.description ? img.description : "",
613
+ alt: img.description ? img.description : '',
614
614
  image: img.image ? img.image.url ? img.image.url : 'none' : 'none',
615
615
  sx: {
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") + ")")
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') + ")")
619
619
  }
620
620
  })));
621
621
  }))));
@@ -797,13 +797,13 @@ function Item$2(props) {
797
797
  width: '100%',
798
798
  height: '520px',
799
799
  paddingTop: '70px',
800
- "& .css-hn784z": {
800
+ '& .css-hn784z': {
801
801
  left: {
802
802
  xs: 'calc(100% - 120px)'
803
803
  },
804
804
  height: 'auto'
805
805
  },
806
- "& .css-1abc02a": {
806
+ '& .css-1abc02a': {
807
807
  height: 'auto'
808
808
  }
809
809
  }
@@ -881,7 +881,7 @@ function Item$2(props) {
881
881
  image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
882
882
  sx: {
883
883
  aspectRatio: '1/1',
884
- transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : "1") + ")")
884
+ transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : '1') + ")")
885
885
  }
886
886
  })), /*#__PURE__*/React__default.createElement(material.CardContent, {
887
887
  sx: {
@@ -1001,7 +1001,7 @@ function Item$2(props) {
1001
1001
  image: item.image.url ? item.image.url : 'https://via.placeholder.com/300x300.png?text=No+Image',
1002
1002
  sx: {
1003
1003
  aspectRatio: '1/1',
1004
- transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : "1") + ")")
1004
+ transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : '1') + ")")
1005
1005
  }
1006
1006
  }), /*#__PURE__*/React__default.createElement(material.CardContent, {
1007
1007
  sx: {
@@ -1168,18 +1168,24 @@ function Item$3(props) {
1168
1168
  sx: {
1169
1169
  position: 'absolute',
1170
1170
  top: {
1171
- xs: '-40px',
1171
+ xs: '-70px',
1172
1172
  sm: '-70px'
1173
1173
  },
1174
- zIndex: 1
1174
+ zIndex: 1,
1175
+ width: '100%',
1176
+ display: 'flex'
1175
1177
  }
1176
- }, " ", /*#__PURE__*/React__default.createElement(material.Typography, {
1178
+ }, ' ', /*#__PURE__*/React__default.createElement(material.Typography, {
1177
1179
  component: 'h2',
1178
1180
  dangerouslySetInnerHTML: {
1179
1181
  __html: title ? title : ''
1180
1182
  },
1181
1183
  sx: {
1182
1184
  height: '100%',
1185
+ textAlign: {
1186
+ xs: 'center',
1187
+ sm: 'left'
1188
+ },
1183
1189
  fontSize: {
1184
1190
  xl: '3em',
1185
1191
  lg: '3em',
@@ -1229,6 +1235,7 @@ function Item$3(props) {
1229
1235
  sx: {
1230
1236
  width: '100%',
1231
1237
  height: '140px',
1238
+ marginTop: '10px',
1232
1239
  transform: "translate(" + item.image_transform_x + "%, " + item.image_transform_y + "%) scale(" + (item.image_scale ? item.image_scale : '1') + ")"
1233
1240
  }
1234
1241
  }))));
@@ -3083,39 +3090,39 @@ function Layout(content) {
3083
3090
  preserveAspectRatio: 'xMidYMid slice'
3084
3091
  }
3085
3092
  };
3086
- var callToAction = "Ingresa a Keski Creator desde tu panel administrativo para editar esta vista.";
3093
+ var callToAction = 'Ingresa a Keski Creator desde tu panel administrativo para editar esta vista.';
3087
3094
  var infoLoadingMap = {
3088
3095
  'landing/content/1': {
3089
- title: "Página de inicio",
3090
- 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."
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.'
3091
3098
  },
3092
3099
  'landing/content/2': {
3093
- title: "Productos",
3094
- description: "En esta sección puedes detallar los productos que ofreces. Organiza tu catálogo y facilita la navegación."
3100
+ title: 'Productos',
3101
+ description: 'En esta sección puedes detallar los productos que ofreces. Organiza tu catálogo y facilita la navegación.'
3095
3102
  },
3096
3103
  'landing/content/3': {
3097
- title: "Nosotros",
3098
- 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."
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.'
3099
3106
  },
3100
3107
  'landing/content/4': {
3101
- title: "Catálogo",
3102
- 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."
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.'
3103
3110
  },
3104
3111
  'landing/content/5': {
3105
- title: "Servicios",
3106
- 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."
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.'
3107
3114
  },
3108
3115
  'landing/content/6': {
3109
- title: "Blog",
3110
- 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."
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.'
3111
3118
  },
3112
3119
  'landing/content/7': {
3113
- title: "Ubicación",
3114
- 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."
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.'
3115
3122
  },
3116
- 'placeholder': {
3117
- title: "En construccion",
3118
- description: "Bienvenido a la página principal. Aquí encontrarás información general y acceso a las diferentes secciones."
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.'
3119
3126
  }
3120
3127
  };
3121
3128
  var visible = true;
@@ -3129,8 +3136,8 @@ function Layout(content) {
3129
3136
  },
3130
3137
  height: {
3131
3138
  xs: '80vh',
3132
- sm: "80vh",
3133
- md: "80vh"
3139
+ sm: '80vh',
3140
+ md: '80vh'
3134
3141
  },
3135
3142
  backgroundPosition: 'center',
3136
3143
  justifyContent: 'center',
@@ -3150,18 +3157,18 @@ function Layout(content) {
3150
3157
  lg: '80vh'
3151
3158
  },
3152
3159
  justifyContent: 'center',
3153
- alignItems: "center",
3160
+ alignItems: 'center',
3154
3161
  paddingLeft: {
3155
- lg: "0px",
3156
- md: "24px",
3157
- sm: "16px",
3158
- xs: "16px"
3162
+ lg: '0px',
3163
+ md: '24px',
3164
+ sm: '16px',
3165
+ xs: '16px'
3159
3166
  },
3160
3167
  paddingRight: {
3161
- lg: "24px",
3162
- md: "24px",
3163
- sm: "16px",
3164
- xs: "16px"
3168
+ lg: '24px',
3169
+ md: '24px',
3170
+ sm: '16px',
3171
+ xs: '16px'
3165
3172
  },
3166
3173
  textAlign: 'center'
3167
3174
  }
@@ -3171,11 +3178,11 @@ function Layout(content) {
3171
3178
  marginBottom: '16px',
3172
3179
  whiteSpace: 'pre-wrap',
3173
3180
  fontSize: {
3174
- xs: "2em",
3175
- sm: "2em",
3176
- md: "3.75em",
3177
- lg: "3.75em",
3178
- xl: "3.75em"
3181
+ xs: '2em',
3182
+ sm: '2em',
3183
+ md: '3.75em',
3184
+ lg: '3.75em',
3185
+ xl: '3.75em'
3179
3186
  },
3180
3187
  color: '#60269E'
3181
3188
  }
@@ -3185,11 +3192,11 @@ function Layout(content) {
3185
3192
  marginBottom: '16px',
3186
3193
  justifyContent: 'center',
3187
3194
  fontSize: {
3188
- xs: "1.25em",
3189
- sm: "1.25em",
3190
- md: "1.25em",
3191
- lg: "1.25em",
3192
- xl: "1.25em"
3195
+ xs: '1.25em',
3196
+ sm: '1.25em',
3197
+ md: '1.25em',
3198
+ lg: '1.25em',
3199
+ xl: '1.25em'
3193
3200
  }
3194
3201
  }
3195
3202
  }, infoLoadingMap[content.component.view_placeholder].description), /*#__PURE__*/React__default.createElement(Lottie, {
@@ -3202,11 +3209,11 @@ function Layout(content) {
3202
3209
  marginBottom: '16px',
3203
3210
  justifyContent: 'center',
3204
3211
  fontSize: {
3205
- xs: "1.25em",
3206
- sm: "1.25em",
3207
- md: "1.25em",
3208
- lg: "1.25em",
3209
- xl: "1.25em"
3212
+ xs: '1.25em',
3213
+ sm: '1.25em',
3214
+ md: '1.25em',
3215
+ lg: '1.25em',
3216
+ xl: '1.25em'
3210
3217
  }
3211
3218
  }
3212
3219
  }, callToAction))));