@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.
Files changed (31) hide show
  1. package/dist/AdjUploadFile-86rb42Go.cjs +1 -0
  2. package/dist/AdjUploadFile-DCZf3Y1A.js +713 -0
  3. package/dist/components/constructor/AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.mock.d.ts +2 -0
  4. package/dist/components/constructor/AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.stories.d.ts +6 -0
  5. package/dist/components/constructor/{AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.vue.d.ts → AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.vue.d.ts} +8 -12
  6. package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.mock.d.ts +1 -1
  7. package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.stories.d.ts +2 -2
  8. package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.mock.d.ts +6 -0
  9. package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.stories.d.ts +6 -0
  10. package/dist/components/constructor/elements/{AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.vue.d.ts → AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.vue.d.ts} +8 -12
  11. package/dist/components/constructor/elements/{AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsItem.d.ts → AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsItem.d.ts} +3 -3
  12. package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsModel.d.ts +4 -0
  13. package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsNumber.d.ts +5 -0
  14. package/dist/components/constructor/elements/{AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsTexture.d.ts → AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsTexture.d.ts} +1 -1
  15. package/dist/components/constructor/elements/{AdjPersonalizitionConfiguratorElements/TAdjPersonalizitionConfiguratorElementsValue.d.ts → AdjPersonalizationConfiguratorElements/TAdjPersonalizationConfiguratorElementsValue.d.ts} +3 -3
  16. package/dist/components.cjs +1 -1
  17. package/dist/components.js +222 -609
  18. package/dist/constructor.cjs +1 -1
  19. package/dist/constructor.js +872 -347
  20. package/dist/plugin/constructor.d.ts +2 -1
  21. package/dist/plugin/types.d.ts +3 -1
  22. package/dist/style.css +1 -1
  23. package/package.json +14 -14
  24. package/dist/AdjSvgActive-BrJ67q86.js +0 -310
  25. package/dist/AdjSvgActive-pl2OlG7l.cjs +0 -1
  26. package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.mock.d.ts +0 -2
  27. package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.stories.d.ts +0 -6
  28. package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.mock.d.ts +0 -6
  29. package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.stories.d.ts +0 -6
  30. package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsModel.d.ts +0 -4
  31. package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsNumber.d.ts +0 -5
