ire-preview 3.2.16 → 3.2.18
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
|
@@ -5675,21 +5675,24 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$a]
|
|
|
5675
5675
|
comment: ""
|
|
5676
5676
|
}), De = ref(!1), Le = ref(!1), Re = async () => {
|
|
5677
5677
|
var je;
|
|
5678
|
+
if (De.value) return;
|
|
5678
5679
|
De.value = !0;
|
|
5679
5680
|
const { data: ze } = await createAxios().post("", {
|
|
5680
5681
|
action: "irep_create_reservation",
|
|
5681
5682
|
nonce: (je = Ne.irePlaginWp) == null ? void 0 : je.nonce,
|
|
5682
5683
|
...Ve.value
|
|
5683
5684
|
});
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5685
|
+
ze != null && ze.success ? (setTimeout(() => {
|
|
5686
|
+
De.value = !1, Le.value = !0, Ve.value = {
|
|
5687
|
+
...Ve.value,
|
|
5688
|
+
name: "",
|
|
5689
|
+
phone: "",
|
|
5690
|
+
email: "",
|
|
5691
|
+
comment: ""
|
|
5692
|
+
};
|
|
5693
|
+
}, 500), setTimeout(() => {
|
|
5691
5694
|
Le.value = !1;
|
|
5692
|
-
}, 5e3)) : console.error("Something went wrong!");
|
|
5695
|
+
}, 5e3)) : (De.value = !1, console.error("Something went wrong!"));
|
|
5693
5696
|
};
|
|
5694
5697
|
return (ze, je) => (openBlock(), createElementBlock("form", {
|
|
5695
5698
|
onSubmit: withModifiers(Re, ["prevent"]),
|
|
@@ -6155,7 +6158,7 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
|
|
|
6155
6158
|
const Ie = (je, Fe, He) => je * (1 - He) + Fe * He, Ae = () => {
|
|
6156
6159
|
if (De) return;
|
|
6157
6160
|
const je = () => {
|
|
6158
|
-
$e.value = Ie($e.value, Le, 0.
|
|
6161
|
+
$e.value = Ie($e.value, Le, 0.06), Ne.value = Ie(Ne.value, Re, 0.06), Math.abs($e.value - Le) > 0.06 || Math.abs(Ne.value - Re) > 0.06 ? De = requestAnimationFrame(je) : De = null;
|
|
6159
6162
|
};
|
|
6160
6163
|
De = requestAnimationFrame(je);
|
|
6161
6164
|
}, ze = (je) => {
|
|
@@ -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: "" | "
|
|
11
|
+
changeComponent: (flowComponent: "" | "flat" | "floor" | "block" | "tooltip", hoveredData: any) => any;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
-
onChangeComponent?: ((flowComponent: "" | "
|
|
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>;
|
|
@@ -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
|
-
}, "
|
|
25
|
+
}, "tooltip" | "hoverdSvg" | "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>;
|