ire-preview 3.2.19 → 3.2.21
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/lib.es.js
CHANGED
|
@@ -564,7 +564,14 @@ const tr = (Be) => {
|
|
|
564
564
|
maximumFractionDigits: ke
|
|
565
565
|
});
|
|
566
566
|
return _e.getMetaValue("currency") === "chf" && ($e = $e.replaceAll(",", "'")), $e;
|
|
567
|
-
}, getArea = (Be) => Number(Be).toLocaleString(), getAreaUnitLabel = () => useGlobalStore().getMetaValue("area_unit") ?? "m",
|
|
567
|
+
}, getArea = (Be) => Number(Be).toLocaleString(), getAreaUnitLabel = () => useGlobalStore().getMetaValue("area_unit") ?? "m", getBlockById = (Be) => {
|
|
568
|
+
var ke, $e;
|
|
569
|
+
const _e = useGlobalStore();
|
|
570
|
+
if (Be)
|
|
571
|
+
return ($e = (ke = _e.shortcodeData) == null ? void 0 : ke.blocks) == null ? void 0 : $e.find(
|
|
572
|
+
(Ne) => Ne.id === (Be == null ? void 0 : Be.toString())
|
|
573
|
+
);
|
|
574
|
+
}, getFloorById = (Be) => {
|
|
568
575
|
var ke, $e;
|
|
569
576
|
const _e = useGlobalStore();
|
|
570
577
|
if (Be)
|
|
@@ -597,7 +604,7 @@ const tr = (Be) => {
|
|
|
597
604
|
}, _hoisted_3$l = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$f = { class: "irep-tooltip-1__floor-number !ire-text-2xl" }, _hoisted_5$a = { class: "irep-tooltip-1__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$8 = {
|
|
598
605
|
key: 0,
|
|
599
606
|
class: "ire-rounded-lg ire-bg-gray-100 ire-p-6"
|
|
600
|
-
}, _hoisted_7$
|
|
607
|
+
}, _hoisted_7$7 = {
|
|
601
608
|
key: 0,
|
|
602
609
|
class: "irep-tooltip-1__floor-conf !ire-text-2xl"
|
|
603
610
|
}, _hoisted_8$6 = { key: 1 }, _hoisted_9$6 = {
|
|
@@ -647,7 +654,7 @@ const tr = (Be) => {
|
|
|
647
654
|
createElementVNode("div", _hoisted_5$a, toDisplayString(unref(tr)("floor")), 1)
|
|
648
655
|
]),
|
|
649
656
|
(De = Be.hoveredData) != null && De.conf || (Re = (Le = Be.hoveredData) == null ? void 0 : Le.flats) != null && Re.length ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
650
|
-
ke.value ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
657
|
+
ke.value ? (openBlock(), createElementBlock("div", _hoisted_7$7, toDisplayString(ke.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_8$6, [
|
|
651
658
|
(Ae = (Ie = Be.hoveredData) == null ? void 0 : Ie.counts) != null && Ae.available ? (openBlock(), createElementBlock("div", _hoisted_9$6, [
|
|
652
659
|
createElementVNode("div", _hoisted_10$6, toDisplayString(((je = (ze = Be.hoveredData) == null ? void 0 : ze.counts) == null ? void 0 : je.available) || 0), 1),
|
|
653
660
|
createElementVNode("div", _hoisted_11$4, toDisplayString(unref(tr)("available")), 1)
|
|
@@ -714,7 +721,7 @@ const tr = (Be) => {
|
|
|
714
721
|
}, _hoisted_2$l = { class: "ire-flex ire-w-full ire-items-center ire-justify-evenly ire-p-4" }, _hoisted_3$k = { class: "irep-tooltip-2__floor-number ire-text-3xl ire-capitalize" }, _hoisted_4$e = {
|
|
715
722
|
key: 0,
|
|
716
723
|
class: "irep-tooltip-2__floor-conf ire-text-2xl ire-uppercase"
|
|
717
|
-
}, _hoisted_5$9 = { key: 1 }, _hoisted_6$7 = { class: "irep-tooltip-2__floor-starting ire-text-sm ire-text-gray-400" }, _hoisted_7$
|
|
724
|
+
}, _hoisted_5$9 = { key: 1 }, _hoisted_6$7 = { class: "irep-tooltip-2__floor-starting ire-text-sm ire-text-gray-400" }, _hoisted_7$6 = { class: "irep-tooltip-2__floor-price" }, _hoisted_8$5 = { class: "ire-right-[2px] ire-text-gray-200" }, _hoisted_9$5 = { class: "ire-flex ire-items-center ire-justify-between ire-gap-2 ire-bg-gray-800 ire-p-2" }, _hoisted_10$5 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_11$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_12$2 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_13$1 = {
|
|
718
725
|
key: 1,
|
|
719
726
|
class: "irep-tooltip-2__block ire-flex ire-items-center ire-gap-3 ire-p-4 !ire-text-sm"
|
|
720
727
|
}, _hoisted_14$1 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_15 = { class: "irep-tooltip-2__block-title" }, _hoisted_16 = { class: "irep-tooltip-2__block-conf ire-text-gray-300 ire-opacity-80" }, _hoisted_17 = {
|
|
@@ -767,7 +774,7 @@ const tr = (Be) => {
|
|
|
767
774
|
De[0] || (De[0] = createElementVNode("span", null, "|", -1)),
|
|
768
775
|
Ne.value ? (openBlock(), createElementBlock("div", _hoisted_4$e, toDisplayString(Ne.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_5$9, [
|
|
769
776
|
createElementVNode("div", _hoisted_6$7, toDisplayString(unref(tr)("starting from")) + ": ", 1),
|
|
770
|
-
createElementVNode("div", _hoisted_7$
|
|
777
|
+
createElementVNode("div", _hoisted_7$6, [
|
|
771
778
|
createTextVNode(toDisplayString(unref(getPrice)(+((Ie = (Re = Be.hoveredData) == null ? void 0 : Re.counts) == null ? void 0 : Ie.minimum_price) || 0)) + " ", 1),
|
|
772
779
|
createElementVNode("span", _hoisted_8$5, toDisplayString(unref(currencySymbol)()), 1)
|
|
773
780
|
])
|
|
@@ -834,7 +841,7 @@ const tr = (Be) => {
|
|
|
834
841
|
}, _hoisted_3$j = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$d = { class: "irep-tooltip-3__floor-number !ire-text-2xl" }, _hoisted_5$8 = { class: "irep-tooltip-3__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$6 = {
|
|
835
842
|
key: 1,
|
|
836
843
|
class: "irep-tooltip-3__block ire-flex ire-items-center ire-gap-3"
|
|
837
|
-
}, _hoisted_7$
|
|
844
|
+
}, _hoisted_7$5 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_8$4 = { class: "irep-tooltip-3__block-title !text-2xl" }, _hoisted_9$4 = {
|
|
838
845
|
key: 2,
|
|
839
846
|
class: "irep-tooltip-3__flat ire-flex ire-w-full ire-flex-col ire-items-center ire-gap-3"
|
|
840
847
|
}, _hoisted_10$4 = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_11$2 = { class: "irep-tooltip-3__flat-number ire-max-w-52 ire-text-center !ire-text-2xl ire-capitalize" }, _hoisted_12$1 = { class: "irep-tooltip-3__flat-text !ire-mt-2 ire-text-sm ire-uppercase" }, _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
@@ -861,7 +868,7 @@ const tr = (Be) => {
|
|
|
861
868
|
createElementVNode("div", _hoisted_5$8, toDisplayString(unref(tr)("floor")), 1)
|
|
862
869
|
])
|
|
863
870
|
])) : Be.type === "block" ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
|
|
864
|
-
createElementVNode("div", _hoisted_7$
|
|
871
|
+
createElementVNode("div", _hoisted_7$5, [
|
|
865
872
|
createElementVNode("div", _hoisted_8$4, toDisplayString((De = Be.hoveredData) == null ? void 0 : De.title), 1)
|
|
866
873
|
])
|
|
867
874
|
])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_9$4, [
|
|
@@ -5459,7 +5466,7 @@ function _sfc_render$a(Be, _e) {
|
|
|
5459
5466
|
createStaticVNode('<g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><rect class="cls-1" width="256" height="256" rx="128"></rect><path class="cls-2" d="M138.26,42.2C116.44,52.3,113,54,112.25,55.27s-.8,3.9-.8,69.36c0,60.7-.08,68.19-.62,68.65-1,.8-7.54-.62-8.38-1.84-.55-.75-.63-8.63-.63-58.81,0-52.1-.08-58-.67-58.93a4.29,4.29,0,0,0-4.56-1.51c-3.06.92-29,13.53-29.87,14.54l-.92,1v41c0,40.59,0,41-.84,41.47a1.67,1.67,0,0,1-1.59,0c-1.21-.63-7.62-7.5-11.06-11.81s-4.27-4.82-6.53-4.19c-.71.21-4.9,3.14-9.3,6.53s-8.34,6.08-8.71,6c-2.31-.21-3.44.67-3.44,2.68,0,1.68.38,2.27,1.68,2.73a2.76,2.76,0,0,0,3.81-2.06c.46-1.42,1.42-2.34,8.25-7.53a96.6,96.6,0,0,1,8.42-6.08c.92-.25,1.13,0,4.15,3.81,3.93,5,11.18,12.23,12.56,12.49a4.82,4.82,0,0,0,2.39-.3c2.68-1.13,2.51,1.93,2.72-43.35l.21-41.3L83,81.16c7.92-3.77,14.66-6.83,15-6.83a2.05,2.05,0,0,1,1.13.67c.58.59.67,6.49.67,58.6,0,41.59.12,58.26.46,59,.58,1.34,1.46,1.76,5.78,2.81,3.93,1,5.36.84,6.78-.67l1-1.09.12-68.36c.09-64.42.13-68.44.84-69,.55-.5,25.93-12.6,28.48-13.61a1.67,1.67,0,0,1,1.34.5c.84.76.84,1.76.84,75.06,0,82-.21,75.77,2.6,76.74,1.3.46,4.19,0,5.82-.84,2.14-1.13,2,.42,2-47.16,0-24.38.17-44.53.34-44.78.38-.54,28-9.8,29.28-9.8a1.83,1.83,0,0,1,1.38.8c.29.54.42,13.52.42,39.12v38.28l1,1.09a4,4,0,0,0,4.61.92c1.55-.63,7.25-6.53,11.69-12.06,1.8-2.22,3.52-4.07,3.85-4.07,1,0,17.34,12.61,17.34,13.41,0,2.39,3.56,3.6,5.11,1.71a2.85,2.85,0,0,0-2.43-4.77c-1.46,0-2.39-.5-9.8-6.12-4.52-3.39-8.71-6.32-9.34-6.49-1.84-.46-3.43.63-6.41,4.36-4.1,5.19-8.46,9.88-10.34,11.18L191,170.83l-.79-1c-.76-.92-.8-2.39-.8-39.29V92.26L188.15,91a3.78,3.78,0,0,0-2.39-1.21c-1.09,0-26.47,8.12-29.61,9.5-3,1.3-2.81-1.8-2.81,47.42s.21,45.36-2.76,45.95c-1.14.21-1.68.08-2.18-.42-.67-.63-.71-6.37-.8-74.93-.08-58.77-.21-74.44-.63-75.23A5.74,5.74,0,0,0,143.41,40C143.25,40,140.9,41,138.26,42.2Z"></path><path class="cls-2" d="M127.62,71.48a3,3,0,0,0,.17,3.9c.84.75.84,1.29.84,59.35s0,58.64-.84,59.68c-1.72,2.22-.59,4.74,2.09,4.74s3.82-2.52,2.1-4.74c-.84-1-.84-1.67-.84-59.56s0-58.51.84-59.56a4,4,0,0,0,.84-2.05C132.82,70.81,129,69.51,127.62,71.48Z"></path><path class="cls-2" d="M83,99.75c-2.13.8-2.85,3.52-1.25,5,.83.75.83,1.29.83,40.5s0,39.71-.83,40.54a3.38,3.38,0,0,0-.84,2.1,2.8,2.8,0,0,0,5,1.84c1.09-1.42,1.13-2.68,0-3.85-.83-.88-.83-1.47-.83-40.55s0-39.62.83-40.67a4,4,0,0,0,.84-2C86.74,100.84,84.56,99.17,83,99.75Z"></path><path class="cls-2" d="M169.13,121.16a3.21,3.21,0,0,0,.13,4.14c.83.72.83,1.26.83,26.94s0,26.22-.83,26.93c-1.6,1.38-.8,4.81,1.17,4.94,2.34.17,3.27-.38,3.64-2.22a2.61,2.61,0,0,0-.58-2.47c-.88-1.17-.88-1.42-.88-27.23,0-25.38,0-26,.84-27,1-1.39,1-2.27,0-3.65A2.9,2.9,0,0,0,169.13,121.16Z"></path></g></g>', 1)
|
|
5460
5467
|
])]);
|
|
5461
5468
|
}
|
|
5462
|
-
const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]]), _hoisted_1$o = { class: "ire-flex ire-h-full ire-w-full ire-flex-col ire-justify-between ire-overflow-hidden" }, _hoisted_2$e = { class: "ire-w-fit ire-p-4" }, _hoisted_3$e = { class: "ire-relative ire-grid ire-overflow-hidden ire-p-4 lg:ire-p-0" }, _hoisted_4$a = ["data-fancybox", "href"], _hoisted_5$7 = ["src"], _hoisted_6$5 = { class: "ire-swiper-button-prev ire-group ire-absolute ire-left-0 ire-top-0 ire-z-10 ire-hidden ire-h-full ire-cursor-pointer ire-items-center ire-justify-center md:ire-flex" }, _hoisted_7$
|
|
5469
|
+
const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]]), _hoisted_1$o = { class: "ire-flex ire-h-full ire-w-full ire-flex-col ire-justify-between ire-overflow-hidden" }, _hoisted_2$e = { class: "ire-w-fit ire-p-4" }, _hoisted_3$e = { class: "ire-relative ire-grid ire-overflow-hidden ire-p-4 lg:ire-p-0" }, _hoisted_4$a = ["data-fancybox", "href"], _hoisted_5$7 = ["src"], _hoisted_6$5 = { class: "ire-swiper-button-prev ire-group ire-absolute ire-left-0 ire-top-0 ire-z-10 ire-hidden ire-h-full ire-cursor-pointer ire-items-center ire-justify-center md:ire-flex" }, _hoisted_7$4 = { class: "ire-swiper-button-next ire-group ire-absolute ire-right-0 ire-top-0 ire-z-10 ire-hidden ire-h-full ire-cursor-pointer ire-items-center ire-justify-center md:ire-flex" }, _hoisted_8$3 = { class: "flex ire-flex-wrap ire-items-center ire-justify-center ire-gap-4 ire-p-4 lg:ire-gap-8" }, _hoisted_9$3 = {
|
|
5463
5470
|
key: 1,
|
|
5464
5471
|
class: "ire-flex ire-items-center ire-gap-3"
|
|
5465
5472
|
}, _hoisted_10$3 = {
|
|
@@ -5551,7 +5558,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
|
|
|
5551
5558
|
createElementVNode("div", _hoisted_6$5, [
|
|
5552
5559
|
createVNode(ArrowRight, { class: "ire-m-2 ire-rotate-180 ire-rounded-lg ire-bg-[var(--primary-color)] ire-transition-all group-hover:ire-bg-[color-mix(in_srgb,var(--primary-color),white_20%)] [&_path]:ire-fill-white" })
|
|
5553
5560
|
]),
|
|
5554
|
-
createElementVNode("div", _hoisted_7$
|
|
5561
|
+
createElementVNode("div", _hoisted_7$4, [
|
|
5555
5562
|
createVNode(ArrowRight, { class: "ire-m-2 ire-rounded-lg ire-bg-[var(--primary-color)] ire-transition-all group-hover:ire-bg-[color-mix(in_srgb,var(--primary-color),white_20%)] [&_path]:ire-fill-white" })
|
|
5556
5563
|
])
|
|
5557
5564
|
], 64)) : createCommentVNode("", !0)
|
|
@@ -5669,10 +5676,10 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
|
|
|
5669
5676
|
const ke = _e, $e = Be, Ne = useGlobalStore(), Ve = ref({
|
|
5670
5677
|
project_id: (Ie = $e.flat) == null ? void 0 : Ie.project_id,
|
|
5671
5678
|
flat_id: (Ae = $e.flat) == null ? void 0 : Ae.id,
|
|
5672
|
-
name: "
|
|
5673
|
-
phone: "
|
|
5674
|
-
email: "
|
|
5675
|
-
comment: "
|
|
5679
|
+
name: "",
|
|
5680
|
+
phone: "",
|
|
5681
|
+
email: "",
|
|
5682
|
+
comment: ""
|
|
5676
5683
|
}), De = ref(!1), Le = ref(!1), Re = async () => {
|
|
5677
5684
|
var je;
|
|
5678
5685
|
if (De.value) return;
|
|
@@ -5805,7 +5812,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
|
|
|
5805
5812
|
setQuery(Fe, "");
|
|
5806
5813
|
});
|
|
5807
5814
|
}), (je, Fe) => {
|
|
5808
|
-
var He, We, qe, Ue, Ye, Je, Ze, Qe, ni, ei, Ke, Xe, Ge, ti, ii, oi, ri, si, ai, li, ci, di, hi, fi, pi, mi, vi, gi, bi, yi, _i, xi;
|
|
5815
|
+
var He, We, qe, Ue, Ye, Je, Ze, Qe, ni, ei, Ke, Xe, Ge, ti, ii, oi, ri, si, ai, li, ci, di, hi, fi, pi, mi, vi, gi, bi, yi, _i, xi, wi, ki, Si, Ei;
|
|
5809
5816
|
return openBlock(), createElementBlock("div", {
|
|
5810
5817
|
class: normalizeClass(["irep-flat-preview ire-grid", {
|
|
5811
5818
|
"lg:ire-grid-cols-[1.5fr,1fr]": Ae.value
|
|
@@ -5834,34 +5841,39 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
|
|
|
5834
5841
|
createElementVNode("div", _hoisted_5$4, toDisplayString((ni = (Qe = Be.flat) == null ? void 0 : Qe.type) == null ? void 0 : ni.teaser), 1)
|
|
5835
5842
|
])) : createCommentVNode("", !0),
|
|
5836
5843
|
createElementVNode("div", _hoisted_6$3, [
|
|
5837
|
-
(ei = Be.flat) != null && ei.
|
|
5844
|
+
(ei = Be.flat) != null && ei.block_id ? (openBlock(), createBlock(_sfc_main$z, {
|
|
5838
5845
|
key: 0,
|
|
5839
|
-
keyName: unref(tr)("
|
|
5840
|
-
value: ((Ge = (Xe = unref(
|
|
5846
|
+
keyName: unref(tr)("block"),
|
|
5847
|
+
value: ((Ge = (Xe = unref(getBlockById)(+((Ke = Be.flat) == null ? void 0 : Ke.block_id))) == null ? void 0 : Xe.title) == null ? void 0 : Ge.toString()) || ""
|
|
5841
5848
|
}, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
5842
|
-
(
|
|
5849
|
+
(ti = Be.flat) != null && ti.floor_id ? (openBlock(), createBlock(_sfc_main$z, {
|
|
5843
5850
|
key: 1,
|
|
5851
|
+
keyName: unref(tr)("floor"),
|
|
5852
|
+
value: ((ri = (oi = unref(getFloorById)(+((ii = Be.flat) == null ? void 0 : ii.floor_id))) == null ? void 0 : oi.floor_number) == null ? void 0 : ri.toString()) || ""
|
|
5853
|
+
}, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
5854
|
+
(ai = (si = Be.flat) == null ? void 0 : si.type) != null && ai.area_m2 ? (openBlock(), createBlock(_sfc_main$z, {
|
|
5855
|
+
key: 2,
|
|
5844
5856
|
keyName: unref(tr)("area"),
|
|
5845
|
-
value: unref(getArea)(Number((
|
|
5857
|
+
value: unref(getArea)(Number((li = Be.flat) == null ? void 0 : li.type.area_m2))
|
|
5846
5858
|
}, {
|
|
5847
5859
|
sufix: withCtx(() => [
|
|
5848
5860
|
createElementVNode("span", null, toDisplayString(unref(getAreaUnitLabel)()) + "² ", 1)
|
|
5849
5861
|
]),
|
|
5850
5862
|
_: 1
|
|
5851
5863
|
}, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
5852
|
-
(
|
|
5853
|
-
key:
|
|
5864
|
+
(di = (ci = Be.flat) == null ? void 0 : ci.type) != null && di.rooms_count ? (openBlock(), createBlock(_sfc_main$z, {
|
|
5865
|
+
key: 3,
|
|
5854
5866
|
keyName: unref(tr)("room"),
|
|
5855
5867
|
value: Be.flat.type.rooms_count
|
|
5856
5868
|
}, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
5857
|
-
(
|
|
5858
|
-
key:
|
|
5869
|
+
(hi = Be.flat) != null && hi.request_price ? (openBlock(), createBlock(_sfc_main$z, {
|
|
5870
|
+
key: 4,
|
|
5859
5871
|
keyName: unref(tr)("price"),
|
|
5860
5872
|
value: unref(tr)("Request Price")
|
|
5861
|
-
}, null, 8, ["keyName", "value"])) : (
|
|
5862
|
-
key:
|
|
5873
|
+
}, null, 8, ["keyName", "value"])) : (fi = Be.flat) != null && fi.offer_price ? (openBlock(), createBlock(_sfc_main$z, {
|
|
5874
|
+
key: 5,
|
|
5863
5875
|
keyName: unref(tr)("price"),
|
|
5864
|
-
value: unref(getPrice)(Number((
|
|
5876
|
+
value: unref(getPrice)(Number((pi = Be.flat) == null ? void 0 : pi.offer_price))
|
|
5865
5877
|
}, {
|
|
5866
5878
|
top: withCtx(() => {
|
|
5867
5879
|
var ui;
|
|
@@ -5876,26 +5888,26 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
|
|
|
5876
5888
|
createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
|
|
5877
5889
|
]),
|
|
5878
5890
|
_: 1
|
|
5879
|
-
}, 8, ["keyName", "value"])) : (
|
|
5880
|
-
key:
|
|
5891
|
+
}, 8, ["keyName", "value"])) : (mi = Be.flat) != null && mi.price && Number(Be.flat.price) > 0 ? (openBlock(), createBlock(_sfc_main$z, {
|
|
5892
|
+
key: 6,
|
|
5881
5893
|
keyName: unref(tr)("price"),
|
|
5882
|
-
value: unref(getPrice)(Number((
|
|
5894
|
+
value: unref(getPrice)(Number((vi = Be.flat) == null ? void 0 : vi.price))
|
|
5883
5895
|
}, {
|
|
5884
5896
|
sufix: withCtx(() => [
|
|
5885
5897
|
createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
|
|
5886
5898
|
]),
|
|
5887
5899
|
_: 1
|
|
5888
5900
|
}, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
5889
|
-
(
|
|
5901
|
+
(yi = (bi = (gi = Be.flat) == null ? void 0 : gi.type) == null ? void 0 : bi.other) != null && yi.length ? (openBlock(!0), createElementBlock(Fragment, { key: 7 }, renderList(Be.flat.type.other, (ui) => (openBlock(), createBlock(_sfc_main$z, {
|
|
5890
5902
|
keyName: ui.key,
|
|
5891
5903
|
value: ui.value
|
|
5892
5904
|
}, null, 8, ["keyName", "value"]))), 256)) : createCommentVNode("", !0)
|
|
5893
5905
|
])
|
|
5894
5906
|
]),
|
|
5895
5907
|
createElementVNode("div", _hoisted_8$2, [
|
|
5896
|
-
(
|
|
5908
|
+
(wi = (xi = (_i = Be.flat) == null ? void 0 : _i.files) == null ? void 0 : xi[0]) != null && wi.url ? (openBlock(), createElementBlock("a", {
|
|
5897
5909
|
key: 0,
|
|
5898
|
-
href: (
|
|
5910
|
+
href: (Ei = (Si = (ki = Be.flat) == null ? void 0 : ki.files) == null ? void 0 : Si[0]) == null ? void 0 : Ei.url,
|
|
5899
5911
|
target: "_blank",
|
|
5900
5912
|
class: "ire-w-full ire-p-2"
|
|
5901
5913
|
}, [
|
|
@@ -8,9 +8,9 @@ type __VLS_Props = {
|
|
|
8
8
|
projectMeta: ProjectMeta[] | undefined;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
-
changeComponent: (flowComponent: "" | "flat" | "
|
|
11
|
+
changeComponent: (flowComponent: "" | "flat" | "floor" | "block" | "tooltip", hoveredData: any) => any;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
-
onChangeComponent?: ((flowComponent: "" | "flat" | "
|
|
13
|
+
onChangeComponent?: ((flowComponent: "" | "flat" | "floor" | "block" | "tooltip", hoveredData: any) => any) | undefined;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
15
|
svgRef: HTMLDivElement;
|
|
16
16
|
}, HTMLDivElement>;
|
|
@@ -3,6 +3,7 @@ export declare const currencySymbol: () => string;
|
|
|
3
3
|
export declare const getPrice: (price: number) => string;
|
|
4
4
|
export declare const getArea: (area: number) => string;
|
|
5
5
|
export declare const getAreaUnitLabel: () => string | number;
|
|
6
|
+
export declare const getBlockById: (id: number) => import('../types/DemoTypes').BlockItem | undefined;
|
|
6
7
|
export declare const getFloorById: (id: number) => import('../types/DemoTypes').FloorItem | undefined;
|
|
7
8
|
export declare const setQuery: (key: string, value: string) => void;
|
|
8
9
|
export declare const getQuery: (key: string) => string | null;
|