@win2win/shared-ui 0.3.240 → 0.3.242
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/w2w-shared-ui.js +26029 -0
- package/dist/w2w-shared-ui.umd.cjs +48 -0
- package/package.json +5 -21
- package/dist/_virtual/ProductPrice.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -4
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/_virtual/archivo.js +0 -4
- package/dist/_virtual/canal-props.js +0 -4
- package/dist/_virtual/captacion.js +0 -4
- package/dist/_virtual/captacion2.js +0 -4
- package/dist/_virtual/comision.js +0 -4
- package/dist/_virtual/conditions.js +0 -4
- package/dist/_virtual/control-types.js +0 -4
- package/dist/_virtual/countries.js +0 -4
- package/dist/_virtual/estado-effect.js +0 -4
- package/dist/_virtual/estado-rule.js +0 -4
- package/dist/_virtual/estado.js +0 -4
- package/dist/_virtual/flag.js +0 -4
- package/dist/_virtual/formatters.js +0 -4
- package/dist/_virtual/gama.js +0 -4
- package/dist/_virtual/garantia.js +0 -4
- package/dist/_virtual/iban.js +0 -4
- package/dist/_virtual/id.js +0 -4
- package/dist/_virtual/import_schema.js +0 -4
- package/dist/_virtual/importacion.js +0 -4
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index10.js +0 -4
- package/dist/_virtual/index11.js +0 -4
- package/dist/_virtual/index12.js +0 -4
- package/dist/_virtual/index13.js +0 -4
- package/dist/_virtual/index14.js +0 -4
- package/dist/_virtual/index15.js +0 -4
- package/dist/_virtual/index16.js +0 -4
- package/dist/_virtual/index17.js +0 -4
- package/dist/_virtual/index18.js +0 -4
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -4
- package/dist/_virtual/index5.js +0 -4
- package/dist/_virtual/index6.js +0 -4
- package/dist/_virtual/index7.js +0 -4
- package/dist/_virtual/index8.js +0 -4
- package/dist/_virtual/index9.js +0 -4
- package/dist/_virtual/item-liquidable.js +0 -4
- package/dist/_virtual/landing.js +0 -4
- package/dist/_virtual/languages.js +0 -4
- package/dist/_virtual/layout.js +0 -4
- package/dist/_virtual/layout2.js +0 -4
- package/dist/_virtual/liquidacion.js +0 -4
- package/dist/_virtual/liquidaciones.js +0 -4
- package/dist/_virtual/llamada.js +0 -4
- package/dist/_virtual/lodash.js +0 -4
- package/dist/_virtual/mappers.js +0 -4
- package/dist/_virtual/notificacion.js +0 -4
- package/dist/_virtual/options.js +0 -4
- package/dist/_virtual/page_sections.js +0 -4
- package/dist/_virtual/partner.js +0 -4
- package/dist/_virtual/pedido.js +0 -4
- package/dist/_virtual/perfiles.js +0 -4
- package/dist/_virtual/permisos.js +0 -4
- package/dist/_virtual/producto.js +0 -4
- package/dist/_virtual/producto2.js +0 -4
- package/dist/_virtual/query-params.js +0 -4
- package/dist/_virtual/regla.js +0 -4
- package/dist/_virtual/resultado.js +0 -4
- package/dist/_virtual/seguimiento.js +0 -4
- package/dist/_virtual/shared-types.js +0 -4
- package/dist/_virtual/shared.js +0 -4
- package/dist/_virtual/timestamp.js +0 -4
- package/dist/_virtual/validators.js +0 -4
- package/dist/_virtual/validators2.js +0 -4
- package/dist/_virtual/visibility.js +0 -4
- package/dist/components/Common/Button.vue.js +0 -52
- package/dist/components/Common/Button.vue2.js +0 -4
- package/dist/components/Common/Card.vue.js +0 -7
- package/dist/components/Common/Card.vue2.js +0 -66
- package/dist/components/Common/DynamicCarousel.vue.js +0 -102
- package/dist/components/Common/DynamicCarousel.vue3.js +0 -5
- package/dist/components/Common/FlagsIcons.vue.js +0 -7
- package/dist/components/Common/FlagsIcons.vue2.js +0 -45
- package/dist/components/Common/GeneratingError.vue.js +0 -25
- package/dist/components/Common/GeneratingError.vue2.js +0 -4
- package/dist/components/Common/GeneratingLoader.vue.js +0 -25
- package/dist/components/Common/GeneratingLoader.vue2.js +0 -4
- package/dist/components/Common/IconButton.vue.js +0 -7
- package/dist/components/Common/IconButton.vue2.js +0 -97
- package/dist/components/Common/IndicatorColor.vue.js +0 -7
- package/dist/components/Common/IndicatorColor.vue2.js +0 -20
- package/dist/components/Common/MenuButton.vue.js +0 -91
- package/dist/components/Common/MenuButton.vue2.js +0 -4
- package/dist/components/Common/SectionSpinner.vue.js +0 -7
- package/dist/components/Common/SectionSpinner.vue2.js +0 -36
- package/dist/components/Common/StateIndicator.vue.js +0 -7
- package/dist/components/Common/StateIndicator.vue2.js +0 -41
- package/dist/components/pdf/DomSection.vue.js +0 -19
- package/dist/components/pdf/DomSection.vue2.js +0 -4
- package/dist/components/pdf/PdfContainer.vue.js +0 -7
- package/dist/components/pdf/PdfContainer.vue2.js +0 -102
- package/dist/components/pdf/SectionWrapper.vue.js +0 -33
- package/dist/components/pdf/SectionWrapper.vue2.js +0 -4
- package/dist/components/pdf/SectionsContainer.vue.js +0 -9
- package/dist/components/pdf/SectionsContainer.vue2.js +0 -56
- package/dist/components/pdf/SectionsContainer.vue3.js +0 -6
- package/dist/components/pdf/helpers.js +0 -23
- package/dist/components/pdf/sections/Card.vue.js +0 -9
- package/dist/components/pdf/sections/Card.vue2.js +0 -52
- package/dist/components/pdf/sections/Card.vue3.js +0 -12
- package/dist/components/pdf/sections/CardGridSection.vue.js +0 -9
- package/dist/components/pdf/sections/CardGridSection.vue2.js +0 -30
- package/dist/components/pdf/sections/CardGridSection.vue3.js +0 -6
- package/dist/components/pdf/sections/ImageSection.vue.js +0 -9
- package/dist/components/pdf/sections/ImageSection.vue2.js +0 -26
- package/dist/components/pdf/sections/ImageSection.vue3.js +0 -6
- package/dist/components/pdf/sections/RadioButtonsSection.vue.js +0 -7
- package/dist/components/pdf/sections/RadioButtonsSection.vue2.js +0 -43
- package/dist/components/pdf/sections/SignatureSection.vue.js +0 -7
- package/dist/components/pdf/sections/SignatureSection.vue2.js +0 -115
- package/dist/components/pdf/sections/TableSection.vue.js +0 -9
- package/dist/components/pdf/sections/TableSection.vue2.js +0 -49
- package/dist/components/pdf/sections/TableSection.vue3.js +0 -6
- package/dist/components/pdf/sections/TextSection.vue.js +0 -9
- package/dist/components/pdf/sections/TextSection.vue2.js +0 -135
- package/dist/components/pdf/sections/TextSection.vue3.js +0 -11
- package/dist/components/pdf/sections/useData.js +0 -8
- package/dist/components/widgets/broker-card/BrokerCard.vue.js +0 -7
- package/dist/components/widgets/broker-card/BrokerCard.vue2.js +0 -171
- package/dist/components/widgets/broker-card/components/BrokerProps.vue.js +0 -7
- package/dist/components/widgets/broker-card/components/BrokerProps.vue2.js +0 -117
- package/dist/components/widgets/broker-card/mock-data.js +0 -452
- package/dist/components/widgets/broker-card/mock-props.js +0 -273
- package/dist/components/widgets/broker-card/schema.js +0 -11
- package/dist/components/widgets/broker-detail/BrokerDetail.vue.js +0 -7
- package/dist/components/widgets/broker-detail/BrokerDetail.vue2.js +0 -174
- package/dist/components/widgets/broker-detail/components/BrokertActions.vue.js +0 -7
- package/dist/components/widgets/broker-detail/components/BrokertActions.vue2.js +0 -31
- package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue.js +0 -7
- package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue2.js +0 -90
- package/dist/components/widgets/broker-detail/mock-data.js +0 -227
- package/dist/components/widgets/broker-detail/mock-props.js +0 -12
- package/dist/components/widgets/broker-detail/schema.js +0 -10
- package/dist/components/widgets/broker-detail/useContext.js +0 -32
- package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.js +0 -7
- package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue2.js +0 -249
- package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js +0 -36
- package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue2.js +0 -4
- package/dist/components/widgets/linvermedia-product-card/mock-data.js +0 -1121
- package/dist/components/widgets/linvermedia-product-card/mock-props.js +0 -20
- package/dist/components/widgets/linvermedia-product-card/schema.js +0 -13
- package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.js +0 -7
- package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue2.js +0 -151
- package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue.js +0 -7
- package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue2.js +0 -90
- package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue.js +0 -9
- package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue2.js +0 -147
- package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue.js +0 -37
- package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue2.js +0 -4
- package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue.js +0 -7
- package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue2.js +0 -61
- package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue.js +0 -7
- package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue2.js +0 -56
- package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue.js +0 -21
- package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue2.js +0 -4
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue.js +0 -7
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue2.js +0 -91
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue.js +0 -20
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue2.js +0 -4
- package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue.js +0 -7
- package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue2.js +0 -49
- package/dist/components/widgets/linvermedia-product-detail/mock-data.js +0 -1005
- package/dist/components/widgets/linvermedia-product-detail/mock-props.js +0 -12
- package/dist/components/widgets/linvermedia-product-detail/schema.js +0 -11
- package/dist/components/widgets/linvermedia-product-detail/useContext.js +0 -43
- package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue.js +0 -7
- package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue2.js +0 -74
- package/dist/components/widgets/linvermedia-solicitud-card/mock-data.js +0 -580
- package/dist/components/widgets/linvermedia-solicitud-card/mock-props.js +0 -8
- package/dist/components/widgets/linvermedia-solicitud-card/schema.js +0 -5
- package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue.js +0 -7
- package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js +0 -263
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue.js +0 -21
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue2.js +0 -4
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue.js +0 -20
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue2.js +0 -4
- package/dist/components/widgets/perdm-telephony-product-detail/mock-data.js +0 -1187
- package/dist/components/widgets/perdm-telephony-product-detail/mock-props.js +0 -12
- package/dist/components/widgets/perdm-telephony-product-detail/schema.js +0 -11
- package/dist/components/widgets/perdm-telephony-product-detail/useContext.js +0 -41
- package/dist/components/widgets/shared/LinvermediaGamaProps.js +0 -1688
- package/dist/components/widgets/shared/PerdmTelephonyGamaProps.js +0 -1688
- package/dist/components/widgets/shared/ProductPrice.vue.js +0 -7
- package/dist/components/widgets/shared/ProductPrice.vue2.js +0 -84
- package/dist/components/widgets/shared/ProductProps.vue.js +0 -294
- package/dist/components/widgets/shared/ProductProps.vue2.js +0 -4
- package/dist/components/widgets/shared/ProductTag.vue.js +0 -7
- package/dist/components/widgets/shared/ProductTag.vue2.js +0 -38
- package/dist/components/widgets/shared/helpers.js +0 -52
- package/dist/components/widgets/shared/schema.js +0 -17
- package/dist/components/widgets/shared/useWidgetEvent.js +0 -13
- package/dist/components/widgets/telephony-card/TelephonyCard.vue.js +0 -7
- package/dist/components/widgets/telephony-card/TelephonyCard.vue2.js +0 -292
- package/dist/components/widgets/telephony-card/mock-data.js +0 -1197
- package/dist/components/widgets/telephony-card/mock-props.js +0 -400
- package/dist/components/widgets/telephony-card/schema.js +0 -22
- package/dist/components/widgets/telmex-card/TelmexCard.vue.js +0 -7
- package/dist/components/widgets/telmex-card/TelmexCard.vue2.js +0 -232
- package/dist/components/widgets/telmex-card/mock-data.js +0 -1545
- package/dist/components/widgets/telmex-card/mock-props.js +0 -1332
- package/dist/components/widgets/telmex-card/schema.js +0 -22
- package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue.js +0 -7
- package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue2.js +0 -648
- package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue.js +0 -7
- package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue2.js +0 -316
- package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue.js +0 -21
- package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue2.js +0 -4
- package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue.js +0 -20
- package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue2.js +0 -4
- package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue.js +0 -7
- package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue2.js +0 -52
- package/dist/components/widgets/telmex-product-detail/mock-data.js +0 -1561
- package/dist/components/widgets/telmex-product-detail/mock-props.js +0 -10
- package/dist/components/widgets/telmex-product-detail/schema.js +0 -11
- package/dist/components/widgets/telmex-product-detail/useContext.js +0 -41
- package/dist/components.js +0 -31
- package/dist/composables/fetching/fetchUniqFactory.js +0 -21
- package/dist/composables/fetching/fetchUniqProvider.js +0 -15
- package/dist/composables/fetching/types.js +0 -11
- package/dist/composables/fetching/useFetch.js +0 -40
- package/dist/composables/fetching/useFetchPages.js +0 -101
- package/dist/composables/useDragAndDrop.js +0 -65
- package/dist/composables/utils.js +0 -11
- package/dist/composables.js +0 -17
- package/dist/index.js +0 -58
- package/dist/node_modules/@win2win/shared/dist/consts/countries.js +0 -1082
- package/dist/node_modules/@win2win/shared/dist/consts/index.js +0 -26
- package/dist/node_modules/@win2win/shared/dist/consts/languages.js +0 -173
- package/dist/node_modules/@win2win/shared/dist/consts/perfiles/index.js +0 -18
- package/dist/node_modules/@win2win/shared/dist/consts/perfiles/perfiles.js +0 -38
- package/dist/node_modules/@win2win/shared/dist/consts/permisos/index.js +0 -18
- package/dist/node_modules/@win2win/shared/dist/consts/permisos/permisos.js +0 -129
- package/dist/node_modules/@win2win/shared/dist/consts/visitas/index.js +0 -18
- package/dist/node_modules/@win2win/shared/dist/consts/visitas/resultado.js +0 -40
- package/dist/node_modules/@win2win/shared/dist/enums/captacion.js +0 -14
- package/dist/node_modules/@win2win/shared/dist/enums/garantia.js +0 -10
- package/dist/node_modules/@win2win/shared/dist/enums/importacion.js +0 -10
- package/dist/node_modules/@win2win/shared/dist/enums/index.js +0 -32
- package/dist/node_modules/@win2win/shared/dist/enums/liquidacion.js +0 -18
- package/dist/node_modules/@win2win/shared/dist/enums/notificacion.js +0 -10
- package/dist/node_modules/@win2win/shared/dist/enums/pedido.js +0 -10
- package/dist/node_modules/@win2win/shared/dist/enums/producto.js +0 -22
- package/dist/node_modules/@win2win/shared/dist/enums/shared.js +0 -10
- package/dist/node_modules/@win2win/shared/dist/helpers/ProductPrice.js +0 -61
- package/dist/node_modules/@win2win/shared/dist/helpers/formatters.js +0 -76
- package/dist/node_modules/@win2win/shared/dist/helpers/index.js +0 -22
- package/dist/node_modules/@win2win/shared/dist/helpers/validators.js +0 -15
- package/dist/node_modules/@win2win/shared/dist/index.js +0 -24
- package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/canal-props.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/index.js +0 -18
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-effect.js +0 -10
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-rule.js +0 -23
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/flag.js +0 -10
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/index.js +0 -26
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/llamada.js +0 -18
- package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/import_schema.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/index.js +0 -20
- package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/layout.js +0 -7
- package/dist/node_modules/@win2win/shared/dist/interfaces/index.js +0 -34
- package/dist/node_modules/@win2win/shared/dist/interfaces/landings/index.js +0 -20
- package/dist/node_modules/@win2win/shared/dist/interfaces/landings/landing.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/landings/page_sections.js +0 -270
- package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/index.js +0 -18
- package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/layout.js +0 -15
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/comision.js +0 -11
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/index.js +0 -24
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/item-liquidable.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/liquidaciones.js +0 -10
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/regla.js +0 -27
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/conditions.js +0 -7
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/control-types.js +0 -27
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/index.js +0 -28
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/mappers.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/options.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/validators.js +0 -85
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/visibility.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/archivo.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/captacion.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/gama.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/index.js +0 -28
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/partner.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/producto.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/seguimiento.js +0 -17
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/id.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/index.js +0 -24
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/query-params.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/shared-types.js +0 -5
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/timestamp.js +0 -10
- package/dist/node_modules/better-dni/dist/index.js +0 -67
- package/dist/node_modules/iban/iban.js +0 -114
- package/dist/node_modules/lodash/lodash.js +0 -3676
- package/dist/widgets.js +0 -154
|
@@ -1,249 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
};
|