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