@retailcrm/embed-ui-v1-components 0.9.15 → 0.9.16

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 (70) hide show
  1. package/assets/sprites/map-and-places/navigate.svg +3 -0
  2. package/dist/host.cjs +993 -516
  3. package/dist/host.css +261 -0
  4. package/dist/host.d.ts +222 -112
  5. package/dist/host.js +993 -516
  6. package/dist/remote.cjs +446 -60
  7. package/dist/remote.d.ts +573 -81
  8. package/dist/remote.js +447 -61
  9. package/docs/COMPONENTS.md +3 -0
  10. package/docs/FORMAT.md +19 -0
  11. package/docs/PROFILES.md +2 -0
  12. package/docs/profiles/UiAddButton.yml +12 -0
  13. package/docs/profiles/UiAlert.yml +12 -0
  14. package/docs/profiles/UiAvatar.yml +12 -0
  15. package/docs/profiles/UiAvatarList.yml +12 -0
  16. package/docs/profiles/UiButton.yml +8 -0
  17. package/docs/profiles/UiCalendar.yml +12 -0
  18. package/docs/profiles/UiCheckbox.yml +12 -0
  19. package/docs/profiles/UiCollapse.yml +12 -0
  20. package/docs/profiles/UiCollapseBox.yml +12 -0
  21. package/docs/profiles/UiCollapseGroup.yml +12 -0
  22. package/docs/profiles/UiCopyButton.yml +12 -0
  23. package/docs/profiles/UiDate.yml +12 -0
  24. package/docs/profiles/UiDatePicker.yml +12 -0
  25. package/docs/profiles/UiError.yml +12 -0
  26. package/docs/profiles/UiField.yml +5 -1
  27. package/docs/profiles/UiImage.yml +12 -0
  28. package/docs/profiles/UiInfobox.yml +12 -0
  29. package/docs/profiles/UiLink.yml +12 -0
  30. package/docs/profiles/UiLoader.yml +12 -0
  31. package/docs/profiles/UiMenuItem.yml +12 -0
  32. package/docs/profiles/UiMenuItemGroup.yml +12 -0
  33. package/docs/profiles/UiModalSidebar.yml +12 -0
  34. package/docs/profiles/UiModalWindow.yml +12 -0
  35. package/docs/profiles/UiModalWindowSurface.yml +12 -0
  36. package/docs/profiles/UiNumberStepper.yml +12 -0
  37. package/docs/profiles/UiPageHeader.yml +5 -1
  38. package/docs/profiles/UiPopper.yml +5 -1
  39. package/docs/profiles/UiPopperConnector.yml +6 -0
  40. package/docs/profiles/UiPopperTarget.yml +6 -0
  41. package/docs/profiles/UiRadio.yml +12 -0
  42. package/docs/profiles/UiRadioSwitch.yml +7 -0
  43. package/docs/profiles/UiRadioSwitchOption.yml +8 -0
  44. package/docs/profiles/UiScrollBox.yml +12 -0
  45. package/docs/profiles/UiSelect.yml +9 -0
  46. package/docs/profiles/UiSelectOption.yml +12 -0
  47. package/docs/profiles/UiSelectOptionGroup.yml +12 -0
  48. package/docs/profiles/UiSlider.yml +12 -0
  49. package/docs/profiles/UiSwitch.yml +12 -0
  50. package/docs/profiles/UiTab.yml +5 -0
  51. package/docs/profiles/UiTabGroup.yml +5 -0
  52. package/docs/profiles/UiTable.yml +5 -1
  53. package/docs/profiles/UiTableBodyCell.yml +12 -0
  54. package/docs/profiles/UiTableColumn.yml +12 -0
  55. package/docs/profiles/UiTableFooterButton.yml +12 -0
  56. package/docs/profiles/UiTableFooterSection.yml +12 -0
  57. package/docs/profiles/UiTableHeadCell.yml +12 -0
  58. package/docs/profiles/UiTableSorter.yml +12 -0
  59. package/docs/profiles/UiTag.yml +12 -0
  60. package/docs/profiles/UiTextbox.yml +5 -1
  61. package/docs/profiles/UiTimePicker.yml +12 -0
  62. package/docs/profiles/UiToggleButton.yml +211 -0
  63. package/docs/profiles/UiToggleGroup.yml +211 -0
  64. package/docs/profiles/UiToggleGroupOption.yml +116 -0
  65. package/docs/profiles/UiToolbarButton.yml +12 -0
  66. package/docs/profiles/UiToolbarLink.yml +12 -0
  67. package/docs/profiles/UiTooltip.yml +12 -0
  68. package/docs/profiles/UiTransition.yml +12 -0
  69. package/docs/profiles/UiYandexMap.yml +12 -0
  70. package/package.json +2 -2
package/dist/host.cjs CHANGED
@@ -7,7 +7,7 @@ const dateFns = require("date-fns");
7
7
  const locale = require("date-fns/locale");
8
8
  const vue3PerfectScrollbar = require("vue3-perfect-scrollbar");
9
9
  const host = require("@omnicajs/vue-remote/host");
10
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
10
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
11
11
  __name: "UiTransition",
12
12
  props: {
13
13
  /** Наименование анимации перехода */
@@ -35,13 +35,13 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
35
35
  };
36
36
  }
37
37
  });
