@poni/adjutant-ui 0.0.107 → 0.0.108

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 (59) hide show
  1. package/dist/AdjUploadFile-CyQywon3.cjs +1 -0
  2. package/dist/{AdjUploadFile-BNk0Ibab.js → AdjUploadFile-hEC_M0bi.js} +182 -188
  3. package/dist/components/AdjButton/AdjButton.vue.d.ts +6 -22
  4. package/dist/components/AdjButtonCheckbox/AdjButtonCheckbox.vue.d.ts +5 -11
  5. package/dist/components/AdjCheckbox/AdjCheckbox.vue.d.ts +6 -19
  6. package/dist/components/AdjDownloadLink/AdjDownloadLink.vue.d.ts +3 -7
  7. package/dist/components/AdjDropdownLink/AdjDropdownLink.vue.d.ts +3 -10
  8. package/dist/components/AdjFilterCheckbox/AdjFilterCheckbox.vue.d.ts +5 -9
  9. package/dist/components/AdjFilterSelect/AdjFilterSelect.vue.d.ts +5 -13
  10. package/dist/components/AdjFilters/AdjFilters.vue.d.ts +5 -7
  11. package/dist/components/AdjFiltersMobile/AdjFiltersMobile.vue.d.ts +5 -15
  12. package/dist/components/AdjHint/AdjHint.vue.d.ts +16 -25
  13. package/dist/components/AdjHintDesktop/AdjHintDesktop.vue.d.ts +4 -14
  14. package/dist/components/AdjIcon/AdjIcon.vue.d.ts +6 -18
  15. package/dist/components/AdjIconButton/AdjIconButton.vue.d.ts +7 -17
  16. package/dist/components/AdjIconButtonText/AdjIconButtonText.vue.d.ts +6 -14
  17. package/dist/components/AdjImageButton/AdjImageButton.vue.d.ts +4 -8
  18. package/dist/components/AdjInput/AdjInput.vue.d.ts +7 -27
  19. package/dist/components/AdjInputModern/AdjInputModern.vue.d.ts +5 -13
  20. package/dist/components/AdjInputNumber/AdjInputNumber.vue.d.ts +5 -15
  21. package/dist/components/AdjModal/AdjModal.vue.d.ts +13 -18
  22. package/dist/components/AdjRadio/AdjRadio.vue.d.ts +6 -14
  23. package/dist/components/AdjScroll/AdjScroll.vue.d.ts +10 -13
  24. package/dist/components/AdjSelect/AdjSelect.vue.d.ts +6 -24
  25. package/dist/components/AdjSelectImage/AdjSelectImage.vue.d.ts +5 -17
  26. package/dist/components/AdjSelectModern/AdjSelectModern.vue.d.ts +6 -16
  27. package/dist/components/AdjSkeleton/AdjSkeleton.vue.d.ts +5 -11
  28. package/dist/components/AdjSkeletonItem/AdjSkeletonItem.vue.d.ts +4 -12
  29. package/dist/components/AdjSliderButton/AdjSliderButton.vue.d.ts +6 -10
  30. package/dist/components/AdjSvg/AdjSvgActive.vue.d.ts +1 -1
  31. package/dist/components/AdjSvg/AdjSvgEdit.vue.d.ts +1 -1
  32. package/dist/components/AdjSvg/AdjSvgFly.vue.d.ts +1 -1
  33. package/dist/components/AdjSvg/AdjSvgYoutube.vue.d.ts +1 -1
  34. package/dist/components/AdjTabs/AdjTabs.vue.d.ts +5 -9
  35. package/dist/components/AdjUploadFile/AdjUploadFile.vue.d.ts +5 -13
  36. package/dist/components/constructor/AdjBlocks/AdjBlocks.vue.d.ts +5 -11
  37. package/dist/components/constructor/AdjLaminates/AdjLaminates.vue.d.ts +5 -11
  38. package/dist/components/constructor/AdjMaterials/AdjMaterials.vue.d.ts +5 -11
  39. package/dist/components/constructor/AdjModels/AdjModels.vue.d.ts +5 -13
  40. package/dist/components/constructor/AdjNavigator/AdjNavigator.vue.d.ts +5 -10
  41. package/dist/components/constructor/AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.vue.d.ts +5 -28
  42. package/dist/components/constructor/AdjPersonalizations/AdjPersonalizations.vue.d.ts +5 -13
  43. package/dist/components/constructor/AdjPricebar/AdjPricebar.vue.d.ts +5 -35
  44. package/dist/components/constructor/AdjProducts/AdjProducts.vue.d.ts +5 -11
  45. package/dist/components/constructor/AdjStitchings/AdjStitchings.vue.d.ts +5 -11
  46. package/dist/components/constructor/elements/AdjCoverGroupItem/AdjCoverGroupItem.vue.d.ts +5 -13
  47. package/dist/components/constructor/elements/AdjCoverItem/AdjCoverItem.vue.d.ts +5 -27
  48. package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.vue.d.ts +5 -43
  49. package/dist/components/constructor/elements/AdjNavigatorItem/AdjNavigatorItem.vue.d.ts +1 -1
  50. package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.vue.d.ts +4 -9
  51. package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.vue.d.ts +5 -15
  52. package/dist/components/constructor/elements/AdjPricebarWrapper/AdjPricebarWrapper.vue.d.ts +5 -8
  53. package/dist/components.cjs +1 -1
  54. package/dist/components.js +2 -2
  55. package/dist/constructor.cjs +1 -1
  56. package/dist/constructor.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/package.json +2 -2
  59. package/dist/AdjUploadFile-Ddv4QCCr.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as k, openBlock as o, createElementBlock as n, normalizeClass as m, createCommentVNode as y, createElementVNode as s, toDisplayString as $, withDirectives as O, vShow as N, normalizeStyle as F, renderSlot as ee, useTemplateRef as R, ref as _, createVNode as B, Transition as Q, withCtx as L, Fragment as D, renderList as U, withModifiers as H, useCssVars as q, computed as te, onMounted as de, watchEffect as ue, createBlock as re } from "vue";
