ire-preview 3.2.39 → 3.2.40

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
@@ -5545,7 +5545,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5545
5545
  }, toDisplayString(Be.title), 3));
5546
5546
  }
5547
5547
  }), _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-min-h-52 ire-overflow-hidden" }, _hoisted_4$a = ["data-fancybox", "href"], _hoisted_5$8 = ["src"], _hoisted_6$5 = { class: "ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full" }, _hoisted_7$4 = { class: "flex ire-flex-wrap ire-items-center ire-justify-center ire-gap-4 ire-p-4 lg:ire-gap-8" }, _hoisted_8$2 = {
5548
- key: 0,
5548
+ key: 1,
5549
5549
  class: "ire-flex ire-flex-wrap ire-items-center ire-gap-3"
5550
5550
  }, _hoisted_9$2 = {
5551
5551
  key: 0,
@@ -5681,7 +5681,8 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5681
5681
  ])
5682
5682
  ]),
5683
5683
  createElementVNode("div", _hoisted_7$4, [
5684
- createElementVNode("div", {
5684
+ ze.value ? (openBlock(), createElementBlock("div", {
5685
+ key: 0,
5685
5686
  class: "ire-flex ire-cursor-pointer ire-items-center ire-justify-center ire-rounded-md ire-p-2 ire-transition-all hover:ire-bg-gray-200 [&_svg]:ire-size-5",
5686
5687
  onClick: Fe
5687
5688
  }, [
@@ -5694,7 +5695,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5694
5695
  ]),
5695
5696
  _: 1
5696
5697
  })
5697
- ]),
5698
+ ])) : createCommentVNode("", !0),
5698
5699
  Ae.value ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
5699
5700
  (Xe = (Ke = (Ye = (Ue = Be.flat) == null ? void 0 : Ue.type) == null ? void 0 : Ye.image_3d) == null ? void 0 : Ke[0]) != null && Xe.url ? (openBlock(), createBlock(_sfc_main$x, {
5700
5701
  key: 0,
@@ -7499,8 +7500,8 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7499
7500
  if (!((ti = $e.value) != null && ti.flats)) return [];
7500
7501
  const Ge = (je.value - 1) * Ae.value, Ze = Ge + Ae.value;
7501
7502
  return Ke.value.slice(Ge, Ze);
7502
- }), Qe = (Ge) => {
7503
- je.value = Ge, De(ze.value, 50), ze.value, setQuery("flats-page", Ge.toString());
7503
+ }), Qe = (Ge, Ze = !0) => {
7504
+ je.value = Ge, ze.value, Ze && De(ze.value, 50), setQuery("flats-page", Ge.toString());
7504
7505
  }, ii = (Ge, Ze) => {
7505
7506
  Le.value = Ge, Re.value = Ze;
7506
7507
  }, ei = (Ge) => {
@@ -7510,7 +7511,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7510
7511
  return watch(
7511
7512
  () => We.value,
7512
7513
  () => {
7513
- je.value = 1, Qe(1);
7514
+ je.value = 1, Qe(1, !1);
7514
7515
  },
7515
7516
  {
7516
7517
  deep: !0
@@ -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.39",
3
+ "version": "3.2.40",
4
4
  "type": "module",
5
5
  "emitDeclarationOnly": true,
6
6
  "declaration": true,