@bridge-ui/vue 0.12.0 → 0.14.0

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 (153) hide show
  1. package/ai/skills/bridge-ui-components/SKILL.md +2 -1
  2. package/ai/skills/bridge-ui-forms/SKILL.md +3 -3
  3. package/dist/Adapters/Examples/date-moment.js +31 -31
  4. package/dist/Adapters/Examples/i18n-dictionary.js +14 -0
  5. package/dist/Adapters/Examples/icon-fontawesome.js +24 -22
  6. package/dist/Adapters/Examples/icon-heroicons.js +47 -45
  7. package/dist/Adapters/Examples/icon-lucide.js +13 -11
  8. package/dist/Adapters/Examples/icon-phosphor.js +49 -47
  9. package/dist/Adapters/Examples/icon-tabler.js +13 -11
  10. package/dist/Adapters/Examples/rich-text-tiptap.js +34 -41
  11. package/dist/Components/BaseField/composables/useBaseField.d.ts +3 -3
  12. package/dist/Components/BaseField/composables/useBaseField.js +7 -7
  13. package/dist/Components/Calendar/Calendar.vue.d.ts +14 -6
  14. package/dist/Components/Calendar/Calendar.vue_vue_type_script_setup_true_lang.js +78 -74
  15. package/dist/Components/Calendar/calendar.types.d.ts +12 -7
  16. package/dist/Components/Calendar/composables/useCalendar.d.ts +5 -9
  17. package/dist/Components/Calendar/composables/useCalendar.js +144 -143
  18. package/dist/Components/CalendarDate/CalendarDate.vue.d.ts +14 -6
  19. package/dist/Components/CalendarDate/CalendarDate.vue_vue_type_script_setup_true_lang.js +20 -16
  20. package/dist/Components/CalendarDate/calendarDate.types.d.ts +13 -8
  21. package/dist/Components/CalendarDate/composables/useCalendarDate.d.ts +4 -8
  22. package/dist/Components/CalendarDate/composables/useCalendarDate.js +105 -105
  23. package/dist/Components/CalendarMonth/CalendarMonth.vue.d.ts +9 -2
  24. package/dist/Components/CalendarMonth/CalendarMonth.vue_vue_type_script_setup_true_lang.js +19 -12
  25. package/dist/Components/CalendarMonth/calendarMonth.types.d.ts +14 -8
  26. package/dist/Components/CalendarMonth/composables/useCalendarMonth.d.ts +4 -7
  27. package/dist/Components/CalendarMonth/composables/useCalendarMonth.js +92 -89
  28. package/dist/Components/CalendarRange/CalendarRange.vue.d.ts +14 -6
  29. package/dist/Components/CalendarRange/CalendarRange.vue_vue_type_script_setup_true_lang.js +109 -105
  30. package/dist/Components/CalendarRange/calendarRange.types.d.ts +12 -7
  31. package/dist/Components/CalendarRange/composables/useCalendarRange.d.ts +5 -9
  32. package/dist/Components/CalendarRange/composables/useCalendarRange.js +181 -154
  33. package/dist/Components/CalendarYear/CalendarYear.vue.d.ts +9 -2
  34. package/dist/Components/CalendarYear/CalendarYear.vue_vue_type_script_setup_true_lang.js +20 -13
  35. package/dist/Components/CalendarYear/calendarYear.types.d.ts +12 -6
  36. package/dist/Components/CalendarYear/composables/useCalendarYear.d.ts +4 -7
  37. package/dist/Components/CalendarYear/composables/useCalendarYear.js +91 -88
  38. package/dist/Components/Carousel/Carousel.js +5 -0
  39. package/dist/Components/Carousel/Carousel.vue.d.ts +22 -0
  40. package/dist/Components/Carousel/Carousel.vue_vue_type_script_setup_true_lang.js +49 -0
  41. package/dist/Components/Carousel/carousel.types.d.ts +236 -0
  42. package/dist/Components/Carousel/carouselInjectionKey.d.ts +48 -0
  43. package/dist/Components/Carousel/carouselInjectionKey.js +4 -0
  44. package/dist/Components/Carousel/composables/useCarousel.d.ts +91 -0
  45. package/dist/Components/Carousel/composables/useCarousel.js +331 -0
  46. package/dist/Components/Carousel/index.d.ts +4 -0
  47. package/dist/Components/Carousel/index.js +4 -0
  48. package/dist/Components/CarouselSlide/CarouselSlide.js +5 -0
  49. package/dist/Components/CarouselSlide/CarouselSlide.vue.d.ts +11 -0
  50. package/dist/Components/CarouselSlide/CarouselSlide.vue_vue_type_script_setup_true_lang.js +17 -0
  51. package/dist/Components/CarouselSlide/carouselSlide.types.d.ts +40 -0
  52. package/dist/Components/CarouselSlide/composables/useCarouselSlide.d.ts +205 -0
  53. package/dist/Components/CarouselSlide/composables/useCarouselSlide.js +79 -0
  54. package/dist/Components/CarouselSlide/index.d.ts +3 -0
  55. package/dist/Components/CarouselSlide/index.js +3 -0
  56. package/dist/Components/ColorField/ColorField.vue_vue_type_script_setup_true_lang.js +2 -2
  57. package/dist/Components/ColorPicker/ColorPicker.vue.d.ts +9 -2
  58. package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +48 -44
  59. package/dist/Components/ColorPicker/colorPicker.types.d.ts +12 -7
  60. package/dist/Components/ColorPicker/composables/useColorPicker.d.ts +3 -3
  61. package/dist/Components/ColorPicker/composables/useColorPicker.js +150 -150
  62. package/dist/Components/DateField/DateField.vue_vue_type_script_setup_true_lang.js +2 -2
  63. package/dist/Components/DatePicker/DatePicker.vue.d.ts +12 -4
  64. package/dist/Components/DatePicker/DatePicker.vue_vue_type_script_setup_true_lang.js +55 -51
  65. package/dist/Components/DatePicker/composables/useDatePicker.d.ts +3 -3
  66. package/dist/Components/DatePicker/composables/useDatePicker.js +52 -25
  67. package/dist/Components/DatePicker/datePicker.types.d.ts +12 -7
  68. package/dist/Components/DateRangeField/DateRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
  69. package/dist/Components/DateRangePicker/DateRangePicker.vue.d.ts +12 -4
  70. package/dist/Components/DateRangePicker/DateRangePicker.vue_vue_type_script_setup_true_lang.js +54 -50
  71. package/dist/Components/DateRangePicker/composables/useDateRangePicker.d.ts +3 -3
  72. package/dist/Components/DateRangePicker/composables/useDateRangePicker.js +26 -26
  73. package/dist/Components/DateRangePicker/dateRangePicker.types.d.ts +12 -7
  74. package/dist/Components/DateTimeField/DateTimeField.vue_vue_type_script_setup_true_lang.js +2 -2
  75. package/dist/Components/DateTimePicker/DateTimePicker.vue.d.ts +9 -2
  76. package/dist/Components/DateTimePicker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +82 -78
  77. package/dist/Components/DateTimePicker/composables/useDateTimePicker.d.ts +3 -3
  78. package/dist/Components/DateTimePicker/composables/useDateTimePicker.js +64 -63
  79. package/dist/Components/DateTimePicker/dateTimePicker.types.d.ts +12 -7
  80. package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
  81. package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue.d.ts +12 -4
  82. package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue_vue_type_script_setup_true_lang.js +110 -106
  83. package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.d.ts +3 -3
  84. package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.js +71 -70
  85. package/dist/Components/DateTimeRangePicker/dateTimeRangePicker.types.d.ts +12 -7
  86. package/dist/Components/FileUpload/FileUpload.vue.d.ts +22 -24
  87. package/dist/Components/FileUpload/FileUpload.vue_vue_type_script_setup_true_lang.js +101 -92
  88. package/dist/Components/FileUpload/composables/useFileUpload.d.ts +66 -16
  89. package/dist/Components/FileUpload/composables/useFileUpload.js +182 -157
  90. package/dist/Components/FileUpload/fileUpload.types.d.ts +113 -23
  91. package/dist/Components/FileUpload/fileUploadInjectionKey.d.ts +61 -0
  92. package/dist/Components/FileUpload/fileUploadInjectionKey.js +4 -0
  93. package/dist/Components/FileUpload/index.d.ts +1 -1
  94. package/dist/Components/FileUploadItem/FileUploadItem.js +5 -0
  95. package/dist/Components/FileUploadItem/FileUploadItem.vue.d.ts +12 -0
  96. package/dist/Components/FileUploadItem/FileUploadItem.vue_vue_type_script_setup_true_lang.js +83 -0
  97. package/dist/Components/FileUploadItem/composables/useFileUploadItem.d.ts +1153 -0
  98. package/dist/Components/FileUploadItem/composables/useFileUploadItem.js +94 -0
  99. package/dist/Components/FileUploadItem/fileUploadItem.types.d.ts +20 -0
  100. package/dist/Components/FileUploadItem/index.d.ts +3 -0
  101. package/dist/Components/FileUploadItem/index.js +3 -0
  102. package/dist/Components/Pagination/composables/usePagination.d.ts +1 -1
  103. package/dist/Components/Rating/Rating.js +5 -0
  104. package/dist/Components/Rating/Rating.vue.d.ts +20 -0
  105. package/dist/Components/Rating/Rating.vue_vue_type_script_setup_true_lang.js +62 -0
  106. package/dist/Components/Rating/composables/useRating.d.ts +112 -0
  107. package/dist/Components/Rating/composables/useRating.js +190 -0
  108. package/dist/Components/Rating/index.d.ts +4 -0
  109. package/dist/Components/Rating/index.js +3 -0
  110. package/dist/Components/Rating/rating.types.d.ts +107 -0
  111. package/dist/Components/Sidebar/composables/useSidebar.js +1 -1
  112. package/dist/Components/Sidebar/composables/useSidebarTrigger.d.ts +1 -1
  113. package/dist/Components/Slider/composables/useSlider.d.ts +1 -1
  114. package/dist/Components/TimeField/TimeField.vue_vue_type_script_setup_true_lang.js +2 -2
  115. package/dist/Components/TimePanel/TimePanel.vue.d.ts +10 -2
  116. package/dist/Components/TimePanel/TimePanel.vue_vue_type_script_setup_true_lang.js +37 -34
  117. package/dist/Components/TimePanel/composables/useTimePanel.d.ts +5 -5
  118. package/dist/Components/TimePanel/composables/useTimePanel.js +108 -109
  119. package/dist/Components/TimePanel/timePanel.types.d.ts +10 -4
  120. package/dist/Components/TimePicker/TimePicker.vue.d.ts +10 -2
  121. package/dist/Components/TimePicker/TimePicker.vue_vue_type_script_setup_true_lang.js +46 -42
  122. package/dist/Components/TimePicker/composables/useTimePicker.d.ts +3 -3
  123. package/dist/Components/TimePicker/composables/useTimePicker.js +36 -36
  124. package/dist/Components/TimePicker/timePicker.types.d.ts +12 -7
  125. package/dist/Components/TimeRangeField/TimeRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
  126. package/dist/Components/TimeRangePicker/TimeRangePicker.vue.d.ts +12 -4
  127. package/dist/Components/TimeRangePicker/TimeRangePicker.vue_vue_type_script_setup_true_lang.js +72 -68
  128. package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.d.ts +4 -4
  129. package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.js +87 -87
  130. package/dist/Components/TimeRangePicker/timeRangePicker.types.d.ts +12 -7
  131. package/dist/augments.d.ts +10 -1
  132. package/dist/index.d.ts +9 -1
  133. package/dist/index.js +117 -109
  134. package/docs/README.md +2 -0
  135. package/docs/components/BaseField.md +3 -3
  136. package/docs/components/Calendar.md +0 -1
  137. package/docs/components/CalendarDate.md +0 -1
  138. package/docs/components/CalendarMonth.md +0 -1
  139. package/docs/components/CalendarRange.md +0 -1
  140. package/docs/components/CalendarYear.md +0 -1
  141. package/docs/components/Carousel.md +113 -0
  142. package/docs/components/ColorPicker.md +13 -14
  143. package/docs/components/DatePicker.md +0 -1
  144. package/docs/components/DateRangePicker.md +0 -1
  145. package/docs/components/DateTimePicker.md +0 -1
  146. package/docs/components/DateTimeRangePicker.md +0 -1
  147. package/docs/components/FileUpload.md +83 -8
  148. package/docs/components/Rating.md +86 -0
  149. package/docs/components/RichTextEditor.md +3 -3
  150. package/docs/components/TimePanel.md +0 -1
  151. package/docs/components/TimePicker.md +0 -1
  152. package/docs/components/TimeRangePicker.md +0 -1
  153. package/package.json +2 -12
