@win2win/shared-ui 0.3.237 → 0.3.239
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/_virtual/ProductPrice.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +4 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/_virtual/archivo.js +4 -0
- package/dist/_virtual/canal-props.js +4 -0
- package/dist/_virtual/captacion.js +4 -0
- package/dist/_virtual/captacion2.js +4 -0
- package/dist/_virtual/comision.js +4 -0
- package/dist/_virtual/conditions.js +4 -0
- package/dist/_virtual/control-types.js +4 -0
- package/dist/_virtual/countries.js +4 -0
- package/dist/_virtual/estado-effect.js +4 -0
- package/dist/_virtual/estado-rule.js +4 -0
- package/dist/_virtual/estado.js +4 -0
- package/dist/_virtual/flag.js +4 -0
- package/dist/_virtual/formatters.js +4 -0
- package/dist/_virtual/gama.js +4 -0
- package/dist/_virtual/garantia.js +4 -0
- package/dist/_virtual/iban.js +4 -0
- package/dist/_virtual/id.js +4 -0
- package/dist/_virtual/import_schema.js +4 -0
- package/dist/_virtual/importacion.js +4 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index10.js +4 -0
- package/dist/_virtual/index11.js +4 -0
- package/dist/_virtual/index12.js +4 -0
- package/dist/_virtual/index13.js +4 -0
- package/dist/_virtual/index14.js +4 -0
- package/dist/_virtual/index15.js +4 -0
- package/dist/_virtual/index16.js +4 -0
- package/dist/_virtual/index17.js +4 -0
- package/dist/_virtual/index18.js +4 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/index4.js +4 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index9.js +4 -0
- package/dist/_virtual/item-liquidable.js +4 -0
- package/dist/_virtual/landing.js +4 -0
- package/dist/_virtual/languages.js +4 -0
- package/dist/_virtual/layout.js +4 -0
- package/dist/_virtual/layout2.js +4 -0
- package/dist/_virtual/liquidacion.js +4 -0
- package/dist/_virtual/liquidaciones.js +4 -0
- package/dist/_virtual/llamada.js +4 -0
- package/dist/_virtual/lodash.js +4 -0
- package/dist/_virtual/mappers.js +4 -0
- package/dist/_virtual/notificacion.js +4 -0
- package/dist/_virtual/options.js +4 -0
- package/dist/_virtual/page_sections.js +4 -0
- package/dist/_virtual/partner.js +4 -0
- package/dist/_virtual/pedido.js +4 -0
- package/dist/_virtual/perfiles.js +4 -0
- package/dist/_virtual/permisos.js +4 -0
- package/dist/_virtual/producto.js +4 -0
- package/dist/_virtual/producto2.js +4 -0
- package/dist/_virtual/query-params.js +4 -0
- package/dist/_virtual/regla.js +4 -0
- package/dist/_virtual/resultado.js +4 -0
- package/dist/_virtual/seguimiento.js +4 -0
- package/dist/_virtual/shared-types.js +4 -0
- package/dist/_virtual/shared.js +4 -0
- package/dist/_virtual/timestamp.js +4 -0
- package/dist/_virtual/validators.js +4 -0
- package/dist/_virtual/validators2.js +4 -0
- package/dist/_virtual/visibility.js +4 -0
- package/dist/components/Common/Button.vue.js +52 -0
- package/dist/components/Common/Button.vue2.js +4 -0
- package/dist/components/Common/Card.vue.js +7 -0
- package/dist/components/Common/Card.vue2.js +66 -0
- package/dist/components/Common/DynamicCarousel.vue.js +102 -0
- package/dist/components/Common/DynamicCarousel.vue3.js +5 -0
- package/dist/components/Common/FlagsIcons.vue.js +7 -0
- package/dist/components/Common/FlagsIcons.vue2.js +45 -0
- package/dist/components/Common/GeneratingError.vue.js +25 -0
- package/dist/components/Common/GeneratingError.vue2.js +4 -0
- package/dist/components/Common/GeneratingLoader.vue.js +25 -0
- package/dist/components/Common/GeneratingLoader.vue2.js +4 -0
- package/dist/components/Common/IconButton.vue.js +7 -0
- package/dist/components/Common/IconButton.vue2.js +97 -0
- package/dist/components/Common/IndicatorColor.vue.js +7 -0
- package/dist/components/Common/IndicatorColor.vue2.js +20 -0
- package/dist/components/Common/MenuButton.vue.js +91 -0
- package/dist/components/Common/MenuButton.vue2.js +4 -0
- package/dist/components/Common/SectionSpinner.vue.js +7 -0
- package/dist/components/Common/SectionSpinner.vue2.js +36 -0
- package/dist/components/Common/StateIndicator.vue.js +7 -0
- package/dist/components/Common/StateIndicator.vue2.js +41 -0
- package/dist/components/index.d.ts +16 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/pdf/DomSection.vue.js +19 -0
- package/dist/components/pdf/DomSection.vue2.js +4 -0
- package/dist/components/pdf/PdfContainer.vue.js +7 -0
- package/dist/components/pdf/PdfContainer.vue2.js +102 -0
- package/dist/components/pdf/SectionWrapper.vue.js +33 -0
- package/dist/components/pdf/SectionWrapper.vue2.js +4 -0
- package/dist/components/pdf/SectionsContainer.vue.js +9 -0
- package/dist/components/pdf/SectionsContainer.vue2.js +56 -0
- package/dist/components/pdf/SectionsContainer.vue3.js +6 -0
- package/dist/components/pdf/helpers.js +23 -0
- package/dist/components/pdf/sections/Card.vue.js +9 -0
- package/dist/components/pdf/sections/Card.vue2.js +52 -0
- package/dist/components/pdf/sections/Card.vue3.js +12 -0
- package/dist/components/pdf/sections/CardGridSection.vue.js +9 -0
- package/dist/components/pdf/sections/CardGridSection.vue2.js +30 -0
- package/dist/components/pdf/sections/CardGridSection.vue3.js +6 -0
- package/dist/components/pdf/sections/ImageSection.vue.js +9 -0
- package/dist/components/pdf/sections/ImageSection.vue2.js +26 -0
- package/dist/components/pdf/sections/ImageSection.vue3.js +6 -0
- package/dist/components/pdf/sections/RadioButtonsSection.vue.js +7 -0
- package/dist/components/pdf/sections/RadioButtonsSection.vue2.js +43 -0
- package/dist/components/pdf/sections/SignatureSection.vue.js +7 -0
- package/dist/components/pdf/sections/SignatureSection.vue2.js +115 -0
- package/dist/components/pdf/sections/TableSection.vue.js +9 -0
- package/dist/components/pdf/sections/TableSection.vue2.js +49 -0
- package/dist/components/pdf/sections/TableSection.vue3.js +6 -0
- package/dist/components/pdf/sections/TextSection.vue.js +9 -0
- package/dist/components/pdf/sections/TextSection.vue2.js +135 -0
- package/dist/components/pdf/sections/TextSection.vue3.js +11 -0
- package/dist/components/pdf/sections/useData.js +8 -0
- package/dist/components/widgets/broker-card/BrokerCard.vue.js +7 -0
- package/dist/components/widgets/broker-card/BrokerCard.vue2.js +171 -0
- package/dist/components/widgets/broker-card/components/BrokerProps.vue.js +7 -0
- package/dist/components/widgets/broker-card/components/BrokerProps.vue2.js +117 -0
- package/dist/components/widgets/broker-card/mock-data.js +452 -0
- package/dist/components/widgets/broker-card/mock-props.js +273 -0
- package/dist/components/widgets/broker-card/schema.js +11 -0
- package/dist/components/widgets/broker-detail/BrokerDetail.vue.js +7 -0
- package/dist/components/widgets/broker-detail/BrokerDetail.vue2.js +174 -0
- package/dist/components/widgets/broker-detail/components/BrokertActions.vue.js +7 -0
- package/dist/components/widgets/broker-detail/components/BrokertActions.vue2.js +31 -0
- package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue.js +7 -0
- package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue2.js +90 -0
- package/dist/components/widgets/broker-detail/mock-data.js +227 -0
- package/dist/components/widgets/broker-detail/mock-props.js +12 -0
- package/dist/components/widgets/broker-detail/schema.js +10 -0
- package/dist/components/widgets/broker-detail/useContext.js +32 -0
- package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.d.ts.map +1 -1
- package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue2.js +249 -0
- package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js +36 -0
- package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue2.js +4 -0
- package/dist/components/widgets/linvermedia-product-card/mock-data.js +1121 -0
- package/dist/components/widgets/linvermedia-product-card/mock-props.js +20 -0
- package/dist/components/widgets/linvermedia-product-card/schema.js +13 -0
- package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue2.js +151 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue2.js +90 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue.js +9 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue2.js +147 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue.js +37 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue2.js +4 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue2.js +61 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue2.js +56 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue.js +21 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue2.js +4 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue2.js +91 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue.js +20 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue2.js +4 -0
- package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue2.js +49 -0
- package/dist/components/widgets/linvermedia-product-detail/mock-data.js +1005 -0
- package/dist/components/widgets/linvermedia-product-detail/mock-props.js +12 -0
- package/dist/components/widgets/linvermedia-product-detail/schema.js +11 -0
- package/dist/components/widgets/linvermedia-product-detail/useContext.js +43 -0
- package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue.js +7 -0
- package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue2.js +74 -0
- package/dist/components/widgets/linvermedia-solicitud-card/mock-data.js +580 -0
- package/dist/components/widgets/linvermedia-solicitud-card/mock-props.js +8 -0
- package/dist/components/widgets/linvermedia-solicitud-card/schema.js +5 -0
- package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue.js +7 -0
- package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js +263 -0
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue.js +21 -0
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue2.js +4 -0
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue.js +20 -0
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue2.js +4 -0
- package/dist/components/widgets/perdm-telephony-product-detail/mock-data.js +1187 -0
- package/dist/components/widgets/perdm-telephony-product-detail/mock-props.js +12 -0
- package/dist/components/widgets/perdm-telephony-product-detail/schema.js +11 -0
- package/dist/components/widgets/perdm-telephony-product-detail/useContext.js +41 -0
- package/dist/components/widgets/shared/LinvermediaGamaProps.js +1688 -0
- package/dist/components/widgets/shared/PerdmTelephonyGamaProps.js +1688 -0
- package/dist/components/widgets/shared/ProductPrice.vue.js +7 -0
- package/dist/components/widgets/shared/ProductPrice.vue2.js +84 -0
- package/dist/components/widgets/shared/ProductProps.vue.js +294 -0
- package/dist/components/widgets/shared/ProductProps.vue2.js +4 -0
- package/dist/components/widgets/shared/ProductTag.vue.js +7 -0
- package/dist/components/widgets/shared/ProductTag.vue2.js +38 -0
- package/dist/components/widgets/shared/helpers.js +52 -0
- package/dist/components/widgets/shared/schema.js +17 -0
- package/dist/components/widgets/shared/useWidgetEvent.js +13 -0
- package/dist/components/widgets/telephony-card/TelephonyCard.vue.js +7 -0
- package/dist/components/widgets/telephony-card/TelephonyCard.vue2.js +292 -0
- package/dist/components/widgets/telephony-card/mock-data.js +1197 -0
- package/dist/components/widgets/telephony-card/mock-props.js +400 -0
- package/dist/components/widgets/telephony-card/schema.js +22 -0
- package/dist/components/widgets/telmex-card/TelmexCard.vue.js +7 -0
- package/dist/components/widgets/telmex-card/TelmexCard.vue2.js +232 -0
- package/dist/components/widgets/telmex-card/mock-data.js +1545 -0
- package/dist/components/widgets/telmex-card/mock-props.js +1332 -0
- package/dist/components/widgets/telmex-card/schema.js +22 -0
- package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue.js +7 -0
- package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue2.js +648 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue.js +7 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue2.js +316 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue.js +21 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue2.js +4 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue.js +20 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue2.js +4 -0
- package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue.js +7 -0
- package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue2.js +52 -0
- package/dist/components/widgets/telmex-product-detail/mock-data.js +1561 -0
- package/dist/components/widgets/telmex-product-detail/mock-props.js +10 -0
- package/dist/components/widgets/telmex-product-detail/schema.js +11 -0
- package/dist/components/widgets/telmex-product-detail/useContext.js +41 -0
- package/dist/components.js +31 -0
- package/dist/composables/fetching/fetchUniqFactory.js +21 -0
- package/dist/composables/fetching/fetchUniqProvider.js +15 -0
- package/dist/composables/fetching/types.js +11 -0
- package/dist/composables/fetching/useFetch.js +40 -0
- package/dist/composables/fetching/useFetchPages.js +101 -0
- package/dist/composables/useDragAndDrop.js +65 -0
- package/dist/composables/utils.js +11 -0
- package/dist/composables.js +17 -0
- package/dist/index.js +58 -0
- package/dist/node_modules/@win2win/shared/dist/consts/countries.js +1082 -0
- package/dist/node_modules/@win2win/shared/dist/consts/index.js +26 -0
- package/dist/node_modules/@win2win/shared/dist/consts/languages.js +173 -0
- package/dist/node_modules/@win2win/shared/dist/consts/perfiles/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/consts/perfiles/perfiles.js +38 -0
- package/dist/node_modules/@win2win/shared/dist/consts/permisos/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/consts/permisos/permisos.js +129 -0
- package/dist/node_modules/@win2win/shared/dist/consts/visitas/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/consts/visitas/resultado.js +40 -0
- package/dist/node_modules/@win2win/shared/dist/enums/captacion.js +14 -0
- package/dist/node_modules/@win2win/shared/dist/enums/garantia.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/enums/importacion.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/enums/index.js +32 -0
- package/dist/node_modules/@win2win/shared/dist/enums/liquidacion.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/enums/notificacion.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/enums/pedido.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/enums/producto.js +22 -0
- package/dist/node_modules/@win2win/shared/dist/enums/shared.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/helpers/ProductPrice.js +61 -0
- package/dist/node_modules/@win2win/shared/dist/helpers/formatters.js +76 -0
- package/dist/node_modules/@win2win/shared/dist/helpers/index.js +22 -0
- package/dist/node_modules/@win2win/shared/dist/helpers/validators.js +15 -0
- package/dist/node_modules/@win2win/shared/dist/index.js +24 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/canal-props.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-effect.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-rule.js +23 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/flag.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/index.js +26 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/llamada.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/import_schema.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/index.js +20 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/layout.js +7 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/index.js +34 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/landings/index.js +20 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/landings/landing.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/landings/page_sections.js +270 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/layout.js +15 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/comision.js +11 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/index.js +24 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/item-liquidable.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/liquidaciones.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/regla.js +27 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/conditions.js +7 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/control-types.js +27 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/index.js +28 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/mappers.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/options.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/validators.js +85 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/visibility.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/archivo.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/captacion.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/gama.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/index.js +28 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/partner.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/producto.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/seguimiento.js +17 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/id.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/index.js +24 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/query-params.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/shared-types.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/timestamp.js +10 -0
- package/dist/node_modules/better-dni/dist/index.js +67 -0
- package/dist/node_modules/iban/iban.js +114 -0
- package/dist/node_modules/lodash/lodash.js +3676 -0
- package/dist/style.css +1 -1
- package/dist/widgets.js +154 -0
- package/package.json +21 -5
- package/dist/w2w-shared-ui.js +0 -26033
- package/dist/w2w-shared-ui.umd.cjs +0 -48
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { defineComponent as X, toRefs as J, computed as r, reactive as Y, ref as Z, createBlock as p, createCommentVNode as n, openBlock as l, normalizeStyle as b, withCtx as f, createElementVNode as a, createVNode as _, createElementBlock as i, toDisplayString as m, Fragment as T, renderList as D, createTextVNode as E, unref as u } from "vue";
|
|
2
|
+
import { upperFirst as ee, mapKeys as te, snakeCase as oe } from "lodash-es";
|
|
3
|
+
import { QIcon as le, QCardSection as N, QChip as ae, QBtn as se } from "quasar";
|
|
4
|
+
import ie from "../../Common/Card.vue.js";
|
|
5
|
+
import ne from "../../Common/DynamicCarousel.vue.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import re from "../../Common/StateIndicator.vue.js";
|
|
8
|
+
import { MAP_COLOR as ce, capitalize as ue } from "../shared/helpers.js";
|
|
9
|
+
import de from "../shared/ProductPrice.vue.js";
|
|
10
|
+
import pe from "../shared/ProductProps.vue.js";
|
|
11
|
+
import me from "../shared/ProductTag.vue.js";
|
|
12
|
+
import ve from "./components/PublicToggleButton.vue.js";
|
|
13
|
+
const _e = { style: { height: "48rem" } }, ye = { class: "carousel-container" }, he = { class: "carousel-overlay" }, fe = { class: "header-overlay" }, Pe = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "tag pack-code no-wrap"
|
|
16
|
+
}, ge = { key: 1 }, be = { class: "text-center row justify-center no-wrap" }, ke = { class: "media-count" }, Ce = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "visibility-icon-container"
|
|
19
|
+
}, Oe = { class: "row justify-between no-wrap" }, Re = {
|
|
20
|
+
class: "text-subtitle1 text-bold text-main",
|
|
21
|
+
style: { "line-height": "120%" }
|
|
22
|
+
}, xe = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "text-caption"
|
|
25
|
+
}, Se = { class: "flex-center q-mt-xs" }, Ae = { class: "q-mb-md" }, we = { class: "text-center text-weight-medium q-mb-md" }, qe = { class: "text-right text-weight-medium q-mb-md" }, Be = {
|
|
26
|
+
style: { "font-size": "15px" },
|
|
27
|
+
class: "q-mb-md text-black"
|
|
28
|
+
}, Ie = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "color-selector q-mb-md"
|
|
31
|
+
}, Le = {
|
|
32
|
+
class: "q-mb-md",
|
|
33
|
+
style: { opacity: "0.85" }
|
|
34
|
+
}, Ve = { key: 1 }, Te = { class: "q-mt-lg" }, De = {
|
|
35
|
+
key: 0,
|
|
36
|
+
class: "text-caption text-main ellipsis"
|
|
37
|
+
}, Ee = {
|
|
38
|
+
key: 1,
|
|
39
|
+
class: "text-caption text-main ellipsis"
|
|
40
|
+
}, Ne = { class: "footer" }, Je = /* @__PURE__ */ X({
|
|
41
|
+
__name: "LinvermediaProductCard",
|
|
42
|
+
props: {
|
|
43
|
+
isPublic: { type: Boolean },
|
|
44
|
+
fetching: { type: Boolean },
|
|
45
|
+
scale: {},
|
|
46
|
+
count: {},
|
|
47
|
+
imageHeight: {},
|
|
48
|
+
borderRadius: {},
|
|
49
|
+
unelevated: { type: Boolean },
|
|
50
|
+
hoverable: { type: Boolean },
|
|
51
|
+
descriptionLines: { default: 2 },
|
|
52
|
+
hiddenProps: { default: () => [
|
|
53
|
+
"compatible_videowall",
|
|
54
|
+
"doble_cara",
|
|
55
|
+
"peso_kg",
|
|
56
|
+
"gran_formato_independiente",
|
|
57
|
+
"tasa_de_refresco_hz",
|
|
58
|
+
"resolucion"
|
|
59
|
+
] },
|
|
60
|
+
data: {},
|
|
61
|
+
gamaProps: {},
|
|
62
|
+
showPrice: { type: Function, default: () => !0 },
|
|
63
|
+
autoplay: { type: Boolean, default: !1 }
|
|
64
|
+
},
|
|
65
|
+
emits: ["on-event"],
|
|
66
|
+
setup(K, { emit: z }) {
|
|
67
|
+
const k = z, v = K, { data: M, isPublic: U, hiddenProps: $, gamaProps: Q } = J(v), y = r(() => !U.value), e = r(() => M.value || null), F = r(() => {
|
|
68
|
+
var t;
|
|
69
|
+
return ((t = v.showPrice) == null ? void 0 : t.call(v, e.value)) ?? !0;
|
|
70
|
+
}), G = r(
|
|
71
|
+
() => {
|
|
72
|
+
var t, o, s;
|
|
73
|
+
return !!((o = (t = e.value) == null ? void 0 : t.PROPS) != null && o.a_medida) && !((s = e.value) != null && s.PACK);
|
|
74
|
+
}
|
|
75
|
+
), j = r(() => {
|
|
76
|
+
var t;
|
|
77
|
+
return ee((t = e.value) == null ? void 0 : t.NOMBRE);
|
|
78
|
+
}), C = r(
|
|
79
|
+
() => {
|
|
80
|
+
var t;
|
|
81
|
+
return (((t = e.value) == null ? void 0 : t.DESCRIPCION_CORTA) || "").trim();
|
|
82
|
+
}
|
|
83
|
+
), H = r(() => {
|
|
84
|
+
var t;
|
|
85
|
+
return ((t = e.value) == null ? void 0 : t.COD_ART_MVX) || "";
|
|
86
|
+
}), O = Y(ce), W = r(() => {
|
|
87
|
+
var t, o;
|
|
88
|
+
return (o = (t = e.value) == null ? void 0 : t.TAGS) == null ? void 0 : o.split(",");
|
|
89
|
+
}), P = Z(1), g = r(() => {
|
|
90
|
+
var o;
|
|
91
|
+
return (((o = e.value) == null ? void 0 : o.R_IMG) || []).map(
|
|
92
|
+
(s) => te(s, (c, h) => oe(h))
|
|
93
|
+
).sort((s, c) => s.principal && !c.principal ? -1 : c.principal && !s.principal ? 1 : 0);
|
|
94
|
+
}), R = r(
|
|
95
|
+
() => {
|
|
96
|
+
var t, o, s;
|
|
97
|
+
return ((s = (o = (t = e.value) == null ? void 0 : t.PROPS) == null ? void 0 : o.colores_disponibles) == null ? void 0 : s.filter(
|
|
98
|
+
(c) => !!O[c]
|
|
99
|
+
)) || [];
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
return (t, o) => e.value ? (l(), p(ie, {
|
|
103
|
+
key: 0,
|
|
104
|
+
class: "card-custom",
|
|
105
|
+
loading: t.fetching,
|
|
106
|
+
style: b({ scale: v.scale ?? 1 }),
|
|
107
|
+
onClick: o[2] || (o[2] = (s) => k("on-event", {
|
|
108
|
+
code: "card_click",
|
|
109
|
+
payload: { product: e.value }
|
|
110
|
+
}))
|
|
111
|
+
}, {
|
|
112
|
+
default: f(() => {
|
|
113
|
+
var s, c, h, x, S;
|
|
114
|
+
return [
|
|
115
|
+
a("div", _e, [
|
|
116
|
+
a("div", ye, [
|
|
117
|
+
a("div", he, [
|
|
118
|
+
a("div", fe, [
|
|
119
|
+
e.value.PACK ? (l(), i("span", Pe, " Pack ")) : (l(), i("span", ge, m(H.value), 1))
|
|
120
|
+
]),
|
|
121
|
+
a("div", be, [
|
|
122
|
+
(l(!0), i(T, null, D(W.value, (d) => (l(), p(me, { tag: d }, null, 8, ["tag"]))), 256))
|
|
123
|
+
]),
|
|
124
|
+
a("div", ke, [
|
|
125
|
+
E(m((s = g.value) != null && s.length ? P.value : 0) + "/" + m(((c = g.value) == null ? void 0 : c.length) || 0) + " ", 1),
|
|
126
|
+
_(u(le), {
|
|
127
|
+
name: "sym_o_image",
|
|
128
|
+
size: "sm",
|
|
129
|
+
class: "q-ml-xs"
|
|
130
|
+
})
|
|
131
|
+
])
|
|
132
|
+
]),
|
|
133
|
+
_(u(N), { style: { "padding-bottom": "0.35rem" } }, {
|
|
134
|
+
default: f(() => [
|
|
135
|
+
_(ne, {
|
|
136
|
+
items: g.value,
|
|
137
|
+
modelValue: P.value,
|
|
138
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => P.value = d),
|
|
139
|
+
autoplay: t.autoplay
|
|
140
|
+
}, null, 8, ["items", "modelValue", "autoplay"]),
|
|
141
|
+
y.value ? (l(), i("div", Ce, [
|
|
142
|
+
_(ve, {
|
|
143
|
+
public: e.value.PUBLICO,
|
|
144
|
+
onChangePublic: o[1] || (o[1] = (d) => k("on-event", {
|
|
145
|
+
code: "change-public",
|
|
146
|
+
payload: { id: e.value.ID_PRODUCTO }
|
|
147
|
+
}))
|
|
148
|
+
}, null, 8, ["public"])
|
|
149
|
+
])) : n("", !0)
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
})
|
|
153
|
+
]),
|
|
154
|
+
_(u(N), { style: { "min-height": "330px" } }, {
|
|
155
|
+
default: f(() => {
|
|
156
|
+
var d, A, w, q, B, I, L;
|
|
157
|
+
return [
|
|
158
|
+
a("div", null, [
|
|
159
|
+
a("div", Oe, [
|
|
160
|
+
a("div", Re, m(j.value), 1),
|
|
161
|
+
e.value.R_ESTADO ? (l(), p(re, {
|
|
162
|
+
key: 0,
|
|
163
|
+
label: (d = e.value.R_ESTADO) == null ? void 0 : d.NAME,
|
|
164
|
+
color: (A = e.value.R_ESTADO) == null ? void 0 : A.COLOR
|
|
165
|
+
}, null, 8, ["label", "color"])) : n("", !0)
|
|
166
|
+
]),
|
|
167
|
+
y.value && ((w = e.value.PROPS) != null && w.sku) ? (l(), i("div", xe, " SKU: " + m(e.value.PROPS.sku), 1)) : n("", !0),
|
|
168
|
+
a("div", Se, [
|
|
169
|
+
a("div", Ae, [
|
|
170
|
+
F.value ? (l(), p(de, {
|
|
171
|
+
key: 0,
|
|
172
|
+
product: e.value,
|
|
173
|
+
"is-private": y.value,
|
|
174
|
+
size: "small"
|
|
175
|
+
}, null, 8, ["product", "is-private"])) : n("", !0)
|
|
176
|
+
]),
|
|
177
|
+
a("div", we, m(u(ue)((q = e.value.PROPS) == null ? void 0 : q.ubicacion)), 1),
|
|
178
|
+
a("div", qe, [
|
|
179
|
+
(B = e.value.PROPS) != null && B.a_medida && !((I = e.value) != null && I.PACK) ? (l(), p(u(ae), {
|
|
180
|
+
key: 0,
|
|
181
|
+
style: { "background-color": "#0183cb" },
|
|
182
|
+
"text-color": "white",
|
|
183
|
+
size: "12px"
|
|
184
|
+
}, {
|
|
185
|
+
default: f(() => [...o[3] || (o[3] = [
|
|
186
|
+
E("A medida", -1)
|
|
187
|
+
])]),
|
|
188
|
+
_: 1
|
|
189
|
+
})) : n("", !0)
|
|
190
|
+
])
|
|
191
|
+
])
|
|
192
|
+
]),
|
|
193
|
+
a("div", Be, [
|
|
194
|
+
R.value.length ? (l(), i("div", Ie, [
|
|
195
|
+
(l(!0), i(T, null, D(R.value, (V) => (l(), i("div", {
|
|
196
|
+
key: V,
|
|
197
|
+
style: b({ backgroundColor: O[V] || "#ccc" }),
|
|
198
|
+
class: "color-circle"
|
|
199
|
+
}, null, 4))), 128))
|
|
200
|
+
])) : n("", !0),
|
|
201
|
+
a("div", Le, [
|
|
202
|
+
C.value ? (l(), i("span", {
|
|
203
|
+
key: 0,
|
|
204
|
+
class: "description",
|
|
205
|
+
style: b({
|
|
206
|
+
lineClamp: t.descriptionLines,
|
|
207
|
+
WebkitLineClamp: t.descriptionLines
|
|
208
|
+
})
|
|
209
|
+
}, m(C.value || "~"), 5)) : (l(), i("span", Ve, [...o[4] || (o[4] = [
|
|
210
|
+
a("i", null, "Sin descripción", -1)
|
|
211
|
+
])]))
|
|
212
|
+
]),
|
|
213
|
+
e.value.PROPS ? (l(), p(pe, {
|
|
214
|
+
key: 1,
|
|
215
|
+
"gama-props": u(Q),
|
|
216
|
+
"product-props": e.value.PROPS,
|
|
217
|
+
lite: !0,
|
|
218
|
+
"hidden-props": u($)
|
|
219
|
+
}, null, 8, ["gama-props", "product-props", "hidden-props"])) : n("", !0),
|
|
220
|
+
a("div", Te, [
|
|
221
|
+
G.value ? (l(), i("div", De, " Requiere configuración ")) : n("", !0),
|
|
222
|
+
(L = e.value) != null && L.OCULTAR_PRECIO_LANDING ? (l(), i("div", Ee, " Solicitar presupuesto ")) : n("", !0)
|
|
223
|
+
])
|
|
224
|
+
])
|
|
225
|
+
];
|
|
226
|
+
}),
|
|
227
|
+
_: 1
|
|
228
|
+
})
|
|
229
|
+
]),
|
|
230
|
+
a("div", Ne, [
|
|
231
|
+
y.value ? n("", !0) : (l(), p(u(se), {
|
|
232
|
+
key: 0,
|
|
233
|
+
label: (h = e.value) != null && h.PACK ? "Ver oferta" : "Ver más",
|
|
234
|
+
"text-color": (x = e.value) != null && x.PACK ? "white" : "primary",
|
|
235
|
+
flat: !((S = e.value) != null && S.PACK),
|
|
236
|
+
class: "hover-button q-mt-lg",
|
|
237
|
+
color: "primary",
|
|
238
|
+
"no-caps": ""
|
|
239
|
+
}, null, 8, ["label", "text-color", "flat"]))
|
|
240
|
+
])
|
|
241
|
+
];
|
|
242
|
+
}),
|
|
243
|
+
_: 1
|
|
244
|
+
}, 8, ["loading", "style"])) : n("", !0);
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
export {
|
|
248
|
+
Je as default
|
|
249
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as p, ref as r, createBlock as a, openBlock as u, unref as o, withModifiers as s, withCtx as i, createVNode as d, createTextVNode as f, toDisplayString as b } from "vue";
|
|
2
|
+
import { QBtn as g, QTooltip as m } from "quasar";
|
|
3
|
+
const x = /* @__PURE__ */ p({
|
|
4
|
+
__name: "PublicToggleButton",
|
|
5
|
+
props: {
|
|
6
|
+
public: { type: Boolean },
|
|
7
|
+
size: {}
|
|
8
|
+
},
|
|
9
|
+
emits: ["change-public"],
|
|
10
|
+
setup(h, { emit: l }) {
|
|
11
|
+
const t = l, n = r(!1), c = () => t("change-public");
|
|
12
|
+
return (e, _) => (u(), a(o(g), {
|
|
13
|
+
onClick: s(c, ["stop"]),
|
|
14
|
+
loading: n.value,
|
|
15
|
+
size: e.size || "12px",
|
|
16
|
+
icon: e.public ? "public" : "public_off",
|
|
17
|
+
"text-color": e.public ? "green" : "red",
|
|
18
|
+
color: "white",
|
|
19
|
+
padding: "4px",
|
|
20
|
+
round: ""
|
|
21
|
+
}, {
|
|
22
|
+
default: i(() => [
|
|
23
|
+
d(o(m), null, {
|
|
24
|
+
default: i(() => [
|
|
25
|
+
f(b(e.public ? "Visible al público" : "Privado"), 1)
|
|
26
|
+
]),
|
|
27
|
+
_: 1
|
|
28
|
+
})
|
|
29
|
+
]),
|
|
30
|
+
_: 1
|
|
31
|
+
}, 8, ["loading", "size", "icon", "text-color"]));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
x as default
|
|
36
|
+
};
|