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

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 (71) hide show
  1. package/assets/sprites/map-and-places/navigate.svg +3 -0
  2. package/dist/host.cjs +1229 -616
  3. package/dist/host.css +346 -0
  4. package/dist/host.d.ts +300 -118
  5. package/dist/host.js +1229 -616
  6. package/dist/remote.cjs +501 -61
  7. package/dist/remote.d.ts +667 -81
  8. package/dist/remote.js +502 -62
  9. package/docs/COMPONENTS.md +4 -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/UiSkeleton.yml +41 -0
  49. package/docs/profiles/UiSlider.yml +12 -0
  50. package/docs/profiles/UiSwitch.yml +12 -0
  51. package/docs/profiles/UiTab.yml +5 -0
  52. package/docs/profiles/UiTabGroup.yml +5 -0
  53. package/docs/profiles/UiTable.yml +5 -1
  54. package/docs/profiles/UiTableBodyCell.yml +12 -0
  55. package/docs/profiles/UiTableColumn.yml +12 -0
  56. package/docs/profiles/UiTableFooterButton.yml +12 -0
  57. package/docs/profiles/UiTableFooterSection.yml +12 -0
  58. package/docs/profiles/UiTableHeadCell.yml +12 -0
  59. package/docs/profiles/UiTableSorter.yml +12 -0
  60. package/docs/profiles/UiTag.yml +12 -0
  61. package/docs/profiles/UiTextbox.yml +5 -1
  62. package/docs/profiles/UiTimePicker.yml +12 -0
  63. package/docs/profiles/UiToggleButton.yml +211 -0
  64. package/docs/profiles/UiToggleGroup.yml +211 -0
  65. package/docs/profiles/UiToggleGroupOption.yml +116 -0
  66. package/docs/profiles/UiToolbarButton.yml +12 -0
  67. package/docs/profiles/UiToolbarLink.yml +12 -0
  68. package/docs/profiles/UiTooltip.yml +12 -0
  69. package/docs/profiles/UiTransition.yml +12 -0
  70. package/docs/profiles/UiYandexMap.yml +12 -0
  71. package/package.json +2 -2
package/dist/host.js CHANGED
@@ -5,7 +5,7 @@ import { format, formatISO } from "date-fns";
5
5
  import { ru, es, enGB } from "date-fns/locale";
6
6
  import { PerfectScrollbar } from "vue3-perfect-scrollbar";
7
7
  import { createProvider as createProvider$1 } from "@omnicajs/vue-remote/host";
8
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
8
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
9
9
  __name: "UiTransition",
10
10
  props: {
11
11
  /** Наименование анимации перехода */
@@ -33,13 +33,13 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
33
33
  };
34
34
  }
35
35
  });