@@ -1,16 +1,15 @@
1
1
  import { useResolveMessage as e } from "../../../Adapters/I18n/useI18nAdapter.js";
2
2
  import { mergePartBind as t, useBridgeUIComponent as n, useBridgeUIMergedRegistryClasses as r } from "../../../Utils/index.js";
3
3
  import { FIELD_OVERLAY_INJECTION_KEY as i } from "../../FieldOverlay/fieldOverlayInjectionKey.js";
4
- import { computed as a, inject as o, ref as s, toValue as c, useAttrs as ee, watch as te } from "vue";
4
+ import { computed as a, inject as ee, ref as te, toValue as o, useAttrs as s, watch as c } from "vue";
5
5
  import { get as l, omit as u } from "es-toolkit/compat";
6
- import { DEFAULT_COLOR_FORMAT as d, DEFAULT_HSVA as f, colorStringsEqual as p, formatColor as m, hueToCssRgb as ne, parseColor as h, resolveColorAlpha as g, saturationValueFromPointer as _, toCssRgba as v, unitFromPointer as y } from "@bridge-ui/core/Domain";
7
- import { colorPickerRoundedProps as b, colorPickerSizeProps as re } from "@bridge-ui/core/Tokens";
8
- import { cn as x, mergeBridgeUILayeredClasses as S, splitComponentProps as ie } from "@bridge-ui/core/Utils";
6
+ import { DEFAULT_COLOR_FORMAT as d, DEFAULT_HSVA as f, colorStringsEqual as p, formatColor as m, hueToCssRgb as ne, parseColor as h, resolveColorAlpha as re, saturationValueFromPointer as g, toCssRgba as _, unitFromPointer as v } from "@bridge-ui/core/Domain";
7
+ import { colorPickerRoundedProps as y, colorPickerSizeProps as b } from "@bridge-ui/core/Tokens";
8
+ import { cn as x, mergeBridgeUILayeredClasses as S, splitComponentProps as C } from "@bridge-ui/core/Utils";
9
9
  //#region src/Components/ColorPicker/composables/useColorPicker.ts
