md-components-mdigial-azamat 0.0.98 → 0.0.99

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.
@@ -1,11 +1,11 @@
1
1
  import { C as ee } from "./index-0a5f313c.js";
2
- import { jsx as t, jsxs as i, Fragment as U } from "react/jsx-runtime";
3
- import { warningCardVariant as ge, WarningCardVariant as j, WarningCardVariantKey as be } from "./Cards/WarningCard/model.js";
2
+ import { jsx as e, jsxs as c, Fragment as Q } from "react/jsx-runtime";
3
+ import { warningCardVariant as ge, WarningCardVariant as A, WarningCardVariantKey as be } from "./Cards/WarningCard/model.js";
4
4
  import "./ConfigProvider/index.js";
5
5
  import { Banner as xe } from "./Banner/Banner.js";
6
6
  import "./BannerAndText/index.js";
7
- import { forwardRef as P, useState as I, useMemo as A, useEffect as ye, useRef as we, useImperativeHandle as te, useCallback as ke } from "react";
8
- import { c as b } from "./cn-6a4bf187.js";
7
+ import { forwardRef as P, useState as T, useMemo as $, useEffect as ye, useRef as we, useImperativeHandle as te, useCallback as ke } from "react";
8
+ import { c as y } from "./cn-6a4bf187.js";
9
9
  import "./Faq/components/Collapse/Collapse.js";
10
10
  import "./Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
11
11
  import { HtmlContent as Ce } from "./HtmlContent/HtmlContent.js";
@@ -15,16 +15,16 @@ import { B as ve, a as De, b as Ne } from "./const-53dff524.js";
15
15
  import { Stepper as Le } from "./Stepper/Stepper.js";
16
16
  import { Segments as _e } from "./Segments/Segments.js";
17
17
  import { VideoFull as Be } from "./Video/VideoFull/VideoFull.js";
18
- import { VideoList as Me } from "./Video/VideoList/VideoList.js";
19
- import { VideoListMini as Se } from "./Video/VideoListMini/VideoListMini.js";
18
+ import { VideoList as Se } from "./Video/VideoList/VideoList.js";
19
+ import { VideoListMini as Me } from "./Video/VideoListMini/VideoListMini.js";
20
20
  import { ContentCardList as Fe } from "./ContentCardList/ContentCardList.js";
21
21
  import { CardIconList as Ve } from "./CardIconList/CardIconList.js";
22
22
  import { MultiCards as Ie } from "./MultiCards/index.js";
23
23
  import { Partners as Te } from "./Partners/Partners.js";
24
24
  import { CardImageList as He } from "./CardImageList/CardImageList.js";
25
25
  import { MainBanner as Pe } from "./MainBanner/MainBanner.js";
26
- import { Faq as We } from "./Faq/Faq.js";
27
- import { InstructionList as Ge } from "./InstructionList/InstructionList.js";
26
+ import { Faq as Ee } from "./Faq/Faq.js";
27
+ import { InstructionList as We } from "./InstructionList/InstructionList.js";
28
28
  import "./HeroPossibilityBanner/index.js";
29
29
  import { PartnersColors as Oe } from "./PartnersColors/PartnersColors.js";
30
30
  import { PreviewList as je } from "./PreviewList/PreviewList.js";
@@ -32,7 +32,7 @@ import "./Cards/CardImage/CardImage.js";
32
32
  import "./Cards/ContentCard/ContentCard.js";
33
33
  import "./Cards/ColoredCard/index.js";
34
34
  import "./Cards/FeaturesCard/index.js";
35
- import { DownloadFileBanner as Ee } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
35
+ import { DownloadFileBanner as Ge } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
36
36
  import { DownloadFileFull as Ae } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
37
37
  import { DownloadFileHalf as Ze } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
38
38
  import { DownloadFileMini as $e } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
@@ -41,15 +41,15 @@ import "./PreviewList/components/PreviewCard/PreviewCard.js";
41
41
  import Re from "./AnimatedSwiper/index.js";
42
42
  import "./CardImageSecondary/CardImageSecondary.js";
43
43
  import { CardImageSecondaryList as Xe } from "./CardImageSecondaryList/CardImageSecondaryList.js";
44
- import { CardInfoTable as qe } from "./CardInfoTable/index.js";
45
- import { DownloadFileBright as ze } from "./DownloadFile/components/DownloadFileBright/index.js";
44
+ import { CardInfoTable as ze } from "./CardInfoTable/index.js";
45
+ import { DownloadFileBright as qe } from "./DownloadFile/components/DownloadFileBright/index.js";
46
46
  import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
47
47
  import { C as Ye, u as Ke } from "./index-a0ed2e4a.js";
48
48
  import { C as re } from "./ComponentContainer-dca711c6.js";
49
- import { u as Qe } from "./useScreenSize-c1b64c02.js";
50
- import Ue from "./FileLoader/index.js";
51
- import { u as q } from "./useClickOutside-197b0df2.js";
52
- import { TitleBlock as oe } from "./TitleBlock/TitleBlock.js";
49
+ import { u as Ue } from "./useScreenSize-c1b64c02.js";
50
+ import { u as oe, F as Qe } from "./index-6686852d.js";
51
+ import { u as z } from "./useClickOutside-197b0df2.js";
52
+ import { TitleBlock as ae } from "./TitleBlock/TitleBlock.js";
53
53
  import "./InfoBanner/index.js";
54
54
  import { InfoBannerList as Je } from "./InfoBannerList/InfoBannerList.js";
55
55
  import { IntroBanner as et } from "./IntroBanner/IntroBanner.js";
@@ -60,7 +60,7 @@ import { SwiperList as at } from "./SwiperList/SwiperList.js";
60
60
  import "./TasksBanner/TasksBanner.js";
61
61
  import { TasksBannerList as nt } from "./TasksBannerList/TasksBannerList.js";
62
62
  import { VideoMainBanner as st } from "./VideoMainBanner/VideoMainBanner.js";
63
- import { M as lt, B as it, C as ct, S as dt, b as pt, V as mt, c as ut, d as ft, e as ht, f as gt, g as bt, P as xt, h as yt, W as wt, F as kt, k as Ct, D as vt, l as Dt, m as Nt, I as Lt, o as _t, p as Bt, A as Mt, q as St, T as Ft, r as Vt, E as It, s as Tt, t as Ht, u as Pt, v as Wt, w as Gt, x as Ot, y as jt } from "./data.mock-f00bb32c.js";
63
+ import { M as lt, B as it, C as ct, S as dt, b as pt, V as mt, c as ut, d as ft, e as ht, f as gt, g as bt, P as xt, h as yt, W as wt, F as kt, k as Ct, D as vt, l as Dt, m as Nt, I as Lt, o as _t, p as Bt, A as St, q as Mt, T as Ft, r as Vt, E as It, s as Tt, t as Ht, u as Pt, v as Et, w as Wt, x as Ot, y as jt } from "./data.mock-f00bb32c.js";
64
64
  import { DataTypesEnum as X, FieldTypes as G } from "./Types/FiledTypes.js";
65
65
  import "react-dom";
66
66
  import "./AnimatedSwiper/info.js";
@@ -107,12 +107,13 @@ import "./Video/VideoList/info.js";
107
107
  import "./Video/VideoListMini/info.js";
108
108
  import "./VideoMainBanner/info.js";
109
109
  import "./Actions/types.js";