36
- const _hoisted_1$V = {
36
+ const _hoisted_1$W = {
37
37
  xmlns: "http://www.w3.org/2000/svg",
38
38
  fill: "none",
39
39
  viewBox: "0 0 24 24"
40
40
  };
41
- function render$o(_ctx, _cache) {
42
- return openBlock(), createElementBlock("svg", _hoisted_1$V, [..._cache[0] || (_cache[0] = [
41
+ function render$p(_ctx, _cache) {
42
+ return openBlock(), createElementBlock("svg", _hoisted_1$W, [..._cache[0] || (_cache[0] = [
43
43
  createElementVNode("path", {
44
44
  fill: "currentColor",
45
45
  "fill-rule": "evenodd",
@@ -48,26 +48,26 @@ function render$o(_ctx, _cache) {
48
48
  }, null, -1)
49
49
  ])]);
50
50
  }
51
- const IconCheckmarkCircleOutlined = { render: render$o };
52
- const _hoisted_1$U = {
51
+ const IconCheckmarkCircleOutlined = { render: render$p };
52
+ const _hoisted_1$V = {
53
53
  xmlns: "http://www.w3.org/2000/svg",
54
54
  viewBox: "0 0 24 24"
55
55
  };
56
- function render$n(_ctx, _cache) {
57
- return openBlock(), createElementBlock("svg", _hoisted_1$U, [..._cache[0] || (_cache[0] = [
56
+ function render$o(_ctx, _cache) {
57
+ return openBlock(), createElementBlock("svg", _hoisted_1$V, [..._cache[0] || (_cache[0] = [
58
58
  createElementVNode("path", {
59
59
  fill: "currentColor",
60
60
  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"
61
61
  }, null, -1)
62
62
  ])]);
63
63
  }
64
- const IconClear = { render: render$n };
65
- const _hoisted_1$T = {
64
+ const IconClear = { render: render$o };
65
+ const _hoisted_1$U = {
66
66
  xmlns: "http://www.w3.org/2000/svg",
67
67
  viewBox: "0 0 24 24"
68
68
  };
69
- function render$m(_ctx, _cache) {
70
- return openBlock(), createElementBlock("svg", _hoisted_1$T, [..._cache[0] || (_cache[0] = [
69
+ function render$n(_ctx, _cache) {
70
+ return openBlock(), createElementBlock("svg", _hoisted_1$U, [..._cache[0] || (_cache[0] = [
71
71
  createElementVNode("path", {
72
72
  fill: "currentColor",
73
73
  "fill-rule": "evenodd",
@@ -76,26 +76,26 @@ function render$m(_ctx, _cache) {
76
76
  }, null, -1)
77
77
  ])]);
78
78
  }
79
- const IconClearCircleOutlined = { render: render$m };
80
- const _hoisted_1$S = {
79
+ const IconClearCircleOutlined = { render: render$n };
80
+ const _hoisted_1$T = {
81
81
  xmlns: "http://www.w3.org/2000/svg",
82
82
  viewBox: "0 0 24 24"
83
83
  };
84
- function render$l(_ctx, _cache) {
85
- return openBlock(), createElementBlock("svg", _hoisted_1$S, [..._cache[0] || (_cache[0] = [
84
+ function render$m(_ctx, _cache) {
85
+ return openBlock(), createElementBlock("svg", _hoisted_1$T, [..._cache[0] || (_cache[0] = [
86
86
  createElementVNode("path", {
87
87
  fill: "currentColor",
88
88
  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"
89
89
  }, null, -1)
90
90
  ])]);
91
91
  }
92
- const IconErrorOutlined = { render: render$l };
93
- const _hoisted_1$R = {
92
+ const IconErrorOutlined = { render: render$m };
93
+ const _hoisted_1$S = {
94
94
  xmlns: "http://www.w3.org/2000/svg",
95
95
  viewBox: "0 0 24 24"
96
96
  };
97
- function render$k(_ctx, _cache) {
98
- return openBlock(), createElementBlock("svg", _hoisted_1$R, [..._cache[0] || (_cache[0] = [
97
+ function render$l(_ctx, _cache) {
98
+ return openBlock(), createElementBlock("svg", _hoisted_1$S, [..._cache[0] || (_cache[0] = [
99
99
  createElementVNode("path", {
100
100
  fill: "currentColor",
101
101
  "fill-rule": "evenodd",
@@ -104,7 +104,7 @@ function render$k(_ctx, _cache) {
104
104
  }, null, -1)
105
105
  ])]);
106
106
  }
107
- const IconInfoOutlined = { render: render$k };
107
+ const IconInfoOutlined = { render: render$l };
108
108
  var VARIANT$1 = /* @__PURE__ */ ((VARIANT2) => {
109
109
  VARIANT2["PRIMARY"] = "primary";
110
110
  VARIANT2["WARNING"] = "warning";
@@ -112,13 +112,13 @@ var VARIANT$1 = /* @__PURE__ */ ((VARIANT2) => {
112
112
  VARIANT2["DANGER"] = "danger";
113
113
  return VARIANT2;
114
114
  })(VARIANT$1 || {});
115
- const _hoisted_1$Q = ["aria-hidden", "aria-live"];
116
- const _hoisted_2$o = {
115
+ const _hoisted_1$R = ["aria-hidden", "aria-live"];
116
+ const _hoisted_2$p = {
117
117
  key: 0,
118
118
  class: "ui-v1-alert__icon-outline"
119
119
  };
120
- const _hoisted_3$i = { class: "ui-v1-alert__icon" };
121
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
120
+ const _hoisted_3$j = { class: "ui-v1-alert__icon" };
121
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
122
122
  ...{
123
123
  inheritAttrs: false
124
124
  },
@@ -227,7 +227,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
227
227
  }
228
228
  });
229
229
  return (_ctx, _cache) => {
230
- return openBlock(), createBlock(_sfc_main$10, {
230
+ return openBlock(), createBlock(_sfc_main$13, {
231
231
  name: "fade",
232
232
  onBeforeEnter,
233
233
  onBeforeLeave,
@@ -250,8 +250,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
250
250
  role: "alert"
251
251
  }, _ctx.$attrs), [
252
252
  renderSlot(_ctx.$slots, "icon", {}, () => [
253
- __props.variant ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
254
- createElementVNode("div", _hoisted_3$i, [
253
+ __props.variant ? (openBlock(), createElementBlock("div", _hoisted_2$p, [
254
+ createElementVNode("div", _hoisted_3$j, [
255
255
  __props.variant === unref(VARIANT$1).PRIMARY ? (openBlock(), createBlock(unref(IconInfoOutlined), { key: 0 })) : __props.variant === unref(VARIANT$1).WARNING ? (openBlock(), createBlock(unref(IconErrorOutlined), { key: 1 })) : __props.variant === unref(VARIANT$1).DANGER ? (openBlock(), createBlock(unref(IconClearCircleOutlined), { key: 2 })) : __props.variant === unref(VARIANT$1).SUCCESS ? (openBlock(), createBlock(unref(IconCheckmarkCircleOutlined), { key: 3 })) : createCommentVNode("", true)
256
256
  ])
257
257
  ])) : createCommentVNode("", true)
@@ -276,7 +276,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
276
276
  }, [
277
277
  createVNode(unref(IconClear), { class: "ui-v1-alert__close-icon" })
278
278
  ])) : createCommentVNode("", true)
279
- ], 16, _hoisted_1$Q), [
279
+ ], 16, _hoisted_1$R), [
280
280
  [vShow, state.shown]
281
281
  ])
282
282
  ]),
@@ -285,12 +285,12 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
285
285
  };
286
286
  }
287
287
  });
288
- const _hoisted_1$P = {
288
+ const _hoisted_1$Q = {
289
289
  xmlns: "http://www.w3.org/2000/svg",
290
290
  viewBox: "0 0 24 24"
291
291
  };
292
- function render$j(_ctx, _cache) {
293
- return openBlock(), createElementBlock("svg", _hoisted_1$P, [..._cache[0] || (_cache[0] = [
292
+ function render$k(_ctx, _cache) {
293
+ return openBlock(), createElementBlock("svg", _hoisted_1$Q, [..._cache[0] || (_cache[0] = [
294
294
  createElementVNode("path", {
295
295
  fill: "currentColor",
296
296
  "fill-rule": "evenodd",
@@ -299,7 +299,7 @@ function render$j(_ctx, _cache) {
299
299
  }, null, -1)
300
300
  ])]);
301
301
  }
302
- const IconAddCircle = { render: render$j };
302
+ const IconAddCircle = { render: render$k };
303
303
  var COLOR$1 = /* @__PURE__ */ ((COLOR2) => {
304
304
  COLOR2["GREEN"] = "green";
305
305
  COLOR2["BLUE"] = "blue";
@@ -312,14 +312,14 @@ const isNumeric = (value) => !isNaN(Number(value));
312
312
  const normalizeHeight = (height) => {
313
313
  return isNumeric(height) ? `${height}px` : `${height}`;
314
314
  };
315
- const _hoisted_1$O = ["type", "disabled"];
316
- const _hoisted_2$n = { class: "ui-v1-add-button__content" };
317
- const _hoisted_3$h = { class: "ui-v1-add-button__title" };
315
+ const _hoisted_1$P = ["type", "disabled"];
316
+ const _hoisted_2$o = { class: "ui-v1-add-button__content" };
317
+ const _hoisted_3$i = { class: "ui-v1-add-button__title" };
318
318
  const _hoisted_4$c = {
319
319
  key: 0,
320
320
  class: "ui-v1-add-button__description"
321
321
  };
322
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
322
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
323
323
  ...{
324
324
  inheritAttrs: false
325
325
  },
@@ -362,8 +362,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
362
362
  height: unref(normalizeHeight)(__props.height)
363
363
  }
364
364
  }, _ctx.$attrs), [
365
- createElementVNode("span", _hoisted_2$n, [
366
- createElementVNode("span", _hoisted_3$h, [
365
+ createElementVNode("span", _hoisted_2$o, [
366
+ createElementVNode("span", _hoisted_3$i, [
367
367
  renderSlot(_ctx.$slots, "icon", {}, () => [
368
368
  createVNode(unref(IconAddCircle), {
369
369
  "aria-hidden": "true",
@@ -376,16 +376,16 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
376
376
  renderSlot(_ctx.$slots, "description")
377
377
  ])) : createCommentVNode("", true)
378
378
  ])
379
- ], 16, _hoisted_1$O);
379
+ ], 16, _hoisted_1$P);
380
380
  };
381
381
  }
382
382
  });
383
- const _hoisted_1$N = {
383
+ const _hoisted_1$O = {
384
384
  xmlns: "http://www.w3.org/2000/svg",
385
385
  viewBox: "0 0 24 24"
386
386
  };
387
- function render$i(_ctx, _cache) {
388
- return openBlock(), createElementBlock("svg", _hoisted_1$N, [..._cache[0] || (_cache[0] = [
387
+ function render$j(_ctx, _cache) {
388
+ return openBlock(), createElementBlock("svg", _hoisted_1$O, [..._cache[0] || (_cache[0] = [
389
389
  createElementVNode("path", {
390
390
  fill: "currentColor",
391
391
  "fill-rule": "evenodd",
@@ -394,34 +394,34 @@ function render$i(_ctx, _cache) {
394
394
  }, null, -1)
395
395
  ])]);
396
396
  }
397
- const IconHelpOutlined = { render: render$i };
398
- const _hoisted_1$M = {
397
+ const IconHelpOutlined = { render: render$j };
398
+ const _hoisted_1$N = {
399
399
  xmlns: "http://www.w3.org/2000/svg",
400
400
  viewBox: "0 0 18 8"
401
401
  };
402
- function render$h(_ctx, _cache) {
403
- return openBlock(), createElementBlock("svg", _hoisted_1$M, [..._cache[0] || (_cache[0] = [
402
+ function render$i(_ctx, _cache) {
403
+ return openBlock(), createElementBlock("svg", _hoisted_1$N, [..._cache[0] || (_cache[0] = [
404
404
  createElementVNode("g", { fill: "currentColor" }, [
405
405
  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" })
406
406
  ], -1)
407
407
  ])]);
408
408
  }
409
- const SpriteBAD = { render: render$h };
410
- const _hoisted_1$L = {
409
+ const SpriteBAD = { render: render$i };
410
+ const _hoisted_1$M = {
411
411
  xmlns: "http://www.w3.org/2000/svg",
412
412
  viewBox: "0 0 16 8"
413
413
  };
414
- function render$g(_ctx, _cache) {
415
- return openBlock(), createElementBlock("svg", _hoisted_1$L, [..._cache[0] || (_cache[0] = [
414
+ function render$h(_ctx, _cache) {
415
+ return openBlock(), createElementBlock("svg", _hoisted_1$M, [..._cache[0] || (_cache[0] = [
416
416
  createElementVNode("g", { fill: "currentColor" }, [
417
417
  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" })
418
418
  ], -1)
419
419
  ])]);
420
420
  }
421
- const SpriteVIP = { render: render$g };
421
+ const SpriteVIP = { render: render$h };
422
422
  const ImageWorkersKey = Symbol("$image.workers");
423
- const _hoisted_1$K = ["alt", "src"];
424
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
423
+ const _hoisted_1$L = ["alt", "src"];
424
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
425
425
  __name: "UiImage",
426
426
  props: {
427
427
  alt: {
@@ -457,7 +457,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
457
457
  return openBlock(), createElementBlock("img", mergeProps({
458
458
  alt: __props.alt,
459
459
  src: url.value
460
- }, _ctx.$attrs), null, 16, _hoisted_1$K);
460
+ }, _ctx.$attrs), null, 16, _hoisted_1$L);
461
461
  };
462
462
  }
463
463
  });
@@ -476,12 +476,12 @@ const isURL = (href, loose = true) => {
476
476
  return false;
477
477
  }
478
478
  };
479
- var SIZE$a = /* @__PURE__ */ ((SIZE2) => {
479
+ var SIZE$b = /* @__PURE__ */ ((SIZE2) => {
480
480
  SIZE2["XS"] = "xs";
481
481
  SIZE2["SM"] = "sm";
482
482
  SIZE2["LG"] = "lg";
483
483
  return SIZE2;
484
- })(SIZE$a || {});
484
+ })(SIZE$b || {});
485
485
  var STATUS = /* @__PURE__ */ ((STATUS2) => {
486
486
  STATUS2["NONE"] = "";
487
487
  STATUS2["BUSY"] = "busy";
@@ -491,15 +491,15 @@ var STATUS = /* @__PURE__ */ ((STATUS2) => {
491
491
  return STATUS2;
492
492
  })(STATUS || {});
493
493
  const AvatarSizeKey = Symbol("UiAvatarSize");
494
- const _hoisted_1$J = {
494
+ const _hoisted_1$K = {
495
495
  key: 1,
496
496
  class: "ui-v1-avatar__unresolved"
497
497
  };
498
- const _hoisted_2$m = {
498
+ const _hoisted_2$n = {
499
499
  key: 3,
500
500
  class: "ui-v1-avatar__initials"
501
501
  };
502
- const _hoisted_3$g = {
502
+ const _hoisted_3$h = {
503
503
  key: 4,
504
504
  class: "ui-v1-avatar__labels"
505
505
  };
@@ -511,7 +511,7 @@ const _hoisted_5$9 = {
511
511
  key: 1,
512
512
  class: "ui-v1-avatar__label ui-v1-avatar__label_bad"
513
513
  };
514
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
514
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
515
515
  __name: "UiAvatar",
516
516
  props: {
517
517
  /** Путь к изображению */
@@ -550,8 +550,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
550
550
  /** Размер изображения */
551
551
  size: {
552
552
  type: String,
553
- validator: (size) => Object.values(SIZE$a).includes(size),
554
- default: SIZE$a.SM
553
+ validator: (size) => Object.values(SIZE$b).includes(size),
554
+ default: SIZE$b.SM
555
555
  },
556
556
  optimize: {
557
557
  type: [Boolean, Object],
@@ -579,9 +579,9 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
579
579
  const processing = typeof props.optimize === "object" ? props.optimize : {};
580
580
  return {
581
581
  resize: processing.resize ?? {
582
- [SIZE$a.XS]: "48x-",
583
- [SIZE$a.SM]: "72x-",
584
- [SIZE$a.LG]: "104x-"
582
+ [SIZE$b.XS]: "48x-",
583
+ [SIZE$b.SM]: "72x-",
584
+ [SIZE$b.LG]: "104x-"
585
585
  }[size.value],
586
586
  crop: processing.crop
587
587
  };
@@ -598,7 +598,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
598
598
  }
599
599
  }, _ctx.$attrs), {
600
600
  default: withCtx(() => [
601
- __props.src ? (openBlock(), createBlock(_sfc_main$Z, {
601
+ __props.src ? (openBlock(), createBlock(_sfc_main$10, {
602
602
  key: 0,
603
603
  src: __props.src,
604
604
  resize: optimization.value.resize,
@@ -607,7 +607,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
607
607
  draggable: "false",
608
608
  onLoad: _cache[0] || (_cache[0] = ($event) => loaded.value = true),
609
609
  onError: _cache[1] || (_cache[1] = ($event) => loaded.value = false)
610
- }, null, 8, ["src", "resize", "crop"])) : !__props.src && unresolved.value ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
610
+ }, null, 8, ["src", "resize", "crop"])) : !__props.src && unresolved.value ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
611
611
  createVNode(unref(IconHelpOutlined))
612
612
  ])) : createCommentVNode("", true),
613
613
  __props.status && !(__props.vip || __props.bad) ? (openBlock(), createElementBlock("span", {
@@ -618,12 +618,12 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
618
618
  [`ui-v1-avatar__status_${__props.status}`]: __props.status
619
619
  })
620
620
  }, null, 2)) : createCommentVNode("", true),
621
- !(unresolved.value || loaded.value) ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
621
+ !(unresolved.value || loaded.value) ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
622
622
  renderSlot(_ctx.$slots, "default", {}, () => [
623
623
  createTextVNode(toDisplayString(initials.value), 1)
624
624
  ])
625
625
  ])) : createCommentVNode("", true),
626
- __props.vip || __props.bad ? (openBlock(), createElementBlock("div", _hoisted_3$g, [
626
+ __props.vip || __props.bad ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
627
627
  __props.vip ? (openBlock(), createElementBlock("span", _hoisted_4$b, [
628
628
  createVNode(unref(SpriteVIP), { class: "ui-v1-avatar__vip" })
629
629
  ])) : createCommentVNode("", true),
@@ -637,7 +637,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
637
637
  };
638
638
  }
639
639
  });
640
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
640
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
641
641
  __name: "UiAvatarList",
642
642
  props: {
643
643
  /** Список аватарок пользователей */
@@ -648,8 +648,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
648
648
  /** Размер аватарок */
649
649
  size: {
650
650
  type: String,
651
- validator: (size) => Object.values(SIZE$a).includes(size),
652
- default: SIZE$a.SM
651
+ validator: (size) => Object.values(SIZE$b).includes(size),
652
+ default: SIZE$b.SM
653
653
  }
654
654
  },
655
655
  setup(__props) {
@@ -664,7 +664,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
664
664
  key: index,
665
665
  class: "ui-v1-avatar-list__item"
666
666
  }, [
667
- createVNode(_sfc_main$Y, {
667
+ createVNode(_sfc_main$$, {
668
668
  src: avatar.src,
669
669
  name: avatar.name
670
670
  }, null, 8, ["src", "name"])
@@ -711,27 +711,27 @@ const useElementRef = () => {
711
711
  provide(ElementRefKey, ref(null));
712
712
  return el;
713
713
  };
714
- var APPEARANCE$5 = /* @__PURE__ */ ((APPEARANCE2) => {
714
+ var APPEARANCE$6 = /* @__PURE__ */ ((APPEARANCE2) => {
715
715
  APPEARANCE2["OUTLINED"] = "outlined";
716
716
  APPEARANCE2["PRIMARY"] = "primary";
717
717
  APPEARANCE2["SECONDARY"] = "secondary";
718
718
  APPEARANCE2["TERTIARY"] = "tertiary";
719
719
  return APPEARANCE2;
720
- })(APPEARANCE$5 || {});
721
- var SIZE$9 = /* @__PURE__ */ ((SIZE2) => {
720
+ })(APPEARANCE$6 || {});
721
+ var SIZE$a = /* @__PURE__ */ ((SIZE2) => {
722
722
  SIZE2["LG"] = "lg";
723
723
  SIZE2["MD"] = "md";
724
724
  SIZE2["SM"] = "sm";
725
725
  SIZE2["XS"] = "xs";
726
726
  return SIZE2;
727
- })(SIZE$9 || {});
727
+ })(SIZE$a || {});
728
728
  var VARIANT = /* @__PURE__ */ ((VARIANT2) => {
729
729
  VARIANT2["DEFAULT"] = "default";
730
730
  VARIANT2["SUCCESS"] = "success";
731
731
  VARIANT2["DANGER"] = "danger";
732
732
  return VARIANT2;
733
733
  })(VARIANT || {});
734
- const _sfc_main$W = defineComponent({
734
+ const _sfc_main$Z = defineComponent({
735
735
  props: {
736
736
  /** Устанавливает тип кнопки */
737
737
  type: {
@@ -747,7 +747,7 @@ const _sfc_main$W = defineComponent({
747
747
  /** Регулирует внешний вид кнопки: primary, secondary, tertiary or outlined */
748
748
  appearance: {
749
749
  type: String,
750
- default: APPEARANCE$5.PRIMARY
750
+ default: APPEARANCE$6.PRIMARY
751
751
  },
752
752
  /** Регулирует цветовую схему кнопки: default, success or danger */
753
753
  variant: {
@@ -757,7 +757,7 @@ const _sfc_main$W = defineComponent({
757
757
  /** Размер */
758
758
  size: {
759
759
  type: String,
760
- default: SIZE$9.SM
760
+ default: SIZE$a.SM
761
761
  },
762
762
  /** Если кнопка активна */
763
763
  active: {
@@ -817,8 +817,8 @@ const _sfc_main$W = defineComponent({
817
817
  };
818
818
  }
819
819
  });
820
- const _hoisted_1$I = { class: "ui-v1-calendar-cell__content" };
821
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
820
+ const _hoisted_1$J = { class: "ui-v1-calendar-cell__content" };
821
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
822
822
  __name: "UiCalendarCell",
823
823
  props: {
824
824
  current: {
@@ -863,32 +863,32 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
863
863
  "aria-hidden": "true",
864
864
  class: "ui-v1-calendar-cell__backdrop"
865
865
  }, null, -1)),
866
- createElementVNode("div", _hoisted_1$I, [
866
+ createElementVNode("div", _hoisted_1$J, [
867
867
  renderSlot(_ctx.$slots, "default")
868
868
  ])
869
869
  ], 16);
870
870
  };
871
871
  }
872
872
  });
873
- const _hoisted_1$H = {
873
+ const _hoisted_1$I = {
874
874
  xmlns: "http://www.w3.org/2000/svg",
875
875
  viewBox: "0 0 24 24"
876
876
  };
877
- function render$f(_ctx, _cache) {
878
- return openBlock(), createElementBlock("svg", _hoisted_1$H, [..._cache[0] || (_cache[0] = [
877
+ function render$g(_ctx, _cache) {
878
+ return openBlock(), createElementBlock("svg", _hoisted_1$I, [..._cache[0] || (_cache[0] = [
879
879
  createElementVNode("path", {
880
880
  fill: "currentColor",
881
881
  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"
882
882
  }, null, -1)
883
883
  ])]);
884
884
  }
885
- const IconChevronRight = { render: render$f };
886
- const _hoisted_1$G = {
885
+ const IconChevronRight = { render: render$g };
886
+ const _hoisted_1$H = {
887
887
  key: 1,
888
888
  "aria-hidden": "true",
889
889
  class: "ui-v1-calendar-navigation__placeholder"
890
890
  };
891
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
891
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
892
892
  __name: "UiCalendarDirectionButton",
893
893
  props: {
894
894
  label: {
@@ -908,7 +908,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
908
908
  emits: ["click"],
909
909
  setup(__props) {
910
910
  return (_ctx, _cache) => {
911
- return !__props.absent ? (openBlock(), createBlock(_sfc_main$W, {
911
+ return !__props.absent ? (openBlock(), createBlock(_sfc_main$Z, {
912
912
  key: 0,
913
913
  "aria-label": __props.label,
914
914
  appearance: "tertiary",
@@ -925,15 +925,15 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
925
925
  }, null, 8, ["class"])
926
926
  ]),
927
927
  _: 1
928
- }, 8, ["aria-label"])) : (openBlock(), createElementBlock("div", _hoisted_1$G));
928
+ }, 8, ["aria-label"])) : (openBlock(), createElementBlock("div", _hoisted_1$H));
929
929
  };
930
930
  }
931
931
  });
932
- const _hoisted_1$F = {
932
+ const _hoisted_1$G = {
933
933
  key: 1,
934
934
  class: "ui-v1-calendar-navigation__text"
935
935
  };
936
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
936
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
937
937
  __name: "UiCalendarSwitchButton",
938
938
  props: {
939
939
  locked: {
@@ -944,7 +944,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
944
944
  emits: ["click"],
945
945
  setup(__props) {
946
946
  return (_ctx, _cache) => {
947
- return !__props.locked ? (openBlock(), createBlock(_sfc_main$W, {
947
+ return !__props.locked ? (openBlock(), createBlock(_sfc_main$Z, {
948
948
  key: 0,
949
949
  appearance: "tertiary",
950
950
  class: "ui-v1-calendar-navigation__switch-button",
@@ -954,17 +954,17 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
954
954
  renderSlot(_ctx.$slots, "default")
955
955
  ]),
956
956
  _: 3
957
- })) : (openBlock(), createElementBlock("div", _hoisted_1$F, [
957
+ })) : (openBlock(), createElementBlock("div", _hoisted_1$G, [
958
958
  renderSlot(_ctx.$slots, "default")
959
959
  ]));
960
960
  };
961
961
  }
962
962
  });
963
- var APPEARANCE$4 = /* @__PURE__ */ ((APPEARANCE2) => {
963
+ var APPEARANCE$5 = /* @__PURE__ */ ((APPEARANCE2) => {
964
964
  APPEARANCE2["SINGLE"] = "single";
965
965
  APPEARANCE2["DOUBLE"] = "double";
966
966
  return APPEARANCE2;
967
- })(APPEARANCE$4 || {});
967
+ })(APPEARANCE$5 || {});
968
968
  var TYPE$2 = /* @__PURE__ */ ((TYPE2) => {
969
969
  TYPE2["SINGLE"] = "single";
970
970
  TYPE2["RANGE"] = "range";
@@ -1379,9 +1379,9 @@ const _i18n$6 = define({
1379
1379
  "ru-RU": messages_ru_RU$6
1380
1380
  }
1381
1381
  });
1382
- const _hoisted_1$E = { class: "ui-v1-calendar-wrapper" };
1383
- const _hoisted_2$l = ["aria-label"];
1384
- const _hoisted_3$f = ["id"];
1382
+ const _hoisted_1$F = { class: "ui-v1-calendar-wrapper" };
1383
+ const _hoisted_2$m = ["aria-label"];
1384
+ const _hoisted_3$g = ["id"];
1385
1385
  const _hoisted_4$a = ["aria-labelledby", "aria-multiselectable"];
1386
1386
  const _hoisted_5$8 = {
1387
1387
  class: "ui-v1-calendar__row",
@@ -1402,7 +1402,7 @@ const _hoisted_16 = {
1402
1402
  "aria-atomic": "true",
1403
1403
  "aria-live": "polite"
1404
1404
  };
1405
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
1405
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
1406
1406
  __name: "UiCalendar",
1407
1407
  props: {
1408
1408
  /** Текущая дата */
@@ -1420,8 +1420,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1420
1420
  /** Одиночный или двойной вид */
1421
1421
  appearance: {
1422
1422
  type: String,
1423
- validator: (appearance) => Object.values(APPEARANCE$4).includes(appearance),
1424
- default: APPEARANCE$4.SINGLE
1423
+ validator: (appearance) => Object.values(APPEARANCE$5).includes(appearance),
1424
+ default: APPEARANCE$5.SINGLE
1425
1425
  },
1426
1426
  /** Первый день недели */
1427
1427
  firstDayOfWeek: {
@@ -1561,7 +1561,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1561
1561
  });
1562
1562
  const viewsComputed = computed(() => {
1563
1563
  const view = [views[0]];
1564
- if (props.appearance === APPEARANCE$4.DOUBLE) {
1564
+ if (props.appearance === APPEARANCE$5.DOUBLE) {
1565
1565
  view.push(views[1]);
1566
1566
  }
1567
1567
  return view.map(({ date, decade, mode }) => ({
@@ -1573,7 +1573,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1573
1573
  });
1574
1574
  const viewsIsSynchronized = computed(() => {
1575
1575
  const [first, last] = views;
1576
- return props.appearance === APPEARANCE$4.DOUBLE && first.mode === last.mode && first.date.inSameMonth(new CalendarDay(last.date.year, last.date.month - 1));
1576
+ return props.appearance === APPEARANCE$5.DOUBLE && first.mode === last.mode && first.date.inSameMonth(new CalendarDay(last.date.year, last.date.month - 1));
1577
1577
  });
1578
1578
  const range = computed(() => {
1579
1579
  const [first, last] = valueComputed.value;
@@ -1997,7 +1997,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1997
1997
  return date.inSameMonth(views[viewIndex].date);
1998
1998
  };
1999
1999
  const inSelectedView = (date) => {
2000
- return inSelectedMonth(date, 0) || inSelectedMonth(date, 1) && props.appearance === APPEARANCE$4.DOUBLE;
2000
+ return inSelectedMonth(date, 0) || inSelectedMonth(date, 1) && props.appearance === APPEARANCE$5.DOUBLE;
2001
2001
  };
2002
2002
  const inRangeDate = (date) => {
2003
2003
  const [min2, max2] = range.value;
@@ -2020,7 +2020,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2020
2020
  ));
2021
2021
  };
2022
2022
  return (_ctx, _cache) => {
2023
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
2023
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
2024
2024
  (openBlock(true), createElementBlock(Fragment, null, renderList(viewsComputed.value, (view, index) => {
2025
2025
  return openBlock(), createElementBlock("div", {
2026
2026
  key: "view-" + index + "-" + view.date,
@@ -2031,12 +2031,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2031
2031
  class: "ui-v1-calendar-navigation",
2032
2032
  "aria-label": i18n.value.t("monthNavigation")
2033
2033
  }, [
2034
- createVNode(_sfc_main$U, {
2034
+ createVNode(_sfc_main$X, {
2035
2035
  absent: index === 1 && viewsIsSynchronized.value && views[0].mode === unref(VIEW_MODE).DAYS,
2036
2036
  label: i18n.value.t("prevMonth"),
2037
2037
  onClick: ($event) => showPrevMonth(index)
2038
2038
  }, null, 8, ["absent", "label", "onClick"]),
2039
- createVNode(_sfc_main$T, {
2039
+ createVNode(_sfc_main$W, {
2040
2040
  onClick: ($event) => views[index].mode = unref(VIEW_MODE).MONTHS
2041
2041
  }, {
2042
2042
  default: withCtx(() => [
@@ -2044,17 +2044,17 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2044
2044
  id: getGridLabelId(index, unref(VIEW_MODE).DAYS),
2045
2045
  "aria-atomic": "true",
2046
2046
  "aria-live": "polite"
2047
- }, toDisplayString(i18n.value.t(`months.${view.date.month - 1}`)) + " " + toDisplayString(view.date.year), 9, _hoisted_3$f)
2047
+ }, toDisplayString(i18n.value.t(`months.${view.date.month - 1}`)) + " " + toDisplayString(view.date.year), 9, _hoisted_3$g)
2048
2048
  ]),
2049
2049
  _: 2
2050
2050
  }, 1032, ["onClick"]),
2051
- createVNode(_sfc_main$U, {
2051
+ createVNode(_sfc_main$X, {
2052
2052
  absent: index === 0 && viewsIsSynchronized.value && views[1].mode === unref(VIEW_MODE).DAYS,
2053
2053
  label: i18n.value.t("nextMonth"),
2054
2054
  direction: "next",
2055
2055
  onClick: ($event) => showNextMonth(index)
2056
2056
  }, null, 8, ["absent", "label", "onClick"])
2057
- ], 8, _hoisted_2$l),
2057
+ ], 8, _hoisted_2$m),
2058
2058
  createElementVNode("div", {
2059
2059
  class: "ui-v1-calendar__table",
2060
2060
  role: "grid",
@@ -2082,7 +2082,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2082
2082
  role: "row"
2083
2083
  }, [
2084
2084
  (openBlock(true), createElementBlock(Fragment, null, renderList(week, (day) => {
2085
- return openBlock(), createBlock(_sfc_main$V, {
2085
+ return openBlock(), createBlock(_sfc_main$Y, {
2086
2086
  key: "day-" + index + "-" + day,
2087
2087
  class: normalizeClass({
2088
2088
  "ui-v1-calendar__cell-day": true,
@@ -2126,11 +2126,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2126
2126
  class: "ui-v1-calendar-navigation",
2127
2127
  "aria-label": i18n.value.t("yearNavigation")
2128
2128
  }, [
2129
- createVNode(_sfc_main$U, {
2129
+ createVNode(_sfc_main$X, {
2130
2130
  label: i18n.value.t("prevYear"),
2131
2131
  onClick: ($event) => showYear(view.date.year - 1, index)
2132
2132
  }, null, 8, ["label", "onClick"]),
2133
- createVNode(_sfc_main$T, {
2133
+ createVNode(_sfc_main$W, {
2134
2134
  onClick: ($event) => views[index].mode = unref(VIEW_MODE).YEARS
2135
2135
  }, {
2136
2136
  default: withCtx(() => [
@@ -2142,7 +2142,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2142
2142
  ]),
2143
2143
  _: 2
2144
2144
  }, 1032, ["onClick"]),
2145
- createVNode(_sfc_main$U, {
2145
+ createVNode(_sfc_main$X, {
2146
2146
  label: i18n.value.t("nextYear"),
2147
2147
  direction: "next",
2148
2148
  onClick: ($event) => showYear(view.date.year + 1, index)
@@ -2160,7 +2160,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2160
2160
  role: "row"
2161
2161
  }, [
2162
2162
  (openBlock(true), createElementBlock(Fragment, null, renderList(months2, (month) => {
2163
- return openBlock(), createBlock(_sfc_main$V, {
2163
+ return openBlock(), createBlock(_sfc_main$Y, {
2164
2164
  key: "month-" + month.month,
2165
2165
  class: normalizeClass({ "ui-v1-calendar__cell-month": true }),
2166
2166
  current: isCurrentMonth(month.month, index),
@@ -2191,11 +2191,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2191
2191
  class: "ui-v1-calendar-navigation",
2192
2192
  "aria-label": i18n.value.t("decadeNavigation")
2193
2193
  }, [
2194
- createVNode(_sfc_main$U, {
2194
+ createVNode(_sfc_main$X, {
2195
2195
  label: i18n.value.t("prevDecade"),
2196
2196
  onClick: ($event) => showPrevDecade(index)
2197
2197
  }, null, 8, ["label", "onClick"]),
2198
- createVNode(_sfc_main$T, {
2198
+ createVNode(_sfc_main$W, {
2199
2199
  locked: "",
2200
2200
  onClick: ($event) => views[index].mode = unref(VIEW_MODE).MONTHS
2201
2201
  }, {
@@ -2208,7 +2208,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2208
2208
  ]),
2209
2209
  _: 2
2210
2210
  }, 1032, ["onClick"]),
2211
- createVNode(_sfc_main$U, {
2211
+ createVNode(_sfc_main$X, {
2212
2212
  label: i18n.value.t("nextDecade"),
2213
2213
  direction: "next",
2214
2214
  onClick: ($event) => showNextDecade(index)
@@ -2226,7 +2226,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2226
2226
  role: "row"
2227
2227
  }, [
2228
2228
  (openBlock(true), createElementBlock(Fragment, null, renderList(years, (year) => {
2229
- return openBlock(), createBlock(_sfc_main$V, {
2229
+ return openBlock(), createBlock(_sfc_main$Y, {
2230
2230
  key: "year-" + year,
2231
2231
  class: normalizeClass({ "ui-v1-calendar__cell-year": true }),
2232
2232
  current: isCurrentYear(year),
@@ -2261,12 +2261,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2261
2261
  };
2262
2262
  }
2263
2263
  });
2264
- const _hoisted_1$D = {
2264
+ const _hoisted_1$E = {
2265
2265
  xmlns: "http://www.w3.org/2000/svg",
2266
2266
  viewBox: "0 0 24 24"
2267
2267
  };
2268
- function render$e(_ctx, _cache) {
2269
- return openBlock(), createElementBlock("svg", _hoisted_1$D, [..._cache[0] || (_cache[0] = [
2268
+ function render$f(_ctx, _cache) {
2269
+ return openBlock(), createElementBlock("svg", _hoisted_1$E, [..._cache[0] || (_cache[0] = [
2270
2270
  createElementVNode("path", {
2271
2271
  fill: "currentColor",
2272
2272
  "fill-rule": "evenodd",
@@ -2275,7 +2275,7 @@ function render$e(_ctx, _cache) {
2275
2275
  }, null, -1)
2276
2276
  ])]);
2277
2277
  }
2278
- const IconDone = { render: render$e };
2278
+ const IconDone = { render: render$f };
2279
2279
  const expect = (value) => ({
2280
2280
  toBeOneOf(variants) {
2281
2281
  return Object.values(variants).includes(value);
@@ -2303,11 +2303,11 @@ const without = (obj, exclude) => {
2303
2303
  });
2304
2304
  return newObj;
2305
2305
  };
2306
- const _hoisted_1$C = ["id", "value", "name", "disabled", "checked"];
2307
- const _hoisted_2$k = { class: "ui-v1-checkbox__checkmark" };
2306
+ const _hoisted_1$D = ["id", "value", "name", "disabled", "checked"];
2307
+ const _hoisted_2$l = { class: "ui-v1-checkbox__checkmark" };
2308
2308
  let counter$3 = 0;
2309
2309
  const __default__$2 = {};
2310
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
2310
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
2311
2311
  ...__default__$2,
2312
2312
  __name: "UiCheckbox",
2313
2313
  props: {
@@ -2414,8 +2414,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2414
2414
  type: "checkbox",
2415
2415
  class: "ui-v1-checkbox__input",
2416
2416
  onChange
2417
- }), null, 16, _hoisted_1$C),
2418
- createElementVNode("span", _hoisted_2$k, [
2417
+ }), null, 16, _hoisted_1$D),
2418
+ createElementVNode("span", _hoisted_2$l, [
2419
2419
  checked.value && !__props.indeterminate ? (openBlock(), createBlock(unref(IconDone), {
2420
2420
  key: 0,
2421
2421
  class: "ui-v1-checkbox__checkmark-icon"
@@ -2430,15 +2430,15 @@ var COLLAPSE_BEHAVIOUR = /* @__PURE__ */ ((COLLAPSE_BEHAVIOUR2) => {
2430
2430
  COLLAPSE_BEHAVIOUR2["HIDE"] = "hide";
2431
2431
  return COLLAPSE_BEHAVIOUR2;
2432
2432
  })(COLLAPSE_BEHAVIOUR || {});
2433
- const _hoisted_1$B = {
2433
+ const _hoisted_1$C = {
2434
2434
  key: 0,
2435
2435
  class: "ui-v1-collapse"
2436
2436
  };
2437
- const _hoisted_2$j = {
2437
+ const _hoisted_2$k = {
2438
2438
  key: 1,
2439
2439
  class: "ui-v1-collapse"
2440
2440
  };
2441
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2441
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
2442
2442
  __name: "UiCollapse",
2443
2443
  props: {
2444
2444
  /** Свёрнут/Развёрнут */
@@ -2556,12 +2556,12 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2556
2556
  }, {
2557
2557
  default: withCtx(() => [
2558
2558
  __props.collapseBehaviour === unref(COLLAPSE_BEHAVIOUR).DISPOSE ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
2559
- __props.expanded ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
2559
+ __props.expanded ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
2560
2560
  createElementVNode("div", null, [
2561
2561
  renderSlot(_ctx.$slots, "default")
2562
2562
  ])
2563
2563
  ])) : createCommentVNode("", true)
2564
- ], 64)) : withDirectives((openBlock(), createElementBlock("div", _hoisted_2$j, [
2564
+ ], 64)) : withDirectives((openBlock(), createElementBlock("div", _hoisted_2$k, [
2565
2565
  createElementVNode("div", null, [
2566
2566
  renderSlot(_ctx.$slots, "default")
2567
2567
  ])
@@ -2584,18 +2584,18 @@ var COLOR = /* @__PURE__ */ ((COLOR2) => {
2584
2584
  COLOR2["YELLOW"] = "yellow";
2585
2585
  return COLOR2;
2586
2586
  })(COLOR || {});
2587
- var SIZE$8 = /* @__PURE__ */ ((SIZE2) => {
2587
+ var SIZE$9 = /* @__PURE__ */ ((SIZE2) => {
2588
2588
  SIZE2["SM"] = "sm";
2589
2589
  SIZE2["MD"] = "md";
2590
2590
  return SIZE2;
2591
- })(SIZE$8 || {});
2591
+ })(SIZE$9 || {});
2592
2592
  const CollapseGroupRegisterKey = Symbol("UiCollapseGroup_register");
2593
2593
  const CollapseGroupUnregisterKey = Symbol("UiCollapseGroup_unregister");
2594
2594
  const CollapseGroupExpandKey = Symbol("UiCollapseGroup_expand");
2595
2595
  const CollapseGroupCollapseKey = Symbol("UiCollapseGroup_collapse");
2596
- const _hoisted_1$A = ["id", "aria-labelledby"];
2597
- const _hoisted_2$i = ["id", "disabled", "aria-controls", "aria-expanded", "aria-disabled"];
2598
- const _hoisted_3$e = { class: "ui-v1-collapse-box__icon-sprite" };
2596
+ const _hoisted_1$B = ["id", "aria-labelledby"];
2597
+ const _hoisted_2$j = ["id", "disabled", "aria-controls", "aria-expanded", "aria-disabled"];
2598
+ const _hoisted_3$f = { class: "ui-v1-collapse-box__icon-sprite" };
2599
2599
  const _hoisted_4$9 = { class: "ui-v1-collapse-box__header-content" };
2600
2600
  const _hoisted_5$7 = ["id"];
2601
2601
  const _hoisted_6$5 = ["id"];
@@ -2609,7 +2609,7 @@ const _hoisted_10 = {
2609
2609
  key: 0,
2610
2610
  class: "ui-v1-collapse-box__footer"
2611
2611
  };
2612
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
2612
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2613
2613
  ...{
2614
2614
  inheritAttrs: false
2615
2615
  },
@@ -2665,8 +2665,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2665
2665
  /** Размер иконки */
2666
2666
  iconSize: {
2667
2667
  type: String,
2668
- default: SIZE$8.SM,
2669
- validator: (value) => Object.values(SIZE$8).includes(value)
2668
+ default: SIZE$9.SM,
2669
+ validator: (value) => Object.values(SIZE$9).includes(value)
2670
2670
  },
2671
2671
  /** Рамка вместо тени */
2672
2672
  bordered: {
@@ -2832,7 +2832,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2832
2832
  [`ui-v1-collapse-box__icon_${__props.iconSize}`]: __props.iconSize
2833
2833
  })
2834
2834
  }, [
2835
- createElementVNode("span", _hoisted_3$e, [
2835
+ createElementVNode("span", _hoisted_3$f, [
2836
2836
  renderSlot(_ctx.$slots, "icon")
2837
2837
  ])
2838
2838
  ], 2)) : createCommentVNode("", true),
@@ -2854,9 +2854,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2854
2854
  !__props.disabled ? (openBlock(), createElementBlock("span", _hoisted_7$3, [
2855
2855
  createVNode(unref(IconChevronRight), { class: "ui-v1-collapse-box__arrow" })
2856
2856
  ])) : createCommentVNode("", true)
2857
- ], 8, _hoisted_2$i)
2857
+ ], 8, _hoisted_2$j)
2858
2858
  ], 2),
2859
- createVNode(_sfc_main$Q, {
2859
+ createVNode(_sfc_main$T, {
2860
2860
  id: boxId.value + "-collapse",
2861
2861
  "aria-hidden": !state.expanded ? "true" : "false",
2862
2862
  "aria-labelledby": boxId.value + "-button",
@@ -2891,11 +2891,11 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2891
2891
  ]),
2892
2892
  _: 3
2893
2893
  }, 8, ["id", "aria-hidden", "aria-labelledby", "duration", "expanded", "collapse-behaviour"])
2894
- ], 16, _hoisted_1$A);
2894
+ ], 16, _hoisted_1$B);
2895
2895
  };
2896
2896
  }
2897
2897
  });
2898
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
2898
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2899
2899
  __name: "UiCollapseGroup",
2900
2900
  props: {
2901
2901
  /**
@@ -3013,19 +3013,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3013
3013
  };
3014
3014
  }
3015
3015
  });
3016
- const _hoisted_1$z = {
3016
+ const _hoisted_1$A = {
3017
3017
  xmlns: "http://www.w3.org/2000/svg",
3018
3018
  viewBox: "0 0 24 24"
3019
3019
  };
3020
- function render$d(_ctx, _cache) {
3021
- return openBlock(), createElementBlock("svg", _hoisted_1$z, [..._cache[0] || (_cache[0] = [
3020
+ function render$e(_ctx, _cache) {
3021
+ return openBlock(), createElementBlock("svg", _hoisted_1$A, [..._cache[0] || (_cache[0] = [
3022
3022
  createElementVNode("path", {
3023
3023
  fill: "currentColor",
3024
3024
  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"
3025
3025
  }, null, -1)
3026
3026
  ])]);
3027
3027
  }
3028
- const IconCopy = { render: render$d };
3028
+ const IconCopy = { render: render$e };
3029
3029
  const sides$1 = ["top", "right", "bottom", "left"];
3030
3030
  const min = Math.min;
3031
3031
  const max = Math.max;
@@ -4692,8 +4692,8 @@ if (typeof document !== "undefined" && typeof window !== "undefined") {
4692
4692
  window.addEventListener("click", onGlobalEvent("click"), true);
4693
4693
  }
4694
4694
  }
4695
- const _hoisted_1$y = { class: "ui-v1-popper__content" };
4696
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
4695
+ const _hoisted_1$z = { class: "ui-v1-popper__content" };
4696
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
4697
4697
  __name: "UiPopper",
4698
4698
  props: {
4699
4699
  /** Флаг для ручного переключения видимости */
@@ -5039,7 +5039,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5039
5039
  ref: arrow2,
5040
5040
  class: "ui-v1-popper__arrow"
5041
5041
  }, null, 512)) : createCommentVNode("", true),
5042
- createElementVNode("div", _hoisted_1$y, [
5042
+ createElementVNode("div", _hoisted_1$z, [
5043
5043
  renderSlot(_ctx.$slots, "default")
5044
5044
  ])
5045
5045
  ], 16)
@@ -5047,7 +5047,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5047
5047
  };
5048
5048
  }
5049
5049
  });
5050
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
5050
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5051
5051
  __name: "UiTooltip",
5052
5052
  props: {
5053
5053
  /** Флаг для ручного переключения видимости */
@@ -5158,7 +5158,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5158
5158
  hide: () => popper.value?.hide()
5159
5159
  });
5160
5160
  return (_ctx, _cache) => {
5161
- return openBlock(), createBlock(_sfc_main$N, mergeProps({
5161
+ return openBlock(), createBlock(_sfc_main$Q, mergeProps({
5162
5162
  ref_key: "popper",
5163
5163
  ref: popper,
5164
5164
  visible: __props.visible,
@@ -5192,11 +5192,11 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5192
5192
  };
5193
5193
  }
5194
5194
  });
5195
- const _hoisted_1$x = { class: "ui-v1-copy-button__tooltip" };
5196
- const _hoisted_2$h = { class: "ui-v1-copy-button__icon" };
5197
- const _hoisted_3$d = { class: "ui-v1-copy-button__text" };
5195
+ const _hoisted_1$y = { class: "ui-v1-copy-button__tooltip" };
5196
+ const _hoisted_2$i = { class: "ui-v1-copy-button__icon" };
5197
+ const _hoisted_3$e = { class: "ui-v1-copy-button__text" };
5198
5198
  const _hoisted_4$8 = ["value"];
5199
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
5199
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5200
5200
  __name: "UiCopyButton",
5201
5201
  props: {
5202
5202
  /** Текст для копирования в буфер обмена */
@@ -5207,7 +5207,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5207
5207
  /** Размер кнопки */
5208
5208
  size: {
5209
5209
  type: String,
5210
- default: SIZE$9.XS
5210
+ default: SIZE$a.XS
5211
5211
  },
5212
5212
  /** Объект, содержащий параметры настройки Tooltip */
5213
5213
  tooltipOptions: {
@@ -5268,7 +5268,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5268
5268
  onClick: copy
5269
5269
  }, [
5270
5270
  renderSlot(_ctx.$slots, "trigger", {}, () => [
5271
- createVNode(_sfc_main$W, {
5271
+ createVNode(_sfc_main$Z, {
5272
5272
  size: __props.size,
5273
5273
  appearance: "tertiary"
5274
5274
  }, {
@@ -5278,7 +5278,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5278
5278
  _: 1
5279
5279
  }, 8, ["size"])
5280
5280
  ]),
5281
- createVNode(_sfc_main$M, mergeProps({
5281
+ createVNode(_sfc_main$P, mergeProps({
5282
5282
  visible: visible.value,
5283
5283
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
5284
5284
  target: rootTarget.value,
@@ -5288,12 +5288,12 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5288
5288
  ...__props.tooltipOptions
5289
5289
  }), {
5290
5290
  default: withCtx(() => [
5291
- createElementVNode("div", _hoisted_1$x, [
5291
+ createElementVNode("div", _hoisted_1$y, [
5292
5292
  copied.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
5293
- createElementVNode("div", _hoisted_2$h, [
5293
+ createElementVNode("div", _hoisted_2$i, [
5294
5294
  createVNode(unref(IconCheckmarkCircleOutlined))
5295
5295
  ]),
5296
- createElementVNode("div", _hoisted_3$d, [
5296
+ createElementVNode("div", _hoisted_3$e, [
5297
5297
  renderSlot(_ctx.$slots, "hint-copied")
5298
5298
  ])
5299
5299
  ], 64)) : renderSlot(_ctx.$slots, "hint", { key: 1 })
@@ -5348,7 +5348,7 @@ function detectLocale() {
5348
5348
  }
5349
5349
  return "en-GB";
5350
5350
  }
5351
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
5351
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5352
5352
  __name: "UiDate",
5353
5353
  props: {
5354
5354
  date: {
@@ -5375,12 +5375,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5375
5375
  };
5376
5376
  }
5377
5377
  });
5378
- const _hoisted_1$w = {
5378
+ const _hoisted_1$x = {
5379
5379
  xmlns: "http://www.w3.org/2000/svg",
5380
5380
  viewBox: "0 0 24 24"
5381
5381
  };
5382
- function render$c(_ctx, _cache) {
5383
- return openBlock(), createElementBlock("svg", _hoisted_1$w, [..._cache[0] || (_cache[0] = [
5382
+ function render$d(_ctx, _cache) {
5383
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, [..._cache[0] || (_cache[0] = [
5384
5384
  createElementVNode("path", {
5385
5385
  fill: "currentColor",
5386
5386
  "fill-rule": "evenodd",
@@ -5389,13 +5389,13 @@ function render$c(_ctx, _cache) {
5389
5389
  }, null, -1)
5390
5390
  ])]);
5391
5391
  }
5392
- const IconCalendar = { render: render$c };
5393
- const _hoisted_1$v = {
5392
+ const IconCalendar = { render: render$d };
5393
+ const _hoisted_1$w = {
5394
5394
  xmlns: "http://www.w3.org/2000/svg",
5395
5395
  viewBox: "0 0 24 24"
5396
5396
  };
5397
- function render$b(_ctx, _cache) {
5398
- return openBlock(), createElementBlock("svg", _hoisted_1$v, [..._cache[0] || (_cache[0] = [
5397
+ function render$c(_ctx, _cache) {
5398
+ return openBlock(), createElementBlock("svg", _hoisted_1$w, [..._cache[0] || (_cache[0] = [
5399
5399
  createElementVNode("path", {
5400
5400
  fill: "currentColor",
5401
5401
  "fill-rule": "evenodd",
@@ -5404,7 +5404,35 @@ function render$b(_ctx, _cache) {
5404
5404
  }, null, -1)
5405
5405
  ])]);
5406
5406
  }
5407
- const IconClearCircle = { render: render$b };
5407
+ const IconClearCircle = { render: render$c };
5408
+ var WIDTH = /* @__PURE__ */ ((WIDTH2) => {
5409
+ WIDTH2["FIT"] = "fit";
5410
+ WIDTH2["FLUID"] = "fluid";
5411
+ return WIDTH2;
5412
+ })(WIDTH || {});
5413
+ const NUMERIC_PATTERN = /^(?:\d+|\d*\.\d+)$/;
5414
+ const UNIT_PATTERN = /^(?:\d+|\d*\.\d+)(?:%|cap|ch|cm|dvb|dvh|dvi|dvw|em|ex|ic|in|lh|lvb|lvh|lvi|lvw|mm|pc|pt|px|Q|rem|rlh|svb|svh|svi|svw|vb|vh|vi|vmax|vmin|vw)$/i;
5415
+ const isWidthNumeric = (value) => {
5416
+ return typeof value === "number" ? Number.isFinite(value) && value >= 0 : typeof value === "string" && NUMERIC_PATTERN.test(value.trim());
5417
+ };
5418
+ const isWidthToken = (value) => {
5419
+ return typeof value === "string" && Object.values(WIDTH).includes(value);
5420
+ };
5421
+ const isWidth = (value) => {
5422
+ return value === null || value === void 0 || isWidthToken(value) || isWidthNumeric(value) || typeof value === "string" && UNIT_PATTERN.test(value.trim());
5423
+ };
5424
+ const isWidthExact = (value) => {
5425
+ return value !== null && value !== void 0 && !isWidthToken(value);
5426
+ };
5427
+ const normalizeWidth = (value) => {
5428
+ if (value === null || value === void 0 || value === "fit") {
5429
+ return null;
5430
+ }
5431
+ if (value === "fluid") {
5432
+ return "100%";
5433
+ }
5434
+ return isWidthNumeric(value) ? `${String(value).trim()}px` : String(value).trim();
5435
+ };
5408
5436
  var TYPE$1 = /* @__PURE__ */ ((TYPE2) => {
5409
5437
  TYPE2["EMAIL"] = "email";
5410
5438
  TYPE2["PASSWORD"] = "password";
@@ -5425,14 +5453,14 @@ var INPUTMODE = /* @__PURE__ */ ((INPUTMODE2) => {
5425
5453
  INPUTMODE2["URL"] = "url";
5426
5454
  return INPUTMODE2;
5427
5455
  })(INPUTMODE || {});
5428
- var SIZE$7 = /* @__PURE__ */ ((SIZE2) => {
5456
+ var SIZE$8 = /* @__PURE__ */ ((SIZE2) => {
5429
5457
  SIZE2["XS"] = "xs";
5430
5458
  SIZE2["SM"] = "sm";
5431
5459
  SIZE2["MD"] = "md";
5432
5460
  SIZE2["LG"] = "lg";
5433
5461
  SIZE2["XL"] = "xl";
5434
5462
  return SIZE2;
5435
- })(SIZE$7 || {});
5463
+ })(SIZE$8 || {});
5436
5464
  const decimalsOf = (value) => {
5437
5465
  const [, fraction] = String(value).replace(",", ".").split(".");
5438
5466
  return fraction ? fraction.length : 0;
@@ -5504,19 +5532,19 @@ const _i18n$5 = define({
5504
5532
  "ru-RU": messages_ru_RU$5
5505
5533
  }
5506
5534
  });
5507
- const _hoisted_1$u = ["id"];
5508
- const _hoisted_2$g = {
5535
+ const _hoisted_1$v = ["id"];
5536
+ const _hoisted_2$h = {
5509
5537
  key: 0,
5510
5538
  class: "ui-v1-textbox__prefix"
5511
5539
  };
5512
- const _hoisted_3$c = ["id", "type", "value", "max", "min", "step", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "readonly", "required", "disabled"];
5540
+ const _hoisted_3$d = ["id", "type", "value", "max", "min", "step", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "readonly", "required", "disabled"];
5513
5541
  const _hoisted_4$7 = ["id", "value", "aria-invalid", "autocomplete", "inputmode", "maxlength", "placeholder", "rows", "cols", "readonly", "required", "disabled"];
5514
5542
  const _hoisted_5$6 = ["disabled", "aria-controls", "aria-label"];
5515
5543
  const _hoisted_6$4 = {
5516
5544
  key: 7,
5517
5545
  class: "ui-v1-textbox__suffix"
5518
5546
  };
5519
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
5547
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5520
5548
  __name: "UiTextbox",
5521
5549
  props: {
5522
5550
  /** Уникальный идентификатор поля */
@@ -5579,7 +5607,13 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5579
5607
  /** Размер поля ввода */
5580
5608
  size: {
5581
5609
  type: String,
5582
- default: SIZE$7.SM
5610
+ default: SIZE$8.SM
5611
+ },
5612
+ /** Ширина поля. fit — по содержимому, fluid — на всю ширину контейнера */
5613
+ width: {
5614
+ type: [Number, String],
5615
+ validator: isWidth,
5616
+ default: WIDTH.FIT
5583
5617
  },
5584
5618
  /** Нативный атрибут input|textarea */
5585
5619
  placeholder: {
@@ -5678,6 +5712,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5678
5712
  const emit = __emit;
5679
5713
  const uid2 = useId();
5680
5714
  const i18n = computed(() => _i18n$5.init(inject(I18nInjectKey, null)?.locale ?? _i18n$5.fallback));
5715
+ const style = computed(() => {
5716
+ const width = normalizeWidth(props.width);
5717
+ return isWidthExact(props.width) && width ? { width } : {};
5718
+ });
5681
5719
  const decimalsParsed = computed(() => {
5682
5720
  if (props.decimals === "*" || props.decimals === void 0) return "*";
5683
5721
  const n = Number(props.decimals);
@@ -5802,9 +5840,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5802
5840
  }
5803
5841
  let width = el.scrollWidth;
5804
5842
  if (IS_DESKTOP_SAFARI) {
5805
- const style = getComputedStyle(el);
5806
- const pl = parseFloat(style.paddingLeft) || 0;
5807
- const pr = parseFloat(style.paddingRight) || 0;
5843
+ const style2 = getComputedStyle(el);
5844
+ const pl = parseFloat(style2.paddingLeft) || 0;
5845
+ const pr = parseFloat(style2.paddingRight) || 0;
5808
5846
  width += pl + pr;
5809
5847
  }
5810
5848
  return width + 1;
@@ -5932,15 +5970,18 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5932
5970
  "ui-v1-textbox": true,
5933
5971
  "ui-v1-textbox_active": __props.active,
5934
5972
  "ui-v1-textbox_autofit": __props.autofit,
5973
+ "ui-v1-textbox_fit": __props.width === unref(WIDTH).FIT,
5974
+ "ui-v1-textbox_fluid": __props.width === unref(WIDTH).FLUID,
5935
5975
  "ui-v1-textbox_invalid": __props.invalid,
5936
5976
  "ui-v1-textbox_outlined": __props.outlined,
5937
- "ui-v1-textbox_xs": __props.size === unref(SIZE$7).XS,
5938
- "ui-v1-textbox_md": __props.size === unref(SIZE$7).MD,
5939
- "ui-v1-textbox_lg": __props.size === unref(SIZE$7).LG,
5940
- "ui-v1-textbox_xl": __props.size === unref(SIZE$7).XL
5941
- }
5977
+ "ui-v1-textbox_xs": __props.size === unref(SIZE$8).XS,
5978
+ "ui-v1-textbox_md": __props.size === unref(SIZE$8).MD,
5979
+ "ui-v1-textbox_lg": __props.size === unref(SIZE$8).LG,
5980
+ "ui-v1-textbox_xl": __props.size === unref(SIZE$8).XL
5981
+ },
5982
+ style: style.value
5942
5983
  }, _ctx.$attrs), [
5943
- __props.prefix || "prefix" in _ctx.$slots ? (openBlock(), createElementBlock("span", _hoisted_2$g, [
5984
+ __props.prefix || "prefix" in _ctx.$slots ? (openBlock(), createElementBlock("span", _hoisted_2$h, [
5944
5985
  renderSlot(_ctx.$slots, "prefix", {}, () => [
5945
5986
  createTextVNode(toDisplayString(__props.prefix), 1)
5946
5987
  ])
@@ -5977,7 +6018,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5977
6018
  onChange,
5978
6019
  onFocus,
5979
6020
  onBlur
5980
- }), null, 16, _hoisted_3$c)) : (openBlock(), createElementBlock("textarea", mergeProps({
6021
+ }), null, 16, _hoisted_3$d)) : (openBlock(), createElementBlock("textarea", mergeProps({
5981
6022
  key: 3,
5982
6023
  id: __props.id ?? unref(uid2),
5983
6024
  ref_key: "textbox",
@@ -6030,17 +6071,17 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6030
6071
  createTextVNode(toDisplayString(__props.suffix), 1)
6031
6072
  ])
6032
6073
  ])) : createCommentVNode("", true)
6033
- ], 16, _hoisted_1$u);
6074
+ ], 16, _hoisted_1$v);
6034
6075
  };
6035
6076
  }
6036
6077
  });
6037
- var SIZE$6 = /* @__PURE__ */ ((SIZE2) => {
6078
+ var SIZE$7 = /* @__PURE__ */ ((SIZE2) => {
6038
6079
  SIZE2["XS"] = "xs";
6039
6080
  SIZE2["SM"] = "sm";
6040
6081
  SIZE2["MD"] = "md";
6041
6082
  SIZE2["LG"] = "lg";
6042
6083
  return SIZE2;
6043
- })(SIZE$6 || {});
6084
+ })(SIZE$7 || {});
6044
6085
  const deltaTransition$1 = (el) => {
6045
6086
  const delta = el.scrollWidth - el.clientWidth;
6046
6087
  return delta !== 0 ? {
@@ -6048,15 +6089,15 @@ const deltaTransition$1 = (el) => {
6048
6089
  animationDuration: `${delta * 15}ms`
6049
6090
  } : {};
6050
6091
  };
6051
- const _hoisted_1$t = {
6092
+ const _hoisted_1$u = {
6052
6093
  key: 0,
6053
6094
  class: "ui-v1-menu-item__avatar"
6054
6095
  };
6055
- const _hoisted_2$f = {
6096
+ const _hoisted_2$g = {
6056
6097
  key: 1,
6057
6098
  class: "ui-v1-menu-item__icon ui-v1-menu-item__icon_leading"
6058
6099
  };
6059
- const _hoisted_3$b = { class: "ui-v1-menu-item__content" };
6100
+ const _hoisted_3$c = { class: "ui-v1-menu-item__content" };
6060
6101
  const _hoisted_4$6 = { class: "ui-v1-menu-item__text" };
6061
6102
  const _hoisted_5$5 = {
6062
6103
  key: 0,
@@ -6070,13 +6111,13 @@ const _hoisted_7$2 = {
6070
6111
  key: 3,
6071
6112
  class: "ui-v1-menu-item__icon ui-v1-menu-item__icon_trailing"
6072
6113
  };
6073
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
6114
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6074
6115
  __name: "UiMenuItem",
6075
6116
  props: {
6076
6117
  /** Размер */
6077
6118
  size: {
6078
6119
  type: String,
6079
- default: SIZE$6.MD
6120
+ default: SIZE$7.MD
6080
6121
  },
6081
6122
  /** Описание */
6082
6123
  description: {
@@ -6149,12 +6190,12 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6149
6190
  }),
6150
6191
  onMouseoverOnce: onHover
6151
6192
  }, [
6152
- _ctx.$slots["avatar"] ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
6193
+ _ctx.$slots["avatar"] ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
6153
6194
  renderSlot(_ctx.$slots, "avatar")
6154
- ])) : _ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
6195
+ ])) : _ctx.$slots["leading-icon"] ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
6155
6196
  renderSlot(_ctx.$slots, "leading-icon")
6156
6197
  ])) : createCommentVNode("", true),
6157
- createElementVNode("div", _hoisted_3$b, [
6198
+ createElementVNode("div", _hoisted_3$c, [
6158
6199
  createElementVNode("div", _hoisted_4$6, [
6159
6200
  __props.ticker ? (openBlock(), createElementBlock("div", {
6160
6201
  key: 0,
@@ -6181,7 +6222,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6181
6222
  };
6182
6223
  }
6183
6224
  });
6184
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
6225
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6185
6226
  __name: "UiScrollBox",
6186
6227
  props: {
6187
6228
  /** Наименование тэга-обёртки для нативного скролла */
@@ -6359,7 +6400,7 @@ const isQuickDateEqual = (first, second) => {
6359
6400
  }
6360
6401
  return false;
6361
6402
  };
6362
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
6403
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6363
6404
  __name: "UiDatePickerQuickMenu",
6364
6405
  props: {
6365
6406
  value: {
@@ -6385,18 +6426,18 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6385
6426
  emit("change", props.nullable && isActive(date) ? null : date);
6386
6427
  };
6387
6428
  return (_ctx, _cache) => {
6388
- return openBlock(), createBlock(_sfc_main$H, {
6429
+ return openBlock(), createBlock(_sfc_main$K, {
6389
6430
  class: "ui-v1-date-picker__quick-menu",
6390
6431
  role: "menu",
6391
6432
  native: ""
6392
6433
  }, {
6393
6434
  default: withCtx(() => [
6394
6435
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
6395
- return openBlock(), createBlock(_sfc_main$I, {
6436
+ return openBlock(), createBlock(_sfc_main$L, {
6396
6437
  key: "quick-item-" + index,
6397
6438
  active: isActive(item.value),
6398
6439
  "aria-current": isActive(item.value) ? "true" : "false",
6399
- size: unref(SIZE$6).SM,
6440
+ size: unref(SIZE$7).SM,
6400
6441
  role: "menuitem",
6401
6442
  onClick: ($event) => onClick(item.value)
6402
6443
  }, {
@@ -6437,11 +6478,11 @@ const _i18n$4 = define({
6437
6478
  "ru-RU": messages_ru_RU$4
6438
6479
  }
6439
6480
  });
6440
- const _hoisted_1$s = ["id", "aria-controls", "aria-disabled", "aria-expanded", "aria-readonly"];
6441
- const _hoisted_2$e = ["id"];
6442
- const _hoisted_3$a = { class: "ui-v1-date-picker__workspace" };
6481
+ const _hoisted_1$t = ["id", "aria-controls", "aria-disabled", "aria-expanded", "aria-readonly"];
6482
+ const _hoisted_2$f = ["id"];
6483
+ const _hoisted_3$b = { class: "ui-v1-date-picker__workspace" };
6443
6484
  const _hoisted_4$5 = { class: "ui-v1-date-picker__action" };
6444
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
6485
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6445
6486
  ...{
6446
6487
  inheritAttrs: false
6447
6488
  },
@@ -6486,8 +6527,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6486
6527
  },
6487
6528
  appearance: {
6488
6529
  type: String,
6489
- validator: (appearance) => Object.values(APPEARANCE$4).includes(appearance),
6490
- default: APPEARANCE$4.SINGLE
6530
+ validator: (appearance) => Object.values(APPEARANCE$5).includes(appearance),
6531
+ default: APPEARANCE$5.SINGLE
6491
6532
  },
6492
6533
  synchronization: {
6493
6534
  type: String,
@@ -6808,7 +6849,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6808
6849
  onClick: toggle
6809
6850
  }, [
6810
6851
  renderSlot(_ctx.$slots, "trigger")
6811
- ])) : (openBlock(), createBlock(_sfc_main$J, mergeProps({
6852
+ ])) : (openBlock(), createBlock(_sfc_main$M, mergeProps({
6812
6853
  key: 1,
6813
6854
  id: inputId.value,
6814
6855
  ref_key: "textbox",
@@ -6843,7 +6884,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6843
6884
  key: "0"
6844
6885
  } : void 0
6845
6886
  ]), 1040, ["id", "clearable", "value", "placeholder", "active", "disabled", "readonly"])),
6846
- createVNode(_sfc_main$N, mergeProps({
6887
+ createVNode(_sfc_main$Q, mergeProps({
6847
6888
  id: `${inputId.value}-popper`,
6848
6889
  visible: showCalendar.value,
6849
6890
  target: triggerTarget.value,
@@ -6866,15 +6907,15 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6866
6907
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
6867
6908
  }, ["stop"]))
6868
6909
  }, [
6869
- __props.quickOptions.length > 0 ? (openBlock(), createBlock(_sfc_main$G, {
6910
+ __props.quickOptions.length > 0 ? (openBlock(), createBlock(_sfc_main$J, {
6870
6911
  key: 0,
6871
6912
  value: view.value,
6872
6913
  items: __props.quickOptions,
6873
6914
  nullable: __props.nullable,
6874
6915
  onChange: onQuickChange
6875
6916
  }, null, 8, ["value", "items", "nullable"])) : createCommentVNode("", true),
6876
- createElementVNode("div", _hoisted_3$a, [
6877
- createVNode(_sfc_main$S, {
6917
+ createElementVNode("div", _hoisted_3$b, [
6918
+ createVNode(_sfc_main$V, {
6878
6919
  ref_key: "calendar",
6879
6920
  ref: calendar,
6880
6921
  value: view.value,
@@ -6891,11 +6932,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6891
6932
  key: 0,
6892
6933
  class: normalizeClass({
6893
6934
  "ui-v1-date-picker__footer": true,
6894
- "ui-v1-date-picker__footer_horizontal": __props.appearance === unref(APPEARANCE$4).DOUBLE
6935
+ "ui-v1-date-picker__footer_horizontal": __props.appearance === unref(APPEARANCE$5).DOUBLE
6895
6936
  })
6896
6937
  }, [
6897
6938
  createElementVNode("div", _hoisted_4$5, [
6898
- createVNode(_sfc_main$W, {
6939
+ createVNode(_sfc_main$Z, {
6899
6940
  appearance: "tertiary",
6900
6941
  class: "ui-v1-date-picker__button",
6901
6942
  onClick: reset
@@ -6905,7 +6946,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6905
6946
  ]),
6906
6947
  _: 1
6907
6948
  }),
6908
- createVNode(_sfc_main$W, {
6949
+ createVNode(_sfc_main$Z, {
6909
6950
  class: "ui-v1-date-picker__button",
6910
6951
  onClick: apply2
6911
6952
  }, {
@@ -6917,11 +6958,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6917
6958
  ])
6918
6959
  ], 2)) : createCommentVNode("", true)
6919
6960
  ])
6920
- ], 8, _hoisted_2$e)
6961
+ ], 8, _hoisted_2$f)
6921
6962
  ]),
6922
6963
  _: 1
6923
6964
  }, 16, ["id", "visible", "target", "container", "placement", "aria-hidden", "class", "disabled"])
6924
- ], 16, _hoisted_1$s);
6965
+ ], 16, _hoisted_1$t);
6925
6966
  };
6926
6967
  }
6927
6968
  });
@@ -6930,7 +6971,7 @@ var ALIGN$1 = /* @__PURE__ */ ((ALIGN2) => {
6930
6971
  ALIGN2["RIGHT"] = "right";
6931
6972
  return ALIGN2;
6932
6973
  })(ALIGN$1 || {});
6933
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
6974
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6934
6975
  __name: "UiError",
6935
6976
  props: {
6936
6977
  /** Тест, разметка ошибки */
@@ -6969,38 +7010,38 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
6969
7010
  };
6970
7011
  }
6971
7012
  });
6972
- const _hoisted_1$r = {
7013
+ const _hoisted_1$s = {
6973
7014
  xmlns: "http://www.w3.org/2000/svg",
6974
7015
  viewBox: "0 0 24 24"
6975
7016
  };
6976
- function render$a(_ctx, _cache) {
6977
- return openBlock(), createElementBlock("svg", _hoisted_1$r, [..._cache[0] || (_cache[0] = [
7017
+ function render$b(_ctx, _cache) {
7018
+ return openBlock(), createElementBlock("svg", _hoisted_1$s, [..._cache[0] || (_cache[0] = [
6978
7019
  createElementVNode("path", {
6979
7020
  fill: "currentColor",
6980
7021
  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"
6981
7022
  }, null, -1)
6982
7023
  ])]);
6983
7024
  }
6984
- const IconChevronDown = { render: render$a };
6985
- const _hoisted_1$q = {
7025
+ const IconChevronDown = { render: render$b };
7026
+ const _hoisted_1$r = {
6986
7027
  xmlns: "http://www.w3.org/2000/svg",
6987
7028
  viewBox: "0 0 24 24"
6988
7029
  };
6989
- function render$9(_ctx, _cache) {
6990
- return openBlock(), createElementBlock("svg", _hoisted_1$q, [..._cache[0] || (_cache[0] = [
7030
+ function render$a(_ctx, _cache) {
7031
+ return openBlock(), createElementBlock("svg", _hoisted_1$r, [..._cache[0] || (_cache[0] = [
6991
7032
  createElementVNode("path", {
6992
7033
  fill: "currentColor",
6993
7034
  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"
6994
7035
  }, null, -1)
6995
7036
  ])]);
6996
7037
  }
6997
- const IconChevronUp = { render: render$9 };
6998
- const _hoisted_1$p = ["id", "aria-expanded", "aria-hidden"];
6999
- const _hoisted_2$d = {
7038
+ const IconChevronUp = { render: render$a };
7039
+ const _hoisted_1$q = ["id", "aria-expanded", "aria-hidden"];
7040
+ const _hoisted_2$e = {
7000
7041
  "aria-hidden": "true",
7001
7042
  class: "ui-v1-infobox__media"
7002
7043
  };
7003
- const _hoisted_3$9 = { class: "ui-v1-infobox__icon" };
7044
+ const _hoisted_3$a = { class: "ui-v1-infobox__icon" };
7004
7045
  const _hoisted_4$4 = { class: "ui-v1-infobox__content" };
7005
7046
  const _hoisted_5$4 = {
7006
7047
  key: 0,
@@ -7008,7 +7049,7 @@ const _hoisted_5$4 = {
7008
7049
  };
7009
7050
  const _hoisted_6$2 = ["id"];
7010
7051
  const _hoisted_7$1 = ["aria-controls", "aria-expanded"];
7011
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
7052
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
7012
7053
  ...{
7013
7054
  inheritAttrs: false
7014
7055
  },
@@ -7145,7 +7186,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7145
7186
  syncExpandedFromProps();
7146
7187
  });
7147
7188
  return (_ctx, _cache) => {
7148
- return openBlock(), createBlock(_sfc_main$10, {
7189
+ return openBlock(), createBlock(_sfc_main$13, {
7149
7190
  name: "fade",
7150
7191
  onAfterEnter,
7151
7192
  onAfterLeave,
@@ -7165,8 +7206,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7165
7206
  },
7166
7207
  role: "alert"
7167
7208
  }, rootAttrs.value), [
7168
- createElementVNode("div", _hoisted_2$d, [
7169
- createElementVNode("div", _hoisted_3$9, [
7209
+ createElementVNode("div", _hoisted_2$e, [
7210
+ createElementVNode("div", _hoisted_3$a, [
7170
7211
  renderSlot(_ctx.$slots, "icon", {
7171
7212
  expanded: state.shouldBeExpanded
7172
7213
  }, () => [
@@ -7211,7 +7252,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7211
7252
  }))
7212
7253
  ], 8, _hoisted_7$1)) : createCommentVNode("", true)
7213
7254
  ])) : createCommentVNode("", true),
7214
- createVNode(_sfc_main$Q, {
7255
+ createVNode(_sfc_main$T, {
7215
7256
  id: bodyId.value,
7216
7257
  "aria-labelledby": hasTitle.value ? titleId.value : void 0,
7217
7258
  expanded: bodyExpanded.value,
@@ -7239,7 +7280,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7239
7280
  }, [
7240
7281
  createVNode(unref(IconClear), { class: "ui-v1-infobox__closer-icon" })
7241
7282
  ])) : createCommentVNode("", true)
7242
- ], 16, _hoisted_1$p), [
7283
+ ], 16, _hoisted_1$q), [
7243
7284
  [vShow, state.shouldBeShown]
7244
7285
  ])
7245
7286
  ]),
@@ -7248,28 +7289,28 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7248
7289
  };
7249
7290
  }
7250
7291
  });
7251
- const _hoisted_1$o = {
7292
+ const _hoisted_1$p = {
7252
7293
  xmlns: "http://www.w3.org/2000/svg",
7253
7294
  viewBox: "0 0 24 24"
7254
7295
  };
7255
- function render$8(_ctx, _cache) {
7256
- return openBlock(), createElementBlock("svg", _hoisted_1$o, [..._cache[0] || (_cache[0] = [
7296
+ function render$9(_ctx, _cache) {
7297
+ return openBlock(), createElementBlock("svg", _hoisted_1$p, [..._cache[0] || (_cache[0] = [
7257
7298
  createElementVNode("path", {
7258
7299
  fill: "currentColor",
7259
7300
  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"
7260
7301
  }, null, -1)
7261
7302
  ])]);
7262
7303
  }
7263
- const IconOpenInNew = { render: render$8 };
7264
- var APPEARANCE$3 = /* @__PURE__ */ ((APPEARANCE2) => {
7304
+ const IconOpenInNew = { render: render$9 };
7305
+ var APPEARANCE$4 = /* @__PURE__ */ ((APPEARANCE2) => {
7265
7306
  APPEARANCE2["BREADCRUMBS"] = "breadcrumbs";
7266
7307
  APPEARANCE2["DEFAULT"] = "default";
7267
7308
  APPEARANCE2["NAVIGATION"] = "navigation";
7268
7309
  APPEARANCE2["NAVIGATION_ANCHOR"] = "navigation-anchor";
7269
7310
  APPEARANCE2["TITLE"] = "title";
7270
7311
  return APPEARANCE2;
7271
- })(APPEARANCE$3 || {});
7272
- var SIZE$5 = /* @__PURE__ */ ((SIZE2) => {
7312
+ })(APPEARANCE$4 || {});
7313
+ var SIZE$6 = /* @__PURE__ */ ((SIZE2) => {
7273
7314
  SIZE2["ARTICLE"] = "article";
7274
7315
  SIZE2["BODY"] = "body";
7275
7316
  SIZE2["PARAGRAPH"] = "paragraph";
@@ -7278,17 +7319,17 @@ var SIZE$5 = /* @__PURE__ */ ((SIZE2) => {
7278
7319
  SIZE2["TITLE01"] = "title-01";
7279
7320
  SIZE2["TITLE02"] = "title-02";
7280
7321
  return SIZE2;
7281
- })(SIZE$5 || {});
7282
- const _hoisted_1$n = ["href", "target"];
7283
- const _hoisted_2$c = {
7322
+ })(SIZE$6 || {});
7323
+ const _hoisted_1$o = ["href", "target"];
7324
+ const _hoisted_2$d = {
7284
7325
  key: 0,
7285
7326
  class: "ui-v1-link__inner"
7286
7327
  };
7287
- const _hoisted_3$8 = {
7328
+ const _hoisted_3$9 = {
7288
7329
  key: 2,
7289
7330
  class: "ui-v1-link__icon"
7290
7331
  };
7291
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
7332
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7292
7333
  __name: "UiLink",
7293
7334
  props: {
7294
7335
  /** Атрибут ссылки */
@@ -7308,14 +7349,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7308
7349
  /** Тип ссылок */
7309
7350
  appearance: {
7310
7351
  type: String,
7311
- validator: (appearance) => Object.values(APPEARANCE$3).includes(appearance),
7312
- default: APPEARANCE$3.DEFAULT
7352
+ validator: (appearance) => Object.values(APPEARANCE$4).includes(appearance),
7353
+ default: APPEARANCE$4.DEFAULT
7313
7354
  },
7314
7355
  /** Размер текста */
7315
7356
  size: {
7316
7357
  type: String,
7317
- validator: (size) => Object.values(SIZE$5).includes(size),
7318
- default: SIZE$5.BODY
7358
+ validator: (size) => Object.values(SIZE$6).includes(size),
7359
+ default: SIZE$6.BODY
7319
7360
  },
7320
7361
  /** Инвертированный цвет ссылок для тёмного фона */
7321
7362
  light: {
@@ -7357,19 +7398,19 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7357
7398
  },
7358
7399
  target: __props.external ? "_blank" : "_self"
7359
7400
  }, _ctx.$attrs), [
7360
- __props.dotted ? (openBlock(), createElementBlock("span", _hoisted_2$c, [
7401
+ __props.dotted ? (openBlock(), createElementBlock("span", _hoisted_2$d, [
7361
7402
  renderSlot(_ctx.$slots, "default")
7362
7403
  ])) : renderSlot(_ctx.$slots, "default", { key: 1 }),
7363
- _ctx.$slots.icon || __props.external ? (openBlock(), createElementBlock("span", _hoisted_3$8, [
7404
+ _ctx.$slots.icon || __props.external ? (openBlock(), createElementBlock("span", _hoisted_3$9, [
7364
7405
  renderSlot(_ctx.$slots, "icon", {}, () => [
7365
7406
  createVNode(unref(IconOpenInNew), { class: "ui-v1-link__icon-sprite" })
7366
7407
  ])
7367
7408
  ])) : createCommentVNode("", true)
7368
- ], 16, _hoisted_1$n);
7409
+ ], 16, _hoisted_1$o);
7369
7410
  };
7370
7411
  }
7371
7412
  });
7372
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
7413
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7373
7414
  __name: "UiLoader",
7374
7415
  props: {
7375
7416
  /** Диаметр (размер) окружности индикатора */
@@ -7401,7 +7442,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7401
7442
  },
7402
7443
  setup(__props) {
7403
7444
  return (_ctx, _cache) => {
7404
- return openBlock(), createBlock(resolveDynamicComponent(__props.transition ? _sfc_main$10 : "div"), normalizeProps(guardReactiveProps(__props.transition ? {
7445
+ return openBlock(), createBlock(resolveDynamicComponent(__props.transition ? _sfc_main$13 : "div"), normalizeProps(guardReactiveProps(__props.transition ? {
7405
7446
  appear: true,
7406
7447
  class: "ui-v1-loader-wrapper",
7407
7448
  name: __props.transition
@@ -7435,10 +7476,10 @@ const _export_sfc = (sfc, props) => {
7435
7476
  }
7436
7477
  return target;
7437
7478
  };
7438
- const _sfc_main$A = {};
7439
- const _hoisted_1$m = { class: "ui-v1-menu-item-group" };
7440
- const _hoisted_2$b = { class: "ui-v1-menu-item-group__head" };
7441
- const _hoisted_3$7 = {
7479
+ const _sfc_main$D = {};
7480
+ const _hoisted_1$n = { class: "ui-v1-menu-item-group" };
7481
+ const _hoisted_2$c = { class: "ui-v1-menu-item-group__head" };
7482
+ const _hoisted_3$8 = {
7442
7483
  key: 0,
7443
7484
  class: "ui-v1-menu-item-group__head-option"
7444
7485
  };
@@ -7451,9 +7492,9 @@ const _hoisted_5$3 = {
7451
7492
  class: "ui-v1-menu-item-group__count"
7452
7493
  };
7453
7494
  function _sfc_render(_ctx, _cache) {
7454
- return openBlock(), createElementBlock("div", _hoisted_1$m, [
7455
- createElementVNode("div", _hoisted_2$b, [
7456
- _ctx.$slots.option ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
7495
+ return openBlock(), createElementBlock("div", _hoisted_1$n, [
7496
+ createElementVNode("div", _hoisted_2$c, [
7497
+ _ctx.$slots.option ? (openBlock(), createElementBlock("div", _hoisted_3$8, [
7457
7498
  renderSlot(_ctx.$slots, "option")
7458
7499
  ])) : (openBlock(), createElementBlock("div", _hoisted_4$3, [
7459
7500
  createElementVNode("div", {
@@ -7472,7 +7513,7 @@ function _sfc_render(_ctx, _cache) {
7472
7513
  renderSlot(_ctx.$slots, "default")
7473
7514
  ]);
7474
7515
  }
7475
- const UiMenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render]]);
7516
+ const UiMenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render]]);
7476
7517
  class LayerRegistry {
7477
7518
  registry;
7478
7519
  started = false;
@@ -7563,14 +7604,14 @@ var SCROLLING$1 = /* @__PURE__ */ ((SCROLLING2) => {
7563
7604
  SCROLLING2["NONE"] = "none";
7564
7605
  return SCROLLING2;
7565
7606
  })(SCROLLING$1 || {});
7566
- var SIZE$4 = /* @__PURE__ */ ((SIZE2) => {
7607
+ var SIZE$5 = /* @__PURE__ */ ((SIZE2) => {
7567
7608
  SIZE2["LG"] = "lg";
7568
7609
  SIZE2["SM"] = "sm";
7569
7610
  return SIZE2;
7570
- })(SIZE$4 || {});
7571
- const _hoisted_1$l = ["id", "aria-hidden", "role"];
7572
- const _hoisted_2$a = ["id"];
7573
- const _hoisted_3$6 = { class: "ui-v1-modal-sidebar__header" };
7611
+ })(SIZE$5 || {});
7612
+ const _hoisted_1$m = ["id", "aria-hidden", "role"];
7613
+ const _hoisted_2$b = ["id"];
7614
+ const _hoisted_3$7 = { class: "ui-v1-modal-sidebar__header" };
7574
7615
  const _hoisted_4$2 = { class: "ui-v1-modal-sidebar__header-inner" };
7575
7616
  const _hoisted_5$2 = {
7576
7617
  "aria-level": "1",
@@ -7586,7 +7627,7 @@ const _hoisted_8 = {
7586
7627
  key: 2,
7587
7628
  class: "ui-v1-modal-sidebar__footer"
7588
7629
  };
7589
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
7630
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7590
7631
  ...{
7591
7632
  inheritAttrs: false
7592
7633
  },
@@ -7632,7 +7673,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7632
7673
  /** Размер панели */
7633
7674
  size: {
7634
7675
  type: String,
7635
- default: SIZE$4.SM
7676
+ default: SIZE$5.SM
7636
7677
  },
7637
7678
  /** ARIA-роль модального контейнера */
7638
7679
  role: {
@@ -7812,7 +7853,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7812
7853
  key: 0,
7813
7854
  to: unref(globals)?.container || "body"
7814
7855
  }, [
7815
- createVNode(_sfc_main$10, {
7856
+ createVNode(_sfc_main$13, {
7816
7857
  name: "fade-2",
7817
7858
  onBeforeEnter: _cache[5] || (_cache[5] = ($event) => visibilityOfOverlay.value = "showing"),
7818
7859
  onAfterEnter: _cache[6] || (_cache[6] = ($event) => visibilityOfOverlay.value = "shown"),
@@ -7833,7 +7874,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7833
7874
  "aria-modal": "true",
7834
7875
  role: __props.role
7835
7876
  }, _ctx.$attrs, { onClick: onBackdropClick }), [
7836
- createVNode(_sfc_main$10, {
7877
+ createVNode(_sfc_main$13, {
7837
7878
  name: `slide-${__props.direction}`,
7838
7879
  onBeforeEnter: _cache[1] || (_cache[1] = ($event) => visibilityOfSidebar.value = "showing"),
7839
7880
  onAfterEnter: _cache[2] || (_cache[2] = ($event) => visibilityOfSidebar.value = "shown"),
@@ -7848,11 +7889,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7848
7889
  "ui-v1-modal-sidebar": true,
7849
7890
  "ui-v1-modal-sidebar_fixed": __props.fixed,
7850
7891
  "ui-v1-modal-sidebar_left": __props.direction === unref(DIRECTION$2).LEFT,
7851
- "ui-v1-modal-sidebar_size_sm": __props.size === unref(SIZE$4).SM,
7852
- "ui-v1-modal-sidebar_size_lg": __props.size === unref(SIZE$4).LG
7892
+ "ui-v1-modal-sidebar_size_sm": __props.size === unref(SIZE$5).SM,
7893
+ "ui-v1-modal-sidebar_size_lg": __props.size === unref(SIZE$5).LG
7853
7894
  })
7854
7895
  }, [
7855
- createElementVNode("header", _hoisted_3$6, [
7896
+ createElementVNode("header", _hoisted_3$7, [
7856
7897
  createElementVNode("div", _hoisted_4$2, [
7857
7898
  createElementVNode("div", _hoisted_5$2, [
7858
7899
  renderSlot(_ctx.$slots, "title", {
@@ -7874,7 +7915,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7874
7915
  "aria-hidden": "true",
7875
7916
  width: "32"
7876
7917
  }),
7877
- createVNode(_sfc_main$M, {
7918
+ createVNode(_sfc_main$P, {
7878
7919
  target: closerTarget.value,
7879
7920
  "offset-main-axis": 0
7880
7921
  }, {
@@ -7889,7 +7930,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7889
7930
  renderSlot(_ctx.$slots, "default", {
7890
7931
  overlapped: state.overlapped
7891
7932
  })
7892
- ])) : (openBlock(), createBlock(_sfc_main$H, {
7933
+ ])) : (openBlock(), createBlock(_sfc_main$K, {
7893
7934
  key: 1,
7894
7935
  native: __props.scrolling === unref(SCROLLING$1).NATIVE,
7895
7936
  class: "ui-v1-modal-sidebar__body",
@@ -7908,11 +7949,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7908
7949
  overlapped: state.overlapped
7909
7950
  })
7910
7951
  ])) : createCommentVNode("", true)
7911
- ], 10, _hoisted_2$a)) : createCommentVNode("", true)
7952
+ ], 10, _hoisted_2$b)) : createCommentVNode("", true)
7912
7953
  ]),
7913
7954
  _: 3
7914
7955
  }, 8, ["name"])
7915
- ], 16, _hoisted_1$l), [
7956
+ ], 16, _hoisted_1$m), [
7916
7957
  [vShow, state.shown]
7917
7958
  ])
7918
7959
  ]),
@@ -7922,19 +7963,19 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7922
7963
  };
7923
7964
  }
7924
7965
  });
7925
- var APPEARANCE$2 = /* @__PURE__ */ ((APPEARANCE2) => {
7966
+ var APPEARANCE$3 = /* @__PURE__ */ ((APPEARANCE2) => {
7926
7967
  APPEARANCE2["ALERT"] = "alert";
7927
7968
  APPEARANCE2["DIALOG"] = "dialog";
7928
7969
  APPEARANCE2["POPUP"] = "popup";
7929
7970
  APPEARANCE2["HINT"] = "hint";
7930
7971
  return APPEARANCE2;
7931
- })(APPEARANCE$2 || {});
7972
+ })(APPEARANCE$3 || {});
7932
7973
  var SCROLLING = /* @__PURE__ */ ((SCROLLING2) => {
7933
7974
  SCROLLING2["NORMAL"] = "normal";
7934
7975
  SCROLLING2["NATIVE"] = "native";
7935
7976
  return SCROLLING2;
7936
7977
  })(SCROLLING || {});
7937
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
7978
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7938
7979
  __name: "UiModalWindowSurface",
7939
7980
  props: {
7940
7981
  /** Атрибут id корневого элемента модального окна. Должен быть уникальным на странице */
@@ -7955,8 +7996,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7955
7996
  /** Внешний вид */
7956
7997
  appearance: {
7957
7998
  type: String,
7958
- validator: (appearance) => expect(appearance).toBeOneOf(APPEARANCE$2),
7959
- default: APPEARANCE$2.POPUP
7999
+ validator: (appearance) => expect(appearance).toBeOneOf(APPEARANCE$3),
8000
+ default: APPEARANCE$3.POPUP
7960
8001
  },
7961
8002
  /** Вывод на весь экран */
7962
8003
  fullscreen: {
@@ -8154,7 +8195,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8154
8195
  const slots = useSlots();
8155
8196
  const renderBody = () => {
8156
8197
  const appearance = props.appearance;
8157
- return h(_sfc_main$10, {
8198
+ return h(_sfc_main$13, {
8158
8199
  name: "zoom",
8159
8200
  onBeforeEnter: () => visibilityOfBody.value = "showing",
8160
8201
  onAfterEnter: () => visibilityOfBody.value = "shown",
@@ -8164,10 +8205,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8164
8205
  ref: body,
8165
8206
  class: {
8166
8207
  "ui-v1-modal-window": true,
8167
- "ui-v1-modal-window_alert": appearance === APPEARANCE$2.ALERT,
8168
- "ui-v1-modal-window_dialog": appearance === APPEARANCE$2.DIALOG,
8169
- "ui-v1-modal-window_popup": appearance === APPEARANCE$2.POPUP,
8170
- "ui-v1-modal-window_hint": appearance === APPEARANCE$2.HINT,
8208
+ "ui-v1-modal-window_alert": appearance === APPEARANCE$3.ALERT,
8209
+ "ui-v1-modal-window_dialog": appearance === APPEARANCE$3.DIALOG,
8210
+ "ui-v1-modal-window_popup": appearance === APPEARANCE$3.POPUP,
8211
+ "ui-v1-modal-window_hint": appearance === APPEARANCE$3.HINT,
8171
8212
  "ui-v1-popper-container": true
8172
8213
  }
8173
8214
  }, slots) : []);
@@ -8179,7 +8220,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8179
8220
  };
8180
8221
  const EmbedModalWindowSurface = () => !state.attached ? void 0 : h(Teleport, {
8181
8222
  to: globals?.container ?? document.body
8182
- }, h(_sfc_main$10, {
8223
+ }, h(_sfc_main$13, {
8183
8224
  name: "fade-2",
8184
8225
  onBeforeEnter: () => visibilityOfOverlay.value = "showing",
8185
8226
  onAfterEnter: () => visibilityOfOverlay.value = "shown",
@@ -8197,11 +8238,11 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8197
8238
  "ui-v1-modal_overlapped": state.overlapped
8198
8239
  }],
8199
8240
  onClick: onOverlayClick
8200
- }, h(_sfc_main$H, {
8241
+ }, h(_sfc_main$K, {
8201
8242
  class: {
8202
8243
  "ui-v1-modal-window-container": true,
8203
8244
  "ui-v1-modal-window-container_fullscreen": props.fullscreen,
8204
- "ui-v1-modal-window-container_responsive": props.responsive && props.appearance === APPEARANCE$2.POPUP
8245
+ "ui-v1-modal-window-container_responsive": props.responsive && props.appearance === APPEARANCE$3.POPUP
8205
8246
  },
8206
8247
  showOnMac: true,
8207
8248
  native: props.scrolling === SCROLLING.NATIVE,
@@ -8221,12 +8262,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8221
8262
  };
8222
8263
  }
8223
8264
  });
8224
- const _hoisted_1$k = {
8265
+ const _hoisted_1$l = {
8225
8266
  xmlns: "http://www.w3.org/2000/svg",
8226
8267
  viewBox: "0 0 24 24"
8227
8268
  };
8228
- function render$7(_ctx, _cache) {
8229
- return openBlock(), createElementBlock("svg", _hoisted_1$k, [..._cache[0] || (_cache[0] = [
8269
+ function render$8(_ctx, _cache) {
8270
+ return openBlock(), createElementBlock("svg", _hoisted_1$l, [..._cache[0] || (_cache[0] = [
8230
8271
  createElementVNode("path", {
8231
8272
  fill: "currentColor",
8232
8273
  "fill-rule": "evenodd",
@@ -8235,13 +8276,13 @@ function render$7(_ctx, _cache) {
8235
8276
  }, null, -1)
8236
8277
  ])]);
8237
8278
  }
8238
- const IconWarning = { render: render$7 };
8239
- const _hoisted_1$j = {
8279
+ const IconWarning = { render: render$8 };
8280
+ const _hoisted_1$k = {
8240
8281
  key: 0,
8241
8282
  class: "ui-v1-modal-window__icon"
8242
8283
  };
8243
- const _hoisted_2$9 = ["id"];
8244
- const _hoisted_3$5 = ["disabled"];
8284
+ const _hoisted_2$a = ["id"];
8285
+ const _hoisted_3$6 = ["disabled"];
8245
8286
  const _hoisted_4$1 = {
8246
8287
  key: 1,
8247
8288
  class: "ui-v1-modal-window__content"
@@ -8254,7 +8295,7 @@ const _hoisted_6 = {
8254
8295
  key: 0,
8255
8296
  class: "ui-v1-modal-window__footer-text"
8256
8297
  };
8257
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
8298
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
8258
8299
  __name: "UiModalWindow",
8259
8300
  props: {
8260
8301
  /** Атрибут id корневого элемента модального окна. Должен быть уникальным на странице */
@@ -8275,8 +8316,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8275
8316
  /** Внешний вид: алерт, диалог, popup, hint */
8276
8317
  appearance: {
8277
8318
  type: String,
8278
- validator: (value) => expect(value).toBeOneOf(APPEARANCE$2),
8279
- default: APPEARANCE$2.POPUP
8319
+ validator: (value) => expect(value).toBeOneOf(APPEARANCE$3),
8320
+ default: APPEARANCE$3.POPUP
8280
8321
  },
8281
8322
  /** Время, через которое плавающий элемент удаляется со страницы, если был скрыт */
8282
8323
  disposeTimeout: {
@@ -8374,7 +8415,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8374
8415
  });
8375
8416
  watch(() => props.opened, toggle);
8376
8417
  return (_ctx, _cache) => {
8377
- return openBlock(), createBlock(_sfc_main$y, mergeProps({
8418
+ return openBlock(), createBlock(_sfc_main$B, mergeProps({
8378
8419
  id: __props.id,
8379
8420
  opened: state.opened,
8380
8421
  closable: __props.closable,
@@ -8400,10 +8441,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8400
8441
  createElementVNode("div", {
8401
8442
  class: normalizeClass({
8402
8443
  "ui-v1-modal-window__header": true,
8403
- "ui-v1-modal-window__header_pinned": _ctx.$slots.title && state.scrolled && __props.appearance === unref(APPEARANCE$2).POPUP && !__props.responsive
8444
+ "ui-v1-modal-window__header_pinned": _ctx.$slots.title && state.scrolled && __props.appearance === unref(APPEARANCE$3).POPUP && !__props.responsive
8404
8445
  })
8405
8446
  }, [
8406
- __props.appearance === unref(APPEARANCE$2).ALERT ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
8447
+ __props.appearance === unref(APPEARANCE$3).ALERT ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
8407
8448
  renderSlot(_ctx.$slots, "icon", {
8408
8449
  overlapped: state.overlapped
8409
8450
  }, () => [
@@ -8418,8 +8459,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8418
8459
  renderSlot(_ctx.$slots, "title", {
8419
8460
  overlapped: state.overlapped
8420
8461
  })
8421
- ], 8, _hoisted_2$9)) : createCommentVNode("", true),
8422
- __props.appearance !== unref(APPEARANCE$2).ALERT ? (openBlock(), createElementBlock("button", {
8462
+ ], 8, _hoisted_2$a)) : createCommentVNode("", true),
8463
+ __props.appearance !== unref(APPEARANCE$3).ALERT ? (openBlock(), createElementBlock("button", {
8423
8464
  key: 2,
8424
8465
  "aria-keyshortcuts": "Esc",
8425
8466
  "aria-label": "Close dialog",
@@ -8432,9 +8473,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8432
8473
  title: "Close dialog",
8433
8474
  style: { "width": "100%" }
8434
8475
  })
8435
- ], 8, _hoisted_3$5)) : createCommentVNode("", true)
8476
+ ], 8, _hoisted_3$6)) : createCommentVNode("", true)
8436
8477
  ], 2),
8437
- __props.responsive ? (openBlock(), createBlock(_sfc_main$H, {
8478
+ __props.responsive ? (openBlock(), createBlock(_sfc_main$K, {
8438
8479
  key: 0,
8439
8480
  class: "ui-v1-modal-window__content",
8440
8481
  "show-on-mac": "",
@@ -8452,7 +8493,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8452
8493
  })
8453
8494
  ])),
8454
8495
  _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
8455
- __props.appearance === unref(APPEARANCE$2).HINT ? (openBlock(), createElementBlock("div", _hoisted_6, [
8496
+ __props.appearance === unref(APPEARANCE$3).HINT ? (openBlock(), createElementBlock("div", _hoisted_6, [
8456
8497
  renderSlot(_ctx.$slots, "footer", {
8457
8498
  overlapped: state.overlapped
8458
8499
  })
@@ -8467,58 +8508,58 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8467
8508
  };
8468
8509
  }
8469
8510
  });
8470
- const _hoisted_1$i = {
8511
+ const _hoisted_1$j = {
8471
8512
  xmlns: "http://www.w3.org/2000/svg",
8472
8513
  viewBox: "0 0 24 24"
8473
8514
  };
8474
- function render$6(_ctx, _cache) {
8475
- return openBlock(), createElementBlock("svg", _hoisted_1$i, [..._cache[0] || (_cache[0] = [
8515
+ function render$7(_ctx, _cache) {
8516
+ return openBlock(), createElementBlock("svg", _hoisted_1$j, [..._cache[0] || (_cache[0] = [
8476
8517
  createElementVNode("path", {
8477
8518
  fill: "currentColor",
8478
8519
  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"
8479
8520
  }, null, -1)
8480
8521
  ])]);
8481
8522
  }
8482
- const IconAdd = { render: render$6 };
8483
- const _hoisted_1$h = {
8523
+ const IconAdd = { render: render$7 };
8524
+ const _hoisted_1$i = {
8484
8525
  xmlns: "http://www.w3.org/2000/svg",
8485
8526
  viewBox: "0 0 24 24"
8486
8527
  };
8487
- function render$5(_ctx, _cache) {
8488
- return openBlock(), createElementBlock("svg", _hoisted_1$h, [..._cache[0] || (_cache[0] = [
8528
+ function render$6(_ctx, _cache) {
8529
+ return openBlock(), createElementBlock("svg", _hoisted_1$i, [..._cache[0] || (_cache[0] = [
8489
8530
  createElementVNode("path", {
8490
8531
  fill: "currentColor",
8491
8532
  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"
8492
8533
  }, null, -1)
8493
8534
  ])]);
8494
8535
  }
8495
- const IconCaret = { render: render$5 };
8496
- const _hoisted_1$g = {
8536
+ const IconCaret = { render: render$6 };
8537
+ const _hoisted_1$h = {
8497
8538
  xmlns: "http://www.w3.org/2000/svg",
8498
8539
  viewBox: "0 0 24 24"
8499
8540
  };
8500
- function render$4(_ctx, _cache) {
8501
- return openBlock(), createElementBlock("svg", _hoisted_1$g, [..._cache[0] || (_cache[0] = [
8541
+ function render$5(_ctx, _cache) {
8542
+ return openBlock(), createElementBlock("svg", _hoisted_1$h, [..._cache[0] || (_cache[0] = [
8502
8543
  createElementVNode("path", {
8503
8544
  fill: "currentColor",
8504
8545
  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"
8505
8546
  }, null, -1)
8506
8547
  ])]);
8507
8548
  }
8508
- const IconCaretUp = { render: render$4 };
8509
- const _hoisted_1$f = {
8549
+ const IconCaretUp = { render: render$5 };
8550
+ const _hoisted_1$g = {
8510
8551
  xmlns: "http://www.w3.org/2000/svg",
8511
8552
  viewBox: "0 0 24 24"
8512
8553
  };
8513
- function render$3(_ctx, _cache) {
8514
- return openBlock(), createElementBlock("svg", _hoisted_1$f, [..._cache[0] || (_cache[0] = [
8554
+ function render$4(_ctx, _cache) {
8555
+ return openBlock(), createElementBlock("svg", _hoisted_1$g, [..._cache[0] || (_cache[0] = [
8515
8556
  createElementVNode("path", {
8516
8557
  fill: "currentColor",
8517
8558
  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"
8518
8559
  }, null, -1)
8519
8560
  ])]);
8520
8561
  }
8521
- const IconRemove = { render: render$3 };
8562
+ const IconRemove = { render: render$4 };
8522
8563
  var DIRECTION$1 = /* @__PURE__ */ ((DIRECTION2) => {
8523
8564
  DIRECTION2["HORIZONTAL"] = "horizontal";
8524
8565
  DIRECTION2["VERTICAL"] = "vertical";
@@ -8621,10 +8662,10 @@ const _i18n$3 = define({
8621
8662
  "ru-RU": messages_ru_RU$3
8622
8663
  }
8623
8664
  });
8624
- const _hoisted_1$e = ["id", "aria-disabled", "aria-readonly"];
8625
- const _hoisted_2$8 = ["id", "aria-controls", "aria-label", "disabled"];
8626
- const _hoisted_3$4 = ["id", "aria-controls", "aria-label", "disabled"];
8627
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
8665
+ const _hoisted_1$f = ["id", "aria-disabled", "aria-readonly"];
8666
+ const _hoisted_2$9 = ["id", "aria-controls", "aria-label", "disabled"];
8667
+ const _hoisted_3$5 = ["id", "aria-controls", "aria-label", "disabled"];
8668
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8628
8669
  ...{
8629
8670
  inheritAttrs: false
8630
8671
  },
@@ -8686,8 +8727,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
8686
8727
  },
8687
8728
  size: {
8688
8729
  type: String,
8689
- validator: (value) => Object.values(SIZE$7).includes(value),
8690
- default: SIZE$7.SM
8730
+ validator: (value) => Object.values(SIZE$8).includes(value),
8731
+ default: SIZE$8.SM
8691
8732
  },
8692
8733
  outlined: {
8693
8734
  type: Boolean,
@@ -8972,8 +9013,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
8972
9013
  "aria-hidden": "true",
8973
9014
  class: "ui-v1-number-stepper__icon"
8974
9015
  }))
8975
- ], 8, _hoisted_2$8),
8976
- createVNode(_sfc_main$J, mergeProps(resolvedTextboxOptions.value, {
9016
+ ], 8, _hoisted_2$9),
9017
+ createVNode(_sfc_main$M, mergeProps(resolvedTextboxOptions.value, {
8977
9018
  id: stepperId.value,
8978
9019
  ref_key: "textbox",
8979
9020
  ref: textbox,
@@ -9012,13 +9053,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9012
9053
  "aria-hidden": "true",
9013
9054
  class: "ui-v1-number-stepper__icon"
9014
9055
  }))
9015
- ], 8, _hoisted_3$4)
9016
- ], 16, _hoisted_1$e);
9056
+ ], 8, _hoisted_3$5)
9057
+ ], 16, _hoisted_1$f);
9017
9058
  };
9018
9059
  }
9019
9060
  });
9020
- const _hoisted_1$d = ["id", "aria-label", "role", "tabindex", "onKeydown"];
9021
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
9061
+ const _hoisted_1$e = ["id", "aria-label", "role", "tabindex", "onKeydown"];
9062
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
9022
9063
  __name: "UiPageHeaderTitle",
9023
9064
  props: {
9024
9065
  /** Уникальный идентификатор корневого элемента */
@@ -9178,7 +9219,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9178
9219
  withKeys(withModifiers(startEditing, ["prevent"]), ["enter"]),
9179
9220
  withKeys(withModifiers(startEditing, ["prevent"]), ["space"])
9180
9221
  ]
9181
- }, toDisplayString(currentValue.value || displayPlaceholder.value), 43, _hoisted_1$d)) : (openBlock(), createBlock(_sfc_main$J, {
9222
+ }, toDisplayString(currentValue.value || displayPlaceholder.value), 43, _hoisted_1$e)) : (openBlock(), createBlock(_sfc_main$M, {
9182
9223
  key: 1,
9183
9224
  id: textboxId.value,
9184
9225
  ref_key: "textbox",
@@ -9204,9 +9245,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9204
9245
  };
9205
9246
  }
9206
9247
  });
9207
- const _hoisted_1$c = ["id"];
9208
- const _hoisted_2$7 = { class: "ui-v1-page-header__main" };
9209
- const _hoisted_3$3 = { class: "ui-v1-page-header__title" };
9248
+ const _hoisted_1$d = ["id"];
9249
+ const _hoisted_2$8 = { class: "ui-v1-page-header__main" };
9250
+ const _hoisted_3$4 = { class: "ui-v1-page-header__title" };
9210
9251
  const _hoisted_4 = {
9211
9252
  key: 0,
9212
9253
  class: "ui-v1-page-header__addon"
@@ -9215,7 +9256,7 @@ const _hoisted_5 = {
9215
9256
  key: 0,
9216
9257
  class: "ui-v1-page-header__actions"
9217
9258
  };
9218
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
9259
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
9219
9260
  ...{
9220
9261
  inheritAttrs: false
9221
9262
  },
@@ -9296,9 +9337,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9296
9337
  "ui-v1-page-header_readonly": __props.readonly
9297
9338
  }
9298
9339
  }, _ctx.$attrs), [
9299
- createElementVNode("div", _hoisted_2$7, [
9300
- createElementVNode("div", _hoisted_3$3, [
9301
- createVNode(_sfc_main$v, {
9340
+ createElementVNode("div", _hoisted_2$8, [
9341
+ createElementVNode("div", _hoisted_3$4, [
9342
+ createVNode(_sfc_main$y, {
9302
9343
  id: __props.id,
9303
9344
  ref_key: "main",
9304
9345
  ref: main,
@@ -9325,11 +9366,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9325
9366
  "actions" in _ctx.$slots ? (openBlock(), createElementBlock("div", _hoisted_5, [
9326
9367
  renderSlot(_ctx.$slots, "actions")
9327
9368
  ])) : createCommentVNode("", true)
9328
- ], 16, _hoisted_1$c);
9369
+ ], 16, _hoisted_1$d);
9329
9370
  };
9330
9371
  }
9331
9372
  });
9332
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
9373
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9333
9374
  ...{
9334
9375
  inheritAttrs: false
9335
9376
  },
@@ -9369,7 +9410,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9369
9410
  blur: () => base.value?.blur()
9370
9411
  });
9371
9412
  return (_ctx, _cache) => {
9372
- return openBlock(), createBlock(_sfc_main$u, mergeProps({
9413
+ return openBlock(), createBlock(_sfc_main$x, mergeProps({
9373
9414
  ref_key: "base",
9374
9415
  ref: base
9375
9416
  }, baseProps.value, {
@@ -9397,7 +9438,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9397
9438
  };
9398
9439
  }
9399
9440
  });
9400
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
9441
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9401
9442
  __name: "UiPopperConnector",
9402
9443
  setup(__props) {
9403
9444
  const target = ref(null);
@@ -9408,7 +9449,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
9408
9449
  };
9409
9450
  }
9410
9451
  });
9411
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
9452
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9412
9453
  ...{
9413
9454
  inheritAttrs: false
9414
9455
  },
@@ -9434,11 +9475,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9434
9475
  };
9435
9476
  }
9436
9477
  });
9437
- const _hoisted_1$b = ["id", "name", "value", "checked", "required", "disabled"];
9478
+ const _hoisted_1$c = ["id", "name", "value", "checked", "required", "disabled"];
9438
9479
  let nameCounter = 0;
9439
9480
  let idCounter = 0;
9440
9481
  const __default__$1 = {};
9441
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
9482
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9442
9483
  ...__default__$1,
9443
9484
  ...{
9444
9485
  inheritAttrs: false
@@ -9527,24 +9568,24 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9527
9568
  type: "radio",
9528
9569
  class: "ui-v1-radio__input",
9529
9570
  onChange
9530
- }), null, 16, _hoisted_1$b),
9571
+ }), null, 16, _hoisted_1$c),
9531
9572
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "ui-v1-radio__checkmark" }, null, -1))
9532
9573
  ], 16);
9533
9574
  };
9534
9575
  }
9535
9576
  });
9536
- var APPEARANCE$1 = /* @__PURE__ */ ((APPEARANCE2) => {
9577
+ var APPEARANCE$2 = /* @__PURE__ */ ((APPEARANCE2) => {
9537
9578
  APPEARANCE2["DEFAULT"] = "default";
9538
9579
  APPEARANCE2["SECTION"] = "section";
9539
9580
  return APPEARANCE2;
9540
- })(APPEARANCE$1 || {});
9541
- var SIZE$3 = /* @__PURE__ */ ((SIZE2) => {
9581
+ })(APPEARANCE$2 || {});
9582
+ var SIZE$4 = /* @__PURE__ */ ((SIZE2) => {
9542
9583
  SIZE2["SM"] = "sm";
9543
9584
  SIZE2["MD"] = "md";
9544
9585
  SIZE2["LG"] = "lg";
9545
9586
  return SIZE2;
9546
- })(SIZE$3 || {});
9547
- const _sfc_main$p = defineComponent({
9587
+ })(SIZE$4 || {});
9588
+ const _sfc_main$s = defineComponent({
9548
9589
  name: "UiRadioSwitchOptionShell",
9549
9590
  inheritAttrs: false,
9550
9591
  props: {
@@ -9554,13 +9595,13 @@ const _sfc_main$p = defineComponent({
9554
9595
  },
9555
9596
  appearance: {
9556
9597
  type: String,
9557
- default: APPEARANCE$1.DEFAULT,
9558
- validator: (appearance) => Object.values(APPEARANCE$1).includes(appearance)
9598
+ default: APPEARANCE$2.DEFAULT,
9599
+ validator: (appearance) => Object.values(APPEARANCE$2).includes(appearance)
9559
9600
  },
9560
9601
  size: {
9561
9602
  type: String,
9562
- default: SIZE$3.MD,
9563
- validator: (size) => Object.values(SIZE$3).includes(size)
9603
+ default: SIZE$4.MD,
9604
+ validator: (size) => Object.values(SIZE$4).includes(size)
9564
9605
  },
9565
9606
  checked: {
9566
9607
  type: Boolean,
@@ -9586,27 +9627,27 @@ const _sfc_main$p = defineComponent({
9586
9627
  "aria-disabled": `${props.disabled}`,
9587
9628
  class: [attrs.class, {
9588
9629
  "ui-v1-radio-switch-option": true,
9589
- "ui-v1-radio-switch-option_standalone": props.appearance === APPEARANCE$1.SECTION,
9590
- "ui-v1-radio-switch-option_default": props.appearance === APPEARANCE$1.DEFAULT,
9591
- [`ui-v1-radio-switch-option_${props.size}`]: props.appearance === APPEARANCE$1.DEFAULT,
9630
+ "ui-v1-radio-switch-option_standalone": props.appearance === APPEARANCE$2.SECTION,
9631
+ "ui-v1-radio-switch-option_default": props.appearance === APPEARANCE$2.DEFAULT,
9632
+ [`ui-v1-radio-switch-option_${props.size}`]: props.appearance === APPEARANCE$2.DEFAULT,
9592
9633
  "ui-v1-radio-switch-option_active": props.checked,
9593
9634
  "ui-v1-radio-switch-option_disabled": props.disabled
9594
9635
  }]
9595
9636
  }, slots.default?.());
9596
9637
  }
9597
9638
  });
9598
- const _sfc_main$o = defineComponent({
9639
+ const _sfc_main$r = defineComponent({
9599
9640
  name: "UiRadioSwitchRoot",
9600
9641
  props: {
9601
9642
  appearance: {
9602
9643
  type: String,
9603
- default: APPEARANCE$1.DEFAULT,
9604
- validator: (appearance) => Object.values(APPEARANCE$1).includes(appearance)
9644
+ default: APPEARANCE$2.DEFAULT,
9645
+ validator: (appearance) => Object.values(APPEARANCE$2).includes(appearance)
9605
9646
  },
9606
9647
  size: {
9607
9648
  type: String,
9608
- default: SIZE$3.MD,
9609
- validator: (size) => Object.values(SIZE$3).includes(size)
9649
+ default: SIZE$4.MD,
9650
+ validator: (size) => Object.values(SIZE$4).includes(size)
9610
9651
  },
9611
9652
  rubber: {
9612
9653
  type: Boolean,
@@ -9619,13 +9660,89 @@ const _sfc_main$o = defineComponent({
9619
9660
  role: attrs.role ?? "radiogroup",
9620
9661
  class: [attrs.class, {
9621
9662
  "ui-v1-radio-switch": true,
9622
- [`ui-v1-radio-switch_${props.size}`]: props.appearance === APPEARANCE$1.DEFAULT,
9623
- "ui-v1-radio-switch_borderless": props.appearance === APPEARANCE$1.SECTION,
9663
+ [`ui-v1-radio-switch_${props.size}`]: props.appearance === APPEARANCE$2.DEFAULT,
9664
+ "ui-v1-radio-switch_borderless": props.appearance === APPEARANCE$2.SECTION,
9624
9665
  "ui-v1-radio-switch_rubber": props.rubber
9625
9666
  }]
9626
9667
  }, slots.default?.());
9627
9668
  }
9628
9669
  });
9670
+ var ANIMATION = /* @__PURE__ */ ((ANIMATION2) => {
9671
+ ANIMATION2["PULSE"] = "pulse";
9672
+ ANIMATION2["SHIMMER"] = "shimmer";
9673
+ return ANIMATION2;
9674
+ })(ANIMATION || {});
9675
+ var APPEARANCE$1 = /* @__PURE__ */ ((APPEARANCE2) => {
9676
+ APPEARANCE2["CIRCLE"] = "circle";
9677
+ APPEARANCE2["RECTANGLE"] = "rectangle";
9678
+ APPEARANCE2["TEXT"] = "text";
9679
+ return APPEARANCE2;
9680
+ })(APPEARANCE$1 || {});
9681
+ var SIZE$3 = /* @__PURE__ */ ((SIZE2) => {
9682
+ SIZE2["SM"] = "sm";
9683
+ SIZE2["MD"] = "md";
9684
+ SIZE2["LG"] = "lg";
9685
+ return SIZE2;
9686
+ })(SIZE$3 || {});
9687
+ function guessDimensionStyleValue(value) {
9688
+ return typeof value === "number" || typeof value === "string" && /^\d*$/.test(value) ? `${value}px` : value;
9689
+ }
9690
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9691
+ __name: "UiSkeleton",
9692
+ props: {
9693
+ /** Визуальная форма скелетона */
9694
+ appearance: {
9695
+ type: String,
9696
+ validator: (value) => Object.values(APPEARANCE$1).includes(value),
9697
+ default: APPEARANCE$1.RECTANGLE
9698
+ },
9699
+ /** Преднастроенный размер */
9700
+ size: {
9701
+ type: String,
9702
+ validator: (value) => Object.values(SIZE$3).includes(value),
9703
+ default: SIZE$3.MD
9704
+ },
9705
+ /** Тип анимации */
9706
+ animation: {
9707
+ type: String,
9708
+ validator: (value) => Object.values(ANIMATION).includes(value),
9709
+ default: ANIMATION.SHIMMER
9710
+ },
9711
+ /** Явная ширина. Числовые значения интерпретируются как px */
9712
+ width: {
9713
+ type: [Number, String],
9714
+ default: null
9715
+ },
9716
+ /** Явная высота. Числовые значения интерпретируются как px */
9717
+ height: {
9718
+ type: [Number, String],
9719
+ default: null
9720
+ }
9721
+ },
9722
+ setup(__props) {
9723
+ const props = __props;
9724
+ const style = computed(() => {
9725
+ const width = guessDimensionStyleValue(props.width);
9726
+ const height = guessDimensionStyleValue(props.height);
9727
+ return {
9728
+ ...width ? { width } : {},
9729
+ ...height ? { height } : {}
9730
+ };
9731
+ });
9732
+ return (_ctx, _cache) => {
9733
+ return openBlock(), createElementBlock("div", mergeProps({
9734
+ class: {
9735
+ "ui-v1-skeleton": true,
9736
+ [`ui-v1-skeleton_${__props.appearance}`]: true,
9737
+ [`ui-v1-skeleton_${__props.size}`]: true,
9738
+ [`ui-v1-skeleton_${__props.animation}`]: true
9739
+ },
9740
+ style: style.value,
9741
+ "aria-hidden": "true"
9742
+ }, _ctx.$attrs), null, 16);
9743
+ };
9744
+ }
9745
+ });
9629
9746
  var TYPE = /* @__PURE__ */ ((TYPE2) => {
9630
9747
  TYPE2["SINGLE"] = "single";
9631
9748
  TYPE2["RANGE"] = "range";
@@ -9726,16 +9843,16 @@ const createManipulator = (options) => {
9726
9843
  onDragEnd
9727
9844
  };
9728
9845
  };
9729
- const _hoisted_1$a = {
9846
+ const _hoisted_1$b = {
9730
9847
  key: 0,
9731
9848
  class: "ui-v1-slider__label"
9732
9849
  };
9733
- const _hoisted_2$6 = ["onMousedown", "onKeydown", "onFocus"];
9734
- const _hoisted_3$2 = {
9850
+ const _hoisted_2$7 = ["onMousedown", "onKeydown", "onFocus"];
9851
+ const _hoisted_3$3 = {
9735
9852
  key: 1,
9736
9853
  class: "ui-v1-slider__label"
9737
9854
  };
9738
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
9855
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
9739
9856
  __name: "UiSlider",
9740
9857
  props: {
9741
9858
  type: {
@@ -9898,7 +10015,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
9898
10015
  onClick: _cache[2] || (_cache[2] = ($event) => unref(onClick)($event)),
9899
10016
  onKeydown: _cache[3] || (_cache[3] = ($event) => onRootKeydown($event))
9900
10017
  }), [
9901
- props.labelled ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
10018
+ props.labelled ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
9902
10019
  renderSlot(_ctx.$slots, "label", {
9903
10020
  boundary: props.min
9904
10021
  })
@@ -9939,10 +10056,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
9939
10056
  key: 0,
9940
10057
  boundary: handle.value
9941
10058
  }) : createCommentVNode("", true)
9942
- ], 16, _hoisted_2$6);
10059
+ ], 16, _hoisted_2$7);
9943
10060
  }), 128))
9944
10061
  ], 512),
9945
- props.labelled ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
10062
+ props.labelled ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
9946
10063
  renderSlot(_ctx.$slots, "label", {
9947
10064
  boundary: props.max
9948
10065
  })
@@ -9962,7 +10079,7 @@ var PLACEMENT = /* @__PURE__ */ ((PLACEMENT2) => {
9962
10079
  PLACEMENT2["LEFT_START"] = "left-start";
9963
10080
  return PLACEMENT2;
9964
10081
  })(PLACEMENT || {});
9965
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
10082
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9966
10083
  __name: "UiSelectPopper",
9967
10084
  props: {
9968
10085
  /** Атрибут id корневого элемента выпадающего списка. Должен быть уникальным на странице */
@@ -10076,7 +10193,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10076
10193
  __expose({
10077
10194
  autoScroll,
10078
10195
  updateWidth,
10079
- adjust: () => popper.value?.adjust(),
10196
+ adjust: async () => {
10197
+ await popper.value?.adjust();
10198
+ },
10080
10199
  dispose: () => popper.value?.dispose(),
10081
10200
  show: () => popper.value?.show(),
10082
10201
  hide: () => popper.value?.hide()
@@ -10085,7 +10204,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10085
10204
  onMounted(() => {
10086
10205
  });
10087
10206
  return (_ctx, _cache) => {
10088
- return openBlock(), createBlock(_sfc_main$N, mergeProps({
10207
+ return openBlock(), createBlock(_sfc_main$Q, mergeProps({
10089
10208
  id: __props.id + "-popper",
10090
10209
  ref_key: "popper",
10091
10210
  ref: popper,
@@ -10153,7 +10272,7 @@ const _i18n$2 = define({
10153
10272
  "ru-RU": messages_ru_RU$2
10154
10273
  }
10155
10274
  });
10156
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
10275
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10157
10276
  __name: "UiSelectTrigger",
10158
10277
  props: {
10159
10278
  /** Атрибут id корневого элемента выпадающего списка. Должен быть уникальным на странице */
@@ -10214,8 +10333,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
10214
10333
  /** Размер поля ввода */
10215
10334
  textboxSize: {
10216
10335
  type: String,
10217
- validator: (size) => Object.values(SIZE$7).includes(size),
10218
- default: SIZE$7.SM
10336
+ validator: (size) => Object.values(SIZE$8).includes(size),
10337
+ default: SIZE$8.SM
10338
+ },
10339
+ /** Ширина. fit — по содержимому, fluid — на всю ширину контейнера */
10340
+ width: {
10341
+ type: [Number, String],
10342
+ validator: isWidth,
10343
+ default: WIDTH.FIT
10219
10344
  },
10220
10345
  /** Состояние открытия выпадающего списка */
10221
10346
  expanded: {
@@ -10253,6 +10378,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
10253
10378
  const props = __props;
10254
10379
  const emit = __emit;
10255
10380
  const i18n = computed(() => _i18n$2.init(inject(I18nInjectKey, null)?.locale ?? _i18n$2.fallback));
10381
+ const style = computed(() => {
10382
+ const width = normalizeWidth(props.width);
10383
+ return isWidthExact(props.width) && width ? { width } : {};
10384
+ });
10256
10385
  const input = ref(null);
10257
10386
  const inputReadonly = computed(() => props.readonly || !props.filterable);
10258
10387
  const trigger = ref(null);
@@ -10368,8 +10497,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
10368
10497
  "ui-v1-select": true,
10369
10498
  "ui-v1-select_active": __props.expanded,
10370
10499
  "ui-v1-select_disabled": __props.disabled,
10371
- "ui-v1-select_filterable": __props.filterable
10500
+ "ui-v1-select_fit": __props.width === unref(WIDTH).FIT,
10501
+ "ui-v1-select_filterable": __props.filterable,
10502
+ "ui-v1-select_fluid": __props.width === unref(WIDTH).FLUID
10372
10503
  }),
10504
+ style: normalizeStyle(style.value),
10373
10505
  onClick
10374
10506
  }, [
10375
10507
  __props.multiple && !_ctx.$slots.trigger ? (openBlock(), createElementBlock("div", {
@@ -10379,7 +10511,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
10379
10511
  class: "ui-v1-select__touchstone"
10380
10512
  }, toDisplayString(selectionLabels.value), 513)) : createCommentVNode("", true),
10381
10513
  renderSlot(_ctx.$slots, "trigger", {}, () => [
10382
- createVNode(_sfc_main$J, {
10514
+ createVNode(_sfc_main$M, {
10383
10515
  id: __props.id,
10384
10516
  value: inputValue.value,
10385
10517
  placeholder: !inputReadonly.value && __props.expanded ? i18n.value.t("search.placeholder") : __props.placeholder,
@@ -10416,16 +10548,16 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
10416
10548
  } : void 0
10417
10549
  ]), 1032, ["id", "value", "placeholder", "active", "clearable", "invalid", "readonly", "size", "disabled", "input-attributes"])
10418
10550
  ])
10419
- ], 2);
10551
+ ], 6);
10420
10552
  };
10421
10553
  }
10422
10554
  });
10423
- const _hoisted_1$9 = ["id", "checked", "disabled", "aria-checked", "aria-disabled"];
10424
- const _hoisted_2$5 = { class: "ui-v1-switch__track" };
10425
- const _hoisted_3$1 = { class: "ui-v1-switch__handle" };
10555
+ const _hoisted_1$a = ["id", "checked", "disabled", "aria-checked", "aria-disabled"];
10556
+ const _hoisted_2$6 = { class: "ui-v1-switch__track" };
10557
+ const _hoisted_3$2 = { class: "ui-v1-switch__handle" };
10426
10558
  let counter$1 = 0;
10427
10559
  const __default__ = {};
10428
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
10560
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10429
10561
  ...__default__,
10430
10562
  __name: "UiSwitch",
10431
10563
  props: {
@@ -10498,9 +10630,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
10498
10630
  role: "switch",
10499
10631
  class: "ui-v1-switch__input",
10500
10632
  onChange
10501
- }), null, 16, _hoisted_1$9),
10502
- createElementVNode("span", _hoisted_2$5, [
10503
- createElementVNode("span", _hoisted_3$1, [
10633
+ }), null, 16, _hoisted_1$a),
10634
+ createElementVNode("span", _hoisted_2$6, [
10635
+ createElementVNode("span", _hoisted_3$2, [
10504
10636
  !__props.square ? (openBlock(), createBlock(unref(IconDone), {
10505
10637
  key: 0,
10506
10638
  class: "ui-v1-switch__icon"
@@ -10533,7 +10665,7 @@ const byRowKey = (key) => {
10533
10665
  };
10534
10666
  const asRowClass = (value) => value;
10535
10667
  const asRowAttrs = (value) => value;
10536
- const _sfc_main$j = defineComponent({
10668
+ const _sfc_main$l = defineComponent({
10537
10669
  name: "UiTableBodyCell",
10538
10670
  props: {
10539
10671
  align: {
@@ -10585,7 +10717,7 @@ const toCssSize = (value) => {
10585
10717
  }
10586
10718
  return value;
10587
10719
  };
10588
- const _sfc_main$i = defineComponent({
10720
+ const _sfc_main$k = defineComponent({
10589
10721
  name: "UiTableCol",
10590
10722
  props: {
10591
10723
  width: {
@@ -10616,9 +10748,9 @@ const _sfc_main$i = defineComponent({
10616
10748
  });
10617
10749
  }
10618
10750
  });
10619
- const _hoisted_1$8 = ["type"];
10620
- const _hoisted_2$4 = { class: "ui-v1-table__footer-button-content" };
10621
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
10751
+ const _hoisted_1$9 = ["type"];
10752
+ const _hoisted_2$5 = { class: "ui-v1-table__footer-button-content" };
10753
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
10622
10754
  ...{
10623
10755
  inheritAttrs: false
10624
10756
  },
@@ -10636,14 +10768,14 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
10636
10768
  type: __props.type,
10637
10769
  class: "ui-v1-table__footer-button"
10638
10770
  }, _ctx.$attrs), [
10639
- createElementVNode("span", _hoisted_2$4, [
10771
+ createElementVNode("span", _hoisted_2$5, [
10640
10772
  renderSlot(_ctx.$slots, "default")
10641
10773
  ])
10642
- ], 16, _hoisted_1$8);
10774
+ ], 16, _hoisted_1$9);
10643
10775
  };
10644
10776
  }
10645
10777
  });
10646
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
10778
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
10647
10779
  ...{
10648
10780
  inheritAttrs: false
10649
10781
  },
@@ -10656,7 +10788,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
10656
10788
  };
10657
10789
  }
10658
10790
  });
10659
- const _sfc_main$f = defineComponent({
10791
+ const _sfc_main$h = defineComponent({
10660
10792
  name: "UiTableHeadCell",
10661
10793
  props: {
10662
10794
  align: {
@@ -10681,7 +10813,7 @@ const _sfc_main$f = defineComponent({
10681
10813
  }, slots.default?.());
10682
10814
  }
10683
10815
  });
10684
- const _sfc_main$e = defineComponent({
10816
+ const _sfc_main$g = defineComponent({
10685
10817
  name: "UiTableRoot",
10686
10818
  props: {
10687
10819
  bordered: {
@@ -10704,7 +10836,7 @@ const _sfc_main$e = defineComponent({
10704
10836
  }, slots.default?.());
10705
10837
  }
10706
10838
  });
10707
- const _sfc_main$d = defineComponent({
10839
+ const _sfc_main$f = defineComponent({
10708
10840
  name: "UiTableRow",
10709
10841
  props: {
10710
10842
  interactive: {
@@ -10732,7 +10864,7 @@ const sectionTagByKind = {
10732
10864
  body: "tbody",
10733
10865
  foot: "tfoot"
10734
10866
  };
10735
- const _sfc_main$c = defineComponent({
10867
+ const _sfc_main$e = defineComponent({
10736
10868
  name: "UiTableSection",
10737
10869
  props: {
10738
10870
  kind: {
@@ -10751,14 +10883,14 @@ const _sfc_main$c = defineComponent({
10751
10883
  }, slots.default?.());
10752
10884
  }
10753
10885
  });
10754
- const _hoisted_1$7 = {
10886
+ const _hoisted_1$8 = {
10755
10887
  "aria-hidden": "true",
10756
10888
  class: "ui-v1-table__sorter-icon",
10757
10889
  xmlns: "http://www.w3.org/2000/svg",
10758
10890
  viewBox: "0 0 24 24"
10759
10891
  };
10760
- const _hoisted_2$3 = { class: "ui-v1-table__sorter-label" };
10761
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
10892
+ const _hoisted_2$4 = { class: "ui-v1-table__sorter-label" };
10893
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
10762
10894
  ...{
10763
10895
  inheritAttrs: false
10764
10896
  },
@@ -10776,7 +10908,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
10776
10908
  type: "button",
10777
10909
  class: "ui-v1-table__sorter"
10778
10910
  }, _ctx.$attrs), [
10779
- (openBlock(), createElementBlock("svg", _hoisted_1$7, [
10911
+ (openBlock(), createElementBlock("svg", _hoisted_1$8, [
10780
10912
  createElementVNode("path", {
10781
10913
  class: normalizeClass({
10782
10914
  "ui-v1-table__sorter-path": true,
@@ -10792,14 +10924,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
10792
10924
  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"
10793
10925
  }, null, 2)
10794
10926
  ])),
10795
- createElementVNode("span", _hoisted_2$3, [
10927
+ createElementVNode("span", _hoisted_2$4, [
10796
10928
  renderSlot(_ctx.$slots, "default")
10797
10929
  ])
10798
10930
  ], 16);
10799
10931
  };
10800
10932
  }
10801
10933
  });
10802
- const _sfc_main$a = defineComponent({
10934
+ const _sfc_main$c = defineComponent({
10803
10935
  name: "UiTab",
10804
10936
  inheritAttrs: false,
10805
10937
  props: {
@@ -10824,12 +10956,12 @@ const _sfc_main$a = defineComponent({
10824
10956
  return () => null;
10825
10957
  }
10826
10958
  });
10827
- const _hoisted_1$6 = {
10959
+ const _hoisted_1$7 = {
10828
10960
  xmlns: "http://www.w3.org/2000/svg",
10829
10961
  viewBox: "0 0 24 24"
10830
10962
  };
10831
- function render$2(_ctx, _cache) {
10832
- return openBlock(), createElementBlock("svg", _hoisted_1$6, [..._cache[0] || (_cache[0] = [
10963
+ function render$3(_ctx, _cache) {
10964
+ return openBlock(), createElementBlock("svg", _hoisted_1$7, [..._cache[0] || (_cache[0] = [
10833
10965
  createElementVNode("path", {
10834
10966
  fill: "currentColor",
10835
10967
  "fill-rule": "evenodd",
@@ -10838,7 +10970,7 @@ function render$2(_ctx, _cache) {
10838
10970
  }, null, -1)
10839
10971
  ])]);
10840
10972
  }
10841
- const IconMoreHorizontal = { render: render$2 };
10973
+ const IconMoreHorizontal = { render: render$3 };
10842
10974
  var SIZE$2 = /* @__PURE__ */ ((SIZE2) => {
10843
10975
  SIZE2["SM"] = "sm";
10844
10976
  SIZE2["MD"] = "md";
@@ -10853,7 +10985,7 @@ var APPEARANCE = /* @__PURE__ */ ((APPEARANCE2) => {
10853
10985
  const hasCounter = (value) => {
10854
10986
  return value !== null && typeof value !== "undefined";
10855
10987
  };
10856
- const _sfc_main$9 = defineComponent({
10988
+ const _sfc_main$b = defineComponent({
10857
10989
  name: "UiTabButton",
10858
10990
  inheritAttrs: false,
10859
10991
  props: {
@@ -10911,12 +11043,12 @@ const _sfc_main$9 = defineComponent({
10911
11043
  ]);
10912
11044
  }
10913
11045
  });
10914
- const _hoisted_1$5 = {
11046
+ const _hoisted_1$6 = {
10915
11047
  "aria-hidden": "true",
10916
11048
  class: "ui-v1-tab-group__measure"
10917
11049
  };
10918
- const _hoisted_2$2 = { class: "ui-v1-tab-group__content" };
10919
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11050
+ const _hoisted_2$3 = { class: "ui-v1-tab-group__content" };
11051
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
10920
11052
  __name: "UiTabGroupHead",
10921
11053
  props: {
10922
11054
  groupId: {
@@ -11027,9 +11159,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11027
11159
  });
11028
11160
  return (_ctx, _cache) => {
11029
11161
  return openBlock(), createElementBlock(Fragment, null, [
11030
- createElementVNode("div", _hoisted_1$5, [
11162
+ createElementVNode("div", _hoisted_1$6, [
11031
11163
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
11032
- return openBlock(), createBlock(_sfc_main$9, {
11164
+ return openBlock(), createBlock(_sfc_main$b, {
11033
11165
  id: `${item.id}-measure`,
11034
11166
  key: `measure-${item.id}`,
11035
11167
  ref_for: true,
@@ -11049,9 +11181,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11049
11181
  class: "ui-v1-tab-group__head",
11050
11182
  role: "tablist"
11051
11183
  }, [
11052
- createElementVNode("div", _hoisted_2$2, [
11184
+ createElementVNode("div", _hoisted_2$3, [
11053
11185
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headItems, (item) => {
11054
- return openBlock(), createBlock(_sfc_main$9, {
11186
+ return openBlock(), createBlock(_sfc_main$b, {
11055
11187
  id: `${props.groupId}-tab-${item.id}`,
11056
11188
  key: `head-${item.id}`,
11057
11189
  ref_for: true,
@@ -11071,7 +11203,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11071
11203
  }, null, 8, ["id", "active", "aria-disabled", "aria-selected", "aria-controls", "appearance", "item", "size", "tabindex", "onClick", "onFocus", "onKeydown"]);
11072
11204
  }), 128))
11073
11205
  ]),
11074
- __props.hasMenuItems ? (openBlock(), createBlock(_sfc_main$W, {
11206
+ __props.hasMenuItems ? (openBlock(), createBlock(_sfc_main$Z, {
11075
11207
  key: 0,
11076
11208
  active: __props.menuExpanded,
11077
11209
  "aria-expanded": __props.menuExpanded ? "true" : "false",
@@ -11095,7 +11227,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11095
11227
  };
11096
11228
  }
11097
11229
  });
11098
- const _sfc_main$7 = defineComponent({
11230
+ const _sfc_main$9 = defineComponent({
11099
11231
  name: "UiTabGroupMenu",
11100
11232
  props: {
11101
11233
  items: {
@@ -11126,7 +11258,7 @@ const _sfc_main$7 = defineComponent({
11126
11258
  },
11127
11259
  setup(props, { emit }) {
11128
11260
  const resolvedMenuItemSize = computed(() => {
11129
- return props.size === SIZE$2.SM ? SIZE$6.SM : SIZE$6.MD;
11261
+ return props.size === SIZE$2.SM ? SIZE$7.SM : SIZE$7.MD;
11130
11262
  });
11131
11263
  const onMenuItemKeydown = (id, event) => {
11132
11264
  switch (event.key) {
@@ -11145,7 +11277,7 @@ const _sfc_main$7 = defineComponent({
11145
11277
  if (!props.items.length) {
11146
11278
  return null;
11147
11279
  }
11148
- return h(_sfc_main$N, {
11280
+ return h(_sfc_main$Q, {
11149
11281
  visible: props.menuExpanded,
11150
11282
  targetTriggers: {
11151
11283
  hide: ["click"],
@@ -11159,7 +11291,7 @@ const _sfc_main$7 = defineComponent({
11159
11291
  default: () => h("div", {
11160
11292
  class: "ui-v1-tab-group__menu",
11161
11293
  role: "menu"
11162
- }, props.items.map((item) => h(_sfc_main$I, {
11294
+ }, props.items.map((item) => h(_sfc_main$L, {
11163
11295
  key: `menu-${item.id}`,
11164
11296
  active: props.activeId === item.id,
11165
11297
  "aria-checked": props.activeId === item.id ? "true" : "false",
@@ -11362,7 +11494,7 @@ const resolveTabLayout = (options) => {
11362
11494
  };
11363
11495
  };
11364
11496
  let counter = 0;
11365
- const _sfc_main$6 = defineComponent({
11497
+ const _sfc_main$8 = defineComponent({
11366
11498
  name: "UiTabGroup",
11367
11499
  inheritAttrs: false,
11368
11500
  props: {
@@ -11571,9 +11703,9 @@ const _sfc_main$6 = defineComponent({
11571
11703
  [`ui-v1-tab-group_${props.size}`]: true
11572
11704
  }]
11573
11705
  }, [
11574
- h(_sfc_main$s, null, {
11706
+ h(_sfc_main$v, null, {
11575
11707
  default: () => [
11576
- h(_sfc_main$8, {
11708
+ h(_sfc_main$a, {
11577
11709
  ref: headView,
11578
11710
  activeId: resolvedActiveId,
11579
11711
  appearance: props.appearance,
@@ -11594,7 +11726,7 @@ const _sfc_main$6 = defineComponent({
11594
11726
  selectTab(id);
11595
11727
  }
11596
11728
  }),
11597
- h(_sfc_main$7, {
11729
+ h(_sfc_main$9, {
11598
11730
  activeId: resolvedActiveId,
11599
11731
  items: menuItems,
11600
11732
  menuExpanded: resolvedMenuExpanded.value,
@@ -11618,19 +11750,19 @@ const _sfc_main$6 = defineComponent({
11618
11750
  };
11619
11751
  }
11620
11752
  });
11621
- const _hoisted_1$4 = {
11753
+ const _hoisted_1$5 = {
11622
11754
  xmlns: "http://www.w3.org/2000/svg",
11623
11755
  viewBox: "0 0 24 24"
11624
11756
  };
11625
- function render$1(_ctx, _cache) {
11626
- return openBlock(), createElementBlock("svg", _hoisted_1$4, [..._cache[0] || (_cache[0] = [
11757
+ function render$2(_ctx, _cache) {
11758
+ return openBlock(), createElementBlock("svg", _hoisted_1$5, [..._cache[0] || (_cache[0] = [
11627
11759
  createElementVNode("path", {
11628
11760
  fill: "currentColor",
11629
11761
  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"
11630
11762
  }, null, -1)
11631
11763
  ])]);
11632
11764
  }
11633
- const IconPinned = { render: render$1 };
11765
+ const IconPinned = { render: render$2 };
11634
11766
  var SIZE$1 = /* @__PURE__ */ ((SIZE2) => {
11635
11767
  SIZE2["LG"] = "lg";
11636
11768
  SIZE2["MD"] = "md";
@@ -11662,13 +11794,13 @@ const _i18n$1 = define({
11662
11794
  "ru-RU": messages_ru_RU$1
11663
11795
  }
11664
11796
  });
11665
- const _hoisted_1$3 = {
11797
+ const _hoisted_1$4 = {
11666
11798
  key: 0,
11667
11799
  class: "ui-v1-tag__icon"
11668
11800
  };
11669
- const _hoisted_2$1 = { class: "ui-v1-tag__content-inner" };
11670
- const _hoisted_3 = ["aria-label"];
11671
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
11801
+ const _hoisted_2$2 = { class: "ui-v1-tag__content-inner" };
11802
+ const _hoisted_3$1 = ["aria-label"];
11803
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
11672
11804
  __name: "UiTag",
11673
11805
  props: {
11674
11806
  /** Размер */
@@ -11730,7 +11862,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
11730
11862
  style: normalizeStyle(__props.background ? { background: __props.background } : {}),
11731
11863
  onMouseoverOnce: onHover
11732
11864
  }, [
11733
- _ctx.$slots["icon"] || __props.pinned ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
11865
+ _ctx.$slots["icon"] || __props.pinned ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
11734
11866
  renderSlot(_ctx.$slots, "icon", {}, () => [
11735
11867
  createVNode(unref(IconPinned))
11736
11868
  ])
@@ -11741,7 +11873,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
11741
11873
  style: normalizeStyle(textStyle.value),
11742
11874
  class: "ui-v1-tag__content"
11743
11875
  }, [
11744
- createElementVNode("div", _hoisted_2$1, [
11876
+ createElementVNode("div", _hoisted_2$2, [
11745
11877
  renderSlot(_ctx.$slots, "default")
11746
11878
  ])
11747
11879
  ], 4),
@@ -11755,25 +11887,25 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
11755
11887
  renderSlot(_ctx.$slots, "remove-icon", {}, () => [
11756
11888
  createVNode(unref(IconClear))
11757
11889
  ])
11758
- ], 8, _hoisted_3)) : createCommentVNode("", true)
11890
+ ], 8, _hoisted_3$1)) : createCommentVNode("", true)
11759
11891
  ], 38)
11760
11892
  ], 16);
11761
11893
  };
11762
11894
  }
11763
11895
  });
11764
- const _hoisted_1$2 = {
11896
+ const _hoisted_1$3 = {
11765
11897
  xmlns: "http://www.w3.org/2000/svg",
11766
11898
  viewBox: "0 0 24 24"
11767
11899
  };
11768
- function render(_ctx, _cache) {
11769
- return openBlock(), createElementBlock("svg", _hoisted_1$2, [..._cache[0] || (_cache[0] = [
11900
+ function render$1(_ctx, _cache) {
11901
+ return openBlock(), createElementBlock("svg", _hoisted_1$3, [..._cache[0] || (_cache[0] = [
11770
11902
  createElementVNode("path", {
11771
11903
  fill: "currentColor",
11772
11904
  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"
11773
11905
  }, null, -1)
11774
11906
  ])]);
11775
11907
  }
11776
- const IconTime = { render };
11908
+ const IconTime = { render: render$1 };
11777
11909
  const pad = (time2) => time2 < 10 ? `0${time2}` : String(time2);
11778
11910
  const milliseconds = (time2) => {
11779
11911
  const [hours, minutes] = parse(time2).split(":").map((value) => parseInt(value, 10));
@@ -11872,14 +12004,14 @@ const _i18n = define({
11872
12004
  "ru-RU": messages_ru_RU
11873
12005
  }
11874
12006
  });
11875
- const _hoisted_1$1 = ["id", "aria-activedescendant", "aria-controls", "aria-disabled", "aria-expanded", "aria-label", "aria-readonly"];
11876
- const _hoisted_2 = {
12007
+ const _hoisted_1$2 = ["id", "aria-activedescendant", "aria-controls", "aria-disabled", "aria-expanded", "aria-label", "aria-readonly"];
12008
+ const _hoisted_2$1 = {
11877
12009
  key: 0,
11878
12010
  "aria-disabled": "true",
11879
12011
  class: "ui-v1-time-picker__empty",
11880
12012
  role: "option"
11881
12013
  };
11882
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
12014
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
11883
12015
  ...{
11884
12016
  inheritAttrs: false
11885
12017
  },
@@ -12229,7 +12361,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
12229
12361
  },
12230
12362
  role: "combobox"
12231
12363
  }, _ctx.$attrs, { onMousedown: onRootMouseDown }), [
12232
- createVNode(_sfc_main$J, mergeProps({
12364
+ createVNode(_sfc_main$M, mergeProps({
12233
12365
  id: inputId.value,
12234
12366
  ref_key: "textbox",
12235
12367
  ref: textbox,
@@ -12256,7 +12388,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
12256
12388
  ]),
12257
12389
  _: 3
12258
12390
  }, 16, ["id", "value", "placeholder", "clearable", "disabled", "readonly"]),
12259
- createVNode(_sfc_main$N, {
12391
+ createVNode(_sfc_main$Q, {
12260
12392
  id: `${inputId.value}-listbox`,
12261
12393
  visible: expanded.value,
12262
12394
  target: rootTarget.value,
@@ -12271,14 +12403,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
12271
12403
  onAttached: onPopperAttached
12272
12404
  }, {
12273
12405
  default: withCtx(() => [
12274
- createVNode(_sfc_main$H, {
12406
+ createVNode(_sfc_main$K, {
12275
12407
  ref_key: "scrollable",
12276
12408
  ref: scrollable,
12277
12409
  class: "ui-v1-time-picker__list"
12278
12410
  }, {
12279
12411
  default: withCtx(() => [
12280
12412
  (openBlock(true), createElementBlock(Fragment, null, renderList(variants.value, (time2, index) => {
12281
- return openBlock(), createBlock(_sfc_main$I, {
12413
+ return openBlock(), createBlock(_sfc_main$L, {
12282
12414
  id: optionId(index),
12283
12415
  key: `${time2}-${index}`,
12284
12416
  ref_for: true,
@@ -12300,17 +12432,148 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
12300
12432
  _: 2
12301
12433
  }, 1032, ["id", "active", "aria-selected", "data-time", "class", "onMouseenter", "onMousedown"]);
12302
12434
  }), 128)),
12303
- !variants.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(i18n.value.t("empty")), 1)) : createCommentVNode("", true)
12435
+ !variants.value.length ? (openBlock(), createElementBlock("div", _hoisted_2$1, toDisplayString(i18n.value.t("empty")), 1)) : createCommentVNode("", true)
12304
12436
  ]),
12305
12437
  _: 1
12306
12438
  }, 512)
12307
12439
  ]),
12308
12440
  _: 1
12309
12441
  }, 8, ["id", "visible", "target", "container", "aria-hidden", "disabled", "style"])
12310
- ], 16, _hoisted_1$1);
12442
+ ], 16, _hoisted_1$2);
12311
12443
  };
12312
12444
  }
12313
12445
  });
12446
+ var UiToggleButtonSize = /* @__PURE__ */ ((UiToggleButtonSize2) => {
12447
+ UiToggleButtonSize2["LG"] = "lg";
12448
+ UiToggleButtonSize2["MD"] = "md";
12449
+ UiToggleButtonSize2["SM"] = "sm";
12450
+ UiToggleButtonSize2["XS"] = "xs";
12451
+ return UiToggleButtonSize2;
12452
+ })(UiToggleButtonSize || {});
12453
+ const _sfc_main$5 = defineComponent({
12454
+ name: "UiToggleButton",
12455
+ props: {
12456
+ id: {
12457
+ type: String,
12458
+ default: void 0
12459
+ },
12460
+ type: {
12461
+ type: String,
12462
+ default: "button"
12463
+ },
12464
+ pressed: {
12465
+ type: Boolean,
12466
+ default: false
12467
+ },
12468
+ disabled: {
12469
+ type: Boolean,
12470
+ default: false
12471
+ },
12472
+ focused: {
12473
+ type: Boolean,
12474
+ default: false
12475
+ },
12476
+ grouped: {
12477
+ type: Boolean,
12478
+ default: false
12479
+ },
12480
+ size: {
12481
+ type: String,
12482
+ default: UiToggleButtonSize.SM,
12483
+ validator: (size) => {
12484
+ return Object.values(UiToggleButtonSize).includes(size);
12485
+ }
12486
+ }
12487
+ },
12488
+ setup(props, { attrs, expose, slots }) {
12489
+ const root = useElementRef();
12490
+ expose({
12491
+ click: () => root.value?.click(),
12492
+ focus: () => root.value?.focus(),
12493
+ blur: () => root.value?.blur()
12494
+ });
12495
+ return () => {
12496
+ const content = normalize$3("default" in slots ? slots.default?.() ?? [] : []);
12497
+ return h("button", {
12498
+ ref: root,
12499
+ ...attrs,
12500
+ id: props.id,
12501
+ type: props.type,
12502
+ disabled: props.disabled,
12503
+ class: [attrs.class, {
12504
+ "ui-v1-toggle-button": true,
12505
+ [`ui-v1-toggle-button_${props.size}`]: true,
12506
+ "ui-v1-toggle-button_pressed": props.pressed,
12507
+ "ui-v1-toggle-button_disabled": props.disabled,
12508
+ "ui-v1-toggle-button_focused": props.focused,
12509
+ "ui-v1-toggle-button_grouped": props.grouped
12510
+ }]
12511
+ }, h("span", { class: "ui-v1-toggle-button__content" }, content.map(([node, isIcon]) => {
12512
+ const nodeProps = node.props ?? {};
12513
+ return h("span", {
12514
+ class: {
12515
+ "ui-v1-toggle-button__icon": isIcon,
12516
+ "ui-v1-toggle-button__text": !isIcon
12517
+ },
12518
+ ..."aria-hidden" in nodeProps ? { "aria-hidden": nodeProps["aria-hidden"] } : {}
12519
+ }, node);
12520
+ })));
12521
+ };
12522
+ }
12523
+ });
12524
+ const _sfc_main$4 = defineComponent({
12525
+ name: "UiToggleGroupRoot",
12526
+ props: {
12527
+ size: {
12528
+ type: String,
12529
+ default: UiToggleButtonSize.SM,
12530
+ validator: (size) => {
12531
+ return Object.values(UiToggleButtonSize).includes(size);
12532
+ }
12533
+ },
12534
+ rubber: {
12535
+ type: Boolean,
12536
+ default: false
12537
+ },
12538
+ disabled: {
12539
+ type: Boolean,
12540
+ default: false
12541
+ },
12542
+ ariaLabel: {
12543
+ type: String,
12544
+ default: void 0
12545
+ },
12546
+ ariaLabelledby: {
12547
+ type: String,
12548
+ default: void 0
12549
+ },
12550
+ ariaDescribedby: {
12551
+ type: String,
12552
+ default: void 0
12553
+ },
12554
+ ariaOrientation: {
12555
+ type: String,
12556
+ default: "horizontal"
12557
+ }
12558
+ },
12559
+ setup(props, { attrs, slots }) {
12560
+ return () => h("span", {
12561
+ ...attrs,
12562
+ role: attrs.role ?? "toolbar",
12563
+ "aria-label": attrs["aria-label"] ?? props.ariaLabel,
12564
+ "aria-labelledby": attrs["aria-labelledby"] ?? props.ariaLabelledby,
12565
+ "aria-describedby": attrs["aria-describedby"] ?? props.ariaDescribedby,
12566
+ "aria-disabled": attrs["aria-disabled"] ?? `${props.disabled}`,
12567
+ "aria-orientation": attrs["aria-orientation"] ?? props.ariaOrientation,
12568
+ class: [attrs.class, {
12569
+ "ui-v1-toggle-group": true,
12570
+ [`ui-v1-toggle-group_${props.size}`]: true,
12571
+ "ui-v1-toggle-group_rubber": props.rubber,
12572
+ "ui-v1-toggle-group_disabled": props.disabled
12573
+ }]
12574
+ }, slots.default?.());
12575
+ }
12576
+ });
12314
12577
  var SIZE = /* @__PURE__ */ ((SIZE2) => {
12315
12578
  SIZE2["SM"] = "sm";
12316
12579
  SIZE2["MD"] = "md";
@@ -12385,12 +12648,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
12385
12648
  const toolbarSize = useToolbarSize();
12386
12649
  const size = computed(() => {
12387
12650
  if (toolbarSize.value === SIZE.SM) {
12388
- return SIZE$9.XS;
12651
+ return SIZE$a.XS;
12389
12652
  }
12390
- return SIZE$9.SM;
12653
+ return SIZE$a.SM;
12391
12654
  });
12392
12655
  return (_ctx, _cache) => {
12393
- return openBlock(), createBlock(_sfc_main$W, mergeProps({
12656
+ return openBlock(), createBlock(_sfc_main$Z, mergeProps({
12394
12657
  ref_key: "root",
12395
12658
  ref: root,
12396
12659
  href: __props.href,
@@ -12437,8 +12700,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
12437
12700
  /** Тип ссылок */
12438
12701
  appearance: {
12439
12702
  type: String,
12440
- validator: (appearance) => Object.values(APPEARANCE$3).includes(appearance),
12441
- default: APPEARANCE$3.DEFAULT
12703
+ validator: (appearance) => Object.values(APPEARANCE$4).includes(appearance),
12704
+ default: APPEARANCE$4.DEFAULT
12442
12705
  },
12443
12706
  /** Инвертированный цвет ссылок для тёмного фона */
12444
12707
  light: {
@@ -12463,7 +12726,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
12463
12726
  },
12464
12727
  setup(__props) {
12465
12728
  return (_ctx, _cache) => {
12466
- return openBlock(), createBlock(_sfc_main$C, mergeProps({
12729
+ return openBlock(), createBlock(_sfc_main$F, mergeProps({
12467
12730
  href: __props.href,
12468
12731
  external: __props.external,
12469
12732
  appearance: __props.appearance,
@@ -12489,6 +12752,22 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
12489
12752
  };
12490
12753
  }
12491
12754
  });
12755
+ const _hoisted_1$1 = {
12756
+ xmlns: "http://www.w3.org/2000/svg",
12757
+ viewBox: "0 0 24 24"
12758
+ };
12759
+ function render(_ctx, _cache) {
12760
+ return openBlock(), createElementBlock("svg", _hoisted_1$1, [..._cache[0] || (_cache[0] = [
12761
+ createElementVNode("path", {
12762
+ fill: "currentColor",
12763
+ 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"
12764
+ }, null, -1)
12765
+ ])]);
12766
+ }
12767
+ const IconNavigate = { render };
12768
+ const YANDEX_MAP_PLUGIN = {
12769
+ LOCATOR: "locator"
12770
+ };
12492
12771
  const load = (document2, src) => new Promise((resolve, reject) => {
12493
12772
  const script = document2.createElement("script");
12494
12773
  script.async = true;
@@ -12508,6 +12787,83 @@ const load = (document2, src) => new Promise((resolve, reject) => {
12508
12787
  head.appendChild(script);
12509
12788
  });
12510
12789
  const _hoisted_1 = { class: "ui-v1-yandex-map" };
12790
+ const _hoisted_2 = {
12791
+ key: 1,
12792
+ class: "ui-v1-yandex-map__control-group ui-v1-yandex-map__control-group_left"
12793
+ };
12794
+ const _hoisted_3 = {
12795
+ key: 2,
12796
+ class: "ui-v1-yandex-map__control-group ui-v1-yandex-map__control-group_right"
12797
+ };
12798
+ const MAP_IFRAME_STYLE = `
12799
+ html, body, #map {
12800
+ width: 100%;
12801
+ height: 100%;
12802
+ margin: 0;
12803
+ }
12804
+
12805
+ .ui-v1-yandex-map-marker {
12806
+ position: relative;
12807
+ transform: translate(-10px, -76px);
12808
+ width: 0;
12809
+ height: 0;
12810
+ cursor: grab;
12811
+ user-select: none;
12812
+ }
12813
+
12814
+ .ui-v1-yandex-map-marker:active {
12815
+ cursor: grabbing;
12816
+ }
12817
+
12818
+ .ui-v1-yandex-map-marker__pin {
12819
+ position: absolute;
12820
+ left: 0;
12821
+ top: 0;
12822
+ width: 44px;
12823
+ height: 44px;
12824
+ border-radius: 50%;
12825
+ background: #ff5547;
12826
+ box-shadow: 0 12px 24px rgba(255, 85, 71, 0.28);
12827
+ }
12828
+
12829
+ .ui-v1-yandex-map-marker__pin::before {
12830
+ content: '';
12831
+ position: absolute;
12832
+ left: 16px;
12833
+ bottom: -13px;
12834
+ width: 12px;
12835
+ height: 16px;
12836
+ background: #ff5547;
12837
+ clip-path: polygon(50% 100%, 0 0, 100% 0);
12838
+ }
12839
+
12840
+ .ui-v1-yandex-map-marker__pin::after {
12841
+ content: '';
12842
+ position: absolute;
12843
+ left: 14px;
12844
+ bottom: -26px;
12845
+ width: 16px;
12846
+ height: 16px;
12847
+ border: 2px solid #ffffff;
12848
+ border-radius: 50%;
12849
+ background: #ff5547;
12850
+ box-sizing: border-box;
12851
+ }
12852
+
12853
+ .ui-v1-yandex-map-marker__hint {
12854
+ position: absolute;
12855
+ left: 56px;
12856
+ top: 4px;
12857
+ min-width: 152px;
12858
+ padding: 7px 12px;
12859
+ border-radius: 4px;
12860
+ background: rgba(255, 255, 255, 0.96);
12861
+ box-shadow: 0 8px 24px rgba(36, 48, 77, 0.16);
12862
+ color: #24304d;
12863
+ font: 400 14px/20px Arial, sans-serif;
12864
+ white-space: nowrap;
12865
+ }
12866
+ `;
12511
12867
  const _sfc_main = /* @__PURE__ */ defineComponent({
12512
12868
  __name: "UiYandexMap",
12513
12869
  props: {
@@ -12518,6 +12874,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12518
12874
  address: {
12519
12875
  type: String,
12520
12876
  default: ""
12877
+ },
12878
+ plugins: {
12879
+ type: Array,
12880
+ default: () => []
12521
12881
  }
12522
12882
  },
12523
12883
  emits: [
@@ -12525,10 +12885,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12525
12885
  "update:address"
12526
12886
  ],
12527
12887
  setup(__props, { emit: __emit }) {
12888
+ const PLAIN_OBJECT_PROTOTYPES = [Object.prototype, null];
12528
12889
  const props = __props;
12529
12890
  const emit = __emit;
12530
12891
  const i18nBus = inject(I18nInjectKey, null);
12892
+ const LOCATION = {
12893
+ center: [37.64, 55.76],
12894
+ zoom: 10
12895
+ };
12531
12896
  const iframe = ref(null);
12897
+ const map = shallowRef(null);
12898
+ const marker = shallowRef(null);
12899
+ const mapLocation = ref({
12900
+ center: [...LOCATION.center],
12901
+ zoom: LOCATION.zoom
12902
+ });
12903
+ const activeLoadToken = ref(0);
12904
+ const locating = ref(false);
12532
12905
  const getIFrameDocument = () => iframe.value?.contentDocument ?? null;
12533
12906
  const getIFrameWindow = () => iframe.value?.contentWindow ?? null;
12534
12907
  const getIFrameYMaps = () => {
@@ -12538,10 +12911,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12538
12911
  }
12539
12912
  return null;
12540
12913
  };
12541
- const LOCATION = {
12542
- center: [37.64, 55.76],
12543
- zoom: 10
12544
- };
12545
12914
  const waitIFrameContentLoaded = (retry = 5) => {
12546
12915
  if (iframe.value?.contentDocument) {
12547
12916
  return Promise.resolve();
@@ -12550,7 +12919,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12550
12919
  throw new Error("iframe contentDocument wasn't loaded");
12551
12920
  }
12552
12921
  return new Promise((resolve) => setTimeout(async () => {
12553
- await waitIFrameContentLoaded(retry--);
12922
+ await waitIFrameContentLoaded(retry - 1);
12554
12923
  resolve(0);
12555
12924
  }, 100));
12556
12925
  };
@@ -12563,6 +12932,138 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12563
12932
  const apiUrl = computed(() => `https://api-maps.yandex.ru/v3/?apikey=${props.apiKey}&lang=${apiLocale.value}`);
12564
12933
  const apiUrlVersion = ref(0);
12565
12934
  const getGeocodeApiUrl = (geocode) => `https://geocode-maps.yandex.ru/1.x/?apikey=${props.apiKey}&geocode=${geocode}&lang=${apiLocale.value}&format=json`;
12935
+ const createLoadToken = () => {
12936
+ activeLoadToken.value++;
12937
+ return activeLoadToken.value;
12938
+ };
12939
+ const isCurrentLoadToken = (token) => activeLoadToken.value === token;
12940
+ const disposeMapRuntime = () => {
12941
+ map.value?.destroy();
12942
+ map.value = null;
12943
+ marker.value = null;
12944
+ mapLocation.value = {
12945
+ center: [...LOCATION.center],
12946
+ zoom: LOCATION.zoom
12947
+ };
12948
+ };
12949
+ const cancelMapRuntime = () => {
12950
+ activeLoadToken.value++;
12951
+ disposeMapRuntime();
12952
+ };
12953
+ const updateMapLocation = (location) => {
12954
+ const nextLocation = {
12955
+ center: location.center ? [...location.center] : mapLocation.value.center,
12956
+ zoom: typeof location.zoom === "number" ? location.zoom : mapLocation.value.zoom
12957
+ };
12958
+ mapLocation.value = nextLocation;
12959
+ map.value?.setLocation({
12960
+ ...nextLocation,
12961
+ duration: 200,
12962
+ easing: "ease-in-out"
12963
+ });
12964
+ };
12965
+ const zoomIn = () => {
12966
+ updateMapLocation({ zoom: mapLocation.value.zoom + 1 });
12967
+ };
12968
+ const zoomOut = () => {
12969
+ updateMapLocation({ zoom: mapLocation.value.zoom - 1 });
12970
+ };
12971
+ const getMarkerDetails = (coordinates) => ({
12972
+ longitude: `Longitude: ${coordinates[0].toFixed(2)}`,
12973
+ latitude: `Latitude: ${coordinates[1].toFixed(2)}`
12974
+ });
12975
+ const updateMarker = (coordinates) => {
12976
+ const details = getMarkerDetails(coordinates);
12977
+ marker.value?.update({
12978
+ coordinates,
12979
+ title: `${details.longitude}
12980
+ ${details.latitude}`
12981
+ });
12982
+ };
12983
+ const getCurrentCoordinates = () => new Promise((resolve, reject) => {
12984
+ if (!("geolocation" in navigator)) {
12985
+ reject(new Error("Geolocation is unavailable"));
12986
+ return;
12987
+ }
12988
+ navigator.geolocation.getCurrentPosition(
12989
+ ({ coords }) => resolve([coords.longitude, coords.latitude]),
12990
+ reject,
12991
+ {
12992
+ enableHighAccuracy: true,
12993
+ timeout: 1e4
12994
+ }
12995
+ );
12996
+ });
12997
+ const isPlainObject = (value) => {
12998
+ if (Object.prototype.toString.call(value) !== "[object Object]") {
12999
+ return false;
13000
+ }
13001
+ return PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value));
13002
+ };
13003
+ const locatorPlugin = computed(() => props.plugins.find((plugin2) => isPlainObject(plugin2) && plugin2.type === YANDEX_MAP_PLUGIN.LOCATOR && typeof plugin2.url === "string" && plugin2.url.length > 0) ?? null);
13004
+ const canUseBrowserGeolocation = computed(() => "geolocation" in navigator && isSecureContext);
13005
+ const canUseLocatorFallback = computed(() => locatorPlugin.value !== null);
13006
+ const canLocateCurrentPosition = computed(() => canUseBrowserGeolocation.value || canUseLocatorFallback.value);
13007
+ const fetchLocatorFallbackCoordinates = async (reason, error = null) => {
13008
+ if (!locatorPlugin.value) {
13009
+ throw new Error("Locator plugin is not configured");
13010
+ }
13011
+ const response = await fetch(locatorPlugin.value.url, {
13012
+ method: "POST",
13013
+ headers: {
13014
+ "Content-Type": "application/json"
13015
+ },
13016
+ body: JSON.stringify({
13017
+ locale: apiLocale.value,
13018
+ reason,
13019
+ secureContext: isSecureContext,
13020
+ browserGeolocationAvailable: "geolocation" in navigator,
13021
+ error: error instanceof Error ? error.message : null
13022
+ })
13023
+ });
13024
+ if (!response.ok) {
13025
+ throw new Error(`Locator adapter request failed with status ${response.status}`);
13026
+ }
13027
+ const result = await response.json();
13028
+ if (!Array.isArray(result.coordinates) || result.coordinates.length !== 2) {
13029
+ throw new Error("Locator adapter returned invalid coordinates payload");
13030
+ }
13031
+ return [Number(result.coordinates[0]), Number(result.coordinates[1])];
13032
+ };
13033
+ const locateCurrentPosition = async () => {
13034
+ locating.value = true;
13035
+ try {
13036
+ const coordinates = canUseBrowserGeolocation.value ? await getCurrentCoordinates() : await fetchLocatorFallbackCoordinates("browser_geolocation_unavailable");
13037
+ updateMarker(coordinates);
13038
+ updateMapLocation({
13039
+ center: coordinates,
13040
+ zoom: Math.max(mapLocation.value.zoom, 15)
13041
+ });
13042
+ const address = await fetchAddressFromCoordinates(coordinates);
13043
+ emit("change", address);
13044
+ emit("update:address", address);
13045
+ } catch (error) {
13046
+ if (canUseLocatorFallback.value && canUseBrowserGeolocation.value) {
13047
+ try {
13048
+ const coordinates = await fetchLocatorFallbackCoordinates("browser_geolocation_failed", error);
13049
+ updateMarker(coordinates);
13050
+ updateMapLocation({
13051
+ center: coordinates,
13052
+ zoom: Math.max(mapLocation.value.zoom, 15)
13053
+ });
13054
+ const address = await fetchAddressFromCoordinates(coordinates);
13055
+ emit("change", address);
13056
+ emit("update:address", address);
13057
+ return;
13058
+ } catch (fallbackError) {
13059
+ console.error("Failed to get current location via locator fallback", fallbackError);
13060
+ }
13061
+ }
13062
+ console.error("Failed to get current location", error);
13063
+ } finally {
13064
+ locating.value = false;
13065
+ }
13066
+ };
12566
13067
  function onDragEndHandler(coordinates) {
12567
13068
  fetchAddressFromCoordinates(coordinates).then((address) => {
12568
13069
  emit("change", address);
@@ -12579,135 +13080,236 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12579
13080
  const result = await response.json();
12580
13081
  return result.response.GeoObjectCollection.featureMember[0]?.GeoObject?.Point.pos ?? "";
12581
13082
  };
13083
+ const createMarkerRuntime = (_ymaps3, iframeDocument, coordinates, onDragMove, onDragEnd) => {
13084
+ const { YMapMarker } = _ymaps3;
13085
+ const markerElement = iframeDocument.createElement("div");
13086
+ markerElement.className = "ui-v1-yandex-map-marker";
13087
+ const pinElement = iframeDocument.createElement("div");
13088
+ pinElement.className = "ui-v1-yandex-map-marker__pin";
13089
+ const hintElement = iframeDocument.createElement("div");
13090
+ hintElement.className = "ui-v1-yandex-map-marker__hint";
13091
+ const longitudeElement = iframeDocument.createElement("div");
13092
+ const latitudeElement = iframeDocument.createElement("div");
13093
+ hintElement.append(longitudeElement, latitudeElement);
13094
+ markerElement.append(pinElement, hintElement);
13095
+ const markerRuntime = new YMapMarker({
13096
+ coordinates,
13097
+ draggable: true,
13098
+ mapFollowsOnDrag: true,
13099
+ zIndex: 2500,
13100
+ onDragMove,
13101
+ onDragEnd
13102
+ }, markerElement);
13103
+ const update = ({ coordinates: nextCoordinates }) => {
13104
+ const details = getMarkerDetails(nextCoordinates);
13105
+ longitudeElement.textContent = details.longitude;
13106
+ latitudeElement.textContent = details.latitude;
13107
+ markerRuntime.update({
13108
+ coordinates: nextCoordinates
13109
+ });
13110
+ };
13111
+ update({ coordinates });
13112
+ return {
13113
+ entity: markerRuntime,
13114
+ update
13115
+ };
13116
+ };
12582
13117
  const loadApi = async () => {
13118
+ ready.value = false;
13119
+ const loadToken = createLoadToken();
13120
+ disposeMapRuntime();
12583
13121
  await waitIFrameContentLoaded();
13122
+ if (!isCurrentLoadToken(loadToken)) {
13123
+ return;
13124
+ }
12584
13125
  const iframeDocument = getIFrameDocument();
12585
13126
  if (iframeDocument) {
12586
13127
  const style = iframeDocument.createElement("style");
12587
- style.innerHTML = "body { margin: 0; }";
13128
+ style.innerHTML = MAP_IFRAME_STYLE;
12588
13129
  iframeDocument.head.appendChild(style);
12589
13130
  await load(iframeDocument, apiUrl.value);
13131
+ if (!isCurrentLoadToken(loadToken)) return;
12590
13132
  await getIFrameYMaps()?.ready;
12591
- const el = iframeDocument.createElement("div");
12592
- el.setAttribute("id", "map");
12593
- iframeDocument.body.appendChild(el);
12594
- ready.value = true;
13133
+ if (!isCurrentLoadToken(loadToken)) return;
12595
13134
  const _ymaps3 = getIFrameYMaps();
12596
13135
  const {
12597
13136
  YMap,
12598
- YMapControls,
12599
13137
  YMapDefaultFeaturesLayer,
12600
13138
  YMapDefaultSchemeLayer
12601
13139
  } = _ymaps3;
12602
- const { YMapZoomControl, YMapGeolocationControl } = await _ymaps3.import("@yandex/ymaps3-controls@0.0.1");
12603
- const { YMapDefaultMarker } = await _ymaps3.import("@yandex/ymaps3-markers@0.0.1");
12604
13140
  if (props.address) {
12605
13141
  const pos = await fetchCoordinatesFromAddress(props.address);
13142
+ if (!isCurrentLoadToken(loadToken)) {
13143
+ return;
13144
+ }
12606
13145
  if (pos) {
12607
13146
  LOCATION.center = pos.split(" ").map((c) => Number(c));
12608
13147
  }
12609
13148
  }
12610
- const map = new YMap(el, { location: LOCATION });
12611
- map.addChild(new YMapDefaultSchemeLayer({}));
12612
- map.addChild(new YMapControls({ position: "right" }).addChild(new YMapZoomControl({})));
12613
- map.addChild(new YMapDefaultFeaturesLayer({ id: "features" }));
12614
- map.addChild(new YMapControls({ position: "left" }).addChild(new YMapGeolocationControl({})));
13149
+ const el = iframeDocument.createElement("div");
13150
+ el.setAttribute("id", "map");
13151
+ iframeDocument.body.appendChild(el);
12615
13152
  const onDragMoveHandler = (coordinates) => {
12616
- const longitude = `Longitude: ${coordinates[0].toFixed(2)}`;
12617
- const latitude = `Latitude: ${coordinates[1].toFixed(2)}`;
12618
- draggableMarker.update({ coordinates, title: `${longitude} <br> ${latitude}` });
13153
+ updateMarker(coordinates);
12619
13154
  };
12620
- const draggableMarker = new YMapDefaultMarker({
12621
- coordinates: LOCATION.center,
12622
- draggable: true,
12623
- title: `Longitude: ${LOCATION.center[0].toFixed(2)} <br>
12624
- Latitude ${LOCATION.center[1].toFixed(2)}`,
12625
- onDragMove: onDragMoveHandler,
12626
- onDragEnd: onDragEndHandler
12627
- });
12628
- map.addChild(draggableMarker);
13155
+ const markerRuntime = createMarkerRuntime(
13156
+ _ymaps3,
13157
+ iframeDocument,
13158
+ LOCATION.center,
13159
+ onDragMoveHandler,
13160
+ onDragEndHandler
13161
+ );
13162
+ marker.value = markerRuntime;
13163
+ mapLocation.value = {
13164
+ center: [...LOCATION.center],
13165
+ zoom: LOCATION.zoom
13166
+ };
13167
+ map.value = new YMap(el, { location: LOCATION }, [
13168
+ new YMapDefaultSchemeLayer({}),
13169
+ new YMapDefaultFeaturesLayer({ id: "features" }),
13170
+ markerRuntime.entity
13171
+ ]);
13172
+ if (!isCurrentLoadToken(loadToken)) {
13173
+ map.value?.destroy();
13174
+ map.value = null;
13175
+ return;
13176
+ }
13177
+ ready.value = true;
12629
13178
  }
12630
13179
  };
12631
13180
  watch(apiUrl, async (newUrl, oldUrl) => {
12632
13181
  if (iframe.value && newUrl !== oldUrl) {
13182
+ cancelMapRuntime();
12633
13183
  ready.value = false;
12634
13184
  apiUrlVersion.value++;
12635
13185
  }
12636
13186
  });
13187
+ onBeforeUnmount(() => {
13188
+ cancelMapRuntime();
13189
+ });
12637
13190
  return (_ctx, _cache) => {
12638
13191
  return openBlock(), createElementBlock("div", _hoisted_1, [
12639
- !ready.value ? (openBlock(), createBlock(_sfc_main$B, { key: 0 })) : createCommentVNode("", true),
12640
- withDirectives((openBlock(), createElementBlock("iframe", {
13192
+ !ready.value ? (openBlock(), createBlock(_sfc_main$E, {
13193
+ key: 0,
13194
+ transition: null
13195
+ })) : createCommentVNode("", true),
13196
+ (openBlock(), createElementBlock("iframe", {
12641
13197
  ref_key: "iframe",
12642
13198
  ref: iframe,
12643
13199
  key: apiUrlVersion.value,
13200
+ allow: "geolocation",
12644
13201
  onLoad: loadApi
12645
- }, null, 32)), [
12646
- [vShow, ready.value]
12647
- ])
13202
+ }, null, 32)),
13203
+ ready.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
13204
+ createVNode(_sfc_main$Z, {
13205
+ class: "ui-v1-yandex-map__control-button",
13206
+ appearance: "secondary",
13207
+ size: "sm",
13208
+ type: "button",
13209
+ "aria-label": "Определить текущее местоположение",
13210
+ disabled: locating.value || !canLocateCurrentPosition.value,
13211
+ onClick: locateCurrentPosition
13212
+ }, {
13213
+ default: withCtx(() => [
13214
+ createVNode(unref(IconNavigate))
13215
+ ]),
13216
+ _: 1
13217
+ }, 8, ["disabled"])
13218
+ ])) : createCommentVNode("", true),
13219
+ ready.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
13220
+ createVNode(_sfc_main$Z, {
13221
+ class: "ui-v1-yandex-map__control-button",
13222
+ appearance: "secondary",
13223
+ size: "sm",
13224
+ type: "button",
13225
+ "aria-label": "Уменьшить масштаб",
13226
+ onClick: zoomOut
13227
+ }, {
13228
+ default: withCtx(() => [
13229
+ createVNode(unref(IconRemove))
13230
+ ]),
13231
+ _: 1
13232
+ }),
13233
+ createVNode(_sfc_main$Z, {
13234
+ class: "ui-v1-yandex-map__control-button",
13235
+ appearance: "secondary",
13236
+ size: "sm",
13237
+ type: "button",
13238
+ "aria-label": "Увеличить масштаб",
13239
+ onClick: zoomIn
13240
+ }, {
13241
+ default: withCtx(() => [
13242
+ createVNode(unref(IconAdd))
13243
+ ]),
13244
+ _: 1
13245
+ })
13246
+ ])) : createCommentVNode("", true)
12648
13247
  ]);
12649
13248
  };
12650
13249
  }
12651
13250
  });
12652
13251
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12653
13252
  __proto__: null,
12654
- UiAddButton: _sfc_main$_,
12655
- UiAlert: _sfc_main$$,
12656
- UiAvatar: _sfc_main$Y,
12657
- UiAvatarList: _sfc_main$X,
12658
- UiButton: _sfc_main$W,
12659
- UiCalendar: _sfc_main$S,
12660
- UiCheckbox: _sfc_main$R,
12661
- UiCollapse: _sfc_main$Q,
12662
- UiCollapseBox: _sfc_main$P,
12663
- UiCollapseGroup: _sfc_main$O,
12664
- UiCopyButton: _sfc_main$L,
12665
- UiDate: _sfc_main$K,
12666
- UiDatePicker: _sfc_main$F,
12667
- UiError: _sfc_main$E,
12668
- UiImage: _sfc_main$Z,
12669
- UiInfobox: _sfc_main$D,
12670
- UiLink: _sfc_main$C,
12671
- UiLoader: _sfc_main$B,
12672
- UiMenuItem: _sfc_main$I,
13253
+ UiAddButton: _sfc_main$11,
13254
+ UiAlert: _sfc_main$12,
13255
+ UiAvatar: _sfc_main$$,
13256
+ UiAvatarList: _sfc_main$_,
13257
+ UiButton: _sfc_main$Z,
13258
+ UiCalendar: _sfc_main$V,
13259
+ UiCheckbox: _sfc_main$U,
13260
+ UiCollapse: _sfc_main$T,
13261
+ UiCollapseBox: _sfc_main$S,
13262
+ UiCollapseGroup: _sfc_main$R,
13263
+ UiCopyButton: _sfc_main$O,
13264
+ UiDate: _sfc_main$N,
13265
+ UiDatePicker: _sfc_main$I,
13266
+ UiError: _sfc_main$H,
13267
+ UiImage: _sfc_main$10,
13268
+ UiInfobox: _sfc_main$G,
13269
+ UiLink: _sfc_main$F,
13270
+ UiLoader: _sfc_main$E,
13271
+ UiMenuItem: _sfc_main$L,
12673
13272
  UiMenuItemGroup,
12674
- UiModalSidebar: _sfc_main$z,
12675
- UiModalWindow: _sfc_main$x,
12676
- UiModalWindowSurface: _sfc_main$y,
12677
- UiNumberStepper: _sfc_main$w,
12678
- UiPageHeader: _sfc_main$t,
12679
- UiPageHeaderLayout: _sfc_main$u,
12680
- UiPageHeaderTitle: _sfc_main$v,
12681
- UiPopper: _sfc_main$N,
12682
- UiPopperConnector: _sfc_main$s,
12683
- UiPopperTarget: _sfc_main$r,
12684
- UiRadio: _sfc_main$q,
12685
- UiRadioSwitchOptionShell: _sfc_main$p,
12686
- UiRadioSwitchRoot: _sfc_main$o,
12687
- UiScrollBox: _sfc_main$H,
12688
- UiSelectPopper: _sfc_main$m,
12689
- UiSelectTrigger: _sfc_main$l,
12690
- UiSlider: _sfc_main$n,
12691
- UiSwitch: _sfc_main$k,
12692
- UiTab: _sfc_main$a,
12693
- UiTabGroup: _sfc_main$6,
12694
- UiTableBodyCell: _sfc_main$j,
12695
- UiTableCol: _sfc_main$i,
12696
- UiTableFooterButton: _sfc_main$h,
12697
- UiTableFooterSection: _sfc_main$g,
12698
- UiTableHeadCell: _sfc_main$f,
12699
- UiTableRoot: _sfc_main$e,
12700
- UiTableRow: _sfc_main$d,
12701
- UiTableSection: _sfc_main$c,
12702
- UiTableSorter: _sfc_main$b,
12703
- UiTag: _sfc_main$5,
12704
- UiTextbox: _sfc_main$J,
12705
- UiTimePicker: _sfc_main$4,
13273
+ UiModalSidebar: _sfc_main$C,
13274
+ UiModalWindow: _sfc_main$A,
13275
+ UiModalWindowSurface: _sfc_main$B,
13276
+ UiNumberStepper: _sfc_main$z,
13277
+ UiPageHeader: _sfc_main$w,
13278
+ UiPageHeaderLayout: _sfc_main$x,
13279
+ UiPageHeaderTitle: _sfc_main$y,
13280
+ UiPopper: _sfc_main$Q,
13281
+ UiPopperConnector: _sfc_main$v,
13282
+ UiPopperTarget: _sfc_main$u,
13283
+ UiRadio: _sfc_main$t,
13284
+ UiRadioSwitchOptionShell: _sfc_main$s,
13285
+ UiRadioSwitchRoot: _sfc_main$r,
13286
+ UiScrollBox: _sfc_main$K,
13287
+ UiSelectPopper: _sfc_main$o,
13288
+ UiSelectTrigger: _sfc_main$n,
13289
+ UiSkeleton: _sfc_main$q,
13290
+ UiSlider: _sfc_main$p,
13291
+ UiSwitch: _sfc_main$m,
13292
+ UiTab: _sfc_main$c,
13293
+ UiTabGroup: _sfc_main$8,
13294
+ UiTableBodyCell: _sfc_main$l,
13295
+ UiTableCol: _sfc_main$k,
13296
+ UiTableFooterButton: _sfc_main$j,
13297
+ UiTableFooterSection: _sfc_main$i,
13298
+ UiTableHeadCell: _sfc_main$h,
13299
+ UiTableRoot: _sfc_main$g,
13300
+ UiTableRow: _sfc_main$f,
13301
+ UiTableSection: _sfc_main$e,
13302
+ UiTableSorter: _sfc_main$d,
13303
+ UiTag: _sfc_main$7,
13304
+ UiTextbox: _sfc_main$M,
13305
+ UiTimePicker: _sfc_main$6,
13306
+ UiToggleButton: _sfc_main$5,
13307
+ UiToggleGroupRoot: _sfc_main$4,
12706
13308
  UiToolbar: _sfc_main$3,
12707
13309
  UiToolbarButton: _sfc_main$2,
12708
13310
  UiToolbarLink: _sfc_main$1,
12709
- UiTooltip: _sfc_main$M,
12710
- UiTransition: _sfc_main$10,
13311
+ UiTooltip: _sfc_main$P,
13312
+ UiTransition: _sfc_main$13,
12711
13313
  UiYandexMap: _sfc_main
12712
13314
  }, Symbol.toStringTag, { value: "Module" }));
12713
13315
  const createProvider = () => createProvider$1(components);
@@ -12718,63 +13320,73 @@ export {
12718
13320
  plugin$1 as I18nPlugin,
12719
13321
  ImageWorkersKey,
12720
13322
  plugin as ModalPlugin,
12721
- _sfc_main$_ as UiAddButton,
12722
- _sfc_main$$ as UiAlert,
12723
- _sfc_main$Y as UiAvatar,
12724
- _sfc_main$X as UiAvatarList,
12725
- _sfc_main$W as UiButton,
12726
- _sfc_main$S as UiCalendar,
12727
- _sfc_main$R as UiCheckbox,
12728
- _sfc_main$Q as UiCollapse,
12729
- _sfc_main$P as UiCollapseBox,
12730
- _sfc_main$O as UiCollapseGroup,
12731
- _sfc_main$L as UiCopyButton,
12732
- _sfc_main$K as UiDate,
12733
- _sfc_main$F as UiDatePicker,
12734
- _sfc_main$E as UiError,
12735
- _sfc_main$Z as UiImage,
12736
- _sfc_main$D as UiInfobox,
12737
- _sfc_main$C as UiLink,
12738
- _sfc_main$B as UiLoader,
12739
- _sfc_main$I as UiMenuItem,
13323
+ APPEARANCE$2 as RADIO_SWITCH_APPEARANCE,
13324
+ SIZE$4 as RADIO_SWITCH_SIZE,
13325
+ ANIMATION as SKELETON_ANIMATION,
13326
+ APPEARANCE$1 as SKELETON_APPEARANCE,
13327
+ SIZE$3 as SKELETON_SIZE,
13328
+ APPEARANCE as TAB_APPEARANCE,
13329
+ SIZE$2 as TAB_SIZE,
13330
+ _sfc_main$11 as UiAddButton,
13331
+ _sfc_main$12 as UiAlert,
13332
+ _sfc_main$$ as UiAvatar,
13333
+ _sfc_main$_ as UiAvatarList,
13334
+ _sfc_main$Z as UiButton,
13335
+ _sfc_main$V as UiCalendar,
13336
+ _sfc_main$U as UiCheckbox,
13337
+ _sfc_main$T as UiCollapse,
13338
+ _sfc_main$S as UiCollapseBox,
13339
+ _sfc_main$R as UiCollapseGroup,
13340
+ _sfc_main$O as UiCopyButton,
13341
+ _sfc_main$N as UiDate,
13342
+ _sfc_main$I as UiDatePicker,
13343
+ _sfc_main$H as UiError,
13344
+ _sfc_main$10 as UiImage,
13345
+ _sfc_main$G as UiInfobox,
13346
+ _sfc_main$F as UiLink,
13347
+ _sfc_main$E as UiLoader,
13348
+ _sfc_main$L as UiMenuItem,
12740
13349
  UiMenuItemGroup,
12741
- _sfc_main$z as UiModalSidebar,
12742
- _sfc_main$x as UiModalWindow,
12743
- _sfc_main$y as UiModalWindowSurface,
12744
- _sfc_main$w as UiNumberStepper,
12745
- _sfc_main$t as UiPageHeader,
12746
- _sfc_main$u as UiPageHeaderLayout,
12747
- _sfc_main$v as UiPageHeaderTitle,
12748
- _sfc_main$N as UiPopper,
12749
- _sfc_main$s as UiPopperConnector,
12750
- _sfc_main$r as UiPopperTarget,
12751
- _sfc_main$q as UiRadio,
12752
- _sfc_main$p as UiRadioSwitchOptionShell,
12753
- _sfc_main$o as UiRadioSwitchRoot,
12754
- _sfc_main$H as UiScrollBox,
12755
- _sfc_main$m as UiSelectPopper,
12756
- _sfc_main$l as UiSelectTrigger,
12757
- _sfc_main$n as UiSlider,
12758
- _sfc_main$k as UiSwitch,
12759
- _sfc_main$a as UiTab,
12760
- _sfc_main$6 as UiTabGroup,
12761
- _sfc_main$j as UiTableBodyCell,
12762
- _sfc_main$i as UiTableCol,
12763
- _sfc_main$h as UiTableFooterButton,
12764
- _sfc_main$g as UiTableFooterSection,
12765
- _sfc_main$f as UiTableHeadCell,
12766
- _sfc_main$e as UiTableRoot,
12767
- _sfc_main$d as UiTableRow,
12768
- _sfc_main$c as UiTableSection,
12769
- _sfc_main$b as UiTableSorter,
12770
- _sfc_main$5 as UiTag,
12771
- _sfc_main$J as UiTextbox,
12772
- _sfc_main$4 as UiTimePicker,
13350
+ _sfc_main$C as UiModalSidebar,
13351
+ _sfc_main$A as UiModalWindow,
13352
+ _sfc_main$B as UiModalWindowSurface,
13353
+ _sfc_main$z as UiNumberStepper,
13354
+ _sfc_main$w as UiPageHeader,
13355
+ _sfc_main$x as UiPageHeaderLayout,
13356
+ _sfc_main$y as UiPageHeaderTitle,
13357
+ _sfc_main$Q as UiPopper,
13358
+ _sfc_main$v as UiPopperConnector,
13359
+ _sfc_main$u as UiPopperTarget,
13360
+ _sfc_main$t as UiRadio,
13361
+ _sfc_main$s as UiRadioSwitchOptionShell,
13362
+ _sfc_main$r as UiRadioSwitchRoot,
13363
+ _sfc_main$K as UiScrollBox,
13364
+ _sfc_main$o as UiSelectPopper,
13365
+ _sfc_main$n as UiSelectTrigger,
13366
+ _sfc_main$q as UiSkeleton,
13367
+ _sfc_main$p as UiSlider,
13368
+ _sfc_main$m as UiSwitch,
13369
+ _sfc_main$c as UiTab,
13370
+ _sfc_main$8 as UiTabGroup,
13371
+ _sfc_main$l as UiTableBodyCell,
13372
+ _sfc_main$k as UiTableCol,
13373
+ _sfc_main$j as UiTableFooterButton,
13374
+ _sfc_main$i as UiTableFooterSection,
13375
+ _sfc_main$h as UiTableHeadCell,
13376
+ _sfc_main$g as UiTableRoot,
13377
+ _sfc_main$f as UiTableRow,
13378
+ _sfc_main$e as UiTableSection,
13379
+ _sfc_main$d as UiTableSorter,
13380
+ _sfc_main$7 as UiTag,
13381
+ _sfc_main$M as UiTextbox,
13382
+ _sfc_main$6 as UiTimePicker,
13383
+ _sfc_main$5 as UiToggleButton,
13384
+ _sfc_main$4 as UiToggleGroupRoot,
12773
13385
  _sfc_main$3 as UiToolbar,
12774
13386
  _sfc_main$2 as UiToolbarButton,
12775
13387
  _sfc_main$1 as UiToolbarLink,
12776
- _sfc_main$M as UiTooltip,
12777
- _sfc_main$10 as UiTransition,
13388
+ _sfc_main$P as UiTooltip,
13389
+ _sfc_main$13 as UiTransition,
12778
13390
  _sfc_main as UiYandexMap,
12779
13391
  VALIGN,
12780
13392
  VueI18n,
@@ -12782,5 +13394,6 @@ export {
12782
13394
  asRowClass,
12783
13395
  byRowKey,
12784
13396
  createProvider,
13397
+ guessDimensionStyleValue as guessSkeletonDimensionStyleValue,
12785
13398
  provider
12786
13399
  };