@poni/adjutant-ui 0.0.113 → 0.0.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adjutant-ui.css +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +941 -222
- package/dist/plugin/types.d.ts +1 -12
- package/package.json +1 -5
- package/dist/AdjUploadFile-9ryecxoi.cjs +0 -1
- package/dist/AdjUploadFile-Bp5vEN-C.js +0 -743
- package/dist/components/constructor/AdjBlocks/AdjBlocks.mock.d.ts +0 -2
- package/dist/components/constructor/AdjBlocks/AdjBlocks.stories.d.ts +0 -6
- package/dist/components/constructor/AdjBlocks/AdjBlocks.vue.d.ts +0 -21
- package/dist/components/constructor/AdjBlocks/IAdjBlocksItem.d.ts +0 -14
- package/dist/components/constructor/AdjLaminates/AdjLaminates.mock.d.ts +0 -2
- package/dist/components/constructor/AdjLaminates/AdjLaminates.stories.d.ts +0 -6
- package/dist/components/constructor/AdjLaminates/AdjLaminates.vue.d.ts +0 -17
- package/dist/components/constructor/AdjLaminates/IAdjLaminatesItem.d.ts +0 -8
- package/dist/components/constructor/AdjMaterials/AdjMaterials.mock.d.ts +0 -2
- package/dist/components/constructor/AdjMaterials/AdjMaterials.stories.d.ts +0 -6
- package/dist/components/constructor/AdjMaterials/AdjMaterials.vue.d.ts +0 -19
- package/dist/components/constructor/AdjMaterials/IAdjMaterialsItem.d.ts +0 -18
- package/dist/components/constructor/AdjModels/AdjModels.mock.d.ts +0 -2
- package/dist/components/constructor/AdjModels/AdjModels.stories.d.ts +0 -6
- package/dist/components/constructor/AdjModels/AdjModels.vue.d.ts +0 -20
- package/dist/components/constructor/AdjNavigator/AdjNavigator.mock.d.ts +0 -6
- package/dist/components/constructor/AdjNavigator/AdjNavigator.stories.d.ts +0 -10
- package/dist/components/constructor/AdjNavigator/AdjNavigator.vue.d.ts +0 -17
- package/dist/components/constructor/AdjNavigator/IAdjNavigatorItem.d.ts +0 -7
- package/dist/components/constructor/AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.mock.d.ts +0 -2
- package/dist/components/constructor/AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.stories.d.ts +0 -6
- package/dist/components/constructor/AdjPersonalizationConfigurator/AdjPersonalizationConfigurator.vue.d.ts +0 -47
- package/dist/components/constructor/AdjPersonalizations/AdjPersonalizations.mock.d.ts +0 -2
- package/dist/components/constructor/AdjPersonalizations/AdjPersonalizations.stories.d.ts +0 -6
- package/dist/components/constructor/AdjPersonalizations/AdjPersonalizations.vue.d.ts +0 -26
- package/dist/components/constructor/AdjPersonalizations/IAdjPersonalizationsItem.d.ts +0 -16
- package/dist/components/constructor/AdjPricebar/AdjPricebar.mock.d.ts +0 -2
- package/dist/components/constructor/AdjPricebar/AdjPricebar.stories.d.ts +0 -6
- package/dist/components/constructor/AdjPricebar/AdjPricebar.vue.d.ts +0 -38
- package/dist/components/constructor/AdjProducts/AdjProducts.mock.d.ts +0 -3
- package/dist/components/constructor/AdjProducts/AdjProducts.stories.d.ts +0 -7
- package/dist/components/constructor/AdjProducts/AdjProducts.vue.d.ts +0 -18
- package/dist/components/constructor/AdjProducts/IAdjProductsItem.d.ts +0 -10
- package/dist/components/constructor/AdjStitchings/AdjStitchings.mock.d.ts +0 -2
- package/dist/components/constructor/AdjStitchings/AdjStitchings.stories.d.ts +0 -6
- package/dist/components/constructor/AdjStitchings/AdjStitchings.vue.d.ts +0 -18
- package/dist/components/constructor/AdjStitchings/IAdjStitchingsGroup.d.ts +0 -9
- package/dist/components/constructor/AdjStitchings/IAdjStitchingsItem.d.ts +0 -8
- package/dist/components/constructor/elements/AdjCoverGroupItem/AdjCoverGroupItem.mock.d.ts +0 -3
- package/dist/components/constructor/elements/AdjCoverGroupItem/AdjCoverGroupItem.stories.d.ts +0 -7
- package/dist/components/constructor/elements/AdjCoverGroupItem/AdjCoverGroupItem.vue.d.ts +0 -20
- package/dist/components/constructor/elements/AdjCoverItem/AdjCoverItem.mock.d.ts +0 -3
- package/dist/components/constructor/elements/AdjCoverItem/AdjCoverItem.stories.d.ts +0 -8
- package/dist/components/constructor/elements/AdjCoverItem/AdjCoverItem.vue.d.ts +0 -41
- package/dist/components/constructor/elements/AdjCoverItem/IAdjCoverItem.d.ts +0 -12
- package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.mock.d.ts +0 -5
- package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.stories.d.ts +0 -13
- package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.vue.d.ts +0 -71
- package/dist/components/constructor/elements/AdjNavigatorItem/AdjNavigatorItem.mock.d.ts +0 -3
- package/dist/components/constructor/elements/AdjNavigatorItem/AdjNavigatorItem.stories.d.ts +0 -7
- package/dist/components/constructor/elements/AdjNavigatorItem/AdjNavigatorItem.vue.d.ts +0 -14
- package/dist/components/constructor/elements/AdjNavigatorItem/IAdjNavigatorPassive.d.ts +0 -20
- package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.mock.d.ts +0 -6
- package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.stories.d.ts +0 -10
- package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.vue.d.ts +0 -18
- package/dist/components/constructor/elements/AdjNavigatorWrapper/IAdjNavigatorWrapperActive.d.ts +0 -4
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.mock.d.ts +0 -6
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.stories.d.ts +0 -6
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/AdjPersonalizationConfiguratorElements.vue.d.ts +0 -20
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsItem.d.ts +0 -18
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsModel.d.ts +0 -4
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsNumber.d.ts +0 -5
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/IAdjPersonalizationConfiguratorElementsTexture.d.ts +0 -14
- package/dist/components/constructor/elements/AdjPersonalizationConfiguratorElements/TAdjPersonalizationConfiguratorElementsValue.d.ts +0 -9
- package/dist/components/constructor/elements/AdjPricebarWrapper/AdjPricebarWrapper.mock.d.ts +0 -2
- package/dist/components/constructor/elements/AdjPricebarWrapper/AdjPricebarWrapper.stories.d.ts +0 -6
- package/dist/components/constructor/elements/AdjPricebarWrapper/AdjPricebarWrapper.vue.d.ts +0 -12
- package/dist/components/constructor/elements/AdjPricebarWrapper/IAdjPricebaritem.d.ts +0 -9
- package/dist/constructor.cjs +0 -3
- package/dist/constructor.d.ts +0 -2
- package/dist/constructor.js +0 -1472
- package/dist/plugin/constructor.d.ts +0 -11
package/dist/components.js
CHANGED
|
@@ -1,8 +1,46 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent as j, openBlock as l, createElementBlock as o, normalizeClass as _, createCommentVNode as b, createElementVNode as i, toDisplayString as g, withDirectives as D, vShow as U, ref as k, createVNode as V, Transition as G, withCtx as M, Fragment as F, renderList as R, normalizeStyle as q, renderSlot as te, useTemplateRef as S, withModifiers as L, useCssVars as E, computed as W, watch as le, createTextVNode as de, unref as ue, vModelText as fe, onMounted as me, watchEffect as ve, createBlock as _e, createStaticVNode as he } from "vue";
|
|
2
|
+
import { onClickOutside as oe, useWindowSize as re, useMouseInElement as X, useDebounceFn as ce, useFocus as je, useWindowScroll as ge } from "@vueuse/core";
|
|
3
|
+
const Ce = /* @__PURE__ */ j({
|
|
4
|
+
__name: "AdjButton",
|
|
5
|
+
props: {
|
|
6
|
+
title: {},
|
|
7
|
+
flex: { type: Boolean, default: !1 },
|
|
8
|
+
size: { default: "medium" },
|
|
9
|
+
design: { default: "primary" },
|
|
10
|
+
disabled: { type: Boolean, default: !1 },
|
|
11
|
+
round: { type: Boolean, default: !1 },
|
|
12
|
+
iconLeft: { default: "" },
|
|
13
|
+
iconRight: { default: "" }
|
|
14
|
+
},
|
|
15
|
+
emits: ["click"],
|
|
16
|
+
setup(u) {
|
|
17
|
+
return (e, t) => (l(), o("button", {
|
|
18
|
+
class: _(["adj-button", {
|
|
19
|
+
[`adj-button_${e.size}`]: !0,
|
|
20
|
+
[`adj-button_${e.design}`]: !0,
|
|
21
|
+
"adj-button_disabled": e.disabled,
|
|
22
|
+
"adj-button_flex": e.flex,
|
|
23
|
+
"adj-button_round": e.round
|
|
24
|
+
}]),
|
|
25
|
+
onClick: t[0] || (t[0] = (a) => e.disabled ? 0 : e.$emit("click"))
|
|
26
|
+
}, [
|
|
27
|
+
e.iconLeft ? (l(), o("i", {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: _(e.iconLeft)
|
|
30
|
+
}, null, 2)) : b("", !0),
|
|
31
|
+
i("div", null, g(e.title), 1),
|
|
32
|
+
e.iconRight ? (l(), o("i", {
|
|
33
|
+
key: 1,
|
|
34
|
+
class: _(e.iconRight)
|
|
35
|
+
}, null, 2)) : b("", !0)
|
|
36
|
+
], 2));
|
|
37
|
+
}
|
|
38
|
+
}), h = (u, e) => {
|
|
39
|
+
const t = u.__vccOpts || u;
|
|
40
|
+
for (const [a, d] of e)
|
|
41
|
+
t[a] = d;
|
|
42
|
+
return t;
|
|
43
|
+
}, dl = /* @__PURE__ */ h(Ce, [["__scopeId", "data-v-d4a39f57"]]), ke = { class: "adj-button-checkbox__title" }, be = /* @__PURE__ */ j({
|
|
6
44
|
__name: "AdjButtonCheckbox",
|
|
7
45
|
props: {
|
|
8
46
|
title: {},
|
|
@@ -10,89 +48,451 @@ const U = { class: "adj-button-checkbox__title" }, z = /* @__PURE__ */ j({
|
|
|
10
48
|
iconLeft: { default: "" }
|
|
11
49
|
},
|
|
12
50
|
emits: ["update:modelValue"],
|
|
13
|
-
setup(
|
|
14
|
-
return (e,
|
|
15
|
-
class:
|
|
16
|
-
onClick:
|
|
51
|
+
setup(u) {
|
|
52
|
+
return (e, t) => (l(), o("div", {
|
|
53
|
+
class: _(["adj-button-checkbox", [{ active: e.modelValue }]]),
|
|
54
|
+
onClick: t[0] || (t[0] = (a) => e.$emit("update:modelValue", !e.modelValue))
|
|
17
55
|
}, [
|
|
18
|
-
e.iconLeft ? (
|
|
56
|
+
e.iconLeft ? (l(), o("i", {
|
|
19
57
|
key: 0,
|
|
20
|
-
class:
|
|
21
|
-
}, null, 2)) :
|
|
22
|
-
|
|
58
|
+
class: _(e.iconLeft)
|
|
59
|
+
}, null, 2)) : b("", !0),
|
|
60
|
+
i("div", ke, g(e.title), 1)
|
|
61
|
+
], 2));
|
|
62
|
+
}
|
|
63
|
+
}), ul = /* @__PURE__ */ h(be, [["__scopeId", "data-v-8e142c2f"]]), we = {
|
|
64
|
+
key: 0,
|
|
65
|
+
class: "adj-text-13"
|
|
66
|
+
}, $e = { class: "adj-checkbox__handle" }, ye = {
|
|
67
|
+
width: "16",
|
|
68
|
+
height: "16",
|
|
69
|
+
viewBox: "0 0 16 16",
|
|
70
|
+
fill: "none",
|
|
71
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
72
|
+
}, Le = {
|
|
73
|
+
key: 1,
|
|
74
|
+
class: "adj-text-13"
|
|
75
|
+
}, Ve = /* @__PURE__ */ j({
|
|
76
|
+
__name: "AdjCheckbox",
|
|
77
|
+
props: {
|
|
78
|
+
title: { default: "" },
|
|
79
|
+
titlePosition: { default: "right" },
|
|
80
|
+
items: {},
|
|
81
|
+
modelValue: { default: () => ({ checked: !1 }) },
|
|
82
|
+
disabled: { type: Boolean, default: !1 }
|
|
83
|
+
},
|
|
84
|
+
emits: ["update:modelValue"],
|
|
85
|
+
setup(u, { emit: e }) {
|
|
86
|
+
const t = u, a = e;
|
|
87
|
+
function d() {
|
|
88
|
+
t.modelValue.checked === t.items[0].checked ? a("update:modelValue", t.items[1]) : a("update:modelValue", t.items[0]);
|
|
89
|
+
}
|
|
90
|
+
return (n, p) => (l(), o("div", {
|
|
91
|
+
class: _(["adj-checkbox", { disabled: n.disabled }]),
|
|
92
|
+
onClick: p[0] || (p[0] = (f) => d())
|
|
93
|
+
}, [
|
|
94
|
+
n.title && n.titlePosition === "left" ? (l(), o("span", we, g(n.title), 1)) : b("", !0),
|
|
95
|
+
i("div", $e, [
|
|
96
|
+
D((l(), o("svg", ye, p[1] || (p[1] = [
|
|
97
|
+
i("rect", {
|
|
98
|
+
width: "16",
|
|
99
|
+
height: "16",
|
|
100
|
+
rx: "4"
|
|
101
|
+
}, null, -1),
|
|
102
|
+
i("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)
|
|
103
|
+
]), 512)), [
|
|
104
|
+
[U, n.modelValue.checked]
|
|
105
|
+
])
|
|
106
|
+
]),
|
|
107
|
+
n.title && n.titlePosition === "right" ? (l(), o("span", Le, g(n.title), 1)) : b("", !0)
|
|
23
108
|
], 2));
|
|
24
109
|
}
|
|
25
|
-
}),
|
|
110
|
+
}), rl = /* @__PURE__ */ h(Ve, [["__scopeId", "data-v-97fdba75"]]), Ie = ["href"], Ae = { class: "title" }, Be = /* @__PURE__ */ j({
|
|
26
111
|
__name: "AdjDownloadLink",
|
|
27
112
|
props: {
|
|
28
113
|
title: {},
|
|
29
114
|
href: {}
|
|
30
115
|
},
|
|
31
|
-
setup(
|
|
32
|
-
return (e,
|
|
116
|
+
setup(u) {
|
|
117
|
+
return (e, t) => (l(), o("a", {
|
|
33
118
|
class: "adj-download-link",
|
|
34
119
|
target: "_blank",
|
|
35
120
|
href: e.href
|
|
36
121
|
}, [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
], 8,
|
|
122
|
+
t[0] || (t[0] = i("i", { class: "icon-file" }, null, -1)),
|
|
123
|
+
i("span", Ae, g(e.title), 1)
|
|
124
|
+
], 8, Ie));
|
|
40
125
|
}
|
|
41
|
-
}),
|
|
126
|
+
}), cl = /* @__PURE__ */ h(Be, [["__scopeId", "data-v-c07343bd"]]), Pe = { class: "adj-hyperlink" }, Me = {
|
|
42
127
|
key: 0,
|
|
43
128
|
class: "adj-dropdown-link__items"
|
|
44
|
-
},
|
|
129
|
+
}, He = ["href"], Se = /* @__PURE__ */ j({
|
|
45
130
|
__name: "AdjDropdownLink",
|
|
46
131
|
props: {
|
|
47
132
|
title: {},
|
|
48
133
|
items: {}
|
|
49
134
|
},
|
|
50
|
-
setup(
|
|
51
|
-
const e =
|
|
52
|
-
return (
|
|
53
|
-
class:
|
|
135
|
+
setup(u) {
|
|
136
|
+
const e = k(!1);
|
|
137
|
+
return (t, a) => (l(), o("div", {
|
|
138
|
+
class: _(["adj-dropdown-link", { "adj-dropdown-link_show": e.value }])
|
|
54
139
|
}, [
|
|
55
|
-
|
|
140
|
+
i("div", {
|
|
56
141
|
class: "adj-dropdown-link__title",
|
|
57
|
-
onClick:
|
|
142
|
+
onClick: a[0] || (a[0] = (d) => e.value = !e.value)
|
|
58
143
|
}, [
|
|
59
|
-
|
|
60
|
-
|
|
144
|
+
a[1] || (a[1] = i("i", { class: "icon-arrow-down" }, null, -1)),
|
|
145
|
+
i("span", Pe, g(t.title), 1)
|
|
61
146
|
]),
|
|
62
|
-
|
|
63
|
-
default:
|
|
64
|
-
e.value ? (
|
|
65
|
-
(
|
|
66
|
-
key:
|
|
67
|
-
href:
|
|
147
|
+
V(G, { name: "adj-fade" }, {
|
|
148
|
+
default: M(() => [
|
|
149
|
+
e.value ? (l(), o("div", Me, [
|
|
150
|
+
(l(!0), o(F, null, R(t.items, (d) => (l(), o("a", {
|
|
151
|
+
key: d.title,
|
|
152
|
+
href: d.href,
|
|
68
153
|
class: "adj-dropdown-link__item adj-hyperlink"
|
|
69
|
-
},
|
|
70
|
-
])) :
|
|
154
|
+
}, g(d.title), 9, He))), 128))
|
|
155
|
+
])) : b("", !0)
|
|
71
156
|
]),
|
|
72
157
|
_: 1
|
|
73
158
|
})
|
|
74
159
|
], 2));
|
|
75
160
|
}
|
|
76
|
-
}),
|
|
161
|
+
}), pl = /* @__PURE__ */ h(Se, [["__scopeId", "data-v-8fe8f31c"]]), Te = { class: "adj-filter-checkbox__title" }, ze = {
|
|
77
162
|
key: 0,
|
|
78
163
|
class: "icon-close"
|
|
79
|
-
},
|
|
164
|
+
}, Fe = /* @__PURE__ */ j({
|
|
80
165
|
__name: "AdjFilterCheckbox",
|
|
81
166
|
props: {
|
|
82
167
|
title: {},
|
|
83
168
|
modelValue: { type: Boolean, default: !1 }
|
|
84
169
|
},
|
|
85
170
|
emits: ["update:modelValue"],
|
|
86
|
-
setup(
|
|
87
|
-
return (e,
|
|
88
|
-
class:
|
|
89
|
-
onClick:
|
|
171
|
+
setup(u) {
|
|
172
|
+
return (e, t) => (l(), o("div", {
|
|
173
|
+
class: _(["adj-filter-checkbox", [{ active: e.modelValue }]]),
|
|
174
|
+
onClick: t[0] || (t[0] = (a) => e.$emit("update:modelValue", !e.modelValue))
|
|
175
|
+
}, [
|
|
176
|
+
i("div", Te, g(e.title), 1),
|
|
177
|
+
e.modelValue ? (l(), o("i", ze)) : b("", !0)
|
|
178
|
+
], 2));
|
|
179
|
+
}
|
|
180
|
+
}), fl = /* @__PURE__ */ h(Fe, [["__scopeId", "data-v-071adfa7"]]), Re = /* @__PURE__ */ j({
|
|
181
|
+
__name: "AdjScroll",
|
|
182
|
+
props: {
|
|
183
|
+
maxHeight: { default: "unset" },
|
|
184
|
+
white: { type: Boolean, default: !1 }
|
|
185
|
+
},
|
|
186
|
+
setup(u) {
|
|
187
|
+
const e = u;
|
|
188
|
+
return (t, a) => (l(), o("div", {
|
|
189
|
+
class: _(["adj-scroll", { "adj-scroll_white": t.white }]),
|
|
190
|
+
style: q({ maxHeight: `${e.maxHeight}` })
|
|
191
|
+
}, [
|
|
192
|
+
te(t.$slots, "default", {}, void 0, !0)
|
|
193
|
+
], 6));
|
|
194
|
+
}
|
|
195
|
+
}), ae = /* @__PURE__ */ h(Re, [["__scopeId", "data-v-47993da5"]]), Ze = {
|
|
196
|
+
key: 0,
|
|
197
|
+
class: "icon-close"
|
|
198
|
+
}, De = {
|
|
199
|
+
key: 1,
|
|
200
|
+
class: "icon-arrow-down"
|
|
201
|
+
}, Ee = {
|
|
202
|
+
key: 0,
|
|
203
|
+
class: "adj-filter-select__items adj-effect-overlay-big"
|
|
204
|
+
}, We = ["onClick"], Ne = /* @__PURE__ */ j({
|
|
205
|
+
__name: "AdjFilterSelect",
|
|
206
|
+
props: {
|
|
207
|
+
title: {},
|
|
208
|
+
position: { default: "right" },
|
|
209
|
+
items: {},
|
|
210
|
+
modelValue: {}
|
|
211
|
+
},
|
|
212
|
+
emits: ["update:modelValue"],
|
|
213
|
+
setup(u, { emit: e }) {
|
|
214
|
+
const t = u, a = e, d = S("refElement");
|
|
215
|
+
oe(d, () => n.value = !1);
|
|
216
|
+
const n = k(!1);
|
|
217
|
+
function p(r) {
|
|
218
|
+
"disabled" in r && r.disabled || ("id" in r && r.id && (n.value = !1), a("update:modelValue", r));
|
|
219
|
+
}
|
|
220
|
+
function f() {
|
|
221
|
+
"id" in t.modelValue ? p({}) : n.value = !n.value;
|
|
222
|
+
}
|
|
223
|
+
return (r, m) => (l(), o("div", {
|
|
224
|
+
ref: "refElement",
|
|
225
|
+
class: _(["adj-filter-select", [{ show: n.value, active: "id" in r.modelValue && r.modelValue.id }, r.position]])
|
|
226
|
+
}, [
|
|
227
|
+
i("div", {
|
|
228
|
+
class: "adj-filter-select__name adj-text-14",
|
|
229
|
+
onClick: m[0] || (m[0] = (s) => f())
|
|
230
|
+
}, [
|
|
231
|
+
i("span", null, g("id" in r.modelValue && r.modelValue.id ? r.modelValue.name : r.title), 1),
|
|
232
|
+
"id" in r.modelValue && r.modelValue.id ? (l(), o("i", Ze)) : (l(), o("i", De)),
|
|
233
|
+
V(G, { name: "adj-fade" }, {
|
|
234
|
+
default: M(() => [
|
|
235
|
+
n.value ? (l(), o("div", Ee, [
|
|
236
|
+
V(ae, { maxHeight: "384px" }, {
|
|
237
|
+
default: M(() => [
|
|
238
|
+
i("div", null, [
|
|
239
|
+
(l(!0), o(F, null, R(r.items, (s) => (l(), o("div", {
|
|
240
|
+
key: s.id,
|
|
241
|
+
class: _(["adj-filter-select__item adj-text-14", { "adj-filter-select__item_disabled": s.disabled }]),
|
|
242
|
+
onClick: L((c) => p(s), ["stop"])
|
|
243
|
+
}, [
|
|
244
|
+
i("span", null, g(s.name), 1)
|
|
245
|
+
], 10, We))), 128))
|
|
246
|
+
])
|
|
247
|
+
]),
|
|
248
|
+
_: 1
|
|
249
|
+
})
|
|
250
|
+
])) : b("", !0)
|
|
251
|
+
]),
|
|
252
|
+
_: 1
|
|
253
|
+
})
|
|
254
|
+
])
|
|
255
|
+
], 2));
|
|
256
|
+
}
|
|
257
|
+
}), ml = /* @__PURE__ */ h(Ne, [["__scopeId", "data-v-5481dc68"]]), Oe = ["innerHTML"], qe = /* @__PURE__ */ j({
|
|
258
|
+
__name: "AdjHintDesktop",
|
|
259
|
+
props: {
|
|
260
|
+
html: { default: "" },
|
|
261
|
+
horizontalPosition: { default: "left" },
|
|
262
|
+
verticalPosition: { default: "top" },
|
|
263
|
+
dark: { type: Boolean, default: !1 },
|
|
264
|
+
width: { default: "200px" }
|
|
265
|
+
},
|
|
266
|
+
setup(u) {
|
|
267
|
+
return E((e) => ({
|
|
268
|
+
"19fa0a1c": e.width
|
|
269
|
+
})), (e, t) => (l(), o("div", {
|
|
270
|
+
class: _([
|
|
271
|
+
"adj-hint-desktop",
|
|
272
|
+
{ "adj-hint-desktop_dark": e.dark },
|
|
273
|
+
`adj-hint-desktop_${e.verticalPosition}`,
|
|
274
|
+
`adj-hint-desktop_${e.horizontalPosition}`
|
|
275
|
+
])
|
|
90
276
|
}, [
|
|
91
|
-
|
|
92
|
-
|
|
277
|
+
i("div", {
|
|
278
|
+
class: "adj-hint-desktop__text",
|
|
279
|
+
innerHTML: e.html
|
|
280
|
+
}, null, 8, Oe),
|
|
281
|
+
t[0] || (t[0] = i("svg", {
|
|
282
|
+
class: "adj-hint-desktop__triangle",
|
|
283
|
+
width: "14",
|
|
284
|
+
height: "14",
|
|
285
|
+
viewBox: "0 0 14 14",
|
|
286
|
+
fill: "none",
|
|
287
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
288
|
+
}, [
|
|
289
|
+
i("path", {
|
|
290
|
+
class: "adj-hint-desktop__triangle_inner",
|
|
291
|
+
d: "M13 13L7 2L1 13H13Z"
|
|
292
|
+
}),
|
|
293
|
+
i("path", {
|
|
294
|
+
class: "adj-hint-desktop__triangle_border",
|
|
295
|
+
d: "M13 13L7 2L1 13"
|
|
296
|
+
})
|
|
297
|
+
], -1))
|
|
93
298
|
], 2));
|
|
94
299
|
}
|
|
95
|
-
}),
|
|
300
|
+
}), pe = /* @__PURE__ */ h(qe, [["__scopeId", "data-v-56d69439"]]), Ue = { class: "adj-modal" }, Ge = { class: "adj-modal_wrapper" }, Ye = /* @__PURE__ */ j({
|
|
301
|
+
__name: "AdjModal",
|
|
302
|
+
props: {
|
|
303
|
+
show: { type: Boolean },
|
|
304
|
+
width: { default: "100%" },
|
|
305
|
+
hideClose: { type: Boolean, default: !1 }
|
|
306
|
+
},
|
|
307
|
+
emits: ["update:show"],
|
|
308
|
+
setup(u, { emit: e }) {
|
|
309
|
+
E((d) => ({
|
|
310
|
+
"5f2379a6": d.width
|
|
311
|
+
}));
|
|
312
|
+
const t = e;
|
|
313
|
+
function a() {
|
|
314
|
+
t("update:show", !1);
|
|
315
|
+
}
|
|
316
|
+
return (d, n) => (l(), o("div", Ue, [
|
|
317
|
+
V(G, { name: "adj-fade" }, {
|
|
318
|
+
default: M(() => [
|
|
319
|
+
D(i("div", Ge, n[1] || (n[1] = [
|
|
320
|
+
i("div", { class: "adj-modal__background" }, null, -1)
|
|
321
|
+
]), 512), [
|
|
322
|
+
[U, d.show]
|
|
323
|
+
])
|
|
324
|
+
]),
|
|
325
|
+
_: 1
|
|
326
|
+
}),
|
|
327
|
+
V(G, { name: "adj-popup-bottom" }, {
|
|
328
|
+
default: M(() => [
|
|
329
|
+
D(i("div", {
|
|
330
|
+
class: "adj-modal_wrapper",
|
|
331
|
+
onClick: L(a, ["stop"])
|
|
332
|
+
}, [
|
|
333
|
+
i("div", {
|
|
334
|
+
class: "adj-modal__window",
|
|
335
|
+
onClick: n[0] || (n[0] = L(() => {
|
|
336
|
+
}, ["stop"]))
|
|
337
|
+
}, [
|
|
338
|
+
d.hideClose ? b("", !0) : (l(), o("div", {
|
|
339
|
+
key: 0,
|
|
340
|
+
class: "adj-modal__close icon-close",
|
|
341
|
+
onClick: L(a, ["stop"])
|
|
342
|
+
})),
|
|
343
|
+
te(d.$slots, "default", {}, void 0, !0)
|
|
344
|
+
])
|
|
345
|
+
], 512), [
|
|
346
|
+
[U, d.show]
|
|
347
|
+
])
|
|
348
|
+
]),
|
|
349
|
+
_: 3
|
|
350
|
+
})
|
|
351
|
+
]));
|
|
352
|
+
}
|
|
353
|
+
}), Je = /* @__PURE__ */ h(Ye, [["__scopeId", "data-v-b1b32775"]]), Ke = { class: "adj-hint" }, Qe = ["innerHTML"], K = 14, Q = 14, Xe = /* @__PURE__ */ j({
|
|
354
|
+
__name: "AdjHint",
|
|
355
|
+
props: {
|
|
356
|
+
html: { default: "" },
|
|
357
|
+
horizontalPosition: { default: "left" },
|
|
358
|
+
verticalPosition: { default: "bottom" },
|
|
359
|
+
dark: { type: Boolean, default: !0 },
|
|
360
|
+
modalMode: { type: Boolean, default: !1 }
|
|
361
|
+
},
|
|
362
|
+
setup(u) {
|
|
363
|
+
const e = u, t = k(!1), a = k(!1), { width: d, height: n } = re(), p = S("refSlot"), f = S("refHint"), r = k(0), m = k(0), { elementWidth: s, elementHeight: c } = X(p), v = k(0), w = k(80), { elementWidth: C, elementHeight: y } = X(f), I = k(e.horizontalPosition), A = k(e.verticalPosition);
|
|
364
|
+
let B = 10 + Q / 2;
|
|
365
|
+
function Z() {
|
|
366
|
+
(!e.modalMode || d.value >= 1200) && (z(), Y(), x(), t.value = !0);
|
|
367
|
+
}
|
|
368
|
+
function N() {
|
|
369
|
+
(!e.modalMode || d.value >= 1200) && (t.value = !1);
|
|
370
|
+
}
|
|
371
|
+
function T() {
|
|
372
|
+
e.modalMode && d.value < 1200 && (a.value = !0);
|
|
373
|
+
}
|
|
374
|
+
function z() {
|
|
375
|
+
if (p.value !== null) {
|
|
376
|
+
const P = p.value.getBoundingClientRect();
|
|
377
|
+
r.value = P.left, m.value = P.top;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
function Y() {
|
|
381
|
+
e.dark && (B = 15 + Q / 2), I.value = e.horizontalPosition, A.value = e.verticalPosition, e.horizontalPosition === "left" && r.value + s.value / 2 + B - C.value < 0 ? I.value = "right" : e.horizontalPosition === "right" && r.value + s.value / 2 - B + C.value > d.value && (I.value = "left"), e.verticalPosition === "top" && m.value - K - y.value < 0 ? A.value = "bottom" : e.verticalPosition === "bottom" && m.value + c.value + K + y.value > n.value && (A.value = "top");
|
|
382
|
+
}
|
|
383
|
+
function x() {
|
|
384
|
+
e.dark && (B = 15 + Q / 2), I.value === "left" ? v.value = r.value + s.value / 2 + B - C.value : I.value === "center" ? v.value = r.value + s.value / 2 - Q / 2 - C.value / 2 : I.value === "right" && (v.value = r.value + s.value / 2 - B), A.value == "top" ? w.value = m.value - K - y.value : A.value == "bottom" && (w.value = m.value + c.value + K);
|
|
385
|
+
}
|
|
386
|
+
return (P, J) => (l(), o("div", Ke, [
|
|
387
|
+
i("div", {
|
|
388
|
+
class: "adj-hint__slot",
|
|
389
|
+
onMouseenter: L(Z, ["stop"]),
|
|
390
|
+
onMouseleave: L(N, ["stop"]),
|
|
391
|
+
onClick: L(T, ["stop"]),
|
|
392
|
+
ref: "refSlot"
|
|
393
|
+
}, [
|
|
394
|
+
te(P.$slots, "default", {}, void 0, !0)
|
|
395
|
+
], 544),
|
|
396
|
+
i("div", {
|
|
397
|
+
class: "adj-hint__hint",
|
|
398
|
+
style: q({
|
|
399
|
+
left: v.value + "px",
|
|
400
|
+
top: w.value + "px",
|
|
401
|
+
visibility: t.value ? "visible" : "hidden"
|
|
402
|
+
}),
|
|
403
|
+
ref: "refHint"
|
|
404
|
+
}, [
|
|
405
|
+
D(V(pe, {
|
|
406
|
+
html: P.html,
|
|
407
|
+
horizontalPosition: I.value,
|
|
408
|
+
verticalPosition: A.value,
|
|
409
|
+
dark: P.dark,
|
|
410
|
+
width: "252px"
|
|
411
|
+
}, null, 8, ["html", "horizontalPosition", "verticalPosition", "dark"]), [
|
|
412
|
+
[U, P.html !== ""]
|
|
413
|
+
])
|
|
414
|
+
], 4),
|
|
415
|
+
V(Je, {
|
|
416
|
+
show: a.value,
|
|
417
|
+
"onUpdate:show": J[0] || (J[0] = (ee) => a.value = ee),
|
|
418
|
+
width: "430px"
|
|
419
|
+
}, {
|
|
420
|
+
default: M(() => [
|
|
421
|
+
i("div", {
|
|
422
|
+
class: "adj-hint__modal",
|
|
423
|
+
innerHTML: P.html
|
|
424
|
+
}, null, 8, Qe)
|
|
425
|
+
]),
|
|
426
|
+
_: 1
|
|
427
|
+
}, 8, ["show"])
|
|
428
|
+
]));
|
|
429
|
+
}
|
|
430
|
+
}), xe = /* @__PURE__ */ h(Xe, [["__scopeId", "data-v-2537eb61"]]), et = /* @__PURE__ */ j({
|
|
431
|
+
__name: "AdjIcon",
|
|
432
|
+
props: {
|
|
433
|
+
iconName: {},
|
|
434
|
+
size: { default: 24 },
|
|
435
|
+
design: { default: "contrast" },
|
|
436
|
+
tooltip: { default: "" },
|
|
437
|
+
disabled: { type: Boolean, default: !1 },
|
|
438
|
+
tooltipPosition: { default: "left" }
|
|
439
|
+
},
|
|
440
|
+
emits: ["click"],
|
|
441
|
+
setup(u) {
|
|
442
|
+
E((a) => ({
|
|
443
|
+
a6dfad46: t.value
|
|
444
|
+
}));
|
|
445
|
+
const e = u, t = W(() => e.size + "px");
|
|
446
|
+
return (a, d) => (l(), o("div", {
|
|
447
|
+
class: _(["adj-icon", {
|
|
448
|
+
[`adj-icon_${a.design}`]: !0,
|
|
449
|
+
"adj-icon_disabled": a.disabled
|
|
450
|
+
}])
|
|
451
|
+
}, [
|
|
452
|
+
V(xe, {
|
|
453
|
+
dark: !1,
|
|
454
|
+
html: a.disabled ? "" : a.tooltip,
|
|
455
|
+
horizontalPosition: a.tooltipPosition
|
|
456
|
+
}, {
|
|
457
|
+
default: M(() => [
|
|
458
|
+
i("i", {
|
|
459
|
+
class: _([a.iconName]),
|
|
460
|
+
onClick: d[0] || (d[0] = (n) => a.$emit("click"))
|
|
461
|
+
}, null, 2)
|
|
462
|
+
]),
|
|
463
|
+
_: 1
|
|
464
|
+
}, 8, ["html", "horizontalPosition"])
|
|
465
|
+
], 2));
|
|
466
|
+
}
|
|
467
|
+
}), vl = /* @__PURE__ */ h(et, [["__scopeId", "data-v-27ccd948"]]), tt = {
|
|
468
|
+
key: 0,
|
|
469
|
+
class: "adj-icon-button__qty adj-text-12"
|
|
470
|
+
}, lt = /* @__PURE__ */ j({
|
|
471
|
+
__name: "AdjIconButton",
|
|
472
|
+
props: {
|
|
473
|
+
iconName: {},
|
|
474
|
+
qty: { default: 0 },
|
|
475
|
+
size: { default: "medium" },
|
|
476
|
+
design: { default: "white-back" },
|
|
477
|
+
disabled: { type: Boolean, default: !1 }
|
|
478
|
+
},
|
|
479
|
+
emits: ["click"],
|
|
480
|
+
setup(u) {
|
|
481
|
+
return (e, t) => (l(), o("div", {
|
|
482
|
+
class: _(["adj-icon-button", {
|
|
483
|
+
[`adj-icon-button_${e.size}`]: !0,
|
|
484
|
+
[`adj-icon-button_${e.design}`]: !0,
|
|
485
|
+
"adj-icon-button_disabled": e.disabled
|
|
486
|
+
}]),
|
|
487
|
+
onClick: t[0] || (t[0] = (a) => e.$emit("click"))
|
|
488
|
+
}, [
|
|
489
|
+
i("i", {
|
|
490
|
+
class: _(["adj-icon-button__icon", e.iconName])
|
|
491
|
+
}, null, 2),
|
|
492
|
+
e.qty > 0 ? (l(), o("div", tt, g(e.qty), 1)) : b("", !0)
|
|
493
|
+
], 2));
|
|
494
|
+
}
|
|
495
|
+
}), _l = /* @__PURE__ */ h(lt, [["__scopeId", "data-v-b636fa8d"]]), ot = /* @__PURE__ */ j({
|
|
96
496
|
__name: "AdjIconButtonText",
|
|
97
497
|
props: {
|
|
98
498
|
iconName: {},
|
|
@@ -101,52 +501,52 @@ const U = { class: "adj-button-checkbox__title" }, z = /* @__PURE__ */ j({
|
|
|
101
501
|
loading: { type: Boolean }
|
|
102
502
|
},
|
|
103
503
|
emits: ["click"],
|
|
104
|
-
setup(
|
|
105
|
-
|
|
106
|
-
b2b877b2:
|
|
504
|
+
setup(u) {
|
|
505
|
+
E((a) => ({
|
|
506
|
+
b2b877b2: t.value
|
|
107
507
|
}));
|
|
108
|
-
const e =
|
|
109
|
-
return (
|
|
110
|
-
class:
|
|
111
|
-
[`adj-icon-button-text_${
|
|
112
|
-
"adj-icon-button-text_loading":
|
|
508
|
+
const e = u, t = W(() => `'${e.text}'`);
|
|
509
|
+
return (a, d) => (l(), o("div", {
|
|
510
|
+
class: _(["adj-icon-button-text", {
|
|
511
|
+
[`adj-icon-button-text_${a.textPosition}`]: !0,
|
|
512
|
+
"adj-icon-button-text_loading": a.loading
|
|
113
513
|
}]),
|
|
114
|
-
onClick:
|
|
514
|
+
onClick: d[0] || (d[0] = (n) => a.$emit("click"))
|
|
115
515
|
}, [
|
|
116
|
-
|
|
117
|
-
class:
|
|
516
|
+
i("i", {
|
|
517
|
+
class: _(a.iconName)
|
|
118
518
|
}, null, 2)
|
|
119
519
|
], 2));
|
|
120
520
|
}
|
|
121
|
-
}),
|
|
521
|
+
}), hl = /* @__PURE__ */ h(ot, [["__scopeId", "data-v-55f3773b"]]), at = ["src"], it = /* @__PURE__ */ j({
|
|
122
522
|
__name: "AdjImageButton",
|
|
123
523
|
props: {
|
|
124
524
|
image: { default: "" },
|
|
125
525
|
active: { type: Boolean, default: !1 }
|
|
126
526
|
},
|
|
127
|
-
setup(
|
|
128
|
-
return (e,
|
|
129
|
-
class:
|
|
527
|
+
setup(u) {
|
|
528
|
+
return (e, t) => (l(), o("div", {
|
|
529
|
+
class: _(["adj-image-button adj-effect-overlay-normal", { active: e.active }])
|
|
130
530
|
}, [
|
|
131
|
-
|
|
531
|
+
i("img", {
|
|
132
532
|
src: e.image,
|
|
133
533
|
alt: ""
|
|
134
|
-
}, null, 8,
|
|
534
|
+
}, null, 8, at)
|
|
135
535
|
], 2));
|
|
136
536
|
}
|
|
137
|
-
}),
|
|
537
|
+
}), jl = /* @__PURE__ */ h(it, [["__scopeId", "data-v-54b5699e"]]), nt = {
|
|
138
538
|
key: 0,
|
|
139
539
|
class: "adj-input__title"
|
|
140
|
-
},
|
|
540
|
+
}, st = { key: 0 }, dt = { class: "adj-input__field" }, ut = {
|
|
141
541
|
key: 0,
|
|
142
542
|
class: "adj-input__hint"
|
|
143
|
-
},
|
|
543
|
+
}, rt = ["value", "placeholder", "disabled", "type"], ct = {
|
|
144
544
|
key: 0,
|
|
145
545
|
class: "icon-hide"
|
|
146
|
-
},
|
|
546
|
+
}, pt = {
|
|
147
547
|
key: 1,
|
|
148
548
|
class: "icon-show"
|
|
149
|
-
},
|
|
549
|
+
}, ft = /* @__PURE__ */ j({
|
|
150
550
|
__name: "AdjInput",
|
|
151
551
|
props: {
|
|
152
552
|
title: { default: "" },
|
|
@@ -161,64 +561,64 @@ const U = { class: "adj-button-checkbox__title" }, z = /* @__PURE__ */ j({
|
|
|
161
561
|
debounceTime: { default: 0 }
|
|
162
562
|
},
|
|
163
563
|
emits: ["update:modelValue"],
|
|
164
|
-
setup(
|
|
165
|
-
const
|
|
166
|
-
function p(
|
|
167
|
-
return
|
|
168
|
-
|
|
169
|
-
},
|
|
564
|
+
setup(u, { emit: e }) {
|
|
565
|
+
const t = u, a = e, d = k(!1), n = W(() => d.value === !0 && t.type === "password" ? "text" : t.type);
|
|
566
|
+
function p(m) {
|
|
567
|
+
return ce((s) => {
|
|
568
|
+
r(s);
|
|
569
|
+
}, m);
|
|
170
570
|
}
|
|
171
|
-
let
|
|
172
|
-
|
|
173
|
-
() =>
|
|
571
|
+
let f = p(t.debounceTime);
|
|
572
|
+
le(
|
|
573
|
+
() => t.debounceTime,
|
|
174
574
|
() => {
|
|
175
|
-
|
|
575
|
+
f = p(t.debounceTime);
|
|
176
576
|
}
|
|
177
577
|
);
|
|
178
|
-
function m
|
|
179
|
-
|
|
578
|
+
function r(m) {
|
|
579
|
+
t.modelValue != m && a("update:modelValue", m);
|
|
180
580
|
}
|
|
181
|
-
return (
|
|
182
|
-
class:
|
|
183
|
-
"adj-input_disabled":
|
|
184
|
-
"adj-input_error":
|
|
185
|
-
"adj-input_password":
|
|
186
|
-
"adj-input_left-title":
|
|
581
|
+
return (m, s) => (l(), o("div", {
|
|
582
|
+
class: _(["adj-input", {
|
|
583
|
+
"adj-input_disabled": m.disabled,
|
|
584
|
+
"adj-input_error": m.error,
|
|
585
|
+
"adj-input_password": m.type === "password",
|
|
586
|
+
"adj-input_left-title": m.titlePosition === "left"
|
|
187
587
|
}])
|
|
188
588
|
}, [
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
])) :
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
html:
|
|
589
|
+
m.title ? (l(), o("div", nt, [
|
|
590
|
+
de(g(m.title) + " ", 1),
|
|
591
|
+
m.required ? (l(), o("span", st, "*")) : b("", !0)
|
|
592
|
+
])) : b("", !0),
|
|
593
|
+
i("div", dt, [
|
|
594
|
+
m.hint ? (l(), o("div", ut, [
|
|
595
|
+
V(pe, {
|
|
596
|
+
html: m.hint,
|
|
197
597
|
horizontalPosition: "left",
|
|
198
598
|
verticalPosition: "bottom",
|
|
199
599
|
width: "170px"
|
|
200
600
|
}, null, 8, ["html"])
|
|
201
|
-
])) :
|
|
202
|
-
|
|
601
|
+
])) : b("", !0),
|
|
602
|
+
i("input", {
|
|
203
603
|
class: "adj-input__input",
|
|
204
|
-
value:
|
|
205
|
-
placeholder:
|
|
206
|
-
disabled:
|
|
207
|
-
type:
|
|
208
|
-
onChange:
|
|
209
|
-
onInput:
|
|
210
|
-
}, null, 40,
|
|
211
|
-
|
|
604
|
+
value: m.modelValue,
|
|
605
|
+
placeholder: m.placeholder,
|
|
606
|
+
disabled: m.disabled,
|
|
607
|
+
type: n.value,
|
|
608
|
+
onChange: s[0] || (s[0] = (c) => r(c.target.value)),
|
|
609
|
+
onInput: s[1] || (s[1] = (c) => ue(f)(c.target.value))
|
|
610
|
+
}, null, 40, rt),
|
|
611
|
+
m.type === "password" ? (l(), o("div", {
|
|
212
612
|
key: 1,
|
|
213
613
|
class: "icon-pass",
|
|
214
|
-
onClick:
|
|
614
|
+
onClick: s[2] || (s[2] = (c) => d.value = !d.value)
|
|
215
615
|
}, [
|
|
216
|
-
|
|
217
|
-
])) :
|
|
616
|
+
d.value ? (l(), o("i", ct)) : (l(), o("i", pt))
|
|
617
|
+
])) : b("", !0)
|
|
218
618
|
])
|
|
219
619
|
], 2));
|
|
220
620
|
}
|
|
221
|
-
}),
|
|
621
|
+
}), gl = /* @__PURE__ */ h(ft, [["__scopeId", "data-v-d3a2d383"]]), mt = ["value", "placeholder", "disabled"], vt = /* @__PURE__ */ j({
|
|
222
622
|
__name: "AdjInputModern",
|
|
223
623
|
props: {
|
|
224
624
|
modelValue: { default: "" },
|
|
@@ -227,46 +627,82 @@ const U = { class: "adj-button-checkbox__title" }, z = /* @__PURE__ */ j({
|
|
|
227
627
|
debounceTime: { default: 0 }
|
|
228
628
|
},
|
|
229
629
|
emits: ["update:modelValue"],
|
|
230
|
-
setup(
|
|
231
|
-
const
|
|
232
|
-
function
|
|
233
|
-
return
|
|
234
|
-
p(
|
|
235
|
-
},
|
|
630
|
+
setup(u, { emit: e }) {
|
|
631
|
+
const t = u, a = e;
|
|
632
|
+
function d(f) {
|
|
633
|
+
return ce((r) => {
|
|
634
|
+
p(r);
|
|
635
|
+
}, f);
|
|
236
636
|
}
|
|
237
|
-
let
|
|
238
|
-
|
|
239
|
-
() =>
|
|
637
|
+
let n = d(t.debounceTime);
|
|
638
|
+
le(
|
|
639
|
+
() => t.debounceTime,
|
|
240
640
|
() => {
|
|
241
|
-
|
|
641
|
+
n = d(t.debounceTime);
|
|
242
642
|
}
|
|
243
643
|
);
|
|
244
|
-
function p(
|
|
245
|
-
|
|
644
|
+
function p(f) {
|
|
645
|
+
t.modelValue != f && a("update:modelValue", f);
|
|
246
646
|
}
|
|
247
|
-
return (
|
|
248
|
-
class:
|
|
249
|
-
"adj-input-modern_disabled":
|
|
647
|
+
return (f, r) => (l(), o("div", {
|
|
648
|
+
class: _(["adj-input-modern", {
|
|
649
|
+
"adj-input-modern_disabled": f.disabled
|
|
250
650
|
}])
|
|
251
651
|
}, [
|
|
252
|
-
|
|
652
|
+
i("input", {
|
|
253
653
|
class: "adj-input-modern__input",
|
|
254
|
-
value:
|
|
255
|
-
placeholder:
|
|
256
|
-
disabled:
|
|
654
|
+
value: f.modelValue,
|
|
655
|
+
placeholder: f.placeholder,
|
|
656
|
+
disabled: f.disabled,
|
|
257
657
|
type: "text",
|
|
258
|
-
onChange:
|
|
259
|
-
onInput:
|
|
260
|
-
}, null, 40,
|
|
658
|
+
onChange: r[0] || (r[0] = (m) => p(m.target.value)),
|
|
659
|
+
onInput: r[1] || (r[1] = (m) => ue(n)(m.target.value))
|
|
660
|
+
}, null, 40, mt)
|
|
661
|
+
], 2));
|
|
662
|
+
}
|
|
663
|
+
}), Cl = /* @__PURE__ */ h(vt, [["__scopeId", "data-v-6c1492b0"]]), _t = ["onClick"], ht = { class: "adj-radio__item_name adj-text-13" }, jt = /* @__PURE__ */ j({
|
|
664
|
+
__name: "AdjRadio",
|
|
665
|
+
props: {
|
|
666
|
+
namePosition: { default: "right" },
|
|
667
|
+
items: { default: () => [] },
|
|
668
|
+
modelValue: {},
|
|
669
|
+
disabled: { type: Boolean, default: !1 }
|
|
670
|
+
},
|
|
671
|
+
emits: ["update:modelValue"],
|
|
672
|
+
setup(u, { emit: e }) {
|
|
673
|
+
const t = u, a = e;
|
|
674
|
+
function d(n) {
|
|
675
|
+
var p;
|
|
676
|
+
n.id !== ((p = t.modelValue) == null ? void 0 : p.id) && a("update:modelValue", n);
|
|
677
|
+
}
|
|
678
|
+
return (n, p) => (l(), o("div", {
|
|
679
|
+
class: _(["adj-radio", { "adj-radio_disabled": n.disabled }])
|
|
680
|
+
}, [
|
|
681
|
+
(l(!0), o(F, null, R(n.items, (f) => {
|
|
682
|
+
var r;
|
|
683
|
+
return l(), o("div", {
|
|
684
|
+
key: f.id,
|
|
685
|
+
class: _(["adj-radio__item", {
|
|
686
|
+
active: ((r = n.modelValue) == null ? void 0 : r.id) === f.id,
|
|
687
|
+
[`adj-radio__item_${n.namePosition}`]: !0
|
|
688
|
+
}]),
|
|
689
|
+
onClick: (m) => d(f)
|
|
690
|
+
}, [
|
|
691
|
+
i("div", {
|
|
692
|
+
class: _(["adj-radio__item_button", { "adj-effect-overlay-small": !n.disabled }])
|
|
693
|
+
}, null, 2),
|
|
694
|
+
i("span", ht, g(f.name), 1)
|
|
695
|
+
], 10, _t);
|
|
696
|
+
}), 128))
|
|
261
697
|
], 2));
|
|
262
698
|
}
|
|
263
|
-
}),
|
|
699
|
+
}), kl = /* @__PURE__ */ h(jt, [["__scopeId", "data-v-354e1b34"]]), gt = {
|
|
264
700
|
key: 0,
|
|
265
701
|
class: "adj-select__title"
|
|
266
|
-
},
|
|
702
|
+
}, Ct = { key: 0 }, kt = { class: "adj-select__comment" }, bt = { key: 1 }, wt = {
|
|
267
703
|
key: 0,
|
|
268
704
|
class: "adj-select__items adj-effect-overlay-normal"
|
|
269
|
-
},
|
|
705
|
+
}, $t = ["onClick"], yt = /* @__PURE__ */ j({
|
|
270
706
|
__name: "AdjSelect",
|
|
271
707
|
props: {
|
|
272
708
|
titlePosition: { default: "top" },
|
|
@@ -280,75 +716,75 @@ const U = { class: "adj-button-checkbox__title" }, z = /* @__PURE__ */ j({
|
|
|
280
716
|
nothingFound: {}
|
|
281
717
|
},
|
|
282
718
|
emits: ["update:modelValue"],
|
|
283
|
-
setup(
|
|
284
|
-
const
|
|
285
|
-
|
|
286
|
-
const
|
|
287
|
-
|
|
288
|
-
const p =
|
|
289
|
-
function
|
|
719
|
+
setup(u, { emit: e }) {
|
|
720
|
+
const t = u, a = e, d = S("refElement");
|
|
721
|
+
oe(d, () => r());
|
|
722
|
+
const n = S("refInput");
|
|
723
|
+
je(n, { initialValue: !0 });
|
|
724
|
+
const p = k(!1), f = k("");
|
|
725
|
+
function r() {
|
|
290
726
|
p.value = !1;
|
|
291
727
|
}
|
|
292
|
-
function
|
|
293
|
-
|
|
728
|
+
function m(c) {
|
|
729
|
+
a("update:modelValue", c);
|
|
294
730
|
}
|
|
295
|
-
const
|
|
296
|
-
return
|
|
297
|
-
|
|
298
|
-
}), (
|
|
299
|
-
var
|
|
300
|
-
return
|
|
731
|
+
const s = W(() => t.showSearch ? t.items.filter((c) => c.name.match(RegExp(f.value, "i"))) : t.items);
|
|
732
|
+
return le(p, () => {
|
|
733
|
+
f.value = "";
|
|
734
|
+
}), (c, v) => {
|
|
735
|
+
var w;
|
|
736
|
+
return l(), o("div", {
|
|
301
737
|
ref: "refElement",
|
|
302
|
-
class:
|
|
738
|
+
class: _(["adj-select", { disabled: c.disabled, leftTitle: c.titlePosition === "left", show: p.value }])
|
|
303
739
|
}, [
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
])) :
|
|
308
|
-
|
|
309
|
-
class:
|
|
310
|
-
onClick: v[3] || (v[3] = (
|
|
740
|
+
c.title ? (l(), o("div", gt, [
|
|
741
|
+
de(g(c.title) + " ", 1),
|
|
742
|
+
c.required ? (l(), o("span", Ct, "*")) : b("", !0)
|
|
743
|
+
])) : b("", !0),
|
|
744
|
+
i("div", {
|
|
745
|
+
class: _(["adj-select__name adj-text-14", { "adj-select__name_active": c.showSearch && p.value }]),
|
|
746
|
+
onClick: v[3] || (v[3] = (C) => c.disabled ? 0 : p.value = !p.value)
|
|
311
747
|
}, [
|
|
312
|
-
|
|
313
|
-
|
|
748
|
+
i("div", kt, g(c.comment), 1),
|
|
749
|
+
c.showSearch && p.value ? D((l(), o("input", {
|
|
314
750
|
key: 0,
|
|
315
751
|
type: "text",
|
|
316
|
-
"onUpdate:modelValue": v[0] || (v[0] = (
|
|
752
|
+
"onUpdate:modelValue": v[0] || (v[0] = (C) => f.value = C),
|
|
317
753
|
ref: "refInput",
|
|
318
|
-
onClick: v[1] || (v[1] =
|
|
754
|
+
onClick: v[1] || (v[1] = L(() => {
|
|
319
755
|
}, ["stop"]))
|
|
320
756
|
}, null, 512)), [
|
|
321
|
-
[
|
|
322
|
-
]) : (
|
|
323
|
-
v[4] || (v[4] =
|
|
324
|
-
|
|
325
|
-
default:
|
|
326
|
-
p.value ? (
|
|
327
|
-
|
|
757
|
+
[fe, f.value]
|
|
758
|
+
]) : (l(), o("span", bt, g((w = c.modelValue) == null ? void 0 : w.name), 1)),
|
|
759
|
+
v[4] || (v[4] = i("i", { class: "icon-arrow-down" }, null, -1)),
|
|
760
|
+
V(G, { name: "adj-fade" }, {
|
|
761
|
+
default: M(() => [
|
|
762
|
+
p.value ? (l(), o("div", wt, [
|
|
763
|
+
V(ae, {
|
|
328
764
|
maxHeight: "238px",
|
|
329
765
|
white: ""
|
|
330
766
|
}, {
|
|
331
|
-
default:
|
|
332
|
-
|
|
333
|
-
(
|
|
334
|
-
var
|
|
335
|
-
return
|
|
336
|
-
key:
|
|
337
|
-
class:
|
|
338
|
-
onClick: (
|
|
339
|
-
}, C
|
|
767
|
+
default: M(() => [
|
|
768
|
+
i("div", null, [
|
|
769
|
+
(l(!0), o(F, null, R(s.value, (C) => {
|
|
770
|
+
var y;
|
|
771
|
+
return l(), o("div", {
|
|
772
|
+
key: C.id,
|
|
773
|
+
class: _(["adj-select__item adj-text-14", { active: C.id == ((y = c.modelValue) == null ? void 0 : y.id) }]),
|
|
774
|
+
onClick: (I) => m(C)
|
|
775
|
+
}, g(C.name), 11, $t);
|
|
340
776
|
}), 128)),
|
|
341
|
-
|
|
777
|
+
s.value.length === 0 ? (l(), o("div", {
|
|
342
778
|
key: "nothingFound",
|
|
343
779
|
class: "adj-select__item adj-text-14",
|
|
344
|
-
onClick: v[2] || (v[2] =
|
|
780
|
+
onClick: v[2] || (v[2] = L(() => {
|
|
345
781
|
}, ["stop"]))
|
|
346
|
-
},
|
|
782
|
+
}, g(c.nothingFound), 1)) : b("", !0)
|
|
347
783
|
])
|
|
348
784
|
]),
|
|
349
785
|
_: 1
|
|
350
786
|
})
|
|
351
|
-
])) :
|
|
787
|
+
])) : b("", !0)
|
|
352
788
|
]),
|
|
353
789
|
_: 1
|
|
354
790
|
})
|
|
@@ -356,67 +792,350 @@ const U = { class: "adj-button-checkbox__title" }, z = /* @__PURE__ */ j({
|
|
|
356
792
|
], 2);
|
|
357
793
|
};
|
|
358
794
|
}
|
|
359
|
-
}),
|
|
795
|
+
}), bl = /* @__PURE__ */ h(yt, [["__scopeId", "data-v-ae3b823c"]]), Lt = {
|
|
796
|
+
key: 0,
|
|
797
|
+
class: "adj-input__image"
|
|
798
|
+
}, Vt = ["src"], It = { class: "adj-input__text" }, At = ["onClick"], Bt = {
|
|
799
|
+
key: 0,
|
|
800
|
+
class: "adj-select-modern__item-image"
|
|
801
|
+
}, Pt = ["src"], Mt = { class: "adj-select-modern__item-text" }, Ht = /* @__PURE__ */ j({
|
|
802
|
+
__name: "AdjSelectModern",
|
|
803
|
+
props: {
|
|
804
|
+
design: { default: "text" },
|
|
805
|
+
horizontalPosition: { default: "right" },
|
|
806
|
+
verticalPosition: { default: "bottom" },
|
|
807
|
+
items: { default: () => [] },
|
|
808
|
+
modelValue: {}
|
|
809
|
+
},
|
|
810
|
+
emits: ["update:modelValue"],
|
|
811
|
+
setup(u, { emit: e }) {
|
|
812
|
+
const t = u, a = e, { x: d, y: n } = ge(), { width: p, height: f } = re();
|
|
813
|
+
me(() => {
|
|
814
|
+
ve(() => {
|
|
815
|
+
d.value >= 0 && n.value >= 0 && p.value >= 0 && Y();
|
|
816
|
+
});
|
|
817
|
+
});
|
|
818
|
+
const r = S("refElement");
|
|
819
|
+
oe(r, () => s.value = !1);
|
|
820
|
+
function m($) {
|
|
821
|
+
var H;
|
|
822
|
+
s.value = !1, $.id != ((H = t.modelValue) == null ? void 0 : H.id) && a("update:modelValue", $);
|
|
823
|
+
}
|
|
824
|
+
const s = k(!1), c = S("refInput"), v = S("refItems"), w = k(0), C = k(0), { elementWidth: y, elementHeight: I } = X(c), A = k(0), B = k(80), { elementWidth: Z, elementHeight: N } = X(v), T = k(t.horizontalPosition), z = k(t.verticalPosition);
|
|
825
|
+
function Y() {
|
|
826
|
+
s.value && (P(), J(), ee());
|
|
827
|
+
}
|
|
828
|
+
function x() {
|
|
829
|
+
s.value = !s.value, Y();
|
|
830
|
+
}
|
|
831
|
+
function P() {
|
|
832
|
+
if (c.value !== null) {
|
|
833
|
+
const $ = c.value.getBoundingClientRect();
|
|
834
|
+
w.value = $.left, C.value = $.top;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
function J() {
|
|
838
|
+
T.value = t.horizontalPosition, z.value = t.verticalPosition, t.horizontalPosition === "left" && w.value + y.value < Z.value ? T.value = "right" : t.horizontalPosition === "right" && Z.value > p.value - w.value && (T.value = "left"), t.verticalPosition === "top" && C.value - N.value < 0 ? z.value = "bottom" : t.verticalPosition === "bottom" && C.value + I.value + N.value > f.value && (z.value = "top");
|
|
839
|
+
}
|
|
840
|
+
function ee() {
|
|
841
|
+
T.value === "left" ? A.value = w.value + y.value - Z.value : T.value === "center" ? A.value = w.value + y.value / 2 - Z.value / 2 : T.value === "right" && (A.value = w.value), z.value == "top" ? B.value = C.value - N.value : z.value == "bottom" && (B.value = C.value + I.value);
|
|
842
|
+
}
|
|
843
|
+
return ($, H) => {
|
|
844
|
+
var ie, ne, se;
|
|
845
|
+
return l(), o("div", {
|
|
846
|
+
ref: "refElement",
|
|
847
|
+
class: _([
|
|
848
|
+
"adj-select-modern",
|
|
849
|
+
"adj-text-14",
|
|
850
|
+
$.horizontalPosition,
|
|
851
|
+
`adj-select-modern_${$.design}`,
|
|
852
|
+
{ showItems: s.value }
|
|
853
|
+
])
|
|
854
|
+
}, [
|
|
855
|
+
i("div", {
|
|
856
|
+
ref: "refInput",
|
|
857
|
+
class: "adj-input adj-text-14",
|
|
858
|
+
onClick: L(x, ["stop"])
|
|
859
|
+
}, [
|
|
860
|
+
$.design === "image" ? (l(), o("div", Lt, [
|
|
861
|
+
i("img", {
|
|
862
|
+
src: (ie = $.modelValue) == null ? void 0 : ie.image,
|
|
863
|
+
alt: ""
|
|
864
|
+
}, null, 8, Vt),
|
|
865
|
+
H[0] || (H[0] = i("div", { class: "adj-input__border" }, null, -1))
|
|
866
|
+
])) : $.design === "background" ? (l(), o("div", {
|
|
867
|
+
key: 1,
|
|
868
|
+
class: "adj-input__image",
|
|
869
|
+
style: q({ background: (ne = $.modelValue) == null ? void 0 : ne.background })
|
|
870
|
+
}, null, 4)) : b("", !0),
|
|
871
|
+
i("span", It, g((se = $.modelValue) == null ? void 0 : se.name), 1),
|
|
872
|
+
H[1] || (H[1] = i("i", { class: "adj-input__icon icon-arrow-down" }, null, -1))
|
|
873
|
+
], 512),
|
|
874
|
+
i("div", {
|
|
875
|
+
class: "adj-select-modern__items adj-effect-overlay-big",
|
|
876
|
+
style: q({
|
|
877
|
+
left: A.value + "px",
|
|
878
|
+
top: B.value + "px",
|
|
879
|
+
visibility: s.value ? "visible" : "hidden"
|
|
880
|
+
}),
|
|
881
|
+
ref: "refItems"
|
|
882
|
+
}, [
|
|
883
|
+
V(ae, { maxHeight: "384px" }, {
|
|
884
|
+
default: M(() => [
|
|
885
|
+
i("div", null, [
|
|
886
|
+
(l(!0), o(F, null, R($.items, (O) => (l(), o("div", {
|
|
887
|
+
key: O.id,
|
|
888
|
+
class: "adj-select-modern__item adj-text-14",
|
|
889
|
+
onClick: L((il) => m(O), ["stop"])
|
|
890
|
+
}, [
|
|
891
|
+
$.design === "image" ? (l(), o("div", Bt, [
|
|
892
|
+
i("img", {
|
|
893
|
+
src: O.image,
|
|
894
|
+
alt: ""
|
|
895
|
+
}, null, 8, Pt),
|
|
896
|
+
H[2] || (H[2] = i("div", { class: "adj-select-modern__item-border" }, null, -1))
|
|
897
|
+
])) : $.design === "background" ? (l(), o("div", {
|
|
898
|
+
key: 1,
|
|
899
|
+
class: "adj-select-modern__item-image",
|
|
900
|
+
style: q({ background: O.background })
|
|
901
|
+
}, null, 4)) : b("", !0),
|
|
902
|
+
i("span", Mt, g(O.name), 1)
|
|
903
|
+
], 8, At))), 128))
|
|
904
|
+
])
|
|
905
|
+
]),
|
|
906
|
+
_: 1
|
|
907
|
+
})
|
|
908
|
+
], 4)
|
|
909
|
+
], 2);
|
|
910
|
+
};
|
|
911
|
+
}
|
|
912
|
+
}), wl = /* @__PURE__ */ h(Ht, [["__scopeId", "data-v-da4b80ef"]]), St = { class: "adj-skeleton-item" }, Tt = /* @__PURE__ */ j({
|
|
913
|
+
__name: "AdjSkeletonItem",
|
|
914
|
+
props: {
|
|
915
|
+
width: { default: "100%" },
|
|
916
|
+
height: { default: "unset" },
|
|
917
|
+
aspectRatio: { default: "unset" },
|
|
918
|
+
marginTop: { default: "0px" }
|
|
919
|
+
},
|
|
920
|
+
setup(u) {
|
|
921
|
+
E((a) => ({
|
|
922
|
+
"6c6a62eb": a.width,
|
|
923
|
+
"5e4cd76c": a.marginTop,
|
|
924
|
+
"3288b325": t.value,
|
|
925
|
+
"071300a2": a.height
|
|
926
|
+
}));
|
|
927
|
+
const e = u, t = W(() => e.height !== "unset" ? "unset" : e.aspectRatio);
|
|
928
|
+
return (a, d) => (l(), o("div", St));
|
|
929
|
+
}
|
|
930
|
+
}), zt = /* @__PURE__ */ h(Tt, [["__scopeId", "data-v-a8496a75"]]), Ft = { class: "adj-skeleton" }, Rt = /* @__PURE__ */ j({
|
|
931
|
+
__name: "AdjSkeleton",
|
|
932
|
+
props: {
|
|
933
|
+
loaders: { default: () => [] },
|
|
934
|
+
width: { default: "100%" },
|
|
935
|
+
centered: { type: Boolean, default: !1 }
|
|
936
|
+
},
|
|
937
|
+
setup(u) {
|
|
938
|
+
E((a) => ({
|
|
939
|
+
da5aeae0: t.value,
|
|
940
|
+
"0deb2ec4": a.width
|
|
941
|
+
}));
|
|
942
|
+
const e = u, t = W(() => e.centered ? "center" : "unset");
|
|
943
|
+
return (a, d) => (l(), o("div", Ft, [
|
|
944
|
+
(l(!0), o(F, null, R(a.loaders, (n, p) => (l(), _e(zt, {
|
|
945
|
+
key: p,
|
|
946
|
+
width: n.width,
|
|
947
|
+
height: n.height,
|
|
948
|
+
"aspect-ratio": n.aspectRatio,
|
|
949
|
+
"margin-top": n.marginTop
|
|
950
|
+
}, null, 8, ["width", "height", "aspect-ratio", "margin-top"]))), 128))
|
|
951
|
+
]));
|
|
952
|
+
}
|
|
953
|
+
}), $l = /* @__PURE__ */ h(Rt, [["__scopeId", "data-v-14f324dd"]]), Zt = {}, Dt = {
|
|
954
|
+
viewBox: "0 0 34 34",
|
|
955
|
+
fill: "none",
|
|
956
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
957
|
+
};
|
|
958
|
+
function Et(u, e) {
|
|
959
|
+
return l(), o("svg", Dt, e[0] || (e[0] = [
|
|
960
|
+
i("circle", {
|
|
961
|
+
cx: "17",
|
|
962
|
+
cy: "17",
|
|
963
|
+
r: "16.5"
|
|
964
|
+
}, null, -1),
|
|
965
|
+
i("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)
|
|
966
|
+
]));
|
|
967
|
+
}
|
|
968
|
+
const yl = /* @__PURE__ */ h(Zt, [["render", Et], ["__scopeId", "data-v-ef9285fe"]]), Wt = {}, Nt = {
|
|
360
969
|
viewBox: "0 0 40 40",
|
|
361
970
|
xmlns: "http://www.w3.org/2000/svg"
|
|
362
971
|
};
|
|
363
|
-
function
|
|
364
|
-
return
|
|
365
|
-
|
|
972
|
+
function Ot(u, e) {
|
|
973
|
+
return l(), o("svg", Nt, e[0] || (e[0] = [
|
|
974
|
+
i("circle", {
|
|
366
975
|
cx: "20",
|
|
367
976
|
cy: "20",
|
|
368
977
|
r: "19",
|
|
369
978
|
"stroke-width": "2"
|
|
370
979
|
}, null, -1),
|
|
371
|
-
|
|
980
|
+
i("path", { d: "M27.6359 15.1348L24.8103 12.3092C24.4415 11.9628 23.9582 11.764 23.4525 11.7507C22.9467 11.7374 22.4536 11.9105 22.0671 12.237L12.7858 21.5184C12.4524 21.8545 12.2449 22.2951 12.198 22.7662L11.7545 27.0665C11.7406 27.2176 11.7602 27.3698 11.8119 27.5124C11.8636 27.655 11.9461 27.7845 12.0536 27.8915C12.1499 27.9871 12.2642 28.0627 12.3899 28.1141C12.5155 28.1654 12.6501 28.1914 12.7858 28.1906H12.8786L17.179 27.7987C17.65 27.7518 18.0906 27.5443 18.4268 27.2109L27.7081 17.9296C28.0684 17.549 28.2631 17.0411 28.2495 16.5173C28.236 15.9934 28.0153 15.4963 27.6359 15.1348V15.1348ZM16.9933 25.7362L13.8995 26.025L14.178 22.9312L20.0046 17.1767L22.789 19.9612L16.9933 25.7362ZM24.1297 18.5793L21.3659 15.8155L23.3768 13.753L26.1922 16.5683L24.1297 18.5793Z" }, null, -1)
|
|
372
981
|
]));
|
|
373
982
|
}
|
|
374
|
-
const
|
|
983
|
+
const Ll = /* @__PURE__ */ h(Wt, [["render", Ot], ["__scopeId", "data-v-6dc6a818"]]), qt = {}, Ut = {
|
|
375
984
|
viewBox: "0 0 330 252",
|
|
376
985
|
xmlns: "http://www.w3.org/2000/svg"
|
|
377
986
|
};
|
|
378
|
-
function
|
|
379
|
-
return
|
|
380
|
-
|
|
987
|
+
function Gt(u, e) {
|
|
988
|
+
return l(), o("svg", Ut, e[0] || (e[0] = [
|
|
989
|
+
he('<g filter="url(#filter0_f_7437_67481)"><ellipse cx="162.5" cy="217.5" rx="71.5" ry="14.5" fill="black" fill-opacity="0.15"></ellipse></g><path d="M165 209.623C219.871 209.623 264.623 164.87 264.623 110C264.623 55.1294 219.871 10.3774 165 10.3774C110.129 10.3774 65.3774 55.1294 65.3774 110C65.3774 164.87 110.129 209.623 165 209.623Z" fill="#FE8D5B"></path><path d="M165 10.3774C219.87 10.3774 264.623 55.1294 264.623 110C264.623 164.87 219.871 209.623 165 209.623C110.129 209.623 65.3774 164.87 65.3774 110C65.3774 55.1294 110.129 10.3774 165 10.3774ZM165 0C157.559 0 150.116 0.7546 142.876 2.24268C135.819 3.69336 128.873 5.85684 122.233 8.67416C115.718 11.4378 109.432 14.8566 103.55 18.836C97.7288 22.7744 92.2526 27.2958 87.2744 32.2744C82.2963 37.253 77.7744 42.7288 73.836 48.5509C69.8566 54.4328 66.4378 60.7182 63.6742 67.2333C60.8573 73.8738 58.6934 80.8192 57.2427 87.8764C55.7546 95.1157 55 102.559 55 110C55 117.44 55.7546 124.883 57.2427 132.123C58.6934 139.18 60.8568 146.126 63.6742 152.766C66.4378 159.281 69.8566 165.567 73.836 171.449C77.7748 177.27 82.2963 182.747 87.2744 187.725C92.253 192.704 97.7288 197.225 103.551 201.164C109.433 205.143 115.718 208.563 122.233 211.326C128.874 214.143 135.819 216.307 142.876 217.757C150.116 219.245 157.56 220 165 220C172.44 220 179.884 219.245 187.124 217.757C194.181 216.307 201.127 214.143 207.768 211.326C214.283 208.562 220.568 205.143 226.45 201.164C232.272 197.225 237.748 192.703 242.726 187.725C247.705 182.746 252.226 177.27 256.165 171.448C260.144 165.566 263.563 159.281 266.327 152.766C269.144 146.125 271.308 139.179 272.758 132.123C274.246 124.883 275.001 117.44 275.001 109.999C275.001 102.559 274.246 95.1152 272.758 87.8755C271.308 80.8183 269.144 73.8729 266.327 67.2324C263.563 60.7174 260.144 54.432 256.165 48.55C252.226 42.7284 247.705 37.2522 242.726 32.2736C237.748 27.295 232.272 22.774 226.45 18.8351C220.568 14.8557 214.283 11.4369 207.768 8.67328C201.127 5.8564 194.181 3.69248 187.124 2.2418C179.883 0.7546 172.44 0 165 0Z" fill="white"></path><path d="M248.38 30.3252L110.112 77.9037L152.23 86.3042L248.38 30.3252H248.38Z" fill="#20D0C2"></path><path d="M110.112 77.9038L152.23 86.3042L180.182 70.0304L110.112 77.9038Z" fill="#1A91A1"></path><path d="M152.229 86.3047L158.754 135.952L248.38 30.3257L152.229 86.3047Z" fill="#15BDB1"></path><path d="M152.229 86.3046L158.754 135.952L198.812 88.7422L191.897 77.4756L178.198 88.9112L180.183 70.0299H180.182L152.229 86.3038V86.3046Z" fill="#157380"></path><path d="M248.38 30.3252L167.355 97.9633L158.755 135.952L248.38 30.3252Z" fill="#FECD0D"></path><path d="M178.199 88.9112L167.355 97.9633L158.755 135.952L198.813 88.7422L191.898 77.4756L178.199 88.9112V88.9103L178.199 88.9112Z" fill="#1A91A1"></path><path d="M220.818 124.603L248.38 30.3252L167.355 97.9633L220.818 124.603H220.818V124.603Z" fill="#20D0C2"></path><path d="M178.137 88.9112L167.294 97.9633L220.757 124.602L191.838 77.4756L178.137 88.9121L178.137 88.9112Z" fill="#1A91A1"></path><path d="M83.3184 149.936L139.305 95.3916L141.782 98.6467L83.3184 149.936ZM148.981 188.111L199.697 129.821L203.266 131.447L148.981 188.111ZM106.675 182.391L154.055 139.957L151.466 137.74L106.675 182.391Z" fill="white"></path><defs><filter id="filter0_f_7437_67481" x="71" y="183" width="183" height="69" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="10" result="effect1_foregroundBlur_7437_67481"></feGaussianBlur></filter></defs>', 13)
|
|
381
990
|
]));
|
|
382
991
|
}
|
|
383
|
-
const
|
|
992
|
+
const Vl = /* @__PURE__ */ h(qt, [["render", Gt]]), Yt = {}, Jt = {
|
|
384
993
|
viewBox: "0 0 30 22",
|
|
385
994
|
xmlns: "http://www.w3.org/2000/svg"
|
|
386
995
|
};
|
|
387
|
-
function
|
|
388
|
-
return
|
|
389
|
-
|
|
996
|
+
function Kt(u, e) {
|
|
997
|
+
return l(), o("svg", Jt, e[0] || (e[0] = [
|
|
998
|
+
i("path", { d: "M29.983 8.48911C29.972 7.88611 29.924 7.1241 29.841 6.2041C29.757 5.2831 29.637 4.46011 29.481 3.73511C29.302 2.92011 28.915 2.2341 28.318 1.6761C27.721 1.1181 27.026 0.794109 26.234 0.705109C23.756 0.426109 20.012 0.287109 15.001 0.287109C9.98998 0.287109 6.24597 0.427109 3.76797 0.705109C2.97497 0.794109 2.28299 1.1181 1.69199 1.6761C1.09999 2.2341 0.714987 2.92011 0.536987 3.73511C0.369987 4.46111 0.243988 5.2841 0.159988 6.2041C0.0759884 7.1251 0.0289749 7.88611 0.0179749 8.48911C0.00697485 9.0921 0.000976562 9.92911 0.000976562 11.0001C0.000976562 12.0711 0.00697485 12.9091 0.0179749 13.5111C0.0289749 14.1141 0.0769884 14.8761 0.159988 15.7961C0.243988 16.7171 0.363974 17.5401 0.519974 18.2661C0.698974 19.0811 1.08598 19.7671 1.68298 20.3251C2.27998 20.8831 2.97498 21.2071 3.76698 21.2961C6.24498 21.5751 9.98899 21.7151 15 21.7151C20.011 21.7151 23.755 21.5761 26.233 21.2961C27.026 21.2071 27.717 20.8831 28.309 20.3251C28.901 19.7671 29.285 19.0801 29.464 18.2661C29.631 17.5411 29.757 16.7171 29.841 15.7961C29.924 14.8761 29.972 14.1141 29.983 13.5111C29.994 12.9081 30 12.0711 30 11.0001C30 9.92811 29.994 9.09111 29.983 8.48911ZM20.926 11.9041L12.355 17.2611C12.199 17.3731 12.009 17.4281 11.786 17.4281C11.619 17.4281 11.446 17.3831 11.267 17.2941C10.899 17.0931 10.715 16.7811 10.715 16.3571V5.6431C10.715 5.2191 10.899 4.9061 11.267 4.7061C11.647 4.5051 12.009 4.51611 12.355 4.73911L20.926 10.0961C21.261 10.2851 21.428 10.5871 21.428 11.0001C21.428 11.4131 21.261 11.7141 20.926 11.9041Z" }, null, -1)
|
|
390
999
|
]));
|
|
391
1000
|
}
|
|
392
|
-
const
|
|
1001
|
+
const Il = /* @__PURE__ */ h(Yt, [["render", Kt], ["__scopeId", "data-v-578c540f"]]), Qt = { class: "adj-tabs" }, Xt = { class: "adj-tabs-wrapper" }, xt = ["onClick"], el = { key: 0 }, tl = /* @__PURE__ */ j({
|
|
1002
|
+
__name: "AdjTabs",
|
|
1003
|
+
props: {
|
|
1004
|
+
items: { default: () => [] },
|
|
1005
|
+
modelValue: {}
|
|
1006
|
+
},
|
|
1007
|
+
emits: ["update:modelValue"],
|
|
1008
|
+
setup(u, { emit: e }) {
|
|
1009
|
+
const t = u, a = e;
|
|
1010
|
+
function d(n) {
|
|
1011
|
+
var p;
|
|
1012
|
+
!n.disabled && n.id !== ((p = t.modelValue) == null ? void 0 : p.id) && a("update:modelValue", n);
|
|
1013
|
+
}
|
|
1014
|
+
return (n, p) => (l(), o("div", Qt, [
|
|
1015
|
+
i("div", Xt, [
|
|
1016
|
+
(l(!0), o(F, null, R(n.items, (f) => {
|
|
1017
|
+
var r;
|
|
1018
|
+
return l(), o("div", {
|
|
1019
|
+
key: f.name,
|
|
1020
|
+
class: _(["adj-tabs__item", { active: f.id == ((r = n.modelValue) == null ? void 0 : r.id), disabled: f.disabled }]),
|
|
1021
|
+
onClick: (m) => d(f)
|
|
1022
|
+
}, [
|
|
1023
|
+
i("p", null, g(f.name), 1),
|
|
1024
|
+
f.number ? (l(), o("span", el, g(f.number), 1)) : b("", !0)
|
|
1025
|
+
], 10, xt);
|
|
1026
|
+
}), 128))
|
|
1027
|
+
])
|
|
1028
|
+
]));
|
|
1029
|
+
}
|
|
1030
|
+
}), Al = /* @__PURE__ */ h(tl, [["__scopeId", "data-v-8456a19d"]]), ll = { class: "adj-upload-file__main" }, ol = { class: "adj-text-14" }, al = /* @__PURE__ */ j({
|
|
1031
|
+
__name: "AdjUploadFile",
|
|
1032
|
+
props: {
|
|
1033
|
+
text: {},
|
|
1034
|
+
modelValue: {},
|
|
1035
|
+
width: { default: 500 },
|
|
1036
|
+
height: { default: 430 }
|
|
1037
|
+
},
|
|
1038
|
+
emits: ["update:modelValue"],
|
|
1039
|
+
setup(u, { emit: e }) {
|
|
1040
|
+
const t = u, a = e, d = S("refFileInput"), n = k(!1);
|
|
1041
|
+
function p() {
|
|
1042
|
+
var s;
|
|
1043
|
+
n.value || (s = d.value) == null || s.click();
|
|
1044
|
+
}
|
|
1045
|
+
async function f(s) {
|
|
1046
|
+
return new Promise((c, v) => {
|
|
1047
|
+
const w = new FileReader();
|
|
1048
|
+
w.readAsDataURL(s), w.onload = () => c(w.result), w.onerror = (C) => v(C);
|
|
1049
|
+
});
|
|
1050
|
+
}
|
|
1051
|
+
async function r(s) {
|
|
1052
|
+
if (!s)
|
|
1053
|
+
return {
|
|
1054
|
+
url: ""
|
|
1055
|
+
};
|
|
1056
|
+
const v = await (await fetch("https://api.adjutant.ru/constructor-new/upload-image", {
|
|
1057
|
+
method: "POST",
|
|
1058
|
+
headers: { "Content-Type": "application/json;charset=utf-8" },
|
|
1059
|
+
body: JSON.stringify({
|
|
1060
|
+
id: Date.now(),
|
|
1061
|
+
key: "fvk34lkjf03fd93j9dfsaf0d",
|
|
1062
|
+
lang: "ru",
|
|
1063
|
+
testMode: !0,
|
|
1064
|
+
params: s
|
|
1065
|
+
})
|
|
1066
|
+
})).json();
|
|
1067
|
+
return {
|
|
1068
|
+
url: `${v == null ? void 0 : v.result}`
|
|
1069
|
+
// urlFull: `https://api.adjutant.ru/tmp/upload/constructorzakaz/${responseJson?.result}`,
|
|
1070
|
+
};
|
|
1071
|
+
}
|
|
1072
|
+
async function m(s) {
|
|
1073
|
+
var y;
|
|
1074
|
+
if (!(s.files && ((y = s == null ? void 0 : s.files) == null ? void 0 : y.length) > 0))
|
|
1075
|
+
return;
|
|
1076
|
+
n.value = !0;
|
|
1077
|
+
const c = s == null ? void 0 : s.files[0];
|
|
1078
|
+
let v = c.type;
|
|
1079
|
+
v === "image/svg+xml" && (v = "image/svg");
|
|
1080
|
+
const w = await f(c), C = await r({
|
|
1081
|
+
type: v,
|
|
1082
|
+
data: w,
|
|
1083
|
+
width: t.width,
|
|
1084
|
+
height: t.height
|
|
1085
|
+
});
|
|
1086
|
+
a("update:modelValue", { ...t.modelValue, ...C }), n.value = !1;
|
|
1087
|
+
}
|
|
1088
|
+
return (s, c) => (l(), o("div", {
|
|
1089
|
+
class: _(["adj-upload-file", { "adj-upload-file_loading": n.value }]),
|
|
1090
|
+
onClick: p
|
|
1091
|
+
}, [
|
|
1092
|
+
i("div", ll, [
|
|
1093
|
+
c[2] || (c[2] = i("i", { class: "icon-arrow-circle-up" }, null, -1)),
|
|
1094
|
+
i("span", ol, g(s.modelValue.url || s.text), 1)
|
|
1095
|
+
]),
|
|
1096
|
+
D(i("i", {
|
|
1097
|
+
class: "icon-close",
|
|
1098
|
+
onClick: c[0] || (c[0] = L((v) => s.$emit("update:modelValue", { url: "" }), ["stop"]))
|
|
1099
|
+
}, null, 512), [
|
|
1100
|
+
[U, s.modelValue.url]
|
|
1101
|
+
]),
|
|
1102
|
+
i("input", {
|
|
1103
|
+
id: "file",
|
|
1104
|
+
ref: "refFileInput",
|
|
1105
|
+
type: "file",
|
|
1106
|
+
hidden: "hidden",
|
|
1107
|
+
onInput: c[1] || (c[1] = (v) => m(v.target))
|
|
1108
|
+
}, null, 544)
|
|
1109
|
+
], 2));
|
|
1110
|
+
}
|
|
1111
|
+
}), Bl = /* @__PURE__ */ h(al, [["__scopeId", "data-v-378788cf"]]);
|
|
393
1112
|
export {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
1113
|
+
dl as AdjButton,
|
|
1114
|
+
ul as AdjButtonCheckbox,
|
|
1115
|
+
rl as AdjCheckbox,
|
|
1116
|
+
cl as AdjDownloadLink,
|
|
1117
|
+
pl as AdjDropdownLink,
|
|
1118
|
+
fl as AdjFilterCheckbox,
|
|
1119
|
+
ml as AdjFilterSelect,
|
|
1120
|
+
xe as AdjHint,
|
|
1121
|
+
pe as AdjHintDesktop,
|
|
1122
|
+
vl as AdjIcon,
|
|
1123
|
+
_l as AdjIconButton,
|
|
1124
|
+
hl as AdjIconButtonText,
|
|
1125
|
+
jl as AdjImageButton,
|
|
1126
|
+
gl as AdjInput,
|
|
1127
|
+
Cl as AdjInputModern,
|
|
1128
|
+
Je as AdjModal,
|
|
1129
|
+
kl as AdjRadio,
|
|
1130
|
+
ae as AdjScroll,
|
|
1131
|
+
bl as AdjSelect,
|
|
1132
|
+
wl as AdjSelectModern,
|
|
1133
|
+
$l as AdjSkeleton,
|
|
1134
|
+
zt as AdjSkeletonItem,
|
|
1135
|
+
yl as AdjSvgActive,
|
|
1136
|
+
Ll as AdjSvgEdit,
|
|
1137
|
+
Vl as AdjSvgFly,
|
|
1138
|
+
Il as AdjSvgYoutube,
|
|
1139
|
+
Al as AdjTabs,
|
|
1140
|
+
Bl as AdjUploadFile
|
|
422
1141
|
};
|