ire-preview 3.2.18 → 3.2.19

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
@@ -597,7 +597,7 @@ const tr = (Be) => {
597
597
  }, _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
598
  key: 0,
599
599
  class: "ire-rounded-lg ire-bg-gray-100 ire-p-6"
600
- }, _hoisted_7$7 = {
600
+ }, _hoisted_7$8 = {
601
601
  key: 0,
602
602
  class: "irep-tooltip-1__floor-conf !ire-text-2xl"
603
603
  }, _hoisted_8$6 = { key: 1 }, _hoisted_9$6 = {
@@ -647,7 +647,7 @@ const tr = (Be) => {
647
647
  createElementVNode("div", _hoisted_5$a, toDisplayString(unref(tr)("floor")), 1)
648
648
  ]),
649
649
  (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$7, toDisplayString(ke.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_8$6, [
650
+ ke.value ? (openBlock(), createElementBlock("div", _hoisted_7$8, toDisplayString(ke.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_8$6, [
651
651
  (Ae = (Ie = Be.hoveredData) == null ? void 0 : Ie.counts) != null && Ae.available ? (openBlock(), createElementBlock("div", _hoisted_9$6, [
652
652
  createElementVNode("div", _hoisted_10$6, toDisplayString(((je = (ze = Be.hoveredData) == null ? void 0 : ze.counts) == null ? void 0 : je.available) || 0), 1),
653
653
  createElementVNode("div", _hoisted_11$4, toDisplayString(unref(tr)("available")), 1)
@@ -714,7 +714,7 @@ const tr = (Be) => {
714
714
  }, _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
715
  key: 0,
716
716
  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$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 = {
717
+ }, _hoisted_5$9 = { key: 1 }, _hoisted_6$7 = { class: "irep-tooltip-2__floor-starting ire-text-sm ire-text-gray-400" }, _hoisted_7$7 = { 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
718
  key: 1,
719
719
  class: "irep-tooltip-2__block ire-flex ire-items-center ire-gap-3 ire-p-4 !ire-text-sm"
720
720
  }, _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 +767,7 @@ const tr = (Be) => {
767
767
  De[0] || (De[0] = createElementVNode("span", null, "|", -1)),
768
768
  Ne.value ? (openBlock(), createElementBlock("div", _hoisted_4$e, toDisplayString(Ne.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_5$9, [
769
769
  createElementVNode("div", _hoisted_6$7, toDisplayString(unref(tr)("starting from")) + ": ", 1),
770
- createElementVNode("div", _hoisted_7$6, [
770
+ createElementVNode("div", _hoisted_7$7, [
771
771
  createTextVNode(toDisplayString(unref(getPrice)(+((Ie = (Re = Be.hoveredData) == null ? void 0 : Re.counts) == null ? void 0 : Ie.minimum_price) || 0)) + " ", 1),
772
772
  createElementVNode("span", _hoisted_8$5, toDisplayString(unref(currencySymbol)()), 1)
773
773
  ])
@@ -834,7 +834,7 @@ const tr = (Be) => {
834
834
  }, _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
835
  key: 1,
836
836
  class: "irep-tooltip-3__block ire-flex ire-items-center ire-gap-3"
837
- }, _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 = {
837
+ }, _hoisted_7$6 = { 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
838
  key: 2,
839
839
  class: "irep-tooltip-3__flat ire-flex ire-w-full ire-flex-col ire-items-center ire-gap-3"
840
840
  }, _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 +861,7 @@ const tr = (Be) => {
861
861
  createElementVNode("div", _hoisted_5$8, toDisplayString(unref(tr)("floor")), 1)
862
862
  ])
863
863
  ])) : Be.type === "block" ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
864
- createElementVNode("div", _hoisted_7$5, [
864
+ createElementVNode("div", _hoisted_7$6, [
865
865
  createElementVNode("div", _hoisted_8$4, toDisplayString((De = Be.hoveredData) == null ? void 0 : De.title), 1)
866
866
  ])
867
867
  ])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_9$4, [
@@ -5459,7 +5459,7 @@ function _sfc_render$a(Be, _e) {
5459
5459
  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
5460
  ])]);
5461
5461
  }
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$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 = {
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$5 = { 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
5463
  key: 1,
5464
5464
  class: "ire-flex ire-items-center ire-gap-3"
5465
5465
  }, _hoisted_10$3 = {
@@ -5551,7 +5551,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
5551
5551
  createElementVNode("div", _hoisted_6$5, [
5552
5552
  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
5553
  ]),
5554
- createElementVNode("div", _hoisted_7$4, [
5554
+ createElementVNode("div", _hoisted_7$5, [
5555
5555
  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
5556
  ])
5557
5557
  ], 64)) : createCommentVNode("", !0)
@@ -5669,10 +5669,10 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
5669
5669
  const ke = _e, $e = Be, Ne = useGlobalStore(), Ve = ref({
5670
5670
  project_id: (Ie = $e.flat) == null ? void 0 : Ie.project_id,
5671
5671
  flat_id: (Ae = $e.flat) == null ? void 0 : Ae.id,
5672
- name: "",
5673
- phone: "",
5674
- email: "",
5675
- comment: ""
5672
+ name: "sagsag",
5673
+ phone: "saggs",
5674
+ email: "sfjn@g.asg",
5675
+ comment: "123123"
5676
5676
  }), De = ref(!1), Le = ref(!1), Re = async () => {
5677
5677
  var je;
5678
5678
  if (De.value) return;
@@ -5690,9 +5690,9 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
5690
5690
  email: "",
5691
5691
  comment: ""
5692
5692
  };
5693
- }, 500), setTimeout(() => {
5693
+ }, 700), setTimeout(() => {
5694
5694
  Le.value = !1;
5695
- }, 5e3)) : (De.value = !1, console.error("Something went wrong!"));
5695
+ }, 4e3)) : (De.value = !1, console.error("Something went wrong!"));
5696
5696
  };
5697
5697
  return (ze, je) => (openBlock(), createElementBlock("form", {
5698
5698
  onSubmit: withModifiers(Re, ["prevent"]),
@@ -5749,21 +5749,12 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
5749
5749
  title: "back",
5750
5750
  onClick: je[4] || (je[4] = (Fe) => ke("hideForm"))
5751
5751
  }),
5752
- createVNode(Transition, {
5753
- name: "ire-fade-in-out",
5754
- mode: "out-in"
5755
- }, {
5756
- default: withCtx(() => [
5757
- Le.value ? createCommentVNode("", !0) : (openBlock(), createBlock(_sfc_main$y, {
5758
- key: 0,
5759
- type: "submit",
5760
- title: "Submit",
5761
- active: "",
5762
- disable: De.value
5763
- }, null, 8, ["disable"]))
5764
- ]),
5765
- _: 1
5766
- })
5752
+ createVNode(_sfc_main$y, {
5753
+ type: "submit",
5754
+ title: "Submit",
5755
+ active: "",
5756
+ disable: De.value || Le.value
5757
+ }, null, 8, ["disable"])
5767
5758
  ])
5768
5759
  ], 32));