38
- const _hoisted_1$V = {
38
+ const _hoisted_1$W = {
39
39
  xmlns: "http://www.w3.org/2000/svg",
40
40
  fill: "none",
41
41
  viewBox: "0 0 24 24"
42
42
  };
43
- function render$o(_ctx, _cache) {
44
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$V, [..._cache[0] || (_cache[0] = [
43
+ function render$p(_ctx, _cache) {
44
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$W, [..._cache[0] || (_cache[0] = [
45
45
  vue.createElementVNode("path", {
46
46
  fill: "currentColor",
47
47
  "fill-rule": "evenodd",
@@ -50,26 +50,26 @@ function render$o(_ctx, _cache) {
50
50
  }, null, -1)
51
51
  ])]);
52
52
  }
53
- const IconCheckmarkCircleOutlined = { render: render$o };
54
- const _hoisted_1$U = {
53
+ const IconCheckmarkCircleOutlined = { render: render$p };
54
+ const _hoisted_1$V = {
55
55
  xmlns: "http://www.w3.org/2000/svg",
56
56
  viewBox: "0 0 24 24"
57
57
  };
58
- function render$n(_ctx, _cache) {
59
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$U, [..._cache[0] || (_cache[0] = [
58
+ function render$o(_ctx, _cache) {
59
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$V, [..._cache[0] || (_cache[0] = [
60
60
  vue.createElementVNode("path", {
61
61
  fill: "currentColor",
62
62
  d: "M7.113 6.176a.6.6 0 0 1 .848 0L12 10.214l4.038-4.038a.6.6 0 0 1 .849 0l.937.937a.6.6 0 0 1 0 .848L13.785 12l4.04 4.04a.6.6 0 0 1 0 .848l-.937.937a.6.6 0 0 1-.849 0L12 13.784l-4.038 4.04a.6.6 0 0 1-.849 0l-.937-.937a.6.6 0 0 1 0-.848l4.04-4.04-4.039-4.038a.6.6 0 0 1 0-.849z"
63
63
  }, null, -1)
64
64
  ])]);
65
65
  }
66
- const IconClear = { render: render$n };
67
- const _hoisted_1$T = {
66
+ const IconClear = { render: render$o };
67
+ const _hoisted_1$U = {
68
68
  xmlns: "http://www.w3.org/2000/svg",
69
69
  viewBox: "0 0 24 24"
70
70
  };
71
- function render$m(_ctx, _cache) {
72
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$T, [..._cache[0] || (_cache[0] = [
71
+ function render$n(_ctx, _cache) {
72
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$U, [..._cache[0] || (_cache[0] = [
73
73
  vue.createElementVNode("path", {
74
74
  fill: "currentColor",
75
75
  "fill-rule": "evenodd",
@@ -78,26 +78,26 @@ function render$m(_ctx, _cache) {
78
78
  }, null, -1)
79
79
  ])]);
80
80
  }
81
- const IconClearCircleOutlined = { render: render$m };
82
- const _hoisted_1$S = {
81
+ const IconClearCircleOutlined = { render: render$n };
82
+ const _hoisted_1$T = {
83
83
  xmlns: "http://www.w3.org/2000/svg",
84
84
  viewBox: "0 0 24 24"
85
85
  };
86
- function render$l(_ctx, _cache) {
87
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$S, [..._cache[0] || (_cache[0] = [
86
+ function render$m(_ctx, _cache) {
87
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$T, [..._cache[0] || (_cache[0] = [
88
88
  vue.createElementVNode("path", {
89
89
  fill: "currentColor",
90
90
  d: "M2 12C2 6.477 6.477 2 12 2A10 10 0 1 1 2 12m2 0a8 8 0 1 0 16 0 8 8 0 0 0-16 0m7.5 2a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm-.18-6h1.36a.5.5 0 0 1 .5.56l-.4 3.22a.25.25 0 0 1-.25.22h-1.06a.25.25 0 0 1-.25-.22l-.4-3.22a.5.5 0 0 1 .5-.56"
91
91
  }, null, -1)
92
92
  ])]);
93
93
  }
94
- const IconErrorOutlined = { render: render$l };
95
- const _hoisted_1$R = {
94
+ const IconErrorOutlined = { render: render$m };
95
+ const _hoisted_1$S = {
96
96
  xmlns: "http://www.w3.org/2000/svg",
97
97
  viewBox: "0 0 24 24"
98
98
  };
99
- function render$k(_ctx, _cache) {
100
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$R, [..._cache[0] || (_cache[0] = [
99
+ function render$l(_ctx, _cache) {
100
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$S, [..._cache[0] || (_cache[0] = [
101
101
  vue.createElementVNode("path", {
102
102
  fill: "currentColor",
103
103
  "fill-rule": "evenodd",
@@ -106,7 +106,7 @@ function render$k(_ctx, _cache) {
106
106
  }, null, -1)
107
107
  ])]);
108
108
  }
109
- const IconInfoOutlined = { render: render$k };
109
+ const IconInfoOutlined = { render: render$l };
110
110
  var VARIANT$1 = /* @__PURE__ */ ((VARIANT2) => {
111
111
  VARIANT2["PRIMARY"] = "primary";
112
112
  VARIANT2["WARNING"] = "warning";
@@ -114,13 +114,13 @@ var VARIANT$1 = /* @__PURE__ */ ((VARIANT2) => {
114
114
  VARIANT2["DANGER"] = "danger";
115
115
  return VARIANT2;
116
116
  })(VARIANT$1 || {});
117
- const _hoisted_1$Q = ["aria-hidden", "aria-live"];
118
- const _hoisted_2$o = {
117
+ const _hoisted_1$R = ["aria-hidden", "aria-live"];
118
+ const _hoisted_2$p = {
119
119
  key: 0,
120
120
  class: "ui-v1-alert__icon-outline"
121
121
  };
122
- const _hoisted_3$i = { class: "ui-v1-alert__icon" };
123
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
122
+ const _hoisted_3$j = { class: "ui-v1-alert__icon" };
123
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
124
124
  ...{
125
125
  inheritAttrs: false
126
126
  },
@@ -229,7 +229,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
229
229
  }
230
230
  });
231
231
  return (_ctx, _cache) => {
232
- return vue.openBlock(), vue.createBlock(_sfc_main$10, {
232
+ return vue.openBlock(), vue.createBlock(_sfc_main$12, {
233
233
  name: "fade",
234
234
  onBeforeEnter,
235
235
  onBeforeLeave,
@@ -252,8 +252,8 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
252
252
  role: "alert"
253
253
  }, _ctx.$attrs), [
254
254
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
255
- __props.variant ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$o, [
256
- vue.createElementVNode("div", _hoisted_3$i, [
255
+ __props.variant ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$p, [
256
+ vue.createElementVNode("div", _hoisted_3$j, [
257
257
  __props.variant === vue.unref(VARIANT$1).PRIMARY ? (vue.openBlock(), vue.createBlock(vue.unref(IconInfoOutlined), { key: 0 })) : __props.variant === vue.unref(VARIANT$1).WARNING ? (vue.openBlock(), vue.createBlock(vue.unref(IconErrorOutlined), { key: 1 })) : __props.variant === vue.unref(VARIANT$1).DANGER ? (vue.openBlock(), vue.createBlock(vue.unref(IconClearCircleOutlined), { key: 2 })) : __props.variant === vue.unref(VARIANT$1).SUCCESS ? (vue.openBlock(), vue.createBlock(vue.unref(IconCheckmarkCircleOutlined), { key: 3 })) : vue.createCommentVNode("", true)
258
258
  ])
259
259
  ])) : vue.createCommentVNode("", true)
@@ -278,7 +278,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
278
278
  }, [
279
279
  vue.createVNode(vue.unref(IconClear), { class: "ui-v1-alert__close-icon" })
280
280
  ])) : vue.createCommentVNode("", true)
281
- ], 16, _hoisted_1$Q), [
281
+ ], 16, _hoisted_1$R), [
282
282
  [vue.vShow, state.shown]
283
283
  ])
284
284
  ]),
@@ -287,12 +287,12 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
287
287
  };
288
288
  }
289
289
  });
290
- const _hoisted_1$P = {
290
+ const _hoisted_1$Q = {
291
291
  xmlns: "http://www.w3.org/2000/svg",
292
292
  viewBox: "0 0 24 24"
293
293
  };
294
- function render$j(_ctx, _cache) {
295
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$P, [..._cache[0] || (_cache[0] = [
294
+ function render$k(_ctx, _cache) {
295
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$Q, [..._cache[0] || (_cache[0] = [
296
296
  vue.createElementVNode("path", {
297
297
  fill: "currentColor",
298
298
  "fill-rule": "evenodd",
@@ -301,7 +301,7 @@ function render$j(_ctx, _cache) {
301
301
  }, null, -1)
302
302
  ])]);
303
303
  }
304
- const IconAddCircle = { render: render$j };
304
+ const IconAddCircle = { render: render$k };
305
305
  var COLOR$1 = /* @__PURE__ */ ((COLOR2) => {
306
306
  COLOR2["GREEN"] = "green";
307
307
  COLOR2["BLUE"] = "blue";
@@ -314,14 +314,14 @@ const isNumeric = (value) => !isNaN(Number(value));
314
314
  const normalizeHeight = (height) => {
315
315
  return isNumeric(height) ? `${height}px` : `${height}`;
316
316
  };
317
- const _hoisted_1$O = ["type", "disabled"];
318
- const _hoisted_2$n = { class: "ui-v1-add-button__content" };
319
- const _hoisted_3$h = { class: "ui-v1-add-button__title" };
317
+ const _hoisted_1$P = ["type", "disabled"];
318
+ const _hoisted_2$o = { class: "ui-v1-add-button__content" };
319
+ const _hoisted_3$i = { class: "ui-v1-add-button__title" };
320
320
  const _hoisted_4$c = {
321
321
  key: 0,
322
322
  class: "ui-v1-add-button__description"
323
323
  };
324
- const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
324
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
325
325
  ...{
326
326
  inheritAttrs: false
327
327
  },
@@ -364,8 +364,8 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
364
364
  height: vue.unref(normalizeHeight)(__props.height)
365
365
  }
366
366
  }, _ctx.$attrs), [
367
- vue.createElementVNode("span", _hoisted_2$n, [
368
- vue.createElementVNode("span", _hoisted_3$h, [
367
+ vue.createElementVNode("span", _hoisted_2$o, [
368
+ vue.createElementVNode("span", _hoisted_3$i, [
369
369
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
370
370
  vue.createVNode(vue.unref(IconAddCircle), {
371
371
  "aria-hidden": "true",
@@ -378,16 +378,16 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
378
378
  vue.renderSlot(_ctx.$slots, "description")
379
379
  ])) : vue.createCommentVNode("", true)
380
380
  ])
381
- ], 16, _hoisted_1$O);
381
+ ], 16, _hoisted_1$P);
382
382
  };
383
383
  }
384
384
  });
385
- const _hoisted_1$N = {
385
+ const _hoisted_1$O = {
386
386
  xmlns: "http://www.w3.org/2000/svg",
387
387
  viewBox: "0 0 24 24"
388
388
  };
389
- function render$i(_ctx, _cache) {
390
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$N, [..._cache[0] || (_cache[0] = [
389
+ function render$j(_ctx, _cache) {
390
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$O, [..._cache[0] || (_cache[0] = [
391
391
  vue.createElementVNode("path", {
392
392
  fill: "currentColor",
393
393
  "fill-rule": "evenodd",
@@ -396,34 +396,34 @@ function render$i(_ctx, _cache) {
396
396
  }, null, -1)
397
397
  ])]);
398
398
  }
399
- const IconHelpOutlined = { render: render$i };
400
- const _hoisted_1$M = {
399
+ const IconHelpOutlined = { render: render$j };
400
+ const _hoisted_1$N = {
401
401
  xmlns: "http://www.w3.org/2000/svg",
402
402
  viewBox: "0 0 18 8"
403
403
  };
404
- function render$h(_ctx, _cache) {
405
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$M, [..._cache[0] || (_cache[0] = [
404
+ function render$i(_ctx, _cache) {
405
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$N, [..._cache[0] || (_cache[0] = [
406
406
  vue.createElementVNode("g", { fill: "currentColor" }, [
407
407
  vue.createElementVNode("path", { d: "M0 0v8h2.867q1.257-.011 1.935-.604.68-.594.68-1.748 0-.675-.33-1.143a1.54 1.54 0 0 0-.892-.62q.497-.21.775-.654.279-.45.279-1.039 0-1.077-.694-1.632Q3.926 0 2.584 0zm1.52 6.676v-2.16h1.393q1.048.016 1.048 1.116 0 .488-.303.77-.3.273-.836.274zm1.124-3.324H1.52V1.335h1.064q.628 0 .916.242.294.236.294.78 0 .972-1.15.995M7.503 6.352h2.665L10.679 8h1.616l-2.76-8H8.125L5.38 8h1.616zm2.254-1.336H7.913l.917-2.994zM12.362 8V0h2.27q.972 0 1.737.478.77.473 1.2 1.352.432.873.431 1.989v.368q0 1.115-.425 1.983a3.17 3.17 0 0 1-1.191 1.346A3.26 3.26 0 0 1 14.646 8zm1.52-6.665v5.34h.734q.891 0 1.363-.631.47-.632.481-1.808v-.423q0-1.22-.466-1.846-.466-.632-1.363-.632z" })
408
408
  ], -1)
409
409
  ])]);
410
410
  }
411
- const SpriteBAD = { render: render$h };
412
- const _hoisted_1$L = {
411
+ const SpriteBAD = { render: render$i };
412
+ const _hoisted_1$M = {
413
413
  xmlns: "http://www.w3.org/2000/svg",
414
414
  viewBox: "0 0 16 8"
415
415
  };
416
- function render$g(_ctx, _cache) {
417
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$L, [..._cache[0] || (_cache[0] = [
416
+ function render$h(_ctx, _cache) {
417
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$M, [..._cache[0] || (_cache[0] = [
418
418
  vue.createElementVNode("g", { fill: "currentColor" }, [
419
419
  vue.createElementVNode("path", { d: "M3.373 6.016 5.058 0h1.704L4.175 8H2.577L0 0h1.7zM8.99 8H7.46V0H8.99zM11.84 8V5.181h1.343q1.322 0 2.067-.676.75-.681.75-1.857 0-.774-.342-1.379a2.3 2.3 0 0 0-.98-.94Q14.045 0 13.208 0H10.31v8zm1.368-4.154h-1.367v-2.51h1.403q.567.01.888.373t.322.95q0 .571-.322.88-.316.307-.924.307" })
420
420
  ], -1)
421
421
  ])]);
422
422
  }
423
- const SpriteVIP = { render: render$g };
423
+ const SpriteVIP = { render: render$h };
424
424
  const ImageWorkersKey = Symbol("$image.workers");
425
- const _hoisted_1$K = ["alt", "src"];
426
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
425
+ const _hoisted_1$L = ["alt", "src"];
426
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
427
427
  __name: "UiImage",
428
428
  props: {
429
429
  alt: {
@@ -459,7 +459,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
459
459
  return vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
460
460
  alt: __props.alt,
461
461
  src: url.value
462
- }, _ctx.$attrs), null, 16, _hoisted_1$K);
462
+ }, _ctx.$attrs), null, 16, _hoisted_1$L);
463
463
  };
464
464
  }
465
465
  });
@@ -493,15 +493,15 @@ var STATUS = /* @__PURE__ */ ((STATUS2) => {
493
493
  return STATUS2;
494
494
  })(STATUS || {});
495
495
  const AvatarSizeKey = Symbol("UiAvatarSize");
496
- const _hoisted_1$J = {
496
+ const _hoisted_1$K = {
497
497
  key: 1,
498
498
  class: "ui-v1-avatar__unresolved"
499
499
  };
500
- const _hoisted_2$m = {
500
+ const _hoisted_2$n = {
501
501
  key: 3,
502
502
  class: "ui-v1-avatar__initials"
503
503
  };
504
- const _hoisted_3$g = {
504
+ const _hoisted_3$h = {
505
505
  key: 4,
506
506
  class: "ui-v1-avatar__labels"
507
507
  };
@@ -513,7 +513,7 @@ const _hoisted_5$9 = {
513
513
  key: 1,
514
514
  class: "ui-v1-avatar__label ui-v1-avatar__label_bad"
515
515
  };
516
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
516
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
517
517
  __name: "UiAvatar",
518
518
  props: {
519
519
  /** Путь к изображению */
@@ -600,7 +600,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
600
600
  }
601
601
  }, _ctx.$attrs), {
602
602
  default: vue.withCtx(() => [
603
- __props.src ? (vue.openBlock(), vue.createBlock(_sfc_main$Z, {
603
+ __props.src ? (vue.openBlock(), vue.createBlock(_sfc_main$$, {
604
604
  key: 0,
605
605
  src: __props.src,
606
606
  resize: optimization.value.resize,
@@ -609,7 +609,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
609
609
  draggable: "false",
610
610
  onLoad: _cache[0] || (_cache[0] = ($event) => loaded.value = true),
611
611
  onError: _cache[1] || (_cache[1] = ($event) => loaded.value = false)
612
- }, null, 8, ["src", "resize", "crop"])) : !__props.src && unresolved.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
612
+ }, null, 8, ["src", "resize", "crop"])) : !__props.src && unresolved.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
613
613
  vue.createVNode(vue.unref(IconHelpOutlined))
614
614
  ])) : vue.createCommentVNode("", true),
615
615
  __props.status && !(__props.vip || __props.bad) ? (vue.openBlock(), vue.createElementBlock("span", {
@@ -620,12 +620,12 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
620
620
  [`ui-v1-avatar__status_${__props.status}`]: __props.status
621
621
  })
622
622
  }, null, 2)) : vue.createCommentVNode("", true),
623
- !(unresolved.value || loaded.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$m, [
623
+ !(unresolved.value || loaded.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$n, [
624
624
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
625
625
  vue.createTextVNode(vue.toDisplayString(initials.value), 1)
626
626
  ])
627
627
  ])) : vue.createCommentVNode("", true),
628
- __props.vip || __props.bad ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$g, [
628
+ __props.vip || __props.bad ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$h, [
629
629
  __props.vip ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$b, [
630
630
  vue.createVNode(vue.unref(SpriteVIP), { class: "ui-v1-avatar__vip" })
631
631
  ])) : vue.createCommentVNode("", true),
@@ -639,7 +639,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
639
639
  };
640
640
  }
641
641
  });
642
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
642
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
643
643
  __name: "UiAvatarList",
644
644
  props: {
645
645
  /** Список аватарок пользователей */
@@ -666,7 +666,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
666
666
  key: index,
667
667
  class: "ui-v1-avatar-list__item"
668
668
  }, [
669
- vue.createVNode(_sfc_main$Y, {
669
+ vue.createVNode(_sfc_main$_, {
670
670
  src: avatar.src,
671
671
  name: avatar.name
672
672
  }, null, 8, ["src", "name"])
@@ -733,7 +733,7 @@ var VARIANT = /* @__PURE__ */ ((VARIANT2) => {
733
733
  VARIANT2["DANGER"] = "danger";
734
734
  return VARIANT2;
735
735
  })(VARIANT || {});
736
- const _sfc_main$W = vue.defineComponent({
736
+ const _sfc_main$Y = vue.defineComponent({
737
737
  props: {
738
738
  /** Устанавливает тип кнопки */
739
739
  type: {
@@ -819,8 +819,8 @@ const _sfc_main$W = vue.defineComponent({
819
819
  };
820
820
  }
821
821
  });
822
- const _hoisted_1$I = { class: "ui-v1-calendar-cell__content" };
823
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
822
+ const _hoisted_1$J = { class: "ui-v1-calendar-cell__content" };
823
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
824
824
  __name: "UiCalendarCell",
825
825
  props: {
826
826
  current: {
@@ -865,32 +865,32 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
865
865
  "aria-hidden": "true",
866
866
  class: "ui-v1-calendar-cell__backdrop"
867
867
  }, null, -1)),
868
- vue.createElementVNode("div", _hoisted_1$I, [
868
+ vue.createElementVNode("div", _hoisted_1$J, [
869
869
  vue.renderSlot(_ctx.$slots, "default")
870
870
  ])
871
871
  ], 16);
872
872
  };
873
873
  }
874
874
  });
875
- const _hoisted_1$H = {
875
+ const _hoisted_1$I = {
876
876
  xmlns: "http://www.w3.org/2000/svg",
877
877
  viewBox: "0 0 24 24"
878
878
  };
879
- function render$f(_ctx, _cache) {
880
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$H, [..._cache[0] || (_cache[0] = [
879
+ function render$g(_ctx, _cache) {
880
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$I, [..._cache[0] || (_cache[0] = [
881
881
  vue.createElementVNode("path", {
882
882
  fill: "currentColor",
883
883
  d: "M15.78 11.28c.14.14.22.331.22.53v.38a.77.77 0 0 1-.22.53l-5.14 5.13a.5.5 0 0 1-.71 0l-.71-.71a.49.49 0 0 1 0-.7L13.67 12 9.22 7.56a.5.5 0 0 1 0-.71l.71-.7a.5.5 0 0 1 .71 0z"
884
884
  }, null, -1)
885
885
  ])]);
886
886
  }
887
- const IconChevronRight = { render: render$f };
888
- const _hoisted_1$G = {
887
+ const IconChevronRight = { render: render$g };
888
+ const _hoisted_1$H = {
889
889
  key: 1,
890
890
  "aria-hidden": "true",
891
891
  class: "ui-v1-calendar-navigation__placeholder"
892
892
  };
893
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
893
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
894
894
  __name: "UiCalendarDirectionButton",
895
895
  props: {
896
896
  label: {
@@ -910,7 +910,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
910
910
  emits: ["click"],
911
911
  setup(__props) {
912
912
  return (_ctx, _cache) => {
913
- return !__props.absent ? (vue.openBlock(), vue.createBlock(_sfc_main$W, {
913
+ return !__props.absent ? (vue.openBlock(), vue.createBlock(_sfc_main$Y, {
914
914
  key: 0,
915
915
  "aria-label": __props.label,
916
916
  appearance: "tertiary",
@@ -927,15 +927,15 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
927
927
  }, null, 8, ["class"])
928
928
  ]),
929
929
  _: 1
930
- }, 8, ["aria-label"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G));
930
+ }, 8, ["aria-label"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H));
931
931
  };
932
932
  }
933
933
  });
934
- const _hoisted_1$F = {
934
+ const _hoisted_1$G = {
935
935
  key: 1,
936
936
  class: "ui-v1-calendar-navigation__text"
937
937
  };
938
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
938
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
939
939
  __name: "UiCalendarSwitchButton",
940
940
  props: {
941
941
  locked: {
@@ -946,7 +946,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
946
946
  emits: ["click"],
947
947
  setup(__props) {
948
948
  return (_ctx, _cache) => {
949
- return !__props.locked ? (vue.openBlock(), vue.createBlock(_sfc_main$W, {
949
+ return !__props.locked ? (vue.openBlock(), vue.createBlock(_sfc_main$Y, {
950
950
  key: 0,
951
951
  appearance: "tertiary",
952
952
  class: "ui-v1-calendar-navigation__switch-button",
@@ -956,7 +956,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
956
956
  vue.renderSlot(_ctx.$slots, "default")
957
957
  ]),
958
958
  _: 3
959
- })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
959
+ })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
960
960
  vue.renderSlot(_ctx.$slots, "default")
961
961
  ]));
962
962
  };
@@ -1381,9 +1381,9 @@ const _i18n$6 = define({
1381
1381
  "ru-RU": messages_ru_RU$6
1382
1382
  }
1383
1383
  });
1384
- const _hoisted_1$E = { class: "ui-v1-calendar-wrapper" };
1385
- const _hoisted_2$l = ["aria-label"];
1386
- const _hoisted_3$f = ["id"];
1384
+ const _hoisted_1$F = { class: "ui-v1-calendar-wrapper" };
1385
+ const _hoisted_2$m = ["aria-label"];
1386
+ const _hoisted_3$g = ["id"];
1387
1387
  const _hoisted_4$a = ["aria-labelledby", "aria-multiselectable"];
1388
1388
  const _hoisted_5$8 = {
1389
1389
  class: "ui-v1-calendar__row",
@@ -1404,7 +1404,7 @@ const _hoisted_16 = {
1404
1404
  "aria-atomic": "true",
1405
1405
  "aria-live": "polite"
1406
1406
  };
1407
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
1407
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
1408
1408
  __name: "UiCalendar",
1409
1409
  props: {
1410
1410
  /** Текущая дата */
@@ -2022,7 +2022,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2022
2022
  ));
2023
2023
  };
2024
2024
  return (_ctx, _cache) => {
2025
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
2025
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
2026
2026
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(viewsComputed.value, (view, index) => {
2027
2027
  return vue.openBlock(), vue.createElementBlock("div", {
2028
2028
  key: "view-" + index + "-" + view.date,
@@ -2033,12 +2033,12 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2033
2033
  class: "ui-v1-calendar-navigation",
2034
2034
  "aria-label": i18n.value.t("monthNavigation")
2035
2035
  }, [
2036
- vue.createVNode(_sfc_main$U, {
2036
+ vue.createVNode(_sfc_main$W, {
2037
2037
  absent: index === 1 && viewsIsSynchronized.value && views[0].mode === vue.unref(VIEW_MODE).DAYS,
2038
2038
  label: i18n.value.t("prevMonth"),
2039
2039
  onClick: ($event) => showPrevMonth(index)
2040
2040
  }, null, 8, ["absent", "label", "onClick"]),
2041
- vue.createVNode(_sfc_main$T, {
2041
+ vue.createVNode(_sfc_main$V, {
2042
2042
  onClick: ($event) => views[index].mode = vue.unref(VIEW_MODE).MONTHS
2043
2043
  }, {
2044
2044
  default: vue.withCtx(() => [
@@ -2046,17 +2046,17 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2046
2046
  id: getGridLabelId(index, vue.unref(VIEW_MODE).DAYS),
2047
2047
  "aria-atomic": "true",
2048
2048
  "aria-live": "polite"
2049
- }, vue.toDisplayString(i18n.value.t(`months.${view.date.month - 1}`)) + " " + vue.toDisplayString(view.date.year), 9, _hoisted_3$f)
2049
+ }, vue.toDisplayString(i18n.value.t(`months.${view.date.month - 1}`)) + " " + vue.toDisplayString(view.date.year), 9, _hoisted_3$g)
2050
2050
  ]),
2051
2051
  _: 2
2052
2052
  }, 1032, ["onClick"]),
2053
- vue.createVNode(_sfc_main$U, {
2053
+ vue.createVNode(_sfc_main$W, {
2054
2054
  absent: index === 0 && viewsIsSynchronized.value && views[1].mode === vue.unref(VIEW_MODE).DAYS,
2055
2055
  label: i18n.value.t("nextMonth"),
2056
2056
  direction: "next",
2057
2057
  onClick: ($event) => showNextMonth(index)
2058
2058
  }, null, 8, ["absent", "label", "onClick"])
2059
- ], 8, _hoisted_2$l),
2059
+ ], 8, _hoisted_2$m),
2060
2060
  vue.createElementVNode("div", {
2061
2061
  class: "ui-v1-calendar__table",
2062
2062
  role: "grid",
@@ -2084,7 +2084,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2084
2084
  role: "row"
2085
2085
  }, [
2086
2086
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(week, (day) => {
2087
- return vue.openBlock(), vue.createBlock(_sfc_main$V, {
2087
+ return vue.openBlock(), vue.createBlock(_sfc_main$X, {
2088
2088
  key: "day-" + index + "-" + day,
2089
2089
  class: vue.normalizeClass({
2090
2090
  "ui-v1-calendar__cell-day": true,
@@ -2128,11 +2128,11 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2128
2128
  class: "ui-v1-calendar-navigation",
2129
2129
  "aria-label": i18n.value.t("yearNavigation")
2130
2130
  }, [
2131
- vue.createVNode(_sfc_main$U, {
2131
+ vue.createVNode(_sfc_main$W, {
2132
2132
  label: i18n.value.t("prevYear"),
2133
2133
  onClick: ($event) => showYear(view.date.year - 1, index)
2134
2134
  }, null, 8, ["label", "onClick"]),
2135
- vue.createVNode(_sfc_main$T, {
2135
+ vue.createVNode(_sfc_main$V, {
2136
2136
  onClick: ($event) => views[index].mode = vue.unref(VIEW_MODE).YEARS
2137
2137
  }, {
2138
2138
  default: vue.withCtx(() => [
@@ -2144,7 +2144,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2144
2144
  ]),
2145
2145
  _: 2
2146
2146
  }, 1032, ["onClick"]),
2147
- vue.createVNode(_sfc_main$U, {
2147
+ vue.createVNode(_sfc_main$W, {
2148
2148
  label: i18n.value.t("nextYear"),
2149
2149
  direction: "next",
2150
2150
  onClick: ($event) => showYear(view.date.year + 1, index)
@@ -2162,7 +2162,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2162
2162
  role: "row"
2163
2163
  }, [
2164
2164
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(months2, (month) => {
2165
- return vue.openBlock(), vue.createBlock(_sfc_main$V, {
2165
+ return vue.openBlock(), vue.createBlock(_sfc_main$X, {
2166
2166
  key: "month-" + month.month,
2167
2167
  class: vue.normalizeClass({ "ui-v1-calendar__cell-month": true }),
2168
2168
  current: isCurrentMonth(month.month, index),
@@ -2193,11 +2193,11 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2193
2193
  class: "ui-v1-calendar-navigation",
2194
2194
  "aria-label": i18n.value.t("decadeNavigation")
2195
2195
  }, [
2196
- vue.createVNode(_sfc_main$U, {
2196
+ vue.createVNode(_sfc_main$W, {
2197
2197
  label: i18n.value.t("prevDecade"),
2198
2198
  onClick: ($event) => showPrevDecade(index)
2199
2199
  }, null, 8, ["label", "onClick"]),
2200
- vue.createVNode(_sfc_main$T, {
2200
+ vue.createVNode(_sfc_main$V, {
2201
2201
  locked: "",
2202
2202
  onClick: ($event) => views[index].mode = vue.unref(VIEW_MODE).MONTHS
2203
2203
  }, {
@@ -2210,7 +2210,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2210
2210
  ]),
2211
2211
  _: 2
2212
2212
  }, 1032, ["onClick"]),
2213
- vue.createVNode(_sfc_main$U, {
2213
+ vue.createVNode(_sfc_main$W, {
2214
2214
  label: i18n.value.t("nextDecade"),
2215
2215
  direction: "next",
2216
2216
  onClick: ($event) => showNextDecade(index)
@@ -2228,7 +2228,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2228
2228
  role: "row"
2229
2229
  }, [
2230
2230
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(years, (year) => {
2231
- return vue.openBlock(), vue.createBlock(_sfc_main$V, {
2231
+ return vue.openBlock(), vue.createBlock(_sfc_main$X, {
2232
2232
  key: "year-" + year,
2233
2233
  class: vue.normalizeClass({ "ui-v1-calendar__cell-year": true }),
2234
2234
  current: isCurrentYear(year),
@@ -2263,12 +2263,12 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2263
2263
  };
2264
2264
  }
2265
2265
  });
2266
- const _hoisted_1$D = {
2266
+ const _hoisted_1$E = {
2267
2267
  xmlns: "http://www.w3.org/2000/svg",
2268
2268
  viewBox: "0 0 24 24"
2269
2269
  };
2270
- function render$e(_ctx, _cache) {
2271
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$D, [..._cache[0] || (_cache[0] = [
2270
+ function render$f(_ctx, _cache) {
2271
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$E, [..._cache[0] || (_cache[0] = [
2272
2272
  vue.createElementVNode("path", {
2273
2273
  fill: "currentColor",
2274
2274
  "fill-rule": "evenodd",
@@ -2277,7 +2277,7 @@ function render$e(_ctx, _cache) {
2277
2277
  }, null, -1)
2278
2278
  ])]);
2279
2279
  }
2280
- const IconDone = { render: render$e };
2280
+ const IconDone = { render: render$f };
2281
2281
  const expect = (value) => ({
2282
2282
  toBeOneOf(variants) {
2283
2283
  return Object.values(variants).includes(value);
@@ -2305,11 +2305,11 @@ const without = (obj, exclude) => {
2305
2305
  });
2306
2306
  return newObj;
2307
2307
  };
2308
- const _hoisted_1$C = ["id", "value", "name", "disabled", "checked"];
2309
- const _hoisted_2$k = { class: "ui-v1-checkbox__checkmark" };
2308
+ const _hoisted_1$D = ["id", "value", "name", "disabled", "checked"];
2309
+ const _hoisted_2$l = { class: "ui-v1-checkbox__checkmark" };
2310
2310
  let counter$3 = 0;
2311
2311
  const __default__$2 = {};
2312
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
2312
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
2313
2313
  ...__default__$2,
2314
2314
  __name: "UiCheckbox",
2315
2315
  props: {
@@ -2416,8 +2416,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
2416
2416
  type: "checkbox",
2417
2417
  class: "ui-v1-checkbox__input",
2418
2418
  onChange
2419
- }), null, 16, _hoisted_1$C),
2420
- vue.createElementVNode("span", _hoisted_2$k, [
2419
+ }), null, 16, _hoisted_1$D),
2420
+ vue.createElementVNode("span", _hoisted_2$l, [
2421
2421
  checked.value && !__props.indeterminate ? (vue.openBlock(), vue.createBlock(vue.unref(IconDone), {
2422
2422
  key: 0,
2423
2423
  class: "ui-v1-checkbox__checkmark-icon"
@@ -2432,15 +2432,15 @@ var COLLAPSE_BEHAVIOUR = /* @__PURE__ */ ((COLLAPSE_BEHAVIOUR2) => {
2432
2432
  COLLAPSE_BEHAVIOUR2["HIDE"] = "hide";
2433
2433
  return COLLAPSE_BEHAVIOUR2;
2434
2434
  })(COLLAPSE_BEHAVIOUR || {});
2435
- const _hoisted_1$B = {
2435
+ const _hoisted_1$C = {
2436
2436
  key: 0,
2437
2437
  class: "ui-v1-collapse"
2438
2438
  };
2439
- const _hoisted_2$j = {
2439
+ const _hoisted_2$k = {
2440
2440
  key: 1,
2441
2441
  class: "ui-v1-collapse"
2442
2442
  };
2443
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
2443
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
2444
2444
  __name: "UiCollapse",
2445
2445
  props: {
2446
2446
  /** Свёрнут/Развёрнут */
@@ -2558,12 +2558,12 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
2558
2558
  }, {
2559
2559
  default: vue.withCtx(() => [
2560
2560
  __props.collapseBehaviour === vue.unref(COLLAPSE_BEHAVIOUR).DISPOSE ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
2561
- __props.expanded ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
2561
+ __props.expanded ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
2562
2562
  vue.createElementVNode("div", null, [
2563
2563
  vue.renderSlot(_ctx.$slots, "default")
2564
2564
  ])
2565
2565
  ])) : vue.createCommentVNode("", true)
2566
- ], 64)) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_2$j, [
2566
+ ], 64)) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_2$k, [
2567
2567
  vue.createElementVNode("div", null, [
2568
2568
  vue.renderSlot(_ctx.$slots, "default")
2569
2569
  ])
@@ -2595,9 +2595,9 @@ const CollapseGroupRegisterKey = Symbol("UiCollapseGroup_register");
2595
2595
  const CollapseGroupUnregisterKey = Symbol("UiCollapseGroup_unregister");
2596
2596
  const CollapseGroupExpandKey = Symbol("UiCollapseGroup_expand");
2597
2597
  const CollapseGroupCollapseKey = Symbol("UiCollapseGroup_collapse");
2598
- const _hoisted_1$A = ["id", "aria-labelledby"];
2599
- const _hoisted_2$i = ["id", "disabled", "aria-controls", "aria-expanded", "aria-disabled"];
2600
- const _hoisted_3$e = { class: "ui-v1-collapse-box__icon-sprite" };
2598
+ const _hoisted_1$B = ["id", "aria-labelledby"];
2599
+ const _hoisted_2$j = ["id", "disabled", "aria-controls", "aria-expanded", "aria-disabled"];
2600
+ const _hoisted_3$f = { class: "ui-v1-collapse-box__icon-sprite" };
2601
2601
  const _hoisted_4$9 = { class: "ui-v1-collapse-box__header-content" };
2602
2602
  const _hoisted_5$7 = ["id"];
2603
2603
  const _hoisted_6$5 = ["id"];
@@ -2611,7 +2611,7 @@ const _hoisted_10 = {
2611
2611
  key: 0,
2612
2612
  class: "ui-v1-collapse-box__footer"
2613
2613
  };
2614
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
2614
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
2615
2615
  ...{
2616
2616
  inheritAttrs: false
2617
2617
  },
@@ -2834,7 +2834,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
2834
2834
  [`ui-v1-collapse-box__icon_${__props.iconSize}`]: __props.iconSize
2835
2835
  })
2836
2836
  }, [
2837
- vue.createElementVNode("span", _hoisted_3$e, [
2837
+ vue.createElementVNode("span", _hoisted_3$f, [
2838
2838
  vue.renderSlot(_ctx.$slots, "icon")
2839
2839
  ])
2840
2840
  ], 2)) : vue.createCommentVNode("", true),
@@ -2856,9 +2856,9 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
2856
2856
  !__props.disabled ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$3, [
2857
2857
  vue.createVNode(vue.unref(IconChevronRight), { class: "ui-v1-collapse-box__arrow" })
2858
2858
  ])) : vue.createCommentVNode("", true)
2859
- ], 8, _hoisted_2$i)
2859
+ ], 8, _hoisted_2$j)
2860
2860
  ], 2),
2861
- vue.createVNode(_sfc_main$Q, {
2861
+ vue.createVNode(_sfc_main$S, {
2862
2862
  id: boxId.value + "-collapse",
2863
2863
  "aria-hidden": !state.expanded ? "true" : "false",
2864
2864
  "aria-labelledby": boxId.value + "-button",
@@ -2893,11 +2893,11 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
2893
2893
  ]),
2894
2894
  _: 3
2895
2895
  }, 8, ["id", "aria-hidden", "aria-labelledby", "duration", "expanded", "collapse-behaviour"])
2896
- ], 16, _hoisted_1$A);
2896
+ ], 16, _hoisted_1$B);
2897
2897
  };
2898
2898
  }
2899
2899
  });
2900
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
2900
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
2901
2901
  __name: "UiCollapseGroup",
2902
2902
  props: {
2903
2903
  /**
@@ -3015,19 +3015,19 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
3015
3015
  };
3016
3016
  }
3017
3017
  });
3018
- const _hoisted_1$z = {
3018
+ const _hoisted_1$A = {
3019
3019
  xmlns: "http://www.w3.org/2000/svg",
3020
3020
  viewBox: "0 0 24 24"
3021
3021
  };
3022
- function render$d(_ctx, _cache) {
3023
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$z, [..._cache[0] || (_cache[0] = [
3022
+ function render$e(_ctx, _cache) {
3023
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$A, [..._cache[0] || (_cache[0] = [
3024
3024
  vue.createElementVNode("path", {
3025
3025
  fill: "currentColor",
3026
3026
  d: "M18 16V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2M4 4h12v12H4zm16 14V6a2 2 0 0 1 2 2v10a4 4 0 0 1-4 4H8a2 2 0 0 1-2-2h12a2 2 0 0 0 2-2"
3027
3027
  }, null, -1)
3028
3028
  ])]);
3029
3029
  }
3030
- const IconCopy = { render: render$d };
3030
+ const IconCopy = { render: render$e };
3031
3031
  const sides$1 = ["top", "right", "bottom", "left"];
3032
3032
  const min = Math.min;
3033
3033
  const max = Math.max;
@@ -4694,8 +4694,8 @@ if (typeof document !== "undefined" && typeof window !== "undefined") {
4694
4694
  window.addEventListener("click", onGlobalEvent("click"), true);
4695
4695
  }
4696
4696
  }
4697
- const _hoisted_1$y = { class: "ui-v1-popper__content" };
4698
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
4697
+ const _hoisted_1$z = { class: "ui-v1-popper__content" };
4698
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
4699
4699
  __name: "UiPopper",
4700
4700
  props: {
4701
4701
  /** Флаг для ручного переключения видимости */
@@ -5041,7 +5041,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
5041
5041
  ref: arrow2,
5042
5042
  class: "ui-v1-popper__arrow"
5043
5043
  }, null, 512)) : vue.createCommentVNode("", true),
5044
- vue.createElementVNode("div", _hoisted_1$y, [
5044
+ vue.createElementVNode("div", _hoisted_1$z, [
5045
5045
  vue.renderSlot(_ctx.$slots, "default")
5046
5046
  ])
5047
5047
  ], 16)
@@ -5049,7 +5049,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
5049
5049
  };
5050
5050
  }
5051
5051
  });
5052
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5052
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
5053
5053
  __name: "UiTooltip",
5054
5054
  props: {
5055
5055
  /** Флаг для ручного переключения видимости */
@@ -5160,7 +5160,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5160
5160
  hide: () => popper.value?.hide()
5161
5161
  });
5162
5162
  return (_ctx, _cache) => {
5163
- return vue.openBlock(), vue.createBlock(_sfc_main$N, vue.mergeProps({
5163
+ return vue.openBlock(), vue.createBlock(_sfc_main$P, vue.mergeProps({
5164
5164
  ref_key: "popper",
5165
5165
  ref: popper,
5166
5166
  visible: __props.visible,
@@ -5194,11 +5194,11 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5194
5194
  };
5195
5195
  }
5196
5196
  });
5197
- const _hoisted_1$x = { class: "ui-v1-copy-button__tooltip" };
5198
- const _hoisted_2$h = { class: "ui-v1-copy-button__icon" };
5199
- const _hoisted_3$d = { class: "ui-v1-copy-button__text" };
5197
+ const _hoisted_1$y = { class: "ui-v1-copy-button__tooltip" };
5198
+ const _hoisted_2$i = { class: "ui-v1-copy-button__icon" };
5199
+ const _hoisted_3$e = { class: "ui-v1-copy-button__text" };
5200
5200
  const _hoisted_4$8 = ["value"];
5201
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5201
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
5202
5202
  __name: "UiCopyButton",
5203
5203
  props: {
5204
5204
  /** Текст для копирования в буфер обмена */
@@ -5270,7 +5270,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5270
5270
  onClick: copy
5271
5271
  }, [
5272
5272
  vue.renderSlot(_ctx.$slots, "trigger", {}, () => [
5273
- vue.createVNode(_sfc_main$W, {
5273
+ vue.createVNode(_sfc_main$Y, {
5274
5274
  size: __props.size,
5275
5275
  appearance: "tertiary"
5276
5276
  }, {
@@ -5280,7 +5280,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5280
5280
  _: 1
5281
5281
  }, 8, ["size"])
5282
5282
  ]),
5283
- vue.createVNode(_sfc_main$M, vue.mergeProps({
5283
+ vue.createVNode(_sfc_main$O, vue.mergeProps({
5284
5284
  visible: visible.value,
5285
5285
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
5286
5286
  target: rootTarget.value,
@@ -5290,12 +5290,12 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5290
5290
  ...__props.tooltipOptions
5291
5291
  }), {
5292
5292
  default: vue.withCtx(() => [
5293
- vue.createElementVNode("div", _hoisted_1$x, [
5293
+ vue.createElementVNode("div", _hoisted_1$y, [
5294
5294
  copied.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
5295
- vue.createElementVNode("div", _hoisted_2$h, [
5295
+ vue.createElementVNode("div", _hoisted_2$i, [
5296
5296
  vue.createVNode(vue.unref(IconCheckmarkCircleOutlined))
5297
5297
  ]),
5298
- vue.createElementVNode("div", _hoisted_3$d, [
5298
+ vue.createElementVNode("div", _hoisted_3$e, [
5299
5299
  vue.renderSlot(_ctx.$slots, "hint-copied")
5300
5300
  ])
5301
5301
  ], 64)) : vue.renderSlot(_ctx.$slots, "hint", { key: 1 })
@@ -5350,7 +5350,7 @@ function detectLocale() {
5350
5350
  }
5351
5351
  return "en-GB";
5352
5352
  }
5353
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
5353
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
5354
5354
  __name: "UiDate",
5355
5355
  props: {
5356
5356
  date: {
@@ -5377,12 +5377,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
5377
5377
  };
5378
5378
  }
5379
5379
  });
5380
- const _hoisted_1$w = {
5380
+ const _hoisted_1$x = {
5381
5381
  xmlns: "http://www.w3.org/2000/svg",
5382
5382
  viewBox: "0 0 24 24"
5383
5383
  };
5384
- function render$c(_ctx, _cache) {
5385
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$w, [..._cache[0] || (_cache[0] = [
5384
+ function render$d(_ctx, _cache) {
5385
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$x, [..._cache[0] || (_cache[0] = [
5386
5386
  vue.createElementVNode("path", {
5387
5387
  fill: "currentColor",
5388
5388
  "fill-rule": "evenodd",
@@ -5391,13 +5391,13 @@ function render$c(_ctx, _cache) {
5391
5391
  }, null, -1)
5392
5392
  ])]);
5393
5393
  }
5394
- const IconCalendar = { render: render$c };
5395
- const _hoisted_1$v = {
5394
+ const IconCalendar = { render: render$d };
5395
+ const _hoisted_1$w = {
5396
5396
  xmlns: "http://www.w3.org/2000/svg",
5397
5397
  viewBox: "0 0 24 24"
5398
5398
  };
5399
- function render$b(_ctx, _cache) {
5400
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$v, [..._cache[0] || (_cache[0] = [
5399
+ function render$c(_ctx, _cache) {
5400
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$w, [..._cache[0] || (_cache[0] = [
5401
5401
  vue.createElementVNode("path", {
5402
5402
  fill: "currentColor",
5403
5403
  "fill-rule": "evenodd",
@@ -5406,7 +5406,7 @@ function render$b(_ctx, _cache) {
5406
5406
  }, null, -1)
5407
5407
  ])]);
5408
5408
  }
5409
- const IconClearCircle = { render: render$b };
5409
+ const IconClearCircle = { render: render$c };
5410
5410
  var TYPE$1 = /* @__PURE__ */ ((TYPE2) => {
5411
5411
  TYPE2["EMAIL"] = "email";
5412
5412
  TYPE2["PASSWORD"] = "password";
@@ -5506,19 +5506,19 @@ const _i18n$5 = define({
5506
5506
  "ru-RU": messages_ru_RU$5
5507
5507
  }
5508
5508
  });
5509
- const _hoisted_1$u = ["id"];
5510
- const _hoisted_2$g = {
5509
+ const _hoisted_1$v = ["id"];
5510
+ const _hoisted_2$h = {
5511
5511
  key: 0,
5512
5512
  class: "ui-v1-textbox__prefix"
5513
5513
  };
5514
- const _hoisted_3$c = ["id", "type", "value", "max", "min", "step", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "readonly", "required", "disabled"];
5514
+ const _hoisted_3$d = ["id", "type", "value", "max", "min", "step", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "readonly", "required", "disabled"];
5515
5515
  const _hoisted_4$7 = ["id", "value", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "rows", "cols", "readonly", "required", "disabled"];
5516
5516
  const _hoisted_5$6 = ["disabled", "aria-controls", "aria-label"];
5517
5517
  const _hoisted_6$4 = {
5518
5518
  key: 7,
5519
5519
  class: "ui-v1-textbox__suffix"
5520
5520
  };
5521
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
5521
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
5522
5522
  __name: "UiTextbox",
5523
5523
  props: {
5524
5524
  /** Уникальный идентификатор поля */
@@ -5942,7 +5942,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
5942
5942
  "ui-v1-textbox_xl": __props.size === vue.unref(SIZE$7).XL
5943
5943
  }
5944
5944
  }, _ctx.$attrs), [
5945
- __props.prefix || "prefix" in _ctx.$slots ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$g, [
5945
+ __props.prefix || "prefix" in _ctx.$slots ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$h, [
5946
5946
  vue.renderSlot(_ctx.$slots, "prefix", {}, () => [
5947
5947
  vue.createTextVNode(vue.toDisplayString(__props.prefix), 1)
5948
5948
  ])
@@ -5979,7 +5979,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
5979
5979
  onChange,
5980
5980
  onFocus,
5981
5981
  onBlur
5982
- }), null, 16, _hoisted_3$c)) : (vue.openBlock(), vue.createElementBlock("textarea", vue.mergeProps({
5982
+ }), null, 16, _hoisted_3$d)) : (vue.openBlock(), vue.createElementBlock("textarea", vue.mergeProps({
5983
5983
  key: 3,
5984
5984
  id: __props.id ?? vue.unref(uid2),
5985
5985
  ref_key: "textbox",
@@ -6032,7 +6032,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6032
6032
  vue.createTextVNode(vue.toDisplayString(__props.suffix), 1)
6033
6033
  ])
6034
6034
  ])) : vue.createCommentVNode("", true)
6035
- ], 16, _hoisted_1$u);
6035
+ ], 16, _hoisted_1$v);
6036
6036
  };
6037
6037
  }
6038
6038
  });
@@ -6050,15 +6050,15 @@ const deltaTransition$1 = (el) => {
6050
6050
  animationDuration: `${delta * 15}ms`
6051
6051
  } : {};
6052
6052
  };
6053
- const _hoisted_1$t = {
6053
+ const _hoisted_1$u = {
6054
6054
  key: 0,
6055
6055
  class: "ui-v1-menu-item__avatar"
6056
6056
  };
6057
- const _hoisted_2$f = {
6057
+ const _hoisted_2$g = {
6058
6058
  key: 1,
6059
6059
  class: "ui-v1-menu-item__icon ui-v1-menu-item__icon_leading"
6060
6060
  };
6061
- const _hoisted_3$b = { class: "ui-v1-menu-item__content" };
6061
+ const _hoisted_3$c = { class: "ui-v1-menu-item__content" };
6062
6062
  const _hoisted_4$6 = { class: "ui-v1-menu-item__text" };
6063
6063
  const _hoisted_5$5 = {
6064
6064
  key: 0,
@@ -6072,7 +6072,7 @@ const _hoisted_7$2 = {
6072
6072
  key: 3,
6073
6073
  class: "ui-v1-menu-item__icon ui-v1-menu-item__icon_trailing"
6074
6074
  };
6075
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6075
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
6076
6076
  __name: "UiMenuItem",
6077
6077
  props: {
6078
6078
  /** Размер */
@@ -6151,12 +6151,12 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6151
6151
  }),
6152
6152
  onMouseoverOnce: onHover
6153
6153
  }, [
6154
- _ctx.$slots["avatar"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
6154
+ _ctx.$slots["avatar"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
6155
6155
  vue.renderSlot(_ctx.$slots, "avatar")
6156
- ])) : _ctx.$slots["leading-icon"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$f, [
6156
+ ])) : _ctx.$slots["leading-icon"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$g, [
6157
6157
  vue.renderSlot(_ctx.$slots, "leading-icon")
6158
6158
  ])) : vue.createCommentVNode("", true),
6159
- vue.createElementVNode("div", _hoisted_3$b, [
6159
+ vue.createElementVNode("div", _hoisted_3$c, [
6160
6160
  vue.createElementVNode("div", _hoisted_4$6, [
6161
6161
  __props.ticker ? (vue.openBlock(), vue.createElementBlock("div", {
6162
6162
  key: 0,
@@ -6183,7 +6183,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6183
6183
  };
6184
6184
  }
6185
6185
  });
6186
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
6186
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6187
6187
  __name: "UiScrollBox",
6188
6188
  props: {
6189
6189
  /** Наименование тэга-обёртки для нативного скролла */
@@ -6361,7 +6361,7 @@ const isQuickDateEqual = (first, second) => {
6361
6361
  }
6362
6362
  return false;
6363
6363
  };
6364
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
6364
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6365
6365
  __name: "UiDatePickerQuickMenu",
6366
6366
  props: {
6367
6367
  value: {
@@ -6387,14 +6387,14 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
6387
6387
  emit("change", props.nullable && isActive(date) ? null : date);
6388
6388
  };
6389
6389
  return (_ctx, _cache) => {
6390
- return vue.openBlock(), vue.createBlock(_sfc_main$H, {
6390
+ return vue.openBlock(), vue.createBlock(_sfc_main$J, {
6391
6391
  class: "ui-v1-date-picker__quick-menu",
6392
6392
  role: "menu",
6393
6393
  native: ""
6394
6394
  }, {
6395
6395
  default: vue.withCtx(() => [
6396
6396
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.items, (item, index) => {
6397
- return vue.openBlock(), vue.createBlock(_sfc_main$I, {
6397
+ return vue.openBlock(), vue.createBlock(_sfc_main$K, {
6398
6398
  key: "quick-item-" + index,
6399
6399
  active: isActive(item.value),
6400
6400
  "aria-current": isActive(item.value) ? "true" : "false",
@@ -6439,11 +6439,11 @@ const _i18n$4 = define({
6439
6439
  "ru-RU": messages_ru_RU$4
6440
6440
  }
6441
6441
  });
6442
- const _hoisted_1$s = ["id", "aria-controls", "aria-disabled", "aria-expanded", "aria-readonly"];
6443
- const _hoisted_2$e = ["id"];
6444
- const _hoisted_3$a = { class: "ui-v1-date-picker__workspace" };
6442
+ const _hoisted_1$t = ["id", "aria-controls", "aria-disabled", "aria-expanded", "aria-readonly"];
6443
+ const _hoisted_2$f = ["id"];
6444
+ const _hoisted_3$b = { class: "ui-v1-date-picker__workspace" };
6445
6445
  const _hoisted_4$5 = { class: "ui-v1-date-picker__action" };
6446
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6446
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
6447
6447
  ...{
6448
6448
  inheritAttrs: false
6449
6449
  },
@@ -6810,7 +6810,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6810
6810
  onClick: toggle
6811
6811
  }, [
6812
6812
  vue.renderSlot(_ctx.$slots, "trigger")
6813
- ])) : (vue.openBlock(), vue.createBlock(_sfc_main$J, vue.mergeProps({
6813
+ ])) : (vue.openBlock(), vue.createBlock(_sfc_main$L, vue.mergeProps({
6814
6814
  key: 1,
6815
6815
  id: inputId.value,
6816
6816
  ref_key: "textbox",
@@ -6845,7 +6845,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6845
6845
  key: "0"
6846
6846
  } : void 0
6847
6847
  ]), 1040, ["id", "clearable", "value", "placeholder", "active", "disabled", "readonly"])),
6848
- vue.createVNode(_sfc_main$N, vue.mergeProps({
6848
+ vue.createVNode(_sfc_main$P, vue.mergeProps({
6849
6849
  id: `${inputId.value}-popper`,
6850
6850
  visible: showCalendar.value,
6851
6851
  target: triggerTarget.value,
@@ -6868,15 +6868,15 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6868
6868
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
6869
6869
  }, ["stop"]))
6870
6870
  }, [
6871
- __props.quickOptions.length > 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
6871
+ __props.quickOptions.length > 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$I, {
6872
6872
  key: 0,
6873
6873
  value: view.value,
6874
6874
  items: __props.quickOptions,
6875
6875
  nullable: __props.nullable,
6876
6876
  onChange: onQuickChange
6877
6877
  }, null, 8, ["value", "items", "nullable"])) : vue.createCommentVNode("", true),
6878
- vue.createElementVNode("div", _hoisted_3$a, [
6879
- vue.createVNode(_sfc_main$S, {
6878
+ vue.createElementVNode("div", _hoisted_3$b, [
6879
+ vue.createVNode(_sfc_main$U, {
6880
6880
  ref_key: "calendar",
6881
6881
  ref: calendar,
6882
6882
  value: view.value,
@@ -6897,7 +6897,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6897
6897
  })
6898
6898
  }, [
6899
6899
  vue.createElementVNode("div", _hoisted_4$5, [
6900
- vue.createVNode(_sfc_main$W, {
6900
+ vue.createVNode(_sfc_main$Y, {
6901
6901
  appearance: "tertiary",
6902
6902
  class: "ui-v1-date-picker__button",
6903
6903
  onClick: reset
@@ -6907,7 +6907,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6907
6907
  ]),
6908
6908
  _: 1
6909
6909
  }),
6910
- vue.createVNode(_sfc_main$W, {
6910
+ vue.createVNode(_sfc_main$Y, {
6911
6911
  class: "ui-v1-date-picker__button",
6912
6912
  onClick: apply2
6913
6913
  }, {
@@ -6919,11 +6919,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
6919
6919
  ])
6920
6920
  ], 2)) : vue.createCommentVNode("", true)
6921
6921
  ])
6922
- ], 8, _hoisted_2$e)
6922
+ ], 8, _hoisted_2$f)
6923
6923
  ]),
6924
6924
  _: 1
6925
6925
  }, 16, ["id", "visible", "target", "container", "placement", "aria-hidden", "class", "disabled"])
6926
- ], 16, _hoisted_1$s);
6926
+ ], 16, _hoisted_1$t);
6927
6927
  };
6928
6928
  }
6929
6929
  });
@@ -6932,7 +6932,7 @@ var ALIGN$1 = /* @__PURE__ */ ((ALIGN2) => {
6932
6932
  ALIGN2["RIGHT"] = "right";
6933
6933
  return ALIGN2;
6934
6934
  })(ALIGN$1 || {});
6935
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
6935
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
6936
6936
  __name: "UiError",
6937
6937
  props: {
6938
6938
  /** Тест, разметка ошибки */
@@ -6971,38 +6971,38 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
6971
6971
  };
6972
6972
  }
6973
6973
  });
6974
- const _hoisted_1$r = {
6974
+ const _hoisted_1$s = {
6975
6975
  xmlns: "http://www.w3.org/2000/svg",
6976
6976
  viewBox: "0 0 24 24"
6977
6977
  };
6978
- function render$a(_ctx, _cache) {
6979
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$r, [..._cache[0] || (_cache[0] = [
6978
+ function render$b(_ctx, _cache) {
6979
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$s, [..._cache[0] || (_cache[0] = [
6980
6980
  vue.createElementVNode("path", {
6981
6981
  fill: "currentColor",
6982
6982
  d: "M12.72 15.78a.75.75 0 0 1-.53.22h-.38a.77.77 0 0 1-.53-.22l-5.13-5.14a.5.5 0 0 1 0-.71l.71-.71a.49.49 0 0 1 .7 0L12 13.67l4.44-4.45a.5.5 0 0 1 .71 0l.7.71a.5.5 0 0 1 0 .71z"
6983
6983
  }, null, -1)
6984
6984
  ])]);
6985
6985
  }
6986
- const IconChevronDown = { render: render$a };
6987
- const _hoisted_1$q = {
6986
+ const IconChevronDown = { render: render$b };
6987
+ const _hoisted_1$r = {
6988
6988
  xmlns: "http://www.w3.org/2000/svg",
6989
6989
  viewBox: "0 0 24 24"
6990
6990
  };
6991
- function render$9(_ctx, _cache) {
6992
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$q, [..._cache[0] || (_cache[0] = [
6991
+ function render$a(_ctx, _cache) {
6992
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$r, [..._cache[0] || (_cache[0] = [
6993
6993
  vue.createElementVNode("path", {
6994
6994
  fill: "currentColor",
6995
6995
  d: "M11.28 8.22a.75.75 0 0 1 .53-.22h.38a.77.77 0 0 1 .53.22l5.13 5.14a.5.5 0 0 1 0 .71l-.71.71a.49.49 0 0 1-.7 0L12 10.33l-4.44 4.45a.5.5 0 0 1-.71 0l-.7-.71a.5.5 0 0 1 0-.71z"
6996
6996
  }, null, -1)
6997
6997
  ])]);
6998
6998
  }
6999
- const IconChevronUp = { render: render$9 };
7000
- const _hoisted_1$p = ["id", "aria-expanded", "aria-hidden"];
7001
- const _hoisted_2$d = {
6999
+ const IconChevronUp = { render: render$a };
7000
+ const _hoisted_1$q = ["id", "aria-expanded", "aria-hidden"];
7001
+ const _hoisted_2$e = {
7002
7002
  "aria-hidden": "true",
7003
7003
  class: "ui-v1-infobox__media"
7004
7004
  };
7005
- const _hoisted_3$9 = { class: "ui-v1-infobox__icon" };
7005
+ const _hoisted_3$a = { class: "ui-v1-infobox__icon" };
7006
7006
  const _hoisted_4$4 = { class: "ui-v1-infobox__content" };
7007
7007
  const _hoisted_5$4 = {
7008
7008
  key: 0,
@@ -7010,7 +7010,7 @@ const _hoisted_5$4 = {
7010
7010
  };
7011
7011
  const _hoisted_6$2 = ["id"];
7012
7012
  const _hoisted_7$1 = ["aria-controls", "aria-expanded"];
7013
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7013
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
7014
7014
  ...{
7015
7015
  inheritAttrs: false
7016
7016
  },
@@ -7147,7 +7147,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7147
7147
  syncExpandedFromProps();
7148
7148
  });
7149
7149
  return (_ctx, _cache) => {
7150
- return vue.openBlock(), vue.createBlock(_sfc_main$10, {
7150
+ return vue.openBlock(), vue.createBlock(_sfc_main$12, {
7151
7151
  name: "fade",
7152
7152
  onAfterEnter,
7153
7153
  onAfterLeave,
@@ -7167,8 +7167,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7167
7167
  },
7168
7168
  role: "alert"
7169
7169
  }, rootAttrs.value), [
7170
- vue.createElementVNode("div", _hoisted_2$d, [
7171
- vue.createElementVNode("div", _hoisted_3$9, [
7170
+ vue.createElementVNode("div", _hoisted_2$e, [
7171
+ vue.createElementVNode("div", _hoisted_3$a, [
7172
7172
  vue.renderSlot(_ctx.$slots, "icon", {
7173
7173
  expanded: state.shouldBeExpanded
7174
7174
  }, () => [
@@ -7213,7 +7213,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7213
7213
  }))
7214
7214
  ], 8, _hoisted_7$1)) : vue.createCommentVNode("", true)
7215
7215
  ])) : vue.createCommentVNode("", true),
7216
- vue.createVNode(_sfc_main$Q, {
7216
+ vue.createVNode(_sfc_main$S, {
7217
7217
  id: bodyId.value,
7218
7218
  "aria-labelledby": hasTitle.value ? titleId.value : void 0,
7219
7219
  expanded: bodyExpanded.value,
@@ -7241,7 +7241,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7241
7241
  }, [
7242
7242
  vue.createVNode(vue.unref(IconClear), { class: "ui-v1-infobox__closer-icon" })
7243
7243
  ])) : vue.createCommentVNode("", true)
7244
- ], 16, _hoisted_1$p), [
7244
+ ], 16, _hoisted_1$q), [
7245
7245
  [vue.vShow, state.shouldBeShown]
7246
7246
  ])
7247
7247
  ]),
@@ -7250,19 +7250,19 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7250
7250
  };
7251
7251
  }
7252
7252
  });
7253
- const _hoisted_1$o = {
7253
+ const _hoisted_1$p = {
7254
7254
  xmlns: "http://www.w3.org/2000/svg",
7255
7255
  viewBox: "0 0 24 24"
7256
7256
  };
7257
- function render$8(_ctx, _cache) {
7258
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$o, [..._cache[0] || (_cache[0] = [
7257
+ function render$9(_ctx, _cache) {
7258
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$p, [..._cache[0] || (_cache[0] = [
7259
7259
  vue.createElementVNode("path", {
7260
7260
  fill: "currentColor",
7261
7261
  d: "m6.844 17.854-.7-.703a.5.5 0 0 1 0-.704l8.48-8.456-6.212.007a.49.49 0 0 1-.496-.5l.007-.991a.5.5 0 0 1 .496-.5L16.994 6c.196 0 .385.078.524.218l.265.267c.137.142.215.33.217.528l-.007 8.633a.5.5 0 0 1-.496.5h-.992a.48.48 0 0 1-.49-.493l.007-6.255-8.48 8.456a.49.49 0 0 1-.698 0"
7262
7262
  }, null, -1)
7263
7263
  ])]);
7264
7264
  }
7265
- const IconOpenInNew = { render: render$8 };
7265
+ const IconOpenInNew = { render: render$9 };
7266
7266
  var APPEARANCE$3 = /* @__PURE__ */ ((APPEARANCE2) => {
7267
7267
  APPEARANCE2["BREADCRUMBS"] = "breadcrumbs";
7268
7268
  APPEARANCE2["DEFAULT"] = "default";
@@ -7281,16 +7281,16 @@ var SIZE$5 = /* @__PURE__ */ ((SIZE2) => {
7281
7281
  SIZE2["TITLE02"] = "title-02";
7282
7282
  return SIZE2;
7283
7283
  })(SIZE$5 || {});
7284
- const _hoisted_1$n = ["href", "target"];
7285
- const _hoisted_2$c = {
7284
+ const _hoisted_1$o = ["href", "target"];
7285
+ const _hoisted_2$d = {
7286
7286
  key: 0,
7287
7287
  class: "ui-v1-link__inner"
7288
7288
  };
7289
- const _hoisted_3$8 = {
7289
+ const _hoisted_3$9 = {
7290
7290
  key: 2,
7291
7291
  class: "ui-v1-link__icon"
7292
7292
  };
7293
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7293
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7294
7294
  __name: "UiLink",
7295
7295
  props: {
7296
7296
  /** Атрибут ссылки */
@@ -7359,19 +7359,19 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7359
7359
  },
7360
7360
  target: __props.external ? "_blank" : "_self"
7361
7361
  }, _ctx.$attrs), [
7362
- __props.dotted ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$c, [
7362
+ __props.dotted ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$d, [
7363
7363
  vue.renderSlot(_ctx.$slots, "default")
7364
7364
  ])) : vue.renderSlot(_ctx.$slots, "default", { key: 1 }),
7365
- _ctx.$slots.icon || __props.external ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$8, [
7365
+ _ctx.$slots.icon || __props.external ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, [
7366
7366
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
7367
7367
  vue.createVNode(vue.unref(IconOpenInNew), { class: "ui-v1-link__icon-sprite" })
7368
7368
  ])
7369
7369
  ])) : vue.createCommentVNode("", true)
7370
- ], 16, _hoisted_1$n);
7370
+ ], 16, _hoisted_1$o);
7371
7371
  };
7372
7372
  }
7373
7373
  });
7374
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7374
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7375
7375
  __name: "UiLoader",
7376
7376
  props: {
7377
7377
  /** Диаметр (размер) окружности индикатора */
@@ -7403,7 +7403,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7403
7403
  },
7404
7404
  setup(__props) {
7405
7405
  return (_ctx, _cache) => {
7406
- return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.transition ? _sfc_main$10 : "div"), vue.normalizeProps(vue.guardReactiveProps(__props.transition ? {
7406
+ return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.transition ? _sfc_main$12 : "div"), vue.normalizeProps(vue.guardReactiveProps(__props.transition ? {
7407
7407
  appear: true,
7408
7408
  class: "ui-v1-loader-wrapper",
7409
7409
  name: __props.transition
@@ -7437,10 +7437,10 @@ const _export_sfc = (sfc, props) => {
7437
7437
  }
7438
7438
  return target;
7439
7439
  };
7440
- const _sfc_main$A = {};
7441
- const _hoisted_1$m = { class: "ui-v1-menu-item-group" };
7442
- const _hoisted_2$b = { class: "ui-v1-menu-item-group__head" };
7443
- const _hoisted_3$7 = {
7440
+ const _sfc_main$C = {};
7441
+ const _hoisted_1$n = { class: "ui-v1-menu-item-group" };
7442
+ const _hoisted_2$c = { class: "ui-v1-menu-item-group__head" };
7443
+ const _hoisted_3$8 = {
7444
7444
  key: 0,
7445
7445
  class: "ui-v1-menu-item-group__head-option"
7446
7446
  };
@@ -7453,9 +7453,9 @@ const _hoisted_5$3 = {
7453
7453
  class: "ui-v1-menu-item-group__count"
7454
7454
  };
7455
7455
  function _sfc_render(_ctx, _cache) {
7456
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
7457
- vue.createElementVNode("div", _hoisted_2$b, [
7458
- _ctx.$slots.option ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$7, [
7456
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
7457
+ vue.createElementVNode("div", _hoisted_2$c, [
7458
+ _ctx.$slots.option ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$8, [
7459
7459
  vue.renderSlot(_ctx.$slots, "option")
7460
7460
  ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [
7461
7461
  vue.createElementVNode("div", {
@@ -7474,7 +7474,7 @@ function _sfc_render(_ctx, _cache) {
7474
7474
  vue.renderSlot(_ctx.$slots, "default")
7475
7475
  ]);
7476
7476
  }
7477
- const UiMenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render]]);
7477
+ const UiMenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render]]);
7478
7478
  class LayerRegistry {
7479
7479
  registry;
7480
7480
  started = false;
@@ -7570,9 +7570,9 @@ var SIZE$4 = /* @__PURE__ */ ((SIZE2) => {
7570
7570
  SIZE2["SM"] = "sm";
7571
7571
  return SIZE2;
7572
7572
  })(SIZE$4 || {});
7573
- const _hoisted_1$l = ["id", "aria-hidden", "role"];
7574
- const _hoisted_2$a = ["id"];
7575
- const _hoisted_3$6 = { class: "ui-v1-modal-sidebar__header" };
7573
+ const _hoisted_1$m = ["id", "aria-hidden", "role"];
7574
+ const _hoisted_2$b = ["id"];
7575
+ const _hoisted_3$7 = { class: "ui-v1-modal-sidebar__header" };
7576
7576
  const _hoisted_4$2 = { class: "ui-v1-modal-sidebar__header-inner" };
7577
7577
  const _hoisted_5$2 = {
7578
7578
  "aria-level": "1",
@@ -7588,7 +7588,7 @@ const _hoisted_8 = {
7588
7588
  key: 2,
7589
7589
  class: "ui-v1-modal-sidebar__footer"
7590
7590
  };
7591
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7591
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7592
7592
  ...{
7593
7593
  inheritAttrs: false
7594
7594
  },
@@ -7814,7 +7814,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7814
7814
  key: 0,
7815
7815
  to: vue.unref(globals)?.container || "body"
7816
7816
  }, [
7817
- vue.createVNode(_sfc_main$10, {
7817
+ vue.createVNode(_sfc_main$12, {
7818
7818
  name: "fade-2",
7819
7819
  onBeforeEnter: _cache[5] || (_cache[5] = ($event) => visibilityOfOverlay.value = "showing"),
7820
7820
  onAfterEnter: _cache[6] || (_cache[6] = ($event) => visibilityOfOverlay.value = "shown"),
@@ -7835,7 +7835,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7835
7835
  "aria-modal": "true",
7836
7836
  role: __props.role
7837
7837
  }, _ctx.$attrs, { onClick: onBackdropClick }), [
7838
- vue.createVNode(_sfc_main$10, {
7838
+ vue.createVNode(_sfc_main$12, {
7839
7839
  name: `slide-${__props.direction}`,
7840
7840
  onBeforeEnter: _cache[1] || (_cache[1] = ($event) => visibilityOfSidebar.value = "showing"),
7841
7841
  onAfterEnter: _cache[2] || (_cache[2] = ($event) => visibilityOfSidebar.value = "shown"),
@@ -7854,7 +7854,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7854
7854
  "ui-v1-modal-sidebar_size_lg": __props.size === vue.unref(SIZE$4).LG
7855
7855
  })
7856
7856
  }, [
7857
- vue.createElementVNode("header", _hoisted_3$6, [
7857
+ vue.createElementVNode("header", _hoisted_3$7, [
7858
7858
  vue.createElementVNode("div", _hoisted_4$2, [
7859
7859
  vue.createElementVNode("div", _hoisted_5$2, [
7860
7860
  vue.renderSlot(_ctx.$slots, "title", {
@@ -7876,7 +7876,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7876
7876
  "aria-hidden": "true",
7877
7877
  width: "32"
7878
7878
  }),
7879
- vue.createVNode(_sfc_main$M, {
7879
+ vue.createVNode(_sfc_main$O, {
7880
7880
  target: closerTarget.value,
7881
7881
  "offset-main-axis": 0
7882
7882
  }, {
@@ -7891,7 +7891,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7891
7891
  vue.renderSlot(_ctx.$slots, "default", {
7892
7892
  overlapped: state.overlapped
7893
7893
  })
7894
- ])) : (vue.openBlock(), vue.createBlock(_sfc_main$H, {
7894
+ ])) : (vue.openBlock(), vue.createBlock(_sfc_main$J, {
7895
7895
  key: 1,
7896
7896
  native: __props.scrolling === vue.unref(SCROLLING$1).NATIVE,
7897
7897
  class: "ui-v1-modal-sidebar__body",
@@ -7910,11 +7910,11 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7910
7910
  overlapped: state.overlapped
7911
7911
  })
7912
7912
  ])) : vue.createCommentVNode("", true)
7913
- ], 10, _hoisted_2$a)) : vue.createCommentVNode("", true)
7913
+ ], 10, _hoisted_2$b)) : vue.createCommentVNode("", true)
7914
7914
  ]),
7915
7915
  _: 3
7916
7916
  }, 8, ["name"])
7917
- ], 16, _hoisted_1$l), [
7917
+ ], 16, _hoisted_1$m), [
7918
7918
  [vue.vShow, state.shown]
7919
7919
  ])
7920
7920
  ]),
@@ -7936,7 +7936,7 @@ var SCROLLING = /* @__PURE__ */ ((SCROLLING2) => {
7936
7936
  SCROLLING2["NATIVE"] = "native";
7937
7937
  return SCROLLING2;
7938
7938
  })(SCROLLING || {});
7939
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
7939
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
7940
7940
  __name: "UiModalWindowSurface",
7941
7941
  props: {
7942
7942
  /** Атрибут id корневого элемента модального окна. Должен быть уникальным на странице */
@@ -8156,7 +8156,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
8156
8156
  const slots = vue.useSlots();
8157
8157
  const renderBody = () => {
8158
8158
  const appearance = props.appearance;
8159
- return vue.h(_sfc_main$10, {
8159
+ return vue.h(_sfc_main$12, {
8160
8160
  name: "zoom",
8161
8161
  onBeforeEnter: () => visibilityOfBody.value = "showing",
8162
8162
  onAfterEnter: () => visibilityOfBody.value = "shown",
@@ -8181,7 +8181,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
8181
8181
  };
8182
8182
  const EmbedModalWindowSurface = () => !state.attached ? void 0 : vue.h(vue.Teleport, {
8183
8183
  to: globals?.container ?? document.body
8184
- }, vue.h(_sfc_main$10, {
8184
+ }, vue.h(_sfc_main$12, {
8185
8185
  name: "fade-2",
8186
8186
  onBeforeEnter: () => visibilityOfOverlay.value = "showing",
8187
8187
  onAfterEnter: () => visibilityOfOverlay.value = "shown",
@@ -8199,7 +8199,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
8199
8199
  "ui-v1-modal_overlapped": state.overlapped
8200
8200
  }],
8201
8201
  onClick: onOverlayClick
8202
- }, vue.h(_sfc_main$H, {
8202
+ }, vue.h(_sfc_main$J, {
8203
8203
  class: {
8204
8204
  "ui-v1-modal-window-container": true,
8205
8205
  "ui-v1-modal-window-container_fullscreen": props.fullscreen,
@@ -8223,12 +8223,12 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
8223
8223
  };
8224
8224
  }
8225
8225
  });
8226
- const _hoisted_1$k = {
8226
+ const _hoisted_1$l = {
8227
8227
  xmlns: "http://www.w3.org/2000/svg",
8228
8228
  viewBox: "0 0 24 24"
8229
8229
  };
8230
- function render$7(_ctx, _cache) {
8231
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$k, [..._cache[0] || (_cache[0] = [
8230
+ function render$8(_ctx, _cache) {
8231
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$l, [..._cache[0] || (_cache[0] = [
8232
8232
  vue.createElementVNode("path", {
8233
8233
  fill: "currentColor",
8234
8234
  "fill-rule": "evenodd",
@@ -8237,13 +8237,13 @@ function render$7(_ctx, _cache) {
8237
8237
  }, null, -1)
8238
8238
  ])]);
8239
8239
  }
8240
- const IconWarning = { render: render$7 };
8241
- const _hoisted_1$j = {
8240
+ const IconWarning = { render: render$8 };
8241
+ const _hoisted_1$k = {
8242
8242
  key: 0,
8243
8243
  class: "ui-v1-modal-window__icon"
8244
8244
  };
8245
- const _hoisted_2$9 = ["id"];
8246
- const _hoisted_3$5 = ["disabled"];
8245
+ const _hoisted_2$a = ["id"];
8246
+ const _hoisted_3$6 = ["disabled"];
8247
8247
  const _hoisted_4$1 = {
8248
8248
  key: 1,
8249
8249
  class: "ui-v1-modal-window__content"
@@ -8256,7 +8256,7 @@ const _hoisted_6 = {
8256
8256
  key: 0,
8257
8257
  class: "ui-v1-modal-window__footer-text"
8258
8258
  };
8259
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
8259
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
8260
8260
  __name: "UiModalWindow",
8261
8261
  props: {
8262
8262
  /** Атрибут id корневого элемента модального окна. Должен быть уникальным на странице */
@@ -8376,7 +8376,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
8376
8376
  });
8377
8377
  vue.watch(() => props.opened, toggle);
8378
8378
  return (_ctx, _cache) => {
8379
- return vue.openBlock(), vue.createBlock(_sfc_main$y, vue.mergeProps({
8379
+ return vue.openBlock(), vue.createBlock(_sfc_main$A, vue.mergeProps({
8380
8380
  id: __props.id,
8381
8381
  opened: state.opened,
8382
8382
  closable: __props.closable,
@@ -8405,7 +8405,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
8405
8405
  "ui-v1-modal-window__header_pinned": _ctx.$slots.title && state.scrolled && __props.appearance === vue.unref(APPEARANCE$2).POPUP && !__props.responsive
8406
8406
  })
8407
8407
  }, [
8408
- __props.appearance === vue.unref(APPEARANCE$2).ALERT ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
8408
+ __props.appearance === vue.unref(APPEARANCE$2).ALERT ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
8409
8409
  vue.renderSlot(_ctx.$slots, "icon", {
8410
8410
  overlapped: state.overlapped
8411
8411
  }, () => [
@@ -8420,7 +8420,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
8420
8420
  vue.renderSlot(_ctx.$slots, "title", {
8421
8421
  overlapped: state.overlapped
8422
8422
  })
8423
- ], 8, _hoisted_2$9)) : vue.createCommentVNode("", true),
8423
+ ], 8, _hoisted_2$a)) : vue.createCommentVNode("", true),
8424
8424
  __props.appearance !== vue.unref(APPEARANCE$2).ALERT ? (vue.openBlock(), vue.createElementBlock("button", {
8425
8425
  key: 2,
8426
8426
  "aria-keyshortcuts": "Esc",
@@ -8434,9 +8434,9 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
8434
8434
  title: "Close dialog",
8435
8435
  style: { "width": "100%" }
8436
8436
  })
8437
- ], 8, _hoisted_3$5)) : vue.createCommentVNode("", true)
8437
+ ], 8, _hoisted_3$6)) : vue.createCommentVNode("", true)
8438
8438
  ], 2),
8439
- __props.responsive ? (vue.openBlock(), vue.createBlock(_sfc_main$H, {
8439
+ __props.responsive ? (vue.openBlock(), vue.createBlock(_sfc_main$J, {
8440
8440
  key: 0,
8441
8441
  class: "ui-v1-modal-window__content",
8442
8442
  "show-on-mac": "",
@@ -8469,58 +8469,58 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
8469
8469
  };
8470
8470
  }
8471
8471
  });
8472
- const _hoisted_1$i = {
8472
+ const _hoisted_1$j = {
8473
8473
  xmlns: "http://www.w3.org/2000/svg",
8474
8474
  viewBox: "0 0 24 24"
8475
8475
  };
8476
- function render$6(_ctx, _cache) {
8477
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$i, [..._cache[0] || (_cache[0] = [
8476
+ function render$7(_ctx, _cache) {
8477
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$j, [..._cache[0] || (_cache[0] = [
8478
8478
  vue.createElementVNode("path", {
8479
8479
  fill: "currentColor",
8480
8480
  d: "M19 11.5v1a.5.5 0 0 1-.5.5H13v5.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5V13H5.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5H11V5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5V11h5.5a.5.5 0 0 1 .5.5"
8481
8481
  }, null, -1)
8482
8482
  ])]);
8483
8483
  }
8484
- const IconAdd = { render: render$6 };
8485
- const _hoisted_1$h = {
8484
+ const IconAdd = { render: render$7 };
8485
+ const _hoisted_1$i = {
8486
8486
  xmlns: "http://www.w3.org/2000/svg",
8487
8487
  viewBox: "0 0 24 24"
8488
8488
  };
8489
- function render$5(_ctx, _cache) {
8490
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$h, [..._cache[0] || (_cache[0] = [
8489
+ function render$6(_ctx, _cache) {
8490
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$i, [..._cache[0] || (_cache[0] = [
8491
8491
  vue.createElementVNode("path", {
8492
8492
  fill: "currentColor",
8493
8493
  d: "M8.138 11.06A.52.52 0 0 1 8 10.705c0-.133.05-.261.138-.355l.187-.2A.44.44 0 0 1 8.66 10h6.68a.44.44 0 0 1 .335.15l.187.2a.52.52 0 0 1 .138.355c0 .133-.05.26-.138.355l-3.536 3.788A.43.43 0 0 1 12 15a.43.43 0 0 1-.326-.152z"
8494
8494
  }, null, -1)
8495
8495
  ])]);
8496
8496
  }
8497
- const IconCaret = { render: render$5 };
8498
- const _hoisted_1$g = {
8497
+ const IconCaret = { render: render$6 };
8498
+ const _hoisted_1$h = {
8499
8499
  xmlns: "http://www.w3.org/2000/svg",
8500
8500
  viewBox: "0 0 24 24"
8501
8501
  };
8502
- function render$4(_ctx, _cache) {
8503
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$g, [..._cache[0] || (_cache[0] = [
8502
+ function render$5(_ctx, _cache) {
8503
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$h, [..._cache[0] || (_cache[0] = [
8504
8504
  vue.createElementVNode("path", {
8505
8505
  fill: "currentColor",
8506
8506
  d: "M16.14 12.94a.5.5 0 0 1 0 .71l-.2.2a.5.5 0 0 1-.36.15H8.42a.5.5 0 0 1-.36-.15l-.2-.2a.5.5 0 0 1 0-.71l3.79-3.79a.48.48 0 0 1 .7 0z"
8507
8507
  }, null, -1)
8508
8508
  ])]);
8509
8509
  }
8510
- const IconCaretUp = { render: render$4 };
8511
- const _hoisted_1$f = {
8510
+ const IconCaretUp = { render: render$5 };
8511
+ const _hoisted_1$g = {
8512
8512
  xmlns: "http://www.w3.org/2000/svg",
8513
8513
  viewBox: "0 0 24 24"
8514
8514
  };
8515
- function render$3(_ctx, _cache) {
8516
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$f, [..._cache[0] || (_cache[0] = [
8515
+ function render$4(_ctx, _cache) {
8516
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$g, [..._cache[0] || (_cache[0] = [
8517
8517
  vue.createElementVNode("path", {
8518
8518
  fill: "currentColor",
8519
8519
  d: "M5.5 13.25c-.276 0-.5-.28-.5-.625v-1.25c0-.345.224-.625.5-.625h13c.276 0 .5.28.5.625v1.25c0 .345-.224.625-.5.625z"
8520
8520
  }, null, -1)
8521
8521
  ])]);
8522
8522
  }
8523
- const IconRemove = { render: render$3 };
8523
+ const IconRemove = { render: render$4 };
8524
8524
  var DIRECTION$1 = /* @__PURE__ */ ((DIRECTION2) => {
8525
8525
  DIRECTION2["HORIZONTAL"] = "horizontal";
8526
8526
  DIRECTION2["VERTICAL"] = "vertical";
@@ -8623,10 +8623,10 @@ const _i18n$3 = define({
8623
8623
  "ru-RU": messages_ru_RU$3
8624
8624
  }
8625
8625
  });
8626
- const _hoisted_1$e = ["id", "aria-disabled", "aria-readonly"];
8627
- const _hoisted_2$8 = ["id", "aria-controls", "aria-label", "disabled"];
8628
- const _hoisted_3$4 = ["id", "aria-controls", "aria-label", "disabled"];
8629
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
8626
+ const _hoisted_1$f = ["id", "aria-disabled", "aria-readonly"];
8627
+ const _hoisted_2$9 = ["id", "aria-controls", "aria-label", "disabled"];
8628
+ const _hoisted_3$5 = ["id", "aria-controls", "aria-label", "disabled"];
8629
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
8630
8630
  ...{
8631
8631
  inheritAttrs: false
8632
8632
  },
@@ -8974,8 +8974,8 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
8974
8974
  "aria-hidden": "true",
8975
8975
  class: "ui-v1-number-stepper__icon"
8976
8976
  }))
8977
- ], 8, _hoisted_2$8),
8978
- vue.createVNode(_sfc_main$J, vue.mergeProps(resolvedTextboxOptions.value, {
8977
+ ], 8, _hoisted_2$9),
8978
+ vue.createVNode(_sfc_main$L, vue.mergeProps(resolvedTextboxOptions.value, {
8979
8979
  id: stepperId.value,
8980
8980
  ref_key: "textbox",
8981
8981
  ref: textbox,
@@ -9014,13 +9014,13 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
9014
9014
  "aria-hidden": "true",
9015
9015
  class: "ui-v1-number-stepper__icon"
9016
9016
  }))
9017
- ], 8, _hoisted_3$4)
9018
- ], 16, _hoisted_1$e);
9017
+ ], 8, _hoisted_3$5)
9018
+ ], 16, _hoisted_1$f);
9019
9019
  };
9020
9020
  }
9021
9021
  });
9022
- const _hoisted_1$d = ["id", "aria-label", "role", "tabindex", "onKeydown"];
9023
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
9022
+ const _hoisted_1$e = ["id", "aria-label", "role", "tabindex", "onKeydown"];
9023
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
9024
9024
  __name: "UiPageHeaderTitle",
9025
9025
  props: {
9026
9026
  /** Уникальный идентификатор корневого элемента */
@@ -9180,7 +9180,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
9180
9180
  vue.withKeys(vue.withModifiers(startEditing, ["prevent"]), ["enter"]),
9181
9181
  vue.withKeys(vue.withModifiers(startEditing, ["prevent"]), ["space"])
9182
9182
  ]
9183
- }, vue.toDisplayString(currentValue.value || displayPlaceholder.value), 43, _hoisted_1$d)) : (vue.openBlock(), vue.createBlock(_sfc_main$J, {
9183
+ }, vue.toDisplayString(currentValue.value || displayPlaceholder.value), 43, _hoisted_1$e)) : (vue.openBlock(), vue.createBlock(_sfc_main$L, {
9184
9184
  key: 1,
9185
9185
  id: textboxId.value,
9186
9186
  ref_key: "textbox",
@@ -9206,9 +9206,9 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
9206
9206
  };
9207
9207
  }
9208
9208
  });
9209
- const _hoisted_1$c = ["id"];
9210
- const _hoisted_2$7 = { class: "ui-v1-page-header__main" };
9211
- const _hoisted_3$3 = { class: "ui-v1-page-header__title" };
9209
+ const _hoisted_1$d = ["id"];
9210
+ const _hoisted_2$8 = { class: "ui-v1-page-header__main" };
9211
+ const _hoisted_3$4 = { class: "ui-v1-page-header__title" };
9212
9212
  const _hoisted_4 = {
9213
9213
  key: 0,
9214
9214
  class: "ui-v1-page-header__addon"
@@ -9217,7 +9217,7 @@ const _hoisted_5 = {
9217
9217
  key: 0,
9218
9218
  class: "ui-v1-page-header__actions"
9219
9219
  };
9220
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
9220
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
9221
9221
  ...{
9222
9222
  inheritAttrs: false
9223
9223
  },
@@ -9298,9 +9298,9 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
9298
9298
  "ui-v1-page-header_readonly": __props.readonly
9299
9299
  }
9300
9300
  }, _ctx.$attrs), [
9301
- vue.createElementVNode("div", _hoisted_2$7, [
9302
- vue.createElementVNode("div", _hoisted_3$3, [
9303
- vue.createVNode(_sfc_main$v, {
9301
+ vue.createElementVNode("div", _hoisted_2$8, [
9302
+ vue.createElementVNode("div", _hoisted_3$4, [
9303
+ vue.createVNode(_sfc_main$x, {
9304
9304
  id: __props.id,
9305
9305
  ref_key: "main",
9306
9306
  ref: main,
@@ -9327,11 +9327,11 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
9327
9327
  "actions" in _ctx.$slots ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
9328
9328
  vue.renderSlot(_ctx.$slots, "actions")
9329
9329
  ])) : vue.createCommentVNode("", true)
9330
- ], 16, _hoisted_1$c);
9330
+ ], 16, _hoisted_1$d);
9331
9331
  };
9332
9332
  }
9333
9333
  });
9334
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
9334
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
9335
9335
  ...{
9336
9336
  inheritAttrs: false
9337
9337
  },
@@ -9371,7 +9371,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
9371
9371
  blur: () => base.value?.blur()
9372
9372
  });
9373
9373
  return (_ctx, _cache) => {
9374
- return vue.openBlock(), vue.createBlock(_sfc_main$u, vue.mergeProps({
9374
+ return vue.openBlock(), vue.createBlock(_sfc_main$w, vue.mergeProps({
9375
9375
  ref_key: "base",
9376
9376
  ref: base
9377
9377
  }, baseProps.value, {
@@ -9399,7 +9399,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
9399
9399
  };
9400
9400
  }
9401
9401
  });
9402
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
9402
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
9403
9403
  __name: "UiPopperConnector",
9404
9404
  setup(__props) {
9405
9405
  const target = vue.ref(null);
@@ -9410,7 +9410,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
9410
9410
  };
9411
9411
  }
9412
9412
  });
9413
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
9413
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
9414
9414
  ...{
9415
9415
  inheritAttrs: false
9416
9416
  },
@@ -9436,11 +9436,11 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
9436
9436
  };
9437
9437
  }
9438
9438
  });
9439
- const _hoisted_1$b = ["id", "name", "value", "checked", "required", "disabled"];
9439
+ const _hoisted_1$c = ["id", "name", "value", "checked", "required", "disabled"];
9440
9440
  let nameCounter = 0;
9441
9441
  let idCounter = 0;
9442
9442
  const __default__$1 = {};
9443
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
9443
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
9444
9444
  ...__default__$1,
9445
9445
  ...{
9446
9446
  inheritAttrs: false
@@ -9529,7 +9529,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
9529
9529
  type: "radio",
9530
9530
  class: "ui-v1-radio__input",
9531
9531
  onChange
9532
- }), null, 16, _hoisted_1$b),
9532
+ }), null, 16, _hoisted_1$c),
9533
9533
  _cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "ui-v1-radio__checkmark" }, null, -1))
9534
9534
  ], 16);
9535
9535
  };
@@ -9546,7 +9546,7 @@ var SIZE$3 = /* @__PURE__ */ ((SIZE2) => {
9546
9546
  SIZE2["LG"] = "lg";
9547
9547
  return SIZE2;
9548
9548
  })(SIZE$3 || {});
9549
- const _sfc_main$p = vue.defineComponent({
9549
+ const _sfc_main$r = vue.defineComponent({
9550
9550
  name: "UiRadioSwitchOptionShell",
9551
9551
  inheritAttrs: false,
9552
9552
  props: {
@@ -9597,7 +9597,7 @@ const _sfc_main$p = vue.defineComponent({
9597
9597
  }, slots.default?.());
9598
9598
  }
9599
9599
  });
9600
- const _sfc_main$o = vue.defineComponent({
9600
+ const _sfc_main$q = vue.defineComponent({
9601
9601
  name: "UiRadioSwitchRoot",
9602
9602
  props: {
9603
9603
  appearance: {
@@ -9728,16 +9728,16 @@ const createManipulator = (options) => {
9728
9728
  onDragEnd
9729
9729
  };
9730
9730
  };
9731
- const _hoisted_1$a = {
9731
+ const _hoisted_1$b = {
9732
9732
  key: 0,
9733
9733
  class: "ui-v1-slider__label"
9734
9734
  };
9735
- const _hoisted_2$6 = ["onMousedown", "onKeydown", "onFocus"];
9736
- const _hoisted_3$2 = {
9735
+ const _hoisted_2$7 = ["onMousedown", "onKeydown", "onFocus"];
9736
+ const _hoisted_3$3 = {
9737
9737
  key: 1,
9738
9738
  class: "ui-v1-slider__label"
9739
9739
  };
9740
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
9740
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
9741
9741
  __name: "UiSlider",
9742
9742
  props: {
9743
9743
  type: {
@@ -9900,7 +9900,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
9900
9900
  onClick: _cache[2] || (_cache[2] = ($event) => vue.unref(onClick)($event)),
9901
9901
  onKeydown: _cache[3] || (_cache[3] = ($event) => onRootKeydown($event))
9902
9902
  }), [
9903
- props.labelled ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
9903
+ props.labelled ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
9904
9904
  vue.renderSlot(_ctx.$slots, "label", {
9905
9905
  boundary: props.min
9906
9906
  })
@@ -9941,10 +9941,10 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
9941
9941
  key: 0,
9942
9942
  boundary: handle.value
9943
9943
  }) : vue.createCommentVNode("", true)
9944
- ], 16, _hoisted_2$6);
9944
+ ], 16, _hoisted_2$7);
9945
9945
  }), 128))
9946
9946
  ], 512),
9947
- props.labelled ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$2, [
9947
+ props.labelled ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$3, [
9948
9948
  vue.renderSlot(_ctx.$slots, "label", {
9949
9949
  boundary: props.max
9950
9950
  })
@@ -9964,7 +9964,7 @@ var PLACEMENT = /* @__PURE__ */ ((PLACEMENT2) => {
9964
9964
  PLACEMENT2["LEFT_START"] = "left-start";
9965
9965
  return PLACEMENT2;
9966
9966
  })(PLACEMENT || {});
9967
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
9967
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
9968
9968
  __name: "UiSelectPopper",
9969
9969
  props: {
9970
9970
  /** Атрибут id корневого элемента выпадающего списка. Должен быть уникальным на странице */
@@ -10078,7 +10078,9 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
10078
10078
  __expose({
10079
10079
  autoScroll,
10080
10080
  updateWidth,
10081
- adjust: () => popper.value?.adjust(),
10081
+ adjust: async () => {
10082
+ await popper.value?.adjust();
10083
+ },
10082
10084
  dispose: () => popper.value?.dispose(),
10083
10085
  show: () => popper.value?.show(),
10084
10086
  hide: () => popper.value?.hide()
@@ -10087,7 +10089,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
10087
10089
  vue.onMounted(() => {
10088
10090
  });
10089
10091
  return (_ctx, _cache) => {
10090
- return vue.openBlock(), vue.createBlock(_sfc_main$N, vue.mergeProps({
10092
+ return vue.openBlock(), vue.createBlock(_sfc_main$P, vue.mergeProps({
10091
10093
  id: __props.id + "-popper",
10092
10094
  ref_key: "popper",
10093
10095
  ref: popper,
@@ -10155,7 +10157,7 @@ const _i18n$2 = define({
10155
10157
  "ru-RU": messages_ru_RU$2
10156
10158
  }
10157
10159
  });
10158
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
10160
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
10159
10161
  __name: "UiSelectTrigger",
10160
10162
  props: {
10161
10163
  /** Атрибут id корневого элемента выпадающего списка. Должен быть уникальным на странице */
@@ -10381,7 +10383,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
10381
10383
  class: "ui-v1-select__touchstone"
10382
10384
  }, vue.toDisplayString(selectionLabels.value), 513)) : vue.createCommentVNode("", true),
10383
10385
  vue.renderSlot(_ctx.$slots, "trigger", {}, () => [
10384
- vue.createVNode(_sfc_main$J, {
10386
+ vue.createVNode(_sfc_main$L, {
10385
10387
  id: __props.id,
10386
10388
  value: inputValue.value,
10387
10389
  placeholder: !inputReadonly.value && __props.expanded ? i18n.value.t("search.placeholder") : __props.placeholder,
@@ -10422,12 +10424,12 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
10422
10424
  };
10423
10425
  }
10424
10426
  });
10425
- const _hoisted_1$9 = ["id", "checked", "disabled", "aria-checked", "aria-disabled"];
10426
- const _hoisted_2$5 = { class: "ui-v1-switch__track" };
10427
- const _hoisted_3$1 = { class: "ui-v1-switch__handle" };
10427
+ const _hoisted_1$a = ["id", "checked", "disabled", "aria-checked", "aria-disabled"];
10428
+ const _hoisted_2$6 = { class: "ui-v1-switch__track" };
10429
+ const _hoisted_3$2 = { class: "ui-v1-switch__handle" };
10428
10430
  let counter$1 = 0;
10429
10431
  const __default__ = {};
10430
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
10432
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
10431
10433
  ...__default__,
10432
10434
  __name: "UiSwitch",
10433
10435
  props: {
@@ -10500,9 +10502,9 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
10500
10502
  role: "switch",
10501
10503
  class: "ui-v1-switch__input",
10502
10504
  onChange
10503
- }), null, 16, _hoisted_1$9),
10504
- vue.createElementVNode("span", _hoisted_2$5, [
10505
- vue.createElementVNode("span", _hoisted_3$1, [
10505
+ }), null, 16, _hoisted_1$a),
10506
+ vue.createElementVNode("span", _hoisted_2$6, [
10507
+ vue.createElementVNode("span", _hoisted_3$2, [
10506
10508
  !__props.square ? (vue.openBlock(), vue.createBlock(vue.unref(IconDone), {
10507
10509
  key: 0,
10508
10510
  class: "ui-v1-switch__icon"
@@ -10535,7 +10537,7 @@ const byRowKey = (key) => {
10535
10537
  };
10536
10538
  const asRowClass = (value) => value;
10537
10539
  const asRowAttrs = (value) => value;
10538
- const _sfc_main$j = vue.defineComponent({
10540
+ const _sfc_main$l = vue.defineComponent({
10539
10541
  name: "UiTableBodyCell",
10540
10542
  props: {
10541
10543
  align: {
@@ -10587,7 +10589,7 @@ const toCssSize = (value) => {
10587
10589
  }
10588
10590
  return value;
10589
10591
  };
10590
- const _sfc_main$i = vue.defineComponent({
10592
+ const _sfc_main$k = vue.defineComponent({
10591
10593
  name: "UiTableCol",
10592
10594
  props: {
10593
10595
  width: {
@@ -10618,9 +10620,9 @@ const _sfc_main$i = vue.defineComponent({
10618
10620
  });
10619
10621
  }
10620
10622
  });
10621
- const _hoisted_1$8 = ["type"];
10622
- const _hoisted_2$4 = { class: "ui-v1-table__footer-button-content" };
10623
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
10623
+ const _hoisted_1$9 = ["type"];
10624
+ const _hoisted_2$5 = { class: "ui-v1-table__footer-button-content" };
10625
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
10624
10626
  ...{
10625
10627
  inheritAttrs: false
10626
10628
  },
@@ -10638,14 +10640,14 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
10638
10640
  type: __props.type,
10639
10641
  class: "ui-v1-table__footer-button"
10640
10642
  }, _ctx.$attrs), [
10641
- vue.createElementVNode("span", _hoisted_2$4, [
10643
+ vue.createElementVNode("span", _hoisted_2$5, [
10642
10644
  vue.renderSlot(_ctx.$slots, "default")
10643
10645
  ])
10644
- ], 16, _hoisted_1$8);
10646
+ ], 16, _hoisted_1$9);
10645
10647
  };
10646
10648
  }
10647
10649
  });
10648
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
10650
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
10649
10651
  ...{
10650
10652
  inheritAttrs: false
10651
10653
  },
@@ -10658,7 +10660,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
10658
10660
  };
10659
10661
  }
10660
10662
  });
10661
- const _sfc_main$f = vue.defineComponent({
10663
+ const _sfc_main$h = vue.defineComponent({
10662
10664
  name: "UiTableHeadCell",
10663
10665
  props: {
10664
10666
  align: {
@@ -10683,7 +10685,7 @@ const _sfc_main$f = vue.defineComponent({
10683
10685
  }, slots.default?.());
10684
10686
  }
10685
10687
  });
10686
- const _sfc_main$e = vue.defineComponent({
10688
+ const _sfc_main$g = vue.defineComponent({
10687
10689
  name: "UiTableRoot",
10688
10690
  props: {
10689
10691
  bordered: {
@@ -10706,7 +10708,7 @@ const _sfc_main$e = vue.defineComponent({
10706
10708
  }, slots.default?.());
10707
10709
  }
10708
10710
  });
10709
- const _sfc_main$d = vue.defineComponent({
10711
+ const _sfc_main$f = vue.defineComponent({
10710
10712
  name: "UiTableRow",
10711
10713
  props: {
10712
10714
  interactive: {
@@ -10734,7 +10736,7 @@ const sectionTagByKind = {
10734
10736
  body: "tbody",
10735
10737
  foot: "tfoot"
10736
10738
  };
10737
- const _sfc_main$c = vue.defineComponent({
10739
+ const _sfc_main$e = vue.defineComponent({
10738
10740
  name: "UiTableSection",
10739
10741
  props: {
10740
10742
  kind: {
@@ -10753,14 +10755,14 @@ const _sfc_main$c = vue.defineComponent({
10753
10755
  }, slots.default?.());
10754
10756
  }
10755
10757
  });
10756
- const _hoisted_1$7 = {
10758
+ const _hoisted_1$8 = {
10757
10759
  "aria-hidden": "true",
10758
10760
  class: "ui-v1-table__sorter-icon",
10759
10761
  xmlns: "http://www.w3.org/2000/svg",
10760
10762
  viewBox: "0 0 24 24"
10761
10763
  };
10762
- const _hoisted_2$3 = { class: "ui-v1-table__sorter-label" };
10763
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
10764
+ const _hoisted_2$4 = { class: "ui-v1-table__sorter-label" };
10765
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
10764
10766
  ...{
10765
10767
  inheritAttrs: false
10766
10768
  },
@@ -10778,7 +10780,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
10778
10780
  type: "button",
10779
10781
  class: "ui-v1-table__sorter"
10780
10782
  }, _ctx.$attrs), [
10781
- (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, [
10783
+ (vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, [
10782
10784
  vue.createElementVNode("path", {
10783
10785
  class: vue.normalizeClass({
10784
10786
  "ui-v1-table__sorter-path": true,
@@ -10794,14 +10796,14 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
10794
10796
  d: "M7.7,15.7c0,0.1,0.1,0.3,0.1,0.4l3.8,3.8c0.2,0.2,0.5,0.2,0.7,0c0,0,0,0,0,0l3.8-3.8c0.2-0.2,0.2-0.5,0-0.7c0,0,0,0,0,0l-0.2-0.2c-0.1-0.1-0.2-0.2-0.4-0.1H8.4c-0.1,0-0.3,0.1-0.4,0.1l-0.2,0.2C7.8,15.4,7.7,15.6,7.7,15.7z"
10795
10797
  }, null, 2)
10796
10798
  ])),
10797
- vue.createElementVNode("span", _hoisted_2$3, [
10799
+ vue.createElementVNode("span", _hoisted_2$4, [
10798
10800
  vue.renderSlot(_ctx.$slots, "default")
10799
10801
  ])
10800
10802
  ], 16);
10801
10803
  };
10802
10804
  }
10803
10805
  });
10804
- const _sfc_main$a = vue.defineComponent({
10806
+ const _sfc_main$c = vue.defineComponent({
10805
10807
  name: "UiTab",
10806
10808
  inheritAttrs: false,
10807
10809
  props: {
@@ -10826,12 +10828,12 @@ const _sfc_main$a = vue.defineComponent({
10826
10828
  return () => null;
10827
10829
  }
10828
10830
  });
10829
- const _hoisted_1$6 = {
10831
+ const _hoisted_1$7 = {
10830
10832
  xmlns: "http://www.w3.org/2000/svg",
10831
10833
  viewBox: "0 0 24 24"
10832
10834
  };
10833
- function render$2(_ctx, _cache) {
10834
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$6, [..._cache[0] || (_cache[0] = [
10835
+ function render$3(_ctx, _cache) {
10836
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, [..._cache[0] || (_cache[0] = [
10835
10837
  vue.createElementVNode("path", {
10836
10838
  fill: "currentColor",
10837
10839
  "fill-rule": "evenodd",
@@ -10840,7 +10842,7 @@ function render$2(_ctx, _cache) {
10840
10842
  }, null, -1)
10841
10843
  ])]);
10842
10844
  }
10843
- const IconMoreHorizontal = { render: render$2 };
10845
+ const IconMoreHorizontal = { render: render$3 };
10844
10846
  var SIZE$2 = /* @__PURE__ */ ((SIZE2) => {
10845
10847
  SIZE2["SM"] = "sm";
10846
10848
  SIZE2["MD"] = "md";
@@ -10855,7 +10857,7 @@ var APPEARANCE = /* @__PURE__ */ ((APPEARANCE2) => {
10855
10857
  const hasCounter = (value) => {
10856
10858
  return value !== null && typeof value !== "undefined";
10857
10859
  };
10858
- const _sfc_main$9 = vue.defineComponent({
10860
+ const _sfc_main$b = vue.defineComponent({
10859
10861
  name: "UiTabButton",
10860
10862
  inheritAttrs: false,
10861
10863
  props: {
@@ -10913,12 +10915,12 @@ const _sfc_main$9 = vue.defineComponent({
10913
10915
  ]);
10914
10916
  }
10915
10917
  });
10916
- const _hoisted_1$5 = {
10918
+ const _hoisted_1$6 = {
10917
10919
  "aria-hidden": "true",
10918
10920
  class: "ui-v1-tab-group__measure"
10919
10921
  };
10920
- const _hoisted_2$2 = { class: "ui-v1-tab-group__content" };
10921
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
10922
+ const _hoisted_2$3 = { class: "ui-v1-tab-group__content" };
10923
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
10922
10924
  __name: "UiTabGroupHead",
10923
10925
  props: {
10924
10926
  groupId: {
@@ -11029,9 +11031,9 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
11029
11031
  });
11030
11032
  return (_ctx, _cache) => {
11031
11033
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
11032
- vue.createElementVNode("div", _hoisted_1$5, [
11034
+ vue.createElementVNode("div", _hoisted_1$6, [
11033
11035
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.items, (item) => {
11034
- return vue.openBlock(), vue.createBlock(_sfc_main$9, {
11036
+ return vue.openBlock(), vue.createBlock(_sfc_main$b, {
11035
11037
  id: `${item.id}-measure`,
11036
11038
  key: `measure-${item.id}`,
11037
11039
  ref_for: true,
@@ -11051,9 +11053,9 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
11051
11053
  class: "ui-v1-tab-group__head",
11052
11054
  role: "tablist"
11053
11055
  }, [
11054
- vue.createElementVNode("div", _hoisted_2$2, [
11056
+ vue.createElementVNode("div", _hoisted_2$3, [
11055
11057
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.headItems, (item) => {
11056
- return vue.openBlock(), vue.createBlock(_sfc_main$9, {
11058
+ return vue.openBlock(), vue.createBlock(_sfc_main$b, {
11057
11059
  id: `${props.groupId}-tab-${item.id}`,
11058
11060
  key: `head-${item.id}`,
11059
11061
  ref_for: true,
@@ -11073,7 +11075,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
11073
11075
  }, null, 8, ["id", "active", "aria-disabled", "aria-selected", "aria-controls", "appearance", "item", "size", "tabindex", "onClick", "onFocus", "onKeydown"]);
11074
11076
  }), 128))
11075
11077
  ]),
11076
- __props.hasMenuItems ? (vue.openBlock(), vue.createBlock(_sfc_main$W, {
11078
+ __props.hasMenuItems ? (vue.openBlock(), vue.createBlock(_sfc_main$Y, {
11077
11079
  key: 0,
11078
11080
  active: __props.menuExpanded,
11079
11081
  "aria-expanded": __props.menuExpanded ? "true" : "false",
@@ -11097,7 +11099,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
11097
11099
  };
11098
11100
  }
11099
11101
  });
11100
- const _sfc_main$7 = vue.defineComponent({
11102
+ const _sfc_main$9 = vue.defineComponent({
11101
11103
  name: "UiTabGroupMenu",
11102
11104
  props: {
11103
11105
  items: {
@@ -11147,7 +11149,7 @@ const _sfc_main$7 = vue.defineComponent({
11147
11149
  if (!props.items.length) {
11148
11150
  return null;
11149
11151
  }
11150
- return vue.h(_sfc_main$N, {
11152
+ return vue.h(_sfc_main$P, {
11151
11153
  visible: props.menuExpanded,
11152
11154
  targetTriggers: {
11153
11155
  hide: ["click"],
@@ -11161,7 +11163,7 @@ const _sfc_main$7 = vue.defineComponent({
11161
11163
  default: () => vue.h("div", {
11162
11164
  class: "ui-v1-tab-group__menu",
11163
11165
  role: "menu"
11164
- }, props.items.map((item) => vue.h(_sfc_main$I, {
11166
+ }, props.items.map((item) => vue.h(_sfc_main$K, {
11165
11167
  key: `menu-${item.id}`,
11166
11168
  active: props.activeId === item.id,
11167
11169
  "aria-checked": props.activeId === item.id ? "true" : "false",
@@ -11364,7 +11366,7 @@ const resolveTabLayout = (options) => {
11364
11366
  };
11365
11367
  };
11366
11368
  let counter = 0;
11367
- const _sfc_main$6 = vue.defineComponent({
11369
+ const _sfc_main$8 = vue.defineComponent({
11368
11370
  name: "UiTabGroup",
11369
11371
  inheritAttrs: false,
11370
11372
  props: {
@@ -11573,9 +11575,9 @@ const _sfc_main$6 = vue.defineComponent({
11573
11575
  [`ui-v1-tab-group_${props.size}`]: true
11574
11576
  }]
11575
11577
  }, [
11576
- vue.h(_sfc_main$s, null, {
11578
+ vue.h(_sfc_main$u, null, {
11577
11579
  default: () => [
11578
- vue.h(_sfc_main$8, {
11580
+ vue.h(_sfc_main$a, {
11579
11581
  ref: headView,
11580
11582
  activeId: resolvedActiveId,
11581
11583
  appearance: props.appearance,
@@ -11596,7 +11598,7 @@ const _sfc_main$6 = vue.defineComponent({
11596
11598
  selectTab(id);
11597
11599
  }
11598
11600
  }),
11599
- vue.h(_sfc_main$7, {
11601
+ vue.h(_sfc_main$9, {
11600
11602
  activeId: resolvedActiveId,
11601
11603
  items: menuItems,
11602
11604
  menuExpanded: resolvedMenuExpanded.value,
@@ -11620,19 +11622,19 @@ const _sfc_main$6 = vue.defineComponent({
11620
11622
  };
11621
11623
  }
11622
11624
  });
11623
- const _hoisted_1$4 = {
11625
+ const _hoisted_1$5 = {
11624
11626
  xmlns: "http://www.w3.org/2000/svg",
11625
11627
  viewBox: "0 0 24 24"
11626
11628
  };
11627
- function render$1(_ctx, _cache) {
11628
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$4, [..._cache[0] || (_cache[0] = [
11629
+ function render$2(_ctx, _cache) {
11630
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$5, [..._cache[0] || (_cache[0] = [
11629
11631
  vue.createElementVNode("path", {
11630
11632
  fill: "currentColor",
11631
11633
  d: "m14.675 4.6.544-1.257a.99.99 0 0 0-.04-.911.82.82 0 0 0-.739-.421L9.5 2a.81.81 0 0 0-.704.423.99.99 0 0 0-.047.88l.55 1.26c.155.358.201.762.13 1.15l-.623 3.441a2.8 2.8 0 0 1-.685 1.426l-.875.96a.96.96 0 0 0-.246.646l.025.555c.002.502.373.91.83.912l8.312.025c.458 0 .828-.407.828-.909l.005-.536a.96.96 0 0 0-.248-.646l-.878-.964a2.85 2.85 0 0 1-.691-1.43l-.636-3.443a2 2 0 0 1 .128-1.15M10.967 20.047a3 3 0 0 1-.196-1.079l-.007-3.771 2.424.057.007 3.758a3 3 0 0 1-.193 1.079l-.638 1.632a.415.415 0 0 1-.382.277.42.42 0 0 1-.383-.279z"
11632
11634
  }, null, -1)
11633
11635
  ])]);
11634
11636
  }
11635
- const IconPinned = { render: render$1 };
11637
+ const IconPinned = { render: render$2 };
11636
11638
  var SIZE$1 = /* @__PURE__ */ ((SIZE2) => {
11637
11639
  SIZE2["LG"] = "lg";
11638
11640
  SIZE2["MD"] = "md";
@@ -11664,13 +11666,13 @@ const _i18n$1 = define({
11664
11666
  "ru-RU": messages_ru_RU$1
11665
11667
  }
11666
11668
  });
11667
- const _hoisted_1$3 = {
11669
+ const _hoisted_1$4 = {
11668
11670
  key: 0,
11669
11671
  class: "ui-v1-tag__icon"
11670
11672
  };
11671
- const _hoisted_2$1 = { class: "ui-v1-tag__content-inner" };
11672
- const _hoisted_3 = ["aria-label"];
11673
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
11673
+ const _hoisted_2$2 = { class: "ui-v1-tag__content-inner" };
11674
+ const _hoisted_3$1 = ["aria-label"];
11675
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
11674
11676
  __name: "UiTag",
11675
11677
  props: {
11676
11678
  /** Размер */
@@ -11732,7 +11734,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
11732
11734
  style: vue.normalizeStyle(__props.background ? { background: __props.background } : {}),
11733
11735
  onMouseoverOnce: onHover
11734
11736
  }, [
11735
- _ctx.$slots["icon"] || __props.pinned ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
11737
+ _ctx.$slots["icon"] || __props.pinned ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, [
11736
11738
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
11737
11739
  vue.createVNode(vue.unref(IconPinned))
11738
11740
  ])
@@ -11743,7 +11745,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
11743
11745
  style: vue.normalizeStyle(textStyle.value),
11744
11746
  class: "ui-v1-tag__content"
11745
11747
  }, [
11746
- vue.createElementVNode("div", _hoisted_2$1, [
11748
+ vue.createElementVNode("div", _hoisted_2$2, [
11747
11749
  vue.renderSlot(_ctx.$slots, "default")
11748
11750
  ])
11749
11751
  ], 4),
@@ -11757,25 +11759,25 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
11757
11759
  vue.renderSlot(_ctx.$slots, "remove-icon", {}, () => [
11758
11760
  vue.createVNode(vue.unref(IconClear))
11759
11761
  ])
11760
- ], 8, _hoisted_3)) : vue.createCommentVNode("", true)
11762
+ ], 8, _hoisted_3$1)) : vue.createCommentVNode("", true)
11761
11763
  ], 38)
11762
11764
  ], 16);
11763
11765
  };
11764
11766
  }
11765
11767
  });
11766
- const _hoisted_1$2 = {
11768
+ const _hoisted_1$3 = {
11767
11769
  xmlns: "http://www.w3.org/2000/svg",
11768
11770
  viewBox: "0 0 24 24"
11769
11771
  };
11770
- function render(_ctx, _cache) {
11771
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$2, [..._cache[0] || (_cache[0] = [
11772
+ function render$1(_ctx, _cache) {
11773
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$3, [..._cache[0] || (_cache[0] = [
11772
11774
  vue.createElementVNode("path", {
11773
11775
  fill: "currentColor",
11774
11776
  d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10A10 10 0 0 0 12 2m0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16m.88-13.5v5.14l3.63 3.63a.51.51 0 0 1 0 .71l-.53.53a.51.51 0 0 1-.71 0l-4-4a.53.53 0 0 1-.15-.35V6.5a.5.5 0 0 1 .5-.5h.76a.5.5 0 0 1 .5.5"
11775
11777
  }, null, -1)
11776
11778
  ])]);
11777
11779
  }
11778
- const IconTime = { render };
11780
+ const IconTime = { render: render$1 };
11779
11781
  const pad = (time2) => time2 < 10 ? `0${time2}` : String(time2);
11780
11782
  const milliseconds = (time2) => {
11781
11783
  const [hours, minutes] = parse(time2).split(":").map((value) => parseInt(value, 10));
@@ -11874,14 +11876,14 @@ const _i18n = define({
11874
11876
  "ru-RU": messages_ru_RU
11875
11877
  }
11876
11878
  });
11877
- const _hoisted_1$1 = ["id", "aria-activedescendant", "aria-controls", "aria-disabled", "aria-expanded", "aria-label", "aria-readonly"];
11878
- const _hoisted_2 = {
11879
+ const _hoisted_1$2 = ["id", "aria-activedescendant", "aria-controls", "aria-disabled", "aria-expanded", "aria-label", "aria-readonly"];
11880
+ const _hoisted_2$1 = {
11879
11881
  key: 0,
11880
11882
  "aria-disabled": "true",
11881
11883
  class: "ui-v1-time-picker__empty",
11882
11884
  role: "option"
11883
11885
  };
11884
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
11886
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
11885
11887
  ...{
11886
11888
  inheritAttrs: false
11887
11889
  },
@@ -12231,7 +12233,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
12231
12233
  },
12232
12234
  role: "combobox"
12233
12235
  }, _ctx.$attrs, { onMousedown: onRootMouseDown }), [
12234
- vue.createVNode(_sfc_main$J, vue.mergeProps({
12236
+ vue.createVNode(_sfc_main$L, vue.mergeProps({
12235
12237
  id: inputId.value,
12236
12238
  ref_key: "textbox",
12237
12239
  ref: textbox,
@@ -12258,7 +12260,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
12258
12260
  ]),
12259
12261
  _: 3
12260
12262
  }, 16, ["id", "value", "placeholder", "clearable", "disabled", "readonly"]),
12261
- vue.createVNode(_sfc_main$N, {
12263
+ vue.createVNode(_sfc_main$P, {
12262
12264
  id: `${inputId.value}-listbox`,
12263
12265
  visible: expanded.value,
12264
12266
  target: rootTarget.value,
@@ -12273,14 +12275,14 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
12273
12275
  onAttached: onPopperAttached
12274
12276
  }, {
12275
12277
  default: vue.withCtx(() => [
12276
- vue.createVNode(_sfc_main$H, {
12278
+ vue.createVNode(_sfc_main$J, {
12277
12279
  ref_key: "scrollable",
12278
12280
  ref: scrollable,
12279
12281
  class: "ui-v1-time-picker__list"
12280
12282
  }, {
12281
12283
  default: vue.withCtx(() => [
12282
12284
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(variants.value, (time2, index) => {
12283
- return vue.openBlock(), vue.createBlock(_sfc_main$I, {
12285
+ return vue.openBlock(), vue.createBlock(_sfc_main$K, {
12284
12286
  id: optionId(index),
12285
12287
  key: `${time2}-${index}`,
12286
12288
  ref_for: true,
@@ -12302,17 +12304,148 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
12302
12304
  _: 2
12303
12305
  }, 1032, ["id", "active", "aria-selected", "data-time", "class", "onMouseenter", "onMousedown"]);
12304
12306
  }), 128)),
12305
- !variants.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, vue.toDisplayString(i18n.value.t("empty")), 1)) : vue.createCommentVNode("", true)
12307
+ !variants.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, vue.toDisplayString(i18n.value.t("empty")), 1)) : vue.createCommentVNode("", true)
12306
12308
  ]),
12307
12309
  _: 1
12308
12310
  }, 512)
12309
12311
  ]),
12310
12312
  _: 1
12311
12313
  }, 8, ["id", "visible", "target", "container", "aria-hidden", "disabled", "style"])
12312
- ], 16, _hoisted_1$1);
12314
+ ], 16, _hoisted_1$2);
12313
12315
  };
12314
12316
  }
12315
12317
  });
12318
+ var UiToggleButtonSize = /* @__PURE__ */ ((UiToggleButtonSize2) => {
12319
+ UiToggleButtonSize2["LG"] = "lg";
12320
+ UiToggleButtonSize2["MD"] = "md";
12321
+ UiToggleButtonSize2["SM"] = "sm";
12322
+ UiToggleButtonSize2["XS"] = "xs";
12323
+ return UiToggleButtonSize2;
12324
+ })(UiToggleButtonSize || {});
12325
+ const _sfc_main$5 = vue.defineComponent({
12326
+ name: "UiToggleButton",
12327
+ props: {
12328
+ id: {
12329
+ type: String,
12330
+ default: void 0
12331
+ },
12332
+ type: {
12333
+ type: String,
12334
+ default: "button"
12335
+ },
12336
+ pressed: {
12337
+ type: Boolean,
12338
+ default: false
12339
+ },
12340
+ disabled: {
12341
+ type: Boolean,
12342
+ default: false
12343
+ },
12344
+ focused: {
12345
+ type: Boolean,
12346
+ default: false
12347
+ },
12348
+ grouped: {
12349
+ type: Boolean,
12350
+ default: false
12351
+ },
12352
+ size: {
12353
+ type: String,
12354
+ default: UiToggleButtonSize.SM,
12355
+ validator: (size) => {
12356
+ return Object.values(UiToggleButtonSize).includes(size);
12357
+ }
12358
+ }
12359
+ },
12360
+ setup(props, { attrs, expose, slots }) {
12361
+ const root = useElementRef();
12362
+ expose({
12363
+ click: () => root.value?.click(),
12364
+ focus: () => root.value?.focus(),
12365
+ blur: () => root.value?.blur()
12366
+ });
12367
+ return () => {
12368
+ const content = normalize$3("default" in slots ? slots.default?.() ?? [] : []);
12369
+ return vue.h("button", {
12370
+ ref: root,
12371
+ ...attrs,
12372
+ id: props.id,
12373
+ type: props.type,
12374
+ disabled: props.disabled,
12375
+ class: [attrs.class, {
12376
+ "ui-v1-toggle-button": true,
12377
+ [`ui-v1-toggle-button_${props.size}`]: true,
12378
+ "ui-v1-toggle-button_pressed": props.pressed,
12379
+ "ui-v1-toggle-button_disabled": props.disabled,
12380
+ "ui-v1-toggle-button_focused": props.focused,
12381
+ "ui-v1-toggle-button_grouped": props.grouped
12382
+ }]
12383
+ }, vue.h("span", { class: "ui-v1-toggle-button__content" }, content.map(([node, isIcon]) => {
12384
+ const nodeProps = node.props ?? {};
12385
+ return vue.h("span", {
12386
+ class: {
12387
+ "ui-v1-toggle-button__icon": isIcon,
12388
+ "ui-v1-toggle-button__text": !isIcon
12389
+ },
12390
+ ..."aria-hidden" in nodeProps ? { "aria-hidden": nodeProps["aria-hidden"] } : {}
12391
+ }, node);
12392
+ })));
12393
+ };
12394
+ }
12395
+ });
12396
+ const _sfc_main$4 = vue.defineComponent({
12397
+ name: "UiToggleGroupRoot",
12398
+ props: {
12399
+ size: {
12400
+ type: String,
12401
+ default: UiToggleButtonSize.SM,
12402
+ validator: (size) => {
12403
+ return Object.values(UiToggleButtonSize).includes(size);
12404
+ }
12405
+ },
12406
+ rubber: {
12407
+ type: Boolean,
12408
+ default: false
12409
+ },
12410
+ disabled: {
12411
+ type: Boolean,
12412
+ default: false
12413
+ },
12414
+ ariaLabel: {
12415
+ type: String,
12416
+ default: void 0
12417
+ },
12418
+ ariaLabelledby: {
12419
+ type: String,
12420
+ default: void 0
12421
+ },
12422
+ ariaDescribedby: {
12423
+ type: String,
12424
+ default: void 0
12425
+ },
12426
+ ariaOrientation: {
12427
+ type: String,
12428
+ default: "horizontal"
12429
+ }
12430
+ },
12431
+ setup(props, { attrs, slots }) {
12432
+ return () => vue.h("span", {
12433
+ ...attrs,
12434
+ role: attrs.role ?? "toolbar",
12435
+ "aria-label": attrs["aria-label"] ?? props.ariaLabel,
12436
+ "aria-labelledby": attrs["aria-labelledby"] ?? props.ariaLabelledby,
12437
+ "aria-describedby": attrs["aria-describedby"] ?? props.ariaDescribedby,
12438
+ "aria-disabled": attrs["aria-disabled"] ?? `${props.disabled}`,
12439
+ "aria-orientation": attrs["aria-orientation"] ?? props.ariaOrientation,
12440
+ class: [attrs.class, {
12441
+ "ui-v1-toggle-group": true,
12442
+ [`ui-v1-toggle-group_${props.size}`]: true,
12443
+ "ui-v1-toggle-group_rubber": props.rubber,
12444
+ "ui-v1-toggle-group_disabled": props.disabled
12445
+ }]
12446
+ }, slots.default?.());
12447
+ }
12448
+ });
12316
12449
  var SIZE = /* @__PURE__ */ ((SIZE2) => {
12317
12450
  SIZE2["SM"] = "sm";
12318
12451
  SIZE2["MD"] = "md";
@@ -12392,7 +12525,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
12392
12525
  return SIZE$9.SM;
12393
12526
  });
12394
12527
  return (_ctx, _cache) => {
12395
- return vue.openBlock(), vue.createBlock(_sfc_main$W, vue.mergeProps({
12528
+ return vue.openBlock(), vue.createBlock(_sfc_main$Y, vue.mergeProps({
12396
12529
  ref_key: "root",
12397
12530
  ref: root,
12398
12531
  href: __props.href,
@@ -12465,7 +12598,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
12465
12598
  },
12466
12599
  setup(__props) {
12467
12600
  return (_ctx, _cache) => {
12468
- return vue.openBlock(), vue.createBlock(_sfc_main$C, vue.mergeProps({
12601
+ return vue.openBlock(), vue.createBlock(_sfc_main$E, vue.mergeProps({
12469
12602
  href: __props.href,
12470
12603
  external: __props.external,
12471
12604
  appearance: __props.appearance,
@@ -12491,6 +12624,22 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
12491
12624
  };
12492
12625
  }
12493
12626
  });
12627
+ const _hoisted_1$1 = {
12628
+ xmlns: "http://www.w3.org/2000/svg",
12629
+ viewBox: "0 0 24 24"
12630
+ };
12631
+ function render(_ctx, _cache) {
12632
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1, [..._cache[0] || (_cache[0] = [
12633
+ vue.createElementVNode("path", {
12634
+ fill: "currentColor",
12635
+ d: "M18.968 19.942c.07.188.023.4-.12.54l-.378.38a.487.487 0 0 1-.677 0 8.374 8.374 0 0 0-11.539 0 .487.487 0 0 1-.678 0l-.378-.38a.51.51 0 0 1-.18-.54L11.376 3.32a.51.51 0 0 1 .468-.32h.299a.51.51 0 0 1 .468.32z"
12636
+ }, null, -1)
12637
+ ])]);
12638
+ }
12639
+ const IconNavigate = { render };
12640
+ const YANDEX_MAP_PLUGIN = {
12641
+ LOCATOR: "locator"
12642
+ };
12494
12643
  const load = (document2, src) => new Promise((resolve, reject) => {
12495
12644
  const script = document2.createElement("script");
12496
12645
  script.async = true;
@@ -12510,6 +12659,83 @@ const load = (document2, src) => new Promise((resolve, reject) => {
12510
12659
  head.appendChild(script);
12511
12660
  });
12512
12661
  const _hoisted_1 = { class: "ui-v1-yandex-map" };
12662
+ const _hoisted_2 = {
12663
+ key: 1,
12664
+ class: "ui-v1-yandex-map__control-group ui-v1-yandex-map__control-group_left"
12665
+ };
12666
+ const _hoisted_3 = {
12667
+ key: 2,
12668
+ class: "ui-v1-yandex-map__control-group ui-v1-yandex-map__control-group_right"
12669
+ };
12670
+ const MAP_IFRAME_STYLE = `
12671
+ html, body, #map {
12672
+ width: 100%;
12673
+ height: 100%;
12674
+ margin: 0;
12675
+ }
12676
+
12677
+ .ui-v1-yandex-map-marker {
12678
+ position: relative;
12679
+ transform: translate(-10px, -76px);
12680
+ width: 0;
12681
+ height: 0;
12682
+ cursor: grab;
12683
+ user-select: none;
12684
+ }
12685
+
12686
+ .ui-v1-yandex-map-marker:active {
12687
+ cursor: grabbing;
12688
+ }
12689
+
12690
+ .ui-v1-yandex-map-marker__pin {
12691
+ position: absolute;
12692
+ left: 0;
12693
+ top: 0;
12694
+ width: 44px;
12695
+ height: 44px;
12696
+ border-radius: 50%;
12697
+ background: #ff5547;
12698
+ box-shadow: 0 12px 24px rgba(255, 85, 71, 0.28);
12699
+ }
12700
+
12701
+ .ui-v1-yandex-map-marker__pin::before {
12702
+ content: '';
12703
+ position: absolute;
12704
+ left: 16px;
12705
+ bottom: -13px;
12706
+ width: 12px;
12707
+ height: 16px;
12708
+ background: #ff5547;
12709
+ clip-path: polygon(50% 100%, 0 0, 100% 0);
12710
+ }
12711
+
12712
+ .ui-v1-yandex-map-marker__pin::after {
12713
+ content: '';
12714
+ position: absolute;
12715
+ left: 14px;
12716
+ bottom: -26px;
12717
+ width: 16px;
12718
+ height: 16px;
12719
+ border: 2px solid #ffffff;
12720
+ border-radius: 50%;
12721
+ background: #ff5547;
12722
+ box-sizing: border-box;
12723
+ }
12724
+
12725
+ .ui-v1-yandex-map-marker__hint {
12726
+ position: absolute;
12727
+ left: 56px;
12728
+ top: 4px;
12729
+ min-width: 152px;
12730
+ padding: 7px 12px;
12731
+ border-radius: 4px;
12732
+ background: rgba(255, 255, 255, 0.96);
12733
+ box-shadow: 0 8px 24px rgba(36, 48, 77, 0.16);
12734
+ color: #24304d;
12735
+ font: 400 14px/20px Arial, sans-serif;
12736
+ white-space: nowrap;
12737
+ }
12738
+ `;
12513
12739
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12514
12740
  __name: "UiYandexMap",
12515
12741
  props: {
@@ -12520,6 +12746,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12520
12746
  address: {
12521
12747
  type: String,
12522
12748
  default: ""
12749
+ },
12750
+ plugins: {
12751
+ type: Array,
12752
+ default: () => []
12523
12753
  }
12524
12754
  },
12525
12755
  emits: [
@@ -12527,10 +12757,23 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12527
12757
  "update:address"
12528
12758
  ],
12529
12759
  setup(__props, { emit: __emit }) {
12760
+ const PLAIN_OBJECT_PROTOTYPES = [Object.prototype, null];
12530
12761
  const props = __props;
12531
12762
  const emit = __emit;
12532
12763
  const i18nBus = vue.inject(I18nInjectKey, null);
12764
+ const LOCATION = {
12765
+ center: [37.64, 55.76],
12766
+ zoom: 10
12767
+ };
12533
12768
  const iframe = vue.ref(null);
12769
+ const map = vue.shallowRef(null);
12770
+ const marker = vue.shallowRef(null);
12771
+ const mapLocation = vue.ref({
12772
+ center: [...LOCATION.center],
12773
+ zoom: LOCATION.zoom
12774
+ });
12775
+ const activeLoadToken = vue.ref(0);
12776
+ const locating = vue.ref(false);
12534
12777
  const getIFrameDocument = () => iframe.value?.contentDocument ?? null;
12535
12778
  const getIFrameWindow = () => iframe.value?.contentWindow ?? null;
12536
12779
  const getIFrameYMaps = () => {
@@ -12540,10 +12783,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12540
12783
  }
12541
12784
  return null;
12542
12785
  };
12543
- const LOCATION = {
12544
- center: [37.64, 55.76],
12545
- zoom: 10
12546
- };
12547
12786
  const waitIFrameContentLoaded = (retry = 5) => {
12548
12787
  if (iframe.value?.contentDocument) {
12549
12788
  return Promise.resolve();
@@ -12552,7 +12791,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12552
12791
  throw new Error("iframe contentDocument wasn't loaded");
12553
12792
  }
12554
12793
  return new Promise((resolve) => setTimeout(async () => {
12555
- await waitIFrameContentLoaded(retry--);
12794
+ await waitIFrameContentLoaded(retry - 1);
12556
12795
  resolve(0);
12557
12796
  }, 100));
12558
12797
  };
@@ -12565,6 +12804,138 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12565
12804
  const apiUrl = vue.computed(() => `https://api-maps.yandex.ru/v3/?apikey=${props.apiKey}&lang=${apiLocale.value}`);
12566
12805
  const apiUrlVersion = vue.ref(0);
12567
12806
  const getGeocodeApiUrl = (geocode) => `https://geocode-maps.yandex.ru/1.x/?apikey=${props.apiKey}&geocode=${geocode}&lang=${apiLocale.value}&format=json`;
12807
+ const createLoadToken = () => {
12808
+ activeLoadToken.value++;
12809
+ return activeLoadToken.value;
12810
+ };
12811
+ const isCurrentLoadToken = (token) => activeLoadToken.value === token;
12812
+ const disposeMapRuntime = () => {
12813
+ map.value?.destroy();
12814
+ map.value = null;
12815
+ marker.value = null;
12816
+ mapLocation.value = {
12817
+ center: [...LOCATION.center],
12818
+ zoom: LOCATION.zoom
12819
+ };
12820
+ };
12821
+ const cancelMapRuntime = () => {
12822
+ activeLoadToken.value++;
12823
+ disposeMapRuntime();
12824
+ };
12825
+ const updateMapLocation = (location) => {
12826
+ const nextLocation = {
12827
+ center: location.center ? [...location.center] : mapLocation.value.center,
12828
+ zoom: typeof location.zoom === "number" ? location.zoom : mapLocation.value.zoom
12829
+ };
12830
+ mapLocation.value = nextLocation;
12831
+ map.value?.setLocation({
12832
+ ...nextLocation,
12833
+ duration: 200,
12834
+ easing: "ease-in-out"
12835
+ });
12836
+ };
12837
+ const zoomIn = () => {
12838
+ updateMapLocation({ zoom: mapLocation.value.zoom + 1 });
12839
+ };
12840
+ const zoomOut = () => {
12841
+ updateMapLocation({ zoom: mapLocation.value.zoom - 1 });
12842
+ };
12843
+ const getMarkerDetails = (coordinates) => ({
12844
+ longitude: `Longitude: ${coordinates[0].toFixed(2)}`,
12845
+ latitude: `Latitude: ${coordinates[1].toFixed(2)}`
12846
+ });
12847
+ const updateMarker = (coordinates) => {
12848
+ const details = getMarkerDetails(coordinates);
12849
+ marker.value?.update({
12850
+ coordinates,
12851
+ title: `${details.longitude}
12852
+ ${details.latitude}`
12853
+ });
12854
+ };
12855
+ const getCurrentCoordinates = () => new Promise((resolve, reject) => {
12856
+ if (!("geolocation" in navigator)) {
12857
+ reject(new Error("Geolocation is unavailable"));
12858
+ return;
12859
+ }
12860
+ navigator.geolocation.getCurrentPosition(
12861
+ ({ coords }) => resolve([coords.longitude, coords.latitude]),
12862
+ reject,
12863
+ {
12864
+ enableHighAccuracy: true,
12865
+ timeout: 1e4
12866
+ }
12867
+ );
12868
+ });
12869
+ const isPlainObject = (value) => {
12870
+ if (Object.prototype.toString.call(value) !== "[object Object]") {
12871
+ return false;
12872
+ }
12873
+ return PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value));
12874
+ };
12875
+ const locatorPlugin = vue.computed(() => props.plugins.find((plugin2) => isPlainObject(plugin2) && plugin2.type === YANDEX_MAP_PLUGIN.LOCATOR && typeof plugin2.url === "string" && plugin2.url.length > 0) ?? null);
12876
+ const canUseBrowserGeolocation = vue.computed(() => "geolocation" in navigator && isSecureContext);
12877
+ const canUseLocatorFallback = vue.computed(() => locatorPlugin.value !== null);
12878
+ const canLocateCurrentPosition = vue.computed(() => canUseBrowserGeolocation.value || canUseLocatorFallback.value);
12879
+ const fetchLocatorFallbackCoordinates = async (reason, error = null) => {
12880
+ if (!locatorPlugin.value) {
12881
+ throw new Error("Locator plugin is not configured");
12882
+ }
12883
+ const response = await fetch(locatorPlugin.value.url, {
12884
+ method: "POST",
12885
+ headers: {
12886
+ "Content-Type": "application/json"
12887
+ },
12888
+ body: JSON.stringify({
12889
+ locale: apiLocale.value,
12890
+ reason,
12891
+ secureContext: isSecureContext,
12892
+ browserGeolocationAvailable: "geolocation" in navigator,
12893
+ error: error instanceof Error ? error.message : null
12894
+ })
12895
+ });
12896
+ if (!response.ok) {
12897
+ throw new Error(`Locator adapter request failed with status ${response.status}`);
12898
+ }
12899
+ const result = await response.json();
12900
+ if (!Array.isArray(result.coordinates) || result.coordinates.length !== 2) {
12901
+ throw new Error("Locator adapter returned invalid coordinates payload");
12902
+ }
12903
+ return [Number(result.coordinates[0]), Number(result.coordinates[1])];
12904
+ };
12905
+ const locateCurrentPosition = async () => {
12906
+ locating.value = true;
12907
+ try {
12908
+ const coordinates = canUseBrowserGeolocation.value ? await getCurrentCoordinates() : await fetchLocatorFallbackCoordinates("browser_geolocation_unavailable");
12909
+ updateMarker(coordinates);
12910
+ updateMapLocation({
12911
+ center: coordinates,
12912
+ zoom: Math.max(mapLocation.value.zoom, 15)
12913
+ });
12914
+ const address = await fetchAddressFromCoordinates(coordinates);
12915
+ emit("change", address);
12916
+ emit("update:address", address);
12917
+ } catch (error) {
12918
+ if (canUseLocatorFallback.value && canUseBrowserGeolocation.value) {
12919
+ try {
12920
+ const coordinates = await fetchLocatorFallbackCoordinates("browser_geolocation_failed", error);
12921
+ updateMarker(coordinates);
12922
+ updateMapLocation({
12923
+ center: coordinates,
12924
+ zoom: Math.max(mapLocation.value.zoom, 15)
12925
+ });
12926
+ const address = await fetchAddressFromCoordinates(coordinates);
12927
+ emit("change", address);
12928
+ emit("update:address", address);
12929
+ return;
12930
+ } catch (fallbackError) {
12931
+ console.error("Failed to get current location via locator fallback", fallbackError);
12932
+ }
12933
+ }
12934
+ console.error("Failed to get current location", error);
12935
+ } finally {
12936
+ locating.value = false;
12937
+ }
12938
+ };
12568
12939
  function onDragEndHandler(coordinates) {
12569
12940
  fetchAddressFromCoordinates(coordinates).then((address) => {
12570
12941
  emit("change", address);
@@ -12581,135 +12952,235 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12581
12952
  const result = await response.json();
12582
12953
  return result.response.GeoObjectCollection.featureMember[0]?.GeoObject?.Point.pos ?? "";
12583
12954
  };
12955
+ const createMarkerRuntime = (_ymaps3, iframeDocument, coordinates, onDragMove, onDragEnd) => {
12956
+ const { YMapMarker } = _ymaps3;
12957
+ const markerElement = iframeDocument.createElement("div");
12958
+ markerElement.className = "ui-v1-yandex-map-marker";
12959
+ const pinElement = iframeDocument.createElement("div");
12960
+ pinElement.className = "ui-v1-yandex-map-marker__pin";
12961
+ const hintElement = iframeDocument.createElement("div");
12962
+ hintElement.className = "ui-v1-yandex-map-marker__hint";
12963
+ const longitudeElement = iframeDocument.createElement("div");
12964
+ const latitudeElement = iframeDocument.createElement("div");
12965
+ hintElement.append(longitudeElement, latitudeElement);
12966
+ markerElement.append(pinElement, hintElement);
12967
+ const markerRuntime = new YMapMarker({
12968
+ coordinates,
12969
+ draggable: true,
12970
+ mapFollowsOnDrag: true,
12971
+ zIndex: 2500,
12972
+ onDragMove,
12973
+ onDragEnd
12974
+ }, markerElement);
12975
+ const update = ({ coordinates: nextCoordinates }) => {
12976
+ const details = getMarkerDetails(nextCoordinates);
12977
+ longitudeElement.textContent = details.longitude;
12978
+ latitudeElement.textContent = details.latitude;
12979
+ markerRuntime.update({
12980
+ coordinates: nextCoordinates
12981
+ });
12982
+ };
12983
+ update({ coordinates });
12984
+ return {
12985
+ entity: markerRuntime,
12986
+ update
12987
+ };
12988
+ };
12584
12989
  const loadApi = async () => {
12990
+ ready.value = false;
12991
+ const loadToken = createLoadToken();
12992
+ disposeMapRuntime();
12585
12993
  await waitIFrameContentLoaded();
12994
+ if (!isCurrentLoadToken(loadToken)) {
12995
+ return;
12996
+ }
12586
12997
  const iframeDocument = getIFrameDocument();
12587
12998
  if (iframeDocument) {
12588
12999
  const style = iframeDocument.createElement("style");
12589
- style.innerHTML = "body { margin: 0; }";
13000
+ style.innerHTML = MAP_IFRAME_STYLE;
12590
13001
  iframeDocument.head.appendChild(style);
12591
13002
  await load(iframeDocument, apiUrl.value);
13003
+ if (!isCurrentLoadToken(loadToken)) return;
12592
13004
  await getIFrameYMaps()?.ready;
12593
- const el = iframeDocument.createElement("div");
12594
- el.setAttribute("id", "map");
12595
- iframeDocument.body.appendChild(el);
12596
- ready.value = true;
13005
+ if (!isCurrentLoadToken(loadToken)) return;
12597
13006
  const _ymaps3 = getIFrameYMaps();
12598
13007
  const {
12599
13008
  YMap,
12600
- YMapControls,
12601
13009
  YMapDefaultFeaturesLayer,
12602
13010
  YMapDefaultSchemeLayer
12603
13011
  } = _ymaps3;
12604
- const { YMapZoomControl, YMapGeolocationControl } = await _ymaps3.import("@yandex/ymaps3-controls@0.0.1");
12605
- const { YMapDefaultMarker } = await _ymaps3.import("@yandex/ymaps3-markers@0.0.1");
12606
13012
  if (props.address) {
12607
13013
  const pos = await fetchCoordinatesFromAddress(props.address);
13014
+ if (!isCurrentLoadToken(loadToken)) {
13015
+ return;
13016
+ }
12608
13017
  if (pos) {
12609
13018
  LOCATION.center = pos.split(" ").map((c) => Number(c));
12610
13019
  }
12611
13020
  }
12612
- const map = new YMap(el, { location: LOCATION });
12613
- map.addChild(new YMapDefaultSchemeLayer({}));
12614
- map.addChild(new YMapControls({ position: "right" }).addChild(new YMapZoomControl({})));
12615
- map.addChild(new YMapDefaultFeaturesLayer({ id: "features" }));
12616
- map.addChild(new YMapControls({ position: "left" }).addChild(new YMapGeolocationControl({})));
13021
+ const el = iframeDocument.createElement("div");
13022
+ el.setAttribute("id", "map");
13023
+ iframeDocument.body.appendChild(el);
12617
13024
  const onDragMoveHandler = (coordinates) => {
12618
- const longitude = `Longitude: ${coordinates[0].toFixed(2)}`;
12619
- const latitude = `Latitude: ${coordinates[1].toFixed(2)}`;
12620
- draggableMarker.update({ coordinates, title: `${longitude} <br> ${latitude}` });
13025
+ updateMarker(coordinates);
12621
13026
  };
12622
- const draggableMarker = new YMapDefaultMarker({
12623
- coordinates: LOCATION.center,
12624
- draggable: true,
12625
- title: `Longitude: ${LOCATION.center[0].toFixed(2)} <br>
12626
- Latitude ${LOCATION.center[1].toFixed(2)}`,
12627
- onDragMove: onDragMoveHandler,
12628
- onDragEnd: onDragEndHandler
12629
- });
12630
- map.addChild(draggableMarker);
13027
+ const markerRuntime = createMarkerRuntime(
13028
+ _ymaps3,
13029
+ iframeDocument,
13030
+ LOCATION.center,
13031
+ onDragMoveHandler,
13032
+ onDragEndHandler
13033
+ );
13034
+ marker.value = markerRuntime;
13035
+ mapLocation.value = {
13036
+ center: [...LOCATION.center],
13037
+ zoom: LOCATION.zoom
13038
+ };
13039
+ map.value = new YMap(el, { location: LOCATION }, [
13040
+ new YMapDefaultSchemeLayer({}),
13041
+ new YMapDefaultFeaturesLayer({ id: "features" }),
13042
+ markerRuntime.entity
13043
+ ]);
13044
+ if (!isCurrentLoadToken(loadToken)) {
13045
+ map.value?.destroy();
13046
+ map.value = null;
13047
+ return;
13048
+ }
13049
+ ready.value = true;
12631
13050
  }
12632
13051
  };
12633
13052
  vue.watch(apiUrl, async (newUrl, oldUrl) => {
12634
13053
  if (iframe.value && newUrl !== oldUrl) {
13054
+ cancelMapRuntime();
12635
13055
  ready.value = false;
12636
13056
  apiUrlVersion.value++;
12637
13057
  }
12638
13058
  });
13059
+ vue.onBeforeUnmount(() => {
13060
+ cancelMapRuntime();
13061
+ });
12639
13062
  return (_ctx, _cache) => {
12640
13063
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
12641
- !ready.value ? (vue.openBlock(), vue.createBlock(_sfc_main$B, { key: 0 })) : vue.createCommentVNode("", true),
12642
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("iframe", {
13064
+ !ready.value ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
13065
+ key: 0,
13066
+ transition: null
13067
+ })) : vue.createCommentVNode("", true),
13068
+ (vue.openBlock(), vue.createElementBlock("iframe", {
12643
13069
  ref_key: "iframe",
12644
13070
  ref: iframe,
12645
13071
  key: apiUrlVersion.value,
13072
+ allow: "geolocation",
12646
13073
  onLoad: loadApi
12647
- }, null, 32)), [
12648
- [vue.vShow, ready.value]
12649
- ])
13074
+ }, null, 32)),
13075
+ ready.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
13076
+ vue.createVNode(_sfc_main$Y, {
13077
+ class: "ui-v1-yandex-map__control-button",
13078
+ appearance: "secondary",
13079
+ size: "sm",
13080
+ type: "button",
13081
+ "aria-label": "Определить текущее местоположение",
13082
+ disabled: locating.value || !canLocateCurrentPosition.value,
13083
+ onClick: locateCurrentPosition
13084
+ }, {
13085
+ default: vue.withCtx(() => [
13086
+ vue.createVNode(vue.unref(IconNavigate))
13087
+ ]),
13088
+ _: 1
13089
+ }, 8, ["disabled"])
13090
+ ])) : vue.createCommentVNode("", true),
13091
+ ready.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
13092
+ vue.createVNode(_sfc_main$Y, {
13093
+ class: "ui-v1-yandex-map__control-button",
13094
+ appearance: "secondary",
13095
+ size: "sm",
13096
+ type: "button",
13097
+ "aria-label": "Уменьшить масштаб",
13098
+ onClick: zoomOut
13099
+ }, {
13100
+ default: vue.withCtx(() => [
13101
+ vue.createVNode(vue.unref(IconRemove))
13102
+ ]),
13103
+ _: 1
13104
+ }),
13105
+ vue.createVNode(_sfc_main$Y, {
13106
+ class: "ui-v1-yandex-map__control-button",
13107
+ appearance: "secondary",
13108
+ size: "sm",
13109
+ type: "button",
13110
+ "aria-label": "Увеличить масштаб",
13111
+ onClick: zoomIn
13112
+ }, {
13113
+ default: vue.withCtx(() => [
13114
+ vue.createVNode(vue.unref(IconAdd))
13115
+ ]),
13116
+ _: 1
13117
+ })
13118
+ ])) : vue.createCommentVNode("", true)
12650
13119
  ]);
12651
13120
  };
12652
13121
  }
12653
13122
  });
12654
13123
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12655
13124
  __proto__: null,
12656
- UiAddButton: _sfc_main$_,
12657
- UiAlert: _sfc_main$$,
12658
- UiAvatar: _sfc_main$Y,
12659
- UiAvatarList: _sfc_main$X,
12660
- UiButton: _sfc_main$W,
12661
- UiCalendar: _sfc_main$S,
12662
- UiCheckbox: _sfc_main$R,
12663
- UiCollapse: _sfc_main$Q,
12664
- UiCollapseBox: _sfc_main$P,
12665
- UiCollapseGroup: _sfc_main$O,
12666
- UiCopyButton: _sfc_main$L,
12667
- UiDate: _sfc_main$K,
12668
- UiDatePicker: _sfc_main$F,
12669
- UiError: _sfc_main$E,
12670
- UiImage: _sfc_main$Z,
12671
- UiInfobox: _sfc_main$D,
12672
- UiLink: _sfc_main$C,
12673
- UiLoader: _sfc_main$B,
12674
- UiMenuItem: _sfc_main$I,
13125
+ UiAddButton: _sfc_main$10,
13126
+ UiAlert: _sfc_main$11,
13127
+ UiAvatar: _sfc_main$_,
13128
+ UiAvatarList: _sfc_main$Z,
13129
+ UiButton: _sfc_main$Y,
13130
+ UiCalendar: _sfc_main$U,
13131
+ UiCheckbox: _sfc_main$T,
13132
+ UiCollapse: _sfc_main$S,
13133
+ UiCollapseBox: _sfc_main$R,
13134
+ UiCollapseGroup: _sfc_main$Q,
13135
+ UiCopyButton: _sfc_main$N,
13136
+ UiDate: _sfc_main$M,
13137
+ UiDatePicker: _sfc_main$H,
13138
+ UiError: _sfc_main$G,
13139
+ UiImage: _sfc_main$$,
13140
+ UiInfobox: _sfc_main$F,
13141
+ UiLink: _sfc_main$E,
13142
+ UiLoader: _sfc_main$D,
13143
+ UiMenuItem: _sfc_main$K,
12675
13144
  UiMenuItemGroup,
12676
- UiModalSidebar: _sfc_main$z,
12677
- UiModalWindow: _sfc_main$x,
12678
- UiModalWindowSurface: _sfc_main$y,
12679
- UiNumberStepper: _sfc_main$w,
12680
- UiPageHeader: _sfc_main$t,
12681
- UiPageHeaderLayout: _sfc_main$u,
12682
- UiPageHeaderTitle: _sfc_main$v,
12683
- UiPopper: _sfc_main$N,
12684
- UiPopperConnector: _sfc_main$s,
12685
- UiPopperTarget: _sfc_main$r,
12686
- UiRadio: _sfc_main$q,
12687
- UiRadioSwitchOptionShell: _sfc_main$p,
12688
- UiRadioSwitchRoot: _sfc_main$o,
12689
- UiScrollBox: _sfc_main$H,
12690
- UiSelectPopper: _sfc_main$m,
12691
- UiSelectTrigger: _sfc_main$l,
12692
- UiSlider: _sfc_main$n,
12693
- UiSwitch: _sfc_main$k,
12694
- UiTab: _sfc_main$a,
12695
- UiTabGroup: _sfc_main$6,
12696
- UiTableBodyCell: _sfc_main$j,
12697
- UiTableCol: _sfc_main$i,
12698
- UiTableFooterButton: _sfc_main$h,
12699
- UiTableFooterSection: _sfc_main$g,
12700
- UiTableHeadCell: _sfc_main$f,
12701
- UiTableRoot: _sfc_main$e,
12702
- UiTableRow: _sfc_main$d,
12703
- UiTableSection: _sfc_main$c,
12704
- UiTableSorter: _sfc_main$b,
12705
- UiTag: _sfc_main$5,
12706
- UiTextbox: _sfc_main$J,
12707
- UiTimePicker: _sfc_main$4,
13145
+ UiModalSidebar: _sfc_main$B,
13146
+ UiModalWindow: _sfc_main$z,
13147
+ UiModalWindowSurface: _sfc_main$A,
13148
+ UiNumberStepper: _sfc_main$y,
13149
+ UiPageHeader: _sfc_main$v,
13150
+ UiPageHeaderLayout: _sfc_main$w,
13151
+ UiPageHeaderTitle: _sfc_main$x,
13152
+ UiPopper: _sfc_main$P,
13153
+ UiPopperConnector: _sfc_main$u,
13154
+ UiPopperTarget: _sfc_main$t,
13155
+ UiRadio: _sfc_main$s,
13156
+ UiRadioSwitchOptionShell: _sfc_main$r,
13157
+ UiRadioSwitchRoot: _sfc_main$q,
13158
+ UiScrollBox: _sfc_main$J,
13159
+ UiSelectPopper: _sfc_main$o,
13160
+ UiSelectTrigger: _sfc_main$n,
13161
+ UiSlider: _sfc_main$p,
13162
+ UiSwitch: _sfc_main$m,
13163
+ UiTab: _sfc_main$c,
13164
+ UiTabGroup: _sfc_main$8,
13165
+ UiTableBodyCell: _sfc_main$l,
13166
+ UiTableCol: _sfc_main$k,
13167
+ UiTableFooterButton: _sfc_main$j,
13168
+ UiTableFooterSection: _sfc_main$i,
13169
+ UiTableHeadCell: _sfc_main$h,
13170
+ UiTableRoot: _sfc_main$g,
13171
+ UiTableRow: _sfc_main$f,
13172
+ UiTableSection: _sfc_main$e,
13173
+ UiTableSorter: _sfc_main$d,
13174
+ UiTag: _sfc_main$7,
13175
+ UiTextbox: _sfc_main$L,
13176
+ UiTimePicker: _sfc_main$6,
13177
+ UiToggleButton: _sfc_main$5,
13178
+ UiToggleGroupRoot: _sfc_main$4,
12708
13179
  UiToolbar: _sfc_main$3,
12709
13180
  UiToolbarButton: _sfc_main$2,
12710
13181
  UiToolbarLink: _sfc_main$1,
12711
- UiTooltip: _sfc_main$M,
12712
- UiTransition: _sfc_main$10,
13182
+ UiTooltip: _sfc_main$O,
13183
+ UiTransition: _sfc_main$12,
12713
13184
  UiYandexMap: _sfc_main
12714
13185
  }, Symbol.toStringTag, { value: "Module" }));
12715
13186
  const createProvider = () => host.createProvider(components);
@@ -12719,63 +13190,69 @@ exports.DIRECTION = DIRECTION;
12719
13190
  exports.I18nPlugin = plugin$1;
12720
13191
  exports.ImageWorkersKey = ImageWorkersKey;
12721
13192
  exports.ModalPlugin = plugin;
12722
- exports.UiAddButton = _sfc_main$_;
12723
- exports.UiAlert = _sfc_main$$;
12724
- exports.UiAvatar = _sfc_main$Y;
12725
- exports.UiAvatarList = _sfc_main$X;
12726
- exports.UiButton = _sfc_main$W;
12727
- exports.UiCalendar = _sfc_main$S;
12728
- exports.UiCheckbox = _sfc_main$R;
12729
- exports.UiCollapse = _sfc_main$Q;
12730
- exports.UiCollapseBox = _sfc_main$P;
12731
- exports.UiCollapseGroup = _sfc_main$O;
12732
- exports.UiCopyButton = _sfc_main$L;
12733
- exports.UiDate = _sfc_main$K;
12734
- exports.UiDatePicker = _sfc_main$F;
12735
- exports.UiError = _sfc_main$E;
12736
- exports.UiImage = _sfc_main$Z;
12737
- exports.UiInfobox = _sfc_main$D;
12738
- exports.UiLink = _sfc_main$C;
12739
- exports.UiLoader = _sfc_main$B;
12740
- exports.UiMenuItem = _sfc_main$I;
13193
+ exports.RADIO_SWITCH_APPEARANCE = APPEARANCE$1;
13194
+ exports.RADIO_SWITCH_SIZE = SIZE$3;
13195
+ exports.TAB_APPEARANCE = APPEARANCE;
13196
+ exports.TAB_SIZE = SIZE$2;
13197
+ exports.UiAddButton = _sfc_main$10;
13198
+ exports.UiAlert = _sfc_main$11;
13199
+ exports.UiAvatar = _sfc_main$_;
13200
+ exports.UiAvatarList = _sfc_main$Z;
13201
+ exports.UiButton = _sfc_main$Y;
13202
+ exports.UiCalendar = _sfc_main$U;
13203
+ exports.UiCheckbox = _sfc_main$T;
13204
+ exports.UiCollapse = _sfc_main$S;
13205
+ exports.UiCollapseBox = _sfc_main$R;
13206
+ exports.UiCollapseGroup = _sfc_main$Q;
13207
+ exports.UiCopyButton = _sfc_main$N;
13208
+ exports.UiDate = _sfc_main$M;
13209
+ exports.UiDatePicker = _sfc_main$H;
13210
+ exports.UiError = _sfc_main$G;
13211
+ exports.UiImage = _sfc_main$$;
13212
+ exports.UiInfobox = _sfc_main$F;
13213
+ exports.UiLink = _sfc_main$E;
13214
+ exports.UiLoader = _sfc_main$D;
13215
+ exports.UiMenuItem = _sfc_main$K;
12741
13216
  exports.UiMenuItemGroup = UiMenuItemGroup;
12742
- exports.UiModalSidebar = _sfc_main$z;
12743
- exports.UiModalWindow = _sfc_main$x;
12744
- exports.UiModalWindowSurface = _sfc_main$y;
12745
- exports.UiNumberStepper = _sfc_main$w;
12746
- exports.UiPageHeader = _sfc_main$t;
12747
- exports.UiPageHeaderLayout = _sfc_main$u;
12748
- exports.UiPageHeaderTitle = _sfc_main$v;
12749
- exports.UiPopper = _sfc_main$N;
12750
- exports.UiPopperConnector = _sfc_main$s;
12751
- exports.UiPopperTarget = _sfc_main$r;
12752
- exports.UiRadio = _sfc_main$q;
12753
- exports.UiRadioSwitchOptionShell = _sfc_main$p;
12754
- exports.UiRadioSwitchRoot = _sfc_main$o;
12755
- exports.UiScrollBox = _sfc_main$H;
12756
- exports.UiSelectPopper = _sfc_main$m;
12757
- exports.UiSelectTrigger = _sfc_main$l;
12758
- exports.UiSlider = _sfc_main$n;
12759
- exports.UiSwitch = _sfc_main$k;
12760
- exports.UiTab = _sfc_main$a;
12761
- exports.UiTabGroup = _sfc_main$6;
12762
- exports.UiTableBodyCell = _sfc_main$j;
12763
- exports.UiTableCol = _sfc_main$i;
12764
- exports.UiTableFooterButton = _sfc_main$h;
12765
- exports.UiTableFooterSection = _sfc_main$g;
12766
- exports.UiTableHeadCell = _sfc_main$f;
12767
- exports.UiTableRoot = _sfc_main$e;
12768
- exports.UiTableRow = _sfc_main$d;
12769
- exports.UiTableSection = _sfc_main$c;
12770
- exports.UiTableSorter = _sfc_main$b;
12771
- exports.UiTag = _sfc_main$5;
12772
- exports.UiTextbox = _sfc_main$J;
12773
- exports.UiTimePicker = _sfc_main$4;
13217
+ exports.UiModalSidebar = _sfc_main$B;
13218
+ exports.UiModalWindow = _sfc_main$z;
13219
+ exports.UiModalWindowSurface = _sfc_main$A;
13220
+ exports.UiNumberStepper = _sfc_main$y;
13221
+ exports.UiPageHeader = _sfc_main$v;
13222
+ exports.UiPageHeaderLayout = _sfc_main$w;
13223
+ exports.UiPageHeaderTitle = _sfc_main$x;
13224
+ exports.UiPopper = _sfc_main$P;
13225
+ exports.UiPopperConnector = _sfc_main$u;
13226
+ exports.UiPopperTarget = _sfc_main$t;
13227
+ exports.UiRadio = _sfc_main$s;
13228
+ exports.UiRadioSwitchOptionShell = _sfc_main$r;
13229
+ exports.UiRadioSwitchRoot = _sfc_main$q;
13230
+ exports.UiScrollBox = _sfc_main$J;
13231
+ exports.UiSelectPopper = _sfc_main$o;
13232
+ exports.UiSelectTrigger = _sfc_main$n;
13233
+ exports.UiSlider = _sfc_main$p;
13234
+ exports.UiSwitch = _sfc_main$m;
13235
+ exports.UiTab = _sfc_main$c;
13236
+ exports.UiTabGroup = _sfc_main$8;
13237
+ exports.UiTableBodyCell = _sfc_main$l;
13238
+ exports.UiTableCol = _sfc_main$k;
13239
+ exports.UiTableFooterButton = _sfc_main$j;
13240
+ exports.UiTableFooterSection = _sfc_main$i;
13241
+ exports.UiTableHeadCell = _sfc_main$h;
13242
+ exports.UiTableRoot = _sfc_main$g;
13243
+ exports.UiTableRow = _sfc_main$f;
13244
+ exports.UiTableSection = _sfc_main$e;
13245
+ exports.UiTableSorter = _sfc_main$d;
13246
+ exports.UiTag = _sfc_main$7;
13247
+ exports.UiTextbox = _sfc_main$L;
13248
+ exports.UiTimePicker = _sfc_main$6;
13249
+ exports.UiToggleButton = _sfc_main$5;
13250
+ exports.UiToggleGroupRoot = _sfc_main$4;
12774
13251
  exports.UiToolbar = _sfc_main$3;
12775
13252
  exports.UiToolbarButton = _sfc_main$2;
12776
13253
  exports.UiToolbarLink = _sfc_main$1;
12777
- exports.UiTooltip = _sfc_main$M;
12778
- exports.UiTransition = _sfc_main$10;
13254
+ exports.UiTooltip = _sfc_main$O;
13255
+ exports.UiTransition = _sfc_main$12;
12779
13256
  exports.UiYandexMap = _sfc_main;
12780
13257
  exports.VALIGN = VALIGN;
12781
13258
  exports.VueI18n = VueI18n;