ire-preview 2.4.12 → 2.4.13
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
|
@@ -4253,7 +4253,10 @@ const FancyBoxComp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
4253
4253
|
}, _hoisted_3$3 = {
|
|
4254
4254
|
key: 0,
|
|
4255
4255
|
class: "irep-flat-preview__left-conf ire-w-full ire-p-3 ire-text-start ire-capitalize"
|
|
4256
|
-
}, _hoisted_4$2 = ["href"], _hoisted_5 = ["src"], _hoisted_6 = ["href"], _hoisted_7 = ["src"], _hoisted_8 = {
|
|
4256
|
+
}, _hoisted_4$2 = ["href"], _hoisted_5 = ["src"], _hoisted_6 = ["href"], _hoisted_7 = ["src"], _hoisted_8 = {
|
|
4257
|
+
key: 1,
|
|
4258
|
+
class: "ire-mt-5 ire-flex ire-flex-col ire-items-center ire-gap-3 lg:ire-flex-row"
|
|
4259
|
+
}, _hoisted_9 = {
|
|
4257
4260
|
key: 0,
|
|
4258
4261
|
class: "ire-flex ire-w-fit ire-items-center ire-gap-1 ire-border-gray-400 ire-p-1"
|
|
4259
4262
|
}, _hoisted_10 = {
|
|
@@ -4290,7 +4293,7 @@ const FancyBoxComp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
4290
4293
|
var Le, ze, Ae;
|
|
4291
4294
|
(Ae = Object.keys(((ze = (Le = _e.flat) == null ? void 0 : Le.type) == null ? void 0 : ze.image_3d) || {})) != null && Ae.length || (ke.value = !0);
|
|
4292
4295
|
}), (Le, ze) => {
|
|
4293
|
-
var Ae, Ie, je, Fe, Ve, He, qe, Xe, We, Ze, Ge, Ye, Ue, Qe, Je, Ke, ei, ii, ti, ni, oi, si, ri, ai, li, hi, di, fi, mi, gi, vi, bi, yi, _i;
|
|
4296
|
+
var Ae, Ie, je, Fe, Ve, He, qe, Xe, We, Ze, Ge, Ye, Ue, Qe, Je, Ke, ei, ii, ti, ni, oi, si, ri, ai, li, hi, di, fi, mi, gi, vi, bi, yi, _i, wi;
|
|
4294
4297
|
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
4295
4298
|
Be.value ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
4296
4299
|
(Ae = Le.flat) != null && Ae.conf ? (openBlock(), createElementBlock("div", _hoisted_3$3, toDisplayString(unref(tr)(Le.flat.conf)), 1)) : createCommentVNode("", !0),
|
|
@@ -4301,28 +4304,28 @@ const FancyBoxComp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
4301
4304
|
mode: "out-in"
|
|
4302
4305
|
}, {
|
|
4303
4306
|
default: withCtx(() => {
|
|
4304
|
-
var ci, ui, pi,
|
|
4307
|
+
var ci, ui, pi, xi, Si, ki, Ei, Ci, Pi, Ti, Mi, Oi, Di, $i, Ri, Bi, Ni, Li, Ai, zi, Ii, ji, Vi, Fi, Hi, Wi, Xi, qi, Yi, Zi, Ui, Gi;
|
|
4305
4308
|
return [
|
|
4306
|
-
ke.value && ((
|
|
4309
|
+
ke.value && ((xi = (pi = (ui = (ci = Le.flat) == null ? void 0 : ci.type) == null ? void 0 : ui.image_2d) == null ? void 0 : pi[De.value]) != null && xi.url) ? (openBlock(), createElementBlock("a", {
|
|
4307
4310
|
key: 0,
|
|
4308
4311
|
"data-fancybox": "",
|
|
4309
|
-
href: (
|
|
4312
|
+
href: (Ci = (Ei = (ki = (Si = Le.flat) == null ? void 0 : Si.type) == null ? void 0 : ki.image_2d) == null ? void 0 : Ei[De.value]) == null ? void 0 : Ci.url,
|
|
4310
4313
|
class: "irep-flat-preview__left-2d"
|
|
4311
4314
|
}, [
|
|
4312
4315
|
(openBlock(), createElementBlock("img", {
|
|
4313
|
-
key: (
|
|
4314
|
-
src: (Ri = ($i = (Di =
|
|
4316
|
+
key: (Oi = (Mi = (Ti = (Pi = Le.flat) == null ? void 0 : Pi.type) == null ? void 0 : Ti.image_2d) == null ? void 0 : Mi[De.value]) == null ? void 0 : Oi.url,
|
|
4317
|
+
src: (Bi = (Ri = ($i = (Di = Le.flat) == null ? void 0 : Di.type) == null ? void 0 : $i.image_2d) == null ? void 0 : Ri[De.value]) == null ? void 0 : Bi.url,
|
|
4315
4318
|
class: "ire-preview-img"
|
|
4316
4319
|
}, null, 8, _hoisted_5))
|
|
4317
|
-
], 8, _hoisted_4$2)) : (
|
|
4320
|
+
], 8, _hoisted_4$2)) : (zi = (Ai = (Li = (Ni = Le.flat) == null ? void 0 : Ni.type) == null ? void 0 : Li.image_3d) == null ? void 0 : Ai[De.value]) != null && zi.url ? (openBlock(), createElementBlock("a", {
|
|
4318
4321
|
key: 1,
|
|
4319
4322
|
"data-fancybox": "",
|
|
4320
|
-
href: (
|
|
4323
|
+
href: (Fi = (Vi = (ji = (Ii = Le.flat) == null ? void 0 : Ii.type) == null ? void 0 : ji.image_3d) == null ? void 0 : Vi[De.value]) == null ? void 0 : Fi.url,
|
|
4321
4324
|
class: "irep-flat-preview__left-3d"
|
|
4322
4325
|
}, [
|
|
4323
4326
|
(openBlock(), createElementBlock("img", {
|
|
4324
|
-
key: (
|
|
4325
|
-
src: (
|
|
4327
|
+
key: (qi = (Xi = (Wi = (Hi = Le.flat) == null ? void 0 : Hi.type) == null ? void 0 : Wi.image_3d) == null ? void 0 : Xi[De.value]) == null ? void 0 : qi.url,
|
|
4328
|
+
src: (Gi = (Ui = (Zi = (Yi = Le.flat) == null ? void 0 : Yi.type) == null ? void 0 : Zi.image_3d) == null ? void 0 : Ui[De.value]) == null ? void 0 : Gi.url,
|
|
4326
4329
|
class: "ire-preview-img"
|
|
4327
4330
|
}, null, 8, _hoisted_7))
|
|
4328
4331
|
], 8, _hoisted_6)) : createCommentVNode("", !0)
|
|
@@ -4333,9 +4336,9 @@ const FancyBoxComp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
4333
4336
|
]),
|
|
4334
4337
|
_: 1
|
|
4335
4338
|
}),
|
|
4336
|
-
|
|
4339
|
+
$e.value || ((Ie = Re.value) == null ? void 0 : Ie.length) > 1 ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
4337
4340
|
$e.value ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
4338
|
-
(
|
|
4341
|
+
(He = (Ve = (Fe = (je = Le.flat) == null ? void 0 : je.type) == null ? void 0 : Fe.image_3d) == null ? void 0 : Ve[0]) != null && He.url ? (openBlock(), createBlock(_sfc_main$a, {
|
|
4339
4342
|
key: 0,
|
|
4340
4343
|
title: unref(tr)("3d plan"),
|
|
4341
4344
|
active: !ke.value,
|
|
@@ -4349,7 +4352,7 @@ const FancyBoxComp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
4349
4352
|
]),
|
|
4350
4353
|
_: 1
|
|
4351
4354
|
}, 8, ["title", "active"])) : createCommentVNode("", !0),
|
|
4352
|
-
(
|
|
4355
|
+
(Ze = (We = (Xe = (qe = Le.flat) == null ? void 0 : qe.type) == null ? void 0 : Xe.image_2d) == null ? void 0 : We[0]) != null && Ze.url ? (openBlock(), createBlock(_sfc_main$a, {
|
|
4353
4356
|
key: 1,
|
|
4354
4357
|
title: unref(tr)("2d plan"),
|
|
4355
4358
|
active: ke.value,
|
|
@@ -4364,7 +4367,7 @@ const FancyBoxComp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
4364
4367
|
_: 1
|
|
4365
4368
|
}, 8, ["title", "active"])) : createCommentVNode("", !0)
|
|
4366
4369
|
])) : createCommentVNode("", !0),
|
|
4367
|
-
((
|
|
4370
|
+
((Ge = Re.value) == null ? void 0 : Ge.length) > 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
4368
4371
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(Re.value, (ci, ui) => (openBlock(), createElementBlock("div", {
|
|
4369
4372
|
key: ci,
|
|
4370
4373
|
class: normalizeClass(["irep-flat-preview__left-pagination-item ire-flex ire-h-10 ire-w-10 ire-cursor-pointer ire-items-center ire-justify-center ire-rounded-lg ire-p-2 ire-transition-all hover:ire-bg-black hover:ire-text-white", {
|
|
@@ -4373,29 +4376,29 @@ const FancyBoxComp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
4373
4376
|
onClick: (pi) => De.value = ui
|
|
4374
4377
|
}, toDisplayString(ci), 11, _hoisted_11))), 128))
|
|
4375
4378
|
])) : createCommentVNode("", !0)
|
|
4376
|
-
])
|
|
4379
|
+
])) : createCommentVNode("", !0)
|
|
4377
4380
|
])) : createCommentVNode("", !0),
|
|
4378
4381
|
createElementVNode("div", _hoisted_12, [
|
|
4379
|
-
(
|
|
4382
|
+
(Ye = Le.flat) != null && Ye.flat_number ? (openBlock(), createBlock(_sfc_main$9, {
|
|
4380
4383
|
key: 0,
|
|
4381
4384
|
keyName: unref(tr)("apartment"),
|
|
4382
4385
|
value: Le.flat.flat_number,
|
|
4383
4386
|
class: "[&_.flat-preview-value]:ire-min-w-fit [&_.flat-preview-value]:ire-font-semibold"
|
|
4384
4387
|
}, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
4385
|
-
(
|
|
4386
|
-
createElementVNode("div", _hoisted_14, toDisplayString((
|
|
4387
|
-
createElementVNode("div", _hoisted_15, toDisplayString((
|
|
4388
|
+
(Qe = (Ue = Le.flat) == null ? void 0 : Ue.type) != null && Qe.title || (Ke = (Je = Le.flat) == null ? void 0 : Je.type) != null && Ke.teaser ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
4389
|
+
createElementVNode("div", _hoisted_14, toDisplayString((ii = (ei = Le.flat) == null ? void 0 : ei.type) == null ? void 0 : ii.title), 1),
|
|
4390
|
+
createElementVNode("div", _hoisted_15, toDisplayString((ni = (ti = Le.flat) == null ? void 0 : ti.type) == null ? void 0 : ni.teaser), 1)
|
|
4388
4391
|
])) : createCommentVNode("", !0),
|
|
4389
4392
|
createElementVNode("div", _hoisted_16, [
|
|
4390
|
-
(
|
|
4393
|
+
(oi = Le.flat) != null && oi.floor_number ? (openBlock(), createBlock(_sfc_main$9, {
|
|
4391
4394
|
key: 0,
|
|
4392
4395
|
keyName: unref(tr)("floor"),
|
|
4393
|
-
value: (
|
|
4396
|
+
value: (si = Le.flat) == null ? void 0 : si.floor_number
|
|
4394
4397
|
}, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
4395
|
-
(
|
|
4398
|
+
(ai = (ri = Le.flat) == null ? void 0 : ri.type) != null && ai.area_m2 ? (openBlock(), createBlock(_sfc_main$9, {
|
|
4396
4399
|
key: 1,
|
|
4397
4400
|
keyName: unref(tr)("area"),
|
|
4398
|
-
value: unref(getArea)(Number((
|
|
4401
|
+
value: unref(getArea)(Number((li = Le.flat) == null ? void 0 : li.type.area_m2))
|
|
4399
4402
|
}, {
|
|
4400
4403
|
sufix: withCtx(() => ze[2] || (ze[2] = [
|
|
4401
4404
|
createElementVNode("span", null, [
|
|
@@ -4405,19 +4408,19 @@ const FancyBoxComp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
4405
4408
|
])),
|
|
4406
4409
|
_: 1
|
|
4407
4410
|
}, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
4408
|
-
(
|
|
4411
|
+
(di = (hi = Le.flat) == null ? void 0 : hi.type) != null && di.rooms_count ? (openBlock(), createBlock(_sfc_main$9, {
|
|
4409
4412
|
key: 2,
|
|
4410
4413
|
keyName: unref(tr)("room"),
|
|
4411
4414
|
value: Le.flat.type.rooms_count
|
|
4412
4415
|
}, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
4413
|
-
(
|
|
4416
|
+
(fi = Le.flat) != null && fi.request_price ? (openBlock(), createBlock(_sfc_main$9, {
|
|
4414
4417
|
key: 3,
|
|
4415
4418
|
keyName: unref(tr)("price"),
|
|
4416
4419
|
value: unref(tr)("Request Price")
|
|
4417
|
-
}, null, 8, ["keyName", "value"])) : (
|
|
4420
|
+
}, null, 8, ["keyName", "value"])) : (mi = Le.flat) != null && mi.offer_price ? (openBlock(), createBlock(_sfc_main$9, {
|
|
4418
4421
|
key: 4,
|
|
4419
4422
|
keyName: unref(tr)("price"),
|
|
4420
|
-
value: unref(getPrice)(Number((
|
|
4423
|
+
value: unref(getPrice)(Number((gi = Le.flat) == null ? void 0 : gi.offer_price))
|
|
4421
4424
|
}, {
|
|
4422
4425
|
top: withCtx(() => {
|
|
4423
4426
|
var ci;
|
|
@@ -4432,17 +4435,17 @@ const FancyBoxComp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_r
|
|
|
4432
4435
|
createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
|
|
4433
4436
|
]),
|
|
4434
4437
|
_: 1
|
|
4435
|
-
}, 8, ["keyName", "value"])) : (
|
|
4438
|
+
}, 8, ["keyName", "value"])) : (vi = Le.flat) != null && vi.price && Number(Le.flat.price) > 0 ? (openBlock(), createBlock(_sfc_main$9, {
|
|
4436
4439
|
key: 5,
|
|
4437
4440
|
keyName: unref(tr)("price"),
|
|
4438
|
-
value: unref(getPrice)(Number((
|
|
4441
|
+
value: unref(getPrice)(Number((bi = Le.flat) == null ? void 0 : bi.price))
|
|
4439
4442
|
}, {
|
|
4440
4443
|
sufix: withCtx(() => [
|
|
4441
4444
|
createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
|
|
4442
4445
|
]),
|
|
4443
4446
|
_: 1
|
|
4444
4447
|
}, 8, ["keyName", "value"])) : createCommentVNode("", !0),
|
|
4445
|
-
(
|
|
4448
|
+
(wi = (_i = (yi = Le.flat) == null ? void 0 : yi.type) == null ? void 0 : _i.other) != null && wi.length ? (openBlock(!0), createElementBlock(Fragment, { key: 6 }, renderList(Le.flat.type.other, (ci) => (openBlock(), createBlock(_sfc_main$9, {
|
|
4446
4449
|
keyName: ci.key,
|
|
4447
4450
|
value: ci.value
|
|
4448
4451
|
}, null, 8, ["keyName", "value"]))), 256)) : createCommentVNode("", !0)
|
|
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
actions: ActionItem[] | undefined;
|
|
8
8
|
projectMeta: ProjectMeta[] | undefined;
|
|
9
9
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
-
changeComponent: (flowComponent: "" | "
|
|
10
|
+
changeComponent: (flowComponent: "" | "tooltip" | "flat" | "floor" | "block", hoveredData: any) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<{
|
|
12
12
|
project: ProjectInterface | undefined;
|
|
13
13
|
floors: FloorItem[] | undefined;
|
|
@@ -16,6 +16,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
16
16
|
actions: ActionItem[] | undefined;
|
|
17
17
|
projectMeta: ProjectMeta[] | undefined;
|
|
18
18
|
}> & Readonly<{
|
|
19
|
-
onChangeComponent?: ((flowComponent: "" | "
|
|
19
|
+
onChangeComponent?: ((flowComponent: "" | "tooltip" | "flat" | "floor" | "block", hoveredData: any) => any) | undefined;
|
|
20
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
export default _default;
|