110
- import { componentTypes as Et } from "./Forms/FormDefault/componentTypes.js";
111
- import { fieldTypesList as At } from "./Forms/FormDefault/fieldTypesList.js";
112
- import { Header as Zt } from "./Header/Header.js";
113
- import { Footer as $t } from "./Footer/Footer.js";
114
- import { I as Rt } from "./Icon-70ea6cb8.js";
115
- const ae = [
110
+ import { c as Gt, R as At } from "./requestForm-23442a57.js";
111
+ import { componentTypes as Zt } from "./Forms/FormDefault/componentTypes.js";
112
+ import { fieldTypesList as $t } from "./Forms/FormDefault/fieldTypesList.js";
113
+ import { Header as Rt } from "./Header/Header.js";
114
+ import { Footer as Xt } from "./Footer/Footer.js";
115
+ import { I as zt } from "./Icon-70ea6cb8.js";
116
+ const ne = [
116
117
  "title",
117
118
  "title_color",
118
119
  "description",
@@ -120,126 +121,126 @@ const ae = [
120
121
  "html_content",
121
122
  ve,
122
123
  ge
123
- ], z = ({
124
- title: a,
125
- description: r,
126
- button: o,
127
- html_content: s,
128
- variant: e = be.Orange
124
+ ], q = ({
125
+ title: n,
126
+ description: o,
127
+ button: a,
128
+ html_content: l,
129
+ variant: r = be.Orange
129
130
  }) => {
130
- var l, m, k, y;
131
- return /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
131
+ var t, f, p, N;
132
+ return /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(
132
133
  "div",
133
134
  {
134
135
  className: "rounded-[24px] p-6",
135
- style: { background: (l = j[e]) == null ? void 0 : l.background },
136
- children: /* @__PURE__ */ i("div", { className: "flex gap-4 items-center justify-between", children: [
137
- /* @__PURE__ */ i(
136
+ style: { background: (t = A[r]) == null ? void 0 : t.background },
137
+ children: /* @__PURE__ */ c("div", { className: "flex gap-4 items-center justify-between", children: [
138
+ /* @__PURE__ */ c(
138
139
  "div",
139
140
  {
140
141
  className: "flex gap-[16px] items-center max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px]",
141
142
  children: [
142
- /* @__PURE__ */ t(
143
- Rt,
143
+ /* @__PURE__ */ e(
144
+ zt,
144
145
  {
145
- name: (m = j[e]) == null ? void 0 : m.icon,
146
+ name: (f = A[r]) == null ? void 0 : f.icon,
146
147
  size: 40
147
148
  }
148
149
  ),
149
- /* @__PURE__ */ i("div", { className: "flex flex-col gap-[4px] max-tablet:gap-0", children: [
150
- /* @__PURE__ */ t(
150
+ /* @__PURE__ */ c("div", { className: "flex flex-col gap-[4px] max-tablet:gap-0", children: [
151
+ /* @__PURE__ */ e(
151
152
  "p",
152
153
  {
153
- className: b("text-[24px] leading-8 font-bold"),
154
- style: { color: (k = j[e]) == null ? void 0 : k.textColor },
155
- children: a
154
+ className: y("text-[24px] leading-8 font-bold"),
155
+ style: { color: (p = A[r]) == null ? void 0 : p.textColor },
156
+ children: n
156
157
  }
157
158
  ),
158
- /* @__PURE__ */ t(
159
+ /* @__PURE__ */ e(
159
160
  "p",
160
161
  {
161
162
  className: "text-[16px] leading-6",
162
- style: { color: (y = j[e]) == null ? void 0 : y.textColor },
163
- children: r
163
+ style: { color: (N = A[r]) == null ? void 0 : N.textColor },
164
+ children: o
164
165
  }
165
166
  ),
166
- s && /* @__PURE__ */ t(Ce, { data: s })
167
+ l && /* @__PURE__ */ e(Ce, { data: l })
167
168
  ] })
168
169
  ]
169
170
  }
170
171
  ),
171
- /* @__PURE__ */ t(R, { ...o })
172
+ /* @__PURE__ */ e(R, { ...a })
172
173
  ] })
173
174
  }
174
175
  ) });
175
176
  };
176
- z.propsToEdit = ae;
177
- const ne = P(
177
+ q.propsToEdit = ne;
178
+ const se = P(
178
179
  ({
179
- label: a,
180
- options: r = [],
181
- value: o = [],
182
- onChange: s,
183
- error: e,
184
- className: l,
185
- direction: m = "column"
186
- }, k) => {
187
- const y = (n) => {
188
- if (!s)
180
+ label: n,
181
+ options: o = [],
182
+ value: a = [],
183
+ onChange: l,
184
+ error: r,
185
+ className: t,
186
+ direction: f = "column"
187
+ }, p) => {
188
+ const N = (s) => {
189
+ if (!l)
189
190
  return;
190
- const N = o.includes(n) ? o.filter((C) => C !== n) : [...o, n];
191
- s(N);
191
+ const D = a.includes(s) ? a.filter((w) => w !== s) : [...a, s];
192
+ l(D);
192
193
  };
193
- return /* @__PURE__ */ i(
194
+ return /* @__PURE__ */ c(
194
195
  "div",
195
196
  {
196
- ref: k,
197
- className: b("flex flex-col gap-2", l),
197
+ ref: p,
198
+ className: y("flex flex-col gap-2", t),
198
199
  children: [
199
- a && /* @__PURE__ */ t("label", { className: "text-sm font-medium text-blackBG mb-1", children: a }),
200
- /* @__PURE__ */ t(
200
+ n && /* @__PURE__ */ e("label", { className: "text-sm font-medium text-blackBG mb-1", children: n }),
201
+ /* @__PURE__ */ e(
201
202
  "div",
202
203
  {
203
- className: b(
204
+ className: y(
204
205
  "flex gap-4",
205
- m === "column" ? "flex-col" : "flex-row flex-wrap"
206
+ f === "column" ? "flex-col" : "flex-row flex-wrap"
206
207
  ),
207
- children: r == null ? void 0 : r.map((n) => /* @__PURE__ */ t(
208
+ children: o == null ? void 0 : o.map((s) => /* @__PURE__ */ e(
208
209
  Y,
209
210
  {
210
- label: n == null ? void 0 : n.label,
211
- checked: o.includes(n == null ? void 0 : n.value),
212
- onChange: () => y(n == null ? void 0 : n.value),
213
- error: e && (o == null ? void 0 : o.length) === 0 ? e : void 0
211
+ label: s == null ? void 0 : s.label,
212
+ checked: a.includes(s == null ? void 0 : s.value),
213
+ onChange: () => N(s == null ? void 0 : s.value),
214
+ error: r && (a == null ? void 0 : a.length) === 0 ? r : void 0
214
215
  },
215
- n == null ? void 0 : n.value
216
+ s == null ? void 0 : s.value
216
217
  ))
217
218
  }
218
219
  ),
219
- e && /* @__PURE__ */ t("p", { className: "mt-1 text-sm text-red-500", children: e })
220
+ r && /* @__PURE__ */ e("p", { className: "mt-1 text-sm text-red-500", children: r })
220
221
  ]
221
222
  }
222
223
  );
223
224
  }
224
225
  );
225
- ne.displayName = "CheckboxGroup";
226
+ se.displayName = "CheckboxGroup";
226
227
  const Y = P(
227
- ({ className: a, label: r, error: o, ...s }, e) => /* @__PURE__ */ i("div", { className: "w-full", children: [
228
- /* @__PURE__ */ i("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
229
- /* @__PURE__ */ i("div", { className: "relative flex items-center justify-center mt-0.5", children: [
230
- /* @__PURE__ */ t(
228
+ ({ className: n, label: o, error: a, ...l }, r) => /* @__PURE__ */ c("div", { className: "w-full", children: [
229
+ /* @__PURE__ */ c("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
230
+ /* @__PURE__ */ c("div", { className: "relative flex items-center justify-center mt-0.5", children: [
231
+ /* @__PURE__ */ e(
231
232
  "input",
232
233
  {
233
234
  type: "checkbox",
234
235
  className: "peer sr-only",
235
- ref: e,
236
- ...s
236
+ ref: r,
237
+ ...l
237
238
  }
238
239
  ),
239
- /* @__PURE__ */ t(
240
+ /* @__PURE__ */ e(
240
241
  "div",
241
242
  {
242
- className: b(
243
+ className: y(
243
244
  "relative flex items-center justify-center w-5 h-5 rounded-md border-2 transition-all duration-200",
244
245
  "border-grayBlue5 bg-white",
245
246
  "peer-checked:bg-greenLight peer-checked:border-greenLight",
@@ -250,54 +251,54 @@ const Y = P(
250
251
  "after:w-[6px] after:h-[10px] after:border-r-2 after:border-b-2 after:border-white",
251
252
  "after:rotate-45 after:-translate-x-[2px] after:translate-y-[-2px] after:top-1/2 after:left-1/2",
252
253
  "after:translate-y-[-50%] after:translate-x-[-50%] peer-checked:after:opacity-100",
253
- o && "border-red-500",
254
- a
254
+ a && "border-red-500",
255
+ n
255
256
  )
256
257
  }
257
258
  )
258
259
  ] }),
259
- r && /* @__PURE__ */ t(
260
+ o && /* @__PURE__ */ e(
260
261
  "span",
261
262
  {
262
- className: b(
263
+ className: y(
263
264
  "text-sm leading-5 text-graySoft select-none",
264
265
  "group-hover:text-blackBG transition-colors duration-200",
265
- o && "text-red-500"
266
+ a && "text-red-500"
266
267
  ),
267
- children: r
268
+ children: o
268
269
  }
269
270
  )
270
271
  ] }),
271
- o && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: o })
272
+ a && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: a })
272
273
  ] })
273
274
  );
274
275
  Y.displayName = "Checkbox";
275
- const se = P(
276
- ({ className: a, type: r, error: o, label: s, ...e }, l) => /* @__PURE__ */ i("div", { className: "w-full", children: [
277
- s && /* @__PURE__ */ t("label", { className: "block text-sm font-medium text-blackBG mb-2", children: s }),
278
- /* @__PURE__ */ t(
276
+ const le = P(
277
+ ({ className: n, type: o, error: a, label: l, ...r }, t) => /* @__PURE__ */ c("div", { className: "w-full", children: [
278
+ l && /* @__PURE__ */ e("label", { className: "block text-sm font-medium text-blackBG mb-2", children: l }),
279
+ /* @__PURE__ */ e(
279
280
  "input",
280
281
  {
281
- type: r,
282
- className: b(
282
+ type: o,
283
+ className: y(
283
284
  "flex h-14 w-full rounded-2xl border-[1px] border-grayBlue bg-white px-[16px] py-[16px] text-base",
284
285
  "placeholder:text-gray2 placeholder:opacity-60",
285
286
  "transition-all duration-300 ease-in-out",
286
287
  "hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
287
288
  "focus:border-greenLight focus:outline-none focus:shadow-[0_0_0_4px_rgba(22,163,74,0.15)] focus:ring-0",
288
289
  "disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-lightGray",
289
- o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
290
- a
290
+ a && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
291
+ n
291
292
  ),
292
- ref: l,
293
- ...e
293
+ ref: t,
294
+ ...r
294
295
  }
295
296
  ),
296
- o && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: o })
297
+ a && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: a })
297
298
  ] })
298
299
  );
299
- se.displayName = "Input";
300
- const Xt = () => /* @__PURE__ */ t(
300
+ le.displayName = "Input";
301
+ const qt = () => /* @__PURE__ */ e(
301
302
  "svg",
302
303
  {
303
304
  width: "20",
@@ -305,7 +306,7 @@ const Xt = () => /* @__PURE__ */ t(
305
306
  viewBox: "0 0 20 20",
306
307
  fill: "none",
307
308
  xmlns: "http://www.w3.org/2000/svg",
308
- children: /* @__PURE__ */ t(
309
+ children: /* @__PURE__ */ e(
309
310
  "path",
310
311
  {
311
312
  d: "M18.3327 9.16669V10.1667H19.3327V9.16669H18.3327ZM1.66602 9.16669H0.666016V10.1667H1.66602V9.16669ZM4.99935 4.16669V5.16669H14.9993V4.16669V3.16669H4.99935V4.16669ZM18.3327 7.50002H17.3327V14.1667H18.3327H19.3327V7.50002H18.3327ZM14.9993 17.5V16.5H4.99935V17.5V18.5H14.9993V17.5ZM1.66602 14.1667H2.66602V7.50002H1.66602H0.666016V14.1667H1.66602ZM4.99935 17.5V16.5C4.1854 16.5 3.67555 16.4979 3.30381 16.4479C2.96084 16.4018 2.88859 16.3321 2.86128 16.3048L2.15417 17.0119L1.44706 17.719C1.90791 18.1798 2.47257 18.3542 3.03731 18.4301C3.57329 18.5021 4.24194 18.5 4.99935 18.5V17.5ZM1.66602 14.1667H0.666016C0.666016 14.9241 0.663892 15.5927 0.735952 16.1287C0.81188 16.6935 0.986218 17.2581 1.44706 17.719L2.15417 17.0119L2.86128 16.3048C2.83397 16.2774 2.76423 16.2052 2.71812 15.8622C2.66814 15.4905 2.66602 14.9806 2.66602 14.1667H1.66602ZM18.3327 14.1667H17.3327C17.3327 14.9806 17.3306 15.4905 17.2806 15.8622C17.2345 16.2052 17.1647 16.2774 17.1374 16.3048L17.8445 17.0119L18.5516 17.719C19.0125 17.2581 19.1868 16.6935 19.2627 16.1287C19.3348 15.5927 19.3327 14.9241 19.3327 14.1667H18.3327ZM14.9993 17.5V18.5C15.7568 18.5 16.4254 18.5021 16.9614 18.4301C17.5261 18.3542 18.0908 18.1798 18.5516 17.719L17.8445 17.0119L17.1374 16.3048C17.1101 16.3321 17.0379 16.4018 16.6949 16.4479C16.3232 16.4979 15.8133 16.5 14.9993 16.5V17.5ZM14.9993 4.16669V5.16669C15.8133 5.16669 16.3232 5.16881 16.6949 5.21879C17.0379 5.2649 17.1101 5.33464 17.1374 5.36195L17.8445 4.65484L18.5516 3.94774C18.0908 3.48689 17.5261 3.31255 16.9614 3.23662C16.4254 3.16456 15.7568 3.16669 14.9993 3.16669V4.16669ZM18.3327 7.50002H19.3327C19.3327 6.74262 19.3348 6.07396 19.2627 5.53799C19.1868 4.97324 19.0125 4.40858 18.5516 3.94774L17.8445 4.65484L17.1374 5.36195C17.1647 5.38926 17.2345 5.46151 17.2806 5.80448C17.3306 6.17622 17.3327 6.68608 17.3327 7.50002H18.3327ZM4.99935 4.16669V3.16669C4.24194 3.16669 3.57329 3.16456 3.03732 3.23662C2.47257 3.31255 1.90791 3.48689 1.44706 3.94774L2.15417 4.65484L2.86128 5.36195C2.88859 5.33464 2.96084 5.2649 3.30381 5.21879C3.67555 5.16881 4.1854 5.16669 4.99935 5.16669V4.16669ZM1.66602 7.50002H2.66602C2.66602 6.68608 2.66814 6.17622 2.71812 5.80448C2.76423 5.46151 2.83397 5.38926 2.86128 5.36195L2.15417 4.65484L1.44706 3.94774C0.986218 4.40858 0.81188 4.97324 0.735952 5.53799C0.663892 6.07396 0.666016 6.74262 0.666016 7.50002H1.66602ZM18.3327 7.50002H17.3327V9.16669H18.3327H19.3327V7.50002H18.3327ZM18.3327 9.16669V8.16669H1.66602V9.16669V10.1667H18.3327V9.16669ZM1.66602 9.16669H2.66602V7.50002H1.66602H0.666016V9.16669H1.66602ZM5.83268 1.66669H4.83268V4.16669H5.83268H6.83268V1.66669H5.83268ZM14.166 1.66669H13.166V4.16669H14.166H15.166V1.66669H14.166ZM14.166 14.1667V15.1667H15.8327V14.1667V13.1667H14.166V14.1667Z",
@@ -313,132 +314,132 @@ const Xt = () => /* @__PURE__ */ t(
313
314
  }
314
315
  )
315
316
  }
316
- ), qt = (a) => {
317
- if (!a)
317
+ ), Yt = (n) => {
318
+ if (!n)
318
319
  return "";
319
- const r = String(a.getDate()).padStart(2, "0"), o = String(a.getMonth() + 1).padStart(2, "0"), s = a.getFullYear();
320
- return `${r}.${o}.${s}`;
321
- }, zt = (a) => {
322
- if (!a)
320
+ const o = String(n.getDate()).padStart(2, "0"), a = String(n.getMonth() + 1).padStart(2, "0"), l = n.getFullYear();
321
+ return `${o}.${a}.${l}`;
322
+ }, Kt = (n) => {
323
+ if (!n)
323
324
  return null;
324
- const r = a.split(".");
325
- if (r.length === 3) {
326
- const o = parseInt(r[0], 10), s = parseInt(r[1], 10) - 1, e = parseInt(r[2], 10);
327
- if (!isNaN(o) && !isNaN(s) && !isNaN(e)) {
328
- const l = new Date(e, s, o);
329
- if (l.getDate() === o && l.getMonth() === s && l.getFullYear() === e)
330
- return l;
325
+ const o = n.split(".");
326
+ if (o.length === 3) {
327
+ const a = parseInt(o[0], 10), l = parseInt(o[1], 10) - 1, r = parseInt(o[2], 10);
328
+ if (!isNaN(a) && !isNaN(l) && !isNaN(r)) {
329
+ const t = new Date(r, l, a);
330
+ if (t.getDate() === a && t.getMonth() === l && t.getFullYear() === r)
331
+ return t;
331
332
  }
332
333
  }
333
334
  return null;
334
- }, Yt = (a, r) => new Date(r, a, 1).toLocaleDateString("ru-RU", { month: "long", year: "numeric" }), Kt = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], le = P(
335
+ }, Ut = (n, o) => new Date(o, n, 1).toLocaleDateString("ru-RU", { month: "long", year: "numeric" }), Qt = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], ie = P(
335
336
  ({
336
- className: a,
337
- error: r,
338
- label: o,
339
- value: s,
340
- onChange: e,
341
- placeholder: l = "Дата обращения в Контакт-центр",
342
- ...m
343
- }, k) => {
344
- const [y, n] = I(""), [N, C] = I(!1), [c, v] = I((/* @__PURE__ */ new Date()).getMonth()), [h, x] = I((/* @__PURE__ */ new Date()).getFullYear()), [u, S] = I(null), F = s !== void 0, w = F ? s : y, { ref: L } = q(N, () => {
345
- C(!1);
346
- }), B = A(() => zt(w), [w]);
337
+ className: n,
338
+ error: o,
339
+ label: a,
340
+ value: l,
341
+ onChange: r,
342
+ placeholder: t = "Дата обращения в Контакт-центр",
343
+ ...f
344
+ }, p) => {
345
+ const [N, s] = T(""), [D, w] = T(!1), [d, k] = T((/* @__PURE__ */ new Date()).getMonth()), [h, b] = T((/* @__PURE__ */ new Date()).getFullYear()), [x, M] = T(null), S = l !== void 0, C = S ? l : N, { ref: B } = z(D, () => {
346
+ w(!1);
347
+ }), V = $(() => Kt(C), [C]);
347
348
  ye(() => {
348
- B && (S(B), v(B.getMonth()), x(B.getFullYear()));
349
- }, [B]);
350
- const T = A(() => {
351
- const f = new Date(h, c, 1), V = new Date(h, c + 1, 0).getDate(), p = f.getDay(), D = [], W = new Date(h, c, 0).getDate();
352
- for (let M = p - 1; M >= 0; M--)
353
- D.push(W - M);
354
- for (let M = 1; M <= V; M++)
355
- D.push(M);
356
- const H = 42 - D.length;
357
- for (let M = 1; M <= H; M++)
358
- D.push(M);
359
- return D;
360
- }, [c, h]), O = (f) => {
361
- const d = f.target.value;
362
- F || n(d), e == null || e(d);
363
- }, Z = (f, d, V) => {
364
- if (f === null)
349
+ V && (M(V), k(V.getMonth()), b(V.getFullYear()));
350
+ }, [V]);
351
+ const I = $(() => {
352
+ const g = new Date(h, d, 1), _ = new Date(h, d + 1, 0).getDate(), u = g.getDay(), L = [], W = new Date(h, d, 0).getDate();
353
+ for (let F = u - 1; F >= 0; F--)
354
+ L.push(W - F);
355
+ for (let F = 1; F <= _; F++)
356
+ L.push(F);
357
+ const H = 42 - L.length;
358
+ for (let F = 1; F <= H; F++)
359
+ L.push(F);
360
+ return L;
361
+ }, [d, h]), E = (g) => {
362
+ const i = g.target.value;
363
+ S || s(i), r == null || r(i);
364
+ }, j = (g, i, _) => {
365
+ if (g === null)
365
366
  return;
366
- let p = c, D = h;
367
- d ? (p = p - 1, p < 0 && (p = 11, D = D - 1)) : V && (p = p + 1, p > 11 && (p = 0, D = D + 1));
368
- const W = new Date(D, p, f), H = qt(W);
369
- S(W), v(p), x(D), F || n(H), e == null || e(H), C(!1);
370
- }, $ = () => {
371
- c === 0 ? (v(11), x(h - 1)) : v(c - 1);
372
- }, g = () => {
373
- c === 11 ? (v(0), x(h + 1)) : v(c + 1);
374
- }, _ = (f, d, V) => {
375
- if (!u || f === null)
367
+ let u = d, L = h;
368
+ i ? (u = u - 1, u < 0 && (u = 11, L = L - 1)) : _ && (u = u + 1, u > 11 && (u = 0, L = L + 1));
369
+ const W = new Date(L, u, g), H = Yt(W);
370
+ M(W), k(u), b(L), S || s(H), r == null || r(H), w(!1);
371
+ }, O = () => {
372
+ d === 0 ? (k(11), b(h - 1)) : k(d - 1);
373
+ }, m = () => {
374
+ d === 11 ? (k(0), b(h + 1)) : k(d + 1);
375
+ }, v = (g, i, _) => {
376
+ if (!x || g === null)
376
377
  return !1;
377
- let p = c, D = h;
378
- return d ? (p = p - 1, p < 0 && (p = 11, D = D - 1)) : V && (p = p + 1, p > 11 && (p = 0, D = D + 1)), u.getDate() === f && u.getMonth() === p && u.getFullYear() === D;
378
+ let u = d, L = h;
379
+ return i ? (u = u - 1, u < 0 && (u = 11, L = L - 1)) : _ && (u = u + 1, u > 11 && (u = 0, L = L + 1)), x.getDate() === g && x.getMonth() === u && x.getFullYear() === L;
379
380
  };
380
- return /* @__PURE__ */ i("div", { className: "w-full", children: [
381
- o && /* @__PURE__ */ t("label", { className: "block text-sm font-medium text-blackBG mb-2", children: o }),
382
- /* @__PURE__ */ i("div", { className: "relative", children: [
383
- /* @__PURE__ */ i(
381
+ return /* @__PURE__ */ c("div", { className: "w-full", children: [
382
+ a && /* @__PURE__ */ e("label", { className: "block text-sm font-medium text-blackBG mb-2", children: a }),
383
+ /* @__PURE__ */ c("div", { className: "relative", children: [
384
+ /* @__PURE__ */ c(
384
385
  "div",
385
386
  {
386
- className: b(
387
+ className: y(
387
388
  "relative flex items-center h-14 w-full rounded-2xl border-[1px] border-grayBlue bg-white",
388
389
  "transition-all duration-300 ease-in-out",
389
390
  "hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
390
391
  "focus-within:border-greenLight focus-within:shadow-[0_0_0_4px_rgba(22,163,74,0.15)]",
391
- r && "border-red-500 hover:border-red-500 focus-within:border-red-500 focus-within:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
392
- a
392
+ o && "border-red-500 hover:border-red-500 focus-within:border-red-500 focus-within:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
393
+ n
393
394
  ),
394
395
  children: [
395
- /* @__PURE__ */ t(
396
+ /* @__PURE__ */ e(
396
397
  "button",
397
398
  {
398
399
  type: "button",
399
- onClick: () => C(!N),
400
+ onClick: () => w(!D),
400
401
  className: "absolute left-4 flex items-center justify-center cursor-pointer",
401
402
  tabIndex: -1,
402
- children: /* @__PURE__ */ t(Xt, {})
403
+ children: /* @__PURE__ */ e(qt, {})
403
404
  }
404
405
  ),
405
- /* @__PURE__ */ t(
406
+ /* @__PURE__ */ e(
406
407
  "input",
407
408
  {
408
409
  type: "text",
409
410
  inputMode: "none",
410
- className: b(
411
+ className: y(
411
412
  "flex h-full w-full rounded-2xl px-[16px] pl-[48px] py-[16px] text-base",
412
413
  "placeholder:text-gray2 placeholder:opacity-60",
413
414
  "bg-transparent border-none outline-none",
414
415
  "disabled:cursor-not-allowed disabled:opacity-50"
415
416
  ),
416
- ref: k,
417
- value: w,
418
- onChange: O,
419
- placeholder: l,
420
- onClick: () => C(!0),
417
+ ref: p,
418
+ value: C,
419
+ onChange: E,
420
+ placeholder: t,
421
+ onClick: () => w(!0),
421
422
  readOnly: !0,
422
- ...m
423
+ ...f
423
424
  }
424
425
  )
425
426
  ]
426
427
  }
427
428
  ),
428
- N && /* @__PURE__ */ i(
429
+ D && /* @__PURE__ */ c(
429
430
  "div",
430
431
  {
431
- ref: L,
432
+ ref: B,
432
433
  className: "absolute top-[calc(100%+8px)] left-0 z-50 bg-white rounded-2xl border border-grayBlue shadow-lg p-4 min-w-[320px]",
433
434
  children: [
434
- /* @__PURE__ */ i("div", { className: "flex items-center justify-between mb-4", children: [
435
- /* @__PURE__ */ t(
435
+ /* @__PURE__ */ c("div", { className: "flex items-center justify-between mb-4", children: [
436
+ /* @__PURE__ */ e(
436
437
  "button",
437
438
  {
438
439
  type: "button",
439
- onClick: $,
440
+ onClick: O,
440
441
  className: "p-2 hover:bg-grayBlue rounded-lg transition-colors",
441
- children: /* @__PURE__ */ t(
442
+ children: /* @__PURE__ */ e(
442
443
  "svg",
443
444
  {
444
445
  width: "16",
@@ -446,7 +447,7 @@ const Xt = () => /* @__PURE__ */ t(
446
447
  viewBox: "0 0 16 16",
447
448
  fill: "none",
448
449
  xmlns: "http://www.w3.org/2000/svg",
449
- children: /* @__PURE__ */ t(
450
+ children: /* @__PURE__ */ e(
450
451
  "path",
451
452
  {
452
453
  d: "M10 12L6 8L10 4",
@@ -460,14 +461,14 @@ const Xt = () => /* @__PURE__ */ t(
460
461
  )
461
462
  }
462
463
  ),
463
- /* @__PURE__ */ t("h3", { className: "text-base font-semibold text-blackBG", children: Yt(c, h) }),
464
- /* @__PURE__ */ t(
464
+ /* @__PURE__ */ e("h3", { className: "text-base font-semibold text-blackBG", children: Ut(d, h) }),
465
+ /* @__PURE__ */ e(
465
466
  "button",
466
467
  {
467
468
  type: "button",
468
- onClick: g,
469
+ onClick: m,
469
470
  className: "p-2 hover:bg-grayBlue rounded-lg transition-colors",
470
- children: /* @__PURE__ */ t(
471
+ children: /* @__PURE__ */ e(
471
472
  "svg",
472
473
  {
473
474
  width: "16",
@@ -475,7 +476,7 @@ const Xt = () => /* @__PURE__ */ t(
475
476
  viewBox: "0 0 16 16",
476
477
  fill: "none",
477
478
  xmlns: "http://www.w3.org/2000/svg",
478
- children: /* @__PURE__ */ t(
479
+ children: /* @__PURE__ */ e(
479
480
  "path",
480
481
  {
481
482
  d: "M6 4L10 8L6 12",
@@ -490,90 +491,90 @@ const Xt = () => /* @__PURE__ */ t(
490
491
  }
491
492
  )
492
493
  ] }),
493
- /* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1 mb-2", children: Kt.map((f) => /* @__PURE__ */ t(
494
+ /* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1 mb-2", children: Qt.map((g) => /* @__PURE__ */ e(
494
495
  "div",
495
496
  {
496
497
  className: "text-center text-xs font-medium text-grayBlue5 py-2",
497
- children: f
498
+ children: g
498
499
  },
499
- f
500
+ g
500
501
  )) }),
501
- /* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1", children: T.map((f, d) => {
502
- const p = new Date(h, c, 1).getDay(), D = new Date(
502
+ /* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1", children: I.map((g, i) => {
503
+ const u = new Date(h, d, 1).getDay(), L = new Date(
503
504
  h,
504
- c + 1,
505
+ d + 1,
505
506
  0
506
- ).getDate(), W = d < p, H = d >= p + D, M = !W && !H, he = _(
507
- f,
507
+ ).getDate(), W = i < u, H = i >= u + L, F = !W && !H, he = v(
508
+ g,
508
509
  W,
509
510
  H
510
511
  );
511
- return /* @__PURE__ */ t(
512
+ return /* @__PURE__ */ e(
512
513
  "button",
513
514
  {
514
515
  type: "button",
515
- onClick: () => Z(f, W, H),
516
- disabled: f === null,
517
- className: b(
516
+ onClick: () => j(g, W, H),
517
+ disabled: g === null,
518
+ className: y(
518
519
  "w-10 h-10 rounded-lg text-sm font-medium transition-colors",
519
520
  "hover:bg-[#E8F4FD] focus:outline-none focus:bg-[#E8F4FD]",
520
- M ? "text-blackBG" : "text-grayBlue5 opacity-50",
521
+ F ? "text-blackBG" : "text-grayBlue5 opacity-50",
521
522
  he && "bg-[#16A34A] text-white hover:bg-[#16A34A] focus:bg-[#16A34A]"
522
523
  ),
523
- children: f
524
+ children: g
524
525
  },
525
- d
526
+ i
526
527
  );
527
528
  }) })
528
529
  ]
529
530
  }
530
531
  )
531
532
  ] }),
532
- r && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: r })
533
+ o && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: o })
533
534
  ] });
534
535
  }
535
536
  );
536
- le.displayName = "DateInput";
537
- const ie = P(
537
+ ie.displayName = "DateInput";
538
+ const ce = P(
538
539
  ({
539
- className: a,
540
- isFormatted: r,
541
- isReadable: o,
542
- error: s,
543
- label: e,
544
- onChange: l,
545
- value: m,
546
- defaultValue: k,
547
- ...y
548
- }, n) => {
549
- const N = we(null);
550
- te(n, () => N.current);
551
- const C = !!o || !!r, c = ke(
552
- (x) => {
553
- if (x == null || x === "")
540
+ className: n,
541
+ isFormatted: o,
542
+ isReadable: a,
543
+ error: l,
544
+ label: r,
545
+ onChange: t,
546
+ value: f,
547
+ defaultValue: p,
548
+ ...N
549
+ }, s) => {
550
+ const D = we(null);
551
+ te(s, () => D.current);
552
+ const w = !!a || !!o, d = ke(
553
+ (b) => {
554
+ if (b == null || b === "")
554
555
  return "";
555
- const u = Array.isArray(x) ? x.join("").replace(/\D/g, "") : x.toString().replace(/\D/g, "");
556
- return C ? u.replace(/\B(?=(\d{3})+(?!\d))/g, " ") : u;
556
+ const x = Array.isArray(b) ? b.join("").replace(/\D/g, "") : b.toString().replace(/\D/g, "");
557
+ return w ? x.replace(/\B(?=(\d{3})+(?!\d))/g, " ") : x;
557
558
  },
558
- [C]
559
+ [w]
559
560
  ), h = {
560
- ...y,
561
+ ...N,
561
562
  type: "text",
562
563
  inputMode: "numeric",
563
- onChange: (x) => {
564
- const u = x.target, S = u.value, F = S.replace(/\D/g, ""), w = u.selectionStart || 0, L = S.slice(0, w).replace(/\D/g, "").length, B = c(F);
565
- if (u.value = B, l) {
566
- const T = u.value;
567
- u.value = F, l(x), u.value = T;
564
+ onChange: (b) => {
565
+ const x = b.target, M = x.value, S = M.replace(/\D/g, ""), C = x.selectionStart || 0, B = M.slice(0, C).replace(/\D/g, "").length, V = d(S);
566
+ if (x.value = V, t) {
567
+ const I = x.value;
568
+ x.value = S, t(b), x.value = I;
568
569
  }
569
- if (C) {
570
- let T = 0, O = 0;
571
- for (; O < L && T < u.value.length; )
572
- /\d/.test(u.value[T]) && O++, T++;
573
- u.setSelectionRange(T, T);
570
+ if (w) {
571
+ let I = 0, E = 0;
572
+ for (; E < B && I < x.value.length; )
573
+ /\d/.test(x.value[I]) && E++, I++;
574
+ x.setSelectionRange(I, I);
574
575
  }
575
576
  },
576
- className: b(
577
+ className: y(
577
578
  "flex h-14 w-full rounded-2xl border-[1px] border-grayBlue bg-white px-[16px] py-[16px] text-base text-blackBG",
578
579
  "placeholder:text-gray2 placeholder:opacity-60",
579
580
  "transition-all duration-300 ease-in-out",
@@ -581,153 +582,153 @@ const ie = P(
581
582
  "focus:border-greenLight focus:outline-none focus:ring-0 focus:shadow-[0_0_0_4px_rgba(22,163,74,0.15)]",
582
583
  "disabled:cursor-not-allowed disabled:bg-lightGray disabled:opacity-50",
583
584
  "[appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
584
- s && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
585
- a
585
+ l && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
586
+ n
586
587
  )
587
588
  };
588
- return m !== void 0 ? h.value = c(m) : k !== void 0 && (h.defaultValue = c(k)), /* @__PURE__ */ i("div", { className: "w-full", children: [
589
- e && /* @__PURE__ */ t("label", { className: "mb-2 block text-sm font-medium text-blackBG", children: e }),
590
- /* @__PURE__ */ t("div", { className: "group relative", children: /* @__PURE__ */ t(
589
+ return f !== void 0 ? h.value = d(f) : p !== void 0 && (h.defaultValue = d(p)), /* @__PURE__ */ c("div", { className: "w-full", children: [
590
+ r && /* @__PURE__ */ e("label", { className: "mb-2 block text-sm font-medium text-blackBG", children: r }),
591
+ /* @__PURE__ */ e("div", { className: "group relative", children: /* @__PURE__ */ e(
591
592
  "input",
592
593
  {
593
594
  ...h,
594
- ref: N
595
+ ref: D
595
596
  }
596
597
  ) }),
597
- s && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: s })
598
+ l && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: l })
598
599
  ] });
599
600
  }
600
601
  );
601
- ie.displayName = "NumberField";
602
- const Qt = {
602
+ ce.displayName = "NumberField";
603
+ const Jt = {
603
604
  96: { name: "Кыргызстан", short: "KG", mask: "+996", length: 9 }
604
- }, Ut = (a) => {
605
- const r = a.toUpperCase().split("").map((o) => 127397 + o.charCodeAt(0));
606
- return String.fromCodePoint(...r);
607
- }, K = () => Object.entries(Qt).map(([a, r]) => ({
608
- id: a,
609
- name: r.name,
610
- short: r.short,
611
- mask: r.mask,
612
- dialCode: r.mask.replace("+", ""),
613
- length: r.length,
614
- flag: Ut(r.short)
615
- })), E = (a) => K().find((o) => o.id === a), J = (a, r) => {
616
- const o = r.dialCode, s = r.length;
617
- let e = a;
618
- a.startsWith(o) && (e = a.slice(o.length));
619
- const l = e.slice(0, s);
620
- if (l.length === 0)
621
- return r.mask;
622
- let m = l;
623
- return l.length > 6 ? m = `${l.slice(0, 3)} ${l.slice(3, 6)} ${l.slice(6)}` : l.length > 3 && (m = `${l.slice(0, 3)} ${l.slice(3)}`), `${r.mask} ${m}`;
624
- }, Jt = (a, r) => {
625
- if (!a)
605
+ }, er = (n) => {
606
+ const o = n.toUpperCase().split("").map((a) => 127397 + a.charCodeAt(0));
607
+ return String.fromCodePoint(...o);
608
+ }, K = () => Object.entries(Jt).map(([n, o]) => ({
609
+ id: n,
610
+ name: o.name,
611
+ short: o.short,
612
+ mask: o.mask,
613
+ dialCode: o.mask.replace("+", ""),
614
+ length: o.length,
615
+ flag: er(o.short)
616
+ })), Z = (n) => K().find((a) => a.id === n), J = (n, o) => {
617
+ const a = o.dialCode, l = o.length;
618
+ let r = n;
619
+ n.startsWith(a) && (r = n.slice(a.length));
620
+ const t = r.slice(0, l);
621
+ if (t.length === 0)
622
+ return o.mask;
623
+ let f = t;
624
+ return t.length > 6 ? f = `${t.slice(0, 3)} ${t.slice(3, 6)} ${t.slice(6)}` : t.length > 3 && (f = `${t.slice(0, 3)} ${t.slice(3)}`), `${o.mask} ${f}`;
625
+ }, tr = (n, o) => {
626
+ if (!n)
626
627
  return null;
627
- const o = a.replace(/\D/g, ""), s = K();
628
- if (a.startsWith("+")) {
629
- for (const e of s)
630
- if (a.startsWith(e.mask))
631
- return e;
628
+ const a = n.replace(/\D/g, ""), l = K();
629
+ if (n.startsWith("+")) {
630
+ for (const r of l)
631
+ if (n.startsWith(r.mask))
632
+ return r;
632
633
  }
633
- for (const e of s)
634
- if (o.startsWith(e.dialCode))
635
- return e;
636
- return o.startsWith("0") && E("96") || null;
637
- }, ce = P(
634
+ for (const r of l)
635
+ if (a.startsWith(r.dialCode))
636
+ return r;
637
+ return a.startsWith("0") && Z("96") || null;
638
+ }, de = P(
638
639
  ({
639
- className: a,
640
- error: r,
641
- label: o,
642
- value: s,
643
- onChange: e,
644
- defaultCountry: l = "996",
645
- ...m
646
- }, k) => {
647
- const [y, n] = I(""), [N, C] = I(l), [c, v] = I(!1), [h, x] = I(""), u = s !== void 0, S = u ? s : y, { ref: F } = q(c, () => {
648
- v(!1), x("");
649
- }), w = A(() => K(), []), L = E(N) || w[0], B = A(() => {
640
+ className: n,
641
+ error: o,
642
+ label: a,
643
+ value: l,
644
+ onChange: r,
645
+ defaultCountry: t = "996",
646
+ ...f
647
+ }, p) => {
648
+ const [N, s] = T(""), [D, w] = T(t), [d, k] = T(!1), [h, b] = T(""), x = l !== void 0, M = x ? l : N, { ref: S } = z(d, () => {
649
+ k(!1), b("");
650
+ }), C = $(() => K(), []), B = Z(D) || C[0], V = $(() => {
650
651
  if (!h)
651
- return w;
652
- const g = h.toLowerCase();
653
- return w.filter(
654
- (_) => _.name.toLowerCase().includes(g) || _.mask.toLowerCase().includes(g) || _.short.toLowerCase().includes(g)
652
+ return C;
653
+ const m = h.toLowerCase();
654
+ return C.filter(
655
+ (v) => v.name.toLowerCase().includes(m) || v.mask.toLowerCase().includes(m) || v.short.toLowerCase().includes(m)
655
656
  );
656
- }, [w, h]), O = ((g) => {
657
- if (!g)
657
+ }, [C, h]), E = ((m) => {
658
+ if (!m)
658
659
  return "";
659
- const _ = g.replace(/\D/g, "");
660
- let f = _;
661
- (_.startsWith(L.dialCode) || g.startsWith(L.mask)) && (f = _.slice(L.dialCode.length));
662
- const d = f.slice(0, L.length);
663
- return d.length === 0 ? "" : d.length <= 3 ? d : d.length <= 6 ? `${d.slice(0, 3)} ${d.slice(3)}` : `${d.slice(0, 3)} ${d.slice(3, 6)} ${d.slice(6)}`;
664
- })(S), Z = (g) => {
665
- C(g), v(!1), x("");
666
- const _ = S.replace(/\D/g, ""), f = E(g);
667
- if (!f)
660
+ const v = m.replace(/\D/g, "");
661
+ let g = v;
662
+ (v.startsWith(B.dialCode) || m.startsWith(B.mask)) && (g = v.slice(B.dialCode.length));
663
+ const i = g.slice(0, B.length);
664
+ return i.length === 0 ? "" : i.length <= 3 ? i : i.length <= 6 ? `${i.slice(0, 3)} ${i.slice(3)}` : `${i.slice(0, 3)} ${i.slice(3, 6)} ${i.slice(6)}`;
665
+ })(M), j = (m) => {
666
+ w(m), k(!1), b("");
667
+ const v = M.replace(/\D/g, ""), g = Z(m);
668
+ if (!g)
668
669
  return;
669
- let d = _;
670
- _.startsWith(L.dialCode) && (d = _.slice(L.dialCode.length));
671
- const V = J(d, f);
672
- u || n(V), e == null || e(V);
673
- }, $ = (g) => {
674
- const _ = g.target.value, f = _.replace(/\D/g, ""), d = Jt(
675
- _
670
+ let i = v;
671
+ v.startsWith(B.dialCode) && (i = v.slice(B.dialCode.length));
672
+ const _ = J(i, g);
673
+ x || s(_), r == null || r(_);
674
+ }, O = (m) => {
675
+ const v = m.target.value, g = v.replace(/\D/g, ""), i = tr(
676
+ v
676
677
  );
677
- d && d.id !== N && C(d.id);
678
- const V = d || E(N) || L, p = J(f, V);
679
- u || n(p), e == null || e(p);
678
+ i && i.id !== D && w(i.id);
679
+ const _ = i || Z(D) || B, u = J(g, _);
680
+ x || s(u), r == null || r(u);
680
681
  };
681
- return /* @__PURE__ */ i("div", { className: "w-full", children: [
682
- o && /* @__PURE__ */ t("label", { className: "block text-sm font-medium text-blackBG mb-2", children: o }),
683
- /* @__PURE__ */ i(
682
+ return /* @__PURE__ */ c("div", { className: "w-full", children: [
683
+ a && /* @__PURE__ */ e("label", { className: "block text-sm font-medium text-blackBG mb-2", children: a }),
684
+ /* @__PURE__ */ c(
684
685
  "div",
685
686
  {
686
- className: b(
687
+ className: y(
687
688
  "relative flex gap-2 h-14 flex-1 rounded-2xl border-[1px] border-grayBlue bg-white text-base",
688
689
  "placeholder:text-gray2 placeholder:opacity-60",
689
690
  "transition-all duration-300 ease-in-out",
690
691
  "hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
691
692
  "focus:border-greenLight focus:outline-none focus:shadow-[0_0_0_4px_rgba(22,163,74,0.15)] focus:ring-0",
692
693
  "disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-lightGray",
693
- r && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
694
- a
694
+ o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
695
+ n
695
696
  ),
696
697
  children: [
697
- /* @__PURE__ */ i(
698
+ /* @__PURE__ */ c(
698
699
  "div",
699
700
  {
700
- ref: F,
701
+ ref: S,
701
702
  className: "relative",
702
703
  children: [
703
- /* @__PURE__ */ i(
704
+ /* @__PURE__ */ c(
704
705
  "button",
705
706
  {
706
707
  type: "button",
707
- onClick: () => v(!c),
708
- className: b(
708
+ onClick: () => k(!d),
709
+ className: y(
709
710
  "flex h-14 w-[120px] rounded-2xl px-3 py-2 items-center justify-center cursor-pointer shrink-0",
710
711
  "transition-all duration-300 ease-in-out",
711
- r && "border-red-500 hover:border-red-500 focus:border-red-500",
712
- c && "border-greenLight"
712
+ o && "border-red-500 hover:border-red-500 focus:border-red-500",
713
+ d && "border-greenLight"
713
714
  ),
714
715
  children: [
715
- /* @__PURE__ */ i("span", { className: "text-base font-medium whitespace-nowrap", children: [
716
- L.flag,
716
+ /* @__PURE__ */ c("span", { className: "text-base font-medium whitespace-nowrap", children: [
717
+ B.flag,
717
718
  " ",
718
- L.mask
719
+ B.mask
719
720
  ] }),
720
- /* @__PURE__ */ t(
721
+ /* @__PURE__ */ e(
721
722
  "svg",
722
723
  {
723
- className: b(
724
+ className: y(
724
725
  "w-4 h-4 ml-1 text-grayBlue5 transition-transform duration-200 shrink-0",
725
- c && "rotate-180"
726
+ d && "rotate-180"
726
727
  ),
727
728
  fill: "none",
728
729
  stroke: "currentColor",
729
730
  viewBox: "0 0 24 24",
730
- children: /* @__PURE__ */ t(
731
+ children: /* @__PURE__ */ e(
731
732
  "path",
732
733
  {
733
734
  strokeLinecap: "round",
@@ -741,135 +742,135 @@ const Qt = {
741
742
  ]
742
743
  }
743
744
  ),
744
- c && /* @__PURE__ */ i("div", { className: "absolute top-[calc(100%+4px)] left-0 z-50 bg-white rounded-2xl border border-grayBlue shadow-lg max-h-[400px] overflow-hidden flex flex-col min-w-[280px]", children: [
745
- /* @__PURE__ */ t("div", { className: "p-3 border-b border-grayBlue", children: /* @__PURE__ */ t(
745
+ d && /* @__PURE__ */ c("div", { className: "absolute top-[calc(100%+4px)] left-0 z-50 bg-white rounded-2xl border border-grayBlue shadow-lg max-h-[400px] overflow-hidden flex flex-col min-w-[280px]", children: [
746
+ /* @__PURE__ */ e("div", { className: "p-3 border-b border-grayBlue", children: /* @__PURE__ */ e(
746
747
  "input",
747
748
  {
748
749
  type: "text",
749
750
  value: h,
750
- onChange: (g) => x(g.target.value),
751
+ onChange: (m) => b(m.target.value),
751
752
  placeholder: "Поиск страны...",
752
- className: b(
753
+ className: y(
753
754
  "w-full px-3 py-2 rounded-xl border-[1px] border-grayBlue text-sm",
754
755
  "focus:outline-none focus:border-greenLight"
755
756
  ),
756
- onClick: (g) => g.stopPropagation()
757
+ onClick: (m) => m.stopPropagation()
757
758
  }
758
759
  ) }),
759
- /* @__PURE__ */ t("div", { className: "overflow-y-auto max-h-[340px]", children: B.length > 0 ? B.map((g) => /* @__PURE__ */ t(
760
+ /* @__PURE__ */ e("div", { className: "overflow-y-auto max-h-[340px]", children: V.length > 0 ? V.map((m) => /* @__PURE__ */ e(
760
761
  "button",
761
762
  {
762
763
  type: "button",
763
- onClick: () => Z(g.id),
764
- className: b(
764
+ onClick: () => j(m.id),
765
+ className: y(
765
766
  "w-full px-4 py-3 text-left cursor-pointer text-base text-blackBG transition-colors",
766
767
  "hover:bg-[#E8F4FD] focus:bg-[#E8F4FD] focus:outline-none",
767
- N === g.id && "bg-[#E8F4FD]",
768
+ D === m.id && "bg-[#E8F4FD]",
768
769
  "first:rounded-t-2xl"
769
770
  ),
770
- children: /* @__PURE__ */ i("span", { className: "flex items-center gap-2", children: [
771
- /* @__PURE__ */ t("span", { className: "text-lg", children: g.flag }),
772
- /* @__PURE__ */ t("span", { className: "font-medium", children: g.mask }),
773
- /* @__PURE__ */ t("span", { className: "text-sm text-grayBlue5", children: g.name })
771
+ children: /* @__PURE__ */ c("span", { className: "flex items-center gap-2", children: [
772
+ /* @__PURE__ */ e("span", { className: "text-lg", children: m.flag }),
773
+ /* @__PURE__ */ e("span", { className: "font-medium", children: m.mask }),
774
+ /* @__PURE__ */ e("span", { className: "text-sm text-grayBlue5", children: m.name })
774
775
  ] })
775
776
  },
776
- g.id
777
- )) : /* @__PURE__ */ t("div", { className: "px-4 py-3 text-center text-grayBlue5", children: "Страны не найдены" }) })
777
+ m.id
778
+ )) : /* @__PURE__ */ e("div", { className: "px-4 py-3 text-center text-grayBlue5", children: "Страны не найдены" }) })
778
779
  ] })
779
780
  ]
780
781
  }
781
782
  ),
782
- /* @__PURE__ */ t(
783
+ /* @__PURE__ */ e(
783
784
  "input",
784
785
  {
785
786
  type: "tel",
786
787
  inputMode: "tel",
787
- className: b(
788
+ className: y(
788
789
  "flex h-full flex-1 rounded-2xl px-[16px] py-[16px] text-base",
789
790
  "placeholder:text-gray2 placeholder:opacity-60",
790
791
  "transition-all duration-300 ease-in-out",
791
792
  "hover:border-none hover:shadow-none",
792
793
  "focus:border-none focus:outline-none focus:shadow-none focus:ring-0",
793
794
  "disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-lightGray",
794
- r && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
795
- a
795
+ o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
796
+ n
796
797
  ),
797
- ref: k,
798
- value: O,
799
- onChange: $,
798
+ ref: p,
799
+ value: E,
800
+ onChange: O,
800
801
  placeholder: "XXX XXX XXX",
801
- ...m
802
+ ...f
802
803
  }
803
804
  )
804
805
  ]
805
806
  }
806
807
  ),
807
- r && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: r })
808
+ o && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: o })
808
809
  ] });
809
810
  }
810
811
  );
811
- ce.displayName = "PhoneInput";
812
- const de = P(
812
+ de.displayName = "PhoneInput";
813
+ const pe = P(
813
814
  ({
814
- label: a,
815
- options: r = [],
816
- value: o = [],
817
- name: s,
818
- onChange: e,
819
- error: l,
820
- className: m,
821
- direction: k = "column"
822
- }, y) => /* @__PURE__ */ i(
815
+ label: n,
816
+ options: o = [],
817
+ value: a = [],
818
+ name: l,
819
+ onChange: r,
820
+ error: t,
821
+ className: f,
822
+ direction: p = "column"
823
+ }, N) => /* @__PURE__ */ c(
823
824
  "div",
824
825
  {
825
- ref: y,
826
- className: b("flex flex-col gap-2", m),
826
+ ref: N,
827
+ className: y("flex flex-col gap-2", f),
827
828
  children: [
828
- a && /* @__PURE__ */ t("label", { className: "text-sm font-medium text-blackBG mb-1", children: a }),
829
- /* @__PURE__ */ t(
829
+ n && /* @__PURE__ */ e("label", { className: "text-sm font-medium text-blackBG mb-1", children: n }),
830
+ /* @__PURE__ */ e(
830
831
  "div",
831
832
  {
832
- className: b(
833
+ className: y(
833
834
  "flex gap-4",
834
- k === "column" ? "flex-col" : "flex-row flex-wrap"
835
+ p === "column" ? "flex-col" : "flex-row flex-wrap"
835
836
  ),
836
- children: r == null ? void 0 : r.map((n) => /* @__PURE__ */ t(
837
- pe,
837
+ children: o == null ? void 0 : o.map((s) => /* @__PURE__ */ e(
838
+ me,
838
839
  {
839
- name: s,
840
- label: n == null ? void 0 : n.label,
841
- value: n == null ? void 0 : n.value,
842
- checked: o === (n == null ? void 0 : n.value),
843
- onChange: () => e == null ? void 0 : e(n == null ? void 0 : n.value),
844
- error: l && !o ? l : void 0
840
+ name: l,
841
+ label: s == null ? void 0 : s.label,
842
+ value: s == null ? void 0 : s.value,
843
+ checked: a === (s == null ? void 0 : s.value),
844
+ onChange: () => r == null ? void 0 : r(s == null ? void 0 : s.value),
845
+ error: t && !a ? t : void 0
845
846
  },
846
- n == null ? void 0 : n.value
847
+ s == null ? void 0 : s.value
847
848
  ))
848
849
  }
849
850
  ),
850
- l && /* @__PURE__ */ t("p", { className: "mt-1 text-sm text-red-500", children: l })
851
+ t && /* @__PURE__ */ e("p", { className: "mt-1 text-sm text-red-500", children: t })
851
852
  ]
852
853
  }
853
854
  )
854
855
  );
855
- de.displayName = "RadioGroup";
856
- const pe = P(
857
- ({ className: a, label: r, error: o, ...s }, e) => /* @__PURE__ */ i("div", { className: "w-full", children: [
858
- /* @__PURE__ */ i("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
859
- /* @__PURE__ */ i("div", { className: "relative flex items-center justify-center mt-0.5", children: [
860
- /* @__PURE__ */ t(
856
+ pe.displayName = "RadioGroup";
857
+ const me = P(
858
+ ({ className: n, label: o, error: a, ...l }, r) => /* @__PURE__ */ c("div", { className: "w-full", children: [
859
+ /* @__PURE__ */ c("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
860
+ /* @__PURE__ */ c("div", { className: "relative flex items-center justify-center mt-0.5", children: [
861
+ /* @__PURE__ */ e(
861
862
  "input",
862
863
  {
863
864
  type: "radio",
864
865
  className: "peer sr-only",
865
- ref: e,
866
- ...s
866
+ ref: r,
867
+ ...l
867
868
  }
868
869
  ),
869
- /* @__PURE__ */ t(
870
+ /* @__PURE__ */ e(
870
871
  "div",
871
872
  {
872
- className: b(
873
+ className: y(
873
874
  "relative flex items-center justify-center w-5 h-5 rounded-full border-2 transition-all duration-200",
874
875
  "border-grayBlue5 bg-white",
875
876
  "peer-checked:bg-white peer-checked:border-greenLight",
@@ -880,103 +881,103 @@ const pe = P(
880
881
  "after:w-2.5 after:h-2.5 after:rounded-full after:bg-greenLight",
881
882
  "after:top-1/2 after:left-1/2 after:-translate-x-1/2 after:-translate-y-1/2",
882
883
  "peer-checked:after:opacity-100",
883
- o && "border-red-500",
884
- a
884
+ a && "border-red-500",
885
+ n
885
886
  )
886
887
  }
887
888
  )
888
889
  ] }),
889
- r && /* @__PURE__ */ t(
890
+ o && /* @__PURE__ */ e(
890
891
  "span",
891
892
  {
892
- className: b(
893
+ className: y(
893
894
  "text-sm leading-5 text-graySoft select-none",
894
895
  "group-hover:text-blackBG transition-colors duration-200",
895
- o && "text-red-500"
896
+ a && "text-red-500"
896
897
  ),
897
- children: r
898
+ children: o
898
899
  }
899
900
  )
900
901
  ] }),
901
- o && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: o })
902
+ a && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: a })
902
903
  ] })
903
904
  );
904
- pe.displayName = "Radio";
905
- const me = P(
905
+ me.displayName = "Radio";
906
+ const ue = P(
906
907
  ({
907
- className: a,
908
- error: r,
909
- label: o,
910
- options: s = [],
911
- placeholder: e = "Выберите категорию",
912
- value: l,
913
- onChange: m,
914
- onBlur: k,
915
- name: y,
916
- disabled: n,
917
- ...N
918
- }, C) => {
908
+ className: n,
909
+ error: o,
910
+ label: a,
911
+ options: l = [],
912
+ placeholder: r = "Выберите категорию",
913
+ value: t,
914
+ onChange: f,
915
+ onBlur: p,
916
+ name: N,
917
+ disabled: s,
918
+ ...D
919
+ }, w) => {
919
920
  const {
920
- ref: c,
921
- isShow: v,
921
+ ref: d,
922
+ isShow: k,
922
923
  setIsShow: h
923
- } = q(!1);
924
- te(C, () => c.current);
925
- const x = s.find((w) => w.value === l), u = () => {
926
- n || h(!v);
927
- }, S = (w) => {
928
- m && m({
924
+ } = z(!1);
925
+ te(w, () => d.current);
926
+ const b = l.find((C) => C.value === t), x = () => {
927
+ s || h(!k);
928
+ }, M = (C) => {
929
+ f && f({
929
930
  target: {
930
- name: y,
931
- value: w.value
931
+ name: N,
932
+ value: C.value
932
933
  }
933
934
  }), h(!1);
934
- }, F = (w) => {
935
- k && k({
935
+ }, S = (C) => {
936
+ p && p({
936
937
  target: {
937
- name: y,
938
- value: l
938
+ name: N,
939
+ value: t
939
940
  }
940
941
  });
941
942
  };
942
- return /* @__PURE__ */ i(
943
+ return /* @__PURE__ */ c(
943
944
  "div",
944
945
  {
945
- className: b("w-full", a),
946
- ref: c,
947
- onBlur: F,
948
- ...N,
946
+ className: y("w-full", n),
947
+ ref: d,
948
+ onBlur: S,
949
+ ...D,
949
950
  children: [
950
- o && /* @__PURE__ */ t("label", { className: "mb-2 block text-sm font-medium text-blackBG", children: o }),
951
- /* @__PURE__ */ i("div", { className: "relative", children: [
952
- /* @__PURE__ */ i(
951
+ a && /* @__PURE__ */ e("label", { className: "mb-2 block text-sm font-medium text-blackBG", children: a }),
952
+ /* @__PURE__ */ c("div", { className: "relative", children: [
953
+ /* @__PURE__ */ c(
953
954
  "button",
954
955
  {
955
956
  type: "button",
956
- onClick: u,
957
- disabled: n,
958
- className: b(
957
+ onClick: x,
958
+ disabled: s,
959
+ className: y(
959
960
  "flex h-14 w-full items-center justify-between rounded-2xl border-[1px] border-grayBlue bg-white px-[20px] text-base text-blackBG",
960
961
  "transition-all duration-300 ease-in-out",
961
962
  "hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
962
- v && "border-greenLight shadow-[0_0_0_4px_rgba(22,163,74,0.15)] ring-0 outline-none",
963
- n && "cursor-not-allowed bg-lightGray opacity-50",
964
- r && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
965
- !x && "text-gray2 opacity-60"
963
+ k && "border-greenLight shadow-[0_0_0_4px_rgba(22,163,74,0.15)] ring-0 outline-none",
964
+ s && "cursor-not-allowed bg-lightGray opacity-50",
965
+ o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
966
+ !b && "text-gray2 opacity-60"
966
967
  ),
967
968
  children: [
968
- /* @__PURE__ */ t("span", { className: "truncate", children: x ? x.label : e }),
969
- /* @__PURE__ */ t(
969
+ /* @__PURE__ */ e("span", { className: "truncate", children: b ? b.label : r }),
970
+ /* @__PURE__ */ e(
970
971
  "svg",
971
972
  {
972
- className: b(
973
+ className: y(
973
974
  "ml-2 h-5 w-5 text-gray2 transition-transform duration-300",
974
- v && "rotate-180"
975
+ k && "rotate-180"
975
976
  ),
976
977
  fill: "none",
977
978
  stroke: "currentColor",
978
979
  viewBox: "0 0 24 24",
979
- children: /* @__PURE__ */ t(
980
+ children: /* @__PURE__ */ e(
980
981
  "path",
981
982
  {
982
983
  strokeLinecap: "round",
@@ -990,43 +991,43 @@ const me = P(
990
991
  ]
991
992
  }
992
993
  ),
993
- v && /* @__PURE__ */ t(
994
+ k && /* @__PURE__ */ e(
994
995
  "div",
995
996
  {
996
- className: b(
997
+ className: y(
997
998
  "absolute left-0 z-[100] mt-2 w-full overflow-hidden rounded-2xl border-[1px] border-grayBlue bg-white shadow-xl",
998
999
  "transition-all duration-200 ease-in-out"
999
1000
  ),
1000
- children: /* @__PURE__ */ t("div", { className: "max-h-[280px] overflow-y-auto py-2", children: s.length > 0 ? s.map((w) => /* @__PURE__ */ t(
1001
+ children: /* @__PURE__ */ e("div", { className: "max-h-[280px] overflow-y-auto py-2", children: l.length > 0 ? l.map((C) => /* @__PURE__ */ e(
1001
1002
  "button",
1002
1003
  {
1003
1004
  type: "button",
1004
- onClick: () => S(w),
1005
- className: b(
1005
+ onClick: () => M(C),
1006
+ className: y(
1006
1007
  "flex w-full items-center px-5 py-3 text-left text-base transition-colors",
1007
1008
  "hover:bg-green-50 active:bg-green-100",
1008
- w.value === l && "bg-green-50 font-medium text-greenLight",
1009
+ C.value === t && "bg-green-50 font-medium text-greenLight",
1009
1010
  // Мобильные отступы чуть больше для удобства тапа
1010
1011
  "max-tablet:py-4"
1011
1012
  ),
1012
- children: w.label
1013
+ children: C.label
1013
1014
  },
1014
- w.value
1015
- )) : /* @__PURE__ */ t("div", { className: "px-5 py-3 text-sm text-gray2", children: "Нет данных" }) })
1015
+ C.value
1016
+ )) : /* @__PURE__ */ e("div", { className: "px-5 py-3 text-sm text-gray2", children: "Нет данных" }) })
1016
1017
  }
1017
1018
  )
1018
1019
  ] }),
1019
- r && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: r })
1020
+ o && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: o })
1020
1021
  ]
1021
1022
  }
1022
1023
  );
1023
1024
  }
1024
1025
  );
1025
- me.displayName = "Select";
1026
- const er = {
1027
- TitleBlock: oe,
1028
- WarningCard: z
1029
- }, tr = [
1026
+ ue.displayName = "Select";
1027
+ const rr = {
1028
+ TitleBlock: ae,
1029
+ WarningCard: q
1030
+ }, or = [
1030
1031
  {
1031
1032
  label: "TitleBlock",
1032
1033
  value: "TitleBlock"
@@ -1035,118 +1036,128 @@ const er = {
1035
1036
  label: "WarningCard",
1036
1037
  value: "WarningCard"
1037
1038
  }
1038
- ], rr = {
1039
- text: se,
1040
- number: ie,
1041
- phone: ce,
1042
- select: me,
1043
- date: le,
1044
- radio: de,
1045
- checkbox: ne,
1046
- file: Ue
1047
- }, or = (a, {
1048
- register: r,
1049
- errors: o,
1050
- control: s
1051
- }) => a.map((e, l) => {
1052
- var k;
1053
- if ((e == null ? void 0 : e.componentType) === "component") {
1054
- const y = er[e == null ? void 0 : e.key];
1055
- if (y)
1056
- return /* @__PURE__ */ t(
1057
- y,
1039
+ ], ar = {
1040
+ text: le,
1041
+ number: ce,
1042
+ phone: de,
1043
+ select: ue,
1044
+ date: ie,
1045
+ radio: pe,
1046
+ checkbox: se,
1047
+ file: Qe
1048
+ }, nr = (n, {
1049
+ register: o,
1050
+ errors: a,
1051
+ control: l
1052
+ }) => {
1053
+ const { t: r } = oe();
1054
+ return n.map((t, f) => {
1055
+ var N, s, D;
1056
+ if ((t == null ? void 0 : t.componentType) === "component") {
1057
+ const w = rr[t == null ? void 0 : t.key];
1058
+ if (w)
1059
+ return /* @__PURE__ */ e(
1060
+ w,
1061
+ {
1062
+ ...t == null ? void 0 : t.props
1063
+ },
1064
+ f
1065
+ );
1066
+ }
1067
+ const p = ar[t == null ? void 0 : t.type];
1068
+ if (p) {
1069
+ const w = ["select", "radio", "checkbox", "file"].includes(
1070
+ t.type
1071
+ ), d = t != null && t.name ? (N = a[t == null ? void 0 : t.name]) == null ? void 0 : N.message : void 0, k = d ? r(d, d) : void 0, h = {
1072
+ ...t.field_props,
1073
+ label: (s = t.field_props) != null && s.label ? r(t.field_props.label, t.field_props.label) : void 0,
1074
+ placeholder: (D = t.field_props) != null && D.placeholder ? r(t.field_props.placeholder, t.field_props.placeholder) : void 0
1075
+ };
1076
+ return w && l && (t != null && t.name) ? /* @__PURE__ */ e(
1077
+ Ye,
1078
+ {
1079
+ name: t.name,
1080
+ control: l,
1081
+ rules: { validate: t.validate },
1082
+ render: ({ field: { onChange: b, value: x, name: M, ref: S } }) => /* @__PURE__ */ e(
1083
+ p,
1084
+ {
1085
+ ...h,
1086
+ onChange: b,
1087
+ value: x,
1088
+ name: M,
1089
+ ref: S,
1090
+ error: k
1091
+ }
1092
+ )
1093
+ },
1094
+ f
1095
+ ) : t.name ? /* @__PURE__ */ e(
1096
+ p,
1097
+ {
1098
+ ...h,
1099
+ ...o(t == null ? void 0 : t.name, {
1100
+ validate: t == null ? void 0 : t.validate
1101
+ }),
1102
+ error: k
1103
+ },
1104
+ f
1105
+ ) : /* @__PURE__ */ e(
1106
+ p,
1058
1107
  {
1059
- ...e == null ? void 0 : e.props
1108
+ ...h,
1109
+ error: k
1060
1110
  },
1061
- l
1111
+ f
1062
1112
  );
1063
- }
1064
- const m = rr[e == null ? void 0 : e.type];
1065
- if (m) {
1066
- const y = ["select", "radio", "checkbox", "file"].includes(
1067
- e.type
1068
- ), n = e != null && e.name ? (k = o[e == null ? void 0 : e.name]) == null ? void 0 : k.message : void 0;
1069
- return y && s && (e != null && e.name) ? /* @__PURE__ */ t(
1070
- Ye,
1071
- {
1072
- name: e.name,
1073
- control: s,
1074
- rules: { validate: e.validate },
1075
- render: ({ field: { onChange: N, value: C, name: c, ref: v } }) => /* @__PURE__ */ t(
1076
- m,
1077
- {
1078
- ...e.field_props,
1079
- onChange: N,
1080
- value: C,
1081
- name: c,
1082
- ref: v,
1083
- error: n
1084
- }
1085
- )
1086
- },
1087
- l
1088
- ) : e.name ? /* @__PURE__ */ t(
1089
- m,
1090
- {
1091
- ...e == null ? void 0 : e.field_props,
1092
- ...r(e == null ? void 0 : e.name, {
1093
- validate: e == null ? void 0 : e.validate
1094
- }),
1095
- error: n
1096
- },
1097
- l
1098
- ) : /* @__PURE__ */ t(
1099
- m,
1100
- {
1101
- ...e == null ? void 0 : e.field_props,
1102
- error: n
1103
- },
1104
- l
1105
- );
1106
- }
1107
- return null;
1108
- }), Q = ({
1109
- label: a,
1110
- type: r,
1111
- options: o
1113
+ }
1114
+ return null;
1115
+ });
1116
+ }, U = ({
1117
+ label: n,
1118
+ type: o,
1119
+ options: a
1112
1120
  }) => ({
1113
1121
  dataType: X.select,
1114
- label: a,
1115
- type: r,
1116
- options: o
1117
- }), ga = {
1122
+ label: n,
1123
+ type: o,
1124
+ options: a
1125
+ }), ka = {
1118
1126
  title: "Оставьте заявку, чтобы подключить MKassa",
1119
1127
  subtitle: "с Вами свяжется наш специалист и поможет с подключением сервиса"
1120
- }, ba = {
1128
+ }, Ca = {
1121
1129
  title: "Форма заявки",
1122
1130
  description: "Форма заявки ",
1123
- types: [ee.form],
1124
- propsToEdit: ue
1125
- }, ar = {
1131
+ types: [ee.form]
1132
+ // propsToEdit: propsToEdit,
1133
+ }, sr = {
1126
1134
  title: "Оставьте заявку, чтобы подключить MKassa",
1127
1135
  description: "с Вами свяжется наш специалист и поможет с подключением сервиса",
1128
1136
  color: "#45464b"
1129
- }, nr = Q({
1137
+ }, lr = U({
1130
1138
  label: "Тип поля",
1131
1139
  type: "componentType",
1132
- options: Et
1133
- }), sr = Q({
1140
+ options: Zt
1141
+ }), ir = U({
1134
1142
  label: "Компонент",
1135
1143
  type: "componentType",
1136
- options: tr
1137
- }), lr = Q({
1144
+ options: or
1145
+ }), cr = U({
1138
1146
  label: "Тип поля",
1139
1147
  type: "fieldType",
1140
- options: At
1141
- }), ir = {
1148
+ options: $t
1149
+ }), dr = Gt({
1150
+ label: "Имя поля",
1151
+ type: "name"
1152
+ }), pr = {
1142
1153
  type: "fields",
1143
1154
  dataType: "array",
1144
1155
  label: "Поля для формы",
1145
1156
  data: {
1146
- componentType: nr,
1147
- type: lr,
1148
- key: sr,
1149
- name: G.STRING,
1157
+ componentType: lr,
1158
+ type: cr,
1159
+ key: ir,
1160
+ name: dr,
1150
1161
  props: {
1151
1162
  label: "Свойства компонента",
1152
1163
  dataType: X.object,
@@ -1156,36 +1167,43 @@ const er = {
1156
1167
  description: G.DESCRIPTION,
1157
1168
  html_content: G.HTML_CONTENT
1158
1169
  }
1159
- },
1160
- field_props: {
1161
- label: "Свойства поля",
1162
- dataType: X.object,
1163
- data: {
1164
- keys: {
1165
- label: G.TITLE,
1166
- placeholder: G.DESCRIPTION,
1167
- is_required: G.BOOLEAN
1168
- }
1170
+ }
1171
+ },
1172
+ field_props: {
1173
+ label: "Свойства поля",
1174
+ dataType: X.object,
1175
+ data: {
1176
+ keys: {
1177
+ label: G.TITLE,
1178
+ placeholder: G.DESCRIPTION,
1179
+ is_required: G.BOOLEAN
1169
1180
  }
1170
1181
  }
1171
1182
  }
1172
1183
  }
1173
- }, ue = ["title", "subtitle", "color", ir], fe = ({
1174
- title: a,
1175
- subtitle: r,
1176
- color: o,
1177
- gridCols: s = 1,
1178
- gridRow: e = 2,
1179
- fields: l = []
1184
+ }, mr = [
1185
+ "title",
1186
+ "subtitle",
1187
+ "color",
1188
+ pr,
1189
+ At
1190
+ ], fe = ({
1191
+ title: n,
1192
+ subtitle: o,
1193
+ color: a,
1194
+ gridCols: l = 1,
1195
+ gridRow: r = 2,
1196
+ fields: t = [],
1197
+ requestForm: f
1180
1198
  }) => {
1181
- var L;
1182
- const [m, k] = I(!1), [y, n] = I(!1), N = Qe(960), {
1183
- register: C,
1184
- handleSubmit: c,
1185
- watch: v,
1186
- reset: h,
1187
- control: x,
1188
- formState: { errors: u }
1199
+ var j;
1200
+ const { t: p } = oe(), [N, s] = T(!1), [D, w] = T(!1), [d, k] = T(null), h = Ue(960), {
1201
+ register: b,
1202
+ handleSubmit: x,
1203
+ watch: M,
1204
+ reset: S,
1205
+ control: C,
1206
+ formState: { errors: B }
1189
1207
  } = Ke({
1190
1208
  defaultValues: {
1191
1209
  fio: "",
@@ -1193,40 +1211,75 @@ const er = {
1193
1211
  business_category: "",
1194
1212
  agreement: !1
1195
1213
  }
1196
- }), S = v("agreement"), F = async (B) => {
1197
- console.log("Form submitted:", B);
1198
- }, w = or(l || [], {
1199
- register: C,
1200
- errors: u,
1201
- control: x
1214
+ }), V = M("agreement"), I = async (O) => {
1215
+ if (!(f != null && f.api_url)) {
1216
+ console.warn("API URL is not defined in requestForm props");
1217
+ return;
1218
+ }
1219
+ w(!0), k(null);
1220
+ try {
1221
+ const m = new FormData();
1222
+ Object.entries(O).forEach(([i, _]) => {
1223
+ _ != null && (Array.isArray(_) ? _.forEach((u) => {
1224
+ m.append(i, u);
1225
+ }) : m.append(i, _));
1226
+ });
1227
+ const v = await fetch(f.api_url, {
1228
+ method: "POST",
1229
+ // При отправке FormData заголовок Content-Type устанавливать НЕ НУЖНО,
1230
+ // браузер установит его автоматически вместе с boundary
1231
+ body: m
1232
+ });
1233
+ if (!v.ok)
1234
+ throw new Error(`HTTP error! status: ${v.status}`);
1235
+ const g = v.headers.get("content-type");
1236
+ if (g && g.includes("application/json")) {
1237
+ const i = await v.json();
1238
+ console.log("Success:", i);
1239
+ }
1240
+ s(!0), S();
1241
+ } catch (m) {
1242
+ console.error("Error submitting form:", m), k(
1243
+ p(
1244
+ "form.submit_error",
1245
+ "Произошла ошибка при отправке. Пожалуйста, попробуйте позже."
1246
+ )
1247
+ );
1248
+ } finally {
1249
+ w(!1);
1250
+ }
1251
+ }, E = nr(t || [], {
1252
+ register: b,
1253
+ errors: B,
1254
+ control: C
1202
1255
  });
1203
- return /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
1256
+ return /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e(
1204
1257
  "form",
1205
1258
  {
1206
- onSubmit: c(F),
1259
+ onSubmit: x(I),
1207
1260
  id: "application_form",
1208
1261
  className: "w-full",
1209
- children: /* @__PURE__ */ i(
1262
+ children: /* @__PURE__ */ c(
1210
1263
  "div",
1211
1264
  {
1212
1265
  style: {
1213
- boxShadow: `0px 8px 24px rgba(0,0,0,0.08),0px -8px 0px ${o}`
1266
+ boxShadow: `0px 8px 24px rgba(0,0,0,0.08),0px -8px 0px ${a}`
1214
1267
  },
1215
1268
  className: "bg-white rounded-[24px] w-full flex flex-col items-center justify-center py-[72px] px-[96px] max-tablet:py-[40px] max-tablet:px-[32px] transition-all duration-300 mt-[8px]",
1216
1269
  children: [
1217
- /* @__PURE__ */ i("div", { className: "text-center mb-10 max-tablet:mb-8", children: [
1218
- /* @__PURE__ */ t("h2", { className: "text-[36px] leading-[44px] font-semibold m-0 mb-3 text-blackBG max-tablet:text-[28px] max-tablet:leading-[36px]", children: a }),
1219
- /* @__PURE__ */ t("span", { className: "text-[18px] leading-[26px] text-graySoft max-tablet:text-[16px] max-tablet:leading-[24px]", children: r })
1270
+ /* @__PURE__ */ c("div", { className: "text-center mb-10 max-tablet:mb-8", children: [
1271
+ /* @__PURE__ */ e("h2", { className: "text-[36px] leading-[44px] font-semibold m-0 mb-3 text-blackBG max-tablet:text-[28px] max-tablet:leading-[36px]", children: p(n || "", n) }),
1272
+ /* @__PURE__ */ e("span", { className: "text-[18px] leading-[26px] text-graySoft max-tablet:text-[16px] max-tablet:leading-[24px]", children: p(o || "", o) })
1220
1273
  ] }),
1221
- m ? /* @__PURE__ */ t("div", { className: "flex flex-col items-center w-[640px] gap-8 max-tablet:w-full animate-in fade-in duration-500", children: /* @__PURE__ */ i("div", { className: "text-center", children: [
1222
- /* @__PURE__ */ t("div", { className: "w-20 h-20 rounded-full bg-gradient-to-br from-greenLight to-green flex items-center justify-center mx-auto mb-6 shadow-lg animate-in zoom-in duration-500", children: /* @__PURE__ */ t(
1274
+ N ? /* @__PURE__ */ e("div", { className: "flex flex-col items-center w-[640px] gap-8 max-tablet:w-full animate-in fade-in duration-500", children: /* @__PURE__ */ c("div", { className: "text-center", children: [
1275
+ /* @__PURE__ */ e("div", { className: "w-20 h-20 rounded-full bg-gradient-to-br from-greenLight to-green flex items-center justify-center mx-auto mb-6 shadow-lg animate-in zoom-in duration-500", children: /* @__PURE__ */ e(
1223
1276
  "svg",
1224
1277
  {
1225
1278
  className: "w-10 h-10 text-white",
1226
1279
  fill: "none",
1227
1280
  stroke: "currentColor",
1228
1281
  viewBox: "0 0 24 24",
1229
- children: /* @__PURE__ */ t(
1282
+ children: /* @__PURE__ */ e(
1230
1283
  "path",
1231
1284
  {
1232
1285
  strokeLinecap: "round",
@@ -1237,66 +1290,76 @@ const er = {
1237
1290
  )
1238
1291
  }
1239
1292
  ) }),
1240
- /* @__PURE__ */ i("div", { className: "text-center", children: [
1241
- /* @__PURE__ */ t("div", { className: "font-semibold text-[24px] leading-[32px] text-blackBG mb-3", children: "Заявка успешно отправлена" }),
1242
- /* @__PURE__ */ t("div", { className: "text-[18px] leading-[26px] text-graySoft", children: "С Вами свяжется наш специалист и поможет с подключением сервиса" }),
1243
- /* @__PURE__ */ t(
1293
+ /* @__PURE__ */ c("div", { className: "text-center", children: [
1294
+ /* @__PURE__ */ e("div", { className: "font-semibold text-[24px] leading-[32px] text-blackBG mb-3", children: p("form.success_title", "Заявка успешно отправлена") }),
1295
+ /* @__PURE__ */ e("div", { className: "text-[18px] leading-[26px] text-graySoft", children: p(
1296
+ "form.success_description",
1297
+ "С Вами свяжется наш специалист и поможет с подключением сервиса"
1298
+ ) }),
1299
+ /* @__PURE__ */ e(
1244
1300
  R,
1245
1301
  {
1246
1302
  className: "justify-center m-auto mt-6",
1247
- title: "Закрыть",
1303
+ title: p("form.close", "Закрыть"),
1248
1304
  onClick: () => {
1249
- k(!1), h();
1305
+ s(!1), S();
1250
1306
  }
1251
1307
  }
1252
1308
  )
1253
1309
  ] })
1254
- ] }) }) : /* @__PURE__ */ i(U, { children: [
1255
- /* @__PURE__ */ t(
1310
+ ] }) }) : /* @__PURE__ */ c(Q, { children: [
1311
+ /* @__PURE__ */ e(
1256
1312
  "div",
1257
1313
  {
1258
1314
  className: "w-[640px] mb-8 max-tablet:w-full grid gap-6",
1259
1315
  style: {
1260
- gridTemplateColumns: `repeat(${N ? 1 : s}, 1fr)`,
1261
- gridTemplateRows: `repeat(${e}, auto)`
1316
+ gridTemplateColumns: `repeat(${h ? 1 : l}, 1fr)`,
1317
+ gridTemplateRows: `repeat(${r}, auto)`
1262
1318
  },
1263
- children: w
1319
+ children: E
1264
1320
  }
1265
1321
  ),
1266
- /* @__PURE__ */ t("div", { className: "pt-2", children: /* @__PURE__ */ t(
1322
+ /* @__PURE__ */ e("div", { className: "pt-2", children: /* @__PURE__ */ e(
1267
1323
  Y,
1268
1324
  {
1269
- ...C("agreement", {
1270
- required: "Необходимо согласие на обработку персональных данных"
1325
+ ...b("agreement", {
1326
+ required: p(
1327
+ "form.agreement_required",
1328
+ "Необходимо согласие на обработку персональных данных"
1329
+ )
1271
1330
  }),
1272
- error: (L = u.agreement) == null ? void 0 : L.message,
1273
- label: /* @__PURE__ */ i(U, { children: [
1274
- "Я соглашаюсь с",
1331
+ error: (j = B.agreement) == null ? void 0 : j.message,
1332
+ label: /* @__PURE__ */ c(Q, { children: [
1333
+ p("form.i_agree", "Я соглашаюсь с"),
1275
1334
  " ",
1276
- /* @__PURE__ */ t(
1335
+ /* @__PURE__ */ e(
1277
1336
  "button",
1278
1337
  {
1279
1338
  type: "button",
1280
1339
  className: "text-greenLight hover:text-green underline transition-colors duration-200 bg-transparent border-0 p-0 cursor-pointer",
1281
- onClick: (B) => {
1282
- B.preventDefault();
1340
+ onClick: (O) => {
1341
+ O.preventDefault();
1283
1342
  },
1284
- children: "условиями обработки персональных данных"
1343
+ children: p(
1344
+ "form.agreement_link",
1345
+ "условиями обработки персональных данных"
1346
+ )
1285
1347
  }
1286
1348
  )
1287
1349
  ] })
1288
1350
  }
1289
1351
  ) }),
1290
- /* @__PURE__ */ t("div", { className: "mt-6 w-[640px] max-tablet:w-full", children: /* @__PURE__ */ t(
1352
+ d && /* @__PURE__ */ e("div", { className: "mt-4 p-4 bg-red-50 border border-red-200 text-red-600 rounded-xl text-sm w-[640px] max-tablet:w-full animate-in fade-in slide-in-from-top-1", children: d }),
1353
+ /* @__PURE__ */ e("div", { className: "mt-6 w-[640px] max-tablet:w-full", children: /* @__PURE__ */ e(
1291
1354
  R,
1292
1355
  {
1293
- loading: y,
1356
+ loading: D,
1294
1357
  className: "w-full whitespace-nowrap transition-all duration-200 hover:scale-[1.02] active:scale-[0.98]",
1295
1358
  type: "submit",
1296
1359
  size: De.XL,
1297
1360
  variant: Ne.Primary,
1298
- disabled: !S || y,
1299
- children: "Отправить заявку"
1361
+ disabled: !V || D,
1362
+ children: p("form.submit", "Отправить заявку")
1300
1363
  }
1301
1364
  ) })
1302
1365
  ] })
@@ -1306,31 +1369,31 @@ const er = {
1306
1369
  }
1307
1370
  ) });
1308
1371
  };
1309
- fe.propsToEdit = ue;
1310
- const xa = {
1372
+ fe.propsToEdit = mr;
1373
+ const va = {
1311
1374
  MainBanner: { key: "MainBanner", component: Pe },
1312
1375
  Banner: { key: "Banner", component: xe },
1313
1376
  CardImageList: { key: "CardImageList", component: He },
1314
1377
  Stepper: { key: "Stepper", component: Le },
1315
1378
  Segments: { key: "Segments", component: _e },
1316
1379
  VideoFull: { key: "VideoFull", component: Be },
1317
- VideoList: { key: "VideoList", component: Me },
1318
- VideoListMini: { key: "VideoListMini", component: Se },
1380
+ VideoList: { key: "VideoList", component: Se },
1381
+ VideoListMini: { key: "VideoListMini", component: Me },
1319
1382
  ContentCardList: { key: "ContentCardList", component: Fe },
1320
1383
  CardIconList: { key: "CardIconList", component: Ve },
1321
1384
  MultiCards: { key: "MultiCards", component: Ie },
1322
1385
  Partners: { key: "Partners", component: Te },
1323
1386
  PartnersColors: { key: "PartnersColors", component: Oe },
1324
- WarningCard: { key: "WarningCard", component: z },
1325
- Faq: { key: "Faq", component: We },
1387
+ WarningCard: { key: "WarningCard", component: q },
1388
+ Faq: { key: "Faq", component: Ee },
1326
1389
  DownloadFileBanner: {
1327
1390
  key: "DownloadFileBanner",
1328
- component: Ee
1391
+ component: Ge
1329
1392
  },
1330
1393
  DownloadFileHalf: { key: "DownloadFileHalf", component: Ze },
1331
1394
  DownloadFileFull: { key: "DownloadFileFull", component: Ae },
1332
1395
  DownloadFileMini: { key: "DownloadFileMini", component: $e },
1333
- InstructionList: { key: "InstructionList", component: Ge },
1396
+ InstructionList: { key: "InstructionList", component: We },
1334
1397
  PreviewList: { key: "PreviewList", component: je },
1335
1398
  SwiperList: { key: "SwiperList", component: at },
1336
1399
  AnimatedSwiper: { key: "AnimatedSwiper", component: Re },
@@ -1343,21 +1406,21 @@ const xa = {
1343
1406
  key: "CardImageSecondaryList",
1344
1407
  component: Xe
1345
1408
  },
1346
- CardInfoTable: { key: "CardInfoTable", component: qe },
1409
+ CardInfoTable: { key: "CardInfoTable", component: ze },
1347
1410
  StandartTable: { key: "StandartTable", component: ot },
1348
1411
  IntroBanner: { key: "IntroBanner", component: et },
1349
1412
  DownloadFileBright: {
1350
1413
  key: "DownloadFileBright",
1351
- component: ze
1414
+ component: qe
1352
1415
  },
1353
1416
  FormDefault: {
1354
1417
  key: "FormDefault",
1355
1418
  component: fe
1356
1419
  },
1357
- Header: { key: "Header", component: Zt },
1358
- Footer: { key: "Footer", component: $t },
1359
- TitleBlock: { key: "TitleBlock", component: oe }
1360
- }, ya = {
1420
+ Header: { key: "Header", component: Rt },
1421
+ Footer: { key: "Footer", component: Xt },
1422
+ TitleBlock: { key: "TitleBlock", component: ae }
1423
+ }, Da = {
1361
1424
  MainBanner: lt.component_props,
1362
1425
  Banner: it.component_props,
1363
1426
  CardImageList: ct.component_props,
@@ -1380,38 +1443,38 @@ const xa = {
1380
1443
  InstructionList: Lt.component_props,
1381
1444
  PreviewList: _t.component_props,
1382
1445
  SwiperList: Bt.component_props,
1383
- AnimatedSwiper: Mt.component_props,
1384
- InfoBannerList: St.component_props,
1446
+ AnimatedSwiper: St.component_props,
1447
+ InfoBannerList: Mt.component_props,
1385
1448
  TasksBannerList: Ft.component_props,
1386
1449
  VideoMainBanner: Vt.component_props,
1387
1450
  EmptyBox: It.component_props,
1388
1451
  PromoPoster: Tt.component_props,
1389
1452
  CardImageSecondaryList: Ht.component_props,
1390
1453
  CardInfoTable: Pt.component_props,
1391
- StandartTable: Wt.component_props,
1392
- IntroBanner: Gt.component_props,
1454
+ StandartTable: Et.component_props,
1455
+ IntroBanner: Wt.component_props,
1393
1456
  DownloadFileBright: Ot.component_props,
1394
- FormDefault: ar,
1457
+ FormDefault: sr,
1395
1458
  TitleBlock: jt.component_props
1396
- }, wa = {
1459
+ }, Na = {
1397
1460
  title: "Предупреждающая карточка",
1398
1461
  description: "Компонент для отображения предупреждающей информации в виде карточки с иконкой, заголовком и описанием. Используется для привлечения внимания к важной информации или предупреждениям.",
1399
1462
  types: [ee.cards],
1400
- propsToEdit: ae
1463
+ propsToEdit: ne
1401
1464
  };
1402
1465
  export {
1403
- ya as A,
1466
+ Da as A,
1404
1467
  fe as F,
1405
- z as W,
1406
- xa as a,
1407
- tr as b,
1408
- er as c,
1409
- ar as d,
1410
- ir as e,
1411
- ba as f,
1412
- ue as g,
1413
- ga as i,
1414
- ae as p,
1415
- or as r,
1416
- wa as w
1468
+ q as W,
1469
+ va as a,
1470
+ or as b,
1471
+ rr as c,
1472
+ sr as d,
1473
+ pr as e,
1474
+ Ca as f,
1475
+ mr as g,
1476
+ ka as i,
1477
+ ne as p,
1478
+ nr as r,
1479
+ Na as w
1417
1480
  };