2
- import { onClickOutside as ie, useWindowSize as se, useMouseInElement as X, useWindowScroll as ce } from "@vueuse/core";
1
+ import { defineComponent as k, openBlock as i, createElementBlock as n, normalizeClass as m, createCommentVNode as H, createElementVNode as o, toDisplayString as $, withDirectives as O, vShow as N, normalizeStyle as F, renderSlot as ee, useTemplateRef as S, ref as _, createVNode as M, Transition as x, withCtx as R, Fragment as D, renderList as U, withModifiers as A, useCssVars as q, computed as te, onMounted as de, watchEffect as ue, createBlock as re } from "vue";
2
+ import { onClickOutside as ie, useWindowSize as se, useMouseInElement as Q, useWindowScroll as ce } from "@vueuse/core";
3
3
  const fe = /* @__PURE__ */ k({
4
4
  __name: "AdjButton",
5
5
  props: {
@@ -14,7 +14,7 @@ const fe = /* @__PURE__ */ k({
14
14
  },
15
15
  emits: ["click"],
16
16
  setup(r) {
17
- return (e, t) => (o(), n("button", {
17
+ return (e, t) => (i(), n("button", {
18
18
  class: m(["adj-button", {
19
19
  [`adj-button_${e.size}`]: !0,
20
20
  [`adj-button_${e.design}`]: !0,
@@ -24,15 +24,15 @@ const fe = /* @__PURE__ */ k({
24
24
  }]),
25
25
  onClick: t[0] || (t[0] = (a) => e.disabled ? 0 : e.$emit("click"))
26
26
  }, [
27
- e.iconLeft ? (o(), n("i", {
27
+ e.iconLeft ? (i(), n("i", {
28
28
  key: 0,
29
29
  class: m(e.iconLeft)
30
- }, null, 2)) : y("", !0),
31
- s("div", null, $(e.title), 1),
32
- e.iconRight ? (o(), n("i", {
30
+ }, null, 2)) : H("", !0),
31
+ o("div", null, $(e.title), 1),
32
+ e.iconRight ? (i(), n("i", {
33
33
  key: 1,
34
34
  class: m(e.iconRight)
35
- }, null, 2)) : y("", !0)
35
+ }, null, 2)) : H("", !0)
36
36
  ], 2));
37
37
  }
38
38
  }), g = (r, e) => {
@@ -67,24 +67,24 @@ const fe = /* @__PURE__ */ k({
67
67
  function u() {
68
68
  t.modelValue.checked === t.items[0].checked ? a("update:modelValue", t.items[1]) : a("update:modelValue", t.items[0]);
69
69
  }
70
- return (l, c) => (o(), n("div", {
70
+ return (l, c) => (i(), n("div", {
71
71
  class: m(["adj-checkbox", { disabled: l.disabled }]),
72
72
  onClick: c[0] || (c[0] = (f) => u())
73
73
  }, [
74
- l.title && l.titlePosition === "left" ? (o(), n("span", pe, $(l.title), 1)) : y("", !0),
75
- s("div", ve, [
76
- O((o(), n("svg", me, c[1] || (c[1] = [
77
- s("rect", {
74
+ l.title && l.titlePosition === "left" ? (i(), n("span", pe, $(l.title), 1)) : H("", !0),
75
+ o("div", ve, [
76
+ O((i(), n("svg", me, c[1] || (c[1] = [
77
+ o("rect", {
78
78
  width: "16",
79
79
  height: "16",
80
80
  rx: "4"
81
81
  }, null, -1),
82
- s("path", { d: "M12.7423 4.27169C12.3993 3.90944 11.842 3.90944 11.4993 4.27169L6.31133 9.75632L4.50067 7.84213C4.169 7.4915 3.58867 7.49185 3.258 7.84178C3.09167 8.01691 3 8.25055 3 8.49899C3 8.74742 3.09167 8.98106 3.25767 9.1562L5.69 11.7276C5.856 11.9034 6.07667 12 6.31167 12C6.54667 12 6.76767 11.9031 6.93333 11.7276L12.7423 5.58647C12.9083 5.41098 13 5.17734 13 4.9289C13 4.68047 12.9087 4.44719 12.7423 4.27169Z" }, null, -1)
82
+ o("path", { d: "M12.7423 4.27169C12.3993 3.90944 11.842 3.90944 11.4993 4.27169L6.31133 9.75632L4.50067 7.84213C4.169 7.4915 3.58867 7.49185 3.258 7.84178C3.09167 8.01691 3 8.25055 3 8.49899C3 8.74742 3.09167 8.98106 3.25767 9.1562L5.69 11.7276C5.856 11.9034 6.07667 12 6.31167 12C6.54667 12 6.76767 11.9031 6.93333 11.7276L12.7423 5.58647C12.9083 5.41098 13 5.17734 13 4.9289C13 4.68047 12.9087 4.44719 12.7423 4.27169Z" }, null, -1)
83
83
  ]), 512)), [
84
84
  [N, l.modelValue.checked]
85
85
  ])
86
86
  ]),
87
- l.title && l.titlePosition === "right" ? (o(), n("span", he, $(l.title), 1)) : y("", !0)
87
+ l.title && l.titlePosition === "right" ? (i(), n("span", he, $(l.title), 1)) : H("", !0)
88
88
  ], 2));
89
89
  }
90
90
  }), mt = /* @__PURE__ */ g(_e, [["__scopeId", "data-v-f8f6e87a"]]), je = /* @__PURE__ */ k({
@@ -95,7 +95,7 @@ const fe = /* @__PURE__ */ k({
95
95
  },
96
96
  setup(r) {
97
97
  const e = r;
98
- return (t, a) => (o(), n("div", {
98
+ return (t, a) => (i(), n("div", {
99
99
  class: m(["adj-scroll", { "adj-scroll_white": t.white }]),
100
100
  style: F({ maxHeight: `${e.maxHeight}` })
101
101
  }, [
@@ -121,7 +121,7 @@ const fe = /* @__PURE__ */ k({
121
121
  },
122
122
  emits: ["update:modelValue"],
123
123
  setup(r, { emit: e }) {
124
- const t = r, a = e, u = R("refElement");
124
+ const t = r, a = e, u = S("refElement");
125
125
  ie(u, () => l.value = !1);
126
126
  const l = _(!1);
127
127
  function c(d) {
@@ -130,34 +130,34 @@ const fe = /* @__PURE__ */ k({
130
130
  function f() {
131
131
  "id" in t.modelValue ? c({}) : l.value = !l.value;
132
132
  }
133
- return (d, b) => (o(), n("div", {
133
+ return (d, b) => (i(), n("div", {
134
134
  ref: "refElement",
135
135
  class: m(["adj-filter-select", [{ show: l.value, active: "id" in d.modelValue && d.modelValue.id }, d.position]])
136
136
  }, [
137
- s("div", {
137
+ o("div", {
138
138
  class: "adj-filter-select__name adj-text-14",
139
- onClick: b[0] || (b[0] = (i) => f())
139
+ onClick: b[0] || (b[0] = (s) => f())
140
140
  }, [
141
- s("span", null, $("id" in d.modelValue && d.modelValue.id ? d.modelValue.name : d.title), 1),
142
- "id" in d.modelValue && d.modelValue.id ? (o(), n("i", ge)) : (o(), n("i", ke)),
143
- B(Q, { name: "adj-fade" }, {
144
- default: L(() => [
145
- l.value ? (o(), n("div", be, [
146
- B(ne, { maxHeight: "384px" }, {
147
- default: L(() => [
148
- s("div", null, [
149
- (o(!0), n(D, null, U(d.items, (i) => (o(), n("div", {
150
- key: i.id,
151
- class: m(["adj-filter-select__item adj-text-14", { "adj-filter-select__item_disabled": i.disabled }]),
152
- onClick: H((p) => c(i), ["stop"])
141
+ o("span", null, $("id" in d.modelValue && d.modelValue.id ? d.modelValue.name : d.title), 1),
142
+ "id" in d.modelValue && d.modelValue.id ? (i(), n("i", ge)) : (i(), n("i", ke)),
143
+ M(x, { name: "adj-fade" }, {
144
+ default: R(() => [
145
+ l.value ? (i(), n("div", be, [
146
+ M(ne, { maxHeight: "384px" }, {
147
+ default: R(() => [
148
+ o("div", null, [
149
+ (i(!0), n(D, null, U(d.items, (s) => (i(), n("div", {
150
+ key: s.id,
151
+ class: m(["adj-filter-select__item adj-text-14", { "adj-filter-select__item_disabled": s.disabled }]),
152
+ onClick: A((p) => c(s), ["stop"])
153
153
  }, [
154
- s("span", null, $(i.name), 1)
154
+ o("span", null, $(s.name), 1)
155
155
  ], 10, we))), 128))
156
156
  ])
157
157
  ]),
158
158
  _: 1
159
159
  })
160
- ])) : y("", !0)
160
+ ])) : H("", !0)
161
161
  ]),
162
162
  _: 1
163
163
  })
@@ -176,7 +176,7 @@ const fe = /* @__PURE__ */ k({
176
176
  setup(r) {
177
177
  return q((e) => ({
178
178
  "7aca7e46": e.width
179
- })), (e, t) => (o(), n("div", {
179
+ })), (e, t) => (i(), n("div", {
180
180
  class: m([
181
181
  "adj-hint-desktop",
182
182
  { "adj-hint-desktop_dark": e.dark },
@@ -184,11 +184,11 @@ const fe = /* @__PURE__ */ k({
184
184
  `adj-hint-desktop_${e.horizontalPosition}`
185
185
  ])
186
186
  }, [
187
- s("div", {
187
+ o("div", {
188
188
  class: "adj-hint-desktop__text",
189
189
  innerHTML: e.html
190
190
  }, null, 8, Ce),
191
- t[0] || (t[0] = s("svg", {
191
+ t[0] || (t[0] = o("svg", {
192
192
  class: "adj-hint-desktop__triangle",
193
193
  width: "14",
194
194
  height: "14",
@@ -196,11 +196,11 @@ const fe = /* @__PURE__ */ k({
196
196
  fill: "none",
197
197
  xmlns: "http://www.w3.org/2000/svg"
198
198
  }, [
199
- s("path", {
199
+ o("path", {
200
200
  class: "adj-hint-desktop__triangle_inner",
201
201
  d: "M13 13L7 2L1 13H13Z"
202
202
  }),
203
- s("path", {
203
+ o("path", {
204
204
  class: "adj-hint-desktop__triangle_border",
205
205
  d: "M13 13L7 2L1 13"
206
206
  })
@@ -223,32 +223,32 @@ const fe = /* @__PURE__ */ k({
223
223
  function a() {
224
224
  t("update:show", !1);
225
225
  }
226
- return (u, l) => (o(), n("div", Ve, [
227
- B(Q, { name: "adj-fade" }, {
228
- default: L(() => [
229
- O(s("div", Ie, l[1] || (l[1] = [
230
- s("div", { class: "adj-modal__background" }, null, -1)
226
+ return (u, l) => (i(), n("div", Ve, [
227
+ M(x, { name: "adj-fade" }, {
228
+ default: R(() => [
229
+ O(o("div", Ie, l[1] || (l[1] = [
230
+ o("div", { class: "adj-modal__background" }, null, -1)
231
231
  ]), 512), [
232
232
  [N, u.show]
233
233
  ])
234
234
  ]),
235
235
  _: 1
236
236
  }),
237
- B(Q, { name: "adj-popup-bottom" }, {
238
- default: L(() => [
239
- O(s("div", {
237
+ M(x, { name: "adj-popup-bottom" }, {
238
+ default: R(() => [
239
+ O(o("div", {
240
240
  class: "adj-modal_wrapper",
241
- onClick: H(a, ["stop"])
241
+ onClick: A(a, ["stop"])
242
242
  }, [
243
- s("div", {
243
+ o("div", {
244
244
  class: "adj-modal__window",
245
- onClick: l[0] || (l[0] = H(() => {
245
+ onClick: l[0] || (l[0] = A(() => {
246
246
  }, ["stop"]))
247
247
  }, [
248
- u.hideClose ? y("", !0) : (o(), n("div", {
248
+ u.hideClose ? H("", !0) : (i(), n("div", {
249
249
  key: 0,
250
250
  class: "adj-modal__close icon-close",
251
- onClick: H(a, ["stop"])
251
+ onClick: A(a, ["stop"])
252
252
  })),
253
253
  ee(u.$slots, "default", {}, void 0, !0)
254
254
  ])
@@ -270,40 +270,40 @@ const fe = /* @__PURE__ */ k({
270
270
  modalMode: { type: Boolean, default: !1 }
271
271
  },
272
272
  setup(r) {
273
- const e = r, t = _(!1), a = _(!1), { width: u, height: l } = se(), c = R("refSlot"), f = R("refHint"), d = _(0), b = _(0), { elementWidth: i, elementHeight: p } = X(c), v = _(0), h = _(80), { elementWidth: w, elementHeight: P } = X(f), V = _(e.horizontalPosition), C = _(e.verticalPosition);
274
- let I = 10 + K / 2;
273
+ const e = r, t = _(!1), a = _(!1), { width: u, height: l } = se(), c = S("refSlot"), f = S("refHint"), d = _(0), b = _(0), { elementWidth: s, elementHeight: p } = Q(c), v = _(0), h = _(80), { elementWidth: w, elementHeight: y } = Q(f), P = _(e.horizontalPosition), C = _(e.verticalPosition);
274
+ let V = 10 + K / 2;
275
275
  function T() {
276
- (!e.modalMode || u.value >= 1200) && (S(), Z(), Y(), t.value = !0);
276
+ (!e.modalMode || u.value >= 1200) && (L(), Z(), X(), t.value = !0);
277
277
  }
278
278
  function W() {
279
279
  (!e.modalMode || u.value >= 1200) && (t.value = !1);
280
280
  }
281
- function M() {
281
+ function B() {
282
282
  e.modalMode && u.value < 1200 && (a.value = !0);
283
283
  }
284
- function S() {
284
+ function L() {
285
285
  if (c.value !== null) {
286
- const A = c.value.getBoundingClientRect();
287
- d.value = A.left, b.value = A.top;
286
+ const I = c.value.getBoundingClientRect();
287
+ d.value = I.left, b.value = I.top;
288
288
  }
289
289
  }
290
290
  function Z() {
291
- e.dark && (I = 15 + K / 2), V.value = e.horizontalPosition, C.value = e.verticalPosition, e.horizontalPosition === "left" && d.value + i.value / 2 + I - w.value < 0 ? V.value = "right" : e.horizontalPosition === "right" && d.value + i.value / 2 - I + w.value > u.value && (V.value = "left"), e.verticalPosition === "top" && b.value - J - P.value < 0 ? C.value = "bottom" : e.verticalPosition === "bottom" && b.value + p.value + J + P.value > l.value && (C.value = "top");
291
+ e.dark && (V = 15 + K / 2), P.value = e.horizontalPosition, C.value = e.verticalPosition, e.horizontalPosition === "left" && d.value + s.value / 2 + V - w.value < 0 ? P.value = "right" : e.horizontalPosition === "right" && d.value + s.value / 2 - V + w.value > u.value && (P.value = "left"), e.verticalPosition === "top" && b.value - J - y.value < 0 ? C.value = "bottom" : e.verticalPosition === "bottom" && b.value + p.value + J + y.value > l.value && (C.value = "top");
292
292
  }
293
- function Y() {
294
- e.dark && (I = 15 + K / 2), V.value === "left" ? v.value = d.value + i.value / 2 + I - w.value : V.value === "center" ? v.value = d.value + i.value / 2 - K / 2 - w.value / 2 : V.value === "right" && (v.value = d.value + i.value / 2 - I), C.value == "top" ? h.value = b.value - J - P.value : C.value == "bottom" && (h.value = b.value + p.value + J);
293
+ function X() {
294
+ e.dark && (V = 15 + K / 2), P.value === "left" ? v.value = d.value + s.value / 2 + V - w.value : P.value === "center" ? v.value = d.value + s.value / 2 - K / 2 - w.value / 2 : P.value === "right" && (v.value = d.value + s.value / 2 - V), C.value == "top" ? h.value = b.value - J - y.value : C.value == "bottom" && (h.value = b.value + p.value + J);
295
295
  }
296
- return (A, G) => (o(), n("div", ze, [
297
- s("div", {
296
+ return (I, G) => (i(), n("div", ze, [
297
+ o("div", {
298
298
  class: "adj-hint__slot",
299
- onMouseenter: H(T, ["stop"]),
300
- onMouseleave: H(W, ["stop"]),
301
- onClick: H(M, ["stop"]),
299
+ onMouseenter: A(T, ["stop"]),
300
+ onMouseleave: A(W, ["stop"]),
301
+ onClick: A(B, ["stop"]),
302
302
  ref: "refSlot"
303
303
  }, [
304
- ee(A.$slots, "default", {}, void 0, !0)
304
+ ee(I.$slots, "default", {}, void 0, !0)
305
305
  ], 544),
306
- s("div", {
306
+ o("div", {
307
307
  class: "adj-hint__hint",
308
308
  style: F({
309
309
  left: v.value + "px",
@@ -312,25 +312,25 @@ const fe = /* @__PURE__ */ k({
312
312
  }),
313
313
  ref: "refHint"
314
314
  }, [
315
- O(B(Pe, {
316
- html: A.html,
317
- horizontalPosition: V.value,
315
+ O(M(Pe, {
316
+ html: I.html,
317
+ horizontalPosition: P.value,
318
318
  verticalPosition: C.value,
319
- dark: A.dark,
319
+ dark: I.dark,
320
320
  width: "252px"
321
321
  }, null, 8, ["html", "horizontalPosition", "verticalPosition", "dark"]), [
322
- [N, A.html !== ""]
322
+ [N, I.html !== ""]
323
323
  ])
324
324
  ], 4),
325
- B(He, {
325
+ M(He, {
326
326
  show: a.value,
327
- "onUpdate:show": G[0] || (G[0] = (x) => a.value = x),
327
+ "onUpdate:show": G[0] || (G[0] = (Y) => a.value = Y),
328
328
  width: "430px"
329
329
  }, {
330
- default: L(() => [
331
- s("div", {
330
+ default: R(() => [
331
+ o("div", {
332
332
  class: "adj-hint__modal",
333
- innerHTML: A.html
333
+ innerHTML: I.html
334
334
  }, null, 8, Be)
335
335
  ]),
336
336
  _: 1
@@ -353,19 +353,19 @@ const fe = /* @__PURE__ */ k({
353
353
  "7fb84d06": t.value
354
354
  }));
355
355
  const e = r, t = te(() => e.size + "px");
356
- return (a, u) => (o(), n("div", {
356
+ return (a, u) => (i(), n("div", {
357
357
  class: m(["adj-icon", {
358
358
  [`adj-icon_${a.design}`]: !0,
359
359
  "adj-icon_disabled": a.disabled
360
360
  }])
361
361
  }, [
362
- B(Le, {
362
+ M(Le, {
363
363
  dark: !1,
364
364
  html: a.disabled ? "" : a.tooltip,
365
365
  horizontalPosition: a.tooltipPosition
366
366
  }, {
367
- default: L(() => [
368
- s("i", {
367
+ default: R(() => [
368
+ o("i", {
369
369
  class: m([a.iconName]),
370
370
  onClick: u[0] || (u[0] = (l) => a.$emit("click"))
371
371
  }, null, 2)
@@ -388,7 +388,7 @@ const fe = /* @__PURE__ */ k({
388
388
  },
389
389
  emits: ["click"],
390
390
  setup(r) {
391
- return (e, t) => (o(), n("div", {
391
+ return (e, t) => (i(), n("div", {
392
392
  class: m(["adj-icon-button", {
393
393
  [`adj-icon-button_${e.size}`]: !0,
394
394
  [`adj-icon-button_${e.design}`]: !0,
@@ -396,10 +396,10 @@ const fe = /* @__PURE__ */ k({
396
396
  }]),
397
397
  onClick: t[0] || (t[0] = (a) => e.$emit("click"))
398
398
  }, [
399
- s("i", {
399
+ o("i", {
400
400
  class: m(["adj-icon-button__icon", e.iconName])
401
401
  }, null, 2),
402
- e.qty > 0 ? (o(), n("div", Re, $(e.qty), 1)) : y("", !0)
402
+ e.qty > 0 ? (i(), n("div", Re, $(e.qty), 1)) : H("", !0)
403
403
  ], 2));
404
404
  }
405
405
  }), jt = /* @__PURE__ */ g(Te, [["__scopeId", "data-v-bd9a4816"]]), We = ["onClick"], Ee = { class: "adj-radio__item_name adj-text-13" }, Fe = /* @__PURE__ */ k({
@@ -417,12 +417,12 @@ const fe = /* @__PURE__ */ k({
417
417
  var c;
418
418
  l.id !== ((c = t.modelValue) == null ? void 0 : c.id) && a("update:modelValue", l);
419
419
  }
420
- return (l, c) => (o(), n("div", {
420
+ return (l, c) => (i(), n("div", {
421
421
  class: m(["adj-radio", { "adj-radio_disabled": l.disabled }])
422
422
  }, [
423
- (o(!0), n(D, null, U(l.items, (f) => {
423
+ (i(!0), n(D, null, U(l.items, (f) => {
424
424
  var d;
425
- return o(), n("div", {
425
+ return i(), n("div", {
426
426
  key: f.id,
427
427
  class: m(["adj-radio__item", {
428
428
  active: ((d = l.modelValue) == null ? void 0 : d.id) === f.id,
@@ -430,10 +430,10 @@ const fe = /* @__PURE__ */ k({
430
430
  }]),
431
431
  onClick: (b) => u(f)
432
432
  }, [
433
- s("div", {
433
+ o("div", {
434
434
  class: m(["adj-radio__item_button", { "adj-effect-overlay-small": !l.disabled }])
435
435
  }, null, 2),
436
- s("span", Ee, $(f.name), 1)
436
+ o("span", Ee, $(f.name), 1)
437
437
  ], 10, We);
438
438
  }), 128))
439
439
  ], 2));
@@ -448,7 +448,7 @@ const fe = /* @__PURE__ */ k({
448
448
  __name: "AdjSelectModern",
449
449
  props: {
450
450
  design: { default: "text" },
451
- horizontalPosition: { default: "left" },
451
+ horizontalPosition: { default: "right" },
452
452
  verticalPosition: { default: "bottom" },
453
453
  items: { default: () => [] },
454
454
  modelValue: {}
@@ -461,107 +461,101 @@ const fe = /* @__PURE__ */ k({
461
461
  u.value >= 0 && l.value >= 0 && c.value >= 0 && Z();
462
462
  });
463
463
  });
464
- const d = R("refElement");
465
- ie(d, () => i.value = !1);
464
+ const d = S("refElement");
465
+ ie(d, () => s.value = !1);
466
466
  function b(j) {
467
467
  var z;
468
- i.value = !1, j.id != ((z = t.modelValue) == null ? void 0 : z.id) && a("update:modelValue", j);
468
+ s.value = !1, j.id != ((z = t.modelValue) == null ? void 0 : z.id) && a("update:modelValue", j);
469
469
  }
470
- const i = _(!1), p = R("refInput"), v = R("refItems"), h = _(0), w = _(0), { elementWidth: P, elementHeight: V } = X(p), C = _(0), I = _(80), { elementWidth: T, elementHeight: W } = X(v), M = _(t.horizontalPosition), S = _(t.verticalPosition);
470
+ const s = _(!1), p = S("refInput"), v = S("refItems"), h = _(0), w = _(0), { elementWidth: y, elementHeight: P } = Q(p), C = _(0), V = _(80), { elementWidth: T, elementHeight: W } = Q(v), B = _(t.horizontalPosition), L = _(t.verticalPosition);
471
471
  function Z() {
472
- i.value && (A(), G(), x());
472
+ s.value && (I(), G(), Y());
473
473
  }
474
- function Y() {
475
- i.value = !i.value, Z();
474
+ function X() {
475
+ s.value = !s.value, Z();
476
476
  }
477
- function A() {
477
+ function I() {
478
478
  if (p.value !== null) {
479
479
  const j = p.value.getBoundingClientRect();
480
480
  h.value = j.left, w.value = j.top;
481
481
  }
482
482
  }
483
483
  function G() {
484
- M.value = t.horizontalPosition, S.value = t.verticalPosition, t.horizontalPosition === "left" && h.value + P.value < T.value ? M.value = "right" : t.horizontalPosition === "right" && T.value > c.value - h.value && (M.value = "left"), t.verticalPosition === "top" && w.value - W.value < 0 ? S.value = "bottom" : t.verticalPosition === "bottom" && w.value + V.value + W.value > f.value && (S.value = "top");
484
+ B.value = t.horizontalPosition, L.value = t.verticalPosition, t.horizontalPosition === "left" && h.value + y.value < T.value ? B.value = "right" : t.horizontalPosition === "right" && T.value > c.value - h.value && (B.value = "left"), t.verticalPosition === "top" && w.value - W.value < 0 ? L.value = "bottom" : t.verticalPosition === "bottom" && w.value + P.value + W.value > f.value && (L.value = "top");
485
485
  }
486
- function x() {
487
- M.value === "left" ? C.value = h.value + P.value - T.value : M.value === "center" ? C.value = h.value + P.value / 2 - T.value / 2 : M.value === "right" && (C.value = h.value), S.value == "top" ? I.value = w.value - W.value : S.value == "bottom" && (I.value = w.value + V.value);
486
+ function Y() {
487
+ B.value === "left" ? C.value = h.value + y.value - T.value : B.value === "center" ? C.value = h.value + y.value / 2 - T.value / 2 : B.value === "right" && (C.value = h.value), L.value == "top" ? V.value = w.value - W.value : L.value == "bottom" && (V.value = w.value + P.value);
488
488
  }
489
489
  return (j, z) => {
490
490
  var le, ae, oe;
491
- return o(), n("div", {
491
+ return i(), n("div", {
492
492
  ref: "refElement",
493
493
  class: m([
494
494
  "adj-select-modern",
495
495
  "adj-text-14",
496
496
  j.horizontalPosition,
497
497
  `adj-select-modern_${j.design}`,
498
- { showItems: i.value }
498
+ { showItems: s.value }
499
499
  ])
500
500
  }, [
501
- s("div", {
501
+ o("div", {
502
502
  ref: "refInput",
503
503
  class: "adj-input adj-text-14",
504
- onClick: H(Y, ["stop"])
504
+ onClick: A(X, ["stop"])
505
505
  }, [
506
- j.design === "image" ? (o(), n("div", Oe, [
507
- s("img", {
506
+ j.design === "image" ? (i(), n("div", Oe, [
507
+ o("img", {
508
508
  src: (le = j.modelValue) == null ? void 0 : le.image,
509
509
  alt: ""
510
510
  }, null, 8, Ne),
511
- z[0] || (z[0] = s("div", { class: "adj-input__border" }, null, -1))
512
- ])) : j.design === "background" ? (o(), n("div", {
511
+ z[0] || (z[0] = o("div", { class: "adj-input__border" }, null, -1))
512
+ ])) : j.design === "background" ? (i(), n("div", {
513
513
  key: 1,
514
514
  class: "adj-input__image",
515
515
  style: F({ background: (ae = j.modelValue) == null ? void 0 : ae.background })
516
- }, null, 4)) : y("", !0),
517
- s("span", De, $((oe = j.modelValue) == null ? void 0 : oe.name), 1),
518
- z[1] || (z[1] = s("i", { class: "adj-input__icon icon-arrow-down" }, null, -1))
516
+ }, null, 4)) : H("", !0),
517
+ o("span", De, $((oe = j.modelValue) == null ? void 0 : oe.name), 1),
518
+ z[1] || (z[1] = o("i", { class: "adj-input__icon icon-arrow-down" }, null, -1))
519
519
  ], 512),
520
- B(Q, { name: "adj-fade" }, {
521
- default: L(() => [
522
- i.value ? (o(), n("div", {
523
- key: 0,
524
- class: "adj-select-modern__items adj-effect-overlay-big",
525
- style: F({
526
- left: C.value + "px",
527
- top: I.value + "px",
528
- visibility: i.value ? "visible" : "hidden"
529
- }),
530
- ref: "refItems"
531
- }, [
532
- B(ne, { maxHeight: "384px" }, {
533
- default: L(() => [
534
- s("div", null, [
535
- (o(!0), n(D, null, U(j.items, (E) => (o(), n("div", {
536
- key: E.id,
537
- class: "adj-select-modern__item adj-text-14",
538
- onClick: H((ct) => b(E), ["stop"])
539
- }, [
540
- j.design === "image" ? (o(), n("div", qe, [
541
- s("img", {
542
- src: E.image,
543
- alt: ""
544
- }, null, 8, Ze),
545
- z[2] || (z[2] = s("div", { class: "adj-select-modern__item-border" }, null, -1))
546
- ])) : j.design === "background" ? (o(), n("div", {
547
- key: 1,
548
- class: "adj-select-modern__item-image",
549
- style: F({ background: E.background })
550
- }, null, 4)) : y("", !0),
551
- s("span", Ge, $(E.name), 1)
552
- ], 8, Ue))), 128))
553
- ])
554
- ]),
555
- _: 1
556
- })
557
- ], 4)) : y("", !0)
558
- ]),
559
- _: 1
560
- })
520
+ o("div", {
521
+ class: "adj-select-modern__items adj-effect-overlay-big",
522
+ style: F({
523
+ left: C.value + "px",
524
+ top: V.value + "px",
525
+ visibility: s.value ? "visible" : "hidden"
526
+ }),
527
+ ref: "refItems"
528
+ }, [
529
+ M(ne, { maxHeight: "384px" }, {
530
+ default: R(() => [
531
+ o("div", null, [
532
+ (i(!0), n(D, null, U(j.items, (E) => (i(), n("div", {
533
+ key: E.id,
534
+ class: "adj-select-modern__item adj-text-14",
535
+ onClick: A((ct) => b(E), ["stop"])
536
+ }, [
537
+ j.design === "image" ? (i(), n("div", qe, [
538
+ o("img", {
539
+ src: E.image,
540
+ alt: ""
541
+ }, null, 8, Ze),
542
+ z[2] || (z[2] = o("div", { class: "adj-select-modern__item-border" }, null, -1))
543
+ ])) : j.design === "background" ? (i(), n("div", {
544
+ key: 1,
545
+ class: "adj-select-modern__item-image",
546
+ style: F({ background: E.background })
547
+ }, null, 4)) : H("", !0),
548
+ o("span", Ge, $(E.name), 1)
549
+ ], 8, Ue))), 128))
550
+ ])
551
+ ]),
552
+ _: 1
553
+ })
554
+ ], 4)
561
555
  ], 2);
562
556
  };
563
557
  }
564
- }), kt = /* @__PURE__ */ g(Je, [["__scopeId", "data-v-a7ad985a"]]), Ke = { class: "adj-skeleton-item" }, Qe = /* @__PURE__ */ k({
558
+ }), kt = /* @__PURE__ */ g(Je, [["__scopeId", "data-v-70707141"]]), Ke = { class: "adj-skeleton-item" }, Qe = /* @__PURE__ */ k({
565
559
  __name: "AdjSkeletonItem",
566
560
  props: {
567
561
  width: { default: "100%" },
@@ -577,7 +571,7 @@ const fe = /* @__PURE__ */ k({
577
571
  "3656db94": a.height
578
572
  }));
579
573
  const e = r, t = te(() => e.height !== "unset" ? "unset" : e.aspectRatio);
580
- return (a, u) => (o(), n("div", Ke));
574
+ return (a, u) => (i(), n("div", Ke));
581
575
  }
582
576
  }), Xe = /* @__PURE__ */ g(Qe, [["__scopeId", "data-v-c6820958"]]), Ye = { class: "adj-skeleton" }, xe = /* @__PURE__ */ k({
583
577
  __name: "AdjSkeleton",
@@ -592,8 +586,8 @@ const fe = /* @__PURE__ */ k({
592
586
  "019b6ab8": a.width
593
587
  }));
594
588
  const e = r, t = te(() => e.centered ? "center" : "unset");
595
- return (a, u) => (o(), n("div", Ye, [
596
- (o(!0), n(D, null, U(a.loaders, (l) => (o(), re(Xe, {
589
+ return (a, u) => (i(), n("div", Ye, [
590
+ (i(!0), n(D, null, U(a.loaders, (l) => (i(), re(Xe, {
597
591
  width: l.width,
598
592
  height: l.height,
599
593
  "aspect-ratio": l.aspectRatio,
@@ -607,13 +601,13 @@ const fe = /* @__PURE__ */ k({
607
601
  xmlns: "http://www.w3.org/2000/svg"
608
602
  };
609
603
  function lt(r, e) {
610
- return o(), n("svg", tt, e[0] || (e[0] = [
611
- s("circle", {
604
+ return i(), n("svg", tt, e[0] || (e[0] = [
605
+ o("circle", {
612
606
  cx: "17",
613
607
  cy: "17",
614
608
  r: "16.5"
615
609
  }, null, -1),
616
- s("path", { d: "M22.7034 12.9285C22.6244 12.8488 22.5304 12.7856 22.4268 12.7424C22.3232 12.6993 22.2121 12.6771 22.0999 12.6771C21.9877 12.6771 21.8766 12.6993 21.773 12.7424C21.6694 12.7856 21.5754 12.8488 21.4964 12.9285L15.1639 19.2695L12.5034 16.6005C12.4213 16.5212 12.3245 16.4589 12.2184 16.4171C12.1122 16.3753 11.9989 16.3548 11.8849 16.3567C11.7708 16.3587 11.6583 16.3831 11.5536 16.4286C11.449 16.4741 11.3544 16.5397 11.2751 16.6217C11.1959 16.7038 11.1336 16.8006 11.0917 16.9068C11.0499 17.0129 11.0294 17.1262 11.0314 17.2403C11.0334 17.3543 11.0578 17.4669 11.1032 17.5715C11.1487 17.6761 11.2143 17.7707 11.2964 17.85L14.5604 21.114C14.6394 21.1937 14.7334 21.2569 14.837 21.3C14.9406 21.3432 15.0517 21.3654 15.1639 21.3654C15.2761 21.3654 15.3872 21.3432 15.4908 21.3C15.5944 21.2569 15.6884 21.1937 15.7674 21.114L22.7034 14.178C22.7897 14.0984 22.8585 14.0018 22.9056 13.8943C22.9527 13.7867 22.977 13.6706 22.977 13.5532C22.977 13.4359 22.9527 13.3197 22.9056 13.2122C22.8585 13.1047 22.7897 13.0081 22.7034 12.9285Z" }, null, -1)
610
+ o("path", { d: "M22.7034 12.9285C22.6244 12.8488 22.5304 12.7856 22.4268 12.7424C22.3232 12.6993 22.2121 12.6771 22.0999 12.6771C21.9877 12.6771 21.8766 12.6993 21.773 12.7424C21.6694 12.7856 21.5754 12.8488 21.4964 12.9285L15.1639 19.2695L12.5034 16.6005C12.4213 16.5212 12.3245 16.4589 12.2184 16.4171C12.1122 16.3753 11.9989 16.3548 11.8849 16.3567C11.7708 16.3587 11.6583 16.3831 11.5536 16.4286C11.449 16.4741 11.3544 16.5397 11.2751 16.6217C11.1959 16.7038 11.1336 16.8006 11.0917 16.9068C11.0499 17.0129 11.0294 17.1262 11.0314 17.2403C11.0334 17.3543 11.0578 17.4669 11.1032 17.5715C11.1487 17.6761 11.2143 17.7707 11.2964 17.85L14.5604 21.114C14.6394 21.1937 14.7334 21.2569 14.837 21.3C14.9406 21.3432 15.0517 21.3654 15.1639 21.3654C15.2761 21.3654 15.3872 21.3432 15.4908 21.3C15.5944 21.2569 15.6884 21.1937 15.7674 21.114L22.7034 14.178C22.7897 14.0984 22.8585 14.0018 22.9056 13.8943C22.9527 13.7867 22.977 13.6706 22.977 13.5532C22.977 13.4359 22.9527 13.3197 22.9056 13.2122C22.8585 13.1047 22.7897 13.0081 22.7034 12.9285Z" }, null, -1)
617
611
  ]));
618
612
  }
619
613
  const wt = /* @__PURE__ */ g(et, [["render", lt], ["__scopeId", "data-v-f04662e9"]]), at = { class: "adj-tabs" }, ot = { class: "adj-tabs-wrapper" }, it = ["onClick"], st = { key: 0 }, nt = /* @__PURE__ */ k({
@@ -629,17 +623,17 @@ const wt = /* @__PURE__ */ g(et, [["render", lt], ["__scopeId", "data-v-f04662e9
629
623
  var c;
630
624
  !l.disabled && l.id !== ((c = t.modelValue) == null ? void 0 : c.id) && a("update:modelValue", l);
631
625
  }
632
- return (l, c) => (o(), n("div", at, [
633
- s("div", ot, [
634
- (o(!0), n(D, null, U(l.items, (f) => {
626
+ return (l, c) => (i(), n("div", at, [
627
+ o("div", ot, [
628
+ (i(!0), n(D, null, U(l.items, (f) => {
635
629
  var d;
636
- return o(), n("div", {
630
+ return i(), n("div", {
637
631
  key: f.name,
638
632
  class: m(["adj-tabs__item", { active: f.id == ((d = l.modelValue) == null ? void 0 : d.id), disabled: f.disabled }]),
639
633
  onClick: (b) => u(f)
640
634
  }, [
641
- s("p", null, $(f.name), 1),
642
- f.number ? (o(), n("span", st, $(f.number), 1)) : y("", !0)
635
+ o("p", null, $(f.name), 1),
636
+ f.number ? (i(), n("span", st, $(f.number), 1)) : H("", !0)
643
637
  ], 10, it);
644
638
  }), 128))
645
639
  ])
@@ -655,19 +649,19 @@ const wt = /* @__PURE__ */ g(et, [["render", lt], ["__scopeId", "data-v-f04662e9
655
649
  },
656
650
  emits: ["update:modelValue"],
657
651
  setup(r, { emit: e }) {
658
- const t = r, a = e, u = R("refFileInput"), l = _(!1);
652
+ const t = r, a = e, u = S("refFileInput"), l = _(!1);
659
653
  function c() {
660
- var i;
661
- l.value || (i = u.value) == null || i.click();
654
+ var s;
655
+ l.value || (s = u.value) == null || s.click();
662
656
  }
663
- async function f(i) {
657
+ async function f(s) {
664
658
  return new Promise((p, v) => {
665
659
  const h = new FileReader();
666
- h.readAsDataURL(i), h.onload = () => p(h.result), h.onerror = (w) => v(w);
660
+ h.readAsDataURL(s), h.onload = () => p(h.result), h.onerror = (w) => v(w);
667
661
  });
668
662
  }
669
- async function d(i) {
670
- if (!i)
663
+ async function d(s) {
664
+ if (!s)
671
665
  return {
672
666
  url: ""
673
667
  };
@@ -679,7 +673,7 @@ const wt = /* @__PURE__ */ g(et, [["render", lt], ["__scopeId", "data-v-f04662e9
679
673
  key: "fvk34lkjf03fd93j9dfsaf0d",
680
674
  lang: "ru",
681
675
  testMode: !0,
682
- params: i
676
+ params: s
683
677
  })
684
678
  })).json();
685
679
  return {
@@ -687,12 +681,12 @@ const wt = /* @__PURE__ */ g(et, [["render", lt], ["__scopeId", "data-v-f04662e9
687
681
  // urlFull: `https://api.adjutant.ru/tmp/upload/constructorzakaz/${responseJson?.result}`,
688
682
  };
689
683
  }
690
- async function b(i) {
691
- var P;
692
- if (!(i.files && ((P = i == null ? void 0 : i.files) == null ? void 0 : P.length) > 0))
684
+ async function b(s) {
685
+ var y;
686
+ if (!(s.files && ((y = s == null ? void 0 : s.files) == null ? void 0 : y.length) > 0))
693
687
  return;
694
688
  l.value = !0;
695
- const p = i == null ? void 0 : i.files[0];
689
+ const p = s == null ? void 0 : s.files[0];
696
690
  let v = p.type;
697
691
  v === "image/svg+xml" && (v = "image/svg");
698
692
  const h = await f(p), w = await d({
@@ -703,21 +697,21 @@ const wt = /* @__PURE__ */ g(et, [["render", lt], ["__scopeId", "data-v-f04662e9
703
697
  });
704
698
  a("update:modelValue", { ...t.modelValue, ...w }), l.value = !1;
705
699
  }
706
- return (i, p) => (o(), n("div", {
700
+ return (s, p) => (i(), n("div", {
707
701
  class: m(["adj-upload-file", { "adj-upload-file_loading": l.value }]),
708
702
  onClick: c
709
703
  }, [
710
- s("div", dt, [
711
- p[2] || (p[2] = s("i", { class: "icon-arrow-circle-up" }, null, -1)),
712
- s("span", ut, $(i.modelValue.url || i.text), 1)
704
+ o("div", dt, [
705
+ p[2] || (p[2] = o("i", { class: "icon-arrow-circle-up" }, null, -1)),
706
+ o("span", ut, $(s.modelValue.url || s.text), 1)
713
707
  ]),
714
- O(s("i", {
708
+ O(o("i", {
715
709
  class: "icon-close",
716
- onClick: p[0] || (p[0] = H((v) => i.$emit("update:modelValue", { url: "" }), ["stop"]))
710
+ onClick: p[0] || (p[0] = A((v) => s.$emit("update:modelValue", { url: "" }), ["stop"]))
717
711
  }, null, 512), [
718
- [N, i.modelValue.url]
712
+ [N, s.modelValue.url]
719
713
  ]),
720
- s("input", {
714
+ o("input", {
721
715
  id: "file",
722
716
  ref: "refFileInput",
723
717
  type: "file",