@poni/adjutant-ui 0.0.104 → 0.0.106
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/AdjUploadFile-86rb42Go.cjs +1 -0
- package/dist/AdjUploadFile-DCZf3Y1A.js +713 -0
- package/dist/components/constructor/AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.mock.d.ts +2 -0
- package/dist/components/constructor/AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.stories.d.ts +6 -0
- package/dist/components/constructor/{AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.vue.d.ts → AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.vue.d.ts} +8 -12
- package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.mock.d.ts +1 -1
- package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.stories.d.ts +2 -2
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.mock.d.ts +6 -0
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.stories.d.ts +6 -0
- package/dist/components/constructor/elements/{AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.vue.d.ts → AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.vue.d.ts} +8 -12
- package/dist/components/constructor/elements/{AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsItem.d.ts → AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsItem.d.ts} +3 -3
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsModel.d.ts +4 -0
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsNumber.d.ts +5 -0
- package/dist/components/constructor/elements/{AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsTexture.d.ts → AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsTexture.d.ts} +1 -1
- package/dist/components/constructor/elements/{AdjPersonalizitionConfiguratorElements/TAdjPersonalizitionConfiguratorElementsValue.d.ts → AdjPersonalizationConfiguratorElements/TAdjPersonalizationConfiguratorElementsValue.d.ts} +3 -3
- package/dist/components.cjs +1 -1
- package/dist/components.js +222 -609
- package/dist/constructor.cjs +1 -1
- package/dist/constructor.js +872 -347
- package/dist/plugin/constructor.d.ts +2 -1
- package/dist/plugin/types.d.ts +3 -1
- package/dist/style.css +1 -1
- package/package.json +14 -14
- package/dist/AdjSvgActive-BrJ67q86.js +0 -310
- package/dist/AdjSvgActive-pl2OlG7l.cjs +0 -1
- package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.mock.d.ts +0 -2
- package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.stories.d.ts +0 -6
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.mock.d.ts +0 -6
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.stories.d.ts +0 -6
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsModel.d.ts +0 -4
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsNumber.d.ts +0 -5
package/dist/constructor.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { useWindowSize as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as C, useCssVars as Q, ref as D, openBlock as a, createElementBlock as s, normalizeClass as f, withModifiers as L, createElementVNode as i, normalizeStyle as le, toDisplayString as b, createCommentVNode as y, createBlock as N, createVNode as p, Transition as E, withCtx as M, withDirectives as P, vShow as R, Fragment as j, renderList as $, computed as I, watch as ee, unref as se, useTemplateRef as J, getCurrentInstance as oe, onMounted as de } from "vue";
|
|
2
|
+
import { g as q, m as K, _ as A, k as z, e as ie, A as ne, c as ue, j as W, d as re, i as me, n as ce, o as pe, h as _e, f as Y, a as ve, b as G } from "./AdjUploadFile-DCZf3Y1A.js";
|
|
3
|
+
import { useWindowSize as ge, useMemoize as he, useWindowScroll as fe, useDebounceFn as je, useElementSize as ke } from "@vueuse/core";
|
|
4
|
+
const ye = { class: "adj-top" }, $e = ["src", "alt"], be = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "adj-top__hint adj-hint"
|
|
7
|
-
},
|
|
7
|
+
}, Ve = { class: "adj-hint__wrapper" }, Ce = { class: "adj-text-13" }, we = { class: "adj-text-16" }, Ae = { class: "adj-top__labels adj-labels adj-text-14" }, Ie = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "adj-labels__label"
|
|
10
|
-
},
|
|
10
|
+
}, Te = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "adj-labels__label"
|
|
13
|
-
},
|
|
13
|
+
}, Se = {
|
|
14
14
|
key: 2,
|
|
15
15
|
class: "adj-labels__label"
|
|
16
|
-
},
|
|
16
|
+
}, De = {
|
|
17
17
|
key: 2,
|
|
18
18
|
class: "adj-square adj-square_quantity"
|
|
19
|
-
},
|
|
19
|
+
}, Ne = { class: "adj-top__check" }, ze = { class: "adj-bottom" }, Le = ["innerHTML"], Me = /* @__PURE__ */ C({
|
|
20
20
|
__name: "AdjImageItem",
|
|
21
21
|
props: {
|
|
22
22
|
id: {},
|
|
@@ -40,97 +40,97 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
40
40
|
centerName: { type: Boolean, default: !1 }
|
|
41
41
|
},
|
|
42
42
|
emits: ["click", "clickZoom", "clickDetail", "clickClose", "clickPlus"],
|
|
43
|
-
setup(
|
|
43
|
+
setup(k, { emit: v }) {
|
|
44
44
|
Q((t) => ({
|
|
45
45
|
"69e20140": t.width
|
|
46
46
|
}));
|
|
47
|
-
const
|
|
48
|
-
function
|
|
49
|
-
|
|
47
|
+
const n = v, r = D(!1);
|
|
48
|
+
function l(t) {
|
|
49
|
+
r.value = t;
|
|
50
50
|
}
|
|
51
|
-
return (t, e) => (
|
|
52
|
-
class:
|
|
53
|
-
"adj-image-item_hovered":
|
|
51
|
+
return (t, e) => (a(), s("div", {
|
|
52
|
+
class: f(["adj-image-item", {
|
|
53
|
+
"adj-image-item_hovered": r.value,
|
|
54
54
|
"adj-image-item_checked": t.checked,
|
|
55
55
|
"adj-image-item_bordered": t.bordered
|
|
56
56
|
}]),
|
|
57
|
-
onClick: e[5] || (e[5] =
|
|
58
|
-
onMouseenter: e[6] || (e[6] = (
|
|
59
|
-
onMouseleave: e[7] || (e[7] = (
|
|
57
|
+
onClick: e[5] || (e[5] = L((d) => n("click"), ["stop"])),
|
|
58
|
+
onMouseenter: e[6] || (e[6] = (d) => l(!0)),
|
|
59
|
+
onMouseleave: e[7] || (e[7] = (d) => l(!1))
|
|
60
60
|
}, [
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
i("div", ye, [
|
|
62
|
+
i("img", {
|
|
63
63
|
class: "adj-top__image",
|
|
64
|
-
style:
|
|
64
|
+
style: le({ aspectRatio: t.aspectRatio }),
|
|
65
65
|
src: t.image,
|
|
66
66
|
alt: t.name
|
|
67
|
-
}, null, 12,
|
|
68
|
-
t.hints.length > 0 ? (
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
}, null, 12, $e),
|
|
68
|
+
t.hints.length > 0 ? (a(), s("div", be, [
|
|
69
|
+
i("div", Ve, [
|
|
70
|
+
i("div", Ce, b(t.hints[0]), 1),
|
|
71
|
+
i("div", we, b(t.hints[1]), 1)
|
|
72
72
|
])
|
|
73
|
-
])) :
|
|
74
|
-
|
|
75
|
-
t.labelSale ? (
|
|
76
|
-
t.labelNew ? (
|
|
77
|
-
t.labelCmyk ? (
|
|
73
|
+
])) : y("", !0),
|
|
74
|
+
i("div", Ae, [
|
|
75
|
+
t.labelSale ? (a(), s("div", Ie, "Sale")) : y("", !0),
|
|
76
|
+
t.labelNew ? (a(), s("div", Te, "NEW")) : y("", !0),
|
|
77
|
+
t.labelCmyk ? (a(), s("div", Se, "CMYK")) : y("", !0)
|
|
78
78
|
]),
|
|
79
|
-
t.buttonClose ? (
|
|
79
|
+
t.buttonClose ? (a(), s("div", {
|
|
80
80
|
key: 1,
|
|
81
81
|
class: "adj-square adj-square_close",
|
|
82
|
-
onClick: e[0] || (e[0] =
|
|
82
|
+
onClick: e[0] || (e[0] = L((d) => t.$emit("clickClose"), ["stop"]))
|
|
83
83
|
}, e[8] || (e[8] = [
|
|
84
|
-
|
|
85
|
-
]))) :
|
|
86
|
-
t.labelQuantity ? (
|
|
87
|
-
t.buttonPlus ? (
|
|
84
|
+
i("i", { className: "icon-close" }, null, -1)
|
|
85
|
+
]))) : y("", !0),
|
|
86
|
+
t.labelQuantity ? (a(), s("div", De, b(t.quantity), 1)) : y("", !0),
|
|
87
|
+
t.buttonPlus ? (a(), s("div", {
|
|
88
88
|
key: 3,
|
|
89
89
|
class: "adj-square adj-square_plus",
|
|
90
|
-
onClick: e[1] || (e[1] =
|
|
90
|
+
onClick: e[1] || (e[1] = L((d) => t.$emit("clickPlus"), ["stop"]))
|
|
91
91
|
}, e[9] || (e[9] = [
|
|
92
|
-
|
|
93
|
-
]))) :
|
|
94
|
-
|
|
92
|
+
i("i", { className: "icon-plus" }, null, -1)
|
|
93
|
+
]))) : y("", !0),
|
|
94
|
+
i("div", {
|
|
95
95
|
class: "adj-top__buttons",
|
|
96
|
-
onClick: e[4] || (e[4] =
|
|
96
|
+
onClick: e[4] || (e[4] = L(() => {
|
|
97
97
|
}, ["stop"]))
|
|
98
98
|
}, [
|
|
99
|
-
t.buttonZoom ? (
|
|
99
|
+
t.buttonZoom ? (a(), N(q, {
|
|
100
100
|
key: 0,
|
|
101
101
|
iconName: "icon-zoom",
|
|
102
|
-
onClick: e[2] || (e[2] = (
|
|
103
|
-
})) :
|
|
104
|
-
t.buttonDetail ? (
|
|
102
|
+
onClick: e[2] || (e[2] = (d) => t.$emit("clickZoom"))
|
|
103
|
+
})) : y("", !0),
|
|
104
|
+
t.buttonDetail ? (a(), N(q, {
|
|
105
105
|
key: 1,
|
|
106
106
|
iconName: "icon-menu-burger",
|
|
107
|
-
onClick: e[3] || (e[3] = (
|
|
108
|
-
})) :
|
|
107
|
+
onClick: e[3] || (e[3] = (d) => t.$emit("clickDetail"))
|
|
108
|
+
})) : y("", !0)
|
|
109
109
|
]),
|
|
110
|
-
|
|
111
|
-
default:
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
p(E, { name: "adj-fade" }, {
|
|
111
|
+
default: M(() => [
|
|
112
|
+
P(i("div", Ne, [
|
|
113
|
+
p(K)
|
|
114
114
|
], 512), [
|
|
115
|
-
[
|
|
115
|
+
[R, t.checked]
|
|
116
116
|
])
|
|
117
117
|
]),
|
|
118
118
|
_: 1
|
|
119
119
|
})
|
|
120
120
|
]),
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
class:
|
|
124
|
-
},
|
|
125
|
-
(
|
|
126
|
-
key:
|
|
121
|
+
i("div", ze, [
|
|
122
|
+
i("div", {
|
|
123
|
+
class: f(["adj-bottom__title adj-text-16", { "adj-bottom__title_center": t.centerName }])
|
|
124
|
+
}, b(t.name), 3),
|
|
125
|
+
(a(!0), s(j, null, $(t.subnames, (d, u) => (a(), s("div", {
|
|
126
|
+
key: u,
|
|
127
127
|
class: "adj-bottom__subtitle adj-text-13",
|
|
128
|
-
innerHTML:
|
|
129
|
-
}, null, 8,
|
|
128
|
+
innerHTML: d
|
|
129
|
+
}, null, 8, Le))), 128))
|
|
130
130
|
])
|
|
131
131
|
], 34));
|
|
132
132
|
}
|
|
133
|
-
}),
|
|
133
|
+
}), F = /* @__PURE__ */ A(Me, [["__scopeId", "data-v-7dafde96"]]), Be = { class: "adj-blocks" }, qe = /* @__PURE__ */ C({
|
|
134
134
|
__name: "AdjBlocks",
|
|
135
135
|
props: {
|
|
136
136
|
modelValue: {},
|
|
@@ -138,8 +138,8 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
138
138
|
skeletonQty: { default: 8 }
|
|
139
139
|
},
|
|
140
140
|
emits: ["update:modelValue", "clickZoom", "clickDetail"],
|
|
141
|
-
setup(
|
|
142
|
-
const
|
|
141
|
+
setup(k) {
|
|
142
|
+
const v = [
|
|
143
143
|
{
|
|
144
144
|
aspectRatio: "1.43"
|
|
145
145
|
},
|
|
@@ -169,37 +169,37 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
169
169
|
width: "60%"
|
|
170
170
|
}
|
|
171
171
|
];
|
|
172
|
-
return (
|
|
173
|
-
|
|
172
|
+
return (n, r) => (a(), s("div", Be, [
|
|
173
|
+
n.items.length > 0 ? (a(!0), s(j, { key: 0 }, $(n.items, (l, t) => {
|
|
174
174
|
var e;
|
|
175
|
-
return
|
|
175
|
+
return a(), s("div", {
|
|
176
176
|
class: "adj-blocks__item",
|
|
177
177
|
key: t
|
|
178
178
|
}, [
|
|
179
|
-
|
|
180
|
-
id:
|
|
181
|
-
image:
|
|
182
|
-
name:
|
|
183
|
-
subnames:
|
|
184
|
-
checked:
|
|
185
|
-
labelNew:
|
|
186
|
-
labelSale:
|
|
179
|
+
p(F, {
|
|
180
|
+
id: l.id,
|
|
181
|
+
image: l.image,
|
|
182
|
+
name: l.name,
|
|
183
|
+
subnames: l.subnames,
|
|
184
|
+
checked: l.id == ((e = n.modelValue) == null ? void 0 : e.id),
|
|
185
|
+
labelNew: l.labelNew,
|
|
186
|
+
labelSale: l.labelSale,
|
|
187
187
|
buttonZoom: "",
|
|
188
188
|
buttonDetail: "",
|
|
189
|
-
onClick: (
|
|
190
|
-
onClickZoom: (
|
|
191
|
-
onClickDetail: (
|
|
189
|
+
onClick: (d) => n.$emit("update:modelValue", l),
|
|
190
|
+
onClickZoom: (d) => n.$emit("clickZoom", l),
|
|
191
|
+
onClickDetail: (d) => n.$emit("clickDetail", l)
|
|
192
192
|
}, null, 8, ["id", "image", "name", "subnames", "checked", "labelNew", "labelSale", "onClick", "onClickZoom", "onClickDetail"])
|
|
193
193
|
]);
|
|
194
|
-
}), 128)) : (
|
|
195
|
-
key:
|
|
194
|
+
}), 128)) : (a(!0), s(j, { key: 1 }, $(n.skeletonQty, (l) => (a(), s("div", {
|
|
195
|
+
key: l,
|
|
196
196
|
class: "adj-blocks__item"
|
|
197
197
|
}, [
|
|
198
|
-
|
|
198
|
+
p(z, { loaders: v })
|
|
199
199
|
]))), 128))
|
|
200
200
|
]));
|
|
201
201
|
}
|
|
202
|
-
}),
|
|
202
|
+
}), $a = /* @__PURE__ */ A(qe, [["__scopeId", "data-v-ceba5569"]]), Pe = { class: "adj-top" }, Re = ["src", "alt"], Ue = ["src"], He = { class: "adj-top__check" }, Qe = { class: "adj-top__icon-buttons" }, Ee = { class: "adj-bottom" }, Fe = { class: "adj-bottom__title adj-text-16" }, Ze = /* @__PURE__ */ C({
|
|
203
203
|
__name: "AdjCoverItem",
|
|
204
204
|
props: {
|
|
205
205
|
id: {},
|
|
@@ -215,93 +215,93 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
215
215
|
width: { default: "100%" }
|
|
216
216
|
},
|
|
217
217
|
emits: ["click", "switchCorner"],
|
|
218
|
-
setup(
|
|
219
|
-
Q((
|
|
220
|
-
"36b60755":
|
|
218
|
+
setup(k, { emit: v }) {
|
|
219
|
+
Q((_) => ({
|
|
220
|
+
"36b60755": _.width
|
|
221
221
|
}));
|
|
222
|
-
const
|
|
222
|
+
const n = k, r = v, l = D(!1);
|
|
223
223
|
let t = null;
|
|
224
|
-
const e =
|
|
225
|
-
() =>
|
|
226
|
-
),
|
|
227
|
-
function c(
|
|
228
|
-
|
|
224
|
+
const e = D(0), d = I(
|
|
225
|
+
() => n.duration / (n.images.length - 1) * 1e3
|
|
226
|
+
), u = I(() => n.images[e.value] ? n.images[e.value] : "");
|
|
227
|
+
function c(_) {
|
|
228
|
+
l.value = _, t == null && m();
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function m() {
|
|
231
231
|
t = window.setTimeout(() => {
|
|
232
|
-
|
|
233
|
-
},
|
|
232
|
+
l.value ? V() : o();
|
|
233
|
+
}, d.value);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
e.value <
|
|
235
|
+
function V() {
|
|
236
|
+
e.value < n.images.length - 1 ? (e.value++, m()) : t = null;
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
e.value > 0 ? (e.value--,
|
|
238
|
+
function o() {
|
|
239
|
+
e.value > 0 ? (e.value--, m()) : t = null;
|
|
240
240
|
}
|
|
241
|
-
return (
|
|
242
|
-
class:
|
|
243
|
-
"adj-cover-item_hovered":
|
|
244
|
-
"adj-cover-item_checked":
|
|
245
|
-
"adj-cover-item_underlined":
|
|
241
|
+
return (_, g) => (a(), s("div", {
|
|
242
|
+
class: f(["adj-cover-item", {
|
|
243
|
+
"adj-cover-item_hovered": l.value,
|
|
244
|
+
"adj-cover-item_checked": _.checked,
|
|
245
|
+
"adj-cover-item_underlined": _.underlined
|
|
246
246
|
}]),
|
|
247
|
-
onClick:
|
|
248
|
-
onMouseenter:
|
|
249
|
-
onMouseleave:
|
|
247
|
+
onClick: g[2] || (g[2] = L((T) => r("click", _.modelValue), ["stop"])),
|
|
248
|
+
onMouseenter: g[3] || (g[3] = (T) => c(!0)),
|
|
249
|
+
onMouseleave: g[4] || (g[4] = (T) => c(!1))
|
|
250
250
|
}, [
|
|
251
|
-
|
|
252
|
-
|
|
251
|
+
i("div", Pe, [
|
|
252
|
+
i("img", {
|
|
253
253
|
class: "adj-top__image",
|
|
254
|
-
src:
|
|
255
|
-
alt:
|
|
256
|
-
}, null, 8,
|
|
257
|
-
(
|
|
254
|
+
src: u.value,
|
|
255
|
+
alt: _.name
|
|
256
|
+
}, null, 8, Re),
|
|
257
|
+
(a(!0), s(j, null, $(_.images, (T) => P((a(), s("img", {
|
|
258
258
|
class: "adj-top__image-cache",
|
|
259
|
-
key:
|
|
260
|
-
src:
|
|
261
|
-
}, null, 8,
|
|
262
|
-
[
|
|
259
|
+
key: T,
|
|
260
|
+
src: T
|
|
261
|
+
}, null, 8, Ue)), [
|
|
262
|
+
[R, !1]
|
|
263
263
|
])), 128)),
|
|
264
|
-
|
|
265
|
-
default:
|
|
266
|
-
|
|
267
|
-
|
|
264
|
+
p(E, { name: "adj-fade" }, {
|
|
265
|
+
default: M(() => [
|
|
266
|
+
P(i("div", He, [
|
|
267
|
+
p(K)
|
|
268
268
|
], 512), [
|
|
269
|
-
[
|
|
269
|
+
[R, _.checked]
|
|
270
270
|
])
|
|
271
271
|
]),
|
|
272
272
|
_: 1
|
|
273
273
|
}),
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
i("div", Qe, [
|
|
275
|
+
_.hintHtml ? (a(), N(ie, {
|
|
276
276
|
key: 0,
|
|
277
|
-
html:
|
|
277
|
+
html: _.hintHtml,
|
|
278
278
|
"horizontal-position": "left",
|
|
279
279
|
"vertical-position": "bottom",
|
|
280
280
|
"modal-mode": !0
|
|
281
281
|
}, {
|
|
282
|
-
default:
|
|
283
|
-
|
|
282
|
+
default: M(() => [
|
|
283
|
+
p(q, { iconName: "icon-info" })
|
|
284
284
|
]),
|
|
285
285
|
_: 1
|
|
286
|
-
}, 8, ["html"])) :
|
|
287
|
-
|
|
286
|
+
}, 8, ["html"])) : y("", !0),
|
|
287
|
+
_.showCornerSwitcher && !_.roundedCorner ? (a(), N(q, {
|
|
288
288
|
key: 1,
|
|
289
289
|
iconName: "icon-corner-sharp",
|
|
290
|
-
onClick:
|
|
291
|
-
})) :
|
|
292
|
-
|
|
290
|
+
onClick: g[0] || (g[0] = (T) => r("switchCorner", _.modelValue))
|
|
291
|
+
})) : y("", !0),
|
|
292
|
+
_.showCornerSwitcher && _.roundedCorner ? (a(), N(q, {
|
|
293
293
|
key: 2,
|
|
294
294
|
iconName: "icon-corner-rounded",
|
|
295
|
-
onClick:
|
|
296
|
-
})) :
|
|
295
|
+
onClick: g[1] || (g[1] = (T) => r("switchCorner", _.modelValue))
|
|
296
|
+
})) : y("", !0)
|
|
297
297
|
])
|
|
298
298
|
]),
|
|
299
|
-
|
|
300
|
-
|
|
299
|
+
i("div", Ee, [
|
|
300
|
+
i("div", Fe, b(_.name), 1)
|
|
301
301
|
])
|
|
302
302
|
], 34));
|
|
303
303
|
}
|
|
304
|
-
}),
|
|
304
|
+
}), O = /* @__PURE__ */ A(Ze, [["__scopeId", "data-v-f68f5046"]]), We = { class: "adj-laminates" }, Ye = /* @__PURE__ */ C({
|
|
305
305
|
__name: "AdjLaminates",
|
|
306
306
|
props: {
|
|
307
307
|
modelValue: {},
|
|
@@ -309,40 +309,40 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
309
309
|
skeletonQty: { default: 2 }
|
|
310
310
|
},
|
|
311
311
|
emits: ["update:modelValue"],
|
|
312
|
-
setup(
|
|
313
|
-
const
|
|
312
|
+
setup(k, { emit: v }) {
|
|
313
|
+
const n = v, r = [
|
|
314
314
|
{ aspectRatio: "0.66", width: "65%" },
|
|
315
315
|
{ marginTop: "20px", height: "26px", width: "120px" }
|
|
316
316
|
];
|
|
317
|
-
return (
|
|
318
|
-
|
|
319
|
-
var
|
|
320
|
-
return
|
|
317
|
+
return (l, t) => (a(), s("div", We, [
|
|
318
|
+
l.items.length > 0 ? (a(!0), s(j, { key: 0 }, $(l.items, (e) => {
|
|
319
|
+
var d;
|
|
320
|
+
return a(), s("div", {
|
|
321
321
|
key: e.id,
|
|
322
322
|
class: "adj-laminates__item"
|
|
323
323
|
}, [
|
|
324
|
-
|
|
324
|
+
p(O, {
|
|
325
325
|
id: e.id,
|
|
326
326
|
name: e.name,
|
|
327
327
|
underlined: "",
|
|
328
|
-
checked: e.id == ((
|
|
328
|
+
checked: e.id == ((d = l.modelValue) == null ? void 0 : d.id),
|
|
329
329
|
images: e.images,
|
|
330
330
|
modelValue: e,
|
|
331
|
-
onClick: (
|
|
331
|
+
onClick: (u) => n("update:modelValue", e)
|
|
332
332
|
}, null, 8, ["id", "name", "checked", "images", "modelValue", "onClick"])
|
|
333
333
|
]);
|
|
334
|
-
}), 128)) : (
|
|
334
|
+
}), 128)) : (a(!0), s(j, { key: 1 }, $(l.skeletonQty, (e) => (a(), s("div", {
|
|
335
335
|
key: e,
|
|
336
336
|
class: "adj-laminates__item"
|
|
337
337
|
}, [
|
|
338
|
-
|
|
339
|
-
loaders:
|
|
338
|
+
p(z, {
|
|
339
|
+
loaders: r,
|
|
340
340
|
centered: !0
|
|
341
341
|
})
|
|
342
342
|
]))), 128))
|
|
343
343
|
]));
|
|
344
344
|
}
|
|
345
|
-
}),
|
|
345
|
+
}), ba = /* @__PURE__ */ A(Ye, [["__scopeId", "data-v-9be5871f"]]), Ge = { class: "adj-materials" }, Ke = /* @__PURE__ */ C({
|
|
346
346
|
__name: "AdjMaterials",
|
|
347
347
|
props: {
|
|
348
348
|
modelValue: {},
|
|
@@ -350,8 +350,8 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
350
350
|
skeletonQty: { default: 30 }
|
|
351
351
|
},
|
|
352
352
|
emits: ["update:modelValue", "clickDetail"],
|
|
353
|
-
setup(
|
|
354
|
-
const
|
|
353
|
+
setup(k) {
|
|
354
|
+
const v = [
|
|
355
355
|
{
|
|
356
356
|
aspectRatio: "1"
|
|
357
357
|
},
|
|
@@ -371,39 +371,39 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
371
371
|
width: "90%"
|
|
372
372
|
}
|
|
373
373
|
];
|
|
374
|
-
return (
|
|
375
|
-
|
|
374
|
+
return (n, r) => (a(), s("div", Ge, [
|
|
375
|
+
n.items.length > 0 ? (a(!0), s(j, { key: 0 }, $(n.items, (l, t) => {
|
|
376
376
|
var e;
|
|
377
|
-
return
|
|
377
|
+
return a(), s("div", {
|
|
378
378
|
class: "adj-materials__item",
|
|
379
379
|
key: t
|
|
380
380
|
}, [
|
|
381
|
-
|
|
382
|
-
id:
|
|
383
|
-
image:
|
|
381
|
+
p(F, {
|
|
382
|
+
id: l.id,
|
|
383
|
+
image: l.image,
|
|
384
384
|
bordered: !0,
|
|
385
385
|
aspectRatio: 1,
|
|
386
|
-
name:
|
|
387
|
-
subnames:
|
|
388
|
-
hints:
|
|
389
|
-
checked:
|
|
390
|
-
labelNew:
|
|
391
|
-
labelCmyk:
|
|
392
|
-
labelSale:
|
|
386
|
+
name: l.name,
|
|
387
|
+
subnames: l.subnames,
|
|
388
|
+
hints: l.hints,
|
|
389
|
+
checked: l.id == ((e = n.modelValue) == null ? void 0 : e.id),
|
|
390
|
+
labelNew: l.labelNew,
|
|
391
|
+
labelCmyk: l.labelCmyk,
|
|
392
|
+
labelSale: l.labelSale,
|
|
393
393
|
buttonDetail: "",
|
|
394
|
-
onClick: (
|
|
395
|
-
onClickDetail: (
|
|
394
|
+
onClick: (d) => n.$emit("update:modelValue", l),
|
|
395
|
+
onClickDetail: (d) => n.$emit("clickDetail", l)
|
|
396
396
|
}, null, 8, ["id", "image", "name", "subnames", "hints", "checked", "labelNew", "labelCmyk", "labelSale", "onClick", "onClickDetail"])
|
|
397
397
|
]);
|
|
398
|
-
}), 128)) : (
|
|
399
|
-
key:
|
|
398
|
+
}), 128)) : (a(!0), s(j, { key: 1 }, $(n.skeletonQty, (l) => (a(), s("div", {
|
|
399
|
+
key: l,
|
|
400
400
|
class: "adj-materials__item"
|
|
401
401
|
}, [
|
|
402
|
-
|
|
402
|
+
p(z, { loaders: v })
|
|
403
403
|
]))), 128))
|
|
404
404
|
]));
|
|
405
405
|
}
|
|
406
|
-
}),
|
|
406
|
+
}), Va = /* @__PURE__ */ A(Ke, [["__scopeId", "data-v-a849395c"]]), Oe = { class: "adj-cover-group-item" }, Je = /* @__PURE__ */ C({
|
|
407
407
|
__name: "AdjCoverGroupItem",
|
|
408
408
|
props: {
|
|
409
409
|
modelValue: {},
|
|
@@ -412,47 +412,47 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
412
412
|
duration: { default: 0 }
|
|
413
413
|
},
|
|
414
414
|
emits: ["update:modelValue"],
|
|
415
|
-
setup(
|
|
416
|
-
const
|
|
417
|
-
function
|
|
415
|
+
setup(k, { emit: v }) {
|
|
416
|
+
const n = k, r = v;
|
|
417
|
+
function l(u) {
|
|
418
418
|
var c;
|
|
419
|
-
if (
|
|
420
|
-
const
|
|
421
|
-
|
|
419
|
+
if (u.id !== ((c = n.modelValue) == null ? void 0 : c.id)) {
|
|
420
|
+
const m = n.items.find((V) => V.id === u.id);
|
|
421
|
+
m && r("update:modelValue", m);
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
function t(
|
|
425
|
-
const c =
|
|
426
|
-
c &&
|
|
424
|
+
function t(u) {
|
|
425
|
+
const c = n.items.find((m) => m.id !== u.id);
|
|
426
|
+
c && r("update:modelValue", c);
|
|
427
427
|
}
|
|
428
|
-
const e =
|
|
429
|
-
let
|
|
430
|
-
return
|
|
431
|
-
var
|
|
432
|
-
return c.id === ((
|
|
433
|
-
}) && (
|
|
434
|
-
}),
|
|
435
|
-
var
|
|
436
|
-
return ((
|
|
428
|
+
const e = I(() => {
|
|
429
|
+
let u = n.items[0];
|
|
430
|
+
return n.modelValue && n.items.find((c) => {
|
|
431
|
+
var m;
|
|
432
|
+
return c.id === ((m = n.modelValue) == null ? void 0 : m.id);
|
|
433
|
+
}) && (u = n.modelValue), u;
|
|
434
|
+
}), d = I(() => {
|
|
435
|
+
var u;
|
|
436
|
+
return ((u = n.modelValue) == null ? void 0 : u.id) === e.value.id;
|
|
437
437
|
});
|
|
438
|
-
return (
|
|
439
|
-
|
|
438
|
+
return (u, c) => (a(), s("div", Oe, [
|
|
439
|
+
p(O, {
|
|
440
440
|
id: e.value.id,
|
|
441
441
|
name: e.value.name,
|
|
442
442
|
hintHtml: e.value.hintHtml,
|
|
443
|
-
showCornerSwitcher:
|
|
443
|
+
showCornerSwitcher: u.items.length === 2 && d.value,
|
|
444
444
|
roundedCorner: e.value.roundedCorner,
|
|
445
|
-
duration:
|
|
446
|
-
checked:
|
|
445
|
+
duration: u.duration,
|
|
446
|
+
checked: d.value,
|
|
447
447
|
images: e.value.images,
|
|
448
448
|
modelValue: e.value,
|
|
449
|
-
width:
|
|
450
|
-
onClick: c[0] || (c[0] = (
|
|
451
|
-
onSwitchCorner: c[1] || (c[1] = (
|
|
449
|
+
width: u.width,
|
|
450
|
+
onClick: c[0] || (c[0] = (m) => l(m)),
|
|
451
|
+
onSwitchCorner: c[1] || (c[1] = (m) => t(m))
|
|
452
452
|
}, null, 8, ["id", "name", "hintHtml", "showCornerSwitcher", "roundedCorner", "duration", "checked", "images", "modelValue", "width"])
|
|
453
453
|
]));
|
|
454
454
|
}
|
|
455
|
-
}),
|
|
455
|
+
}), Xe = { class: "adj-models" }, xe = /* @__PURE__ */ C({
|
|
456
456
|
__name: "AdjModels",
|
|
457
457
|
props: {
|
|
458
458
|
modelValue: {},
|
|
@@ -461,24 +461,24 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
461
461
|
duration: { default: 0 }
|
|
462
462
|
},
|
|
463
463
|
emits: ["update:modelValue"],
|
|
464
|
-
setup(
|
|
465
|
-
const
|
|
466
|
-
return (
|
|
467
|
-
|
|
464
|
+
setup(k, { emit: v }) {
|
|
465
|
+
const n = v;
|
|
466
|
+
return (r, l) => (a(), s("div", Xe, [
|
|
467
|
+
r.groupItems.length > 0 ? (a(!0), s(j, { key: 0 }, $(r.groupItems, (t, e) => (a(), s("div", {
|
|
468
468
|
class: "adj-models__item",
|
|
469
469
|
key: e
|
|
470
470
|
}, [
|
|
471
|
-
|
|
472
|
-
modelValue:
|
|
471
|
+
p(Je, {
|
|
472
|
+
modelValue: r.modelValue,
|
|
473
473
|
items: t,
|
|
474
|
-
duration:
|
|
475
|
-
"onUpdate:modelValue":
|
|
474
|
+
duration: r.duration,
|
|
475
|
+
"onUpdate:modelValue": l[0] || (l[0] = (d) => n("update:modelValue", d))
|
|
476
476
|
}, null, 8, ["modelValue", "items", "duration"])
|
|
477
|
-
]))), 128)) : (
|
|
477
|
+
]))), 128)) : (a(!0), s(j, { key: 1 }, $(r.skeletonQty, (t) => (a(), s("div", {
|
|
478
478
|
key: t,
|
|
479
479
|
class: "adj-models__item"
|
|
480
480
|
}, [
|
|
481
|
-
|
|
481
|
+
p(z, {
|
|
482
482
|
loaders: [
|
|
483
483
|
{ aspectRatio: "0.66", width: "65%" },
|
|
484
484
|
{ marginTop: "20px", height: "26px", width: "120px" }
|
|
@@ -488,7 +488,7 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
488
488
|
]))), 128))
|
|
489
489
|
]));
|
|
490
490
|
}
|
|
491
|
-
}),
|
|
491
|
+
}), Ca = /* @__PURE__ */ A(xe, [["__scopeId", "data-v-16e28efc"]]), et = { class: "adj-navigator-item__top" }, tt = { key: 0 }, at = /* @__PURE__ */ C({
|
|
492
492
|
__name: "AdjNavigatorItem",
|
|
493
493
|
props: {
|
|
494
494
|
id: {},
|
|
@@ -502,47 +502,47 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
502
502
|
loading: { type: Boolean, default: !1 }
|
|
503
503
|
},
|
|
504
504
|
emits: ["click"],
|
|
505
|
-
setup(
|
|
506
|
-
const
|
|
507
|
-
function
|
|
508
|
-
!
|
|
505
|
+
setup(k, { emit: v }) {
|
|
506
|
+
const n = k, r = v;
|
|
507
|
+
function l() {
|
|
508
|
+
!n.loading && n.squareDesign !== "disabled" && r("click");
|
|
509
509
|
}
|
|
510
|
-
return (t, e) => (
|
|
511
|
-
class:
|
|
510
|
+
return (t, e) => (a(), s("div", {
|
|
511
|
+
class: f(["adj-navigator-item", {
|
|
512
512
|
"adj-navigator-item_disabled": t.squareDesign === "disabled",
|
|
513
513
|
"adj-navigator-item_loading": t.loading
|
|
514
514
|
}]),
|
|
515
|
-
onClick:
|
|
515
|
+
onClick: l
|
|
516
516
|
}, [
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
class:
|
|
517
|
+
i("div", et, [
|
|
518
|
+
i("div", {
|
|
519
|
+
class: f(["adj-navigator-item__line", `adj-navigator-item__line_${t.leftLineDesign}`])
|
|
520
520
|
}, null, 2),
|
|
521
|
-
|
|
522
|
-
class:
|
|
521
|
+
i("div", {
|
|
522
|
+
class: f(["adj-navigator-item__square", `adj-navigator-item__square_${t.squareDesign}`])
|
|
523
523
|
}, [
|
|
524
|
-
t.squareType === "id" ? (
|
|
524
|
+
t.squareType === "id" ? (a(), s("span", tt, b(t.id), 1)) : (a(), s("i", {
|
|
525
525
|
key: 1,
|
|
526
|
-
class:
|
|
526
|
+
class: f(t.squareType)
|
|
527
527
|
}, null, 2))
|
|
528
528
|
], 2),
|
|
529
|
-
|
|
530
|
-
class:
|
|
529
|
+
i("div", {
|
|
530
|
+
class: f(["adj-navigator-item__line", `adj-navigator-item__line_${t.rightLineDesign}`])
|
|
531
531
|
}, null, 2)
|
|
532
532
|
]),
|
|
533
|
-
t.showLabel ? (
|
|
533
|
+
t.showLabel ? (a(), s("div", {
|
|
534
534
|
key: 0,
|
|
535
|
-
class:
|
|
536
|
-
},
|
|
535
|
+
class: f(["adj-navigator-item__label", `adj-navigator-item__label_${t.squareDesign}`])
|
|
536
|
+
}, b(t.label), 3)) : y("", !0)
|
|
537
537
|
], 2));
|
|
538
538
|
}
|
|
539
|
-
}),
|
|
539
|
+
}), lt = /* @__PURE__ */ A(at, [["__scopeId", "data-v-1c5e5a3c"]]), st = {
|
|
540
540
|
key: 0,
|
|
541
541
|
class: "adj-navigator-wrapper"
|
|
542
|
-
},
|
|
542
|
+
}, ot = {
|
|
543
543
|
key: 0,
|
|
544
544
|
class: "adj-navigator-wrapper__item-title"
|
|
545
|
-
},
|
|
545
|
+
}, dt = /* @__PURE__ */ C({
|
|
546
546
|
__name: "AdjNavigatorWrapper",
|
|
547
547
|
props: {
|
|
548
548
|
items: {},
|
|
@@ -550,52 +550,52 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
550
550
|
loading: { type: Boolean, default: !1 }
|
|
551
551
|
},
|
|
552
552
|
emits: ["click"],
|
|
553
|
-
setup(
|
|
554
|
-
const
|
|
555
|
-
function
|
|
553
|
+
setup(k) {
|
|
554
|
+
const v = k, { width: n } = ge();
|
|
555
|
+
function r(e) {
|
|
556
556
|
"title" in e[0] || (e[0].leftLineDesign = "hidden");
|
|
557
|
-
const
|
|
558
|
-
"title" in e[
|
|
557
|
+
const d = e.length - 1;
|
|
558
|
+
"title" in e[d] || (e[d].rightLineDesign = "hidden");
|
|
559
559
|
}
|
|
560
|
-
const
|
|
560
|
+
const l = he(
|
|
561
561
|
(e) => {
|
|
562
562
|
if (e.length === 0)
|
|
563
563
|
return [];
|
|
564
|
-
let
|
|
565
|
-
const
|
|
566
|
-
return
|
|
564
|
+
let d = [];
|
|
565
|
+
const u = e.findIndex((c) => "title" in c);
|
|
566
|
+
return u == -1 ? d = e : (u > 0 && d.push({ ...e[u - 1] }), d.push({ ...e[u] }), e[u + 1] !== void 0 && d.push({ ...e[u + 1] })), d;
|
|
567
567
|
}
|
|
568
|
-
), t =
|
|
568
|
+
), t = I(
|
|
569
569
|
() => {
|
|
570
570
|
let e = [];
|
|
571
|
-
return
|
|
571
|
+
return n.value >= 780 ? e = v.items : e = l(v.items), r(e), e;
|
|
572
572
|
}
|
|
573
573
|
);
|
|
574
|
-
return (e,
|
|
575
|
-
(
|
|
576
|
-
key:
|
|
574
|
+
return (e, d) => e.items.length > 0 ? (a(), s("div", st, [
|
|
575
|
+
(a(!0), s(j, null, $(t.value, (u) => (a(), s("div", {
|
|
576
|
+
key: u.step,
|
|
577
577
|
class: "adj-navigator-wrapper__item"
|
|
578
578
|
}, [
|
|
579
|
-
"title" in
|
|
579
|
+
"title" in u ? (a(), s("div", ot, b(u.title), 1)) : (a(), N(lt, {
|
|
580
580
|
key: 1,
|
|
581
|
-
id:
|
|
582
|
-
step:
|
|
583
|
-
squareType:
|
|
584
|
-
squareDesign:
|
|
585
|
-
leftLineDesign:
|
|
586
|
-
rightLineDesign:
|
|
587
|
-
label:
|
|
581
|
+
id: u.id,
|
|
582
|
+
step: u.step,
|
|
583
|
+
squareType: u.squareType,
|
|
584
|
+
squareDesign: u.squareDesign,
|
|
585
|
+
leftLineDesign: u.leftLineDesign,
|
|
586
|
+
rightLineDesign: u.rightLineDesign,
|
|
587
|
+
label: u.label,
|
|
588
588
|
showLabel: e.showLabel,
|
|
589
589
|
loading: e.loading,
|
|
590
|
-
onClick: (c) => e.$emit("click",
|
|
590
|
+
onClick: (c) => e.$emit("click", u)
|
|
591
591
|
}, null, 8, ["id", "step", "squareType", "squareDesign", "leftLineDesign", "rightLineDesign", "label", "showLabel", "loading", "onClick"]))
|
|
592
592
|
]))), 128))
|
|
593
|
-
])) :
|
|
593
|
+
])) : y("", !0);
|
|
594
594
|
}
|
|
595
|
-
}),
|
|
595
|
+
}), X = /* @__PURE__ */ A(dt, [["__scopeId", "data-v-c07fa70c"]]), it = { class: "adj-navigator" }, nt = {
|
|
596
596
|
key: 0,
|
|
597
597
|
class: "adj-navigator__fixed"
|
|
598
|
-
},
|
|
598
|
+
}, ut = { class: "adj-navigator__inline" }, rt = /* @__PURE__ */ C({
|
|
599
599
|
__name: "AdjNavigator",
|
|
600
600
|
props: {
|
|
601
601
|
items: {},
|
|
@@ -603,34 +603,34 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
603
603
|
mobileMarginTop: { default: "0px" }
|
|
604
604
|
},
|
|
605
605
|
emits: ["click"],
|
|
606
|
-
setup(
|
|
607
|
-
Q((
|
|
608
|
-
"69d4e0aa":
|
|
606
|
+
setup(k) {
|
|
607
|
+
Q((r) => ({
|
|
608
|
+
"69d4e0aa": r.mobileMarginTop
|
|
609
609
|
}));
|
|
610
|
-
const { y:
|
|
611
|
-
return (
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
items:
|
|
610
|
+
const { y: v } = fe(), n = I(() => v.value > 90);
|
|
611
|
+
return (r, l) => (a(), s("div", it, [
|
|
612
|
+
n.value ? (a(), s("div", nt, [
|
|
613
|
+
p(X, {
|
|
614
|
+
items: r.items,
|
|
615
615
|
showLabel: !1,
|
|
616
|
-
loading:
|
|
617
|
-
onClick:
|
|
616
|
+
loading: r.loading,
|
|
617
|
+
onClick: l[0] || (l[0] = (t) => r.$emit("click", t))
|
|
618
618
|
}, null, 8, ["items", "loading"])
|
|
619
|
-
])) :
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
items:
|
|
619
|
+
])) : y("", !0),
|
|
620
|
+
i("div", ut, [
|
|
621
|
+
p(X, {
|
|
622
|
+
items: r.items,
|
|
623
623
|
showLabel: !0,
|
|
624
|
-
loading:
|
|
625
|
-
onClick:
|
|
624
|
+
loading: r.loading,
|
|
625
|
+
onClick: l[1] || (l[1] = (t) => r.$emit("click", t))
|
|
626
626
|
}, null, 8, ["items", "loading"])
|
|
627
627
|
])
|
|
628
628
|
]));
|
|
629
629
|
}
|
|
630
|
-
}),
|
|
630
|
+
}), wa = /* @__PURE__ */ A(rt, [["__scopeId", "data-v-aba78aae"]]), mt = { class: "adj-personalizations" }, ct = { class: "adj-personalizations__items" }, pt = {
|
|
631
631
|
key: 0,
|
|
632
632
|
class: "adj-personalizations__item"
|
|
633
|
-
},
|
|
633
|
+
}, _t = /* @__PURE__ */ C({
|
|
634
634
|
__name: "AdjPersonalizations",
|
|
635
635
|
props: {
|
|
636
636
|
modelValue: { default: () => ({}) },
|
|
@@ -638,8 +638,8 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
638
638
|
skeletonQty: { default: 6 }
|
|
639
639
|
},
|
|
640
640
|
emits: ["click", "clickClose", "clickPlus"],
|
|
641
|
-
setup(
|
|
642
|
-
const
|
|
641
|
+
setup(k) {
|
|
642
|
+
const v = k, n = [
|
|
643
643
|
{
|
|
644
644
|
aspectRatio: "1"
|
|
645
645
|
},
|
|
@@ -653,25 +653,25 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
653
653
|
height: "16px",
|
|
654
654
|
width: "60%"
|
|
655
655
|
}
|
|
656
|
-
],
|
|
657
|
-
var
|
|
658
|
-
let t = !1, e = !1,
|
|
659
|
-
return
|
|
660
|
-
...
|
|
656
|
+
], r = I(() => v.items.map((l) => {
|
|
657
|
+
var m;
|
|
658
|
+
let t = !1, e = !1, d = !1, u = !1, c = 0;
|
|
659
|
+
return l.id in v.modelValue && ((m = v.modelValue[l.id]) == null ? void 0 : m.length) > 0 && (c = v.modelValue[l.id].length, u = !0, t = !0, l.required && (t = !1), l.multiple && (d = !0, e = !0)), {
|
|
660
|
+
...l,
|
|
661
661
|
buttonClose: t,
|
|
662
662
|
buttonPlus: e,
|
|
663
|
-
labelQuantity:
|
|
663
|
+
labelQuantity: d,
|
|
664
664
|
quantity: c,
|
|
665
|
-
checked:
|
|
665
|
+
checked: u
|
|
666
666
|
};
|
|
667
667
|
}));
|
|
668
|
-
return (
|
|
669
|
-
|
|
670
|
-
|
|
668
|
+
return (l, t) => (a(), s("div", mt, [
|
|
669
|
+
i("div", ct, [
|
|
670
|
+
l.items.length > 0 ? (a(!0), s(j, { key: 0 }, $(r.value, (e, d) => (a(), s(j, {
|
|
671
671
|
key: e.idNum
|
|
672
672
|
}, [
|
|
673
|
-
e.hidden !== !0 ? (
|
|
674
|
-
|
|
673
|
+
e.hidden !== !0 ? (a(), s("div", pt, [
|
|
674
|
+
p(F, {
|
|
675
675
|
id: e.idNum,
|
|
676
676
|
image: e.image,
|
|
677
677
|
name: e.name,
|
|
@@ -682,24 +682,548 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
682
682
|
quantity: e.quantity,
|
|
683
683
|
checked: e.checked,
|
|
684
684
|
centerName: "",
|
|
685
|
-
onClick: (
|
|
686
|
-
onClickClose: (
|
|
687
|
-
onClickPlus: (
|
|
685
|
+
onClick: (u) => l.$emit("click", l.items[d]),
|
|
686
|
+
onClickClose: (u) => l.$emit("clickClose", l.items[d]),
|
|
687
|
+
onClickPlus: (u) => l.$emit("clickPlus", l.items[d])
|
|
688
688
|
}, null, 8, ["id", "image", "name", "buttonClose", "buttonPlus", "labelQuantity", "quantity", "checked", "onClick", "onClickClose", "onClickPlus"])
|
|
689
|
-
])) :
|
|
690
|
-
], 64))), 128)) : (
|
|
689
|
+
])) : y("", !0)
|
|
690
|
+
], 64))), 128)) : (a(!0), s(j, { key: 1 }, $(l.skeletonQty, (e) => (a(), s("div", {
|
|
691
691
|
key: e,
|
|
692
692
|
class: "adj-personalizations__item"
|
|
693
693
|
}, [
|
|
694
|
-
|
|
695
|
-
loaders:
|
|
694
|
+
p(z, {
|
|
695
|
+
loaders: n,
|
|
696
696
|
centered: ""
|
|
697
697
|
})
|
|
698
698
|
]))), 128))
|
|
699
699
|
])
|
|
700
700
|
]));
|
|
701
701
|
}
|
|
702
|
-
}),
|
|
702
|
+
}), Aa = /* @__PURE__ */ A(_t, [["__scopeId", "data-v-492497f8"]]), vt = { class: "adj-input__field" }, gt = ["value", "disabled"], ht = /* @__PURE__ */ C({
|
|
703
|
+
__name: "AdjInputNumber",
|
|
704
|
+
props: {
|
|
705
|
+
modelValue: { default: 0 },
|
|
706
|
+
disabled: { type: Boolean, default: !1 },
|
|
707
|
+
min: { default: 0 },
|
|
708
|
+
max: { default: 1e5 },
|
|
709
|
+
debounceTime: { default: 0 }
|
|
710
|
+
},
|
|
711
|
+
emits: ["update:modelValue"],
|
|
712
|
+
setup(k, { emit: v }) {
|
|
713
|
+
const n = k, r = v;
|
|
714
|
+
function l(d) {
|
|
715
|
+
return je((u, c) => {
|
|
716
|
+
e(u, c);
|
|
717
|
+
}, d);
|
|
718
|
+
}
|
|
719
|
+
let t = l(n.debounceTime);
|
|
720
|
+
ee(
|
|
721
|
+
() => n.debounceTime,
|
|
722
|
+
() => {
|
|
723
|
+
t = l(n.debounceTime);
|
|
724
|
+
}
|
|
725
|
+
);
|
|
726
|
+
function e(d, u) {
|
|
727
|
+
let c = Number(d);
|
|
728
|
+
c < n.min && (c = n.min), c > n.max && (c = n.max), u.target.value = c, n.modelValue != c && r("update:modelValue", c);
|
|
729
|
+
}
|
|
730
|
+
return (d, u) => (a(), s("div", {
|
|
731
|
+
class: f(["adj-input", {
|
|
732
|
+
"adj-input_disabled": d.disabled
|
|
733
|
+
}])
|
|
734
|
+
}, [
|
|
735
|
+
i("div", vt, [
|
|
736
|
+
i("input", {
|
|
737
|
+
ref: "inp",
|
|
738
|
+
class: "adj-input__input",
|
|
739
|
+
value: d.modelValue,
|
|
740
|
+
disabled: d.disabled,
|
|
741
|
+
type: "number",
|
|
742
|
+
onChange: u[0] || (u[0] = (c) => e(c.target.value, c)),
|
|
743
|
+
onInput: u[1] || (u[1] = (c) => se(t)(c.target.value, c))
|
|
744
|
+
}, null, 40, gt)
|
|
745
|
+
])
|
|
746
|
+
], 2));
|
|
747
|
+
}
|
|
748
|
+
}), ft = /* @__PURE__ */ A(ht, [["__scopeId", "data-v-e3e5ba5c"]]), jt = {
|
|
749
|
+
key: 0,
|
|
750
|
+
class: "adj-select-image-wrapper",
|
|
751
|
+
ref: "refElement"
|
|
752
|
+
}, kt = ["onClick"], yt = ["onMouseenter"], $t = ["src", "alt"], bt = { class: "adj-select-image__check2" }, Vt = { class: "adj-select-image__check" }, Ct = { class: "adj-select-image-item__title adj-text-13" }, wt = { key: 1 }, At = {
|
|
753
|
+
key: 2,
|
|
754
|
+
class: "adj-shadow"
|
|
755
|
+
}, It = { class: "adj-text-14" }, Tt = { class: "adj-select-image__hint" }, St = /* @__PURE__ */ C({
|
|
756
|
+
__name: "AdjSelectImage",
|
|
757
|
+
props: {
|
|
758
|
+
modelValue: {},
|
|
759
|
+
items: {},
|
|
760
|
+
skeletonQty: { default: 30 },
|
|
761
|
+
design: { default: "text" },
|
|
762
|
+
expandText: {},
|
|
763
|
+
foldText: {}
|
|
764
|
+
},
|
|
765
|
+
emits: ["update:modelValue"],
|
|
766
|
+
setup(k) {
|
|
767
|
+
Q((h) => ({
|
|
768
|
+
d9b2170a: d.value,
|
|
769
|
+
"74994cc7": o.value,
|
|
770
|
+
"1e8c82d5": _.value,
|
|
771
|
+
"61c59b34": g.value
|
|
772
|
+
}));
|
|
773
|
+
const v = k, n = J("refElement"), { height: r } = ke(n), l = I(() => {
|
|
774
|
+
let h = [
|
|
775
|
+
{
|
|
776
|
+
aspectRatio: "1"
|
|
777
|
+
}
|
|
778
|
+
];
|
|
779
|
+
return v.design === "text" && (h = [
|
|
780
|
+
{ width: "75px", aspectRatio: "1" },
|
|
781
|
+
{
|
|
782
|
+
marginTop: "10px",
|
|
783
|
+
height: "13px",
|
|
784
|
+
width: "80%"
|
|
785
|
+
}
|
|
786
|
+
]), h;
|
|
787
|
+
}), t = D(!1);
|
|
788
|
+
function e() {
|
|
789
|
+
t.value = !t.value;
|
|
790
|
+
}
|
|
791
|
+
const d = I(() => v.design === "text" ? "unset" : t.value ? r.value + 20 + "px" : "122px"), u = I(() => r.value > 75), c = J("refRoot"), m = D(""), V = D(""), o = D("0px"), _ = D("0px"), g = D("none"), T = I(() => {
|
|
792
|
+
var w;
|
|
793
|
+
const h = oe();
|
|
794
|
+
return (w = h == null ? void 0 : h.type) == null ? void 0 : w.__hmrId;
|
|
795
|
+
});
|
|
796
|
+
function B() {
|
|
797
|
+
const h = document.getElementsByClassName(m.value);
|
|
798
|
+
if (h.length > 0) {
|
|
799
|
+
const w = h[0], { left: S, top: Z } = w.getBoundingClientRect(), H = w.offsetWidth, ae = w.offsetHeight;
|
|
800
|
+
_.value = S + (H - 120) / 2 + "px", o.value = Z + ae + 13 + "px";
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
function U(h, w) {
|
|
804
|
+
v.design !== "text" && (m.value = h, V.value = w, B(), g.value = "block");
|
|
805
|
+
}
|
|
806
|
+
function te() {
|
|
807
|
+
v.design !== "text" && (m.value = "", V.value = "", g.value = "none");
|
|
808
|
+
}
|
|
809
|
+
return de(() => {
|
|
810
|
+
var w;
|
|
811
|
+
window.addEventListener("scroll", B), window.addEventListener("resize", B);
|
|
812
|
+
const h = (w = c.value) == null ? void 0 : w.parentNode;
|
|
813
|
+
h && h.addEventListener("scroll", B);
|
|
814
|
+
}), (h, w) => (a(), s(j, null, [
|
|
815
|
+
i("div", {
|
|
816
|
+
class: f(["adj-select-image", `adj-select-image_${h.design}`]),
|
|
817
|
+
ref: "refRoot"
|
|
818
|
+
}, [
|
|
819
|
+
h.items.length > 0 ? (a(), s("div", jt, [
|
|
820
|
+
(a(!0), s(j, null, $(h.items, (S, Z) => (a(), s("div", {
|
|
821
|
+
class: f([
|
|
822
|
+
"adj-select-image-item",
|
|
823
|
+
{ "adj-select-image-item_checked": S.id === h.modelValue.id }
|
|
824
|
+
]),
|
|
825
|
+
key: Z,
|
|
826
|
+
onClick: (H) => h.$emit("update:modelValue", S)
|
|
827
|
+
}, [
|
|
828
|
+
i("div", {
|
|
829
|
+
class: f(["adj-select-image-item__image adj-effect-overlay-normal", `item-${T.value}-${S.id}`]),
|
|
830
|
+
onMouseenter: L((H) => U(`item-${T.value}-${S.id}`, S.name), ["stop"]),
|
|
831
|
+
onMouseleave: w[0] || (w[0] = L((H) => te(), ["stop"]))
|
|
832
|
+
}, [
|
|
833
|
+
i("img", {
|
|
834
|
+
src: S.image,
|
|
835
|
+
alt: S.name
|
|
836
|
+
}, null, 8, $t),
|
|
837
|
+
p(E, { name: "adj-fade" }, {
|
|
838
|
+
default: M(() => [
|
|
839
|
+
P(i("div", bt, [
|
|
840
|
+
i("div", Vt, [
|
|
841
|
+
p(K)
|
|
842
|
+
])
|
|
843
|
+
], 512), [
|
|
844
|
+
[R, S.id === h.modelValue.id]
|
|
845
|
+
])
|
|
846
|
+
]),
|
|
847
|
+
_: 2
|
|
848
|
+
}, 1024)
|
|
849
|
+
], 42, yt),
|
|
850
|
+
i("div", Ct, b(S.name), 1)
|
|
851
|
+
], 10, kt))), 128))
|
|
852
|
+
], 512)) : (a(), s("div", wt, [
|
|
853
|
+
(a(!0), s(j, null, $(h.skeletonQty, (S) => (a(), s("div", {
|
|
854
|
+
key: S,
|
|
855
|
+
class: "adj-select-image-item"
|
|
856
|
+
}, [
|
|
857
|
+
p(z, {
|
|
858
|
+
loaders: l.value,
|
|
859
|
+
centered: ""
|
|
860
|
+
}, null, 8, ["loaders"])
|
|
861
|
+
]))), 128))
|
|
862
|
+
])),
|
|
863
|
+
h.design === "image" && !t.value && u.value ? (a(), s("div", At)) : y("", !0)
|
|
864
|
+
], 2),
|
|
865
|
+
h.design === "image" && u.value ? (a(), s("div", {
|
|
866
|
+
key: 0,
|
|
867
|
+
class: f(["adj-select-image__expand", { "adj-expand": t.value }]),
|
|
868
|
+
onClick: e
|
|
869
|
+
}, [
|
|
870
|
+
i("span", It, b(t.value ? h.foldText : h.expandText), 1),
|
|
871
|
+
w[1] || (w[1] = i("i", { class: "adj-select-image__expand-icon icon-arrow-down" }, null, -1))
|
|
872
|
+
], 2)) : y("", !0),
|
|
873
|
+
i("div", Tt, [
|
|
874
|
+
p(ne, {
|
|
875
|
+
dark: !1,
|
|
876
|
+
horizontalPosition: "center",
|
|
877
|
+
html: V.value,
|
|
878
|
+
verticalPosition: "bottom",
|
|
879
|
+
width: "120px"
|
|
880
|
+
}, null, 8, ["html"])
|
|
881
|
+
])
|
|
882
|
+
], 64));
|
|
883
|
+
}
|
|
884
|
+
}), x = /* @__PURE__ */ A(St, [["__scopeId", "data-v-fb2fb1c5"]]), Dt = { class: "adj-personalization-configurator-elements adj-element" }, Nt = { class: "adj-element__item" }, zt = {
|
|
885
|
+
key: 0,
|
|
886
|
+
class: "adj-item"
|
|
887
|
+
}, Lt = {
|
|
888
|
+
key: 1,
|
|
889
|
+
class: "adj-item"
|
|
890
|
+
}, Mt = { class: "adj-item__title adj-text-14" }, Bt = {
|
|
891
|
+
key: 2,
|
|
892
|
+
class: "adj-item"
|
|
893
|
+
}, qt = { class: "adj-item__title" }, Pt = {
|
|
894
|
+
key: 3,
|
|
895
|
+
class: "adj-item"
|
|
896
|
+
}, Rt = { class: "adj-item__title" }, Ut = {
|
|
897
|
+
key: 4,
|
|
898
|
+
class: "adj-item"
|
|
899
|
+
}, Ht = { class: "adj-item__title" }, Qt = {
|
|
900
|
+
key: 5,
|
|
901
|
+
class: "adj-item"
|
|
902
|
+
}, Et = { class: "adj-item__title" }, Ft = {
|
|
903
|
+
key: 6,
|
|
904
|
+
class: "adj-item adj-item_selectImage"
|
|
905
|
+
}, Zt = { class: "adj-item adj-item_selectImage-title" }, Wt = { class: "adj-item__title" }, Yt = {
|
|
906
|
+
key: 7,
|
|
907
|
+
class: "adj-item"
|
|
908
|
+
}, Gt = {
|
|
909
|
+
key: 8,
|
|
910
|
+
class: "adj-item"
|
|
911
|
+
}, Kt = { class: "adj-item__title" }, Ot = {
|
|
912
|
+
key: 9,
|
|
913
|
+
class: "adj-item"
|
|
914
|
+
}, Jt = {
|
|
915
|
+
key: 10,
|
|
916
|
+
class: "adj-item"
|
|
917
|
+
}, Xt = /* @__PURE__ */ C({
|
|
918
|
+
__name: "AdjPersonalizationConfiguratorElements",
|
|
919
|
+
props: {
|
|
920
|
+
items: {},
|
|
921
|
+
modelValue: {},
|
|
922
|
+
expandTextAdjSelectImage: {},
|
|
923
|
+
foldTextAdjSelectImage: {},
|
|
924
|
+
textAdjFilterSelect: {}
|
|
925
|
+
},
|
|
926
|
+
emits: ["update:modelValue"],
|
|
927
|
+
setup(k, { emit: v }) {
|
|
928
|
+
const n = k, r = v;
|
|
929
|
+
function l(m, V) {
|
|
930
|
+
r("update:modelValue", { ...n.modelValue, [m]: V });
|
|
931
|
+
}
|
|
932
|
+
function t(m, V) {
|
|
933
|
+
return "id" in m ? V.filter((o) => {
|
|
934
|
+
var _;
|
|
935
|
+
return ((_ = o == null ? void 0 : o.textureRef) == null ? void 0 : _.id) === m.id;
|
|
936
|
+
}) : V;
|
|
937
|
+
}
|
|
938
|
+
const e = I(() => n.items.map((m, V) => m.template !== "selectImage" ? [] : t(
|
|
939
|
+
c.value[V],
|
|
940
|
+
m.values
|
|
941
|
+
)));
|
|
942
|
+
function d(m) {
|
|
943
|
+
return m.reduce((o, _) => {
|
|
944
|
+
var T;
|
|
945
|
+
return (T = _ == null ? void 0 : _.textureRef) != null && T.id && o.findIndex((B) => {
|
|
946
|
+
var U;
|
|
947
|
+
return B.id === ((U = _ == null ? void 0 : _.textureRef) == null ? void 0 : U.id);
|
|
948
|
+
}) === -1 && o.push({
|
|
949
|
+
id: _.textureRef.id,
|
|
950
|
+
name: _.textureRef.name
|
|
951
|
+
}), o;
|
|
952
|
+
}, []).sort((o, _) => o.name > _.name ? 1 : -1);
|
|
953
|
+
}
|
|
954
|
+
const u = I(() => n.items.map((m) => m.template !== "selectImage" ? [] : d(m.values))), c = D([]);
|
|
955
|
+
return ee(
|
|
956
|
+
u,
|
|
957
|
+
() => {
|
|
958
|
+
const m = u.value.map(() => ({}));
|
|
959
|
+
m.length !== c.value.length && (c.value = m);
|
|
960
|
+
},
|
|
961
|
+
{ immediate: !0 }
|
|
962
|
+
), (m, V) => (a(), s("div", Dt, [
|
|
963
|
+
(a(!0), s(j, null, $(m.items, (o, _) => (a(), s(j, {
|
|
964
|
+
key: o.id
|
|
965
|
+
}, [
|
|
966
|
+
i("div", Nt, [
|
|
967
|
+
o.template === "checkbox" ? (a(), s("div", zt, [
|
|
968
|
+
V[0] || (V[0] = i("div", { class: "adj-item__title" }, null, -1)),
|
|
969
|
+
i("div", {
|
|
970
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
971
|
+
}, [
|
|
972
|
+
p(ue, {
|
|
973
|
+
items: o.values,
|
|
974
|
+
title: o.name,
|
|
975
|
+
modelValue: m.modelValue[o.id],
|
|
976
|
+
"onUpdate:modelValue": (g) => l(o.id, g)
|
|
977
|
+
}, null, 8, ["items", "title", "modelValue", "onUpdate:modelValue"])
|
|
978
|
+
], 2)
|
|
979
|
+
])) : o.template === "inputNumber" ? (a(), s("div", Lt, [
|
|
980
|
+
i("div", Mt, b(o.name), 1),
|
|
981
|
+
i("div", {
|
|
982
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
983
|
+
}, [
|
|
984
|
+
p(ft, {
|
|
985
|
+
max: o.values[0].max,
|
|
986
|
+
min: o.values[0].min,
|
|
987
|
+
debounceTime: 2e3,
|
|
988
|
+
modelValue: m.modelValue[o.id].value,
|
|
989
|
+
"onUpdate:modelValue": (g) => l(o.id, { ...m.modelValue[o.id], value: g })
|
|
990
|
+
}, null, 8, ["max", "min", "modelValue", "onUpdate:modelValue"])
|
|
991
|
+
], 2)
|
|
992
|
+
])) : o.template === "number" ? (a(), s("div", Bt, [
|
|
993
|
+
i("div", qt, b(o.name), 1),
|
|
994
|
+
i("div", {
|
|
995
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
996
|
+
}, b(o.values[0].value), 3)
|
|
997
|
+
])) : o.template === "selectModern" ? (a(), s("div", Pt, [
|
|
998
|
+
i("div", Rt, b(o.name), 1),
|
|
999
|
+
i("div", {
|
|
1000
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
1001
|
+
}, [
|
|
1002
|
+
p(W, {
|
|
1003
|
+
design: "text",
|
|
1004
|
+
items: o.values,
|
|
1005
|
+
modelValue: m.modelValue[o.id],
|
|
1006
|
+
"onUpdate:modelValue": (g) => l(o.id, g)
|
|
1007
|
+
}, null, 8, ["items", "modelValue", "onUpdate:modelValue"])
|
|
1008
|
+
], 2)
|
|
1009
|
+
])) : o.template === "selectModernBackground" ? (a(), s("div", Ut, [
|
|
1010
|
+
i("div", Ht, b(o.name), 1),
|
|
1011
|
+
i("div", {
|
|
1012
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
1013
|
+
}, [
|
|
1014
|
+
p(W, {
|
|
1015
|
+
design: "background",
|
|
1016
|
+
items: o.values,
|
|
1017
|
+
modelValue: m.modelValue[o.id],
|
|
1018
|
+
"onUpdate:modelValue": (g) => l(o.id, g)
|
|
1019
|
+
}, null, 8, ["items", "modelValue", "onUpdate:modelValue"])
|
|
1020
|
+
], 2)
|
|
1021
|
+
])) : o.template === "selectModernImage" ? (a(), s("div", Qt, [
|
|
1022
|
+
i("div", Et, b(o.name), 1),
|
|
1023
|
+
i("div", {
|
|
1024
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
1025
|
+
}, [
|
|
1026
|
+
p(W, {
|
|
1027
|
+
design: "image",
|
|
1028
|
+
items: o.values,
|
|
1029
|
+
modelValue: m.modelValue[o.id],
|
|
1030
|
+
"onUpdate:modelValue": (g) => l(o.id, g)
|
|
1031
|
+
}, null, 8, ["items", "modelValue", "onUpdate:modelValue"])
|
|
1032
|
+
], 2)
|
|
1033
|
+
])) : o.template === "selectImage" ? (a(), s("div", Ft, [
|
|
1034
|
+
i("div", Zt, [
|
|
1035
|
+
i("div", Wt, b(o.name), 1),
|
|
1036
|
+
u.value[_].length > 0 ? (a(), N(re, {
|
|
1037
|
+
key: 0,
|
|
1038
|
+
items: u.value[_],
|
|
1039
|
+
modelValue: c.value[_],
|
|
1040
|
+
"onUpdate:modelValue": (g) => c.value[_] = g,
|
|
1041
|
+
position: "left",
|
|
1042
|
+
title: m.textAdjFilterSelect
|
|
1043
|
+
}, null, 8, ["items", "modelValue", "onUpdate:modelValue", "title"])) : y("", !0)
|
|
1044
|
+
]),
|
|
1045
|
+
i("div", {
|
|
1046
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
1047
|
+
}, [
|
|
1048
|
+
p(x, {
|
|
1049
|
+
design: "image",
|
|
1050
|
+
items: e.value[_],
|
|
1051
|
+
modelValue: m.modelValue[o.id],
|
|
1052
|
+
expandText: m.expandTextAdjSelectImage,
|
|
1053
|
+
foldText: m.foldTextAdjSelectImage,
|
|
1054
|
+
"onUpdate:modelValue": (g) => l(o.id, g)
|
|
1055
|
+
}, null, 8, ["items", "modelValue", "expandText", "foldText", "onUpdate:modelValue"])
|
|
1056
|
+
], 2)
|
|
1057
|
+
])) : o.template === "selectImageText" ? (a(), s("div", Yt, [
|
|
1058
|
+
i("div", {
|
|
1059
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
1060
|
+
}, [
|
|
1061
|
+
p(x, {
|
|
1062
|
+
design: "text",
|
|
1063
|
+
items: o.values,
|
|
1064
|
+
modelValue: m.modelValue[o.id],
|
|
1065
|
+
"onUpdate:modelValue": (g) => l(o.id, g)
|
|
1066
|
+
}, null, 8, ["items", "modelValue", "onUpdate:modelValue"])
|
|
1067
|
+
], 2)
|
|
1068
|
+
])) : o.template === "radio" ? (a(), s("div", Gt, [
|
|
1069
|
+
i("div", Kt, b(o.name), 1),
|
|
1070
|
+
i("div", {
|
|
1071
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
1072
|
+
}, [
|
|
1073
|
+
p(me, {
|
|
1074
|
+
items: o.values,
|
|
1075
|
+
modelValue: m.modelValue[o.id],
|
|
1076
|
+
"onUpdate:modelValue": (g) => l(o.id, g)
|
|
1077
|
+
}, null, 8, ["items", "modelValue", "onUpdate:modelValue"])
|
|
1078
|
+
], 2)
|
|
1079
|
+
])) : o.template === "tabs" ? (a(), s("div", Ot, [
|
|
1080
|
+
i("div", {
|
|
1081
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
1082
|
+
}, [
|
|
1083
|
+
p(ce, {
|
|
1084
|
+
items: o.values,
|
|
1085
|
+
modelValue: m.modelValue[o.id],
|
|
1086
|
+
"onUpdate:modelValue": (g) => l(o.id, g)
|
|
1087
|
+
}, null, 8, ["items", "modelValue", "onUpdate:modelValue"])
|
|
1088
|
+
], 2)
|
|
1089
|
+
])) : o.template === "upload" ? (a(), s("div", Jt, [
|
|
1090
|
+
V[1] || (V[1] = i("div", { class: "adj-item__title" }, null, -1)),
|
|
1091
|
+
i("div", {
|
|
1092
|
+
class: f(["adj-item__component", `adj-item__component_${o.template}`])
|
|
1093
|
+
}, [
|
|
1094
|
+
p(pe, {
|
|
1095
|
+
text: o.name,
|
|
1096
|
+
modelValue: m.modelValue[o.id],
|
|
1097
|
+
"onUpdate:modelValue": (g) => l(o.id, g)
|
|
1098
|
+
}, null, 8, ["text", "modelValue", "onUpdate:modelValue"])
|
|
1099
|
+
], 2)
|
|
1100
|
+
])) : y("", !0)
|
|
1101
|
+
]),
|
|
1102
|
+
!o.hideHr && _ < m.items.length - 1 ? (a(), s("div", {
|
|
1103
|
+
key: 0,
|
|
1104
|
+
class: f(`adj-${["selectImageText", "tabs"].includes(o.template) ? "solid" : "dashed"}`)
|
|
1105
|
+
}, null, 2)) : y("", !0)
|
|
1106
|
+
], 64))), 128))
|
|
1107
|
+
]));
|
|
1108
|
+
}
|
|
1109
|
+
}), xt = /* @__PURE__ */ A(Xt, [["__scopeId", "data-v-01cf058e"]]), ea = { class: "adj-personalization-configurator" }, ta = { class: "adj-personalization-modal" }, aa = { class: "adj-personalization-modal__header adj-personalization-header adj-effect-overlay-light" }, la = { class: "adj-personalization-header__title adj-title-h3" }, sa = { class: "adj-personalization-header__close" }, oa = { class: "adj-personalization-modal__body adj-personalization-body" }, da = ["onClick"], ia = { class: "adj-miltititle__caret" }, na = { class: "adj-miltititle__delete" }, ua = { class: "adj-items" }, ra = { class: "adj-personalization-modal__footer adj-personalization-footer" }, ma = /* @__PURE__ */ C({
|
|
1110
|
+
__name: "AdjPersonalizationConfigurator",
|
|
1111
|
+
props: {
|
|
1112
|
+
id: {},
|
|
1113
|
+
name: {},
|
|
1114
|
+
titleSave: {},
|
|
1115
|
+
titleAdd: {},
|
|
1116
|
+
multiple: { type: Boolean, default: !1 },
|
|
1117
|
+
activeModelAndItemId: { default: 0 },
|
|
1118
|
+
modelsAndItems: {},
|
|
1119
|
+
expandTextAdjSelectImage: {},
|
|
1120
|
+
foldTextAdjSelectImage: {},
|
|
1121
|
+
textAdjFilterSelect: {}
|
|
1122
|
+
},
|
|
1123
|
+
emits: ["clickClose", "clickSave", "clickAddPersonalization", "clickDeletePersonalization", "update:modelValue", "update:activeModelAndItemId"],
|
|
1124
|
+
setup(k, { emit: v }) {
|
|
1125
|
+
const n = v;
|
|
1126
|
+
return (r, l) => (a(), s("div", ea, [
|
|
1127
|
+
p(_e, {
|
|
1128
|
+
show: !0,
|
|
1129
|
+
width: "570px",
|
|
1130
|
+
hideClose: ""
|
|
1131
|
+
}, {
|
|
1132
|
+
default: M(() => [
|
|
1133
|
+
i("div", ta, [
|
|
1134
|
+
i("div", aa, [
|
|
1135
|
+
i("div", la, b(r.name), 1),
|
|
1136
|
+
i("div", sa, [
|
|
1137
|
+
p(Y, {
|
|
1138
|
+
iconName: "icon-close",
|
|
1139
|
+
size: 34,
|
|
1140
|
+
design: "light",
|
|
1141
|
+
disabled: !1,
|
|
1142
|
+
onClick: l[0] || (l[0] = (t) => n("clickClose"))
|
|
1143
|
+
})
|
|
1144
|
+
])
|
|
1145
|
+
]),
|
|
1146
|
+
i("div", oa, [
|
|
1147
|
+
p(ve, {
|
|
1148
|
+
class: "adj-window__body",
|
|
1149
|
+
maxHeight: "100%"
|
|
1150
|
+
}, {
|
|
1151
|
+
default: M(() => [
|
|
1152
|
+
(a(!0), s(j, null, $(r.modelsAndItems, (t, e) => (a(), s(j, { key: e }, [
|
|
1153
|
+
r.modelsAndItems.length > 1 ? (a(), s("div", {
|
|
1154
|
+
key: 0,
|
|
1155
|
+
class: "adj-miltititle",
|
|
1156
|
+
onClick: (d) => n("update:activeModelAndItemId", e)
|
|
1157
|
+
}, [
|
|
1158
|
+
i("div", ia, [
|
|
1159
|
+
p(Y, {
|
|
1160
|
+
iconName: `icon-arrow-${r.activeModelAndItemId === e ? "down" : "right"}`,
|
|
1161
|
+
size: 24,
|
|
1162
|
+
design: "light",
|
|
1163
|
+
disabled: !1
|
|
1164
|
+
}, null, 8, ["iconName"])
|
|
1165
|
+
]),
|
|
1166
|
+
i("div", {
|
|
1167
|
+
class: f(["adj-miltititle__title adj-text-16-bold", { "adj-miltititle__title_active": r.activeModelAndItemId === e }])
|
|
1168
|
+
}, b(r.name) + " " + b(e + 1), 3),
|
|
1169
|
+
i("div", na, [
|
|
1170
|
+
p(Y, {
|
|
1171
|
+
iconName: "icon-close",
|
|
1172
|
+
size: 24,
|
|
1173
|
+
design: "light",
|
|
1174
|
+
disabled: !1,
|
|
1175
|
+
onClick: (d) => n("clickDeletePersonalization", e)
|
|
1176
|
+
}, null, 8, ["onClick"])
|
|
1177
|
+
])
|
|
1178
|
+
], 8, da)) : y("", !0),
|
|
1179
|
+
p(E, { name: "adj-popup-pers" }, {
|
|
1180
|
+
default: M(() => [
|
|
1181
|
+
P(i("div", ua, [
|
|
1182
|
+
p(xt, {
|
|
1183
|
+
items: t.items,
|
|
1184
|
+
modelValue: t.modelValue,
|
|
1185
|
+
expandTextAdjSelectImage: r.expandTextAdjSelectImage,
|
|
1186
|
+
foldTextAdjSelectImage: r.foldTextAdjSelectImage,
|
|
1187
|
+
textAdjFilterSelect: r.textAdjFilterSelect,
|
|
1188
|
+
"onUpdate:modelValue": (d) => r.$emit("update:modelValue", e, d)
|
|
1189
|
+
}, null, 8, ["items", "modelValue", "expandTextAdjSelectImage", "foldTextAdjSelectImage", "textAdjFilterSelect", "onUpdate:modelValue"])
|
|
1190
|
+
], 512), [
|
|
1191
|
+
[R, r.activeModelAndItemId === e]
|
|
1192
|
+
])
|
|
1193
|
+
]),
|
|
1194
|
+
_: 2
|
|
1195
|
+
}, 1024)
|
|
1196
|
+
], 64))), 128))
|
|
1197
|
+
]),
|
|
1198
|
+
_: 1
|
|
1199
|
+
})
|
|
1200
|
+
]),
|
|
1201
|
+
i("div", ra, [
|
|
1202
|
+
p(G, {
|
|
1203
|
+
title: r.titleSave,
|
|
1204
|
+
size: "small",
|
|
1205
|
+
design: "primary",
|
|
1206
|
+
round: "",
|
|
1207
|
+
iconLeft: "icon-done-circle",
|
|
1208
|
+
onClick: l[1] || (l[1] = (t) => n("clickSave"))
|
|
1209
|
+
}, null, 8, ["title"]),
|
|
1210
|
+
r.multiple ? (a(), N(G, {
|
|
1211
|
+
key: 0,
|
|
1212
|
+
title: r.titleAdd,
|
|
1213
|
+
size: "small",
|
|
1214
|
+
design: "alternative-light",
|
|
1215
|
+
round: "",
|
|
1216
|
+
iconLeft: "icon-add",
|
|
1217
|
+
onClick: l[2] || (l[2] = (t) => n("clickAddPersonalization"))
|
|
1218
|
+
}, null, 8, ["title"])) : y("", !0)
|
|
1219
|
+
])
|
|
1220
|
+
])
|
|
1221
|
+
]),
|
|
1222
|
+
_: 1
|
|
1223
|
+
})
|
|
1224
|
+
]));
|
|
1225
|
+
}
|
|
1226
|
+
}), Ia = /* @__PURE__ */ A(ma, [["__scopeId", "data-v-d0500d38"]]), ca = { class: "adj-products" }, pa = { class: "adj-products_wrapper" }, _a = /* @__PURE__ */ C({
|
|
703
1227
|
__name: "AdjProducts",
|
|
704
1228
|
props: {
|
|
705
1229
|
items: {},
|
|
@@ -707,30 +1231,30 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
707
1231
|
duration: { default: 0 }
|
|
708
1232
|
},
|
|
709
1233
|
emits: ["click"],
|
|
710
|
-
setup(
|
|
711
|
-
const
|
|
712
|
-
return (
|
|
713
|
-
|
|
714
|
-
|
|
1234
|
+
setup(k, { emit: v }) {
|
|
1235
|
+
const n = v;
|
|
1236
|
+
return (r, l) => (a(), s("div", ca, [
|
|
1237
|
+
i("div", pa, [
|
|
1238
|
+
r.items.length > 0 ? (a(!0), s(j, { key: 0 }, $(r.items, (t) => (a(), s("div", {
|
|
715
1239
|
key: t.id,
|
|
716
1240
|
class: "adj-products__item"
|
|
717
1241
|
}, [
|
|
718
|
-
|
|
1242
|
+
p(O, {
|
|
719
1243
|
id: t.id,
|
|
720
1244
|
name: t.name,
|
|
721
1245
|
hintHtml: t.hintHtml,
|
|
722
|
-
duration:
|
|
1246
|
+
duration: r.duration,
|
|
723
1247
|
underlined: "",
|
|
724
1248
|
checked: !1,
|
|
725
1249
|
images: t.images,
|
|
726
1250
|
modelValue: t,
|
|
727
|
-
onClick: (e) =>
|
|
1251
|
+
onClick: (e) => n("click", t)
|
|
728
1252
|
}, null, 8, ["id", "name", "hintHtml", "duration", "images", "modelValue", "onClick"])
|
|
729
|
-
]))), 128)) : (
|
|
1253
|
+
]))), 128)) : (a(!0), s(j, { key: 1 }, $(r.skeletonQty, (t) => (a(), s("div", {
|
|
730
1254
|
key: t,
|
|
731
1255
|
class: "adj-products__item"
|
|
732
1256
|
}, [
|
|
733
|
-
|
|
1257
|
+
p(z, {
|
|
734
1258
|
loaders: [
|
|
735
1259
|
{ aspectRatio: "0.66", width: "65%" },
|
|
736
1260
|
{ marginTop: "20px", height: "26px", width: "120px" }
|
|
@@ -741,7 +1265,7 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
741
1265
|
])
|
|
742
1266
|
]));
|
|
743
1267
|
}
|
|
744
|
-
}),
|
|
1268
|
+
}), Ta = /* @__PURE__ */ A(_a, [["__scopeId", "data-v-9d2cee0c"]]), va = { class: "adj-stitchings" }, ga = { class: "adj-stitchings__groups" }, ha = { class: "adj-stitchings__items" }, fa = /* @__PURE__ */ C({
|
|
745
1269
|
__name: "AdjStitchings",
|
|
746
1270
|
props: {
|
|
747
1271
|
modelValue: {},
|
|
@@ -749,13 +1273,13 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
749
1273
|
skeletonQty: { default: 6 }
|
|
750
1274
|
},
|
|
751
1275
|
emits: ["update:modelValue"],
|
|
752
|
-
setup(
|
|
753
|
-
const
|
|
1276
|
+
setup(k) {
|
|
1277
|
+
const v = k, n = [
|
|
754
1278
|
{
|
|
755
1279
|
height: "34px",
|
|
756
1280
|
width: "85px"
|
|
757
1281
|
}
|
|
758
|
-
],
|
|
1282
|
+
], r = [
|
|
759
1283
|
{
|
|
760
1284
|
aspectRatio: "1.5"
|
|
761
1285
|
},
|
|
@@ -764,63 +1288,64 @@ const K = { class: "adj-top" }, U = ["src", "alt"], J = {
|
|
|
764
1288
|
height: "16px",
|
|
765
1289
|
width: "70%"
|
|
766
1290
|
}
|
|
767
|
-
],
|
|
1291
|
+
], l = I(() => {
|
|
768
1292
|
var t;
|
|
769
|
-
for (const e of
|
|
1293
|
+
for (const e of v.groups) {
|
|
770
1294
|
e.items;
|
|
771
|
-
for (const
|
|
772
|
-
if (
|
|
1295
|
+
for (const d of e.items)
|
|
1296
|
+
if (d.id === ((t = v.modelValue) == null ? void 0 : t.id))
|
|
773
1297
|
return e;
|
|
774
1298
|
}
|
|
775
1299
|
return null;
|
|
776
1300
|
});
|
|
777
|
-
return (t, e) => (
|
|
778
|
-
|
|
779
|
-
t.groups.length > 0 ? (
|
|
780
|
-
var
|
|
781
|
-
return
|
|
782
|
-
title:
|
|
1301
|
+
return (t, e) => (a(), s("div", va, [
|
|
1302
|
+
i("div", ga, [
|
|
1303
|
+
t.groups.length > 0 ? (a(!0), s(j, { key: 0 }, $(t.groups, (d) => {
|
|
1304
|
+
var u;
|
|
1305
|
+
return a(), N(G, {
|
|
1306
|
+
title: d.name,
|
|
783
1307
|
size: "small",
|
|
784
|
-
design:
|
|
785
|
-
onClick: (c) => t.$emit("update:modelValue",
|
|
1308
|
+
design: d.id === ((u = l.value) == null ? void 0 : u.id) ? "alternative-active" : "alternative",
|
|
1309
|
+
onClick: (c) => t.$emit("update:modelValue", d.items[0])
|
|
786
1310
|
}, null, 8, ["title", "design", "onClick"]);
|
|
787
|
-
}), 256)) : (
|
|
788
|
-
|
|
1311
|
+
}), 256)) : (a(), s(j, { key: 1 }, $(4, (d) => i("div", { key: d }, [
|
|
1312
|
+
p(z, { loaders: n })
|
|
789
1313
|
])), 64))
|
|
790
1314
|
]),
|
|
791
|
-
|
|
792
|
-
t.groups.length > 0 &&
|
|
1315
|
+
i("div", ha, [
|
|
1316
|
+
t.groups.length > 0 && l.value ? (a(!0), s(j, { key: 0 }, $(l.value.items, (d, u) => {
|
|
793
1317
|
var c;
|
|
794
|
-
return
|
|
1318
|
+
return a(), s("div", {
|
|
795
1319
|
class: "adj-stitchings__item",
|
|
796
|
-
key:
|
|
1320
|
+
key: u
|
|
797
1321
|
}, [
|
|
798
|
-
|
|
799
|
-
id:
|
|
800
|
-
image:
|
|
1322
|
+
p(F, {
|
|
1323
|
+
id: d.id,
|
|
1324
|
+
image: d.image,
|
|
801
1325
|
aspectRatio: 1.5,
|
|
802
|
-
name:
|
|
803
|
-
checked:
|
|
804
|
-
onClick: (
|
|
1326
|
+
name: d.name,
|
|
1327
|
+
checked: d.id == ((c = t.modelValue) == null ? void 0 : c.id),
|
|
1328
|
+
onClick: (m) => t.$emit("update:modelValue", d)
|
|
805
1329
|
}, null, 8, ["id", "image", "name", "checked", "onClick"])
|
|
806
1330
|
]);
|
|
807
|
-
}), 128)) : (
|
|
808
|
-
key:
|
|
1331
|
+
}), 128)) : (a(!0), s(j, { key: 1 }, $(t.skeletonQty, (d) => (a(), s("div", {
|
|
1332
|
+
key: d,
|
|
809
1333
|
class: "adj-stitchings__item"
|
|
810
1334
|
}, [
|
|
811
|
-
|
|
1335
|
+
p(z, { loaders: r })
|
|
812
1336
|
]))), 128))
|
|
813
1337
|
])
|
|
814
1338
|
]));
|
|
815
1339
|
}
|
|
816
|
-
}),
|
|
1340
|
+
}), Sa = /* @__PURE__ */ A(fa, [["__scopeId", "data-v-fc6da26b"]]);
|
|
817
1341
|
export {
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
1342
|
+
$a as AdjBlocks,
|
|
1343
|
+
ba as AdjLaminates,
|
|
1344
|
+
Va as AdjMaterials,
|
|
1345
|
+
Ca as AdjModels,
|
|
1346
|
+
wa as AdjNavigator,
|
|
1347
|
+
Ia as AdjPersonalizationConfigurator,
|
|
1348
|
+
Aa as AdjPersonalizations,
|
|
1349
|
+
Ta as AdjProducts,
|
|
1350
|
+
Sa as AdjStitchings
|
|
826
1351
|
};
|