10
- var ae = [
10
+ var w = [
11
11
  "fill",
12
12
  "alpha",
13
- "value",
14
13
  "format",
15
14
  "classes",
16
15
  "rounded",
@@ -21,231 +20,232 @@ var ae = [
21
20
  "customProps",
22
21
  "defaultValue"
23
22
  ];
24
- function C(e) {
23
+ function T(e) {
25
24
  return h(e) ?? f;
26
25
  }
27
- function w(f, w, T) {
28
- let oe = ee(), E = o(i, {
26
+ function E(f, E, D, O) {
27
+ let ie = s(), k = ee(i, {
29
28
  apply: () => void 0,
30
29
  cancel: () => void 0
31
- }), D = e(), O = a(() => ie({
32
- bridgeKeys: ae,
30
+ }), A = e(), j = a(() => C({
31
+ bridgeKeys: w,
33
32
  props: {
34
- ...oe,
35
- ...c(f)
33
+ ...ie,
34
+ ...o(f)
36
35
  }
37
- })), { merged: k, entry: A } = n({
38
- libDefaults: w,
36
+ })), { merged: M, entry: N } = n({
37
+ libDefaults: E,
39
38
  componentName: "ColorPicker",
40
- props: () => O.value.componentProps
41
- }), j = a(() => k.value.customProps), M = a(() => u(O.value.inheritedAttrs, [
39
+ props: () => j.value.componentProps
40
+ }), P = a(() => M.value.customProps), F = a(() => u(j.value.inheritedAttrs, [
42
41
  "onApply",
43
42
  "onCancel",
44
- "onChange"
45
- ])), N = r({
46
- entry: A,
47
- props: () => O.value.componentProps
48
- }), P = a(() => c(f)), F = a(() => P.value.value !== void 0), I = s(k.value.defaultValue ?? null), L = a(() => F.value ? P.value.value ?? null : I.value), R = a(() => k.value.format ?? d), z = s(C(L.value));
49
- te(() => [L.value, k.value.showFooter], ([e, t]) => {
50
- t && (z.value = C(e));
43
+ "onChange",
44
+ "onUpdate:modelValue"
45
+ ])), I = r({
46
+ entry: N,
47
+ props: () => j.value.componentProps
48
+ }), L = a(() => M.value.format ?? d), R = te(T(D.value));
49
+ c(() => [D.value, M.value.showFooter], ([e, t]) => {
50
+ t && (R.value = T(e));
51
51
  });
52
- let B = a(() => k.value.showFooter ? z.value : C(L.value)), V = a(() => g(k.value.alpha, R.value)), H = a(() => m(B.value, R.value)), U = a(() => v(B.value)), W = a(() => ne(B.value.h)), G = a(() => v({
53
- ...B.value,
52
+ let z = a(() => M.value.showFooter ? R.value : T(D.value)), B = a(() => re(M.value.alpha, L.value)), V = a(() => m(z.value, L.value)), H = a(() => _(z.value)), U = a(() => ne(z.value.h)), W = a(() => _({
53
+ ...z.value,
54
54
  a: 1
55
- })), K = a(() => {
56
- let e = S(re, A.value?.tokens?.size);
55
+ })), G = a(() => {
56
+ let e = S(b, N.value?.tokens?.size);
57
57
  return l(e, ["md", "swatch"]) ?? "";
58
- }), q = a(() => {
59
- let e = S(b, A.value?.tokens?.rounded);
60
- return l(e, k.value.rounded ?? "md") ?? "";
61
- }), J = a(() => (k.value.swatches ?? []).filter((e) => h(e))), Y = a(() => !k.value.disabled && !k.value.readOnly), X = (e) => {
62
- F.value || (I.value = e), T("change", e);
63
- }, Z = (e) => {
64
- if (k.value.showFooter) {
65
- z.value = e;
58
+ }), K = a(() => {
59
+ let e = S(y, N.value?.tokens?.rounded);
60
+ return l(e, M.value.rounded ?? "md") ?? "";
61
+ }), q = a(() => (M.value.swatches ?? []).filter((e) => h(e))), J = a(() => !M.value.disabled && !M.value.readOnly), Y = (e) => {
62
+ D.value = e, O("change", e);
63
+ }, X = (e) => {
64
+ if (M.value.showFooter) {
65
+ R.value = e;
66
66
  return;
67
67
  }
68
- X(m(e, R.value));
69
- }, Q = (e) => {
70
- Z({
71
- ...B.value,
68
+ Y(m(e, L.value));
69
+ }, Z = (e) => {
70
+ X({
71
+ ...z.value,
72
72
  ...e
73
73
  });
74
- }, se = (e) => {
74
+ }, ae = (e) => {
75
75
  let t = h(e);
76
- t && Y.value && Z(t);
77
- }, ce = () => {
78
- X(m(z.value, R.value)), T("apply"), E.apply();
79
- }, le = () => {
80
- z.value = C(L.value), T("cancel"), E.cancel();
76
+ t && J.value && X(t);
77
+ }, oe = () => {
78
+ Y(m(R.value, L.value)), O("apply"), k.apply();
79
+ }, se = () => {
80
+ R.value = T(D.value), O("cancel"), k.cancel();
81
+ }, ce = (e) => {
82
+ if (!J.value) return;
83
+ let t = e.currentTarget.getBoundingClientRect(), n = g(e.clientX, e.clientY, t);
84
+ Z(n);
85
+ }, le = (e) => {
86
+ if (!J.value) return;
87
+ let t = e.currentTarget.getBoundingClientRect(), n = v(e.clientX, t.left, t.width);
88
+ Z({ h: n * 360 });
81
89
  }, ue = (e) => {
82
- if (!Y.value) return;
83
- let t = e.currentTarget.getBoundingClientRect(), n = _(e.clientX, e.clientY, t);
84
- Q(n);
85
- }, de = (e) => {
86
- if (!Y.value) return;
87
- let t = e.currentTarget.getBoundingClientRect(), n = y(e.clientX, t.left, t.width);
88
- Q({ h: n * 360 });
89
- }, fe = (e) => {
90
- if (!Y.value) return;
91
- let t = e.currentTarget.getBoundingClientRect(), n = y(e.clientX, t.left, t.width);
92
- Q({ a: n });
93
- }, $ = (e) => ({
90
+ if (!J.value) return;
91
+ let t = e.currentTarget.getBoundingClientRect(), n = v(e.clientX, t.left, t.width);
92
+ Z({ a: n });
93
+ }, Q = (e) => ({
94
94
  onPointerdown: (t) => {
95
95
  t.preventDefault(), t.currentTarget.setPointerCapture(t.pointerId), e(t);
96
96
  },
97
97
  onPointermove: (t) => {
98
98
  t.currentTarget.hasPointerCapture(t.pointerId) && e(t);
99
99
  }
100
- }), pe = (e) => {
101
- if (!Y.value) return;
100
+ }), de = (e) => {
101
+ if (!J.value) return;
102
102
  let t = e.shiftKey ? 10 : 1;
103
- e.key === "ArrowLeft" ? (e.preventDefault(), Q({ s: B.value.s - t })) : e.key === "ArrowRight" ? (e.preventDefault(), Q({ s: B.value.s + t })) : e.key === "ArrowDown" ? (e.preventDefault(), Q({ v: B.value.v - t })) : e.key === "ArrowUp" && (e.preventDefault(), Q({ v: B.value.v + t }));
104
- }, me = (e) => {
105
- if (!Y.value) return;
103
+ e.key === "ArrowLeft" ? (e.preventDefault(), Z({ s: z.value.s - t })) : e.key === "ArrowRight" ? (e.preventDefault(), Z({ s: z.value.s + t })) : e.key === "ArrowDown" ? (e.preventDefault(), Z({ v: z.value.v - t })) : e.key === "ArrowUp" && (e.preventDefault(), Z({ v: z.value.v + t }));
104
+ }, fe = (e) => {
105
+ if (!J.value) return;
106
106
  let t = e.shiftKey ? 10 : 1;
107
- e.key === "ArrowLeft" || e.key === "ArrowDown" ? (e.preventDefault(), Q({ h: B.value.h - t })) : (e.key === "ArrowRight" || e.key === "ArrowUp") && (e.preventDefault(), Q({ h: B.value.h + t }));
108
- }, he = (e) => {
109
- if (!Y.value) return;
107
+ e.key === "ArrowLeft" || e.key === "ArrowDown" ? (e.preventDefault(), Z({ h: z.value.h - t })) : (e.key === "ArrowRight" || e.key === "ArrowUp") && (e.preventDefault(), Z({ h: z.value.h + t }));
108
+ }, pe = (e) => {
109
+ if (!J.value) return;
110
110
  let t = e.shiftKey ? .1 : .01;
111
- e.key === "ArrowLeft" || e.key === "ArrowDown" ? (e.preventDefault(), Q({ a: B.value.a - t })) : (e.key === "ArrowRight" || e.key === "ArrowUp") && (e.preventDefault(), Q({ a: B.value.a + t }));
112
- }, ge = a(() => t(j.value?.root, M.value, x({
111
+ e.key === "ArrowLeft" || e.key === "ArrowDown" ? (e.preventDefault(), Z({ a: z.value.a - t })) : (e.key === "ArrowRight" || e.key === "ArrowUp") && (e.preventDefault(), Z({ a: z.value.a + t }));
112
+ }, me = a(() => t(P.value?.root, F.value, x({
113
113
  "flex flex-col overflow-hidden bg-white shadow-lg dark:bg-dark-900": !0,
114
- "w-full": k.value.fill,
115
- "w-72": !k.value.fill,
116
- [q.value]: !0,
117
- [N.value.root ?? ""]: !0
118
- }))), _e = a(() => x({ "flex flex-col gap-3 p-3": !0 })), ve = a(() => t(j.value?.area, {
119
- ...$(ue),
114
+ "w-full": M.value.fill,
115
+ "w-72": !M.value.fill,
116
+ [K.value]: !0,
117
+ [I.value.root ?? ""]: !0
118
+ }))), he = a(() => x({ "flex flex-col gap-3 p-3": !0 })), ge = a(() => t(P.value?.area, {
119
+ ...Q(ce),
120
120
  role: "slider",
121
- onKeydown: pe,
122
- tabindex: Y.value ? 0 : -1,
123
- style: { backgroundColor: W.value },
124
- "aria-label": D("Saturation and brightness"),
125
- "aria-valuetext": `Saturation ${Math.round(B.value.s)}%, Brightness ${Math.round(B.value.v)}%`
121
+ onKeydown: de,
122
+ tabindex: J.value ? 0 : -1,
123
+ style: { backgroundColor: U.value },
124
+ "aria-label": A("Saturation and brightness"),
125
+ "aria-valuetext": `Saturation ${Math.round(z.value.s)}%, Brightness ${Math.round(z.value.v)}%`
126
126
  }, x({
127
127
  "relative h-40 w-full cursor-crosshair overflow-hidden touch-none": !0,
128
- [q.value]: !0,
129
- "cursor-not-allowed": !Y.value,
130
- [N.value.area ?? ""]: !0
131
- }))), ye = a(() => ({
128
+ [K.value]: !0,
129
+ "cursor-not-allowed": !J.value,
130
+ [I.value.area ?? ""]: !0
131
+ }))), _e = a(() => ({
132
132
  "aria-hidden": !0,
133
133
  style: {
134
- left: `${B.value.s}%`,
135
- top: `${100 - B.value.v}%`
134
+ left: `${z.value.s}%`,
135
+ top: `${100 - z.value.v}%`
136
136
  },
137
137
  class: "pointer-events-none absolute z-10 h-4 w-4 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white shadow"
138
- })), be = a(() => t(j.value?.hue, {
139
- ...$(de),
138
+ })), ve = a(() => t(P.value?.hue, {
139
+ ...Q(le),
140
140
  role: "slider",
141
141
  "aria-valuemin": 0,
142
142
  "aria-valuemax": 360,
143
- onKeydown: me,
144
- "aria-label": D("Hue"),
145
- tabindex: Y.value ? 0 : -1,
146
- "aria-valuenow": Math.round(B.value.h),
143
+ onKeydown: fe,
144
+ "aria-label": A("Hue"),
145
+ tabindex: J.value ? 0 : -1,
146
+ "aria-valuenow": Math.round(z.value.h),
147
147
  style: { backgroundImage: "linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%)" }
148
148
  }, x({
149
149
  "relative h-3 w-full cursor-pointer touch-none": !0,
150
150
  "rounded-full": !0,
151
- "cursor-not-allowed": !Y.value,
152
- [N.value.hue ?? ""]: !0
153
- }))), xe = a(() => ({
151
+ "cursor-not-allowed": !J.value,
152
+ [I.value.hue ?? ""]: !0
153
+ }))), ye = a(() => ({
154
154
  "aria-hidden": !0,
155
155
  style: {
156
- backgroundColor: W.value,
157
- left: `${B.value.h / 360 * 100}%`
156
+ backgroundColor: U.value,
157
+ left: `${z.value.h / 360 * 100}%`
158
158
  },
159
159
  class: "pointer-events-none absolute top-1/2 z-10 h-4 w-4 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white shadow"
160
- })), Se = a(() => t(j.value?.alpha, {
161
- ...$(fe),
160
+ })), be = a(() => t(P.value?.alpha, {
161
+ ...Q(ue),
162
162
  role: "slider",
163
163
  "aria-valuemin": 0,
164
164
  "aria-valuemax": 100,
165
- onKeydown: he,
166
- tabindex: Y.value ? 0 : -1,
167
- "aria-label": D("Alpha"),
168
- "aria-valuenow": Math.round(B.value.a * 100)
165
+ onKeydown: pe,
166
+ tabindex: J.value ? 0 : -1,
167
+ "aria-label": A("Alpha"),
168
+ "aria-valuenow": Math.round(z.value.a * 100)
169
169
  }, x({
170
170
  "relative h-3 w-full cursor-pointer overflow-hidden touch-none": !0,
171
171
  "bg-[image:repeating-conic-gradient(#d1d5db_0%_25%,#ffffff_0%_50%)] bg-[size:0.5rem_0.5rem] dark:bg-[image:repeating-conic-gradient(#4b5563_0%_25%,#1f2937_0%_50%)]": !0,
172
172
  "rounded-full": !0,
173
- "cursor-not-allowed": !Y.value,
174
- [N.value.alpha ?? ""]: !0
175
- }))), Ce = a(() => ({
173
+ "cursor-not-allowed": !J.value,
174
+ [I.value.alpha ?? ""]: !0
175
+ }))), $ = a(() => ({
176
176
  "aria-hidden": !0,
177
177
  class: "pointer-events-none absolute inset-0",
178
- style: { backgroundImage: `linear-gradient(to right, transparent, ${G.value})` }
179
- })), we = a(() => ({
178
+ style: { backgroundImage: `linear-gradient(to right, transparent, ${W.value})` }
179
+ })), xe = a(() => ({
180
180
  "aria-hidden": !0,
181
181
  style: {
182
- backgroundColor: U.value,
183
- left: `${B.value.a * 100}%`
182
+ backgroundColor: H.value,
183
+ left: `${z.value.a * 100}%`
184
184
  },
185
185
  class: "pointer-events-none absolute top-1/2 z-10 h-4 w-4 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white shadow"
186
- })), Te = a(() => t(j.value?.preview, {}, x({
186
+ })), Se = a(() => t(P.value?.preview, {}, x({
187
187
  "flex items-center gap-2": !0,
188
- [N.value.preview ?? ""]: !0
189
- }))), Ee = a(() => ({
188
+ [I.value.preview ?? ""]: !0
189
+ }))), Ce = a(() => ({
190
190
  "aria-hidden": !0,
191
191
  class: x({
192
192
  "relative shrink-0 overflow-hidden": !0,
193
193
  "bg-[image:repeating-conic-gradient(#d1d5db_0%_25%,#ffffff_0%_50%)] bg-[size:0.5rem_0.5rem] dark:bg-[image:repeating-conic-gradient(#4b5563_0%_25%,#1f2937_0%_50%)]": !0,
194
- [K.value]: !0,
195
- [q.value]: !0
194
+ [G.value]: !0,
195
+ [K.value]: !0
196
196
  })
197
- })), De = a(() => ({
197
+ })), we = a(() => ({
198
198
  class: "absolute inset-0",
199
- style: { backgroundColor: U.value }
200
- })), Oe = a(() => t(j.value?.swatches, {}, x({
199
+ style: { backgroundColor: H.value }
200
+ })), Te = a(() => t(P.value?.swatches, {}, x({
201
201
  "flex flex-wrap gap-2": !0,
202
- [N.value.swatches ?? ""]: !0
202
+ [I.value.swatches ?? ""]: !0
203
203
  })));
204
204
  return {
205
- merged: k,
206
- hueBind: be,
207
- rootBind: ge,
208
- areaBind: ve,
209
- cssColor: U,
210
- alphaBind: Se,
211
- showAlpha: V,
212
- footerBind: a(() => t(j.value?.footer, {}, x({
205
+ merged: M,
206
+ hueBind: ve,
207
+ rootBind: me,
208
+ areaBind: ge,
209
+ cssColor: H,
210
+ alphaBind: be,
211
+ showAlpha: B,
212
+ footerBind: a(() => t(P.value?.footer, {}, x({
213
213
  "flex items-center justify-end gap-2 border-t border-dark-100 bg-dark-50 px-3 py-2 dark:border-dark-800 dark:bg-dark-950/40": !0,
214
- [N.value.footer ?? ""]: !0
214
+ [I.value.footer ?? ""]: !0
215
215
  }))),
216
- showFooter: a(() => !!k.value.showFooter),
217
- previewBind: Te,
218
- contentBind: _e,
219
- handleApply: ce,
220
- swatchesBind: Oe,
221
- handleCancel: le,
222
- hueThumbBind: xe,
223
- areaThumbBind: ye,
224
- alphaFillBind: Ce,
225
- formattedValue: H,
226
- alphaThumbBind: we,
227
- presetSwatches: J,
228
- previewSwatchBind: Ee,
229
- handleSwatchClick: se,
216
+ showFooter: a(() => !!M.value.showFooter),
217
+ previewBind: Se,
218
+ contentBind: he,
219
+ handleApply: oe,
220
+ swatchesBind: Te,
221
+ handleCancel: se,
222
+ hueThumbBind: ye,
223
+ areaThumbBind: _e,
224
+ alphaFillBind: $,
225
+ formattedValue: V,
226
+ alphaThumbBind: xe,
227
+ presetSwatches: q,
228
+ previewSwatchBind: Ce,
229
+ handleSwatchClick: ae,
230
230
  swatchButtonClass: a(() => x({
231
231
  "relative shrink-0 overflow-hidden": !0,
232
232
  "bg-[image:repeating-conic-gradient(#d1d5db_0%_25%,#ffffff_0%_50%)] bg-[size:0.5rem_0.5rem] dark:bg-[image:repeating-conic-gradient(#4b5563_0%_25%,#1f2937_0%_50%)]": !0,
233
+ [G.value]: !0,
233
234
  [K.value]: !0,
234
- [q.value]: !0,
235
235
  "border border-black/10 dark:border-white/15": !0,
236
- "hover:ring-2 hover:ring-dark-300 hover:ring-offset-2 hover:ring-offset-white dark:hover:ring-dark-500 dark:hover:ring-offset-dark-900": Y.value,
237
- "cursor-not-allowed opacity-50": !Y.value
236
+ "hover:ring-2 hover:ring-dark-300 hover:ring-offset-2 hover:ring-offset-white dark:hover:ring-dark-500 dark:hover:ring-offset-dark-900": J.value,
237
+ "cursor-not-allowed opacity-50": !J.value
238
238
  })),
239
239
  swatchSelectedClass: a(() => "ring-2 ring-dark-500 ring-offset-2 ring-offset-white dark:ring-dark-400 dark:ring-offset-dark-900"),
240
- previewSwatchFillBind: De,
241
- applyButtonProps: a(() => j.value?.applyButton),
242
- cancelButtonProps: a(() => j.value?.cancelButton),
243
- isSwatchSelected: (e) => p(e, H.value),
240
+ previewSwatchFillBind: we,
241
+ applyButtonProps: a(() => P.value?.applyButton),
242
+ cancelButtonProps: a(() => P.value?.cancelButton),
243
+ isSwatchSelected: (e) => p(e, V.value),
244
244
  swatchCss: (e) => {
245
245
  let t = h(e);
246
- return t ? v(t) : void 0;
246
+ return t ? _(t) : void 0;
247
247
  }
248
248
  };
249
249
  }
250
250
  //#endregion
251
- export { w as useColorPicker };
251
+ export { E as useColorPicker };
@@ -105,9 +105,9 @@ var M = { class: "flex min-w-0 flex-1 items-center gap-1" }, N = ["aria-label"],
105
105
  }, {
106
106
  default: k(() => [h(D(c), {
107
107
  fill: D(B),
108
- value: D(q),
109
108
  class: b(D(Y)),
110
109
  range: D(H).range,
110
+ "model-value": D(q),
111
111
  "show-footer": D(J),
112
112
  "read-only": L.readonly,
113
113
  "max-date": D(H).maxDate,
@@ -138,7 +138,7 @@ var M = { class: "flex min-w-0 flex-1 items-center gap-1" }, N = ["aria-label"],
138
138
  name: "footer",
139
139
  fn: k((t) => [T(e.$slots, "footer", x(_(t)))]),
140
140
  key: "0"
141
- } : void 0]), 1032, /* @__PURE__ */ "fill.value.class.range.show-footer.read-only.max-date.min-date.multiple.time-zone.hide-years.onChange.onCancel.hide-months.granularity.default-view.error.color.start-of-week.custom-props.disabled.disable-dates.hide-weekdays.disable-years.disable-months.rounded.hide-outside-days".split("."))]),
141
+ } : void 0]), 1032, /* @__PURE__ */ "fill.class.range.model-value.show-footer.read-only.max-date.min-date.multiple.time-zone.hide-years.onChange.onCancel.hide-months.granularity.default-view.error.color.start-of-week.custom-props.disabled.disable-dates.hide-weekdays.disable-years.disable-months.rounded.hide-outside-days".split("."))]),
142
142
  _: 3
143
143
  }, 8, [
144
144
  "overlay",
@@ -1,13 +1,21 @@
1
+ import { DatePickerModel } from '@bridge-ui/core/Domain';
1
2
  import { DatePickerOwnProps, DatePickerSlots } from './datePicker.types';
2
3
  type __VLS_Slots = DatePickerSlots;
3
- declare const __VLS_base: import('vue').DefineComponent<DatePickerOwnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
+ type __VLS_Props = DatePickerOwnProps;
5
+ type __VLS_ModelProps = {
6
+ modelValue?: DatePickerModel;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
10
  apply: () => any;
5
11
  cancel: () => any;
6
- change: (value: import('@bridge-ui/core/Domain').DatePickerModel) => any;
7
- }, string, import('vue').PublicProps, Readonly<DatePickerOwnProps> & Readonly<{
12
+ change: (value: DatePickerModel) => any;
13
+ "update:modelValue": (...args: unknown[]) => any;
14
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
8
15
  onApply?: (() => any) | undefined;
9
16
  onCancel?: (() => any) | undefined;
10
- onChange?: ((value: import('@bridge-ui/core/Domain').DatePickerModel) => any) | undefined;
17
+ onChange?: ((value: DatePickerModel) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
11
19
  }>, {
12
20
  showFooter: boolean;
13
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,12 +1,13 @@
1
- import e from "../ActionFooter/ActionFooter.js";
2
- import t from "../Calendar/Calendar.js";
3
- import { useDatePicker as n } from "./composables/useDatePicker.js";
4
- import { createCommentVNode as r, createElementBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, guardReactiveProps as c, mergeProps as l, normalizeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
1
+ import { useOptionalModel as e } from "../../Utils/useOptionalModel.js";
2
+ import t from "../ActionFooter/ActionFooter.js";
3
+ import n from "../Calendar/Calendar.js";
4
+ import { useDatePicker as r } from "./composables/useDatePicker.js";
5
+ import { createCommentVNode as i, createElementBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeModels as u, mergeProps as d, normalizeProps as f, openBlock as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, useModel as v, withCtx as y } from "vue";
5
6
  //#region src/Components/DatePicker/DatePicker.vue?vue&type=script&setup=true&lang.ts
6
- var g = /*@__PURE__*/ s({
7
+ var b = /*@__PURE__*/ c({
7
8
  inheritAttrs: !1,
8
9
  __name: "DatePicker",
9
- props: {
10
+ props: /*@__PURE__*/ u({
10
11
  classes: {},
11
12
  color: {},
12
13
  customProps: {},
@@ -34,58 +35,61 @@ var g = /*@__PURE__*/ s({
34
35
  default: void 0
35
36
  },
36
37
  startOfWeek: {},
37
- timeZone: {},
38
- value: {}
39
- },
40
- emits: [
38
+ timeZone: {}
39
+ }, {
40
+ modelValue: {},
41
+ modelModifiers: {}
42
+ }),
43
+ emits: /*@__PURE__*/ u([
41
44
  "apply",
42
45
  "cancel",
43
- "change"
44
- ],
45
- setup(s, { emit: g }) {
46
- let { merged: _, rootBind: v, footerBind: y, showFooter: b, handleApply: x, displayValue: S, handleCancel: C, applyButtonProps: w, cancelButtonProps: T, handleCalendarChange: E } = n(s, {
46
+ "change",
47
+ "update:modelValue"
48
+ ], ["update:modelValue"]),
49
+ setup(c, { emit: u }) {
50
+ let b = u, x = v(c, "modelValue"), S = c, C = m(S.defaultValue ?? null), w = e(x, C), { merged: T, rootBind: E, footerBind: D, showFooter: O, handleApply: k, displayValue: A, handleCancel: j, applyButtonProps: M, cancelButtonProps: N, handleCalendarChange: P } = r(S, {
47
51
  rounded: "md",
48
52
  startOfWeek: 0,
49
53
  color: "primary"
50
- }, g);
51
- return (n, s) => (d(), i("div", u(c(m(v))), [o(t, {
52
- fill: m(_).fill,
53
- color: m(_).color,
54
- error: m(_).error,
55
- range: m(_).range,
56
- value: m(S),
57
- rounded: m(_).rounded,
58
- "max-date": m(_).maxDate,
59
- "min-date": m(_).minDate,
60
- disabled: m(_).disabled,
61
- multiple: m(_).multiple,
62
- "read-only": m(_).readOnly,
63
- "time-zone": m(_).timeZone,
64
- "hide-years": m(_).hideYears,
65
- "hide-months": m(_).hideMonths,
66
- granularity: m(_).granularity,
67
- onChange: m(E),
68
- "default-view": m(_).defaultView,
69
- "start-of-week": m(_).startOfWeek,
70
- "disable-dates": m(_).disableDates,
71
- "hide-weekdays": m(_).hideWeekdays,
72
- "disable-years": m(_).disableYears,
73
- "disable-months": m(_).disableMonths,
74
- "hide-outside-days": m(_).hideOutsideDays
54
+ }, w, b);
55
+ return (e, r) => (p(), a("div", f(l(_(E))), [s(n, {
56
+ fill: _(T).fill,
57
+ color: _(T).color,
58
+ error: _(T).error,
59
+ range: _(T).range,
60
+ rounded: _(T).rounded,
61
+ "max-date": _(T).maxDate,
62
+ "min-date": _(T).minDate,
63
+ disabled: _(T).disabled,
64
+ multiple: _(T).multiple,
65
+ "model-value": _(A),
66
+ "read-only": _(T).readOnly,
67
+ "time-zone": _(T).timeZone,
68
+ "hide-years": _(T).hideYears,
69
+ "hide-months": _(T).hideMonths,
70
+ granularity: _(T).granularity,
71
+ onChange: _(P),
72
+ "default-view": _(T).defaultView,
73
+ "start-of-week": _(T).startOfWeek,
74
+ "disable-dates": _(T).disableDates,
75
+ "hide-weekdays": _(T).hideWeekdays,
76
+ "disable-years": _(T).disableYears,
77
+ "disable-months": _(T).disableMonths,
78
+ "hide-outside-days": _(T).hideOutsideDays
75
79
  }, {
76
- day: h((e) => [f(n.$slots, "day", u(c(e)), () => [a(p(e.label), 1)])]),
80
+ day: y((t) => [h(e.$slots, "day", f(l(t)), () => [o(g(t.label), 1)])]),
77
81
  _: 3
78
82
  }, 8, [
79
83
  "fill",
80
84
  "color",
81
85
  "error",
82
86
  "range",
83
- "value",
84
87
  "rounded",
85
88
  "max-date",
86
89
  "min-date",
87
90
  "disabled",
88
91
  "multiple",
92
+ "model-value",
89
93
  "read-only",
90
94
  "time-zone",
91
95
  "hide-years",
@@ -99,22 +103,22 @@ var g = /*@__PURE__*/ s({
99
103
  "disable-years",
100
104
  "disable-months",
101
105
  "hide-outside-days"
102
- ]), m(b) ? (d(), i("div", u(l({ key: 0 }, m(y))), [f(n.$slots, "footer", {
103
- apply: m(x),
104
- cancel: m(C)
105
- }, () => [o(m(e), {
106
- onApply: m(x),
107
- onCancel: m(C),
106
+ ]), _(O) ? (p(), a("div", f(d({ key: 0 }, _(D))), [h(e.$slots, "footer", {
107
+ apply: _(k),
108
+ cancel: _(j)
109
+ }, () => [s(_(t), {
110
+ onApply: _(k),
111
+ onCancel: _(j),
108
112
  "custom-props": {
109
- applyButton: m(w),
110
- cancelButton: m(T)
113
+ applyButton: _(M),
114
+ cancelButton: _(N)
111
115
  }
112
116
  }, null, 8, [
113
117
  "onApply",
114
118
  "onCancel",
115
119
  "custom-props"
116
- ])])], 16)) : r("", !0)], 16));
120
+ ])])], 16)) : i("", !0)], 16));
117
121
  }
118
122
  });
119
123
  //#endregion
120
- export { g as default };
124
+ export { b as default };
@@ -1,12 +1,12 @@
1
- import { MaybeRefOrGetter, SetupContext } from 'vue';
1
+ import { MaybeRefOrGetter, Ref, SetupContext } from 'vue';
2
2
  import { DatePickerModel } from '@bridge-ui/core/Domain';
3
3
  import { LibDefaultsShape, MergeLibDefaults } from '@bridge-ui/core/Utils';
4
4
  import { DatePickerEmits, DatePickerOwnProps } from '../datePicker.types';
5
5
  type DatePickerLibDefaults = LibDefaultsShape<DatePickerOwnProps, "color" | "rounded" | "startOfWeek">;
6
6
  type DatePickerMerged = MergeLibDefaults<DatePickerOwnProps, DatePickerLibDefaults>;
7
- export declare function useDatePicker(props: MaybeRefOrGetter<DatePickerOwnProps>, libDefaults: DatePickerLibDefaults, emit: SetupContext<DatePickerEmits>["emit"]): {
7
+ export declare function useDatePicker(props: MaybeRefOrGetter<DatePickerOwnProps>, libDefaults: DatePickerLibDefaults, model: Ref<DatePickerModel>, emit: SetupContext<DatePickerEmits>["emit"]): {
8
8
  merged: import('vue').ComputedRef<DatePickerMerged>;
9
- rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<DatePickerOwnProps, "error" | "color" | "fill" | "value" | "classes" | "showFooter" | "customProps" | "disabled" | "rounded" | "granularity" | "hideMonths" | "hideOutsideDays" | "hideWeekdays" | "hideYears" | "multiple" | "range" | "startOfWeek" | "timeZone" | "defaultValue" | "readOnly" | "disableDates" | "disableMonths" | "disableYears" | "maxDate" | "minDate" | "defaultView">>>>;
9
+ rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<DatePickerOwnProps, "error" | "color" | "fill" | "classes" | "showFooter" | "customProps" | "disabled" | "rounded" | "granularity" | "hideMonths" | "hideOutsideDays" | "hideWeekdays" | "hideYears" | "multiple" | "range" | "startOfWeek" | "timeZone" | "defaultValue" | "readOnly" | "disableDates" | "disableMonths" | "disableYears" | "maxDate" | "minDate" | "defaultView">>>>;
10
10
  footerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
11
11
  showFooter: import('vue').ComputedRef<boolean>;
12
12
  handleApply: () => void;