@profitliga/ui 2.0.3 → 2.0.5

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 (117) hide show
  1. package/dist/components/AlertDialog/AlertDialogAction.vue.js +2 -3
  2. package/dist/components/AlertDialog/AlertDialogCancel.vue.js +8 -9
  3. package/dist/components/AlertDialog/AlertDialogTrigger.vue.js +7 -8
  4. package/dist/components/Button/Button.css +1 -1
  5. package/dist/components/Button/Button.vue.js +5 -52
  6. package/dist/components/Button/Button.vue2.js +52 -3
  7. package/dist/components/Calendar/CalendarNext.vue.js +3 -4
  8. package/dist/components/Calendar/CalendarPrev.vue.js +7 -8
  9. package/dist/components/ConfirmDialog/ConfirmDialog.vue2.js +11 -12
  10. package/dist/components/DatePicker/DatePickerNext.vue.js +1 -2
  11. package/dist/components/DatePicker/DatePickerPrev.vue.js +7 -8
  12. package/dist/components/DateRangePicker/DateRangePickerNext.vue.js +6 -7
  13. package/dist/components/DateRangePicker/DateRangePickerPrev.vue.js +7 -8
  14. package/dist/components/RangeCalendar/RangeCalendarNext.vue.js +3 -4
  15. package/dist/components/RangeCalendar/RangeCalendarPrev.vue.js +3 -4
  16. package/dist/components/Schedule/Schedule.vue2.js +38 -39
  17. package/dist/components/index.js +391 -392
  18. package/dist/components/v2/AlertDialog/AlertDialog.css +1 -1
  19. package/dist/components/v2/AlertDialog/AlertDialog.types.d.ts +2 -2
  20. package/dist/components/v2/AlertDialog/AlertDialog.vue.d.ts +2 -2
  21. package/dist/components/v2/AlertDialog/AlertDialog.vue.js +2 -2
  22. package/dist/components/v2/AlertDialog/AlertDialog.vue2.js +29 -29
  23. package/dist/components/v2/Button/Button.css +1 -1
  24. package/dist/components/v2/Button/Button.vue.js +2 -2
  25. package/dist/components/v2/Checkbox/Checkbox.css +1 -1
  26. package/dist/components/v2/Checkbox/Checkbox.types.d.ts +11 -0
  27. package/dist/components/v2/Checkbox/Checkbox.vue.d.ts +2 -0
  28. package/dist/components/v2/Checkbox/Checkbox.vue.js +2 -2
  29. package/dist/components/v2/Checkbox/Checkbox.vue2.js +61 -49
  30. package/dist/components/v2/Combobox/Combobox.css +1 -1
  31. package/dist/components/v2/Combobox/Combobox.types.d.ts +24 -4
  32. package/dist/components/v2/Combobox/Combobox.vue.js +1 -1
  33. package/dist/components/v2/Combobox/Combobox.vue2.js +195 -188
  34. package/dist/components/v2/ConfirmDialog/ConfirmDialog.types.d.ts +2 -2
  35. package/dist/components/v2/ConfirmDialog/ConfirmDialog.vue.d.ts +2 -2
  36. package/dist/components/v2/ConfirmDialog/ConfirmDialog.vue.js +6 -6
  37. package/dist/components/v2/DatePicker/DatePicker.css +1 -1
  38. package/dist/components/v2/DatePicker/DatePicker.types.d.ts +2 -2
  39. package/dist/components/v2/DatePicker/DatePicker.vue.d.ts +2 -2
  40. package/dist/components/v2/DatePicker/DatePicker.vue.js +2 -2
  41. package/dist/components/v2/DatePicker/DatePicker.vue2.js +54 -54
  42. package/dist/components/v2/Divider/Divider.types.d.ts +8 -0
  43. package/dist/components/v2/DropdownMenu/DropdownMenu.types.d.ts +2 -2
  44. package/dist/components/v2/DropdownMenu/DropdownMenu.vue.d.ts +2 -2
  45. package/dist/components/v2/DropdownMenu/DropdownMenu.vue2.js +6 -6
  46. package/dist/components/v2/FileUpload/FileUpload.css +1 -1
  47. package/dist/components/v2/FileUpload/FileUpload.vue.js +2 -2
  48. package/dist/components/v2/FileUpload/FileUpload.vue2.js +16 -16
  49. package/dist/components/v2/FormField/FormField.css +1 -0
  50. package/dist/components/v2/FormField/FormField.types.d.ts +48 -0
  51. package/dist/components/v2/FormField/FormField.vue.d.ts +25 -0
  52. package/dist/components/v2/FormField/FormField.vue.js +8 -0
  53. package/dist/components/v2/FormField/FormField.vue2.js +54 -0
  54. package/dist/components/v2/FormField/index.d.ts +3 -0
  55. package/dist/components/v2/Image/Image.css +1 -0
  56. package/dist/components/v2/Image/Image.types.d.ts +26 -0
  57. package/dist/components/v2/Image/Image.vue.d.ts +16 -0
  58. package/dist/components/v2/Image/Image.vue.js +8 -0
  59. package/dist/components/v2/Image/Image.vue2.js +91 -0
  60. package/dist/components/v2/Image/ImageList.css +1 -0
  61. package/dist/components/v2/Image/ImageList.types.d.ts +28 -0
  62. package/dist/components/v2/Image/ImageList.vue.d.ts +15 -0
  63. package/dist/components/v2/Image/ImageList.vue.js +8 -0
  64. package/dist/components/v2/Image/ImageList.vue2.js +38 -0
  65. package/dist/components/v2/Image/index.d.ts +5 -0
  66. package/dist/components/v2/InputNumber/InputNumber.css +1 -1
  67. package/dist/components/v2/InputNumber/InputNumber.vue.js +2 -2
  68. package/dist/components/v2/InputNumber/InputNumber.vue2.js +22 -21
  69. package/dist/components/v2/InputSelect/InputSelect.types.d.ts +2 -2
  70. package/dist/components/v2/InputSelect/InputSelect.vue.d.ts +2 -2
  71. package/dist/components/v2/InputSelect/InputSelect.vue.js +14 -14
  72. package/dist/components/v2/InputSelect/InputSelectChip.css +1 -1
  73. package/dist/components/v2/InputSelect/InputSelectChip.vue.d.ts +3 -3
  74. package/dist/components/v2/InputSelect/InputSelectChip.vue.js +2 -2
  75. package/dist/components/v2/InputSelect/InputSelectChip.vue2.js +17 -17
  76. package/dist/components/v2/Popover/Popover.css +1 -1
  77. package/dist/components/v2/Popover/Popover.types.d.ts +15 -2
  78. package/dist/components/v2/Popover/Popover.vue.d.ts +3 -2
  79. package/dist/components/v2/Popover/Popover.vue.js +2 -2
  80. package/dist/components/v2/Popover/Popover.vue2.js +50 -49
  81. package/dist/components/v2/Radio/Radio.css +1 -1
  82. package/dist/components/v2/Radio/Radio.vue.d.ts +4 -0
  83. package/dist/components/v2/Radio/Radio.vue.js +1 -1
  84. package/dist/components/v2/Radio/Radio.vue2.js +57 -49
  85. package/dist/components/v2/Schedule/Schedule.css +1 -1
  86. package/dist/components/v2/Schedule/Schedule.types.d.ts +2 -2
  87. package/dist/components/v2/Schedule/Schedule.vue.d.ts +2 -2
  88. package/dist/components/v2/Schedule/Schedule.vue.js +3 -3
  89. package/dist/components/v2/Schedule/Schedule.vue2.js +58 -57
  90. package/dist/components/v2/Select/Select.css +1 -1
  91. package/dist/components/v2/Select/Select.types.d.ts +8 -2
  92. package/dist/components/v2/Select/Select.vue.js +3 -3
  93. package/dist/components/v2/Select/Select.vue2.js +102 -92
  94. package/dist/components/v2/Toast/Toast.types.d.ts +2 -2
  95. package/dist/components/v2/Toast/Toaster.css +1 -1
  96. package/dist/components/v2/Toast/Toaster.vue.d.ts +2 -2
  97. package/dist/components/v2/Toast/Toaster.vue.js +1 -1
  98. package/dist/components/v2/Toast/Toaster.vue2.js +17 -17
  99. package/dist/components/v2/Tooltip/Tooltip.css +1 -1
  100. package/dist/components/v2/Tooltip/Tooltip.types.d.ts +2 -2
  101. package/dist/components/v2/Tooltip/Tooltip.vue.d.ts +2 -2
  102. package/dist/components/v2/Tooltip/Tooltip.vue.js +1 -1
  103. package/dist/components/v2/Tooltip/Tooltip.vue2.js +39 -38
  104. package/dist/components/v2/Tooltip/TooltipContent.css +1 -1
  105. package/dist/components/v2/Tooltip/TooltipContent.vue.d.ts +2 -2
  106. package/dist/components/v2/Tooltip/TooltipContent.vue.js +2 -2
  107. package/dist/components/v2/Tooltip/TooltipContent.vue2.js +20 -20
  108. package/dist/components/v2/Tooltip/vTooltip.directive.js +40 -41
  109. package/dist/components/v2/index.d.ts +2 -0
  110. package/dist/components/v2/index.js +82 -76
  111. package/dist/components/v2/shared/isHtmlElement.util.d.ts +15 -0
  112. package/dist/components/v2/shared/isHtmlElement.util.js +10 -0
  113. package/dist/components/v2/shared/useIsMobile.util.d.ts +13 -0
  114. package/dist/components/v2/shared/useIsMobile.util.js +8 -0
  115. package/dist/components/v2/shared/useTriggerAria.util.js +4 -3
  116. package/dist/types/global.types.d.ts +10 -0
  117. package/package.json +3 -1