5769
5760
  }
@@ -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" | "floor" | "block" | "tooltip", hoveredData: any) => any;
11
+ changeComponent: (flowComponent: "" | "flat" | "tooltip" | "floor" | "block", hoveredData: any) => any;
12
12
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
- onChangeComponent?: ((flowComponent: "" | "flat" | "floor" | "block" | "tooltip", hoveredData: any) => any) | undefined;
13
+ onChangeComponent?: ((flowComponent: "" | "flat" | "tooltip" | "floor" | "block", hoveredData: any) => any) | undefined;
14
14
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
15
  svgRef: HTMLDivElement;
16
16
  }, HTMLDivElement>;
@@ -22,7 +22,7 @@ export declare const useGlobalStore: import('pinia').StoreDefinition<"global", P
22
22
  }>;
23
23
  setData: (data: any) => void;
24
24
  setIrePlaginWp: (val: IrePlagin) => void;
25
- }, "tooltip" | "hoverdSvg" | "shortcodeData" | "irePlaginWp">, Pick<{
25
+ }, "hoverdSvg" | "tooltip" | "shortcodeData" | "irePlaginWp">, Pick<{
26
26
  hoverdSvg: import('vue').Ref<any, any>;
27
27
  tooltip: import('vue').Ref<string, string>;
28
28
  shortcodeData: import('vue').Ref<ShortcodeData | undefined, ShortcodeData | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ire-preview",
3
- "version": "3.2.18",
3
+ "version": "3.2.19",
4
4
  "type": "module",
5
5
  "emitDeclarationOnly": true,
6
6
  "declaration": true,