@win2win/shared-ui 0.3.240 → 0.3.243
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/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.d.ts.map +1 -1
- package/dist/components/widgets/shared/ProductPrice.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/w2w-shared-ui.js +26026 -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,11 +0,0 @@
|
|
|
1
|
-
import { z as o } from "zod";
|
|
2
|
-
import { WidgetPropsSchema as r } from "../shared/schema.js";
|
|
3
|
-
const e = r.extend({
|
|
4
|
-
view: o.enum(["detail", "summary"]).optional(),
|
|
5
|
-
title: o.string().optional(),
|
|
6
|
-
gamaProps: o.array(o.record(o.string(), o.any())),
|
|
7
|
-
showPrice: o.function().optional()
|
|
8
|
-
});
|
|
9
|
-
export {
|
|
10
|
-
e as LinvermediaProductDetailPropsSchema
|
|
11
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { inject as m, computed as c, watch as r } from "vue";
|
|
2
|
-
function g() {
|
|
3
|
-
const e = m("context"), o = c(() => e.product.value), d = e.slide, s = e.isPublic, u = e.images, i = e.selectedPackProduct, n = c(() => !s.value), l = c(() => {
|
|
4
|
-
var t;
|
|
5
|
-
return ((t = o.value) == null ? void 0 : t.detalle_pack) || [];
|
|
6
|
-
}), p = c(() => {
|
|
7
|
-
var t;
|
|
8
|
-
return ((t = o.value) == null ? void 0 : t.props) || {};
|
|
9
|
-
});
|
|
10
|
-
return r(
|
|
11
|
-
o,
|
|
12
|
-
() => {
|
|
13
|
-
var a;
|
|
14
|
-
const t = ((a = o.value) == null ? void 0 : a.images) || [];
|
|
15
|
-
u.value = t;
|
|
16
|
-
},
|
|
17
|
-
{ immediate: !0 }
|
|
18
|
-
), r(
|
|
19
|
-
l,
|
|
20
|
-
(t) => {
|
|
21
|
-
var a;
|
|
22
|
-
t && (i.value = (a = t[0]) == null ? void 0 : a.DETALLE);
|
|
23
|
-
},
|
|
24
|
-
{ immediate: !0, deep: !0 }
|
|
25
|
-
), {
|
|
26
|
-
product: o,
|
|
27
|
-
isPublic: s,
|
|
28
|
-
isPrivate: n,
|
|
29
|
-
images: u,
|
|
30
|
-
detallePack: l,
|
|
31
|
-
productProps: p,
|
|
32
|
-
selectedPackProduct: i,
|
|
33
|
-
slide: d,
|
|
34
|
-
gamaProps: e.gamaProps,
|
|
35
|
-
count: e.count,
|
|
36
|
-
addToShopcartLabel: e.addToShopcartLabel,
|
|
37
|
-
goToCatalogLabel: e.goToCatalogLabel,
|
|
38
|
-
showPrice: e.showPrice
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export {
|
|
42
|
-
g as useContext
|
|
43
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { defineComponent as T, toRefs as h, computed as a, createBlock as A, openBlock as d, normalizeStyle as E, unref as l, withCtx as m, createVNode as r, createElementVNode as t, toDisplayString as n, normalizeProps as N, guardReactiveProps as w, createElementBlock as D, createCommentVNode as g, createTextVNode as P } from "vue";
|
|
2
|
-
import b from "../../Common/StateIndicator.vue.js";
|
|
3
|
-
import "../../../node_modules/@win2win/shared/dist/index.js";
|
|
4
|
-
import B from "moment-timezone";
|
|
5
|
-
import { QCardSection as R, QIcon as S } from "quasar";
|
|
6
|
-
import k from "../../Common/Card.vue.js";
|
|
7
|
-
import { __exports as u } from "../../../_virtual/index.js";
|
|
8
|
-
const x = { class: "row justify-between items-center card-row" }, I = { class: "row justify-between items-center card-row" }, M = { class: "row justify-between items-center card-row" }, L = { class: "ellipsis" }, V = { key: 0 }, $ = /* @__PURE__ */ T({
|
|
9
|
-
__name: "LinvermediaSolicitudCard",
|
|
10
|
-
props: {
|
|
11
|
-
isPublic: { type: Boolean },
|
|
12
|
-
fetching: { type: Boolean },
|
|
13
|
-
scale: {},
|
|
14
|
-
count: {},
|
|
15
|
-
imageHeight: {},
|
|
16
|
-
borderRadius: {},
|
|
17
|
-
unelevated: { type: Boolean },
|
|
18
|
-
hoverable: { type: Boolean },
|
|
19
|
-
data: {}
|
|
20
|
-
},
|
|
21
|
-
emits: ["on-event"],
|
|
22
|
-
setup(p, { emit: v }) {
|
|
23
|
-
const _ = v, i = p, { data: e } = h(i), f = a(
|
|
24
|
-
() => B(e.value.FECHA_CAPTADO).format("DD/MM/YYYY")
|
|
25
|
-
), C = a(() => u.formatContactName(e.value.CONTACTO)), c = a(() => e.value.CONTACTO.TELEFONO.NUMERO), O = a(
|
|
26
|
-
() => u.toCurrency(e.value.PEDIDO.IMP_TOTAL_PED)
|
|
27
|
-
), y = a(() => {
|
|
28
|
-
var s, o;
|
|
29
|
-
return {
|
|
30
|
-
color: (s = e.value.R_ESTADO) == null ? void 0 : s.COLOR,
|
|
31
|
-
label: (o = e.value.R_ESTADO) == null ? void 0 : o.NAME
|
|
32
|
-
};
|
|
33
|
-
});
|
|
34
|
-
return (s, o) => (d(), A(k, {
|
|
35
|
-
loading: s.fetching,
|
|
36
|
-
style: E({ scale: i.scale ?? 1 }),
|
|
37
|
-
class: "solicitud-card",
|
|
38
|
-
onClick: o[0] || (o[0] = (Y) => _("on-event", {
|
|
39
|
-
code: "card_click",
|
|
40
|
-
payload: { data: l(e) }
|
|
41
|
-
}))
|
|
42
|
-
}, {
|
|
43
|
-
default: m(() => [
|
|
44
|
-
r(l(R), { class: "q-pa-none" }, {
|
|
45
|
-
default: m(() => [
|
|
46
|
-
t("div", x, [
|
|
47
|
-
t("div", null, "Cod. " + n(l(e).COD_CAPTACION), 1),
|
|
48
|
-
r(b, N(w(y.value)), null, 16)
|
|
49
|
-
]),
|
|
50
|
-
t("div", I, [
|
|
51
|
-
t("div", null, n(f.value), 1),
|
|
52
|
-
t("div", null, n(O.value), 1)
|
|
53
|
-
]),
|
|
54
|
-
t("div", M, [
|
|
55
|
-
t("div", L, n(C.value), 1),
|
|
56
|
-
c.value ? (d(), D("div", V, [
|
|
57
|
-
r(l(S), {
|
|
58
|
-
name: "sym_o_phone",
|
|
59
|
-
class: "q-mr-xs"
|
|
60
|
-
}),
|
|
61
|
-
P(" " + n(c.value), 1)
|
|
62
|
-
])) : g("", !0)
|
|
63
|
-
])
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
})
|
|
67
|
-
]),
|
|
68
|
-
_: 1
|
|
69
|
-
}, 8, ["loading", "style"]));
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
export {
|
|
73
|
-
$ as default
|
|
74
|
-
};
|