@poni/adjutant-ui 0.0.101 → 0.0.102
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-_jf_nXsW.js +312 -0
- package/dist/AdjSvgActive-q5vUaXKl.cjs +1 -0
- package/dist/components/AdjButton/AdjButton.mock.d.ts +2 -2
- package/dist/components/AdjButton/AdjButton.vue.d.ts +43 -43
- package/dist/components/AdjButtonCheckbox/AdjButtonCheckbox.mock.d.ts +2 -2
- package/dist/components/AdjButtonCheckbox/AdjButtonCheckbox.vue.d.ts +19 -29
- package/dist/components/AdjCheckbox/AdjCheckbox.mock.d.ts +3 -3
- package/dist/components/AdjCheckbox/AdjCheckbox.vue.d.ts +36 -45
- package/dist/components/AdjCheckbox/IAdjCheckboxItem.d.ts +3 -0
- package/dist/components/AdjDownloadLink/AdjDownloadLink.mock.d.ts +2 -2
- package/dist/components/AdjDownloadLink/AdjDownloadLink.vue.d.ts +11 -19
- package/dist/components/AdjDropdownLink/AdjDropdownLink.mock.d.ts +2 -2
- package/dist/components/AdjDropdownLink/AdjDropdownLink.vue.d.ts +17 -19
- package/dist/components/AdjFilterCheckbox/AdjFilterCheckbox.mock.d.ts +2 -2
- package/dist/components/AdjFilterCheckbox/AdjFilterCheckbox.vue.d.ts +15 -27
- package/dist/components/AdjFilterSelect/AdjFilterSelect.mock.d.ts +2 -2
- package/dist/components/AdjFilterSelect/AdjFilterSelect.vue.d.ts +25 -30
- package/dist/components/AdjFilters/AdjFilters.mock.d.ts +2 -2
- package/dist/components/AdjFilters/AdjFilters.vue.d.ts +11 -22
- package/dist/components/AdjFilters/IAdjFiltersItem.d.ts +3 -2
- package/dist/components/AdjFiltersMobile/AdjFiltersMobile.mock.d.ts +2 -2
- package/dist/components/AdjFiltersMobile/AdjFiltersMobile.vue.d.ts +28 -27
- package/dist/components/AdjFiltersMobile/IAdjFiltersMobileItem.d.ts +2 -1
- package/dist/components/AdjHint/AdjHint.mock.d.ts +7 -4
- package/dist/components/AdjHint/AdjHint.stories.d.ts +6 -3
- package/dist/components/AdjHint/AdjHint.vue.d.ts +41 -33
- package/dist/components/AdjHintDesktop/AdjHintDesktop.mock.d.ts +4 -0
- package/dist/components/AdjHintDesktop/AdjHintDesktop.stories.d.ts +8 -0
- package/dist/components/AdjHintDesktop/AdjHintDesktop.vue.d.ts +31 -0
- package/dist/components/AdjIcon/AdjIcon.mock.d.ts +2 -2
- package/dist/components/AdjIcon/AdjIcon.vue.d.ts +35 -31
- package/dist/components/AdjIconButton/AdjIconButton.mock.d.ts +5 -5
- package/dist/components/AdjIconButton/AdjIconButton.vue.d.ts +28 -33
- package/dist/components/AdjIconButtonText/AdjIconButtonText.mock.d.ts +2 -2
- package/dist/components/AdjIconButtonText/AdjIconButtonText.vue.d.ts +24 -27
- package/dist/components/AdjImageButton/AdjImageButton.mock.d.ts +2 -2
- package/dist/components/AdjImageButton/AdjImageButton.vue.d.ts +13 -27
- package/dist/components/AdjInput/AdjInput.mock.d.ts +3 -3
- package/dist/components/AdjInput/AdjInput.vue.d.ts +47 -45
- package/dist/components/AdjInputModern/AdjInputModern.mock.d.ts +2 -2
- package/dist/components/AdjInputModern/AdjInputModern.vue.d.ts +23 -33
- package/dist/components/AdjInputNumber/AdjInputNumber.mock.d.ts +2 -2
- package/dist/components/AdjInputNumber/AdjInputNumber.vue.d.ts +27 -35
- package/dist/components/AdjModal/AdjModal.mock.d.ts +3 -3
- package/dist/components/AdjModal/AdjModal.vue.d.ts +25 -30
- package/dist/components/AdjRadio/AdjRadio.mock.d.ts +3 -3
- package/dist/components/AdjRadio/AdjRadio.vue.d.ts +24 -32
- package/dist/components/AdjRadio/IAdjRadioItem.d.ts +2 -2
- package/dist/components/AdjScroll/AdjScroll.mock.d.ts +2 -2
- package/dist/components/AdjScroll/AdjScroll.vue.d.ts +19 -28
- package/dist/components/AdjSelect/AdjSelect.mock.d.ts +3 -3
- package/dist/components/AdjSelect/AdjSelect.vue.d.ts +41 -40
- package/dist/components/AdjSelect/IAdjSelectItem.d.ts +1 -1
- package/dist/components/AdjSelectImage/AdjSelectImage.mock.d.ts +3 -2
- package/dist/components/AdjSelectImage/AdjSelectImage.stories.d.ts +2 -1
- package/dist/components/AdjSelectImage/AdjSelectImage.vue.d.ts +35 -31
- package/dist/components/AdjSelectImage/IAdjSelectImageItem.d.ts +6 -3
- package/dist/components/AdjSelectModern/AdjSelectModern.mock.d.ts +4 -0
- package/dist/components/AdjSelectModern/AdjSelectModern.stories.d.ts +8 -0
- package/dist/components/AdjSelectModern/AdjSelectModern.vue.d.ts +30 -0
- package/dist/components/AdjSelectModern/IAdjSelectModernItem.d.ts +6 -0
- package/dist/components/AdjSkeleton/AdjSkeleton.mock.d.ts +5 -5
- package/dist/components/AdjSkeleton/AdjSkeleton.vue.d.ts +18 -29
- package/dist/components/AdjSkeletonItem/AdjSkeletonItem.mock.d.ts +2 -2
- package/dist/components/AdjSkeletonItem/AdjSkeletonItem.vue.d.ts +20 -30
- package/dist/components/AdjSliderButton/AdjSliderButton.mock.d.ts +2 -2
- package/dist/components/AdjSliderButton/AdjSliderButton.vue.d.ts +15 -27
- package/dist/components/AdjSvg/AdjSvgActive.vue.d.ts +1 -1
- package/dist/components/AdjSvg/AdjSvgEdit.vue.d.ts +1 -1
- package/dist/components/AdjSvg/AdjSvgFly.vue.d.ts +1 -1
- package/dist/components/AdjSvg/AdjSvgYoutube.vue.d.ts +1 -1
- package/dist/components/AdjTabs/AdjTabs.mock.d.ts +2 -2
- package/dist/components/AdjTabs/AdjTabs.vue.d.ts +15 -27
- package/dist/components/AdjTabs/IAdjTabsItem.d.ts +2 -2
- package/dist/components/AdjUploadFile/AdjUploadFile.mock.d.ts +2 -2
- package/dist/components/AdjUploadFile/AdjUploadFile.vue.d.ts +27 -29
- package/dist/components/AdjUploadFile/IAdjUploadFileItem.d.ts +3 -0
- package/dist/components/constructor/AdjBlocks/AdjBlocks.mock.d.ts +2 -2
- package/dist/components/constructor/AdjBlocks/AdjBlocks.vue.d.ts +25 -32
- package/dist/components/constructor/AdjLaminates/AdjLaminates.mock.d.ts +2 -2
- package/dist/components/constructor/AdjLaminates/AdjLaminates.vue.d.ts +21 -28
- package/dist/components/constructor/AdjMaterials/AdjMaterials.mock.d.ts +2 -2
- package/dist/components/constructor/AdjMaterials/AdjMaterials.vue.d.ts +23 -30
- package/dist/components/constructor/AdjModels/AdjModels.mock.d.ts +2 -2
- package/dist/components/constructor/AdjModels/AdjModels.vue.d.ts +25 -30
- package/dist/components/constructor/AdjNavigator/AdjNavigator.mock.d.ts +6 -6
- package/dist/components/constructor/AdjNavigator/AdjNavigator.vue.d.ts +19 -30
- package/dist/components/constructor/AdjNavigator/IAdjNavigatorItem.d.ts +2 -2
- package/dist/components/constructor/AdjPersonalizations/AdjPersonalizations.mock.d.ts +2 -2
- package/dist/components/constructor/AdjPersonalizations/AdjPersonalizations.vue.d.ts +25 -31
- package/dist/components/constructor/AdjPricebar/AdjPricebar.mock.d.ts +2 -2
- package/dist/components/constructor/AdjPricebar/AdjPricebar.vue.d.ts +66 -22
- package/dist/components/constructor/AdjProducts/AdjProducts.mock.d.ts +3 -3
- package/dist/components/constructor/AdjProducts/AdjProducts.vue.d.ts +21 -30
- package/dist/components/constructor/AdjStitchings/AdjStitchings.mock.d.ts +2 -2
- package/dist/components/constructor/AdjStitchings/AdjStitchings.vue.d.ts +22 -28
- package/dist/components/constructor/elements/AdjCoverGroupItem/AdjCoverGroupItem.mock.d.ts +3 -3
- package/dist/components/constructor/elements/AdjCoverGroupItem/AdjCoverGroupItem.vue.d.ts +25 -31
- package/dist/components/constructor/elements/AdjCoverItem/AdjCoverItem.mock.d.ts +3 -3
- package/dist/components/constructor/elements/AdjCoverItem/AdjCoverItem.vue.d.ts +55 -42
- package/dist/components/constructor/{AdjModels/IAdjModelsItem.d.ts → elements/AdjCoverItem/IAdjCoverItem.d.ts} +1 -1
- package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.mock.d.ts +5 -5
- package/dist/components/constructor/elements/AdjImageItem/AdjImageItem.vue.d.ts +87 -61
- package/dist/components/constructor/elements/AdjNavigatorItem/AdjNavigatorItem.mock.d.ts +3 -3
- package/dist/components/constructor/elements/AdjNavigatorItem/AdjNavigatorItem.vue.d.ts +6 -37
- package/dist/components/constructor/elements/AdjNavigatorItem/{IAdjNavigatorItemProps.d.ts → IAdjNavigatorPassive.d.ts} +1 -1
- package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.mock.d.ts +6 -6
- package/dist/components/constructor/elements/AdjNavigatorWrapper/AdjNavigatorWrapper.vue.d.ts +20 -31
- package/dist/components/constructor/elements/AdjPricebarWrapper/AdjPricebarWrapper.mock.d.ts +2 -2
- package/dist/components/constructor/elements/AdjPricebarWrapper/AdjPricebarWrapper.vue.d.ts +13 -22
- package/dist/components.cjs +1 -1
- package/dist/components.js +492 -473
- package/dist/constructor.cjs +1 -1
- package/dist/constructor.js +181 -174
- package/dist/misc/types.d.ts +18 -0
- package/dist/plugin/components.d.ts +3 -4
- package/dist/plugin/types.d.ts +7 -2
- package/dist/style.css +1 -1
- package/dist/vars.scss +15 -96
- package/package.json +23 -23
- package/dist/AdjSvgActive-BdMqG9Kf.js +0 -310
- package/dist/AdjSvgActive-nVSqyC5q.cjs +0 -1
- package/dist/components/AdjButton/IAdjButtonEmits.d.ts +0 -4
- package/dist/components/AdjButton/IAdjButtonProps.d.ts +0 -18
- package/dist/components/AdjButtonCheckbox/IAdjButtonCheckboxEmits.d.ts +0 -4
- package/dist/components/AdjButtonCheckbox/IAdjButtonCheckboxProps.d.ts +0 -8
- package/dist/components/AdjCheckbox/IAdjCheckboxEmits.d.ts +0 -6
- package/dist/components/AdjCheckbox/IAdjCheckboxProps.d.ts +0 -19
- package/dist/components/AdjDownloadLink/IAdjDownloadLinkProps.d.ts +0 -6
- package/dist/components/AdjDropdownLink/IAdjDropdownLinkProps.d.ts +0 -9
- package/dist/components/AdjFilterCheckbox/IAdjFilterCheckboxEmits.d.ts +0 -4
- package/dist/components/AdjFilterCheckbox/IAdjFilterCheckboxProps.d.ts +0 -6
- package/dist/components/AdjFilterSelect/IAdjFilterSelectEmits.d.ts +0 -4
- package/dist/components/AdjFilterSelect/IAdjFilterSelectProps.d.ts +0 -11
- package/dist/components/AdjFilters/IAdjFiltersEmits.d.ts +0 -4
- package/dist/components/AdjFilters/IAdjFiltersProps.d.ts +0 -6
- package/dist/components/AdjFiltersMobile/IAdjFiltersMobileEmits.d.ts +0 -4
- package/dist/components/AdjFiltersMobile/IAdjFiltersMobileProps.d.ts +0 -14
- package/dist/components/AdjHint/IAdjHintProps.d.ts +0 -13
- package/dist/components/AdjHintWrapper/AdjHintWrapper.mock.d.ts +0 -7
- package/dist/components/AdjHintWrapper/AdjHintWrapper.stories.d.ts +0 -11
- package/dist/components/AdjHintWrapper/AdjHintWrapper.vue.d.ts +0 -48
- package/dist/components/AdjHintWrapper/IAdjHintWrapperProps.d.ts +0 -13
- package/dist/components/AdjIcon/IAdjIconProps.d.ts +0 -13
- package/dist/components/AdjIconButton/IAdjIconButtonEmits.d.ts +0 -4
- package/dist/components/AdjIconButton/IAdjIconButtonProps.d.ts +0 -12
- package/dist/components/AdjIconButtonText/IAdjIconButtonTextEmits.d.ts +0 -4
- package/dist/components/AdjIconButtonText/IAdjIconButtonTextProps.d.ts +0 -10
- package/dist/components/AdjImageButton/IAdjImageButtonProps.d.ts +0 -6
- package/dist/components/AdjInput/IAdjInputEmits.d.ts +0 -4
- package/dist/components/AdjInput/IAdjInputProps.d.ts +0 -22
- package/dist/components/AdjInputModern/IAdjInputModernEmits.d.ts +0 -4
- package/dist/components/AdjInputModern/IAdjInputModernProps.d.ts +0 -10
- package/dist/components/AdjInputNumber/IAdjInputNumberEmits.d.ts +0 -4
- package/dist/components/AdjInputNumber/IAdjInputNumberProps.d.ts +0 -12
- package/dist/components/AdjModal/IAdjModalEmits.d.ts +0 -4
- package/dist/components/AdjModal/IAdjModalProps.d.ts +0 -6
- package/dist/components/AdjRadio/IAdjRadioEmits.d.ts +0 -5
- package/dist/components/AdjRadio/IAdjRadioProps.d.ts +0 -11
- package/dist/components/AdjScroll/IAdjScrollProps.d.ts +0 -6
- package/dist/components/AdjSelect/IAdjSelectEmits.d.ts +0 -5
- package/dist/components/AdjSelect/IAdjSelectProps.d.ts +0 -21
- package/dist/components/AdjSelectImage/IAdjSelectImageEmits.d.ts +0 -4
- package/dist/components/AdjSelectImage/IAdjSelectImageProps.d.ts +0 -9
- package/dist/components/AdjSelectRound/AdjSelectRound.mock.d.ts +0 -2
- package/dist/components/AdjSelectRound/AdjSelectRound.stories.d.ts +0 -6
- package/dist/components/AdjSelectRound/AdjSelectRound.vue.d.ts +0 -34
- package/dist/components/AdjSelectRound/IAdjSelectRoundEmits.d.ts +0 -4
- package/dist/components/AdjSelectRound/IAdjSelectRoundItem.d.ts +0 -4
- package/dist/components/AdjSelectRound/IAdjSelectRoundProps.d.ts +0 -9
- package/dist/components/AdjSkeleton/IAdjSkeletonProps.d.ts +0 -9
- package/dist/components/AdjSkeletonItem/IAdjSkeletonItemProps.d.ts +0 -10
- package/dist/components/AdjSliderButton/IAdjSliderButtonEmits.d.ts +0 -4
- package/dist/components/AdjSliderButton/IAdjSliderButtonProps.d.ts +0 -6
- package/dist/components/AdjTabs/IAdjTabsEmits.d.ts +0 -5
- package/dist/components/AdjTabs/IAdjTabsProps.d.ts +0 -7
- package/dist/components/AdjUploadFile/IAdjUploadFileEmits.d.ts +0 -4
- package/dist/components/AdjUploadFile/IAdjUploadFileProps.d.ts +0 -4
- package/dist/components/constructor/AdjBlocks/IAdjBlocksEmits.d.ts +0 -9
- package/dist/components/constructor/AdjBlocks/IAdjBlocksProps.d.ts +0 -9
- package/dist/components/constructor/AdjLaminates/IAdjLaminatesEmits.d.ts +0 -5
- package/dist/components/constructor/AdjLaminates/IAdjLaminatesProps.d.ts +0 -9
- package/dist/components/constructor/AdjMaterials/IAdjMaterialsEmits.d.ts +0 -7
- package/dist/components/constructor/AdjMaterials/IAdjMaterialsProps.d.ts +0 -9
- package/dist/components/constructor/AdjModels/IAdjModelsEmits.d.ts +0 -5
- package/dist/components/constructor/AdjModels/IAdjModelsProps.d.ts +0 -11
- package/dist/components/constructor/AdjNavigator/IAdjNavigatorEmits.d.ts +0 -5
- package/dist/components/constructor/AdjNavigator/IAdjNavigatorProps.d.ts +0 -8
- package/dist/components/constructor/AdjPersonalizations/IAdjPersonalizationsEmits.d.ts +0 -9
- package/dist/components/constructor/AdjPersonalizations/IAdjPersonalizationsProps.d.ts +0 -11
- package/dist/components/constructor/AdjPricebar/IAdjPricebarEmits.d.ts +0 -4
- package/dist/components/constructor/AdjPricebar/IAdjPricebarProps.d.ts +0 -32
- package/dist/components/constructor/AdjProducts/IAdjProductsEmits.d.ts +0 -5
- package/dist/components/constructor/AdjProducts/IAdjProductsProps.d.ts +0 -9
- package/dist/components/constructor/AdjStitchings/IAdjStitchingsEmits.d.ts +0 -5
- package/dist/components/constructor/AdjStitchings/IAdjStitchingsProps.d.ts +0 -10
- package/dist/components/constructor/elements/AdjCoverGroupItem/IAdjCoverGroupItemEmits.d.ts +0 -5
- package/dist/components/constructor/elements/AdjCoverGroupItem/IAdjCoverGroupItemProps.d.ts +0 -11
- package/dist/components/constructor/elements/AdjCoverItem/IAdjCoverItemEmits.d.ts +0 -7
- package/dist/components/constructor/elements/AdjCoverItem/IAdjCoverItemProps.d.ts +0 -25
- package/dist/components/constructor/elements/AdjImageItem/IAdjImageItemEmits.d.ts +0 -12
- package/dist/components/constructor/elements/AdjImageItem/IAdjImageItemProps.d.ts +0 -40
- package/dist/components/constructor/elements/AdjNavigatorItem/IAdjNavigatorItemEmits.d.ts +0 -4
- package/dist/components/constructor/elements/AdjNavigatorWrapper/IAdjAdjNavigatorWrapperEmits.d.ts +0 -5
- package/dist/components/constructor/elements/AdjNavigatorWrapper/IAdjNavigatorWrapperProps.d.ts +0 -9
- package/dist/components/constructor/elements/AdjPricebarWrapper/IAdjPricebarWrapperEmits.d.ts +0 -4
- package/dist/components/constructor/elements/AdjPricebarWrapper/IAdjPricebarWrapperProps.d.ts +0 -6
- package/dist/misc/TPosition.d.ts +0 -4
- package/dist/misc/iconNameOptions.d.ts +0 -1
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, openBlock as l, createElementBlock as s, normalizeClass as m, createCommentVNode as I, createElementVNode as i, toDisplayString as V, useCssVars as M, pushScopeId as A, popScopeId as R, createVNode as P, Transition as q, withCtx as L, withDirectives as S, vShow as z, withModifiers as w, renderSlot as O, ref as d, normalizeStyle as Y, computed as D, Fragment as x, renderList as tt, createBlock as et } from "vue";
|
|
2
|
-
import { useWindowSize as ot, useMouseInElement as E } from "@vueuse/core";
|
|
3
|
-
const at = /* @__PURE__ */ p({
|
|
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(e) {
|
|
17
|
-
return (t, o) => (l(), s("button", {
|
|
18
|
-
class: m(["adj-button", {
|
|
19
|
-
[`adj-button_${t.size}`]: !0,
|
|
20
|
-
[`adj-button_${t.design}`]: !0,
|
|
21
|
-
"adj-button_disabled": t.disabled,
|
|
22
|
-
"adj-button_flex": t.flex,
|
|
23
|
-
"adj-button_round": t.round
|
|
24
|
-
}]),
|
|
25
|
-
onClick: o[0] || (o[0] = (a) => t.disabled ? 0 : t.$emit("click"))
|
|
26
|
-
}, [
|
|
27
|
-
t.iconLeft ? (l(), s("i", {
|
|
28
|
-
key: 0,
|
|
29
|
-
class: m(t.iconLeft)
|
|
30
|
-
}, null, 2)) : I("", !0),
|
|
31
|
-
i("div", null, V(t.title), 1),
|
|
32
|
-
t.iconRight ? (l(), s("i", {
|
|
33
|
-
key: 1,
|
|
34
|
-
class: m(t.iconRight)
|
|
35
|
-
}, null, 2)) : I("", !0)
|
|
36
|
-
], 2));
|
|
37
|
-
}
|
|
38
|
-
}), c = (e, t) => {
|
|
39
|
-
const o = e.__vccOpts || e;
|
|
40
|
-
for (const [a, n] of t)
|
|
41
|
-
o[a] = n;
|
|
42
|
-
return o;
|
|
43
|
-
}, At = /* @__PURE__ */ c(at, [["__scopeId", "data-v-08e5f4ad"]]), it = (e) => (A("data-v-e943fafd"), e = e(), R(), e), nt = ["innerHTML"], lt = /* @__PURE__ */ it(() => /* @__PURE__ */ i("svg", {
|
|
44
|
-
class: "adj-hint__triangle",
|
|
45
|
-
width: "14",
|
|
46
|
-
height: "14",
|
|
47
|
-
viewBox: "0 0 14 14",
|
|
48
|
-
fill: "none",
|
|
49
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
50
|
-
}, [
|
|
51
|
-
/* @__PURE__ */ i("path", {
|
|
52
|
-
class: "adj-hint__triangle_inner",
|
|
53
|
-
d: "M13 13L7 2L1 13H13Z"
|
|
54
|
-
}),
|
|
55
|
-
/* @__PURE__ */ i("path", {
|
|
56
|
-
class: "adj-hint__triangle_border",
|
|
57
|
-
d: "M13 13L7 2L1 13"
|
|
58
|
-
})
|
|
59
|
-
], -1)), st = /* @__PURE__ */ p({
|
|
60
|
-
__name: "AdjHint",
|
|
61
|
-
props: {
|
|
62
|
-
html: { default: "" },
|
|
63
|
-
horizontalPosition: { default: "left" },
|
|
64
|
-
verticalPosition: { default: "top" },
|
|
65
|
-
dark: { type: Boolean, default: !1 },
|
|
66
|
-
width: { default: "200px" }
|
|
67
|
-
},
|
|
68
|
-
setup(e) {
|
|
69
|
-
return M((t) => ({
|
|
70
|
-
"47bcf1e4": t.width
|
|
71
|
-
})), (t, o) => (l(), s("div", {
|
|
72
|
-
class: m([
|
|
73
|
-
"adj-hint",
|
|
74
|
-
{ "adj-hint_dark": t.dark },
|
|
75
|
-
`adj-hint_${t.verticalPosition}`,
|
|
76
|
-
`adj-hint_${t.horizontalPosition}`
|
|
77
|
-
])
|
|
78
|
-
}, [
|
|
79
|
-
i("div", {
|
|
80
|
-
class: "adj-hint__text",
|
|
81
|
-
innerHTML: t.html
|
|
82
|
-
}, null, 8, nt),
|
|
83
|
-
lt
|
|
84
|
-
], 2));
|
|
85
|
-
}
|
|
86
|
-
}), dt = /* @__PURE__ */ c(st, [["__scopeId", "data-v-e943fafd"]]), ut = (e) => (A("data-v-71450429"), e = e(), R(), e), rt = { class: "adj-modal" }, ct = { class: "adj-modal_wrapper" }, ft = /* @__PURE__ */ ut(() => /* @__PURE__ */ i("div", { class: "adj-modal__background" }, null, -1)), pt = [
|
|
87
|
-
ft
|
|
88
|
-
], ht = /* @__PURE__ */ p({
|
|
89
|
-
__name: "AdjModal",
|
|
90
|
-
props: {
|
|
91
|
-
show: { type: Boolean, default: !1 },
|
|
92
|
-
width: { default: "100%" }
|
|
93
|
-
},
|
|
94
|
-
emits: ["update:show"],
|
|
95
|
-
setup(e, { emit: t }) {
|
|
96
|
-
M((n) => ({
|
|
97
|
-
f3e276ac: n.width
|
|
98
|
-
}));
|
|
99
|
-
const o = t;
|
|
100
|
-
function a() {
|
|
101
|
-
o("update:show", !1);
|
|
102
|
-
}
|
|
103
|
-
return (n, u) => (l(), s("div", rt, [
|
|
104
|
-
P(q, { name: "adj-fade" }, {
|
|
105
|
-
default: L(() => [
|
|
106
|
-
S(i("div", ct, pt, 512), [
|
|
107
|
-
[z, n.show]
|
|
108
|
-
])
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
}),
|
|
112
|
-
P(q, { name: "adj-popup-bottom" }, {
|
|
113
|
-
default: L(() => [
|
|
114
|
-
S(i("div", {
|
|
115
|
-
class: "adj-modal_wrapper",
|
|
116
|
-
onClick: w(a, ["stop"])
|
|
117
|
-
}, [
|
|
118
|
-
i("div", {
|
|
119
|
-
class: "adj-modal__window",
|
|
120
|
-
onClick: u[0] || (u[0] = w(() => {
|
|
121
|
-
}, ["stop"]))
|
|
122
|
-
}, [
|
|
123
|
-
i("div", {
|
|
124
|
-
class: "adj-modal__close icon-close",
|
|
125
|
-
onClick: w(a, ["stop"])
|
|
126
|
-
}),
|
|
127
|
-
O(n.$slots, "default", {}, void 0, !0)
|
|
128
|
-
])
|
|
129
|
-
], 512), [
|
|
130
|
-
[z, n.show]
|
|
131
|
-
])
|
|
132
|
-
]),
|
|
133
|
-
_: 3
|
|
134
|
-
})
|
|
135
|
-
]));
|
|
136
|
-
}
|
|
137
|
-
}), vt = /* @__PURE__ */ c(ht, [["__scopeId", "data-v-71450429"]]), _t = { class: "adj-hint-wrapper" }, mt = ["innerHTML"], $ = 14, y = 14, wt = /* @__PURE__ */ p({
|
|
138
|
-
__name: "AdjHintWrapper",
|
|
139
|
-
props: {
|
|
140
|
-
html: { default: "" },
|
|
141
|
-
horizontalPosition: { default: "left" },
|
|
142
|
-
verticalPosition: { default: "bottom" },
|
|
143
|
-
dark: { type: Boolean, default: !0 },
|
|
144
|
-
modalMode: { type: Boolean, default: !1 }
|
|
145
|
-
},
|
|
146
|
-
setup(e) {
|
|
147
|
-
const t = e, o = d(!1), a = d(!1), { width: n, height: u } = ot(), b = d(null), T = d(null), h = d(0), g = d(0), { elementWidth: j, elementHeight: W } = E(b), k = d(0), B = d(80), { elementWidth: C, elementHeight: H } = E(T), f = d(t.horizontalPosition), v = d(t.verticalPosition);
|
|
148
|
-
let _ = 10 + y / 2;
|
|
149
|
-
function Z() {
|
|
150
|
-
(!t.modalMode || n.value >= 1200) && (J(), K(), Q(), o.value = !0);
|
|
151
|
-
}
|
|
152
|
-
function U() {
|
|
153
|
-
(!t.modalMode || n.value >= 1200) && (o.value = !1);
|
|
154
|
-
}
|
|
155
|
-
function G() {
|
|
156
|
-
t.modalMode && n.value < 1200 && (a.value = !0);
|
|
157
|
-
}
|
|
158
|
-
function J() {
|
|
159
|
-
if (b.value !== null) {
|
|
160
|
-
const r = b.value.getBoundingClientRect();
|
|
161
|
-
h.value = r.left, g.value = r.top;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
function K() {
|
|
165
|
-
t.dark && (_ = 15 + y / 2), f.value = t.horizontalPosition, v.value = t.verticalPosition, t.horizontalPosition === "left" && h.value + j.value / 2 + _ - C.value < 0 ? f.value = "right" : t.horizontalPosition === "right" && h.value + j.value / 2 - _ + C.value > n.value && (f.value = "left"), t.verticalPosition === "top" && g.value - $ - H.value < 0 ? v.value = "bottom" : t.verticalPosition === "bottom" && g.value + W.value + $ + H.value > u.value && (v.value = "top");
|
|
166
|
-
}
|
|
167
|
-
function Q() {
|
|
168
|
-
t.dark && (_ = 15 + y / 2), f.value === "left" ? k.value = h.value + j.value / 2 + _ - C.value : f.value === "center" ? k.value = h.value + j.value / 2 - y / 2 - C.value / 2 : f.value === "right" && (k.value = h.value + j.value / 2 - _), v.value == "top" ? B.value = g.value - $ - H.value : v.value == "bottom" && (B.value = g.value + W.value + $);
|
|
169
|
-
}
|
|
170
|
-
return (r, N) => (l(), s("div", _t, [
|
|
171
|
-
i("div", {
|
|
172
|
-
class: "adj-hint-wrapper__slot",
|
|
173
|
-
onMouseenter: w(Z, ["stop"]),
|
|
174
|
-
onMouseleave: w(U, ["stop"]),
|
|
175
|
-
onClick: w(G, ["stop"]),
|
|
176
|
-
ref_key: "targetSlot",
|
|
177
|
-
ref: b
|
|
178
|
-
}, [
|
|
179
|
-
O(r.$slots, "default", {}, void 0, !0)
|
|
180
|
-
], 544),
|
|
181
|
-
i("div", {
|
|
182
|
-
class: "adj-hint-wrapper__hint",
|
|
183
|
-
style: Y({
|
|
184
|
-
left: k.value + "px",
|
|
185
|
-
top: B.value + "px",
|
|
186
|
-
visibility: o.value ? "visible" : "hidden"
|
|
187
|
-
}),
|
|
188
|
-
ref_key: "targetHint",
|
|
189
|
-
ref: T
|
|
190
|
-
}, [
|
|
191
|
-
S(P(dt, {
|
|
192
|
-
html: r.html,
|
|
193
|
-
horizontalPosition: f.value,
|
|
194
|
-
verticalPosition: v.value,
|
|
195
|
-
dark: r.dark,
|
|
196
|
-
width: "252px"
|
|
197
|
-
}, null, 8, ["html", "horizontalPosition", "verticalPosition", "dark"]), [
|
|
198
|
-
[z, r.html !== ""]
|
|
199
|
-
])
|
|
200
|
-
], 4),
|
|
201
|
-
P(vt, {
|
|
202
|
-
show: a.value,
|
|
203
|
-
"onUpdate:show": N[0] || (N[0] = (X) => a.value = X),
|
|
204
|
-
width: "430px"
|
|
205
|
-
}, {
|
|
206
|
-
default: L(() => [
|
|
207
|
-
i("div", {
|
|
208
|
-
class: "adj-hint-wrapper__modal",
|
|
209
|
-
innerHTML: r.html
|
|
210
|
-
}, null, 8, mt)
|
|
211
|
-
]),
|
|
212
|
-
_: 1
|
|
213
|
-
}, 8, ["show"])
|
|
214
|
-
]));
|
|
215
|
-
}
|
|
216
|
-
}), Rt = /* @__PURE__ */ c(wt, [["__scopeId", "data-v-e25d64b4"]]), gt = {
|
|
217
|
-
key: 0,
|
|
218
|
-
class: "adj-icon-button__qty adj-text-12"
|
|
219
|
-
}, jt = /* @__PURE__ */ p({
|
|
220
|
-
__name: "AdjIconButton",
|
|
221
|
-
props: {
|
|
222
|
-
iconName: {},
|
|
223
|
-
qty: { default: 0 },
|
|
224
|
-
size: { default: "medium" },
|
|
225
|
-
design: { default: "white-back" },
|
|
226
|
-
disabled: { type: Boolean, default: !1 }
|
|
227
|
-
},
|
|
228
|
-
emits: ["click"],
|
|
229
|
-
setup(e) {
|
|
230
|
-
return (t, o) => (l(), s("div", {
|
|
231
|
-
class: m(["adj-icon-button", {
|
|
232
|
-
[`adj-icon-button_${t.size}`]: !0,
|
|
233
|
-
[`adj-icon-button_${t.design}`]: !0,
|
|
234
|
-
"adj-icon-button_disabled": t.disabled
|
|
235
|
-
}]),
|
|
236
|
-
onClick: o[0] || (o[0] = (a) => t.$emit("click"))
|
|
237
|
-
}, [
|
|
238
|
-
i("i", {
|
|
239
|
-
class: m(["adj-icon-button__icon", t.iconName])
|
|
240
|
-
}, null, 2),
|
|
241
|
-
t.qty > 0 ? (l(), s("div", gt, V(t.qty), 1)) : I("", !0)
|
|
242
|
-
], 2));
|
|
243
|
-
}
|
|
244
|
-
}), Tt = /* @__PURE__ */ c(jt, [["__scopeId", "data-v-2fc0329c"]]), bt = { class: "adj-skeleton-item" }, kt = /* @__PURE__ */ p({
|
|
245
|
-
__name: "AdjSkeletonItem",
|
|
246
|
-
props: {
|
|
247
|
-
width: { default: "100%" },
|
|
248
|
-
height: { default: "unset" },
|
|
249
|
-
aspectRatio: { default: "unset" },
|
|
250
|
-
marginTop: { default: "0px" }
|
|
251
|
-
},
|
|
252
|
-
setup(e) {
|
|
253
|
-
M((a) => ({
|
|
254
|
-
"71e1d2bb": a.width,
|
|
255
|
-
10304188: a.marginTop,
|
|
256
|
-
"011836f5": o.value,
|
|
257
|
-
"9eecea5c": a.height
|
|
258
|
-
}));
|
|
259
|
-
const t = e, o = D(() => t.height !== "unset" ? "unset" : t.aspectRatio);
|
|
260
|
-
return (a, n) => (l(), s("div", bt));
|
|
261
|
-
}
|
|
262
|
-
}), Ct = /* @__PURE__ */ c(kt, [["__scopeId", "data-v-de17e3aa"]]), $t = { class: "adj-skeleton" }, yt = /* @__PURE__ */ p({
|
|
263
|
-
__name: "AdjSkeleton",
|
|
264
|
-
props: {
|
|
265
|
-
loaders: { default: () => [] },
|
|
266
|
-
width: { default: "100%" },
|
|
267
|
-
centered: { type: Boolean, default: !1 }
|
|
268
|
-
},
|
|
269
|
-
setup(e) {
|
|
270
|
-
M((a) => ({
|
|
271
|
-
"8d14bacc": o.value,
|
|
272
|
-
"5981d4b0": a.width
|
|
273
|
-
}));
|
|
274
|
-
const t = e, o = D(() => t.centered ? "center" : "unset");
|
|
275
|
-
return (a, n) => (l(), s("div", $t, [
|
|
276
|
-
(l(!0), s(x, null, tt(a.loaders, (u) => (l(), et(Ct, {
|
|
277
|
-
width: u.width,
|
|
278
|
-
height: u.height,
|
|
279
|
-
"aspect-ratio": u.aspectRatio,
|
|
280
|
-
"margin-top": u.marginTop
|
|
281
|
-
}, null, 8, ["width", "height", "aspect-ratio", "margin-top"]))), 256))
|
|
282
|
-
]));
|
|
283
|
-
}
|
|
284
|
-
}), Wt = /* @__PURE__ */ c(yt, [["__scopeId", "data-v-3db85138"]]), Pt = {}, F = (e) => (A("data-v-36f8f51c"), e = e(), R(), e), Mt = {
|
|
285
|
-
viewBox: "0 0 34 34",
|
|
286
|
-
fill: "none",
|
|
287
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
288
|
-
}, Bt = /* @__PURE__ */ F(() => /* @__PURE__ */ i("circle", {
|
|
289
|
-
cx: "17",
|
|
290
|
-
cy: "17",
|
|
291
|
-
r: "16.5"
|
|
292
|
-
}, null, -1)), Ht = /* @__PURE__ */ F(() => /* @__PURE__ */ 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)), It = [
|
|
293
|
-
Bt,
|
|
294
|
-
Ht
|
|
295
|
-
];
|
|
296
|
-
function Lt(e, t) {
|
|
297
|
-
return l(), s("svg", Mt, It);
|
|
298
|
-
}
|
|
299
|
-
const Nt = /* @__PURE__ */ c(Pt, [["render", Lt], ["__scopeId", "data-v-36f8f51c"]]);
|
|
300
|
-
export {
|
|
301
|
-
Tt as A,
|
|
302
|
-
c as _,
|
|
303
|
-
Nt as a,
|
|
304
|
-
Wt as b,
|
|
305
|
-
Rt as c,
|
|
306
|
-
At as d,
|
|
307
|
-
dt as e,
|
|
308
|
-
vt as f,
|
|
309
|
-
Ct as g
|
|
310
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
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(o){return(t,n)=>(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:n[0]||(n[0]=a=>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=(o,t)=>{const n=o.__vccOpts||o;for(const[a,l]of t)n[a]=l;return n},R=s(L,[["__scopeId","data-v-08e5f4ad"]]),T=o=>(e.pushScopeId("data-v-e943fafd"),o=o(),e.popScopeId(),o),W=["innerHTML"],q=T(()=>e.createElementVNode("svg",{class:"adj-hint__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__triangle_inner",d:"M13 13L7 2L1 13H13Z"}),e.createElementVNode("path",{class:"adj-hint__triangle_border",d:"M13 13L7 2L1 13"})],-1)),D=e.defineComponent({__name:"AdjHint",props:{html:{default:""},horizontalPosition:{default:"left"},verticalPosition:{default:"top"},dark:{type:Boolean,default:!1},width:{default:"200px"}},setup(o){return e.useCssVars(t=>({"47bcf1e4":t.width})),(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["adj-hint",{"adj-hint_dark":t.dark},`adj-hint_${t.verticalPosition}`,`adj-hint_${t.horizontalPosition}`])},[e.createElementVNode("div",{class:"adj-hint__text",innerHTML:t.html},null,8,W),q],2))}}),E=s(D,[["__scopeId","data-v-e943fafd"]]),O=o=>(e.pushScopeId("data-v-71450429"),o=o(),e.popScopeId(),o),F={class:"adj-modal"},Z={class:"adj-modal_wrapper"},U=O(()=>e.createElementVNode("div",{class:"adj-modal__background"},null,-1)),G=[U],J=e.defineComponent({__name:"AdjModal",props:{show:{type:Boolean,default:!1},width:{default:"100%"}},emits:["update:show"],setup(o,{emit:t}){e.useCssVars(l=>({f3e276ac:l.width}));const n=t;function a(){n("update:show",!1)}return(l,i)=>(e.openBlock(),e.createElementBlock("div",F,[e.createVNode(e.Transition,{name:"adj-fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",Z,G,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(a,["stop"])},[e.createElementVNode("div",{class:"adj-modal__window",onClick:i[0]||(i[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",{class:"adj-modal__close icon-close",onClick:e.withModifiers(a,["stop"])}),e.renderSlot(l.$slots,"default",{},void 0,!0)])],512),[[e.vShow,l.show]])]),_:3})]))}}),S=s(J,[["__scopeId","data-v-71450429"]]),K={class:"adj-hint-wrapper"},Q=["innerHTML"],w=14,k=14,X=e.defineComponent({__name:"AdjHintWrapper",props:{html:{default:""},horizontalPosition:{default:"left"},verticalPosition:{default:"bottom"},dark:{type:Boolean,default:!0},modalMode:{type:Boolean,default:!1}},setup(o){const t=o,n=e.ref(!1),a=e.ref(!1),{width:l,height:i}=C.useWindowSize(),m=e.ref(null),B=e.ref(null),c=e.ref(0),f=e.ref(0),{elementWidth:h,elementHeight:b}=C.useMouseInElement(m),v=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+k/2;function y(){(!t.modalMode||l.value>=1200)&&(N(),z(),H(),n.value=!0)}function I(){(!t.modalMode||l.value>=1200)&&(n.value=!1)}function A(){t.modalMode&&l.value<1200&&(a.value=!0)}function N(){if(m.value!==null){const d=m.value.getBoundingClientRect();c.value=d.left,f.value=d.top}}function z(){t.dark&&(p=15+k/2),r.value=t.horizontalPosition,u.value=t.verticalPosition,t.horizontalPosition==="left"&&c.value+h.value/2+p-_.value<0?r.value="right":t.horizontalPosition==="right"&&c.value+h.value/2-p+_.value>l.value&&(r.value="left"),t.verticalPosition==="top"&&f.value-w-g.value<0?u.value="bottom":t.verticalPosition==="bottom"&&f.value+b.value+w+g.value>i.value&&(u.value="top")}function H(){t.dark&&(p=15+k/2),r.value==="left"?v.value=c.value+h.value/2+p-_.value:r.value==="center"?v.value=c.value+h.value/2-k/2-_.value/2:r.value==="right"&&(v.value=c.value+h.value/2-p),u.value=="top"?j.value=f.value-w-g.value:u.value=="bottom"&&(j.value=f.value+b.value+w)}return(d,$)=>(e.openBlock(),e.createElementBlock("div",K,[e.createElementVNode("div",{class:"adj-hint-wrapper__slot",onMouseenter:e.withModifiers(y,["stop"]),onMouseleave:e.withModifiers(I,["stop"]),onClick:e.withModifiers(A,["stop"]),ref_key:"targetSlot",ref:m},[e.renderSlot(d.$slots,"default",{},void 0,!0)],544),e.createElementVNode("div",{class:"adj-hint-wrapper__hint",style:e.normalizeStyle({left:v.value+"px",top:j.value+"px",visibility:n.value?"visible":"hidden"}),ref_key:"targetHint",ref:B},[e.withDirectives(e.createVNode(E,{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(S,{show:a.value,"onUpdate:show":$[0]||($[0]=P=>a.value=P),width:"430px"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"adj-hint-wrapper__modal",innerHTML:d.html},null,8,Q)]),_:1},8,["show"])]))}}),Y=s(X,[["__scopeId","data-v-e25d64b4"]]),x={key:0,class:"adj-icon-button__qty adj-text-12"},ee=e.defineComponent({__name:"AdjIconButton",props:{iconName:{},qty:{default:0},size:{default:"medium"},design:{default:"white-back"},disabled:{type:Boolean,default:!1}},emits:["click"],setup(o){return(t,n)=>(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:n[0]||(n[0]=a=>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",x,e.toDisplayString(t.qty),1)):e.createCommentVNode("",!0)],2))}}),te=s(ee,[["__scopeId","data-v-2fc0329c"]]),oe={class:"adj-skeleton-item"},ne=e.defineComponent({__name:"AdjSkeletonItem",props:{width:{default:"100%"},height:{default:"unset"},aspectRatio:{default:"unset"},marginTop:{default:"0px"}},setup(o){e.useCssVars(a=>({"71e1d2bb":a.width,10304188:a.marginTop,"011836f5":n.value,"9eecea5c":a.height}));const t=o,n=e.computed(()=>t.height!=="unset"?"unset":t.aspectRatio);return(a,l)=>(e.openBlock(),e.createElementBlock("div",oe))}}),M=s(ne,[["__scopeId","data-v-de17e3aa"]]),ae={class:"adj-skeleton"},le=e.defineComponent({__name:"AdjSkeleton",props:{loaders:{default:()=>[]},width:{default:"100%"},centered:{type:Boolean,default:!1}},setup(o){e.useCssVars(a=>({"8d14bacc":n.value,"5981d4b0":a.width}));const t=o,n=e.computed(()=>t.centered?"center":"unset");return(a,l)=>(e.openBlock(),e.createElementBlock("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.loaders,i=>(e.openBlock(),e.createBlock(M,{width:i.width,height:i.height,"aspect-ratio":i.aspectRatio,"margin-top":i.marginTop},null,8,["width","height","aspect-ratio","margin-top"]))),256))]))}}),ie=s(le,[["__scopeId","data-v-3db85138"]]),se={},V=o=>(e.pushScopeId("data-v-36f8f51c"),o=o(),e.popScopeId(),o),de={viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},re=V(()=>e.createElementVNode("circle",{cx:"17",cy:"17",r:"16.5"},null,-1)),ce=V(()=>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)),ue=[re,ce];function pe(o,t){return e.openBlock(),e.createElementBlock("svg",de,ue)}const fe=s(se,[["render",pe],["__scopeId","data-v-36f8f51c"]]);exports.AdjButton=R;exports.AdjHint=E;exports.AdjHintWrapper=Y;exports.AdjIconButton=te;exports.AdjModal=S;exports.AdjSkeleton=ie;exports.AdjSkeletonItem=M;exports.AdjSvgActive=fe;exports._export_sfc=s;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface IAdjButtonProps {
|
|
2
|
-
/** Заголовок */
|
|
3
|
-
title: string;
|
|
4
|
-
/** Во всю ширину */
|
|
5
|
-
flex?: boolean;
|
|
6
|
-
/** Размер */
|
|
7
|
-
size?: 'small' | 'medium';
|
|
8
|
-
/** Стиль */
|
|
9
|
-
design?: 'primary' | 'alternative-light' | 'alternative-dark' | 'alternative-active' | 'alternative';
|
|
10
|
-
/** Неактивен */
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
/** Круглый дизайн */
|
|
13
|
-
round?: boolean;
|
|
14
|
-
/** Иконка слева */
|
|
15
|
-
iconLeft?: string;
|
|
16
|
-
/** Иконка справа */
|
|
17
|
-
iconRight?: string;
|
|
18
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface IAdjCheckboxProps {
|
|
2
|
-
/** Заголовок */
|
|
3
|
-
title?: string;
|
|
4
|
-
/** Позиция */
|
|
5
|
-
titlePosition?: 'left' | 'right';
|
|
6
|
-
/** Список значений
|
|
7
|
-
* { checked: true },
|
|
8
|
-
* { checked: false }
|
|
9
|
-
*/
|
|
10
|
-
items: {
|
|
11
|
-
checked: boolean;
|
|
12
|
-
}[];
|
|
13
|
-
/** Выбранное состояние */
|
|
14
|
-
modelValue?: {
|
|
15
|
-
checked: boolean;
|
|
16
|
-
};
|
|
17
|
-
/** Неактивен */
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IAdjFilterSelectItem } from './IAdjFilterSelectItem';
|
|
2
|
-
export interface IAdjFilterSelectProps {
|
|
3
|
-
/** Название/заголовок */
|
|
4
|
-
title: string;
|
|
5
|
-
/** Расположение */
|
|
6
|
-
position?: 'left' | 'center' | 'right';
|
|
7
|
-
/** Список элементов */
|
|
8
|
-
items: IAdjFilterSelectItem[];
|
|
9
|
-
/** Выбранный элемент */
|
|
10
|
-
modelValue: IAdjFilterSelectItem | {};
|
|
11
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IAdjFiltersMobileItem } from './IAdjFiltersMobileItem';
|
|
2
|
-
import { IAdjFilterSelectItem } from '../AdjFilterSelect/IAdjFilterSelectItem';
|
|
3
|
-
export interface IAdjFiltersMobileProps {
|
|
4
|
-
/** Массив фильтров */
|
|
5
|
-
filters: IAdjFiltersMobileItem[];
|
|
6
|
-
/** Массив выбранных фильтров */
|
|
7
|
-
modelValue: (IAdjFilterSelectItem | {} | boolean)[];
|
|
8
|
-
/** Ширина плашки при ширине >=780 */
|
|
9
|
-
width?: string;
|
|
10
|
-
/** Название кнопки / заголовок */
|
|
11
|
-
title: string;
|
|
12
|
-
/** Название ссылки сбросить */
|
|
13
|
-
reset: string;
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { THorizontalPosition, TVerticalPosition } from '../../misc/TPosition';
|
|
2
|
-
export interface IAdjHintProps {
|
|
3
|
-
/** HTML-содержимое хинта */
|
|
4
|
-
html: string;
|
|
5
|
-
/** Расположение хинта по горизонтали */
|
|
6
|
-
horizontalPosition: THorizontalPosition;
|
|
7
|
-
/** Расположение хинта по вертикали */
|
|
8
|
-
verticalPosition: TVerticalPosition;
|
|
9
|
-
/** Тёмный стиль хинта */
|
|
10
|
-
dark?: boolean;
|
|
11
|
-
/** Ширина элемента */
|
|
12
|
-
width?: string;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IAdjHintWrapperProps } from './IAdjHintWrapperProps';
|
|
2
|
-
export declare const argsLeftBottom: IAdjHintWrapperProps;
|
|
3
|
-
export declare const argsCenterBottom: IAdjHintWrapperProps;
|
|
4
|
-
export declare const argsRightBottom: IAdjHintWrapperProps;
|
|
5
|
-
export declare const argsLeftTop: IAdjHintWrapperProps;
|
|
6
|
-
export declare const argsCenterTop: IAdjHintWrapperProps;
|
|
7
|
-
export declare const argsRightTop: IAdjHintWrapperProps;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as AdjHintWrapper } from './AdjHintWrapper.vue';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/vue3';
|
|
3
|
-
declare const meta: Meta<typeof AdjHintWrapper>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const LeftBottom: Story;
|
|
7
|
-
export declare const CenterBottom: Story;
|
|
8
|
-
export declare const RightBottom: Story;
|
|
9
|
-
export declare const LeftTop: Story;
|
|
10
|
-
export declare const CenterTop: Story;
|
|
11
|
-
export declare const RightTop: Story;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { IAdjHintWrapperProps } from './IAdjHintWrapperProps';
|
|
2
|
-
import { THorizontalPosition, TVerticalPosition } from '../../misc/TPosition';
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<IAdjHintWrapperProps>, {
|
|
7
|
-
html: string;
|
|
8
|
-
horizontalPosition: string;
|
|
9
|
-
verticalPosition: string;
|
|
10
|
-
dark: boolean;
|
|
11
|
-
modalMode: boolean;
|
|
12
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<IAdjHintWrapperProps>, {
|
|
13
|
-
html: string;
|
|
14
|
-
horizontalPosition: string;
|
|
15
|
-
verticalPosition: string;
|
|
16
|
-
dark: boolean;
|
|
17
|
-
modalMode: boolean;
|
|
18
|
-
}>>>, {
|
|
19
|
-
html: string;
|
|
20
|
-
horizontalPosition: THorizontalPosition;
|
|
21
|
-
verticalPosition: TVerticalPosition;
|
|
22
|
-
dark: boolean;
|
|
23
|
-
modalMode: boolean;
|
|
24
|
-
}, {}>;
|
|
25
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_WithDefaults<P, D> = {
|
|
28
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
-
default: D[K];
|
|
30
|
-
}> : P[K];
|
|
31
|
-
};
|
|
32
|
-
type __VLS_Prettify<T> = {
|
|
33
|
-
[K in keyof T]: T[K];
|
|
34
|
-
} & {};
|
|
35
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
-
new (): {
|
|
37
|
-
$slots: S;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
-
type __VLS_TypePropsToOption<T> = {
|
|
42
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
-
} : {
|
|
45
|
-
type: import('vue').PropType<T[K]>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { THorizontalPosition, TVerticalPosition } from '../../misc/TPosition';
|
|
2
|
-
export interface IAdjHintWrapperProps {
|
|
3
|
-
/** HTML-содержимое хинта */
|
|
4
|
-
html: string;
|
|
5
|
-
/** Расположение хинта по горизонтали */
|
|
6
|
-
horizontalPosition?: THorizontalPosition;
|
|
7
|
-
/** Расположение хинта по вертикали */
|
|
8
|
-
verticalPosition?: TVerticalPosition;
|
|
9
|
-
/** Тёмный стиль хинта */
|
|
10
|
-
dark?: boolean;
|
|
11
|
-
/** Показывать модалки при маленькой ширине по клику */
|
|
12
|
-
modalMode?: boolean;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { THorizontalPosition } from '../../misc/TPosition';
|
|
2
|
-
export interface IAdjIconProps {
|
|
3
|
-
/** Иконка */
|
|
4
|
-
iconName: string;
|
|
5
|
-
/** Дизайн кнопки */
|
|
6
|
-
design?: 'light' | 'contrast' | 'dark-back';
|
|
7
|
-
/** Подвсазка */
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
/** Неактивен */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** Расположение хинта по горизонтали */
|
|
12
|
-
tooltipPosition?: THorizontalPosition;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface IAdjIconButtonProps {
|
|
2
|
-
/** Имя иконки */
|
|
3
|
-
iconName: string;
|
|
4
|
-
/** Количество - в оранжевом кружке */
|
|
5
|
-
qty?: number;
|
|
6
|
-
/** Размер */
|
|
7
|
-
size?: 'small' | 'medium';
|
|
8
|
-
/** Стиль */
|
|
9
|
-
design?: 'white-back' | 'dark-back' | 'light-back';
|
|
10
|
-
/** Неактивен */
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}
|