ire-preview 2.0.2 → 2.0.3
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 +10 -7
- package/dist/src/components/demo/form/PreviewSelect.vue.d.ts +1 -1
- package/dist/src/components/demo/preview/BlockPreview.vue.d.ts +2 -2
- package/dist/src/components/demo/preview/FlatPreview.vue.d.ts +2 -2
- package/dist/src/components/demo/preview/FloorPreview.vue.d.ts +2 -2
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -413,7 +413,10 @@ const _hoisted_1$f = {
|
|
|
413
413
|
}, 8, ["hoverdData", "type"]);
|
|
414
414
|
};
|
|
415
415
|
}
|
|
416
|
-
}), _hoisted_1$c = { class: "ire-w-full ire-min-w-[150px] ire-max-w-[200px] ire-border ire-border-slate-200 lg:ire-min-w-[250px]" }, _hoisted_2$5 = {
|
|
416
|
+
}), _hoisted_1$c = { class: "ire-w-full ire-min-w-[150px] ire-max-w-[200px] ire-border ire-border-slate-200 lg:ire-min-w-[250px]" }, _hoisted_2$5 = {
|
|
417
|
+
key: 0,
|
|
418
|
+
class: "label"
|
|
419
|
+
}, _hoisted_3$4 = { class: "ire-relative" }, _hoisted_4$4 = ["value", "disabled"], _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
417
420
|
__name: "PreviewSelect",
|
|
418
421
|
props: /* @__PURE__ */ mergeModels({
|
|
419
422
|
data: {},
|
|
@@ -429,7 +432,7 @@ const _hoisted_1$f = {
|
|
|
429
432
|
setup(o) {
|
|
430
433
|
const e = useModel(o, "modelValue");
|
|
431
434
|
return (t, r) => (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
432
|
-
|
|
435
|
+
t.label ? (openBlock(), createElementBlock("p", _hoisted_2$5, toDisplayString(t.label), 1)) : createCommentVNode("", !0),
|
|
433
436
|
createElementVNode("div", _hoisted_3$4, [
|
|
434
437
|
withDirectives(createElementVNode("select", {
|
|
435
438
|
"onUpdate:modelValue": r[0] || (r[0] = (n) => e.value = n),
|
|
@@ -727,7 +730,7 @@ const Cube = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$1]
|
|
|
727
730
|
createVNode(_sfc_main$b, { onClick: a })
|
|
728
731
|
]),
|
|
729
732
|
default: withCtx(() => {
|
|
730
|
-
var h, c, u, g, m, b, s, f, k, _, v, y, w, $, C, D, x,
|
|
733
|
+
var h, c, u, g, m, b, s, f, k, _, v, y, w, $, C, D, x, N, S, M, j, L, T;
|
|
731
734
|
return [
|
|
732
735
|
createElementVNode("div", _hoisted_1$6, [
|
|
733
736
|
createElementVNode("div", _hoisted_2$3, [
|
|
@@ -736,9 +739,9 @@ const Cube = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$1]
|
|
|
736
739
|
mode: "out-in"
|
|
737
740
|
}, {
|
|
738
741
|
default: withCtx(() => {
|
|
739
|
-
var E, V,
|
|
742
|
+
var E, V, B, R, P, O, I, F, A, H, z, W, K, G, Z, q, U, J, Q, X, Y, ee, te, oe;
|
|
740
743
|
return [
|
|
741
|
-
n.value && ((R = (
|
|
744
|
+
n.value && ((R = (B = (V = (E = i.flat) == null ? void 0 : E.type) == null ? void 0 : V.image_2d) == null ? void 0 : B[p.value]) != null && R.url) ? (openBlock(), createElementBlock("img", {
|
|
742
745
|
key: (F = (I = (O = (P = i.flat) == null ? void 0 : P.type) == null ? void 0 : O.image_2d) == null ? void 0 : I[p.value]) == null ? void 0 : F.url,
|
|
743
746
|
src: (W = (z = (H = (A = i.flat) == null ? void 0 : A.type) == null ? void 0 : H.image_2d) == null ? void 0 : z[p.value]) == null ? void 0 : W.url,
|
|
744
747
|
class: "ire-h-full ire-w-full ire-object-contain ire-object-top lg:ire-h-96 lg:ire-w-96"
|
|
@@ -782,7 +785,7 @@ const Cube = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$1]
|
|
|
782
785
|
class: normalizeClass(["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", {
|
|
783
786
|
"ire-bg-black ire-text-white": p.value === V
|
|
784
787
|
}]),
|
|
785
|
-
onClick: (
|
|
788
|
+
onClick: (B) => p.value = V
|
|
786
789
|
}, toDisplayString(E), 11, _hoisted_8))), 128))
|
|
787
790
|
])) : createCommentVNode("", !0)
|
|
788
791
|
])
|
|
@@ -806,7 +809,7 @@ const Cube = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$1]
|
|
|
806
809
|
l[6] || (l[6] = createElementVNode("p", { class: "!ire-text-xs ire-text-gray-600" }, "Room", -1))
|
|
807
810
|
])) : createCommentVNode("", !0)
|
|
808
811
|
]),
|
|
809
|
-
(S = (
|
|
812
|
+
(S = (N = i.flat) == null ? void 0 : N.type) != null && S.area_m2 ? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
810
813
|
createElementVNode("p", _hoisted_21, [
|
|
811
814
|
createTextVNode(toDisplayString(i.flat.type.area_m2) + " ", 1),
|
|
812
815
|
l[7] || (l[7] = createElementVNode("span", { class: "ire-font-light" }, [
|
|
@@ -14,8 +14,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
label: string;
|
|
18
17
|
placeholder: string;
|
|
18
|
+
label: string;
|
|
19
19
|
clearable: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
export default _default;
|
|
@@ -4,12 +4,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
4
4
|
flats: FlatItem[];
|
|
5
5
|
floors: FloorItem[];
|
|
6
6
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
-
changeComponent: (flow: "" | "
|
|
7
|
+
changeComponent: (flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any;
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<{
|
|
9
9
|
block: BlockItem;
|
|
10
10
|
flats: FlatItem[];
|
|
11
11
|
floors: FloorItem[];
|
|
12
12
|
}> & Readonly<{
|
|
13
|
-
onChangeComponent?: ((flow: "" | "
|
|
13
|
+
onChangeComponent?: ((flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any) | undefined;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -3,11 +3,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
3
3
|
flat: FlatItem | undefined;
|
|
4
4
|
floors: FloorItem[] | undefined;
|
|
5
5
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
-
changeComponent: (flow: "" | "
|
|
6
|
+
changeComponent: (flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any;
|
|
7
7
|
}, string, import('vue').PublicProps, Readonly<{
|
|
8
8
|
flat: FlatItem | undefined;
|
|
9
9
|
floors: FloorItem[] | undefined;
|
|
10
10
|
}> & Readonly<{
|
|
11
|
-
onChangeComponent?: ((flow: "" | "
|
|
11
|
+
onChangeComponent?: ((flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any) | undefined;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -5,13 +5,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
5
5
|
floors: FloorItem[];
|
|
6
6
|
blocks?: BlockItem[];
|
|
7
7
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
-
changeComponent: (flow: "" | "
|
|
8
|
+
changeComponent: (flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<{
|
|
10
10
|
flats: FlatItem[] | undefined;
|
|
11
11
|
floor: FloorItem;
|
|
12
12
|
floors: FloorItem[];
|
|
13
13
|
blocks?: BlockItem[];
|
|
14
14
|
}> & Readonly<{
|
|
15
|
-
onChangeComponent?: ((flow: "" | "
|
|
15
|
+
onChangeComponent?: ((flow: "" | "flat" | "floor" | "block" | "project", hoveredData: any) => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
export default _default;
|