@retailcrm/embed-ui-v1-components 0.9.16 → 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.
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$12 = /* @__PURE__ */ defineComponent({
8
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
9
9
  __name: "UiTransition",
10
10
  props: {
11
11
  /** Наименование анимации перехода */
@@ -118,7 +118,7 @@ const _hoisted_2$p = {
118
118
  class: "ui-v1-alert__icon-outline"
119
119
  };
120
120
  const _hoisted_3$j = { class: "ui-v1-alert__icon" };
121
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
121
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
122
122
  ...{
123
123
  inheritAttrs: false
124
124
  },
@@ -227,7 +227,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
227
227
  }
228
228
  });
229
229
  return (_ctx, _cache) => {
230
- return openBlock(), createBlock(_sfc_main$12, {
230
+ return openBlock(), createBlock(_sfc_main$13, {
231
231
  name: "fade",
232
232
  onBeforeEnter,
233
233
  onBeforeLeave,
@@ -319,7 +319,7 @@ const _hoisted_4$c = {
319
319
  key: 0,
320
320
  class: "ui-v1-add-button__description"
321
321
  };
322
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
322
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
323
323
  ...{
324
324
  inheritAttrs: false
325
325
  },
@@ -421,7 +421,7 @@ function render$h(_ctx, _cache) {
421
421
  const SpriteVIP = { render: render$h };
422
422
  const ImageWorkersKey = Symbol("$image.workers");
423
423
  const _hoisted_1$L = ["alt", "src"];
424
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
424
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
425
425
  __name: "UiImage",
426
426
  props: {
427
427
  alt: {
@@ -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";
@@ -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$_ = /* @__PURE__ */ defineComponent({
514
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
515
515
  __name: "UiAvatar",
516
516
  props: {
517
517
  /** Путь к изображению */
@@ -550,8 +550,8 @@ const _sfc_main$_ = /* @__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$_ = /* @__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$_ = /* @__PURE__ */ defineComponent({
598
598
  }
599
599
  }, _ctx.$attrs), {
600
600
  default: withCtx(() => [
601
- __props.src ? (openBlock(), createBlock(_sfc_main$$, {
601
+ __props.src ? (openBlock(), createBlock(_sfc_main$10, {
602
602
  key: 0,
603
603
  src: __props.src,
604
604
  resize: optimization.value.resize,
@@ -637,7 +637,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
637
637
  };
638
638
  }
639
639
  });
640
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
640
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
641
641
  __name: "UiAvatarList",
642
642
  props: {
643
643
  /** Список аватарок пользователей */
@@ -648,8 +648,8 @@ const _sfc_main$Z = /* @__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$Z = /* @__PURE__ */ defineComponent({
664
664
  key: index,
665
665
  class: "ui-v1-avatar-list__item"
666
666
  }, [
667
- createVNode(_sfc_main$_, {
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$Y = defineComponent({
734
+ const _sfc_main$Z = defineComponent({
735
735
  props: {
736
736
  /** Устанавливает тип кнопки */
737
737
  type: {
@@ -747,7 +747,7 @@ const _sfc_main$Y = 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$Y = 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: {
@@ -818,7 +818,7 @@ const _sfc_main$Y = defineComponent({
818
818
  }
819
819
  });
820
820
  const _hoisted_1$J = { class: "ui-v1-calendar-cell__content" };
821
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
821
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
822
822
  __name: "UiCalendarCell",
823
823
  props: {
824
824
  current: {
@@ -888,7 +888,7 @@ const _hoisted_1$H = {
888
888
  "aria-hidden": "true",
889
889
  class: "ui-v1-calendar-navigation__placeholder"
890
890
  };
891
- const _sfc_main$W = /* @__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$W = /* @__PURE__ */ defineComponent({
908
908
  emits: ["click"],
909
909
  setup(__props) {
910
910
  return (_ctx, _cache) => {
911
- return !__props.absent ? (openBlock(), createBlock(_sfc_main$Y, {
911
+ return !__props.absent ? (openBlock(), createBlock(_sfc_main$Z, {
912
912
  key: 0,
913
913
  "aria-label": __props.label,
914
914
  appearance: "tertiary",
@@ -933,7 +933,7 @@ const _hoisted_1$G = {
933
933
  key: 1,
934
934
  class: "ui-v1-calendar-navigation__text"
935
935
  };
936
- const _sfc_main$V = /* @__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$V = /* @__PURE__ */ defineComponent({
944
944
  emits: ["click"],
945
945
  setup(__props) {
946
946
  return (_ctx, _cache) => {
947
- return !__props.locked ? (openBlock(), createBlock(_sfc_main$Y, {
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",
@@ -960,11 +960,11 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
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";
@@ -1402,7 +1402,7 @@ const _hoisted_16 = {
1402
1402
  "aria-atomic": "true",
1403
1403
  "aria-live": "polite"
1404
1404
  };
1405
- const _sfc_main$U = /* @__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$U = /* @__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$U = /* @__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$U = /* @__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$U = /* @__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;
@@ -2031,12 +2031,12 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
2031
2031
  class: "ui-v1-calendar-navigation",
2032
2032
  "aria-label": i18n.value.t("monthNavigation")
2033
2033
  }, [
2034
- createVNode(_sfc_main$W, {
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$V, {
2039
+ createVNode(_sfc_main$W, {
2040
2040
  onClick: ($event) => views[index].mode = unref(VIEW_MODE).MONTHS
2041
2041
  }, {
2042
2042
  default: withCtx(() => [
@@ -2048,7 +2048,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
2048
2048
  ]),
2049
2049
  _: 2
2050
2050
  }, 1032, ["onClick"]),
2051
- createVNode(_sfc_main$W, {
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",
@@ -2082,7 +2082,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
2082
2082
  role: "row"
2083
2083
  }, [
2084
2084
  (openBlock(true), createElementBlock(Fragment, null, renderList(week, (day) => {
2085
- return openBlock(), createBlock(_sfc_main$X, {
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$U = /* @__PURE__ */ defineComponent({
2126
2126
  class: "ui-v1-calendar-navigation",
2127
2127
  "aria-label": i18n.value.t("yearNavigation")
2128
2128
  }, [
2129
- createVNode(_sfc_main$W, {
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$V, {
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$U = /* @__PURE__ */ defineComponent({
2142
2142
  ]),
2143
2143
  _: 2
2144
2144
  }, 1032, ["onClick"]),
2145
- createVNode(_sfc_main$W, {
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$U = /* @__PURE__ */ defineComponent({
2160
2160
  role: "row"
2161
2161
  }, [
2162
2162
  (openBlock(true), createElementBlock(Fragment, null, renderList(months2, (month) => {
2163
- return openBlock(), createBlock(_sfc_main$X, {
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$U = /* @__PURE__ */ defineComponent({
2191
2191
  class: "ui-v1-calendar-navigation",
2192
2192
  "aria-label": i18n.value.t("decadeNavigation")
2193
2193
  }, [
2194
- createVNode(_sfc_main$W, {
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$V, {
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$U = /* @__PURE__ */ defineComponent({
2208
2208
  ]),
2209
2209
  _: 2
2210
2210
  }, 1032, ["onClick"]),
2211
- createVNode(_sfc_main$W, {
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$U = /* @__PURE__ */ defineComponent({
2226
2226
  role: "row"
2227
2227
  }, [
2228
2228
  (openBlock(true), createElementBlock(Fragment, null, renderList(years, (year) => {
2229
- return openBlock(), createBlock(_sfc_main$X, {
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),
@@ -2307,7 +2307,7 @@ const _hoisted_1$D = ["id", "value", "name", "disabled", "checked"];
2307
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$T = /* @__PURE__ */ defineComponent({
2310
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
2311
2311
  ...__default__$2,
2312
2312
  __name: "UiCheckbox",
2313
2313
  props: {
@@ -2438,7 +2438,7 @@ const _hoisted_2$k = {
2438
2438
  key: 1,
2439
2439
  class: "ui-v1-collapse"
2440
2440
  };
2441
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
2441
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
2442
2442
  __name: "UiCollapse",
2443
2443
  props: {
2444
2444
  /** Свёрнут/Развёрнут */
@@ -2584,11 +2584,11 @@ 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");
@@ -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$R = /* @__PURE__ */ defineComponent({
2612
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2613
2613
  ...{
2614
2614
  inheritAttrs: false
2615
2615
  },
@@ -2665,8 +2665,8 @@ const _sfc_main$R = /* @__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: {
@@ -2856,7 +2856,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2856
2856
  ])) : createCommentVNode("", true)
2857
2857
  ], 8, _hoisted_2$j)
2858
2858
  ], 2),
2859
- createVNode(_sfc_main$S, {
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",
@@ -2895,7 +2895,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2895
2895
  };
2896
2896
  }
2897
2897
  });
2898
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2898
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2899
2899
  __name: "UiCollapseGroup",
2900
2900
  props: {
2901
2901
  /**
@@ -4693,7 +4693,7 @@ if (typeof document !== "undefined" && typeof window !== "undefined") {
4693
4693
  }
4694
4694
  }
4695
4695
  const _hoisted_1$z = { class: "ui-v1-popper__content" };
4696
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
4696
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
4697
4697
  __name: "UiPopper",
4698
4698
  props: {
4699
4699
  /** Флаг для ручного переключения видимости */
@@ -5047,7 +5047,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5047
5047
  };
5048
5048
  }
5049
5049
  });
5050
- const _sfc_main$O = /* @__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$O = /* @__PURE__ */ defineComponent({
5158
5158
  hide: () => popper.value?.hide()
5159
5159
  });
5160
5160
  return (_ctx, _cache) => {
5161
- return openBlock(), createBlock(_sfc_main$P, mergeProps({
5161
+ return openBlock(), createBlock(_sfc_main$Q, mergeProps({
5162
5162
  ref_key: "popper",
5163
5163
  ref: popper,
5164
5164
  visible: __props.visible,
@@ -5196,7 +5196,7 @@ const _hoisted_1$y = { class: "ui-v1-copy-button__tooltip" };
5196
5196
  const _hoisted_2$i = { class: "ui-v1-copy-button__icon" };
5197
5197
  const _hoisted_3$e = { class: "ui-v1-copy-button__text" };
5198
5198
  const _hoisted_4$8 = ["value"];
5199
- const _sfc_main$N = /* @__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$N = /* @__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$N = /* @__PURE__ */ defineComponent({
5268
5268
  onClick: copy
5269
5269
  }, [
5270
5270
  renderSlot(_ctx.$slots, "trigger", {}, () => [
5271
- createVNode(_sfc_main$Y, {
5271
+ createVNode(_sfc_main$Z, {
5272
5272
  size: __props.size,
5273
5273
  appearance: "tertiary"
5274
5274
  }, {
@@ -5278,7 +5278,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5278
5278
  _: 1
5279
5279
  }, 8, ["size"])
5280
5280
  ]),
5281
- createVNode(_sfc_main$O, 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,
@@ -5348,7 +5348,7 @@ function detectLocale() {
5348
5348
  }
5349
5349
  return "en-GB";
5350
5350
  }
5351
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
5351
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5352
5352
  __name: "UiDate",
5353
5353
  props: {
5354
5354
  date: {
@@ -5405,6 +5405,34 @@ function render$c(_ctx, _cache) {
5405
5405
  ])]);
5406
5406
  }
5407
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;
@@ -5516,7 +5544,7 @@ const _hoisted_6$4 = {
5516
5544
  key: 7,
5517
5545
  class: "ui-v1-textbox__suffix"
5518
5546
  };
5519
- const _sfc_main$L = /* @__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$L = /* @__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$L = /* @__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$L = /* @__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,13 +5970,16 @@ const _sfc_main$L = /* @__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
5984
  __props.prefix || "prefix" in _ctx.$slots ? (openBlock(), createElementBlock("span", _hoisted_2$h, [
5944
5985
  renderSlot(_ctx.$slots, "prefix", {}, () => [
@@ -6034,13 +6075,13 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
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 ? {
@@ -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$K = /* @__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: {
@@ -6181,7 +6222,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6181
6222
  };
6182
6223
  }
6183
6224
  });
6184
- const _sfc_main$J = /* @__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$I = /* @__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$I = /* @__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$J, {
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$K, {
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
  }, {
@@ -6441,7 +6482,7 @@ const _hoisted_1$t = ["id", "aria-controls", "aria-disabled", "aria-expanded", "
6441
6482
  const _hoisted_2$f = ["id"];
6442
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$H = /* @__PURE__ */ defineComponent({
6485
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6445
6486
  ...{
6446
6487
  inheritAttrs: false
6447
6488
  },
@@ -6486,8 +6527,8 @@ const _sfc_main$H = /* @__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$H = /* @__PURE__ */ defineComponent({
6808
6849
  onClick: toggle
6809
6850
  }, [
6810
6851
  renderSlot(_ctx.$slots, "trigger")
6811
- ])) : (openBlock(), createBlock(_sfc_main$L, 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$H = /* @__PURE__ */ defineComponent({
6843
6884
  key: "0"
6844
6885
  } : void 0
6845
6886
  ]), 1040, ["id", "clearable", "value", "placeholder", "active", "disabled", "readonly"])),
6846
- createVNode(_sfc_main$P, mergeProps({
6887
+ createVNode(_sfc_main$Q, mergeProps({
6847
6888
  id: `${inputId.value}-popper`,
6848
6889
  visible: showCalendar.value,
6849
6890
  target: triggerTarget.value,
@@ -6866,7 +6907,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6866
6907
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
6867
6908
  }, ["stop"]))
6868
6909
  }, [
6869
- __props.quickOptions.length > 0 ? (openBlock(), createBlock(_sfc_main$I, {
6910
+ __props.quickOptions.length > 0 ? (openBlock(), createBlock(_sfc_main$J, {
6870
6911
  key: 0,
6871
6912
  value: view.value,
6872
6913
  items: __props.quickOptions,
@@ -6874,7 +6915,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6874
6915
  onChange: onQuickChange
6875
6916
  }, null, 8, ["value", "items", "nullable"])) : createCommentVNode("", true),
6876
6917
  createElementVNode("div", _hoisted_3$b, [
6877
- createVNode(_sfc_main$U, {
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$H = /* @__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$Y, {
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$H = /* @__PURE__ */ defineComponent({
6905
6946
  ]),
6906
6947
  _: 1
6907
6948
  }),
6908
- createVNode(_sfc_main$Y, {
6949
+ createVNode(_sfc_main$Z, {
6909
6950
  class: "ui-v1-date-picker__button",
6910
6951
  onClick: apply2
6911
6952
  }, {
@@ -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$G = /* @__PURE__ */ defineComponent({
6974
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6934
6975
  __name: "UiError",
6935
6976
  props: {
6936
6977
  /** Тест, разметка ошибки */
@@ -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$F = /* @__PURE__ */ defineComponent({
7052
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
7012
7053
  ...{
7013
7054
  inheritAttrs: false
7014
7055
  },
@@ -7145,7 +7186,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7145
7186
  syncExpandedFromProps();
7146
7187
  });
7147
7188
  return (_ctx, _cache) => {
7148
- return openBlock(), createBlock(_sfc_main$12, {
7189
+ return openBlock(), createBlock(_sfc_main$13, {
7149
7190
  name: "fade",
7150
7191
  onAfterEnter,
7151
7192
  onAfterLeave,
@@ -7211,7 +7252,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7211
7252
  }))
7212
7253
  ], 8, _hoisted_7$1)) : createCommentVNode("", true)
7213
7254
  ])) : createCommentVNode("", true),
7214
- createVNode(_sfc_main$S, {
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,
@@ -7261,15 +7302,15 @@ function render$9(_ctx, _cache) {
7261
7302
  ])]);
7262
7303
  }
7263
7304
  const IconOpenInNew = { render: render$9 };
7264
- var APPEARANCE$3 = /* @__PURE__ */ ((APPEARANCE2) => {
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,7 +7319,7 @@ var SIZE$5 = /* @__PURE__ */ ((SIZE2) => {
7278
7319
  SIZE2["TITLE01"] = "title-01";
7279
7320
  SIZE2["TITLE02"] = "title-02";
7280
7321
  return SIZE2;
7281
- })(SIZE$5 || {});
7322
+ })(SIZE$6 || {});
7282
7323
  const _hoisted_1$o = ["href", "target"];
7283
7324
  const _hoisted_2$d = {
7284
7325
  key: 0,
@@ -7288,7 +7329,7 @@ const _hoisted_3$9 = {
7288
7329
  key: 2,
7289
7330
  class: "ui-v1-link__icon"
7290
7331
  };
7291
- const _sfc_main$E = /* @__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$E = /* @__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: {
@@ -7369,7 +7410,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7369
7410
  };
7370
7411
  }
7371
7412
  });
7372
- const _sfc_main$D = /* @__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$D = /* @__PURE__ */ defineComponent({
7401
7442
  },
7402
7443
  setup(__props) {
7403
7444
  return (_ctx, _cache) => {
7404
- return openBlock(), createBlock(resolveDynamicComponent(__props.transition ? _sfc_main$12 : "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,7 +7476,7 @@ const _export_sfc = (sfc, props) => {
7435
7476
  }
7436
7477
  return target;
7437
7478
  };
7438
- const _sfc_main$C = {};
7479
+ const _sfc_main$D = {};
7439
7480
  const _hoisted_1$n = { class: "ui-v1-menu-item-group" };
7440
7481
  const _hoisted_2$c = { class: "ui-v1-menu-item-group__head" };
7441
7482
  const _hoisted_3$8 = {
@@ -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$C, [["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,11 +7604,11 @@ 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 || {});
7611
+ })(SIZE$5 || {});
7571
7612
  const _hoisted_1$m = ["id", "aria-hidden", "role"];
7572
7613
  const _hoisted_2$b = ["id"];
7573
7614
  const _hoisted_3$7 = { class: "ui-v1-modal-sidebar__header" };
@@ -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$B = /* @__PURE__ */ defineComponent({
7630
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7590
7631
  ...{
7591
7632
  inheritAttrs: false
7592
7633
  },
@@ -7632,7 +7673,7 @@ const _sfc_main$B = /* @__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$B = /* @__PURE__ */ defineComponent({
7812
7853
  key: 0,
7813
7854
  to: unref(globals)?.container || "body"
7814
7855
  }, [
7815
- createVNode(_sfc_main$12, {
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$B = /* @__PURE__ */ defineComponent({
7833
7874
  "aria-modal": "true",
7834
7875
  role: __props.role
7835
7876
  }, _ctx.$attrs, { onClick: onBackdropClick }), [
7836
- createVNode(_sfc_main$12, {
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,8 +7889,8 @@ const _sfc_main$B = /* @__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
7896
  createElementVNode("header", _hoisted_3$7, [
@@ -7874,7 +7915,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7874
7915
  "aria-hidden": "true",
7875
7916
  width: "32"
7876
7917
  }),
7877
- createVNode(_sfc_main$O, {
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$B = /* @__PURE__ */ defineComponent({
7889
7930
  renderSlot(_ctx.$slots, "default", {
7890
7931
  overlapped: state.overlapped
7891
7932
  })
7892
- ])) : (openBlock(), createBlock(_sfc_main$J, {
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",
@@ -7922,19 +7963,19 @@ const _sfc_main$B = /* @__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$A = /* @__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$A = /* @__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$A = /* @__PURE__ */ defineComponent({
8154
8195
  const slots = useSlots();
8155
8196
  const renderBody = () => {
8156
8197
  const appearance = props.appearance;
8157
- return h(_sfc_main$12, {
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$A = /* @__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$A = /* @__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$12, {
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$A = /* @__PURE__ */ defineComponent({
8197
8238
  "ui-v1-modal_overlapped": state.overlapped
8198
8239
  }],
8199
8240
  onClick: onOverlayClick
8200
- }, h(_sfc_main$J, {
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,
@@ -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$z = /* @__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$z = /* @__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$z = /* @__PURE__ */ defineComponent({
8374
8415
  });
8375
8416
  watch(() => props.opened, toggle);
8376
8417
  return (_ctx, _cache) => {
8377
- return openBlock(), createBlock(_sfc_main$A, 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$z = /* @__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$k, [
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
  }, () => [
@@ -8419,7 +8460,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8419
8460
  overlapped: state.overlapped
8420
8461
  })
8421
8462
  ], 8, _hoisted_2$a)) : createCommentVNode("", true),
8422
- __props.appearance !== unref(APPEARANCE$2).ALERT ? (openBlock(), createElementBlock("button", {
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",
@@ -8434,7 +8475,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8434
8475
  })
8435
8476
  ], 8, _hoisted_3$6)) : createCommentVNode("", true)
8436
8477
  ], 2),
8437
- __props.responsive ? (openBlock(), createBlock(_sfc_main$J, {
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$z = /* @__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
  })
@@ -8624,7 +8665,7 @@ const _i18n$3 = define({
8624
8665
  const _hoisted_1$f = ["id", "aria-disabled", "aria-readonly"];
8625
8666
  const _hoisted_2$9 = ["id", "aria-controls", "aria-label", "disabled"];
8626
8667
  const _hoisted_3$5 = ["id", "aria-controls", "aria-label", "disabled"];
8627
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
8668
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8628
8669
  ...{
8629
8670
  inheritAttrs: false
8630
8671
  },
@@ -8686,8 +8727,8 @@ const _sfc_main$y = /* @__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,
@@ -8973,7 +9014,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8973
9014
  class: "ui-v1-number-stepper__icon"
8974
9015
  }))
8975
9016
  ], 8, _hoisted_2$9),
8976
- createVNode(_sfc_main$L, mergeProps(resolvedTextboxOptions.value, {
9017
+ createVNode(_sfc_main$M, mergeProps(resolvedTextboxOptions.value, {
8977
9018
  id: stepperId.value,
8978
9019
  ref_key: "textbox",
8979
9020
  ref: textbox,
@@ -9018,7 +9059,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
9018
9059
  }
9019
9060
  });
9020
9061
  const _hoisted_1$e = ["id", "aria-label", "role", "tabindex", "onKeydown"];
9021
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
9062
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
9022
9063
  __name: "UiPageHeaderTitle",
9023
9064
  props: {
9024
9065
  /** Уникальный идентификатор корневого элемента */
@@ -9178,7 +9219,7 @@ const _sfc_main$x = /* @__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$e)) : (openBlock(), createBlock(_sfc_main$L, {
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",
@@ -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$w = /* @__PURE__ */ defineComponent({
9259
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
9219
9260
  ...{
9220
9261
  inheritAttrs: false
9221
9262
  },
@@ -9298,7 +9339,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9298
9339
  }, _ctx.$attrs), [
9299
9340
  createElementVNode("div", _hoisted_2$8, [
9300
9341
  createElementVNode("div", _hoisted_3$4, [
9301
- createVNode(_sfc_main$x, {
9342
+ createVNode(_sfc_main$y, {
9302
9343
  id: __props.id,
9303
9344
  ref_key: "main",
9304
9345
  ref: main,
@@ -9329,7 +9370,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9329
9370
  };
9330
9371
  }
9331
9372
  });
9332
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
9373
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9333
9374
  ...{
9334
9375
  inheritAttrs: false
9335
9376
  },
@@ -9369,7 +9410,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9369
9410
  blur: () => base.value?.blur()
9370
9411
  });
9371
9412
  return (_ctx, _cache) => {
9372
- return openBlock(), createBlock(_sfc_main$w, 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$v = /* @__PURE__ */ defineComponent({
9397
9438
  };
9398
9439
  }
9399
9440
  });
9400
- const _sfc_main$u = /* @__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$u = /* @__PURE__ */ defineComponent({
9408
9449
  };
9409
9450
  }
9410
9451
  });
9411
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
9452
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9412
9453
  ...{
9413
9454
  inheritAttrs: false
9414
9455
  },
@@ -9438,7 +9479,7 @@ 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$s = /* @__PURE__ */ defineComponent({
9482
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9442
9483
  ...__default__$1,
9443
9484
  ...{
9444
9485
  inheritAttrs: false
@@ -9533,18 +9574,18 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
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$r = 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$r = 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$r = 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$q = 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$q = 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";
@@ -10087,7 +10204,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10087
10204
  onMounted(() => {
10088
10205
  });
10089
10206
  return (_ctx, _cache) => {
10090
- return openBlock(), createBlock(_sfc_main$P, mergeProps({
10207
+ return openBlock(), createBlock(_sfc_main$Q, mergeProps({
10091
10208
  id: __props.id + "-popper",
10092
10209
  ref_key: "popper",
10093
10210
  ref: popper,
@@ -10216,8 +10333,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10216
10333
  /** Размер поля ввода */
10217
10334
  textboxSize: {
10218
10335
  type: String,
10219
- validator: (size) => Object.values(SIZE$7).includes(size),
10220
- 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
10221
10344
  },
10222
10345
  /** Состояние открытия выпадающего списка */
10223
10346
  expanded: {
@@ -10255,6 +10378,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10255
10378
  const props = __props;
10256
10379
  const emit = __emit;
10257
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
+ });
10258
10385
  const input = ref(null);
10259
10386
  const inputReadonly = computed(() => props.readonly || !props.filterable);
10260
10387
  const trigger = ref(null);
@@ -10370,8 +10497,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10370
10497
  "ui-v1-select": true,
10371
10498
  "ui-v1-select_active": __props.expanded,
10372
10499
  "ui-v1-select_disabled": __props.disabled,
10373
- "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
10374
10503
  }),
10504
+ style: normalizeStyle(style.value),
10375
10505
  onClick
10376
10506
  }, [
10377
10507
  __props.multiple && !_ctx.$slots.trigger ? (openBlock(), createElementBlock("div", {
@@ -10381,7 +10511,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10381
10511
  class: "ui-v1-select__touchstone"
10382
10512
  }, toDisplayString(selectionLabels.value), 513)) : createCommentVNode("", true),
10383
10513
  renderSlot(_ctx.$slots, "trigger", {}, () => [
10384
- createVNode(_sfc_main$L, {
10514
+ createVNode(_sfc_main$M, {
10385
10515
  id: __props.id,
10386
10516
  value: inputValue.value,
10387
10517
  placeholder: !inputReadonly.value && __props.expanded ? i18n.value.t("search.placeholder") : __props.placeholder,
@@ -10418,7 +10548,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10418
10548
  } : void 0
10419
10549
  ]), 1032, ["id", "value", "placeholder", "active", "clearable", "invalid", "readonly", "size", "disabled", "input-attributes"])
10420
10550
  ])
10421
- ], 2);
10551
+ ], 6);
10422
10552
  };
10423
10553
  }
10424
10554
  });
@@ -11073,7 +11203,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
11073
11203
  }, null, 8, ["id", "active", "aria-disabled", "aria-selected", "aria-controls", "appearance", "item", "size", "tabindex", "onClick", "onFocus", "onKeydown"]);
11074
11204
  }), 128))
11075
11205
  ]),
11076
- __props.hasMenuItems ? (openBlock(), createBlock(_sfc_main$Y, {
11206
+ __props.hasMenuItems ? (openBlock(), createBlock(_sfc_main$Z, {
11077
11207
  key: 0,
11078
11208
  active: __props.menuExpanded,
11079
11209
  "aria-expanded": __props.menuExpanded ? "true" : "false",
@@ -11128,7 +11258,7 @@ const _sfc_main$9 = defineComponent({
11128
11258
  },
11129
11259
  setup(props, { emit }) {
11130
11260
  const resolvedMenuItemSize = computed(() => {
11131
- 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;
11132
11262
  });
11133
11263
  const onMenuItemKeydown = (id, event) => {
11134
11264
  switch (event.key) {
@@ -11147,7 +11277,7 @@ const _sfc_main$9 = defineComponent({
11147
11277
  if (!props.items.length) {
11148
11278
  return null;
11149
11279
  }
11150
- return h(_sfc_main$P, {
11280
+ return h(_sfc_main$Q, {
11151
11281
  visible: props.menuExpanded,
11152
11282
  targetTriggers: {
11153
11283
  hide: ["click"],
@@ -11161,7 +11291,7 @@ const _sfc_main$9 = defineComponent({
11161
11291
  default: () => h("div", {
11162
11292
  class: "ui-v1-tab-group__menu",
11163
11293
  role: "menu"
11164
- }, props.items.map((item) => h(_sfc_main$K, {
11294
+ }, props.items.map((item) => h(_sfc_main$L, {
11165
11295
  key: `menu-${item.id}`,
11166
11296
  active: props.activeId === item.id,
11167
11297
  "aria-checked": props.activeId === item.id ? "true" : "false",
@@ -11573,7 +11703,7 @@ const _sfc_main$8 = defineComponent({
11573
11703
  [`ui-v1-tab-group_${props.size}`]: true
11574
11704
  }]
11575
11705
  }, [
11576
- h(_sfc_main$u, null, {
11706
+ h(_sfc_main$v, null, {
11577
11707
  default: () => [
11578
11708
  h(_sfc_main$a, {
11579
11709
  ref: headView,
@@ -12231,7 +12361,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12231
12361
  },
12232
12362
  role: "combobox"
12233
12363
  }, _ctx.$attrs, { onMousedown: onRootMouseDown }), [
12234
- createVNode(_sfc_main$L, mergeProps({
12364
+ createVNode(_sfc_main$M, mergeProps({
12235
12365
  id: inputId.value,
12236
12366
  ref_key: "textbox",
12237
12367
  ref: textbox,
@@ -12258,7 +12388,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12258
12388
  ]),
12259
12389
  _: 3
12260
12390
  }, 16, ["id", "value", "placeholder", "clearable", "disabled", "readonly"]),
12261
- createVNode(_sfc_main$P, {
12391
+ createVNode(_sfc_main$Q, {
12262
12392
  id: `${inputId.value}-listbox`,
12263
12393
  visible: expanded.value,
12264
12394
  target: rootTarget.value,
@@ -12273,14 +12403,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12273
12403
  onAttached: onPopperAttached
12274
12404
  }, {
12275
12405
  default: withCtx(() => [
12276
- createVNode(_sfc_main$J, {
12406
+ createVNode(_sfc_main$K, {
12277
12407
  ref_key: "scrollable",
12278
12408
  ref: scrollable,
12279
12409
  class: "ui-v1-time-picker__list"
12280
12410
  }, {
12281
12411
  default: withCtx(() => [
12282
12412
  (openBlock(true), createElementBlock(Fragment, null, renderList(variants.value, (time2, index) => {
12283
- return openBlock(), createBlock(_sfc_main$K, {
12413
+ return openBlock(), createBlock(_sfc_main$L, {
12284
12414
  id: optionId(index),
12285
12415
  key: `${time2}-${index}`,
12286
12416
  ref_for: true,
@@ -12518,12 +12648,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
12518
12648
  const toolbarSize = useToolbarSize();
12519
12649
  const size = computed(() => {
12520
12650
  if (toolbarSize.value === SIZE.SM) {
12521
- return SIZE$9.XS;
12651
+ return SIZE$a.XS;
12522
12652
  }
12523
- return SIZE$9.SM;
12653
+ return SIZE$a.SM;
12524
12654
  });
12525
12655
  return (_ctx, _cache) => {
12526
- return openBlock(), createBlock(_sfc_main$Y, mergeProps({
12656
+ return openBlock(), createBlock(_sfc_main$Z, mergeProps({
12527
12657
  ref_key: "root",
12528
12658
  ref: root,
12529
12659
  href: __props.href,
@@ -12570,8 +12700,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
12570
12700
  /** Тип ссылок */
12571
12701
  appearance: {
12572
12702
  type: String,
12573
- validator: (appearance) => Object.values(APPEARANCE$3).includes(appearance),
12574
- default: APPEARANCE$3.DEFAULT
12703
+ validator: (appearance) => Object.values(APPEARANCE$4).includes(appearance),
12704
+ default: APPEARANCE$4.DEFAULT
12575
12705
  },
12576
12706
  /** Инвертированный цвет ссылок для тёмного фона */
12577
12707
  light: {
@@ -12596,7 +12726,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
12596
12726
  },
12597
12727
  setup(__props) {
12598
12728
  return (_ctx, _cache) => {
12599
- return openBlock(), createBlock(_sfc_main$E, mergeProps({
12729
+ return openBlock(), createBlock(_sfc_main$F, mergeProps({
12600
12730
  href: __props.href,
12601
12731
  external: __props.external,
12602
12732
  appearance: __props.appearance,
@@ -13059,7 +13189,7 @@ ${details.latitude}`
13059
13189
  });
13060
13190
  return (_ctx, _cache) => {
13061
13191
  return openBlock(), createElementBlock("div", _hoisted_1, [
13062
- !ready.value ? (openBlock(), createBlock(_sfc_main$D, {
13192
+ !ready.value ? (openBlock(), createBlock(_sfc_main$E, {
13063
13193
  key: 0,
13064
13194
  transition: null
13065
13195
  })) : createCommentVNode("", true),
@@ -13071,7 +13201,7 @@ ${details.latitude}`
13071
13201
  onLoad: loadApi
13072
13202
  }, null, 32)),
13073
13203
  ready.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
13074
- createVNode(_sfc_main$Y, {
13204
+ createVNode(_sfc_main$Z, {
13075
13205
  class: "ui-v1-yandex-map__control-button",
13076
13206
  appearance: "secondary",
13077
13207
  size: "sm",
@@ -13087,7 +13217,7 @@ ${details.latitude}`
13087
13217
  }, 8, ["disabled"])
13088
13218
  ])) : createCommentVNode("", true),
13089
13219
  ready.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
13090
- createVNode(_sfc_main$Y, {
13220
+ createVNode(_sfc_main$Z, {
13091
13221
  class: "ui-v1-yandex-map__control-button",
13092
13222
  appearance: "secondary",
13093
13223
  size: "sm",
@@ -13100,7 +13230,7 @@ ${details.latitude}`
13100
13230
  ]),
13101
13231
  _: 1
13102
13232
  }),
13103
- createVNode(_sfc_main$Y, {
13233
+ createVNode(_sfc_main$Z, {
13104
13234
  class: "ui-v1-yandex-map__control-button",
13105
13235
  appearance: "secondary",
13106
13236
  size: "sm",
@@ -13120,42 +13250,43 @@ ${details.latitude}`
13120
13250
  });
13121
13251
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13122
13252
  __proto__: null,
13123
- UiAddButton: _sfc_main$10,
13124
- UiAlert: _sfc_main$11,
13125
- UiAvatar: _sfc_main$_,
13126
- UiAvatarList: _sfc_main$Z,
13127
- UiButton: _sfc_main$Y,
13128
- UiCalendar: _sfc_main$U,
13129
- UiCheckbox: _sfc_main$T,
13130
- UiCollapse: _sfc_main$S,
13131
- UiCollapseBox: _sfc_main$R,
13132
- UiCollapseGroup: _sfc_main$Q,
13133
- UiCopyButton: _sfc_main$N,
13134
- UiDate: _sfc_main$M,
13135
- UiDatePicker: _sfc_main$H,
13136
- UiError: _sfc_main$G,
13137
- UiImage: _sfc_main$$,
13138
- UiInfobox: _sfc_main$F,
13139
- UiLink: _sfc_main$E,
13140
- UiLoader: _sfc_main$D,
13141
- UiMenuItem: _sfc_main$K,
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,
13142
13272
  UiMenuItemGroup,
13143
- UiModalSidebar: _sfc_main$B,
13144
- UiModalWindow: _sfc_main$z,
13145
- UiModalWindowSurface: _sfc_main$A,
13146
- UiNumberStepper: _sfc_main$y,
13147
- UiPageHeader: _sfc_main$v,
13148
- UiPageHeaderLayout: _sfc_main$w,
13149
- UiPageHeaderTitle: _sfc_main$x,
13150
- UiPopper: _sfc_main$P,
13151
- UiPopperConnector: _sfc_main$u,
13152
- UiPopperTarget: _sfc_main$t,
13153
- UiRadio: _sfc_main$s,
13154
- UiRadioSwitchOptionShell: _sfc_main$r,
13155
- UiRadioSwitchRoot: _sfc_main$q,
13156
- UiScrollBox: _sfc_main$J,
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,
13157
13287
  UiSelectPopper: _sfc_main$o,
13158
13288
  UiSelectTrigger: _sfc_main$n,
13289
+ UiSkeleton: _sfc_main$q,
13159
13290
  UiSlider: _sfc_main$p,
13160
13291
  UiSwitch: _sfc_main$m,
13161
13292
  UiTab: _sfc_main$c,
@@ -13170,15 +13301,15 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
13170
13301
  UiTableSection: _sfc_main$e,
13171
13302
  UiTableSorter: _sfc_main$d,
13172
13303
  UiTag: _sfc_main$7,
13173
- UiTextbox: _sfc_main$L,
13304
+ UiTextbox: _sfc_main$M,
13174
13305
  UiTimePicker: _sfc_main$6,
13175
13306
  UiToggleButton: _sfc_main$5,
13176
13307
  UiToggleGroupRoot: _sfc_main$4,
13177
13308
  UiToolbar: _sfc_main$3,
13178
13309
  UiToolbarButton: _sfc_main$2,
13179
13310
  UiToolbarLink: _sfc_main$1,
13180
- UiTooltip: _sfc_main$O,
13181
- UiTransition: _sfc_main$12,
13311
+ UiTooltip: _sfc_main$P,
13312
+ UiTransition: _sfc_main$13,
13182
13313
  UiYandexMap: _sfc_main
13183
13314
  }, Symbol.toStringTag, { value: "Module" }));
13184
13315
  const createProvider = () => createProvider$1(components);
@@ -13189,46 +13320,50 @@ export {
13189
13320
  plugin$1 as I18nPlugin,
13190
13321
  ImageWorkersKey,
13191
13322
  plugin as ModalPlugin,
13192
- APPEARANCE$1 as RADIO_SWITCH_APPEARANCE,
13193
- SIZE$3 as RADIO_SWITCH_SIZE,
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,
13194
13328
  APPEARANCE as TAB_APPEARANCE,
13195
13329
  SIZE$2 as TAB_SIZE,
13196
- _sfc_main$10 as UiAddButton,
13197
- _sfc_main$11 as UiAlert,
13198
- _sfc_main$_ as UiAvatar,
13199
- _sfc_main$Z as UiAvatarList,
13200
- _sfc_main$Y as UiButton,
13201
- _sfc_main$U as UiCalendar,
13202
- _sfc_main$T as UiCheckbox,
13203
- _sfc_main$S as UiCollapse,
13204
- _sfc_main$R as UiCollapseBox,
13205
- _sfc_main$Q as UiCollapseGroup,
13206
- _sfc_main$N as UiCopyButton,
13207
- _sfc_main$M as UiDate,
13208
- _sfc_main$H as UiDatePicker,
13209
- _sfc_main$G as UiError,
13210
- _sfc_main$$ as UiImage,
13211
- _sfc_main$F as UiInfobox,
13212
- _sfc_main$E as UiLink,
13213
- _sfc_main$D as UiLoader,
13214
- _sfc_main$K as UiMenuItem,
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,
13215
13349
  UiMenuItemGroup,
13216
- _sfc_main$B as UiModalSidebar,
13217
- _sfc_main$z as UiModalWindow,
13218
- _sfc_main$A as UiModalWindowSurface,
13219
- _sfc_main$y as UiNumberStepper,
13220
- _sfc_main$v as UiPageHeader,
13221
- _sfc_main$w as UiPageHeaderLayout,
13222
- _sfc_main$x as UiPageHeaderTitle,
13223
- _sfc_main$P as UiPopper,
13224
- _sfc_main$u as UiPopperConnector,
13225
- _sfc_main$t as UiPopperTarget,
13226
- _sfc_main$s as UiRadio,
13227
- _sfc_main$r as UiRadioSwitchOptionShell,
13228
- _sfc_main$q as UiRadioSwitchRoot,
13229
- _sfc_main$J as UiScrollBox,
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,
13230
13364
  _sfc_main$o as UiSelectPopper,
13231
13365
  _sfc_main$n as UiSelectTrigger,
13366
+ _sfc_main$q as UiSkeleton,
13232
13367
  _sfc_main$p as UiSlider,
13233
13368
  _sfc_main$m as UiSwitch,
13234
13369
  _sfc_main$c as UiTab,
@@ -13243,15 +13378,15 @@ export {
13243
13378
  _sfc_main$e as UiTableSection,
13244
13379
  _sfc_main$d as UiTableSorter,
13245
13380
  _sfc_main$7 as UiTag,
13246
- _sfc_main$L as UiTextbox,
13381
+ _sfc_main$M as UiTextbox,
13247
13382
  _sfc_main$6 as UiTimePicker,
13248
13383
  _sfc_main$5 as UiToggleButton,
13249
13384
  _sfc_main$4 as UiToggleGroupRoot,
13250
13385
  _sfc_main$3 as UiToolbar,
13251
13386
  _sfc_main$2 as UiToolbarButton,
13252
13387
  _sfc_main$1 as UiToolbarLink,
13253
- _sfc_main$O as UiTooltip,
13254
- _sfc_main$12 as UiTransition,
13388
+ _sfc_main$P as UiTooltip,
13389
+ _sfc_main$13 as UiTransition,
13255
13390
  _sfc_main as UiYandexMap,
13256
13391
  VALIGN,
13257
13392
  VueI18n,
@@ -13259,5 +13394,6 @@ export {
13259
13394
  asRowClass,
13260
13395
  byRowKey,
13261
13396
  createProvider,
13397
+ guessDimensionStyleValue as guessSkeletonDimensionStyleValue,
13262
13398
  provider
13263
13399
  };