@poni/adjutant-ui 0.0.102 → 0.0.103
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/AdjSvgActive-9kTmj0ZZ.cjs +1 -0
- package/dist/{AdjSvgActive-_jf_nXsW.js → AdjSvgActive-Cg9d-T7U.js} +83 -83
- package/dist/components/AdjFilterSelect/AdjFilterSelect.vue.d.ts +3 -1
- package/dist/components/AdjFilterSelect/IAdjFilterSelectItem.d.ts +1 -1
- package/dist/components/AdjHint/AdjHint.vue.d.ts +4 -1
- package/dist/components/AdjSelect/AdjSelect.vue.d.ts +4 -1
- package/dist/components/AdjSelectImage/AdjSelectImage.vue.d.ts +1 -0
- package/dist/components/AdjSelectModern/AdjSelectModern.vue.d.ts +3 -1
- package/dist/components/AdjUploadFile/AdjUploadFile.vue.d.ts +3 -1
- package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.mock.d.ts +2 -0
- package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.stories.d.ts +6 -0
- package/dist/components/constructor/AdjPersonalizitionConfigurator/AdjPersonalizitionConfigurator.vue.d.ts +74 -0
- package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.vue.d.ts +1 -1
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.mock.d.ts +6 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.stories.d.ts +6 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/AdjPersonalizitionConfiguratorElements.vue.d.ts +34 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsItem.d.ts +18 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsModel.d.ts +4 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsNumber.d.ts +5 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsTexture.d.ts +14 -0
- package/dist/components/constructor/elements/AdjPersonalizitionConfiguratorElements/TAdjPersonalizitionConfiguratorElementsValue.d.ts +9 -0
- package/dist/components.cjs +1 -1
- package/dist/components.js +235 -237
- package/dist/constructor.cjs +1 -1
- package/dist/constructor.js +6 -6
- package/dist/misc/types.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +14 -14
- package/dist/AdjSvgActive-q5vUaXKl.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),C=require("@vueuse/core"),L=e.defineComponent({__name:"AdjButton",props:{title:{},flex:{type:Boolean,default:!1},size:{default:"medium"},design:{default:"primary"},disabled:{type:Boolean,default:!1},round:{type:Boolean,default:!1},iconLeft:{default:""},iconRight:{default:""}},emits:["click"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["adj-button",{[`adj-button_${t.size}`]:!0,[`adj-button_${t.design}`]:!0,"adj-button_disabled":t.disabled,"adj-button_flex":t.flex,"adj-button_round":t.round}]),onClick:o[0]||(o[0]=n=>t.disabled?0:t.$emit("click"))},[t.iconLeft?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(t.iconLeft)},null,2)):e.createCommentVNode("",!0),e.createElementVNode("div",null,e.toDisplayString(t.title),1),t.iconRight?(e.openBlock(),e.createElementBlock("i",{key:1,class:e.normalizeClass(t.iconRight)},null,2)):e.createCommentVNode("",!0)],2))}}),s=(a,t)=>{const o=a.__vccOpts||a;for(const[n,l]of t)o[n]=l;return o},I=s(L,[["__scopeId","data-v-602b5e80"]]),R=["innerHTML"],T=e.defineComponent({__name:"AdjHintDesktop",props:{html:{default:""},horizontalPosition:{default:"left"},verticalPosition:{default:"top"},dark:{type:Boolean,default:!1},width:{default:"200px"}},setup(a){return e.useCssVars(t=>({"7aca7e46":t.width})),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["adj-hint-desktop",{"adj-hint-desktop_dark":t.dark},`adj-hint-desktop_${t.verticalPosition}`,`adj-hint-desktop_${t.horizontalPosition}`])},[e.createElementVNode("div",{class:"adj-hint-desktop__text",innerHTML:t.html},null,8,R),o[0]||(o[0]=e.createElementVNode("svg",{class:"adj-hint-desktop__triangle",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{class:"adj-hint-desktop__triangle_inner",d:"M13 13L7 2L1 13H13Z"}),e.createElementVNode("path",{class:"adj-hint-desktop__triangle_border",d:"M13 13L7 2L1 13"})],-1))],2))}}),y=s(T,[["__scopeId","data-v-c37cada5"]]),D={class:"adj-modal"},W={class:"adj-modal_wrapper"},q=e.defineComponent({__name:"AdjModal",props:{show:{type:Boolean},width:{default:"100%"},hideClose:{type:Boolean,default:!1}},emits:["update:show"],setup(a,{emit:t}){e.useCssVars(l=>({65069964:l.width}));const o=t;function n(){o("update:show",!1)}return(l,i)=>(e.openBlock(),e.createElementBlock("div",D,[e.createVNode(e.Transition,{name:"adj-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",W,i[1]||(i[1]=[e.createElementVNode("div",{class:"adj-modal__background"},null,-1)]),512),[[e.vShow,l.show]])]),_:1}),e.createVNode(e.Transition,{name:"adj-popup-bottom"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"adj-modal_wrapper",onClick:e.withModifiers(n,["stop"])},[e.createElementVNode("div",{class:"adj-modal__window",onClick:i[0]||(i[0]=e.withModifiers(()=>{},["stop"]))},[l.hideClose?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"adj-modal__close icon-close",onClick:e.withModifiers(n,["stop"])})),e.renderSlot(l.$slots,"default",{},void 0,!0)])],512),[[e.vShow,l.show]])]),_:3})]))}}),M=s(q,[["__scopeId","data-v-921de616"]]),O={class:"adj-hint"},F=["innerHTML"],k=14,w=14,Z=e.defineComponent({__name:"AdjHint",props:{html:{default:""},horizontalPosition:{default:"left"},verticalPosition:{default:"bottom"},dark:{type:Boolean,default:!0},modalMode:{type:Boolean,default:!1}},setup(a){const t=a,o=e.ref(!1),n=e.ref(!1),{width:l,height:i}=C.useWindowSize(),v=e.useTemplateRef("targetSlot"),B=e.useTemplateRef("targetHint"),c=e.ref(0),f=e.ref(0),{elementWidth:m,elementHeight:b}=C.useMouseInElement(v),h=e.ref(0),j=e.ref(80),{elementWidth:_,elementHeight:g}=C.useMouseInElement(B),r=e.ref(t.horizontalPosition),u=e.ref(t.verticalPosition);let p=10+w/2;function $(){(!t.modalMode||l.value>=1200)&&(z(),H(),P(),o.value=!0)}function A(){(!t.modalMode||l.value>=1200)&&(o.value=!1)}function N(){t.modalMode&&l.value<1200&&(n.value=!0)}function z(){if(v.value!==null){const d=v.value.getBoundingClientRect();c.value=d.left,f.value=d.top}}function H(){t.dark&&(p=15+w/2),r.value=t.horizontalPosition,u.value=t.verticalPosition,t.horizontalPosition==="left"&&c.value+m.value/2+p-_.value<0?r.value="right":t.horizontalPosition==="right"&&c.value+m.value/2-p+_.value>l.value&&(r.value="left"),t.verticalPosition==="top"&&f.value-k-g.value<0?u.value="bottom":t.verticalPosition==="bottom"&&f.value+b.value+k+g.value>i.value&&(u.value="top")}function P(){t.dark&&(p=15+w/2),r.value==="left"?h.value=c.value+m.value/2+p-_.value:r.value==="center"?h.value=c.value+m.value/2-w/2-_.value/2:r.value==="right"&&(h.value=c.value+m.value/2-p),u.value=="top"?j.value=f.value-k-g.value:u.value=="bottom"&&(j.value=f.value+b.value+k)}return(d,E)=>(e.openBlock(),e.createElementBlock("div",O,[e.createElementVNode("div",{class:"adj-hint__slot",onMouseenter:e.withModifiers($,["stop"]),onMouseleave:e.withModifiers(A,["stop"]),onClick:e.withModifiers(N,["stop"]),ref_key:"targetSlot",ref:v},[e.renderSlot(d.$slots,"default",{},void 0,!0)],544),e.createElementVNode("div",{class:"adj-hint__hint",style:e.normalizeStyle({left:h.value+"px",top:j.value+"px",visibility:o.value?"visible":"hidden"}),ref_key:"targetHint",ref:B},[e.withDirectives(e.createVNode(y,{html:d.html,horizontalPosition:r.value,verticalPosition:u.value,dark:d.dark,width:"252px"},null,8,["html","horizontalPosition","verticalPosition","dark"]),[[e.vShow,d.html!==""]])],4),e.createVNode(M,{show:n.value,"onUpdate:show":E[0]||(E[0]=S=>n.value=S),width:"430px"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"adj-hint__modal",innerHTML:d.html},null,8,F)]),_:1},8,["show"])]))}}),U=s(Z,[["__scopeId","data-v-4e4cccc0"]]),G={key:0,class:"adj-icon-button__qty adj-text-12"},J=e.defineComponent({__name:"AdjIconButton",props:{iconName:{},qty:{default:0},size:{default:"medium"},design:{default:"white-back"},disabled:{type:Boolean,default:!1}},emits:["click"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["adj-icon-button",{[`adj-icon-button_${t.size}`]:!0,[`adj-icon-button_${t.design}`]:!0,"adj-icon-button_disabled":t.disabled}]),onClick:o[0]||(o[0]=n=>t.$emit("click"))},[e.createElementVNode("i",{class:e.normalizeClass(["adj-icon-button__icon",t.iconName])},null,2),t.qty>0?(e.openBlock(),e.createElementBlock("div",G,e.toDisplayString(t.qty),1)):e.createCommentVNode("",!0)],2))}}),K=s(J,[["__scopeId","data-v-bd9a4816"]]),Q={class:"adj-skeleton-item"},X=e.defineComponent({__name:"AdjSkeletonItem",props:{width:{default:"100%"},height:{default:"unset"},aspectRatio:{default:"unset"},marginTop:{default:"0px"}},setup(a){e.useCssVars(n=>({"73b36252":n.width,"5f18ed58":n.marginTop,ac595bde:o.value,"3656db94":n.height}));const t=a,o=e.computed(()=>t.height!=="unset"?"unset":t.aspectRatio);return(n,l)=>(e.openBlock(),e.createElementBlock("div",Q))}}),V=s(X,[["__scopeId","data-v-c6820958"]]),Y={class:"adj-skeleton"},x=e.defineComponent({__name:"AdjSkeleton",props:{loaders:{default:()=>[]},width:{default:"100%"},centered:{type:Boolean,default:!1}},setup(a){e.useCssVars(n=>({c2e40cd4:o.value,"019b6ab8":n.width}));const t=a,o=e.computed(()=>t.centered?"center":"unset");return(n,l)=>(e.openBlock(),e.createElementBlock("div",Y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.loaders,i=>(e.openBlock(),e.createBlock(V,{width:i.width,height:i.height,"aspect-ratio":i.aspectRatio,"margin-top":i.marginTop},null,8,["width","height","aspect-ratio","margin-top"]))),256))]))}}),ee=s(x,[["__scopeId","data-v-080d9f14"]]),te={},oe={viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ne(a,t){return e.openBlock(),e.createElementBlock("svg",oe,t[0]||(t[0]=[e.createElementVNode("circle",{cx:"17",cy:"17",r:"16.5"},null,-1),e.createElementVNode("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)]))}const le=s(te,[["render",ne],["__scopeId","data-v-f04662e9"]]);exports.AdjButton=I;exports.AdjHint=U;exports.AdjHintDesktop=y;exports.AdjIconButton=K;exports.AdjModal=M;exports.AdjSkeleton=ee;exports.AdjSkeletonItem=V;exports.AdjSvgActive=le;exports._export_sfc=s;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useWindowSize as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, openBlock as i, createElementBlock as s, normalizeClass as m, createCommentVNode as P, createElementVNode as n, toDisplayString as D, useCssVars as H, createVNode as B, Transition as W, withCtx as z, withDirectives as A, vShow as I, withModifiers as g, renderSlot as E, ref as r, useTemplateRef as N, normalizeStyle as Q, computed as V, Fragment as X, renderList as Y, createBlock as x } from "vue";
|
|
2
|
+
import { useWindowSize as tt, useMouseInElement as q } from "@vueuse/core";
|
|
3
|
+
const et = /* @__PURE__ */ f({
|
|
4
4
|
__name: "AdjButton",
|
|
5
5
|
props: {
|
|
6
6
|
title: {},
|
|
@@ -13,8 +13,8 @@ const tt = /* @__PURE__ */ p({
|
|
|
13
13
|
iconRight: { default: "" }
|
|
14
14
|
},
|
|
15
15
|
emits: ["click"],
|
|
16
|
-
setup(
|
|
17
|
-
return (t, e) => (
|
|
16
|
+
setup(l) {
|
|
17
|
+
return (t, e) => (i(), s("button", {
|
|
18
18
|
class: m(["adj-button", {
|
|
19
19
|
[`adj-button_${t.size}`]: !0,
|
|
20
20
|
[`adj-button_${t.design}`]: !0,
|
|
@@ -24,23 +24,23 @@ const tt = /* @__PURE__ */ p({
|
|
|
24
24
|
}]),
|
|
25
25
|
onClick: e[0] || (e[0] = (o) => t.disabled ? 0 : t.$emit("click"))
|
|
26
26
|
}, [
|
|
27
|
-
t.iconLeft ? (
|
|
27
|
+
t.iconLeft ? (i(), s("i", {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: m(t.iconLeft)
|
|
30
30
|
}, null, 2)) : P("", !0),
|
|
31
|
-
n("div", null,
|
|
32
|
-
t.iconRight ? (
|
|
31
|
+
n("div", null, D(t.title), 1),
|
|
32
|
+
t.iconRight ? (i(), s("i", {
|
|
33
33
|
key: 1,
|
|
34
34
|
class: m(t.iconRight)
|
|
35
35
|
}, null, 2)) : P("", !0)
|
|
36
36
|
], 2));
|
|
37
37
|
}
|
|
38
|
-
}), c = (
|
|
39
|
-
const e =
|
|
38
|
+
}), c = (l, t) => {
|
|
39
|
+
const e = l.__vccOpts || l;
|
|
40
40
|
for (const [o, a] of t)
|
|
41
41
|
e[o] = a;
|
|
42
42
|
return e;
|
|
43
|
-
},
|
|
43
|
+
}, yt = /* @__PURE__ */ c(et, [["__scopeId", "data-v-602b5e80"]]), ot = ["innerHTML"], at = /* @__PURE__ */ f({
|
|
44
44
|
__name: "AdjHintDesktop",
|
|
45
45
|
props: {
|
|
46
46
|
html: { default: "" },
|
|
@@ -49,10 +49,10 @@ const tt = /* @__PURE__ */ p({
|
|
|
49
49
|
dark: { type: Boolean, default: !1 },
|
|
50
50
|
width: { default: "200px" }
|
|
51
51
|
},
|
|
52
|
-
setup(
|
|
53
|
-
return
|
|
52
|
+
setup(l) {
|
|
53
|
+
return H((t) => ({
|
|
54
54
|
"7aca7e46": t.width
|
|
55
|
-
})), (t, e) => (
|
|
55
|
+
})), (t, e) => (i(), s("div", {
|
|
56
56
|
class: m([
|
|
57
57
|
"adj-hint-desktop",
|
|
58
58
|
{ "adj-hint-desktop_dark": t.dark },
|
|
@@ -63,7 +63,7 @@ const tt = /* @__PURE__ */ p({
|
|
|
63
63
|
n("div", {
|
|
64
64
|
class: "adj-hint-desktop__text",
|
|
65
65
|
innerHTML: t.html
|
|
66
|
-
}, null, 8,
|
|
66
|
+
}, null, 8, ot),
|
|
67
67
|
e[0] || (e[0] = n("svg", {
|
|
68
68
|
class: "adj-hint-desktop__triangle",
|
|
69
69
|
width: "14",
|
|
@@ -83,7 +83,7 @@ const tt = /* @__PURE__ */ p({
|
|
|
83
83
|
], -1))
|
|
84
84
|
], 2));
|
|
85
85
|
}
|
|
86
|
-
}),
|
|
86
|
+
}), nt = /* @__PURE__ */ c(at, [["__scopeId", "data-v-c37cada5"]]), it = { class: "adj-modal" }, lt = { class: "adj-modal_wrapper" }, st = /* @__PURE__ */ f({
|
|
87
87
|
__name: "AdjModal",
|
|
88
88
|
props: {
|
|
89
89
|
show: { type: Boolean },
|
|
@@ -91,15 +91,15 @@ const tt = /* @__PURE__ */ p({
|
|
|
91
91
|
hideClose: { type: Boolean, default: !1 }
|
|
92
92
|
},
|
|
93
93
|
emits: ["update:show"],
|
|
94
|
-
setup(
|
|
95
|
-
|
|
94
|
+
setup(l, { emit: t }) {
|
|
95
|
+
H((a) => ({
|
|
96
96
|
65069964: a.width
|
|
97
97
|
}));
|
|
98
98
|
const e = t;
|
|
99
99
|
function o() {
|
|
100
100
|
e("update:show", !1);
|
|
101
101
|
}
|
|
102
|
-
return (a, d) => (
|
|
102
|
+
return (a, d) => (i(), s("div", it, [
|
|
103
103
|
B(W, { name: "adj-fade" }, {
|
|
104
104
|
default: z(() => [
|
|
105
105
|
A(n("div", lt, d[1] || (d[1] = [
|
|
@@ -121,12 +121,12 @@ const tt = /* @__PURE__ */ p({
|
|
|
121
121
|
onClick: d[0] || (d[0] = g(() => {
|
|
122
122
|
}, ["stop"]))
|
|
123
123
|
}, [
|
|
124
|
-
a.hideClose ? P("", !0) : (
|
|
124
|
+
a.hideClose ? P("", !0) : (i(), s("div", {
|
|
125
125
|
key: 0,
|
|
126
126
|
class: "adj-modal__close icon-close",
|
|
127
127
|
onClick: g(o, ["stop"])
|
|
128
128
|
})),
|
|
129
|
-
|
|
129
|
+
E(a.$slots, "default", {}, void 0, !0)
|
|
130
130
|
])
|
|
131
131
|
], 512), [
|
|
132
132
|
[I, a.show]
|
|
@@ -136,7 +136,7 @@ const tt = /* @__PURE__ */ p({
|
|
|
136
136
|
})
|
|
137
137
|
]));
|
|
138
138
|
}
|
|
139
|
-
}),
|
|
139
|
+
}), dt = /* @__PURE__ */ c(st, [["__scopeId", "data-v-921de616"]]), ut = { class: "adj-hint" }, rt = ["innerHTML"], y = 14, $ = 14, ct = /* @__PURE__ */ f({
|
|
140
140
|
__name: "AdjHint",
|
|
141
141
|
props: {
|
|
142
142
|
html: { default: "" },
|
|
@@ -145,80 +145,80 @@ const tt = /* @__PURE__ */ p({
|
|
|
145
145
|
dark: { type: Boolean, default: !0 },
|
|
146
146
|
modalMode: { type: Boolean, default: !1 }
|
|
147
147
|
},
|
|
148
|
-
setup(
|
|
149
|
-
const t =
|
|
148
|
+
setup(l) {
|
|
149
|
+
const t = l, e = r(!1), o = r(!1), { width: a, height: d } = tt(), k = N("targetSlot"), S = N("targetHint"), v = r(0), j = r(0), { elementWidth: w, elementHeight: R } = q(k), b = r(0), M = r(80), { elementWidth: C, elementHeight: L } = q(S), p = r(t.horizontalPosition), h = r(t.verticalPosition);
|
|
150
150
|
let _ = 10 + $ / 2;
|
|
151
|
-
function V() {
|
|
152
|
-
(!t.modalMode || a.value >= 1200) && (Z(), U(), G(), e.value = !0);
|
|
153
|
-
}
|
|
154
151
|
function O() {
|
|
155
|
-
(!t.modalMode || a.value >= 1200) && (e.value = !
|
|
152
|
+
(!t.modalMode || a.value >= 1200) && (U(), G(), J(), e.value = !0);
|
|
156
153
|
}
|
|
157
154
|
function F() {
|
|
158
|
-
t.modalMode
|
|
155
|
+
(!t.modalMode || a.value >= 1200) && (e.value = !1);
|
|
159
156
|
}
|
|
160
157
|
function Z() {
|
|
161
|
-
|
|
162
|
-
const r = k.value.getBoundingClientRect();
|
|
163
|
-
v.value = r.left, j.value = r.top;
|
|
164
|
-
}
|
|
158
|
+
t.modalMode && a.value < 1200 && (o.value = !0);
|
|
165
159
|
}
|
|
166
160
|
function U() {
|
|
167
|
-
|
|
161
|
+
if (k.value !== null) {
|
|
162
|
+
const u = k.value.getBoundingClientRect();
|
|
163
|
+
v.value = u.left, j.value = u.top;
|
|
164
|
+
}
|
|
168
165
|
}
|
|
169
166
|
function G() {
|
|
170
|
-
t.dark && (_ = 15 + $ / 2),
|
|
167
|
+
t.dark && (_ = 15 + $ / 2), p.value = t.horizontalPosition, h.value = t.verticalPosition, t.horizontalPosition === "left" && v.value + w.value / 2 + _ - C.value < 0 ? p.value = "right" : t.horizontalPosition === "right" && v.value + w.value / 2 - _ + C.value > a.value && (p.value = "left"), t.verticalPosition === "top" && j.value - y - L.value < 0 ? h.value = "bottom" : t.verticalPosition === "bottom" && j.value + R.value + y + L.value > d.value && (h.value = "top");
|
|
168
|
+
}
|
|
169
|
+
function J() {
|
|
170
|
+
t.dark && (_ = 15 + $ / 2), p.value === "left" ? b.value = v.value + w.value / 2 + _ - C.value : p.value === "center" ? b.value = v.value + w.value / 2 - $ / 2 - C.value / 2 : p.value === "right" && (b.value = v.value + w.value / 2 - _), h.value == "top" ? M.value = j.value - y - L.value : h.value == "bottom" && (M.value = j.value + R.value + y);
|
|
171
171
|
}
|
|
172
|
-
return (
|
|
172
|
+
return (u, T) => (i(), s("div", ut, [
|
|
173
173
|
n("div", {
|
|
174
174
|
class: "adj-hint__slot",
|
|
175
|
-
onMouseenter: g(
|
|
176
|
-
onMouseleave: g(
|
|
177
|
-
onClick: g(
|
|
175
|
+
onMouseenter: g(O, ["stop"]),
|
|
176
|
+
onMouseleave: g(F, ["stop"]),
|
|
177
|
+
onClick: g(Z, ["stop"]),
|
|
178
178
|
ref_key: "targetSlot",
|
|
179
179
|
ref: k
|
|
180
180
|
}, [
|
|
181
|
-
|
|
181
|
+
E(u.$slots, "default", {}, void 0, !0)
|
|
182
182
|
], 544),
|
|
183
183
|
n("div", {
|
|
184
184
|
class: "adj-hint__hint",
|
|
185
|
-
style:
|
|
185
|
+
style: Q({
|
|
186
186
|
left: b.value + "px",
|
|
187
|
-
top:
|
|
187
|
+
top: M.value + "px",
|
|
188
188
|
visibility: e.value ? "visible" : "hidden"
|
|
189
189
|
}),
|
|
190
190
|
ref_key: "targetHint",
|
|
191
191
|
ref: S
|
|
192
192
|
}, [
|
|
193
|
-
A(B(
|
|
194
|
-
html:
|
|
195
|
-
horizontalPosition:
|
|
193
|
+
A(B(nt, {
|
|
194
|
+
html: u.html,
|
|
195
|
+
horizontalPosition: p.value,
|
|
196
196
|
verticalPosition: h.value,
|
|
197
|
-
dark:
|
|
197
|
+
dark: u.dark,
|
|
198
198
|
width: "252px"
|
|
199
199
|
}, null, 8, ["html", "horizontalPosition", "verticalPosition", "dark"]), [
|
|
200
|
-
[I,
|
|
200
|
+
[I, u.html !== ""]
|
|
201
201
|
])
|
|
202
202
|
], 4),
|
|
203
|
-
B(
|
|
203
|
+
B(dt, {
|
|
204
204
|
show: o.value,
|
|
205
|
-
"onUpdate:show": T[0] || (T[0] = (
|
|
205
|
+
"onUpdate:show": T[0] || (T[0] = (K) => o.value = K),
|
|
206
206
|
width: "430px"
|
|
207
207
|
}, {
|
|
208
208
|
default: z(() => [
|
|
209
209
|
n("div", {
|
|
210
210
|
class: "adj-hint__modal",
|
|
211
|
-
innerHTML:
|
|
212
|
-
}, null, 8,
|
|
211
|
+
innerHTML: u.html
|
|
212
|
+
}, null, 8, rt)
|
|
213
213
|
]),
|
|
214
214
|
_: 1
|
|
215
215
|
}, 8, ["show"])
|
|
216
216
|
]));
|
|
217
217
|
}
|
|
218
|
-
}),
|
|
218
|
+
}), $t = /* @__PURE__ */ c(ct, [["__scopeId", "data-v-4e4cccc0"]]), pt = {
|
|
219
219
|
key: 0,
|
|
220
220
|
class: "adj-icon-button__qty adj-text-12"
|
|
221
|
-
}, ft = /* @__PURE__ */
|
|
221
|
+
}, ft = /* @__PURE__ */ f({
|
|
222
222
|
__name: "AdjIconButton",
|
|
223
223
|
props: {
|
|
224
224
|
iconName: {},
|
|
@@ -228,8 +228,8 @@ const tt = /* @__PURE__ */ p({
|
|
|
228
228
|
disabled: { type: Boolean, default: !1 }
|
|
229
229
|
},
|
|
230
230
|
emits: ["click"],
|
|
231
|
-
setup(
|
|
232
|
-
return (t, e) => (
|
|
231
|
+
setup(l) {
|
|
232
|
+
return (t, e) => (i(), s("div", {
|
|
233
233
|
class: m(["adj-icon-button", {
|
|
234
234
|
[`adj-icon-button_${t.size}`]: !0,
|
|
235
235
|
[`adj-icon-button_${t.design}`]: !0,
|
|
@@ -240,10 +240,10 @@ const tt = /* @__PURE__ */ p({
|
|
|
240
240
|
n("i", {
|
|
241
241
|
class: m(["adj-icon-button__icon", t.iconName])
|
|
242
242
|
}, null, 2),
|
|
243
|
-
t.qty > 0 ? (
|
|
243
|
+
t.qty > 0 ? (i(), s("div", pt, D(t.qty), 1)) : P("", !0)
|
|
244
244
|
], 2));
|
|
245
245
|
}
|
|
246
|
-
}),
|
|
246
|
+
}), Pt = /* @__PURE__ */ c(ft, [["__scopeId", "data-v-bd9a4816"]]), vt = { class: "adj-skeleton-item" }, ht = /* @__PURE__ */ f({
|
|
247
247
|
__name: "AdjSkeletonItem",
|
|
248
248
|
props: {
|
|
249
249
|
width: { default: "100%" },
|
|
@@ -251,31 +251,31 @@ const tt = /* @__PURE__ */ p({
|
|
|
251
251
|
aspectRatio: { default: "unset" },
|
|
252
252
|
marginTop: { default: "0px" }
|
|
253
253
|
},
|
|
254
|
-
setup(
|
|
255
|
-
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
"
|
|
254
|
+
setup(l) {
|
|
255
|
+
H((o) => ({
|
|
256
|
+
"73b36252": o.width,
|
|
257
|
+
"5f18ed58": o.marginTop,
|
|
258
|
+
ac595bde: e.value,
|
|
259
|
+
"3656db94": o.height
|
|
260
260
|
}));
|
|
261
|
-
const t =
|
|
262
|
-
return (o, a) => (
|
|
261
|
+
const t = l, e = V(() => t.height !== "unset" ? "unset" : t.aspectRatio);
|
|
262
|
+
return (o, a) => (i(), s("div", vt));
|
|
263
263
|
}
|
|
264
|
-
}),
|
|
264
|
+
}), _t = /* @__PURE__ */ c(ht, [["__scopeId", "data-v-c6820958"]]), mt = { class: "adj-skeleton" }, gt = /* @__PURE__ */ f({
|
|
265
265
|
__name: "AdjSkeleton",
|
|
266
266
|
props: {
|
|
267
267
|
loaders: { default: () => [] },
|
|
268
268
|
width: { default: "100%" },
|
|
269
269
|
centered: { type: Boolean, default: !1 }
|
|
270
270
|
},
|
|
271
|
-
setup(
|
|
272
|
-
|
|
271
|
+
setup(l) {
|
|
272
|
+
H((o) => ({
|
|
273
273
|
c2e40cd4: e.value,
|
|
274
274
|
"019b6ab8": o.width
|
|
275
275
|
}));
|
|
276
|
-
const t =
|
|
277
|
-
return (o, a) => (
|
|
278
|
-
(
|
|
276
|
+
const t = l, e = V(() => t.centered ? "center" : "unset");
|
|
277
|
+
return (o, a) => (i(), s("div", mt, [
|
|
278
|
+
(i(!0), s(X, null, Y(o.loaders, (d) => (i(), x(_t, {
|
|
279
279
|
width: d.width,
|
|
280
280
|
height: d.height,
|
|
281
281
|
"aspect-ratio": d.aspectRatio,
|
|
@@ -283,13 +283,13 @@ const tt = /* @__PURE__ */ p({
|
|
|
283
283
|
}, null, 8, ["width", "height", "aspect-ratio", "margin-top"]))), 256))
|
|
284
284
|
]));
|
|
285
285
|
}
|
|
286
|
-
}),
|
|
286
|
+
}), Bt = /* @__PURE__ */ c(gt, [["__scopeId", "data-v-080d9f14"]]), jt = {}, wt = {
|
|
287
287
|
viewBox: "0 0 34 34",
|
|
288
288
|
fill: "none",
|
|
289
289
|
xmlns: "http://www.w3.org/2000/svg"
|
|
290
290
|
};
|
|
291
|
-
function
|
|
292
|
-
return
|
|
291
|
+
function kt(l, t) {
|
|
292
|
+
return i(), s("svg", wt, t[0] || (t[0] = [
|
|
293
293
|
n("circle", {
|
|
294
294
|
cx: "17",
|
|
295
295
|
cy: "17",
|
|
@@ -298,15 +298,15 @@ function wt(i, t) {
|
|
|
298
298
|
n("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)
|
|
299
299
|
]));
|
|
300
300
|
}
|
|
301
|
-
const
|
|
301
|
+
const Ht = /* @__PURE__ */ c(jt, [["render", kt], ["__scopeId", "data-v-f04662e9"]]);
|
|
302
302
|
export {
|
|
303
|
-
|
|
303
|
+
Pt as A,
|
|
304
304
|
c as _,
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
305
|
+
Ht as a,
|
|
306
|
+
Bt as b,
|
|
307
|
+
$t as c,
|
|
308
|
+
yt as d,
|
|
309
|
+
nt as e,
|
|
310
|
+
dt as f,
|
|
311
|
+
_t as g
|
|
312
312
|
};
|
|
@@ -25,5 +25,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
25
25
|
}>, {
|
|
26
26
|
items: IAdjFilterSelectItem[];
|
|
27
27
|
position: THorizontalPosition;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
|
+
target: HTMLDivElement;
|
|
30
|
+
}, any>;
|
|
29
31
|
export default _default;
|
|
@@ -38,7 +38,10 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
38
38
|
verticalPosition: TVerticalPosition;
|
|
39
39
|
dark: boolean;
|
|
40
40
|
modalMode: boolean;
|
|
41
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
42
|
+
targetSlot: HTMLDivElement;
|
|
43
|
+
targetHint: HTMLDivElement;
|
|
44
|
+
}, any>;
|
|
42
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
46
|
export default _default;
|
|
44
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -49,5 +49,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
49
49
|
items: IAdjSelectItem[];
|
|
50
50
|
comment: string;
|
|
51
51
|
showSearch: boolean;
|
|
52
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
53
|
+
target: HTMLDivElement;
|
|
54
|
+
targetInput: HTMLInputElement;
|
|
55
|
+
}, any>;
|
|
53
56
|
export default _default;
|
|
@@ -26,5 +26,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
26
26
|
design: "text" | "image" | "background";
|
|
27
27
|
items: IAdjSelectModernItem[];
|
|
28
28
|
position: THorizontalPosition;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
|
+
target: HTMLDivElement;
|
|
31
|
+
}, any>;
|
|
30
32
|
export default _default;
|
|
@@ -24,5 +24,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
24
24
|
}>, {
|
|
25
25
|
width: number;
|
|
26
26
|
height: number;
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
|
+
fileInput: HTMLInputElement;
|
|
29
|
+
}, any>;
|
|
28
30
|
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as AdjPersonalizitionConfigurator } from './AdjPersonalizitionConfigurator.vue';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
3
|
+
declare const meta: Meta<typeof AdjPersonalizitionConfigurator>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const LeftBottom: Story;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { TPersonalizationID } from '../../../misc/types';
|
|
2
|
+
import { IAdjPersonalizitionConfiguratorElementsItem } from '../elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsItem';
|
|
3
|
+
import { IAdjPersonalizitionConfiguratorElementsModel } from '../elements/AdjPersonalizitionConfiguratorElements/IAdjPersonalizitionConfiguratorElementsModel';
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
/** ID */
|
|
6
|
+
id: TPersonalizationID;
|
|
7
|
+
/** Название/заголовок */
|
|
8
|
+
name: string;
|
|
9
|
+
/** Заголовок кнопки Сохранить */
|
|
10
|
+
titleSave: string;
|
|
11
|
+
/** Заголовок кнопки Добавить... */
|
|
12
|
+
titleAdd: string;
|
|
13
|
+
/** Может ли быть несколько персонализаций */
|
|
14
|
+
multiple?: boolean;
|
|
15
|
+
/** Выбранный элемент */
|
|
16
|
+
activeModelAndItemId?: number;
|
|
17
|
+
/** Персонализации и модели */
|
|
18
|
+
modelsAndItems: {
|
|
19
|
+
items: IAdjPersonalizitionConfiguratorElementsItem[];
|
|
20
|
+
modelValue: IAdjPersonalizitionConfiguratorElementsModel;
|
|
21
|
+
}[];
|
|
22
|
+
/** Надпись при отсутствии файла для AdjUploadFile */
|
|
23
|
+
textUploadFile: string;
|
|
24
|
+
/** Надпись "Показать все" для AdjSelectImage */
|
|
25
|
+
expandTextAdjSelectImage: string;
|
|
26
|
+
/** Надпись "Свернуть" для AdjSelectImage */
|
|
27
|
+
foldTextAdjSelectImage: string;
|
|
28
|
+
/** Надпись "Название" для фильтра материалов AdjFilterSelect */
|
|
29
|
+
textAdjFilterSelect: string;
|
|
30
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
31
|
+
"update:modelValue": (idx: number, value: IAdjPersonalizitionConfiguratorElementsModel) => any;
|
|
32
|
+
clickClose: () => any;
|
|
33
|
+
clickSave: () => any;
|
|
34
|
+
clickAddPersonalization: () => any;
|
|
35
|
+
clickDeletePersonalization: (idx: number) => any;
|
|
36
|
+
"update:activeModelAndItemId": (idx: number) => any;
|
|
37
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
38
|
+
/** ID */
|
|
39
|
+
id: TPersonalizationID;
|
|
40
|
+
/** Название/заголовок */
|
|
41
|
+
name: string;
|
|
42
|
+
/** Заголовок кнопки Сохранить */
|
|
43
|
+
titleSave: string;
|
|
44
|
+
/** Заголовок кнопки Добавить... */
|
|
45
|
+
titleAdd: string;
|
|
46
|
+
/** Может ли быть несколько персонализаций */
|
|
47
|
+
multiple?: boolean;
|
|
48
|
+
/** Выбранный элемент */
|
|
49
|
+
activeModelAndItemId?: number;
|
|
50
|
+
/** Персонализации и модели */
|
|
51
|
+
modelsAndItems: {
|
|
52
|
+
items: IAdjPersonalizitionConfiguratorElementsItem[];
|
|
53
|
+
modelValue: IAdjPersonalizitionConfiguratorElementsModel;
|
|
54
|
+
}[];
|
|
55
|
+
/** Надпись при отсутствии файла для AdjUploadFile */
|
|
56
|
+
textUploadFile: string;
|
|
57
|
+
/** Надпись "Показать все" для AdjSelectImage */
|
|
58
|
+
expandTextAdjSelectImage: string;
|
|
59
|
+
/** Надпись "Свернуть" для AdjSelectImage */
|
|
60
|
+
foldTextAdjSelectImage: string;
|
|
61
|
+
/** Надпись "Название" для фильтра материалов AdjFilterSelect */
|
|
62
|
+
textAdjFilterSelect: string;
|
|
63
|
+
}> & Readonly<{
|
|
64
|
+
"onUpdate:modelValue"?: ((idx: number, value: IAdjPersonalizitionConfiguratorElementsModel) => any) | undefined;
|
|
65
|
+
onClickClose?: (() => any) | undefined;
|
|
66
|
+
onClickSave?: (() => any) | undefined;
|
|
67
|
+
onClickAddPersonalization?: (() => any) | undefined;
|
|
68
|
+
onClickDeletePersonalization?: ((idx: number) => any) | undefined;
|
|
69
|
+
"onUpdate:activeModelAndItemId"?: ((idx: number) => any) | undefined;
|
|
70
|
+
}>, {
|
|
71
|
+
multiple: boolean;
|
|
72
|
+
activeModelAndItemId: number;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
74
|
+
export default _default;
|
package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IAdjNavigatorWrapperActive } from './IAdjNavigatorWrapperActive';
|
|
2
1
|
import { IAdjNavigatorPassive } from '../AdjNavigatorItem/IAdjNavigatorPassive';
|
|
2
|
+
import { IAdjNavigatorWrapperActive } from './IAdjNavigatorWrapperActive';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<{
|
|
4
4
|
items: (IAdjNavigatorPassive | IAdjNavigatorWrapperActive)[];
|
|
5
5
|
/** Отображать надписи под квадратами */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as AdjPersonalizitionConfiguratorElements } from './AdjPersonalizitionConfiguratorElements.vue';
|
|
2
|
+
import { IAdjPersonalizitionConfiguratorElementsItem } from './IAdjPersonalizitionConfiguratorElementsItem';
|
|
3
|
+
import { IAdjPersonalizitionConfiguratorElementsModel } from './IAdjPersonalizitionConfiguratorElementsModel';
|
|
4
|
+
export declare const items: IAdjPersonalizitionConfiguratorElementsItem[];
|
|
5
|
+
export declare const modelValue: IAdjPersonalizitionConfiguratorElementsModel;
|
|
6
|
+
export declare const argsConfigurator: InstanceType<typeof AdjPersonalizitionConfiguratorElements>['$props'];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as AdjPersonalizitionConfiguratorElements } from './AdjPersonalizitionConfiguratorElements.vue';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
3
|
+
declare const meta: Meta<typeof AdjPersonalizitionConfiguratorElements>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const LeftBottom: Story;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IAdjPersonalizitionConfiguratorElementsModel } from './IAdjPersonalizitionConfiguratorElementsModel';
|
|
2
|
+
import { IAdjPersonalizitionConfiguratorElementsItem } from './IAdjPersonalizitionConfiguratorElementsItem';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
/** Массив ui-элементов */
|
|
5
|
+
items: IAdjPersonalizitionConfiguratorElementsItem[];
|
|
6
|
+
/** Выбранные значения */
|
|
7
|
+
modelValue: IAdjPersonalizitionConfiguratorElementsModel;
|
|
8
|
+
/** Надпись при отсутствии файла для AdjUploadFile */
|
|
9
|
+
textUploadFile: string;
|
|
10
|
+
/** Надпись "Показать все" для AdjSelectImage */
|
|
11
|
+
expandTextAdjSelectImage: string;
|
|
12
|
+
/** Надпись "Свернуть" для AdjSelectImage */
|
|
13
|
+
foldTextAdjSelectImage: string;
|
|
14
|
+
/** Надпись "Название" для фильтра материалов AdjFilterSelect */
|
|
15
|
+
textAdjFilterSelect: string;
|
|
16
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (value: IAdjPersonalizitionConfiguratorElementsModel) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
19
|
+
/** Массив ui-элементов */
|
|
20
|
+
items: IAdjPersonalizitionConfiguratorElementsItem[];
|
|
21
|
+
/** Выбранные значения */
|
|
22
|
+
modelValue: IAdjPersonalizitionConfiguratorElementsModel;
|
|
23
|
+
/** Надпись при отсутствии файла для AdjUploadFile */
|
|
24
|
+
textUploadFile: string;
|
|
25
|
+
/** Надпись "Показать все" для AdjSelectImage */
|
|
26
|
+
expandTextAdjSelectImage: string;
|
|
27
|
+
/** Надпись "Свернуть" для AdjSelectImage */
|
|
28
|
+
foldTextAdjSelectImage: string;
|
|
29
|
+
/** Надпись "Название" для фильтра материалов AdjFilterSelect */
|
|
30
|
+
textAdjFilterSelect: string;
|
|
31
|
+
}> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((value: IAdjPersonalizitionConfiguratorElementsModel) => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TPersonalizationTemplate } from '../../../../misc/types';
|
|
2
|
+
import { TAdjPersonalizitionConfiguratorElementsValue } from './TAdjPersonalizitionConfiguratorElementsValue';
|
|
3
|
+
export interface IAdjPersonalizitionConfiguratorElementsItem {
|
|
4
|
+
/** ID */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Название/заголовок */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Шаблон */
|
|
9
|
+
template: TPersonalizationTemplate;
|
|
10
|
+
/** Порядок сортировки */
|
|
11
|
+
sort: number;
|
|
12
|
+
/** Прятать ли разделитель */
|
|
13
|
+
hideHr?: boolean;
|
|
14
|
+
/** Использовать ли фильтр */
|
|
15
|
+
useFilter?: boolean;
|
|
16
|
+
/** Значения персонализации */
|
|
17
|
+
values: TAdjPersonalizitionConfiguratorElementsValue[];
|
|
18
|
+
}
|