@win2win/shared-ui 0.3.238 → 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.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/widgets.js +154 -0
- package/package.json +21 -5
- package/dist/w2w-shared-ui.js +0 -26029
- package/dist/w2w-shared-ui.umd.cjs +0 -48
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { defineComponent as de, toRefs as ce, computed as h, createBlock as $, openBlock as c, normalizeStyle as P, withCtx as C, createElementBlock as m, createCommentVNode as y, createVNode as E, unref as r, createElementVNode as n, toDisplayString as p, Fragment as U, renderList as K, createTextVNode as k, withModifiers as J } from "vue";
|
|
2
|
+
import { l as x } from "../../../node_modules/lodash/lodash.js";
|
|
3
|
+
import { QCardSection as ue, QChip as me, QBtn as X } from "quasar";
|
|
4
|
+
import pe from "../../Common/Card.vue.js";
|
|
5
|
+
const ve = {
|
|
6
|
+
key: 0,
|
|
7
|
+
style: { height: "60px" }
|
|
8
|
+
}, fe = {
|
|
9
|
+
class: "row justify-center q-mb-sm",
|
|
10
|
+
style: { height: "45px" }
|
|
11
|
+
}, ge = {
|
|
12
|
+
class: "text-center text-caption",
|
|
13
|
+
style: { height: "25px" }
|
|
14
|
+
}, he = { class: "plan-info-container q-pt-sm" }, ye = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "row plan-info"
|
|
17
|
+
}, _e = { class: "text-main" }, Pe = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "row plan-info"
|
|
20
|
+
}, be = { class: "text-main" }, Ce = {
|
|
21
|
+
key: 2,
|
|
22
|
+
class: "row plan-info"
|
|
23
|
+
}, ke = { class: "text-main" }, xe = {
|
|
24
|
+
class: "row q-my-sm q-mt-md",
|
|
25
|
+
style: { height: "150px" }
|
|
26
|
+
}, Se = { class: "q-mx-sm" }, Oe = ["src"], Re = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "row items-center justify-center q-mb-md text-black"
|
|
29
|
+
}, Le = { class: "text-h2 text-bold" }, Ee = {
|
|
30
|
+
key: 2,
|
|
31
|
+
class: "row justify-center q-mb-md"
|
|
32
|
+
}, qe = {
|
|
33
|
+
style: { height: "15px" },
|
|
34
|
+
class: "text-center text-uppercase text-caption text-black"
|
|
35
|
+
}, we = { key: 0 }, Ve = /* @__PURE__ */ de({
|
|
36
|
+
__name: "TelephonyCard",
|
|
37
|
+
props: {
|
|
38
|
+
isPublic: { type: Boolean, default: !1 },
|
|
39
|
+
fetching: { type: Boolean },
|
|
40
|
+
scale: {},
|
|
41
|
+
count: {},
|
|
42
|
+
imageHeight: {},
|
|
43
|
+
borderRadius: {},
|
|
44
|
+
unelevated: { type: Boolean },
|
|
45
|
+
hoverable: { type: Boolean },
|
|
46
|
+
descriptionLines: { default: 2 },
|
|
47
|
+
hiddenProps: {},
|
|
48
|
+
titleHeight: { default: "8rem" },
|
|
49
|
+
showHeader: { type: Boolean, default: !1 },
|
|
50
|
+
data: {},
|
|
51
|
+
gamaProps: {},
|
|
52
|
+
context: {},
|
|
53
|
+
grupo: {},
|
|
54
|
+
tipoDeServicio: {},
|
|
55
|
+
headerColor: {},
|
|
56
|
+
nameColor: {},
|
|
57
|
+
filters: {},
|
|
58
|
+
queryParams: {},
|
|
59
|
+
cardColor: {}
|
|
60
|
+
},
|
|
61
|
+
emits: ["on-event"],
|
|
62
|
+
setup(Y, { emit: Z }) {
|
|
63
|
+
const L = Z, g = Y, { data: l, gamaProps: q } = ce(g), w = h(() => {
|
|
64
|
+
var e;
|
|
65
|
+
return ((e = l.value) == null ? void 0 : e.PROPS) || {};
|
|
66
|
+
}), S = (e, t) => e.find((o) => o.value === t) || t, ee = (e) => {
|
|
67
|
+
var o;
|
|
68
|
+
const t = w.value[e], s = q.value.find((d) => d.code === e);
|
|
69
|
+
return (o = s == null ? void 0 : s.options) != null && o.length ? x.isArray(t) ? t.map((d) => S(s.options, d)) : S(s.options, t) : t;
|
|
70
|
+
}, te = h(() => ee("complementos")), A = h(() => {
|
|
71
|
+
var s;
|
|
72
|
+
const e = w.value.wifi, t = q.value.find((o) => o.code === "wifi");
|
|
73
|
+
if (!((s = t == null ? void 0 : t.options) != null && s.length)) return e;
|
|
74
|
+
if (x.isArray(e))
|
|
75
|
+
return e.map((o) => S(t.options, o)).map((o) => typeof o == "object" ? o == null ? void 0 : o.label : o).join(", ").toUpperCase().replace("WIFI", "");
|
|
76
|
+
{
|
|
77
|
+
const o = S(t.options, e);
|
|
78
|
+
return (typeof o == "object" && ((o == null ? void 0 : o.label) || o) || "").toString().toUpperCase().replace("WIFI", "");
|
|
79
|
+
}
|
|
80
|
+
}), oe = h(() => {
|
|
81
|
+
var s, o, d;
|
|
82
|
+
const e = (s = te.value) == null ? void 0 : s.map((a) => {
|
|
83
|
+
var i;
|
|
84
|
+
return {
|
|
85
|
+
src: (i = a == null ? void 0 : a.image) == null ? void 0 : i.src,
|
|
86
|
+
label: a.label
|
|
87
|
+
};
|
|
88
|
+
});
|
|
89
|
+
if (e != null && e.length)
|
|
90
|
+
return e;
|
|
91
|
+
const t = ((d = (o = l.value) == null ? void 0 : o.DETALLE_PACK) == null ? void 0 : d.filter(
|
|
92
|
+
(a) => {
|
|
93
|
+
var i, u, v, f, _;
|
|
94
|
+
return ((v = (u = (i = a == null ? void 0 : a.DETALLE) == null ? void 0 : i.PROPS) == null ? void 0 : u.familia) == null ? void 0 : v.some(
|
|
95
|
+
(b) => ["streaming", "app"].includes(b)
|
|
96
|
+
)) && ((_ = (f = a == null ? void 0 : a.DETALLE) == null ? void 0 : f.ARCHIVOS) == null ? void 0 : _.length);
|
|
97
|
+
}
|
|
98
|
+
)) || [];
|
|
99
|
+
return t == null ? void 0 : t.map((a) => {
|
|
100
|
+
var i, u, v, f;
|
|
101
|
+
return {
|
|
102
|
+
src: (v = (u = (i = a == null ? void 0 : a.DETALLE) == null ? void 0 : i.ARCHIVOS) == null ? void 0 : u[0]) == null ? void 0 : v.LOCATION,
|
|
103
|
+
label: (f = a == null ? void 0 : a.DETALLE) == null ? void 0 : f.NOMBRE
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
}), ae = h(() => {
|
|
107
|
+
var e;
|
|
108
|
+
return String(((e = l.value) == null ? void 0 : e.NOMBRE) || "").toLowerCase();
|
|
109
|
+
}), B = h(() => {
|
|
110
|
+
var e;
|
|
111
|
+
return (e = l.value) == null ? void 0 : e.DESCRIPCION_CORTA;
|
|
112
|
+
}), le = h(() => {
|
|
113
|
+
var e, t;
|
|
114
|
+
return (t = (e = l.value) == null ? void 0 : e.TAGS) == null ? void 0 : t.split(",");
|
|
115
|
+
}), O = h(() => {
|
|
116
|
+
var e, t, s, o, d, a, i, u, v, f, _, b;
|
|
117
|
+
return g.cardColor ? g.cardColor : (s = (t = (e = l.value) == null ? void 0 : e.PROPS) == null ? void 0 : t.familia) != null && s.includes("movil") ? "#D60270" : (a = (d = (o = l.value) == null ? void 0 : o.PROPS) == null ? void 0 : d.familia) != null && a.includes("tv") ? "#FFA807" : (v = (u = (i = l.value) == null ? void 0 : i.PROPS) == null ? void 0 : u.familia) != null && v.includes("streaming") && ((b = (_ = (f = l.value) == null ? void 0 : f.PROPS) == null ? void 0 : _.familia) == null ? void 0 : b.length) == 1 ? "black" : "#00C1B5";
|
|
118
|
+
}), D = h(() => {
|
|
119
|
+
var e;
|
|
120
|
+
return Number(((e = l.value) == null ? void 0 : e.PRECIO) || 0);
|
|
121
|
+
}), I = h(() => {
|
|
122
|
+
var t, s, o, d, a, i, u;
|
|
123
|
+
if ((s = (t = l.value) == null ? void 0 : t.PROPS) != null && s.datos_moviles_gb)
|
|
124
|
+
return (d = (o = l.value) == null ? void 0 : o.PROPS) == null ? void 0 : d.datos_moviles_gb;
|
|
125
|
+
const e = (u = (i = (a = l.value) == null ? void 0 : a.PROPS) == null ? void 0 : i.segmento) == null ? void 0 : u.match(/(\d+)_gb$/i);
|
|
126
|
+
return e ? Number(e[1]) : null;
|
|
127
|
+
}), se = () => {
|
|
128
|
+
L("on-event", {
|
|
129
|
+
code: "start_checkout_with_product",
|
|
130
|
+
payload: {
|
|
131
|
+
product: l.value,
|
|
132
|
+
quantity: 1,
|
|
133
|
+
props: null
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
}, ne = () => {
|
|
137
|
+
g.isPublic || L("on-event", {
|
|
138
|
+
code: "card_click",
|
|
139
|
+
payload: { data: l.value }
|
|
140
|
+
});
|
|
141
|
+
}, ie = () => {
|
|
142
|
+
L("on-event", {
|
|
143
|
+
code: "card_click",
|
|
144
|
+
payload: { data: l.value }
|
|
145
|
+
});
|
|
146
|
+
};
|
|
147
|
+
return (e, t) => (c(), $(pe, {
|
|
148
|
+
class: "card-custom",
|
|
149
|
+
loading: e.fetching,
|
|
150
|
+
"no-padding": "",
|
|
151
|
+
unelevated: e.unelevated,
|
|
152
|
+
"border-radius": e.borderRadius,
|
|
153
|
+
hoverable: e.hoverable,
|
|
154
|
+
style: P({ scale: g.scale ?? 1 }),
|
|
155
|
+
onClick: ne
|
|
156
|
+
}, {
|
|
157
|
+
default: C(() => {
|
|
158
|
+
var s, o, d, a;
|
|
159
|
+
return [
|
|
160
|
+
g.showHeader ? (c(), m("div", ve, [
|
|
161
|
+
(o = (s = r(l)) == null ? void 0 : s.PROPS) != null && o.velocidad_de_internet_megas ? (c(), m("div", {
|
|
162
|
+
key: 0,
|
|
163
|
+
class: "text-h5 text-center text-white q-pa-md text-bold",
|
|
164
|
+
style: P({ backgroundColor: g.headerColor || O.value })
|
|
165
|
+
}, [
|
|
166
|
+
n("span", null, p((a = (d = r(l)) == null ? void 0 : d.PROPS) == null ? void 0 : a.velocidad_de_internet_megas) + " MEGAS", 1)
|
|
167
|
+
], 4)) : y("", !0)
|
|
168
|
+
])) : y("", !0),
|
|
169
|
+
E(r(ue), { class: "q-pa-lg card-content text-black" }, {
|
|
170
|
+
default: C(() => {
|
|
171
|
+
var i, u, v, f, _, b, V, T, N, H, j, F, M, W, z, G, Q;
|
|
172
|
+
return [
|
|
173
|
+
n("div", fe, [
|
|
174
|
+
(c(!0), m(U, null, K(le.value, (R) => (c(), $(r(me), {
|
|
175
|
+
outline: "",
|
|
176
|
+
key: R,
|
|
177
|
+
size: "md",
|
|
178
|
+
style: P({ borderColor: O.value })
|
|
179
|
+
}, {
|
|
180
|
+
default: C(() => [
|
|
181
|
+
k(p(r(x.capitalize)(R)), 1)
|
|
182
|
+
]),
|
|
183
|
+
_: 2
|
|
184
|
+
}, 1032, ["style"]))), 128))
|
|
185
|
+
]),
|
|
186
|
+
n("div", ge, p((v = r(x.upperFirst)(r(x.snakeCase)((u = (i = r(l)) == null ? void 0 : i.PROPS) == null ? void 0 : u.segmento))) == null ? void 0 : v.replace(/_/g, " ")) + " " + p((_ = (f = r(l)) == null ? void 0 : f.PROPS) != null && _.segmento ? " - " : "") + " " + p((T = (V = (b = r(l)) == null ? void 0 : b.PROPS) == null ? void 0 : V.familia) == null ? void 0 : T.join(" - ")), 1),
|
|
187
|
+
n("div", {
|
|
188
|
+
class: "name-container",
|
|
189
|
+
style: P({ height: g.titleHeight })
|
|
190
|
+
}, [
|
|
191
|
+
n("div", {
|
|
192
|
+
class: "name q-my-sm",
|
|
193
|
+
style: P({ color: g.nameColor })
|
|
194
|
+
}, p(ae.value), 5)
|
|
195
|
+
], 4),
|
|
196
|
+
n("div", he, [
|
|
197
|
+
(H = (N = r(l)) == null ? void 0 : N.PROPS) != null && H.velocidad_de_internet_megas && !g.showHeader ? (c(), m("div", ye, [
|
|
198
|
+
t[1] || (t[1] = n("div", { class: "col-6 text-main" }, "VELOCIDAD", -1)),
|
|
199
|
+
n("div", null, [
|
|
200
|
+
n("span", _e, p((F = (j = r(l)) == null ? void 0 : j.PROPS) == null ? void 0 : F.velocidad_de_internet_megas), 1),
|
|
201
|
+
t[0] || (t[0] = k(" MB ", -1))
|
|
202
|
+
])
|
|
203
|
+
])) : y("", !0),
|
|
204
|
+
A.value ? (c(), m("div", Pe, [
|
|
205
|
+
t[2] || (t[2] = n("div", { class: "col-6 text-main" }, "WIFI", -1)),
|
|
206
|
+
n("div", be, p(A.value), 1)
|
|
207
|
+
])) : y("", !0),
|
|
208
|
+
I.value ? (c(), m("div", Ce, [
|
|
209
|
+
t[4] || (t[4] = n("div", { class: "col-6 text-main" }, "MÓVIL", -1)),
|
|
210
|
+
n("div", null, [
|
|
211
|
+
n("span", ke, p(I.value), 1),
|
|
212
|
+
t[3] || (t[3] = k(" GB ", -1))
|
|
213
|
+
])
|
|
214
|
+
])) : y("", !0)
|
|
215
|
+
]),
|
|
216
|
+
n("div", xe, [
|
|
217
|
+
(c(!0), m(U, null, K(oe.value, (R, re) => (c(), m("div", Se, [
|
|
218
|
+
(c(), m("img", {
|
|
219
|
+
key: re,
|
|
220
|
+
src: R.src,
|
|
221
|
+
class: "streaming-img q-mr-md"
|
|
222
|
+
}, null, 8, Oe))
|
|
223
|
+
]))), 256))
|
|
224
|
+
]),
|
|
225
|
+
n("div", null, [
|
|
226
|
+
B.value ? (c(), m("div", {
|
|
227
|
+
key: 0,
|
|
228
|
+
class: "description text-left text-black q-my-md",
|
|
229
|
+
style: P({
|
|
230
|
+
lineClamp: e.descriptionLines,
|
|
231
|
+
WebkitLineClamp: e.descriptionLines
|
|
232
|
+
})
|
|
233
|
+
}, p(B.value), 5)) : y("", !0),
|
|
234
|
+
D.value ? (c(), m("div", Re, [
|
|
235
|
+
n("span", Le, "$" + p(D.value), 1),
|
|
236
|
+
t[5] || (t[5] = n("span", { class: "text-caption text-black q-pl-sm q-pt-sm" }, " al mes", -1))
|
|
237
|
+
])) : y("", !0),
|
|
238
|
+
e.isPublic ? (c(), m("div", Ee, [
|
|
239
|
+
E(r(X), {
|
|
240
|
+
class: "text-bold",
|
|
241
|
+
style: P({ backgroundColor: O.value }),
|
|
242
|
+
"text-color": "white",
|
|
243
|
+
"no-caps": "",
|
|
244
|
+
unelevated: "",
|
|
245
|
+
rounded: "",
|
|
246
|
+
onClick: J(se, ["stop"])
|
|
247
|
+
}, {
|
|
248
|
+
default: C(() => [...t[6] || (t[6] = [
|
|
249
|
+
k(" Contratar ahora ", -1)
|
|
250
|
+
])]),
|
|
251
|
+
_: 1
|
|
252
|
+
}, 8, ["style"]),
|
|
253
|
+
E(r(X), {
|
|
254
|
+
class: "text-bold q-ml-sm",
|
|
255
|
+
color: "black",
|
|
256
|
+
"no-caps": "",
|
|
257
|
+
flat: "",
|
|
258
|
+
rounded: "",
|
|
259
|
+
onClick: J(ie, ["stop"])
|
|
260
|
+
}, {
|
|
261
|
+
default: C(() => [...t[7] || (t[7] = [
|
|
262
|
+
k(" Saber más ", -1)
|
|
263
|
+
])]),
|
|
264
|
+
_: 1
|
|
265
|
+
})
|
|
266
|
+
])) : y("", !0),
|
|
267
|
+
n("div", {
|
|
268
|
+
class: "q-mt-lg",
|
|
269
|
+
style: P({
|
|
270
|
+
backgroundColor: `${O.value}`,
|
|
271
|
+
height: "1px",
|
|
272
|
+
width: "100%",
|
|
273
|
+
margin: "1rem 0"
|
|
274
|
+
})
|
|
275
|
+
}, null, 4),
|
|
276
|
+
n("div", qe, [
|
|
277
|
+
(W = (M = r(l)) == null ? void 0 : M.PROPS) != null && W.permanencia ? (c(), m("span", we, " Contrato a " + p((Q = (G = (z = r(l)) == null ? void 0 : z.PROPS) == null ? void 0 : G.permanencia) == null ? void 0 : Q.replace(/_/g, " ")), 1)) : y("", !0)
|
|
278
|
+
])
|
|
279
|
+
])
|
|
280
|
+
];
|
|
281
|
+
}),
|
|
282
|
+
_: 1
|
|
283
|
+
})
|
|
284
|
+
];
|
|
285
|
+
}),
|
|
286
|
+
_: 1
|
|
287
|
+
}, 8, ["loading", "unelevated", "border-radius", "hoverable", "style"]));
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
export {
|
|
291
|
+
Ve as default
|
|
292
|
+
};
|