@win2win/shared-ui 0.3.238 → 0.3.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/ProductPrice.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +4 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/_virtual/archivo.js +4 -0
- package/dist/_virtual/canal-props.js +4 -0
- package/dist/_virtual/captacion.js +4 -0
- package/dist/_virtual/captacion2.js +4 -0
- package/dist/_virtual/comision.js +4 -0
- package/dist/_virtual/conditions.js +4 -0
- package/dist/_virtual/control-types.js +4 -0
- package/dist/_virtual/countries.js +4 -0
- package/dist/_virtual/estado-effect.js +4 -0
- package/dist/_virtual/estado-rule.js +4 -0
- package/dist/_virtual/estado.js +4 -0
- package/dist/_virtual/flag.js +4 -0
- package/dist/_virtual/formatters.js +4 -0
- package/dist/_virtual/gama.js +4 -0
- package/dist/_virtual/garantia.js +4 -0
- package/dist/_virtual/iban.js +4 -0
- package/dist/_virtual/id.js +4 -0
- package/dist/_virtual/import_schema.js +4 -0
- package/dist/_virtual/importacion.js +4 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index10.js +4 -0
- package/dist/_virtual/index11.js +4 -0
- package/dist/_virtual/index12.js +4 -0
- package/dist/_virtual/index13.js +4 -0
- package/dist/_virtual/index14.js +4 -0
- package/dist/_virtual/index15.js +4 -0
- package/dist/_virtual/index16.js +4 -0
- package/dist/_virtual/index17.js +4 -0
- package/dist/_virtual/index18.js +4 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/index4.js +4 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +4 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index9.js +4 -0
- package/dist/_virtual/item-liquidable.js +4 -0
- package/dist/_virtual/landing.js +4 -0
- package/dist/_virtual/languages.js +4 -0
- package/dist/_virtual/layout.js +4 -0
- package/dist/_virtual/layout2.js +4 -0
- package/dist/_virtual/liquidacion.js +4 -0
- package/dist/_virtual/liquidaciones.js +4 -0
- package/dist/_virtual/llamada.js +4 -0
- package/dist/_virtual/lodash.js +4 -0
- package/dist/_virtual/mappers.js +4 -0
- package/dist/_virtual/notificacion.js +4 -0
- package/dist/_virtual/options.js +4 -0
- package/dist/_virtual/page_sections.js +4 -0
- package/dist/_virtual/partner.js +4 -0
- package/dist/_virtual/pedido.js +4 -0
- package/dist/_virtual/perfiles.js +4 -0
- package/dist/_virtual/permisos.js +4 -0
- package/dist/_virtual/producto.js +4 -0
- package/dist/_virtual/producto2.js +4 -0
- package/dist/_virtual/query-params.js +4 -0
- package/dist/_virtual/regla.js +4 -0
- package/dist/_virtual/resultado.js +4 -0
- package/dist/_virtual/seguimiento.js +4 -0
- package/dist/_virtual/shared-types.js +4 -0
- package/dist/_virtual/shared.js +4 -0
- package/dist/_virtual/timestamp.js +4 -0
- package/dist/_virtual/validators.js +4 -0
- package/dist/_virtual/validators2.js +4 -0
- package/dist/_virtual/visibility.js +4 -0
- package/dist/components/Common/Button.vue.js +52 -0
- package/dist/components/Common/Button.vue2.js +4 -0
- package/dist/components/Common/Card.vue.js +7 -0
- package/dist/components/Common/Card.vue2.js +66 -0
- package/dist/components/Common/DynamicCarousel.vue.js +102 -0
- package/dist/components/Common/DynamicCarousel.vue3.js +5 -0
- package/dist/components/Common/FlagsIcons.vue.js +7 -0
- package/dist/components/Common/FlagsIcons.vue2.js +45 -0
- package/dist/components/Common/GeneratingError.vue.js +25 -0
- package/dist/components/Common/GeneratingError.vue2.js +4 -0
- package/dist/components/Common/GeneratingLoader.vue.js +25 -0
- package/dist/components/Common/GeneratingLoader.vue2.js +4 -0
- package/dist/components/Common/IconButton.vue.js +7 -0
- package/dist/components/Common/IconButton.vue2.js +97 -0
- package/dist/components/Common/IndicatorColor.vue.js +7 -0
- package/dist/components/Common/IndicatorColor.vue2.js +20 -0
- package/dist/components/Common/MenuButton.vue.js +91 -0
- package/dist/components/Common/MenuButton.vue2.js +4 -0
- package/dist/components/Common/SectionSpinner.vue.js +7 -0
- package/dist/components/Common/SectionSpinner.vue2.js +36 -0
- package/dist/components/Common/StateIndicator.vue.js +7 -0
- package/dist/components/Common/StateIndicator.vue2.js +41 -0
- package/dist/components/index.d.ts +16 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/pdf/DomSection.vue.js +19 -0
- package/dist/components/pdf/DomSection.vue2.js +4 -0
- package/dist/components/pdf/PdfContainer.vue.js +7 -0
- package/dist/components/pdf/PdfContainer.vue2.js +102 -0
- package/dist/components/pdf/SectionWrapper.vue.js +33 -0
- package/dist/components/pdf/SectionWrapper.vue2.js +4 -0
- package/dist/components/pdf/SectionsContainer.vue.js +9 -0
- package/dist/components/pdf/SectionsContainer.vue2.js +56 -0
- package/dist/components/pdf/SectionsContainer.vue3.js +6 -0
- package/dist/components/pdf/helpers.js +23 -0
- package/dist/components/pdf/sections/Card.vue.js +9 -0
- package/dist/components/pdf/sections/Card.vue2.js +52 -0
- package/dist/components/pdf/sections/Card.vue3.js +12 -0
- package/dist/components/pdf/sections/CardGridSection.vue.js +9 -0
- package/dist/components/pdf/sections/CardGridSection.vue2.js +30 -0
- package/dist/components/pdf/sections/CardGridSection.vue3.js +6 -0
- package/dist/components/pdf/sections/ImageSection.vue.js +9 -0
- package/dist/components/pdf/sections/ImageSection.vue2.js +26 -0
- package/dist/components/pdf/sections/ImageSection.vue3.js +6 -0
- package/dist/components/pdf/sections/RadioButtonsSection.vue.js +7 -0
- package/dist/components/pdf/sections/RadioButtonsSection.vue2.js +43 -0
- package/dist/components/pdf/sections/SignatureSection.vue.js +7 -0
- package/dist/components/pdf/sections/SignatureSection.vue2.js +115 -0
- package/dist/components/pdf/sections/TableSection.vue.js +9 -0
- package/dist/components/pdf/sections/TableSection.vue2.js +49 -0
- package/dist/components/pdf/sections/TableSection.vue3.js +6 -0
- package/dist/components/pdf/sections/TextSection.vue.js +9 -0
- package/dist/components/pdf/sections/TextSection.vue2.js +135 -0
- package/dist/components/pdf/sections/TextSection.vue3.js +11 -0
- package/dist/components/pdf/sections/useData.js +8 -0
- package/dist/components/widgets/broker-card/BrokerCard.vue.js +7 -0
- package/dist/components/widgets/broker-card/BrokerCard.vue2.js +171 -0
- package/dist/components/widgets/broker-card/components/BrokerProps.vue.js +7 -0
- package/dist/components/widgets/broker-card/components/BrokerProps.vue2.js +117 -0
- package/dist/components/widgets/broker-card/mock-data.js +452 -0
- package/dist/components/widgets/broker-card/mock-props.js +273 -0
- package/dist/components/widgets/broker-card/schema.js +11 -0
- package/dist/components/widgets/broker-detail/BrokerDetail.vue.js +7 -0
- package/dist/components/widgets/broker-detail/BrokerDetail.vue2.js +174 -0
- package/dist/components/widgets/broker-detail/components/BrokertActions.vue.js +7 -0
- package/dist/components/widgets/broker-detail/components/BrokertActions.vue2.js +31 -0
- package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue.js +7 -0
- package/dist/components/widgets/broker-detail/components/ImagesMiniature.vue2.js +90 -0
- package/dist/components/widgets/broker-detail/mock-data.js +227 -0
- package/dist/components/widgets/broker-detail/mock-props.js +12 -0
- package/dist/components/widgets/broker-detail/schema.js +10 -0
- package/dist/components/widgets/broker-detail/useContext.js +32 -0
- package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-card/LinvermediaProductCard.vue2.js +249 -0
- package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue.js +36 -0
- package/dist/components/widgets/linvermedia-product-card/components/PublicToggleButton.vue2.js +4 -0
- package/dist/components/widgets/linvermedia-product-card/mock-data.js +1121 -0
- package/dist/components/widgets/linvermedia-product-card/mock-props.js +20 -0
- package/dist/components/widgets/linvermedia-product-card/schema.js +13 -0
- package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/LinvermediaProductDetail.vue2.js +151 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ImagesMiniature.vue2.js +90 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue.js +9 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductConfiguration.vue2.js +147 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue.js +37 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductCustomizableIndicator.vue2.js +4 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductDetallePack.vue2.js +61 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductImageHeader.vue2.js +56 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue.js +21 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductLongDescription.vue2.js +4 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShopcartActions.vue2.js +91 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue.js +20 -0
- package/dist/components/widgets/linvermedia-product-detail/components/ProductShortDescription.vue2.js +4 -0
- package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue.js +7 -0
- package/dist/components/widgets/linvermedia-product-detail/components/PublicImageButton.vue2.js +49 -0
- package/dist/components/widgets/linvermedia-product-detail/mock-data.js +1005 -0
- package/dist/components/widgets/linvermedia-product-detail/mock-props.js +12 -0
- package/dist/components/widgets/linvermedia-product-detail/schema.js +11 -0
- package/dist/components/widgets/linvermedia-product-detail/useContext.js +43 -0
- package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue.js +7 -0
- package/dist/components/widgets/linvermedia-solicitud-card/LinvermediaSolicitudCard.vue2.js +74 -0
- package/dist/components/widgets/linvermedia-solicitud-card/mock-data.js +580 -0
- package/dist/components/widgets/linvermedia-solicitud-card/mock-props.js +8 -0
- package/dist/components/widgets/linvermedia-solicitud-card/schema.js +5 -0
- package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue.js +7 -0
- package/dist/components/widgets/perdm-telephony-product-detail/PerdmTelephonyProductDetail.vue2.js +263 -0
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue.js +21 -0
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductLongDescription.vue2.js +4 -0
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue.js +20 -0
- package/dist/components/widgets/perdm-telephony-product-detail/components/ProductShortDescription.vue2.js +4 -0
- package/dist/components/widgets/perdm-telephony-product-detail/mock-data.js +1187 -0
- package/dist/components/widgets/perdm-telephony-product-detail/mock-props.js +12 -0
- package/dist/components/widgets/perdm-telephony-product-detail/schema.js +11 -0
- package/dist/components/widgets/perdm-telephony-product-detail/useContext.js +41 -0
- package/dist/components/widgets/shared/LinvermediaGamaProps.js +1688 -0
- package/dist/components/widgets/shared/PerdmTelephonyGamaProps.js +1688 -0
- package/dist/components/widgets/shared/ProductPrice.vue.js +7 -0
- package/dist/components/widgets/shared/ProductPrice.vue2.js +84 -0
- package/dist/components/widgets/shared/ProductProps.vue.js +294 -0
- package/dist/components/widgets/shared/ProductProps.vue2.js +4 -0
- package/dist/components/widgets/shared/ProductTag.vue.js +7 -0
- package/dist/components/widgets/shared/ProductTag.vue2.js +38 -0
- package/dist/components/widgets/shared/helpers.js +52 -0
- package/dist/components/widgets/shared/schema.js +17 -0
- package/dist/components/widgets/shared/useWidgetEvent.js +13 -0
- package/dist/components/widgets/telephony-card/TelephonyCard.vue.js +7 -0
- package/dist/components/widgets/telephony-card/TelephonyCard.vue2.js +292 -0
- package/dist/components/widgets/telephony-card/mock-data.js +1197 -0
- package/dist/components/widgets/telephony-card/mock-props.js +400 -0
- package/dist/components/widgets/telephony-card/schema.js +22 -0
- package/dist/components/widgets/telmex-card/TelmexCard.vue.js +7 -0
- package/dist/components/widgets/telmex-card/TelmexCard.vue2.js +232 -0
- package/dist/components/widgets/telmex-card/mock-data.js +1545 -0
- package/dist/components/widgets/telmex-card/mock-props.js +1332 -0
- package/dist/components/widgets/telmex-card/schema.js +22 -0
- package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue.js +7 -0
- package/dist/components/widgets/telmex-product-detail/TelmexProductDetail.vue2.js +648 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue.js +7 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductInfo.vue2.js +316 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue.js +21 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductLongDescription.vue2.js +4 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue.js +20 -0
- package/dist/components/widgets/telmex-product-detail/components/ProductShortDescription.vue2.js +4 -0
- package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue.js +7 -0
- package/dist/components/widgets/telmex-product-detail/components/TotalOrder.vue2.js +52 -0
- package/dist/components/widgets/telmex-product-detail/mock-data.js +1561 -0
- package/dist/components/widgets/telmex-product-detail/mock-props.js +10 -0
- package/dist/components/widgets/telmex-product-detail/schema.js +11 -0
- package/dist/components/widgets/telmex-product-detail/useContext.js +41 -0
- package/dist/components.js +31 -0
- package/dist/composables/fetching/fetchUniqFactory.js +21 -0
- package/dist/composables/fetching/fetchUniqProvider.js +15 -0
- package/dist/composables/fetching/types.js +11 -0
- package/dist/composables/fetching/useFetch.js +40 -0
- package/dist/composables/fetching/useFetchPages.js +101 -0
- package/dist/composables/useDragAndDrop.js +65 -0
- package/dist/composables/utils.js +11 -0
- package/dist/composables.js +17 -0
- package/dist/index.js +58 -0
- package/dist/node_modules/@win2win/shared/dist/consts/countries.js +1082 -0
- package/dist/node_modules/@win2win/shared/dist/consts/index.js +26 -0
- package/dist/node_modules/@win2win/shared/dist/consts/languages.js +173 -0
- package/dist/node_modules/@win2win/shared/dist/consts/perfiles/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/consts/perfiles/perfiles.js +38 -0
- package/dist/node_modules/@win2win/shared/dist/consts/permisos/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/consts/permisos/permisos.js +129 -0
- package/dist/node_modules/@win2win/shared/dist/consts/visitas/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/consts/visitas/resultado.js +40 -0
- package/dist/node_modules/@win2win/shared/dist/enums/captacion.js +14 -0
- package/dist/node_modules/@win2win/shared/dist/enums/garantia.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/enums/importacion.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/enums/index.js +32 -0
- package/dist/node_modules/@win2win/shared/dist/enums/liquidacion.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/enums/notificacion.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/enums/pedido.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/enums/producto.js +22 -0
- package/dist/node_modules/@win2win/shared/dist/enums/shared.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/helpers/ProductPrice.js +61 -0
- package/dist/node_modules/@win2win/shared/dist/helpers/formatters.js +76 -0
- package/dist/node_modules/@win2win/shared/dist/helpers/index.js +22 -0
- package/dist/node_modules/@win2win/shared/dist/helpers/validators.js +15 -0
- package/dist/node_modules/@win2win/shared/dist/index.js +24 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/canal-props.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/escaparates/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-effect.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado-rule.js +23 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/estado.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/flag.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/index.js +26 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/estados/llamada.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/import_schema.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/index.js +20 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/importaciones/layout.js +7 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/index.js +34 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/landings/index.js +20 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/landings/landing.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/landings/page_sections.js +270 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/index.js +18 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/layout_documentos/layout.js +15 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/comision.js +11 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/index.js +24 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/item-liquidable.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/liquidaciones.js +10 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/liquidaciones/regla.js +27 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/conditions.js +7 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/control-types.js +27 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/index.js +28 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/mappers.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/options.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/validators.js +85 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/props/visibility.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/archivo.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/captacion.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/gama.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/index.js +28 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/partner.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/producto.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/raw_entities/seguimiento.js +17 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/id.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/index.js +24 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/query-params.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/shared-types.js +5 -0
- package/dist/node_modules/@win2win/shared/dist/interfaces/shared/timestamp.js +10 -0
- package/dist/node_modules/better-dni/dist/index.js +67 -0
- package/dist/node_modules/iban/iban.js +114 -0
- package/dist/node_modules/lodash/lodash.js +3676 -0
- package/dist/widgets.js +154 -0
- package/package.json +21 -5
- package/dist/w2w-shared-ui.js +0 -26029
- package/dist/w2w-shared-ui.umd.cjs +0 -48
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineComponent as p, toRefs as m, onMounted as y, onUnmounted as c, createBlock as a, openBlock as d, unref as i, withCtx as r, renderSlot as k, createCommentVNode as b, createTextVNode as B, toDisplayString as v } from "vue";
|
|
2
|
+
import { QBtn as g, QTooltip as w } from "quasar";
|
|
3
|
+
const L = /* @__PURE__ */ p({
|
|
4
|
+
__name: "Button",
|
|
5
|
+
props: {
|
|
6
|
+
label: {},
|
|
7
|
+
loading: { type: Boolean, default: !1 },
|
|
8
|
+
type: { default: "button" },
|
|
9
|
+
disable: { type: Boolean, default: !1 },
|
|
10
|
+
tooltip: {},
|
|
11
|
+
main: { type: Boolean, default: !1 },
|
|
12
|
+
hotkey: {},
|
|
13
|
+
color: { default: "primary" },
|
|
14
|
+
filled: { type: Boolean, default: !1 }
|
|
15
|
+
},
|
|
16
|
+
emits: ["click"],
|
|
17
|
+
setup(u, { emit: f }) {
|
|
18
|
+
const s = u, t = f, { hotkey: o } = m(s), l = (e) => {
|
|
19
|
+
e.altKey && e.key === o.value && t("click");
|
|
20
|
+
};
|
|
21
|
+
return y(() => {
|
|
22
|
+
!o.value || typeof document > "u" || document.addEventListener("keydown", l);
|
|
23
|
+
}), c(() => {
|
|
24
|
+
!o.value || typeof document > "u" || document.removeEventListener("keydown", l);
|
|
25
|
+
}), (e, n) => (d(), a(i(g), {
|
|
26
|
+
onClick: n[0] || (n[0] = (C) => t("click")),
|
|
27
|
+
label: e.label,
|
|
28
|
+
loading: e.loading || !1,
|
|
29
|
+
class: "text-no-wrap",
|
|
30
|
+
type: e.type,
|
|
31
|
+
disable: e.disable,
|
|
32
|
+
color: e.color,
|
|
33
|
+
outline: !e.main,
|
|
34
|
+
"no-caps": "",
|
|
35
|
+
unelevated: ""
|
|
36
|
+
}, {
|
|
37
|
+
default: r(() => [
|
|
38
|
+
k(e.$slots, "default"),
|
|
39
|
+
e.tooltip ? (d(), a(i(w), { key: 0 }, {
|
|
40
|
+
default: r(() => [
|
|
41
|
+
B(v(e.tooltip), 1)
|
|
42
|
+
]),
|
|
43
|
+
_: 1
|
|
44
|
+
})) : b("", !0)
|
|
45
|
+
]),
|
|
46
|
+
_: 3
|
|
47
|
+
}, 8, ["label", "loading", "type", "disable", "color", "outline"]));
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
export {
|
|
51
|
+
L as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { defineComponent as v, ref as m, computed as b, createElementBlock as l, openBlock as t, normalizeStyle as r, normalizeClass as u, createVNode as y, createCommentVNode as n, renderSlot as o, createElementVNode as p, toDisplayString as f } from "vue";
|
|
2
|
+
import g from "./SectionSpinner.vue.js";
|
|
3
|
+
const k = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "row-between q-mb-md"
|
|
6
|
+
}, B = { class: "card-menu" }, S = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "card-footer"
|
|
9
|
+
}, w = /* @__PURE__ */ v({
|
|
10
|
+
__name: "Card",
|
|
11
|
+
props: {
|
|
12
|
+
title: {},
|
|
13
|
+
clickable: { type: Boolean, default: !1 },
|
|
14
|
+
hoverable: { type: Boolean },
|
|
15
|
+
section: { type: Boolean },
|
|
16
|
+
loading: { type: Boolean },
|
|
17
|
+
titleClass: {},
|
|
18
|
+
noPadding: { type: Boolean },
|
|
19
|
+
expandible: { type: Boolean },
|
|
20
|
+
unelevated: { type: Boolean, default: !1 },
|
|
21
|
+
borderRadius: {},
|
|
22
|
+
contentStyle: {}
|
|
23
|
+
},
|
|
24
|
+
setup(c) {
|
|
25
|
+
const d = c, a = m(!d.expandible), i = b(() => String(d.title || ""));
|
|
26
|
+
return (e, s) => (t(), l("div", {
|
|
27
|
+
class: u([
|
|
28
|
+
"win-card field-label",
|
|
29
|
+
{
|
|
30
|
+
unelevated: e.unelevated,
|
|
31
|
+
clickable: e.clickable || e.expandible,
|
|
32
|
+
hoverable: e.hoverable,
|
|
33
|
+
section: e.section,
|
|
34
|
+
"q-pa-md": !e.noPadding
|
|
35
|
+
}
|
|
36
|
+
]),
|
|
37
|
+
onClick: s[0] || (s[0] = (C) => e.expandible ? a.value = !a.value : null),
|
|
38
|
+
style: r({ borderRadius: e.borderRadius || "8px" })
|
|
39
|
+
}, [
|
|
40
|
+
y(g, { loading: e.loading }, null, 8, ["loading"]),
|
|
41
|
+
i.value ? (t(), l("div", k, [
|
|
42
|
+
p("div", {
|
|
43
|
+
class: u(["text-accent-1 text-weight-bold", e.titleClass])
|
|
44
|
+
}, f(i.value), 3),
|
|
45
|
+
o(e.$slots, "indicator", {}, void 0, !0)
|
|
46
|
+
])) : n("", !0),
|
|
47
|
+
o(e.$slots, "title", {}, void 0, !0),
|
|
48
|
+
p("div", B, [
|
|
49
|
+
o(e.$slots, "actions", {}, void 0, !0)
|
|
50
|
+
]),
|
|
51
|
+
a.value ? (t(), l("div", {
|
|
52
|
+
key: 1,
|
|
53
|
+
class: "card-content",
|
|
54
|
+
style: r(e.contentStyle)
|
|
55
|
+
}, [
|
|
56
|
+
o(e.$slots, "default", {}, void 0, !0),
|
|
57
|
+
e.$slots.footer ? (t(), l("div", S, [
|
|
58
|
+
o(e.$slots, "footer", {}, void 0, !0)
|
|
59
|
+
])) : n("", !0)
|
|
60
|
+
], 4)) : n("", !0)
|
|
61
|
+
], 6));
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
export {
|
|
65
|
+
w as default
|
|
66
|
+
};
|