@@ -1,7 +1,7 @@
1
- import { defineComponent as $, useModel as p, useTemplateRef as M, computed as n, openBlock as h, createBlock as B, unref as L, mergeProps as P, createSlots as W, withCtx as a, createVNode as g, renderSlot as i, mergeModels as m } from "vue";
2
- import { useElementSize as C } from "@vueuse/core";
3
- import I from "../Input/Input.vue.js";
4
- import S from "./InputSelectChip.vue.js";
1
+ import { defineComponent as $, useModel as p, useTemplateRef as B, computed as s, openBlock as M, createBlock as h, unref as L, mergeProps as g, createSlots as P, withCtx as a, createVNode as S, renderSlot as i, mergeModels as m } from "vue";
2
+ import { useElementSize as W } from "@vueuse/core";
3
+ import C from "../Input/Input.vue.js";
4
+ import I from "./InputSelectChip.vue.js";
5
5
  const R = 234, F = /* @__PURE__ */ $({
6
6
  inheritAttrs: !1,
7
7
  __name: "InputSelect",
@@ -10,7 +10,7 @@ const R = 234, F = /* @__PURE__ */ $({
10
10
  selectPlaceholder: { default: "Label" },
11
11
  selectLabel: { default: void 0 },
12
12
  dropdownWidth: { default: void 0 },
13
- breakpointMobile: { default: "sm" },
13
+ breakpointMobile: { type: [String, Boolean], default: "sm" },
14
14
  size: { default: "default" },
15
15
  nativeType: { default: "text" },
16
16
  label: { default: void 0 },
@@ -40,11 +40,11 @@ const R = 234, F = /* @__PURE__ */ $({
40
40
  }),
41
41
  emits: /* @__PURE__ */ m(["input", "change", "focus", "blur", "enter", "clear", "select"], ["update:modelValue", "update:selected"]),
42
42
  setup(o, { emit: b }) {
43
- const s = o, d = b, u = p(o, "modelValue"), r = p(o, "selected"), f = M("inputRef"), v = n(() => f.value?.$el), { width: c } = C(v), y = n(
44
- () => s.dropdownWidth ?? (Math.round(c.value) || R)
45
- ), k = n(
46
- () => s.selectLabel ?? s.selectPlaceholder
47
- ), V = n(() => {
43
+ const n = o, d = b, u = p(o, "modelValue"), r = p(o, "selected"), f = B("inputRef"), v = s(() => f.value?.$el), { width: c } = W(v), y = s(
44
+ () => n.dropdownWidth ?? (Math.round(c.value) || R)
45
+ ), k = s(
46
+ () => n.selectLabel ?? n.selectPlaceholder
47
+ ), V = s(() => {
48
48
  const {
49
49
  options: t,
50
50
  selectPlaceholder: e,
@@ -52,10 +52,10 @@ const R = 234, F = /* @__PURE__ */ $({
52
52
  dropdownWidth: T,
53
53
  breakpointMobile: x,
54
54
  ...w
55
- } = s;
55
+ } = n;
56
56
  return w;
57
57
  });
58
- return (t, e) => (h(), B(L(I), P({
58
+ return (t, e) => (M(), h(L(C), g({
59
59
  ref_key: "inputRef",
60
60
  ref: f,
61
61
  modelValue: u.value,
@@ -68,9 +68,9 @@ const R = 234, F = /* @__PURE__ */ $({
68
68
  onBlur: e[6] || (e[6] = (l) => d("blur", l)),
69
69
  onEnter: e[7] || (e[7] = (l) => d("enter", l)),
70
70
  onClear: e[8] || (e[8] = (l) => d("clear"))
71
- }), W({
71
+ }), P({
72
72
  "control-start": a(() => [
73
- g(S, {
73
+ S(I, {
74
74
  modelValue: r.value,
75
75
  "onUpdate:modelValue": e[0] || (e[0] = (l) => r.value = l),
76
76
  options: o.options,
@@ -1 +1 @@
1
- .input-chip[data-v-7ffc00f6]{flex-shrink:0;align-self:stretch;display:flex}.input-chip[data-v-7ffc00f6] .popover-trigger{align-items:stretch;display:flex}.input-chip__button[data-v-7ffc00f6]{padding:.5rem var(--field-chip-padding-x);font:inherit;font-weight:500;font-size:var(--field-chip-font-size);white-space:nowrap;color:var(--theme-primary-600);background-color:var(--theme-primary-75);cursor:pointer;transition:color var(--animation-duration-fast) ease, background-color var(--animation-duration-fast) ease;border:none;border-radius:.5rem;justify-content:center;align-items:center;gap:.25rem;line-height:1rem;display:flex}.input-chip__button[data-v-7ffc00f6]:hover:not(:disabled){background-color:var(--theme-primary-200)}.input-chip__button[data-v-7ffc00f6]:focus-visible{outline:.125rem solid var(--theme-primary-500);outline-offset:-.125rem}.input-chip__button[data-v-7ffc00f6]:disabled{cursor:not-allowed;color:var(--theme-neutral-300);background-color:var(--theme-neutral-surface-disabled)}.input-chip__label[data-v-7ffc00f6]{text-overflow:ellipsis;overflow:hidden}.input-chip__arrow[data-v-7ffc00f6]{width:var(--field-chip-icon-size);height:var(--field-chip-icon-size);flex-shrink:0}.input-chip-list[data-v-7ffc00f6]{outline:none;flex-direction:column;gap:.5rem;padding:.5rem;display:flex}.input-chip-list__option[data-v-7ffc00f6]{width:100%;min-height:2rem;font:inherit;text-align:left;color:var(--theme-neutral-text-title);cursor:pointer;transition:background-color var(--animation-duration-fast) ease;background-color:#0000;border:none;border-radius:.5rem;align-items:center;gap:.5rem;padding:.25rem .5rem;font-size:.875rem;font-weight:400;line-height:1.25rem;display:flex}.input-chip-list__option[data-v-7ffc00f6]:hover:not(.input-chip-list__option--disabled),.input-chip-list__option--active[data-v-7ffc00f6]{background-color:var(--theme-secondary-50)}.input-chip-list__option--disabled[data-v-7ffc00f6]{cursor:not-allowed;opacity:.5}.input-chip-list__label[data-v-7ffc00f6]{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}
1
+ .input-chip[data-v-6f0af893]{flex-shrink:0;align-self:stretch;display:flex}.input-chip[data-v-6f0af893] .popover-trigger{align-items:stretch;display:flex}.input-chip__button[data-v-6f0af893]{padding:.5rem var(--field-chip-padding-x);font:inherit;font-weight:500;font-size:var(--field-chip-font-size);white-space:nowrap;color:var(--theme-primary-600);background-color:var(--theme-primary-75);cursor:pointer;transition:color var(--animation-duration-fast) ease, background-color var(--animation-duration-fast) ease;border:none;border-radius:.5rem;justify-content:center;align-items:center;gap:.25rem;line-height:1rem;display:flex}.input-chip__button[data-v-6f0af893]:hover:not(:disabled){background-color:var(--theme-primary-200)}.input-chip__button[data-v-6f0af893]:focus-visible{outline:.125rem solid var(--theme-primary-500);outline-offset:-.125rem}.input-chip__button[data-v-6f0af893]:disabled{cursor:not-allowed;color:var(--theme-neutral-300);background-color:var(--theme-neutral-surface-disabled)}.input-chip__label[data-v-6f0af893]{text-overflow:ellipsis;overflow:hidden}.input-chip__arrow[data-v-6f0af893]{width:var(--field-chip-icon-size);height:var(--field-chip-icon-size);flex-shrink:0}.input-chip-list[data-v-6f0af893]{outline:none;flex-direction:column;gap:.5rem;padding:.5rem;display:flex}.input-chip-list__option[data-v-6f0af893]{width:100%;min-height:2rem;font:inherit;text-align:left;color:var(--theme-neutral-text-title);cursor:pointer;transition:background-color var(--animation-duration-fast) ease;background-color:#0000;border:none;border-radius:.5rem;align-items:center;gap:.5rem;padding:.25rem .5rem;font-size:.875rem;font-weight:400;line-height:1.25rem;display:flex}.input-chip-list__option[data-v-6f0af893]:hover:not(.input-chip-list__option--disabled),.input-chip-list__option--active[data-v-6f0af893]{background-color:var(--theme-secondary-50)}.input-chip-list__option--disabled[data-v-6f0af893]{cursor:not-allowed;opacity:.5}.input-chip-list__label[data-v-6f0af893]{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}
@@ -1,4 +1,4 @@
1
- import { TBreakpoints } from '../../../types/global.types';
1
+ import { TBreakpointMobile } from '../../../types/global.types';
2
2
  import { InputSelectOption } from './InputSelect.types';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
4
  interface Props {
@@ -10,7 +10,7 @@ interface Props {
10
10
  /** Доступное имя чипа и списка */
11
11
  label: string;
12
12
  disabled?: boolean;
13
- breakpointMobile?: TBreakpoints;
13
+ breakpointMobile?: TBreakpointMobile;
14
14
  testId?: string;
15
15
  }
16
16
  type __VLS_Props = Props;
@@ -25,7 +25,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
25
25
  onSelect?: ((option: InputSelectOption) => any) | undefined;
26
26
  }>, {
27
27
  disabled: boolean;
28
- breakpointMobile: TBreakpoints;
28
+ breakpointMobile: TBreakpointMobile;
29
29
  testId: string;
30
30
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
31
31
  listRef: HTMLDivElement;
@@ -2,7 +2,7 @@ import './InputSelectChip.css';
2
2
  import t from "./InputSelectChip.vue2.js";
3
3
  /* empty css */
4
4
  import o from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const c = /* @__PURE__ */ o(t, [["__scopeId", "data-v-7ffc00f6"]]);
5
+ const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-6f0af893"]]);
6
6
  export {
7
- c as default
7
+ a as default
8
8
  };
@@ -1,28 +1,28 @@
1
- import { defineComponent as N, useModel as O, ref as y, useId as P, useTemplateRef as U, computed as b, watch as h, openBlock as m, createElementBlock as _, createVNode as g, unref as u, withCtx as E, createElementVNode as f, Fragment as q, renderList as H, mergeProps as $, toDisplayString as C, mergeModels as S, nextTick as j } from "vue";
1
+ import { defineComponent as N, useModel as O, ref as M, useId as P, useTemplateRef as U, computed as b, watch as h, openBlock as m, createElementBlock as _, createVNode as g, unref as u, withCtx as E, createElementVNode as f, Fragment as q, renderList as H, mergeProps as S, toDisplayString as $, mergeModels as C, nextTick as j } from "vue";
2
2
  import { ChevronDown as z } from "@lucide/vue";
3
3
  import G from "../Popover/Popover.vue.js";
4
4
  import J from "../Radio/RadioMarker.vue.js";
5
5
  import { useTestId as Q } from "../shared/useTestId.util.js";
6
6
  const W = { class: "input-chip" }, X = ["disabled"], Y = { class: "input-chip__label" }, Z = ["aria-label", "aria-activedescendant"], ee = ["id", "aria-selected", "aria-disabled", "onClick", "onMouseenter"], te = { class: "input-chip-list__label" }, re = /* @__PURE__ */ N({
7
7
  __name: "InputSelectChip",
8
- props: /* @__PURE__ */ S({
8
+ props: /* @__PURE__ */ C({
9
9
  options: {},
10
10
  width: {},
11
11
  placeholder: {},
12
12
  label: {},
13
13
  disabled: { type: Boolean, default: !1 },
14
- breakpointMobile: { default: "sm" },
14
+ breakpointMobile: { type: [String, Boolean], default: "sm" },
15
15
  testId: { default: void 0 }
16
16
  }, {
17
17
  modelValue: { default: void 0 },
18
18
  modelModifiers: {}
19
19
  }),
20
- emits: /* @__PURE__ */ S(["select"], ["update:modelValue"]),
21
- setup(o, { emit: R }) {
22
- const i = o, V = R, r = O(o, "modelValue"), s = y(!1), d = `input-chip-list-${P()}`, k = Q(() => i.testId), p = U("listRef"), a = y(-1), B = b(
20
+ emits: /* @__PURE__ */ C(["select"], ["update:modelValue"]),
21
+ setup(o, { emit: B }) {
22
+ const i = o, R = B, r = O(o, "modelValue"), s = M(!1), d = `input-chip-list-${P()}`, k = Q(() => i.testId), p = U("listRef"), a = M(-1), V = b(
23
23
  () => i.options.find((e) => e.value === r.value)
24
24
  ), T = b(
25
- () => B.value?.label ?? i.placeholder
25
+ () => V.value?.label ?? i.placeholder
26
26
  ), A = b(
27
27
  () => a.value === -1 ? void 0 : `${d}-option-${a.value}`
28
28
  );
@@ -74,17 +74,17 @@ const W = { class: "input-chip" }, X = ["disabled"], Y = { class: "input-chip__l
74
74
  case " ": {
75
75
  const l = i.options[a.value];
76
76
  if (!l) break;
77
- e.preventDefault(), D(l);
77
+ e.preventDefault(), y(l);
78
78
  break;
79
79
  }
80
80
  }
81
81
  }
82
- function D(e) {
83
- e.disabled || (r.value = e.value, V("select", e), s.value = !1);
82
+ function y(e) {
83
+ e.disabled || (r.value = e.value, R("select", e), s.value = !1);
84
84
  }
85
- let M = null;
85
+ let D = null;
86
86
  return h(s, (e) => {
87
- e ? (M = document.activeElement, a.value = -1) : (a.value = -1, M?.focus());
87
+ e ? (D = document.activeElement, a.value = -1) : (a.value = -1, D?.focus());
88
88
  }), h(p, (e) => {
89
89
  e && s.value && I();
90
90
  }), h(
@@ -107,12 +107,12 @@ const W = { class: "input-chip" }, X = ["disabled"], Y = { class: "input-chip__l
107
107
  "trigger-controls": d
108
108
  }, {
109
109
  trigger: E(({ props: t }) => [
110
- f("button", $({
110
+ f("button", S({
111
111
  type: "button",
112
112
  class: "input-chip__button",
113
113
  disabled: o.disabled
114
114
  }, { ...t, ...u(k)("select-trigger") }), [
115
- f("span", Y, C(T.value), 1),
115
+ f("span", Y, $(T.value), 1),
116
116
  g(u(z), {
117
117
  class: "input-chip__arrow",
118
118
  "stroke-width": 2,
@@ -132,7 +132,7 @@ const W = { class: "input-chip" }, X = ["disabled"], Y = { class: "input-chip__l
132
132
  class: "input-chip-list",
133
133
  onKeydown: L
134
134
  }, [
135
- (m(!0), _(q, null, H(o.options, (t, n) => (m(), _("div", $({
135
+ (m(!0), _(q, null, H(o.options, (t, n) => (m(), _("div", S({
136
136
  id: `${d}-option-${n}`,
137
137
  key: t.value,
138
138
  role: "option",
@@ -144,7 +144,7 @@ const W = { class: "input-chip" }, X = ["disabled"], Y = { class: "input-chip__l
144
144
  "aria-selected": t.value === r.value,
145
145
  "aria-disabled": t.disabled || void 0
146
146
  }, { ref_for: !0 }, u(k)("select-option", t.value), {
147
- onClick: (c) => D(t),
147
+ onClick: (c) => y(t),
148
148
  onMouseenter: (c) => K(n, t.disabled)
149
149
  }), [
150
150
  g(u(J), {
@@ -152,7 +152,7 @@ const W = { class: "input-chip" }, X = ["disabled"], Y = { class: "input-chip__l
152
152
  disabled: t.disabled,
153
153
  state: a.value === n ? "hover" : "default"
154
154
  }, null, 8, ["checked", "disabled", "state"]),
155
- f("span", te, C(t.label), 1)
155
+ f("span", te, $(t.label), 1)
156
156
  ], 16, ee))), 128))
157
157
  ], 40, Z)
158
158
  ]),
@@ -1 +1 @@
1
- .popover-trigger[data-v-a20b3039]{display:block}.popover-mobile[data-v-a20b3039]{width:100%}.popover-content[data-v-a20b3039]{z-index:1001;background-color:var(--theme-neutral-0);filter:drop-shadow(-1px 1px 10px #8d8f9340);border-radius:16px;position:fixed}.popover-content[data-state=open][data-v-a20b3039]{animation:fadeIn var(--animation-duration) ease-in-out}.popover-content[data-state=closed][data-v-a20b3039]{animation:fadeOut var(--animation-duration) ease-in-out}.popover-arrow[data-v-a20b3039]{background-color:var(--theme-neutral-0);pointer-events:none;width:10px;height:10px;position:absolute;transform:rotate(45deg)}.popover-arrow--bottom[data-v-a20b3039]{top:-5px}.popover-arrow--top[data-v-a20b3039]{bottom:-5px}.popover-arrow--right[data-v-a20b3039]{left:-5px}.popover-arrow--left[data-v-a20b3039]{right:-5px}
1
+ .popover-trigger[data-v-cb7adfa2]{display:block}.popover-trigger--content[data-v-cb7adfa2]{width:fit-content}.popover-mobile[data-v-cb7adfa2]{width:100%}.popover-content[data-v-cb7adfa2]{z-index:1001;background-color:var(--theme-neutral-0);filter:drop-shadow(-1px 1px 10px #8d8f9340);border-radius:16px;position:fixed}.popover-content[data-state=open][data-v-cb7adfa2]{animation:fadeIn var(--animation-duration) ease-in-out}.popover-content[data-state=closed][data-v-cb7adfa2]{animation:fadeOut var(--animation-duration) ease-in-out}.popover-arrow[data-v-cb7adfa2]{background-color:var(--theme-neutral-0);pointer-events:none;width:10px;height:10px;position:absolute;transform:rotate(45deg)}.popover-arrow--bottom[data-v-cb7adfa2]{top:-5px}.popover-arrow--top[data-v-cb7adfa2]{bottom:-5px}.popover-arrow--right[data-v-cb7adfa2]{left:-5px}.popover-arrow--left[data-v-cb7adfa2]{right:-5px}
@@ -1,4 +1,4 @@
1
- import { TBreakpoints } from '../../../types/global.types';
1
+ import { TBreakpointMobile } from '../../../types/global.types';
2
2
  export type PopoverSide = 'top' | 'right' | 'bottom' | 'left';
3
3
  export type PopoverAlign = 'start' | 'center' | 'end';
4
4
  export interface PopoverProps {
@@ -9,7 +9,7 @@ export interface PopoverProps {
9
9
  alignOffset?: number;
10
10
  arrow?: boolean;
11
11
  zIndex?: number | 'auto';
12
- breakpointMobile?: TBreakpoints;
12
+ breakpointMobile?: TBreakpointMobile;
13
13
  disableOutsidePointerEvents?: boolean;
14
14
  /**
15
15
  * Доступное имя попапа (`aria-label`). Роль `dialog` проставляется только
@@ -32,6 +32,19 @@ export interface PopoverProps {
32
32
  * именно на него — иначе связь ведёт на безролевую обёртку.
33
33
  */
34
34
  triggerControls?: string;
35
+ /**
36
+ * Ширина обёртки слота `trigger`.
37
+ *
38
+ * По умолчанию `full` — обёртка блочная и занимает всю доступную ширину.
39
+ * Так нужно тем, у кого сам триггер растянут по ней (`Select` задаёт
40
+ * кнопке `width: 100%`, и от `content` она схлопнулась бы в ноль).
41
+ *
42
+ * `content` обтягивает содержимое. Нужно полям, которые в макете идут по
43
+ * своему содержимому, а не по ширине контейнера: иначе обёртка
44
+ * растягивается на всю строку, ловит клики мимо поля и сдвигает точку, от
45
+ * которой считается положение попапа.
46
+ */
47
+ triggerWidth?: 'full' | 'content';
35
48
  /**
36
49
  * Удерживать фокус внутри попапа, пока он открыт, и вернуть его на триггер
37
50
  * при закрытии. Отключается для попапов, которые управляют фокусом сами.
@@ -1,6 +1,6 @@
1
1
  import { PopoverProps, PopoverSide, PopoverAlign } from './Popover.types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { TBreakpoints } from '../../../types/global.types';
3
+ import { TBreakpointMobile } from '../../../types/global.types';
4
4
  type __VLS_Props = PopoverProps;
5
5
  type __VLS_PublicProps = {
6
6
  'open'?: boolean;
@@ -43,12 +43,13 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
43
43
  sideOffset: number;
44
44
  align: PopoverAlign;
45
45
  alignOffset: number;
46
- breakpointMobile: TBreakpoints;
46
+ breakpointMobile: TBreakpointMobile;
47
47
  arrow: boolean;
48
48
  testId: string;
49
49
  labelledBy: string;
50
50
  triggerHasPopup: "dialog" | "menu" | "listbox" | "grid" | "tree";
51
51
  triggerControls: string;
52
+ triggerWidth: "full" | "content";
52
53
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
53
54
  triggerRef: HTMLSpanElement;
54
55
  contentRef: HTMLDivElement;
@@ -2,7 +2,7 @@ import './Popover.css';
2
2
  import o from "./Popover.vue2.js";
3
3
  /* empty css */
4
4
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a20b3039"]]);
5
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cb7adfa2"]]);
6
6
  export {
7
- m as default
7
+ f as default
8
8
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as se, useModel as ae, useId as le, computed as g, useTemplateRef as F, reactive as K, ref as re, watch as de, onBeforeUnmount as fe, openBlock as h, createElementBlock as T, Fragment as ue, mergeProps as z, unref as c, renderSlot as S, createCommentVNode as A, createBlock as W, withCtx as U, createElementVNode as G, mergeModels as Z, nextTick as ce } from "vue";
2
- import { breakpoints as pe } from "../../../utils/breakpoints.util.js";
3
- import { onClickOutside as me } from "../../../utils/onClickOutside.util.js";
4
- import { useFocusTrap as ve } from "../../../utils/useFocusTrap.util.js";
5
- import ge from "../BottomSheet/BottomSheet.vue.js";
1
+ import { defineComponent as se, useModel as ae, useId as le, computed as m, useTemplateRef as W, reactive as F, ref as re, watch as de, onBeforeUnmount as fe, openBlock as h, createElementBlock as T, Fragment as ue, mergeProps as z, unref as c, renderSlot as S, createCommentVNode as A, createBlock as K, withCtx as U, createElementVNode as G, mergeModels as Z, nextTick as ce } from "vue";
2
+ import { onClickOutside as pe } from "../../../utils/onClickOutside.util.js";
3
+ import { useFocusTrap as ge } from "../../../utils/useFocusTrap.util.js";
4
+ import ve from "../BottomSheet/BottomSheet.vue.js";
6
5
  import { ANIMATION_DURATION_MS as j } from "../shared/animation.const.js";
7
- import he from "../shared/Portal.vue.js";
8
- import { useDelayedVisibility as we } from "../shared/useDelayedVisibility.util.js";
6
+ import me from "../shared/Portal.vue.js";
7
+ import { useDelayedVisibility as he } from "../shared/useDelayedVisibility.util.js";
8
+ import { useIsMobile as we } from "../shared/useIsMobile.util.js";
9
9
  import { useTestId as be } from "../shared/useTestId.util.js";
10
10
  import { useTriggerAria as ye } from "../shared/useTriggerAria.util.js";
11
- const Oe = { class: "popover-mobile" }, xe = ["role", "aria-label", "aria-labelledby", "data-state"], M = 10, p = 8, ze = /* @__PURE__ */ se({
11
+ const Oe = { class: "popover-mobile" }, xe = ["role", "aria-label", "aria-labelledby", "data-state"], k = 10, p = 8, ze = /* @__PURE__ */ se({
12
12
  inheritAttrs: !1,
13
13
  __name: "Popover",
14
14
  props: /* @__PURE__ */ Z({
@@ -19,12 +19,13 @@ const Oe = { class: "popover-mobile" }, xe = ["role", "aria-label", "aria-labell
19
19
  alignOffset: { default: 0 },
20
20
  arrow: { type: Boolean, default: !0 },
21
21
  zIndex: { default: "auto" },
22
- breakpointMobile: { default: "sm" },
22
+ breakpointMobile: { type: [String, Boolean], default: "sm" },
23
23
  disableOutsidePointerEvents: { type: Boolean, default: !1 },
24
24
  label: { default: void 0 },
25
25
  labelledBy: { default: void 0 },
26
26
  triggerHasPopup: { default: "dialog" },
27
27
  triggerControls: { default: void 0 },
28
+ triggerWidth: { default: "full" },
28
29
  trapFocus: { type: Boolean, default: !0 },
29
30
  testId: { default: void 0 }
30
31
  }, {
@@ -32,14 +33,14 @@ const Oe = { class: "popover-mobile" }, xe = ["role", "aria-label", "aria-labell
32
33
  openModifiers: {}
33
34
  }),
34
35
  emits: /* @__PURE__ */ Z(["escapeKeyDown", "pointerDownOutside"], ["update:open"]),
35
- setup(a, { emit: q }) {
36
- const e = a, w = q, r = ae(a, "open"), H = pe.smaller(e.breakpointMobile), E = `popover-content-${le()}`, R = be(() => e.testId), J = g(
36
+ setup(s, { emit: q }) {
37
+ const e = s, w = q, r = ae(s, "open"), H = we(e.breakpointMobile), E = `popover-content-${le()}`, I = be(() => e.testId), J = m(
37
38
  () => e.label || e.labelledBy ? "dialog" : void 0
38
39
  );
39
40
  function Q() {
40
41
  r.value = !r.value;
41
42
  }
42
- const X = g(() => ({
43
+ const X = m(() => ({
43
44
  "aria-haspopup": e.triggerHasPopup,
44
45
  "aria-expanded": r.value,
45
46
  "aria-controls": r.value ? E : void 0
@@ -47,25 +48,25 @@ const Oe = { class: "popover-mobile" }, xe = ["role", "aria-label", "aria-labell
47
48
  function N() {
48
49
  r.value = !1;
49
50
  }
50
- const Y = g(() => r.value && !H.value), b = F("triggerRef"), m = F("contentRef"), I = ve(() => m.value);
51
+ const Y = m(() => r.value && !H.value), b = W("triggerRef"), g = W("contentRef"), R = ge(() => g.value);
51
52
  ye({
52
53
  host: () => b.value,
53
54
  isOpen: () => r.value,
54
55
  contentId: () => e.triggerControls ?? E,
55
56
  hasPopup: () => e.triggerHasPopup
56
57
  });
57
- const l = K({
58
+ const l = F({
58
59
  top: 0,
59
60
  left: 0,
60
61
  side: e.side
61
- }), y = K({ x: 0, y: 0 }), B = re(!1);
62
+ }), y = F({ x: 0, y: 0 }), B = re(!1);
62
63
  function _() {
63
- const o = b.value, s = m.value;
64
- if (!o || !s) return;
65
- const t = o.getBoundingClientRect(), n = s.getBoundingClientRect(), x = window.innerWidth, V = window.innerHeight, D = V - t.bottom, $ = t.top, C = t.left, L = x - t.right;
64
+ const o = b.value, a = g.value;
65
+ if (!o || !a) return;
66
+ const t = o.getBoundingClientRect(), n = a.getBoundingClientRect(), x = window.innerWidth, V = window.innerHeight, $ = V - t.bottom, D = t.top, C = t.left, L = x - t.right;
66
67
  let i = e.side;
67
- const k = i === "top" || i === "bottom" ? n.height : n.width;
68
- i === "bottom" && D < k + e.sideOffset && $ > D ? i = "top" : i === "top" && $ < k + e.sideOffset && D > $ ? i = "bottom" : i === "right" && L < k + e.sideOffset && C > L ? i = "left" : i === "left" && C < k + e.sideOffset && L > C && (i = "right");
68
+ const M = i === "top" || i === "bottom" ? n.height : n.width;
69
+ i === "bottom" && $ < M + e.sideOffset && D > $ ? i = "top" : i === "top" && D < M + e.sideOffset && $ > D ? i = "bottom" : i === "right" && L < M + e.sideOffset && C > L ? i = "left" : i === "left" && C < M + e.sideOffset && L > C && (i = "right");
69
70
  let f, u;
70
71
  i === "bottom" || i === "top" ? (f = i === "bottom" ? t.bottom + e.sideOffset : t.top - n.height - e.sideOffset, e.align === "start" ? u = t.left + e.alignOffset : e.align === "end" ? u = t.right - n.width - e.alignOffset : u = t.left + t.width / 2 - n.width / 2 + e.alignOffset) : (u = i === "right" ? t.right + e.sideOffset : t.left - n.width - e.sideOffset, e.align === "start" ? f = t.top + e.alignOffset : e.align === "end" ? f = t.bottom - n.height - e.alignOffset : f = t.top + t.height / 2 - n.height / 2 + e.alignOffset), u = Math.min(
71
72
  Math.max(u, p),
@@ -81,19 +82,19 @@ const Oe = { class: "popover-mobile" }, xe = ["role", "aria-label", "aria-labell
81
82
  )
82
83
  ), l.top = f, l.left = u, l.side = i, y.x = t.left + t.width / 2, y.y = t.top + t.height / 2, B.value = !0;
83
84
  }
84
- const ee = g(() => ({
85
+ const ee = m(() => ({
85
86
  top: `${l.top}px`,
86
87
  left: `${l.left}px`,
87
88
  width: `${e.width}px`,
88
89
  visibility: B.value ? void 0 : "hidden",
89
90
  ...e.zIndex !== "auto" ? { zIndex: e.zIndex } : {}
90
- })), te = g(() => {
91
+ })), te = m(() => {
91
92
  if (l.side === "top" || l.side === "bottom") {
92
- const n = Math.max(12, e.width - 12 - M), x = y.x - l.left - M / 2;
93
+ const n = Math.max(12, e.width - 12 - k), x = y.x - l.left - k / 2;
93
94
  return { left: `${Math.min(Math.max(x, 12), n)}px` };
94
95
  }
95
- const o = m.value?.offsetHeight ?? 0, s = Math.max(12, o - 12 - M), t = y.y - l.top - M / 2;
96
- return { top: `${Math.min(Math.max(t, 12), s)}px` };
96
+ const o = g.value?.offsetHeight ?? 0, a = Math.max(12, o - 12 - k), t = y.y - l.top - k / 2;
97
+ return { top: `${Math.min(Math.max(t, 12), a)}px` };
97
98
  });
98
99
  function d() {
99
100
  ce(_);
@@ -104,44 +105,44 @@ const Oe = { class: "popover-mobile" }, xe = ["role", "aria-label", "aria-labell
104
105
  function oe(o) {
105
106
  w("pointerDownOutside", o), !e.disableOutsidePointerEvents && !o.defaultPrevented && N();
106
107
  }
107
- const { visible: ie, dataState: ne } = we(
108
+ const { visible: ie, dataState: ne } = he(
108
109
  Y,
109
110
  j,
110
111
  {
111
112
  onOpen: () => {
112
- B.value = !1, document.addEventListener("keydown", P), window.addEventListener("resize", d), window.addEventListener("scroll", d, !0), d(), e.trapFocus && I.activate({ focusDelayMs: j });
113
+ B.value = !1, document.addEventListener("keydown", P), window.addEventListener("resize", d), window.addEventListener("scroll", d, !0), d(), e.trapFocus && R.activate({ focusDelayMs: j });
113
114
  },
114
115
  onCloseStart: () => {
115
- document.removeEventListener("keydown", P), window.removeEventListener("resize", d), window.removeEventListener("scroll", d, !0), I.deactivate();
116
+ document.removeEventListener("keydown", P), window.removeEventListener("resize", d), window.removeEventListener("scroll", d, !0), R.deactivate();
116
117
  }
117
118
  }
118
119
  );
119
120
  let O, v;
120
- return de(m, (o) => {
121
- O?.(), v?.disconnect(), o ? (O = me(o, oe, {
121
+ return de(g, (o) => {
122
+ O?.(), v?.disconnect(), o ? (O = pe(o, oe, {
122
123
  ignore: [b]
123
124
  }), v = new ResizeObserver(d), v.observe(o)) : (O = void 0, v = void 0);
124
125
  }), fe(() => {
125
- O?.(), v?.disconnect(), document.removeEventListener("keydown", P), window.removeEventListener("resize", d), window.removeEventListener("scroll", d, !0), I.deactivate();
126
- }), (o, s) => (h(), T(ue, null, [
126
+ O?.(), v?.disconnect(), document.removeEventListener("keydown", P), window.removeEventListener("resize", d), window.removeEventListener("scroll", d, !0), R.deactivate();
127
+ }), (o, a) => (h(), T(ue, null, [
127
128
  o.$slots.trigger ? (h(), T("span", z({
128
129
  key: 0,
129
130
  ref_key: "triggerRef",
130
131
  ref: b,
131
- class: "popover-trigger"
132
- }, c(R)("trigger"), { onClick: Q }), [
132
+ class: ["popover-trigger", `popover-trigger--${s.triggerWidth}`]
133
+ }, c(I)("trigger"), { onClick: Q }), [
133
134
  S(o.$slots, "trigger", { props: X.value }, void 0, !0)
134
135
  ], 16)) : A("", !0),
135
- c(H) ? (h(), W(c(ge), {
136
+ c(H) ? (h(), K(c(ve), {
136
137
  key: 1,
137
138
  open: r.value,
138
- "onUpdate:open": s[0] || (s[0] = (t) => r.value = t),
139
- "disable-outside-pointer-events": a.disableOutsidePointerEvents,
140
- label: a.label,
141
- "labelled-by": a.labelledBy,
142
- "test-id": a.testId,
143
- onEscapeKeyDown: s[1] || (s[1] = (t) => w("escapeKeyDown", t)),
144
- onPointerDownOutside: s[2] || (s[2] = (t) => w("pointerDownOutside", t))
139
+ "onUpdate:open": a[0] || (a[0] = (t) => r.value = t),
140
+ "disable-outside-pointer-events": s.disableOutsidePointerEvents,
141
+ label: s.label,
142
+ "labelled-by": s.labelledBy,
143
+ "test-id": s.testId,
144
+ onEscapeKeyDown: a[1] || (a[1] = (t) => w("escapeKeyDown", t)),
145
+ onPointerDownOutside: a[2] || (a[2] = (t) => w("pointerDownOutside", t))
145
146
  }, {
146
147
  default: U(() => [
147
148
  G("div", Oe, [
@@ -149,24 +150,24 @@ const Oe = { class: "popover-mobile" }, xe = ["role", "aria-label", "aria-labell
149
150
  ])
150
151
  ]),
151
152
  _: 3
152
- }, 8, ["open", "disable-outside-pointer-events", "label", "labelled-by", "test-id"])) : c(ie) ? (h(), W(he, { key: 2 }, {
153
+ }, 8, ["open", "disable-outside-pointer-events", "label", "labelled-by", "test-id"])) : c(ie) ? (h(), K(me, { key: 2 }, {
153
154
  default: U(() => [
154
155
  G("div", z({
155
156
  id: E,
156
157
  ref_key: "contentRef",
157
- ref: m,
158
+ ref: g,
158
159
  role: J.value,
159
- "aria-label": a.labelledBy ? void 0 : a.label,
160
- "aria-labelledby": a.labelledBy,
160
+ "aria-label": s.labelledBy ? void 0 : s.label,
161
+ "aria-labelledby": s.labelledBy,
161
162
  "data-state": c(ne),
162
163
  class: "popover-content",
163
164
  style: ee.value
164
- }, { ...o.$attrs, ...c(R)("content") }), [
165
- a.arrow ? (h(), T("div", z({
165
+ }, { ...o.$attrs, ...c(I)("content") }), [
166
+ s.arrow ? (h(), T("div", z({
166
167
  key: 0,
167
168
  class: ["popover-arrow", `popover-arrow--${l.side}`],
168
169
  style: te.value
169
- }, c(R)("arrow")), null, 16)) : A("", !0),
170
+ }, c(I)("arrow")), null, 16)) : A("", !0),
170
171
  S(o.$slots, "default", {}, void 0, !0)
171
172
  ], 16, xe)
172
173
  ]),
@@ -1 +1 @@
1
- .radio[data-v-b337a8cb]{cursor:pointer;align-items:flex-start;gap:.5rem;display:inline-flex}.radio__input[data-v-b337a8cb]{clip-path:inset(50%);white-space:nowrap;border:0;width:.0625rem;height:.0625rem;margin:-.0625rem;padding:0;position:absolute;overflow:hidden}.radio__text[data-v-b337a8cb]{flex-direction:column;gap:.25rem;min-width:0;display:flex}.radio__label[data-v-b337a8cb]{color:var(--theme-neutral-text-title);overflow-wrap:break-word;font-size:.875rem;font-weight:400;line-height:1.25rem}.radio__description[data-v-b337a8cb]{color:var(--theme-neutral-text-caption);overflow-wrap:break-word;font-size:1rem;font-weight:400;line-height:1.25rem}.radio[data-v-b337a8cb]:not(:has(.radio__description)){align-items:center}.radio--small .radio__label[data-v-b337a8cb]{font-size:.75rem;line-height:1rem}.radio--disabled[data-v-b337a8cb]{cursor:not-allowed;opacity:.5}.radio--disabled .radio__label[data-v-b337a8cb]{color:var(--theme-neutral-500)}
1
+ .radio[data-v-1ce22716]{cursor:pointer;align-items:flex-start;gap:.5rem;display:inline-flex}.radio__input[data-v-1ce22716]{clip-path:inset(50%);white-space:nowrap;border:0;width:.0625rem;height:.0625rem;margin:-.0625rem;padding:0;position:absolute;overflow:hidden}.radio__text[data-v-1ce22716]{flex-direction:column;gap:.25rem;min-width:0;display:flex}.radio__content[data-v-1ce22716]{flex:1 1 0;min-width:0}.radio__label[data-v-1ce22716]{color:var(--theme-neutral-text-title);overflow-wrap:break-word;font-size:.875rem;font-weight:400;line-height:1.25rem}.radio__description[data-v-1ce22716]{color:var(--theme-neutral-text-caption);overflow-wrap:break-word;font-size:1rem;font-weight:400;line-height:1.25rem}.radio[data-v-1ce22716]:not(:has(.radio__description)):not(:has(.radio__content)){align-items:center}.radio--small .radio__label[data-v-1ce22716]{font-size:.75rem;line-height:1rem}.radio--disabled[data-v-1ce22716]{cursor:not-allowed;opacity:.5}.radio--disabled .radio__label[data-v-1ce22716]{color:var(--theme-neutral-500)}
@@ -7,6 +7,10 @@ type __VLS_PublicProps = {
7
7
  declare function __VLS_template(): {
8
8
  attrs: Partial<{}>;
9
9
  slots: {
10
+ content?(_: {
11
+ checked: boolean;
12
+ disabled: boolean;
13
+ }): any;
10
14
  default?(_: {}): any;
11
15
  description?(_: {}): any;
12
16
  };
@@ -2,7 +2,7 @@ import './Radio.css';
2
2
  import o from "./Radio.vue2.js";
3
3
  /* empty css */
4
4
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b337a8cb"]]);
5
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1ce22716"]]);
6
6
  export {
7
7
  p as default
8
8
  };