@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
package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js
ADDED
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { defineComponent as ue, provide as Q, ref as S, toRefs as ce, computed as h, createElementBlock as s, openBlock as l, Fragment as P, createElementVNode as r, createCommentVNode as y, createBlock as A, unref as n, createVNode as L, renderList as E, normalizeStyle as K, withCtx as U, createTextVNode as W, toDisplayString as C, withModifiers as de } from "vue";
|
|
2
|
+
import { QChip as pe, QBtn as me } from "quasar";
|
|
3
|
+
import ve from "../../Common/IconButton.vue.js";
|
|
4
|
+
import _e from "../../Common/StateIndicator.vue.js";
|
|
5
|
+
import { toProductLite as fe } from "../shared/helpers.js";
|
|
6
|
+
import ge from "./components/ProductLongDescription.vue.js";
|
|
7
|
+
import he from "./components/ProductShortDescription.vue.js";
|
|
8
|
+
import { l as v } from "../../../node_modules/lodash/lodash.js";
|
|
9
|
+
const ye = { class: "row justify-end" }, xe = { class: "text-h5 text-bold text-black" }, be = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "row q-my-sm"
|
|
12
|
+
}, ke = {
|
|
13
|
+
key: 1,
|
|
14
|
+
class: "row items-end q-mb-md text-black"
|
|
15
|
+
}, Pe = { class: "text-h2 text-bold" }, Ce = { class: "row" }, we = { class: "col-md-7 col-12" }, Ee = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "row q-my-sm"
|
|
18
|
+
}, qe = { class: "q-mx-sm" }, Oe = ["src"], Re = {
|
|
19
|
+
key: 2,
|
|
20
|
+
class: "q-mt-md text-black"
|
|
21
|
+
}, Se = { style: { "margin-top": "8px" } }, Ae = {
|
|
22
|
+
key: 3,
|
|
23
|
+
class: "q-mt-md text-black"
|
|
24
|
+
}, Le = { style: { "margin-top": "8px" } }, Te = {
|
|
25
|
+
key: 4,
|
|
26
|
+
class: "q-mt-md text-black"
|
|
27
|
+
}, Be = { style: { "margin-top": "8px" } }, Ve = {
|
|
28
|
+
key: 5,
|
|
29
|
+
class: "q-mt-md text-black"
|
|
30
|
+
}, De = { style: { "margin-top": "8px" } }, Fe = {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "row q-mt-lg"
|
|
33
|
+
}, Ie = { class: "row" }, We = /* @__PURE__ */ ue({
|
|
34
|
+
__name: "PerdmTelephonyProductDetail",
|
|
35
|
+
props: {
|
|
36
|
+
isPublic: { type: Boolean },
|
|
37
|
+
fetching: { type: Boolean },
|
|
38
|
+
scale: {},
|
|
39
|
+
count: {},
|
|
40
|
+
imageHeight: {},
|
|
41
|
+
borderRadius: {},
|
|
42
|
+
unelevated: { type: Boolean },
|
|
43
|
+
hoverable: { type: Boolean },
|
|
44
|
+
view: { default: "detail" },
|
|
45
|
+
title: {},
|
|
46
|
+
data: {},
|
|
47
|
+
gamaProps: {},
|
|
48
|
+
cardColor: {},
|
|
49
|
+
showPrice: { type: Function, default: () => !0 }
|
|
50
|
+
},
|
|
51
|
+
emits: ["on-event"],
|
|
52
|
+
setup(G, { emit: J }) {
|
|
53
|
+
const R = J;
|
|
54
|
+
Q("emit", R);
|
|
55
|
+
const w = G, X = S(1), { data: x, isPublic: q, gamaProps: T, count: Y } = ce(w), Z = h(() => {
|
|
56
|
+
var e;
|
|
57
|
+
return ((e = w.showPrice) == null ? void 0 : e.call(w, x.value)) ?? !0;
|
|
58
|
+
}), u = h(() => fe(x.value)), ee = h(() => {
|
|
59
|
+
var e, t;
|
|
60
|
+
return (t = (e = u.value) == null ? void 0 : e.nombre) == null ? void 0 : t.toLowerCase();
|
|
61
|
+
}), te = h(() => {
|
|
62
|
+
var e, t;
|
|
63
|
+
return (t = (e = u.value) == null ? void 0 : e.tags) == null ? void 0 : t.split(",");
|
|
64
|
+
}), oe = S(null), le = S([]);
|
|
65
|
+
Q("context", {
|
|
66
|
+
product: u,
|
|
67
|
+
slide: X,
|
|
68
|
+
isPublic: q,
|
|
69
|
+
selectedPackProduct: oe,
|
|
70
|
+
images: le,
|
|
71
|
+
count: Y,
|
|
72
|
+
gamaProps: T,
|
|
73
|
+
showPrice: Z
|
|
74
|
+
});
|
|
75
|
+
const se = h(() => {
|
|
76
|
+
var e;
|
|
77
|
+
return ((e = u.value) == null ? void 0 : e.props) || {};
|
|
78
|
+
}), B = (e, t) => e.find((i) => i.value === t) || t, ae = (e) => {
|
|
79
|
+
var i;
|
|
80
|
+
const t = se.value[e], a = T.value.find((p) => p.code === e);
|
|
81
|
+
return (i = a == null ? void 0 : a.options) != null && i.length ? v.isArray(t) ? t.map((p) => B(a.options, p)) : B(a.options, t) : t;
|
|
82
|
+
}, re = h(() => ae("complementos")), V = h(() => {
|
|
83
|
+
var a, i, p;
|
|
84
|
+
const e = (a = re.value) == null ? void 0 : a.map((o) => {
|
|
85
|
+
var c;
|
|
86
|
+
return {
|
|
87
|
+
src: (c = o == null ? void 0 : o.image) == null ? void 0 : c.src,
|
|
88
|
+
label: o.label
|
|
89
|
+
};
|
|
90
|
+
});
|
|
91
|
+
if (e != null && e.length)
|
|
92
|
+
return e;
|
|
93
|
+
const t = ((p = (i = u.value) == null ? void 0 : i.detalle_pack) == null ? void 0 : p.filter(
|
|
94
|
+
(o) => {
|
|
95
|
+
var c, _, f, g, b;
|
|
96
|
+
return ((f = (_ = (c = o == null ? void 0 : o.DETALLE) == null ? void 0 : c.PROPS) == null ? void 0 : _.familia) == null ? void 0 : f.some(
|
|
97
|
+
(k) => ["streaming", "app"].includes(k)
|
|
98
|
+
)) && ((b = (g = o == null ? void 0 : o.DETALLE) == null ? void 0 : g.ARCHIVOS) == null ? void 0 : b.length);
|
|
99
|
+
}
|
|
100
|
+
)) || [];
|
|
101
|
+
return t == null ? void 0 : t.map((o) => {
|
|
102
|
+
var c, _, f, g;
|
|
103
|
+
return {
|
|
104
|
+
src: (f = (_ = (c = o == null ? void 0 : o.DETALLE) == null ? void 0 : c.ARCHIVOS) == null ? void 0 : _[0]) == null ? void 0 : f.LOCATION,
|
|
105
|
+
label: (g = o == null ? void 0 : o.DETALLE) == null ? void 0 : g.NOMBRE
|
|
106
|
+
};
|
|
107
|
+
});
|
|
108
|
+
}), D = h(() => {
|
|
109
|
+
var e;
|
|
110
|
+
return Number(((e = u.value) == null ? void 0 : e.precio) || 0);
|
|
111
|
+
}), ne = () => {
|
|
112
|
+
var e;
|
|
113
|
+
return R("on-event", {
|
|
114
|
+
code: "edit_product",
|
|
115
|
+
payload: {
|
|
116
|
+
id: (e = u.value) == null ? void 0 : e.id,
|
|
117
|
+
detallePackComponent: "perdm_telephony",
|
|
118
|
+
hiddenTabs: ["proveedores", "prices"],
|
|
119
|
+
hidePriceTaxInputs: !0
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
}, O = h(
|
|
123
|
+
() => {
|
|
124
|
+
var e, t, a, i;
|
|
125
|
+
return (((t = (e = u.value) == null ? void 0 : e.props) == null ? void 0 : t.ideal_para_residenciales) || []).concat(
|
|
126
|
+
((i = (a = u.value) == null ? void 0 : a.props) == null ? void 0 : i.ideal_para_negocio) || []
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
), F = h(() => {
|
|
130
|
+
var e, t, a, i, p, o, c, _, f, g, b, k;
|
|
131
|
+
return w.cardColor ? w.cardColor : (a = (t = (e = x.value) == null ? void 0 : e.PROPS) == null ? void 0 : t.familia) != null && a.includes("movil") ? "#D60270" : (o = (p = (i = x.value) == null ? void 0 : i.PROPS) == null ? void 0 : p.familia) != null && o.includes("tv") ? "#FFA807" : (f = (_ = (c = x.value) == null ? void 0 : c.PROPS) == null ? void 0 : _.familia) != null && f.includes("streaming") && ((k = (b = (g = x.value) == null ? void 0 : g.PROPS) == null ? void 0 : b.familia) == null ? void 0 : k.length) == 1 ? "black" : "#00C1B5";
|
|
132
|
+
}), ie = () => {
|
|
133
|
+
const e = v.omit(u.value, "images", "table_estado");
|
|
134
|
+
R("on-event", {
|
|
135
|
+
code: "add_to_shopcart",
|
|
136
|
+
payload: {
|
|
137
|
+
product: v.mapKeys(
|
|
138
|
+
{ ...e, id_producto: e.id },
|
|
139
|
+
(t, a) => a.toUpperCase()
|
|
140
|
+
),
|
|
141
|
+
quantity: 1,
|
|
142
|
+
props: null
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
};
|
|
146
|
+
return (e, t) => {
|
|
147
|
+
var a, i, p, o, c, _, f, g, b, k, I, N, j, z, H, M, $;
|
|
148
|
+
return l(), s(P, null, [
|
|
149
|
+
r("div", ye, [
|
|
150
|
+
n(q) ? y("", !0) : (l(), A(ve, {
|
|
151
|
+
key: 0,
|
|
152
|
+
icon: "edit",
|
|
153
|
+
sm: "",
|
|
154
|
+
onClick: ne
|
|
155
|
+
}))
|
|
156
|
+
]),
|
|
157
|
+
r("div", null, [
|
|
158
|
+
r("div", null, [
|
|
159
|
+
r("div", null, [
|
|
160
|
+
(l(!0), s(P, null, E(te.value, (m) => (l(), A(n(pe), {
|
|
161
|
+
outline: "",
|
|
162
|
+
key: m,
|
|
163
|
+
size: "md",
|
|
164
|
+
class: "q-mx-xs q-mb-md",
|
|
165
|
+
style: K({ borderColor: F.value })
|
|
166
|
+
}, {
|
|
167
|
+
default: U(() => [
|
|
168
|
+
W(C(n(v.capitalize)(m)), 1)
|
|
169
|
+
]),
|
|
170
|
+
_: 2
|
|
171
|
+
}, 1032, ["style"]))), 128))
|
|
172
|
+
]),
|
|
173
|
+
r("div", xe, C(ee.value || ""), 1),
|
|
174
|
+
n(q) ? y("", !0) : (l(), s("div", be, [
|
|
175
|
+
(a = n(x)) != null && a.R_ESTADO ? (l(), A(_e, {
|
|
176
|
+
key: 0,
|
|
177
|
+
label: (p = (i = n(x)) == null ? void 0 : i.R_ESTADO) == null ? void 0 : p.NAME,
|
|
178
|
+
color: (c = (o = n(x)) == null ? void 0 : o.R_ESTADO) == null ? void 0 : c.COLOR
|
|
179
|
+
}, null, 8, ["label", "color"])) : y("", !0)
|
|
180
|
+
])),
|
|
181
|
+
D.value ? (l(), s("div", ke, [
|
|
182
|
+
r("span", Pe, "$" + C(D.value), 1),
|
|
183
|
+
t[0] || (t[0] = r("span", { class: "text-caption q-pl-sm q-pb-sm" }, " al mes", -1))
|
|
184
|
+
])) : y("", !0),
|
|
185
|
+
r("div", Ce, [
|
|
186
|
+
r("div", we, [
|
|
187
|
+
V.value.length ? (l(), s("div", Ee, [
|
|
188
|
+
(l(!0), s(P, null, E(V.value, (m, d) => (l(), s("div", qe, [
|
|
189
|
+
(l(), s("img", {
|
|
190
|
+
key: d,
|
|
191
|
+
src: m.src,
|
|
192
|
+
class: "streaming-img q-mr-md"
|
|
193
|
+
}, null, 8, Oe))
|
|
194
|
+
]))), 256))
|
|
195
|
+
])) : y("", !0)
|
|
196
|
+
])
|
|
197
|
+
]),
|
|
198
|
+
L(he),
|
|
199
|
+
(_ = O.value) != null && _.length ? (l(), s("div", Re, [
|
|
200
|
+
t[1] || (t[1] = r("div", { class: "text-bold" }, "Ideal para:", -1)),
|
|
201
|
+
r("ul", Se, [
|
|
202
|
+
(l(!0), s(P, null, E(O.value, (m) => {
|
|
203
|
+
var d;
|
|
204
|
+
return l(), s("li", null, C((d = n(v.upperFirst)(n(v.snakeCase)(m))) == null ? void 0 : d.replace(/_/g, " ")), 1);
|
|
205
|
+
}), 256))
|
|
206
|
+
])
|
|
207
|
+
])) : y("", !0),
|
|
208
|
+
(f = O.value) != null && f.length ? (l(), s("div", Ae, [
|
|
209
|
+
t[2] || (t[2] = r("div", { class: "text-bold" }, "Ideal para:", -1)),
|
|
210
|
+
r("ul", Le, [
|
|
211
|
+
(l(!0), s(P, null, E(O.value, (m) => {
|
|
212
|
+
var d;
|
|
213
|
+
return l(), s("li", null, C((d = n(v.upperFirst)(n(v.snakeCase)(m))) == null ? void 0 : d.replace(/_/g, " ")), 1);
|
|
214
|
+
}), 256))
|
|
215
|
+
])
|
|
216
|
+
])) : y("", !0),
|
|
217
|
+
(k = (b = (g = u.value) == null ? void 0 : g.props) == null ? void 0 : b.ventajas) != null && k.length ? (l(), s("div", Te, [
|
|
218
|
+
t[3] || (t[3] = r("div", { class: "text-bold" }, "Ventajas/Beneficios:", -1)),
|
|
219
|
+
r("ul", Be, [
|
|
220
|
+
(l(!0), s(P, null, E((N = (I = u.value) == null ? void 0 : I.props) == null ? void 0 : N.ventajas, (m) => {
|
|
221
|
+
var d;
|
|
222
|
+
return l(), s("li", null, C((d = n(v.upperFirst)(n(v.snakeCase)(m))) == null ? void 0 : d.replace(/_/g, " ")), 1);
|
|
223
|
+
}), 256))
|
|
224
|
+
])
|
|
225
|
+
])) : y("", !0),
|
|
226
|
+
(H = (z = (j = u.value) == null ? void 0 : j.props) == null ? void 0 : z.wifi) != null && H.length ? (l(), s("div", Ve, [
|
|
227
|
+
t[4] || (t[4] = r("div", { class: "text-bold" }, "WIFI:", -1)),
|
|
228
|
+
r("ul", De, [
|
|
229
|
+
(l(!0), s(P, null, E(($ = (M = u.value) == null ? void 0 : M.props) == null ? void 0 : $.wifi, (m) => {
|
|
230
|
+
var d;
|
|
231
|
+
return l(), s("li", null, C((d = n(v.upperFirst)(n(v.snakeCase)(m))) == null ? void 0 : d.replace(/_/g, " ")), 1);
|
|
232
|
+
}), 256))
|
|
233
|
+
])
|
|
234
|
+
])) : y("", !0)
|
|
235
|
+
])
|
|
236
|
+
]),
|
|
237
|
+
n(q) ? (l(), s("div", Fe, [
|
|
238
|
+
L(n(me), {
|
|
239
|
+
class: "text-bold",
|
|
240
|
+
style: K({ backgroundColor: F.value }),
|
|
241
|
+
"text-color": "white",
|
|
242
|
+
size: "lg",
|
|
243
|
+
"no-caps": "",
|
|
244
|
+
unelevated: "",
|
|
245
|
+
rounded: "",
|
|
246
|
+
onClick: de(ie, ["stop"])
|
|
247
|
+
}, {
|
|
248
|
+
default: U(() => [...t[5] || (t[5] = [
|
|
249
|
+
W(" Contratar ahora ", -1)
|
|
250
|
+
])]),
|
|
251
|
+
_: 1
|
|
252
|
+
}, 8, ["style"])
|
|
253
|
+
])) : y("", !0),
|
|
254
|
+
r("div", Ie, [
|
|
255
|
+
L(ge)
|
|
256
|
+
])
|
|
257
|
+
], 64);
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
export {
|
|
262
|
+
We as default
|
|
263
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as r, computed as s, createElementBlock as d, createCommentVNode as i, openBlock as l, createElementVNode as n, toDisplayString as m } from "vue";
|
|
2
|
+
import { useContext as p } from "../useContext.js";
|
|
3
|
+
const a = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "q-mt-md text-black col-12"
|
|
6
|
+
}, v = /* @__PURE__ */ r({
|
|
7
|
+
__name: "ProductLongDescription",
|
|
8
|
+
setup(u) {
|
|
9
|
+
const { product: c } = p(), t = s(() => {
|
|
10
|
+
var e;
|
|
11
|
+
return (e = c.value) == null ? void 0 : e.descripcion;
|
|
12
|
+
});
|
|
13
|
+
return (e, o) => t.value ? (l(), d("div", a, [
|
|
14
|
+
o[0] || (o[0] = n("div", { class: "font-bold text-h6" }, "Información del producto", -1)),
|
|
15
|
+
n("div", null, m(t.value), 1)
|
|
16
|
+
])) : i("", !0);
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
v as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as n, computed as s, createElementBlock as o, openBlock as c, createCommentVNode as a, toDisplayString as i } from "vue";
|
|
2
|
+
import { useContext as p } from "../useContext.js";
|
|
3
|
+
const u = { style: { "font-size": "16px", "max-height": "300px", "overflow-y": "auto" } }, _ = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "text-black"
|
|
6
|
+
}, f = /* @__PURE__ */ n({
|
|
7
|
+
__name: "ProductShortDescription",
|
|
8
|
+
setup(l) {
|
|
9
|
+
const { product: r } = p(), e = s(() => {
|
|
10
|
+
var t;
|
|
11
|
+
return ((t = r.value) == null ? void 0 : t.descripcion_corta) || "";
|
|
12
|
+
});
|
|
13
|
+
return (t, m) => (c(), o("div", u, [
|
|
14
|
+
e.value ? (c(), o("div", _, i(e.value), 1)) : a("", !0)
|
|
15
|
+
]));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
f as default
|
|
20
|
+
};
|