@@ -1,22 +1,22 @@
1
- import { defineComponent as f, useCssVars as Q, ref as B, openBlock as i, createElementBlock as l, normalizeClass as b, withModifiers as A, createElementVNode as u, normalizeStyle as Z, toDisplayString as $, createCommentVNode as _, createBlock as D, createVNode as m, Transition as H, withCtx as I, withDirectives as T, vShow as S, Fragment as p, renderList as g, computed as C } from "vue";
2
- import { A as L, a as z, _ as j, b as w, c as W, d as E } from "./AdjSvgActive-BrJ67q86.js";
3
- import { useWindowSize as F, useMemoize as Y, useWindowScroll as G } from "@vueuse/core";
4
- const K = { class: "adj-top" }, U = ["src", "alt"], J = {
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
- }, O = { class: "adj-hint__wrapper" }, X = { class: "adj-text-13" }, x = { class: "adj-text-16" }, ee = { class: "adj-top__labels adj-labels adj-text-14" }, te = {
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
- }, ae = {
10
+ }, Te = {
11
11
  key: 1,
12
12
  class: "adj-labels__label"
13
- }, ie = {
13
+ }, Se = {
14
14
  key: 2,
15
15
  class: "adj-labels__label"
16
- }, le = {
16
+ }, De = {
17
17
  key: 2,
18
18
  class: "adj-square adj-square_quantity"
19
- }, se = { class: "adj-top__check" }, oe = { class: "adj-bottom" }, ne = ["innerHTML"], de = /* @__PURE__ */ f({
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(v, { emit: r }) {
43
+ setup(k, { emit: v }) {
44
44
  Q((t) => ({
45
45
  "69e20140": t.width
46
46
  }));
47
- const o = r, d = B(!1);
48
- function a(t) {
49
- d.value = t;
47
+ const n = v, r = D(!1);
48
+ function l(t) {
49
+ r.value = t;
50
50
  }
51
- return (t, e) => (i(), l("div", {
52
- class: b(["adj-image-item", {
53
- "adj-image-item_hovered": d.value,
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] = A((s) => o("click"), ["stop"])),
58
- onMouseenter: e[6] || (e[6] = (s) => a(!0)),
59
- onMouseleave: e[7] || (e[7] = (s) => a(!1))
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
- u("div", K, [
62
- u("img", {
61
+ i("div", ye, [
62
+ i("img", {
63
63
  class: "adj-top__image",
64
- style: Z({ aspectRatio: t.aspectRatio }),
64
+ style: le({ aspectRatio: t.aspectRatio }),
65
65
  src: t.image,
66
66
  alt: t.name
67
- }, null, 12, U),
68
- t.hints.length > 0 ? (i(), l("div", J, [
69
- u("div", O, [
70
- u("div", X, $(t.hints[0]), 1),
71
- u("div", x, $(t.hints[1]), 1)
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
- ])) : _("", !0),
74
- u("div", ee, [
75
- t.labelSale ? (i(), l("div", te, "Sale")) : _("", !0),
76
- t.labelNew ? (i(), l("div", ae, "NEW")) : _("", !0),
77
- t.labelCmyk ? (i(), l("div", ie, "CMYK")) : _("", !0)
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 ? (i(), l("div", {
79
+ t.buttonClose ? (a(), s("div", {
80
80
  key: 1,
81
81
  class: "adj-square adj-square_close",
82
- onClick: e[0] || (e[0] = A((s) => t.$emit("clickClose"), ["stop"]))
82
+ onClick: e[0] || (e[0] = L((d) => t.$emit("clickClose"), ["stop"]))
83
83
  }, e[8] || (e[8] = [
84
- u("i", { className: "icon-close" }, null, -1)
85
- ]))) : _("", !0),
86
- t.labelQuantity ? (i(), l("div", le, $(t.quantity), 1)) : _("", !0),
87
- t.buttonPlus ? (i(), l("div", {
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] = A((s) => t.$emit("clickPlus"), ["stop"]))
90
+ onClick: e[1] || (e[1] = L((d) => t.$emit("clickPlus"), ["stop"]))
91
91
  }, e[9] || (e[9] = [
92
- u("i", { className: "icon-plus" }, null, -1)
93
- ]))) : _("", !0),
94
- u("div", {
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] = A(() => {
96
+ onClick: e[4] || (e[4] = L(() => {
97
97
  }, ["stop"]))
98
98
  }, [
99
- t.buttonZoom ? (i(), D(L, {
99
+ t.buttonZoom ? (a(), N(q, {
100
100
  key: 0,
101
101
  iconName: "icon-zoom",
102
- onClick: e[2] || (e[2] = (s) => t.$emit("clickZoom"))
103
- })) : _("", !0),
104
- t.buttonDetail ? (i(), D(L, {
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] = (s) => t.$emit("clickDetail"))
108
- })) : _("", !0)
107
+ onClick: e[3] || (e[3] = (d) => t.$emit("clickDetail"))
108
+ })) : y("", !0)
109
109
  ]),
110
- m(H, { name: "adj-fade" }, {
111
- default: I(() => [
112
- T(u("div", se, [
113
- m(z)
110
+ p(E, { name: "adj-fade" }, {
111
+ default: M(() => [
112
+ P(i("div", Ne, [
113
+ p(K)
114
114
  ], 512), [
115
- [S, t.checked]
115
+ [R, t.checked]
116
116
  ])
117
117
  ]),
118
118
  _: 1
119
119
  })
120
120
  ]),
121
- u("div", oe, [
122
- u("div", {
123
- class: b(["adj-bottom__title adj-text-16", { "adj-bottom__title_center": t.centerName }])
124
- }, $(t.name), 3),
125
- (i(!0), l(p, null, g(t.subnames, (s, n) => (i(), l("div", {
126
- key: n,
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: s
129
- }, null, 8, ne))), 128))
128
+ innerHTML: d
129
+ }, null, 8, Le))), 128))
130
130
  ])
131
131
  ], 34));
132
132
  }
133
- }), N = /* @__PURE__ */ j(de, [["__scopeId", "data-v-7dafde96"]]), re = { class: "adj-blocks" }, ue = /* @__PURE__ */ f({
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(v) {
142
- const r = [
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 (o, d) => (i(), l("div", re, [
173
- o.items.length > 0 ? (i(!0), l(p, { key: 0 }, g(o.items, (a, t) => {
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 i(), l("div", {
175
+ return a(), s("div", {
176
176
  class: "adj-blocks__item",
177
177
  key: t
178
178
  }, [
179
- m(N, {
180
- id: a.id,
181
- image: a.image,
182
- name: a.name,
183
- subnames: a.subnames,
184
- checked: a.id == ((e = o.modelValue) == null ? void 0 : e.id),
185
- labelNew: a.labelNew,
186
- labelSale: a.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: (s) => o.$emit("update:modelValue", a),
190
- onClickZoom: (s) => o.$emit("clickZoom", a),
191
- onClickDetail: (s) => o.$emit("clickDetail", a)
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)) : (i(!0), l(p, { key: 1 }, g(o.skeletonQty, (a) => (i(), l("div", {
195
- key: a,
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
- m(w, { loaders: r })
198
+ p(z, { loaders: v })
199
199
  ]))), 128))
200
200
  ]));
201
201
  }
202
- }), Xe = /* @__PURE__ */ j(ue, [["__scopeId", "data-v-ceba5569"]]), ce = { class: "adj-top" }, me = ["src", "alt"], pe = ["src"], ke = { class: "adj-top__check" }, he = { class: "adj-top__icon-buttons" }, ge = { class: "adj-bottom" }, ve = { class: "adj-bottom__title adj-text-16" }, _e = /* @__PURE__ */ f({
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(v, { emit: r }) {
219
- Q((h) => ({
220
- "36b60755": h.width
218
+ setup(k, { emit: v }) {
219
+ Q((_) => ({
220
+ "36b60755": _.width
221
221
  }));
222
- const o = v, d = r, a = B(!1);
222
+ const n = k, r = v, l = D(!1);
223
223
  let t = null;
224
- const e = B(0), s = C(
225
- () => o.duration / (o.images.length - 1) * 1e3
226
- ), n = C(() => o.images[e.value] ? o.images[e.value] : "");
227
- function c(h) {
228
- a.value = h, t == null && k();
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 k() {
230
+ function m() {
231
231
  t = window.setTimeout(() => {
232
- a.value ? q() : R();
233
- }, s.value);
232
+ l.value ? V() : o();
233
+ }, d.value);
234
234
  }
235
- function q() {
236
- e.value < o.images.length - 1 ? (e.value++, k()) : t = null;
235
+ function V() {
236
+ e.value < n.images.length - 1 ? (e.value++, m()) : t = null;
237
237
  }
238
- function R() {
239
- e.value > 0 ? (e.value--, k()) : t = null;
238
+ function o() {
239
+ e.value > 0 ? (e.value--, m()) : t = null;
240
240
  }
241
- return (h, y) => (i(), l("div", {
242
- class: b(["adj-cover-item", {
243
- "adj-cover-item_hovered": a.value,
244
- "adj-cover-item_checked": h.checked,
245
- "adj-cover-item_underlined": h.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: y[2] || (y[2] = A((V) => d("click", h.modelValue), ["stop"])),
248
- onMouseenter: y[3] || (y[3] = (V) => c(!0)),
249
- onMouseleave: y[4] || (y[4] = (V) => c(!1))
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
- u("div", ce, [
252
- u("img", {
251
+ i("div", Pe, [
252
+ i("img", {
253
253
  class: "adj-top__image",
254
- src: n.value,
255
- alt: h.name
256
- }, null, 8, me),
257
- (i(!0), l(p, null, g(h.images, (V) => T((i(), l("img", {
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: V,
260
- src: V
261
- }, null, 8, pe)), [
262
- [S, !1]
259
+ key: T,
260
+ src: T
261
+ }, null, 8, Ue)), [
262
+ [R, !1]
263
263
  ])), 128)),
264
- m(H, { name: "adj-fade" }, {
265
- default: I(() => [
266
- T(u("div", ke, [
267
- m(z)
264
+ p(E, { name: "adj-fade" }, {
265
+ default: M(() => [
266
+ P(i("div", He, [
267
+ p(K)
268
268
  ], 512), [
269
- [S, h.checked]
269
+ [R, _.checked]
270
270
  ])
271
271
  ]),
272
272
  _: 1
273
273
  }),
274
- u("div", he, [
275
- h.hintHtml ? (i(), D(W, {
274
+ i("div", Qe, [
275
+ _.hintHtml ? (a(), N(ie, {
276
276
  key: 0,
277
- html: h.hintHtml,
277
+ html: _.hintHtml,
278
278
  "horizontal-position": "left",
279
279
  "vertical-position": "bottom",
280
280
  "modal-mode": !0
281
281
  }, {
282
- default: I(() => [
283
- m(L, { iconName: "icon-info" })
282
+ default: M(() => [
283
+ p(q, { iconName: "icon-info" })
284
284
  ]),
285
285
  _: 1
286
- }, 8, ["html"])) : _("", !0),
287
- h.showCornerSwitcher && !h.roundedCorner ? (i(), D(L, {
286
+ }, 8, ["html"])) : y("", !0),
287
+ _.showCornerSwitcher && !_.roundedCorner ? (a(), N(q, {
288
288
  key: 1,
289
289
  iconName: "icon-corner-sharp",
290
- onClick: y[0] || (y[0] = (V) => d("switchCorner", h.modelValue))
291
- })) : _("", !0),
292
- h.showCornerSwitcher && h.roundedCorner ? (i(), D(L, {
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: y[1] || (y[1] = (V) => d("switchCorner", h.modelValue))
296
- })) : _("", !0)
295
+ onClick: g[1] || (g[1] = (T) => r("switchCorner", _.modelValue))
296
+ })) : y("", !0)
297
297
  ])
298
298
  ]),
299
- u("div", ge, [
300
- u("div", ve, $(h.name), 1)
299
+ i("div", Ee, [
300
+ i("div", Fe, b(_.name), 1)
301
301
  ])
302
302
  ], 34));
303
303
  }
304
- }), M = /* @__PURE__ */ j(_e, [["__scopeId", "data-v-f68f5046"]]), fe = { class: "adj-laminates" }, je = /* @__PURE__ */ f({
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(v, { emit: r }) {
313
- const o = r, d = [
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 (a, t) => (i(), l("div", fe, [
318
- a.items.length > 0 ? (i(!0), l(p, { key: 0 }, g(a.items, (e) => {
319
- var s;
320
- return i(), l("div", {
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
- m(M, {
324
+ p(O, {
325
325
  id: e.id,
326
326
  name: e.name,
327
327
  underlined: "",
328
- checked: e.id == ((s = a.modelValue) == null ? void 0 : s.id),
328
+ checked: e.id == ((d = l.modelValue) == null ? void 0 : d.id),
329
329
  images: e.images,
330
330
  modelValue: e,
331
- onClick: (n) => o("update:modelValue", e)
331
+ onClick: (u) => n("update:modelValue", e)
332
332
  }, null, 8, ["id", "name", "checked", "images", "modelValue", "onClick"])
333
333
  ]);
334
- }), 128)) : (i(!0), l(p, { key: 1 }, g(a.skeletonQty, (e) => (i(), l("div", {
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
- m(w, {
339
- loaders: d,
338
+ p(z, {
339
+ loaders: r,
340
340
  centered: !0
341
341
  })
342
342
  ]))), 128))
343
343
  ]));
344
344
  }
345
- }), xe = /* @__PURE__ */ j(je, [["__scopeId", "data-v-9be5871f"]]), ye = { class: "adj-materials" }, be = /* @__PURE__ */ f({
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(v) {
354
- const r = [
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 (o, d) => (i(), l("div", ye, [
375
- o.items.length > 0 ? (i(!0), l(p, { key: 0 }, g(o.items, (a, t) => {
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 i(), l("div", {
377
+ return a(), s("div", {
378
378
  class: "adj-materials__item",
379
379
  key: t
380
380
  }, [
381
- m(N, {
382
- id: a.id,
383
- image: a.image,
381
+ p(F, {
382
+ id: l.id,
383
+ image: l.image,
384
384
  bordered: !0,
385
385
  aspectRatio: 1,
386
- name: a.name,
387
- subnames: a.subnames,
388
- hints: a.hints,
389
- checked: a.id == ((e = o.modelValue) == null ? void 0 : e.id),
390
- labelNew: a.labelNew,
391
- labelCmyk: a.labelCmyk,
392
- labelSale: a.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: (s) => o.$emit("update:modelValue", a),
395
- onClickDetail: (s) => o.$emit("clickDetail", a)
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)) : (i(!0), l(p, { key: 1 }, g(o.skeletonQty, (a) => (i(), l("div", {
399
- key: a,
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
- m(w, { loaders: r })
402
+ p(z, { loaders: v })
403
403
  ]))), 128))
404
404
  ]));
405
405
  }
406
- }), et = /* @__PURE__ */ j(be, [["__scopeId", "data-v-a849395c"]]), $e = { class: "adj-cover-group-item" }, Ce = /* @__PURE__ */ f({
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(v, { emit: r }) {
416
- const o = v, d = r;
417
- function a(n) {
415
+ setup(k, { emit: v }) {
416
+ const n = k, r = v;
417
+ function l(u) {
418
418
  var c;
419
- if (n.id !== ((c = o.modelValue) == null ? void 0 : c.id)) {
420
- const k = o.items.find((q) => q.id === n.id);
421
- k && d("update:modelValue", k);
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(n) {
425
- const c = o.items.find((k) => k.id !== n.id);
426
- c && d("update:modelValue", 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 = C(() => {
429
- let n = o.items[0];
430
- return o.modelValue && o.items.find((c) => {
431
- var k;
432
- return c.id === ((k = o.modelValue) == null ? void 0 : k.id);
433
- }) && (n = o.modelValue), n;
434
- }), s = C(() => {
435
- var n;
436
- return ((n = o.modelValue) == null ? void 0 : n.id) === e.value.id;
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 (n, c) => (i(), l("div", $e, [
439
- m(M, {
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: n.items.length === 2 && s.value,
443
+ showCornerSwitcher: u.items.length === 2 && d.value,
444
444
  roundedCorner: e.value.roundedCorner,
445
- duration: n.duration,
446
- checked: s.value,
445
+ duration: u.duration,
446
+ checked: d.value,
447
447
  images: e.value.images,
448
448
  modelValue: e.value,
449
- width: n.width,
450
- onClick: c[0] || (c[0] = (k) => a(k)),
451
- onSwitchCorner: c[1] || (c[1] = (k) => t(k))
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
- }), we = { class: "adj-models" }, Ve = /* @__PURE__ */ f({
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(v, { emit: r }) {
465
- const o = r;
466
- return (d, a) => (i(), l("div", we, [
467
- d.groupItems.length > 0 ? (i(!0), l(p, { key: 0 }, g(d.groupItems, (t, e) => (i(), l("div", {
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
- m(Ce, {
472
- modelValue: d.modelValue,
471
+ p(Je, {
472
+ modelValue: r.modelValue,
473
473
  items: t,
474
- duration: d.duration,
475
- "onUpdate:modelValue": a[0] || (a[0] = (s) => o("update:modelValue", s))
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)) : (i(!0), l(p, { key: 1 }, g(d.skeletonQty, (t) => (i(), l("div", {
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
- m(w, {
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
- }), tt = /* @__PURE__ */ j(Ve, [["__scopeId", "data-v-16e28efc"]]), De = { class: "adj-navigator-item__top" }, Ae = { key: 0 }, Le = /* @__PURE__ */ f({
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(v, { emit: r }) {
506
- const o = v, d = r;
507
- function a() {
508
- !o.loading && o.squareDesign !== "disabled" && d("click");
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) => (i(), l("div", {
511
- class: b(["adj-navigator-item", {
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: a
515
+ onClick: l
516
516
  }, [
517
- u("div", De, [
518
- u("div", {
519
- class: b(["adj-navigator-item__line", `adj-navigator-item__line_${t.leftLineDesign}`])
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
- u("div", {
522
- class: b(["adj-navigator-item__square", `adj-navigator-item__square_${t.squareDesign}`])
521
+ i("div", {
522
+ class: f(["adj-navigator-item__square", `adj-navigator-item__square_${t.squareDesign}`])
523
523
  }, [
524
- t.squareType === "id" ? (i(), l("span", Ae, $(t.id), 1)) : (i(), l("i", {
524
+ t.squareType === "id" ? (a(), s("span", tt, b(t.id), 1)) : (a(), s("i", {
525
525
  key: 1,
526
- class: b(t.squareType)
526
+ class: f(t.squareType)
527
527
  }, null, 2))
528
528
  ], 2),
529
- u("div", {
530
- class: b(["adj-navigator-item__line", `adj-navigator-item__line_${t.rightLineDesign}`])
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 ? (i(), l("div", {
533
+ t.showLabel ? (a(), s("div", {
534
534
  key: 0,
535
- class: b(["adj-navigator-item__label", `adj-navigator-item__label_${t.squareDesign}`])
536
- }, $(t.label), 3)) : _("", !0)
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
- }), Ne = /* @__PURE__ */ j(Le, [["__scopeId", "data-v-1c5e5a3c"]]), qe = {
539
+ }), lt = /* @__PURE__ */ A(at, [["__scopeId", "data-v-1c5e5a3c"]]), st = {
540
540
  key: 0,
541
541
  class: "adj-navigator-wrapper"
542
- }, Be = {
542
+ }, ot = {
543
543
  key: 0,
544
544
  class: "adj-navigator-wrapper__item-title"
545
- }, Ie = /* @__PURE__ */ f({
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(v) {
554
- const r = v, { width: o } = F();
555
- function d(e) {
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 s = e.length - 1;
558
- "title" in e[s] || (e[s].rightLineDesign = "hidden");
557
+ const d = e.length - 1;
558
+ "title" in e[d] || (e[d].rightLineDesign = "hidden");
559
559
  }
560
- const a = Y(
560
+ const l = he(
561
561
  (e) => {
562
562
  if (e.length === 0)
563
563
  return [];
564
- let s = [];
565
- const n = e.findIndex((c) => "title" in c);
566
- return n == -1 ? s = e : (n > 0 && s.push({ ...e[n - 1] }), s.push({ ...e[n] }), e[n + 1] !== void 0 && s.push({ ...e[n + 1] })), s;
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 = C(
568
+ ), t = I(
569
569
  () => {
570
570
  let e = [];
571
- return o.value >= 780 ? e = r.items : e = a(r.items), d(e), e;
571
+ return n.value >= 780 ? e = v.items : e = l(v.items), r(e), e;
572
572
  }
573
573
  );
574
- return (e, s) => e.items.length > 0 ? (i(), l("div", qe, [
575
- (i(!0), l(p, null, g(t.value, (n) => (i(), l("div", {
576
- key: n.step,
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 n ? (i(), l("div", Be, $(n.title), 1)) : (i(), D(Ne, {
579
+ "title" in u ? (a(), s("div", ot, b(u.title), 1)) : (a(), N(lt, {
580
580
  key: 1,
581
- id: n.id,
582
- step: n.step,
583
- squareType: n.squareType,
584
- squareDesign: n.squareDesign,
585
- leftLineDesign: n.leftLineDesign,
586
- rightLineDesign: n.rightLineDesign,
587
- label: n.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", n)
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
- ])) : _("", !0);
593
+ ])) : y("", !0);
594
594
  }
595
- }), P = /* @__PURE__ */ j(Ie, [["__scopeId", "data-v-c07fa70c"]]), Te = { class: "adj-navigator" }, Se = {
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
- }, Qe = { class: "adj-navigator__inline" }, Me = /* @__PURE__ */ f({
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(v) {
607
- Q((d) => ({
608
- "69d4e0aa": d.mobileMarginTop
606
+ setup(k) {
607
+ Q((r) => ({
608
+ "69d4e0aa": r.mobileMarginTop
609
609
  }));
610
- const { y: r } = G(), o = C(() => r.value > 90);
611
- return (d, a) => (i(), l("div", Te, [
612
- o.value ? (i(), l("div", Se, [
613
- m(P, {
614
- items: d.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: d.loading,
617
- onClick: a[0] || (a[0] = (t) => d.$emit("click", t))
616
+ loading: r.loading,
617
+ onClick: l[0] || (l[0] = (t) => r.$emit("click", t))
618
618
  }, null, 8, ["items", "loading"])
619
- ])) : _("", !0),
620
- u("div", Qe, [
621
- m(P, {
622
- items: d.items,
619
+ ])) : y("", !0),
620
+ i("div", ut, [
621
+ p(X, {
622
+ items: r.items,
623
623
  showLabel: !0,
624
- loading: d.loading,
625
- onClick: a[1] || (a[1] = (t) => d.$emit("click", t))
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
- }), at = /* @__PURE__ */ j(Me, [["__scopeId", "data-v-aba78aae"]]), Pe = { class: "adj-personalizations" }, He = { class: "adj-personalizations__items" }, ze = {
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
- }, Re = /* @__PURE__ */ f({
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(v) {
642
- const r = v, o = [
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
- ], d = C(() => r.items.map((a) => {
657
- var k;
658
- let t = !1, e = !1, s = !1, n = !1, c = 0;
659
- return a.id in r.modelValue && ((k = r.modelValue[a.id]) == null ? void 0 : k.length) > 0 && (c = r.modelValue[a.id].length, n = !0, t = !0, a.required && (t = !1), a.multiple && (s = !0, e = !0)), {
660
- ...a,
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: s,
663
+ labelQuantity: d,
664
664
  quantity: c,
665
- checked: n
665
+ checked: u
666
666
  };
667
667
  }));
668
- return (a, t) => (i(), l("div", Pe, [
669
- u("div", He, [
670
- a.items.length > 0 ? (i(!0), l(p, { key: 0 }, g(d.value, (e, s) => (i(), l(p, {
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 ? (i(), l("div", ze, [
674
- m(N, {
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: (n) => a.$emit("click", a.items[s]),
686
- onClickClose: (n) => a.$emit("clickClose", a.items[s]),
687
- onClickPlus: (n) => a.$emit("clickPlus", a.items[s])
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
- ])) : _("", !0)
690
- ], 64))), 128)) : (i(!0), l(p, { key: 1 }, g(a.skeletonQty, (e) => (i(), l("div", {
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
- m(w, {
695
- loaders: o,
694
+ p(z, {
695
+ loaders: n,
696
696
  centered: ""
697
697
  })
698
698
  ]))), 128))
699
699
  ])
700
700
  ]));
701
701
  }
702
- }), it = /* @__PURE__ */ j(Re, [["__scopeId", "data-v-492497f8"]]), Ze = { class: "adj-products" }, We = { class: "adj-products_wrapper" }, Ee = /* @__PURE__ */ f({
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(v, { emit: r }) {
711
- const o = r;
712
- return (d, a) => (i(), l("div", Ze, [
713
- u("div", We, [
714
- d.items.length > 0 ? (i(!0), l(p, { key: 0 }, g(d.items, (t) => (i(), l("div", {
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
- m(M, {
1242
+ p(O, {
719
1243
  id: t.id,
720
1244
  name: t.name,
721
1245
  hintHtml: t.hintHtml,
722
- duration: d.duration,
1246
+ duration: r.duration,
723
1247
  underlined: "",
724
1248
  checked: !1,
725
1249
  images: t.images,
726
1250
  modelValue: t,
727
- onClick: (e) => o("click", t)
1251
+ onClick: (e) => n("click", t)
728
1252
  }, null, 8, ["id", "name", "hintHtml", "duration", "images", "modelValue", "onClick"])
729
- ]))), 128)) : (i(!0), l(p, { key: 1 }, g(d.skeletonQty, (t) => (i(), l("div", {
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
- m(w, {
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
- }), lt = /* @__PURE__ */ j(Ee, [["__scopeId", "data-v-9d2cee0c"]]), Fe = { class: "adj-stitchings" }, Ye = { class: "adj-stitchings__groups" }, Ge = { class: "adj-stitchings__items" }, Ke = /* @__PURE__ */ f({
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(v) {
753
- const r = v, o = [
1276
+ setup(k) {
1277
+ const v = k, n = [
754
1278
  {
755
1279
  height: "34px",
756
1280
  width: "85px"
757
1281
  }
758
- ], d = [
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
- ], a = C(() => {
1291
+ ], l = I(() => {
768
1292
  var t;
769
- for (const e of r.groups) {
1293
+ for (const e of v.groups) {
770
1294
  e.items;
771
- for (const s of e.items)
772
- if (s.id === ((t = r.modelValue) == null ? void 0 : t.id))
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) => (i(), l("div", Fe, [
778
- u("div", Ye, [
779
- t.groups.length > 0 ? (i(!0), l(p, { key: 0 }, g(t.groups, (s) => {
780
- var n;
781
- return i(), D(E, {
782
- title: s.name,
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: s.id === ((n = a.value) == null ? void 0 : n.id) ? "alternative-active" : "alternative",
785
- onClick: (c) => t.$emit("update:modelValue", s.items[0])
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)) : (i(), l(p, { key: 1 }, g(4, (s) => u("div", { key: s }, [
788
- m(w, { loaders: o })
1311
+ }), 256)) : (a(), s(j, { key: 1 }, $(4, (d) => i("div", { key: d }, [
1312
+ p(z, { loaders: n })
789
1313
  ])), 64))
790
1314
  ]),
791
- u("div", Ge, [
792
- t.groups.length > 0 && a.value ? (i(!0), l(p, { key: 0 }, g(a.value.items, (s, n) => {
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 i(), l("div", {
1318
+ return a(), s("div", {
795
1319
  class: "adj-stitchings__item",
796
- key: n
1320
+ key: u
797
1321
  }, [
798
- m(N, {
799
- id: s.id,
800
- image: s.image,
1322
+ p(F, {
1323
+ id: d.id,
1324
+ image: d.image,
801
1325
  aspectRatio: 1.5,
802
- name: s.name,
803
- checked: s.id == ((c = t.modelValue) == null ? void 0 : c.id),
804
- onClick: (k) => t.$emit("update:modelValue", s)
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)) : (i(!0), l(p, { key: 1 }, g(t.skeletonQty, (s) => (i(), l("div", {
808
- key: s,
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
- m(w, { loaders: d })
1335
+ p(z, { loaders: r })
812
1336
  ]))), 128))
813
1337
  ])
814
1338
  ]));
815
1339
  }
816
- }), st = /* @__PURE__ */ j(Ke, [["__scopeId", "data-v-fc6da26b"]]);
1340
+ }), Sa = /* @__PURE__ */ A(fa, [["__scopeId", "data-v-fc6da26b"]]);
817
1341
  export {
818
- Xe as AdjBlocks,
819
- xe as AdjLaminates,
820
- et as AdjMaterials,
821
- tt as AdjModels,
822
- at as AdjNavigator,
823
- it as AdjPersonalizations,
824
- lt as AdjProducts,
825
- st as AdjStitchings
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
  };