@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.
- package/ai/skills/bridge-ui-components/SKILL.md +2 -1
- package/ai/skills/bridge-ui-forms/SKILL.md +3 -3
- package/dist/Adapters/Examples/date-moment.js +31 -31
- package/dist/Adapters/Examples/i18n-dictionary.js +14 -0
- package/dist/Adapters/Examples/icon-fontawesome.js +24 -22
- package/dist/Adapters/Examples/icon-heroicons.js +47 -45
- package/dist/Adapters/Examples/icon-lucide.js +13 -11
- package/dist/Adapters/Examples/icon-phosphor.js +49 -47
- package/dist/Adapters/Examples/icon-tabler.js +13 -11
- package/dist/Adapters/Examples/rich-text-tiptap.js +34 -41
- package/dist/Components/BaseField/composables/useBaseField.d.ts +3 -3
- package/dist/Components/BaseField/composables/useBaseField.js +7 -7
- package/dist/Components/Calendar/Calendar.vue.d.ts +14 -6
- package/dist/Components/Calendar/Calendar.vue_vue_type_script_setup_true_lang.js +78 -74
- package/dist/Components/Calendar/calendar.types.d.ts +12 -7
- package/dist/Components/Calendar/composables/useCalendar.d.ts +5 -9
- package/dist/Components/Calendar/composables/useCalendar.js +144 -143
- package/dist/Components/CalendarDate/CalendarDate.vue.d.ts +14 -6
- package/dist/Components/CalendarDate/CalendarDate.vue_vue_type_script_setup_true_lang.js +20 -16
- package/dist/Components/CalendarDate/calendarDate.types.d.ts +13 -8
- package/dist/Components/CalendarDate/composables/useCalendarDate.d.ts +4 -8
- package/dist/Components/CalendarDate/composables/useCalendarDate.js +105 -105
- package/dist/Components/CalendarMonth/CalendarMonth.vue.d.ts +9 -2
- package/dist/Components/CalendarMonth/CalendarMonth.vue_vue_type_script_setup_true_lang.js +19 -12
- package/dist/Components/CalendarMonth/calendarMonth.types.d.ts +14 -8
- package/dist/Components/CalendarMonth/composables/useCalendarMonth.d.ts +4 -7
- package/dist/Components/CalendarMonth/composables/useCalendarMonth.js +92 -89
- package/dist/Components/CalendarRange/CalendarRange.vue.d.ts +14 -6
- package/dist/Components/CalendarRange/CalendarRange.vue_vue_type_script_setup_true_lang.js +109 -105
- package/dist/Components/CalendarRange/calendarRange.types.d.ts +12 -7
- package/dist/Components/CalendarRange/composables/useCalendarRange.d.ts +5 -9
- package/dist/Components/CalendarRange/composables/useCalendarRange.js +181 -154
- package/dist/Components/CalendarYear/CalendarYear.vue.d.ts +9 -2
- package/dist/Components/CalendarYear/CalendarYear.vue_vue_type_script_setup_true_lang.js +20 -13
- package/dist/Components/CalendarYear/calendarYear.types.d.ts +12 -6
- package/dist/Components/CalendarYear/composables/useCalendarYear.d.ts +4 -7
- package/dist/Components/CalendarYear/composables/useCalendarYear.js +91 -88
- package/dist/Components/Carousel/Carousel.js +5 -0
- package/dist/Components/Carousel/Carousel.vue.d.ts +22 -0
- package/dist/Components/Carousel/Carousel.vue_vue_type_script_setup_true_lang.js +49 -0
- package/dist/Components/Carousel/carousel.types.d.ts +236 -0
- package/dist/Components/Carousel/carouselInjectionKey.d.ts +48 -0
- package/dist/Components/Carousel/carouselInjectionKey.js +4 -0
- package/dist/Components/Carousel/composables/useCarousel.d.ts +91 -0
- package/dist/Components/Carousel/composables/useCarousel.js +331 -0
- package/dist/Components/Carousel/index.d.ts +4 -0
- package/dist/Components/Carousel/index.js +4 -0
- package/dist/Components/CarouselSlide/CarouselSlide.js +5 -0
- package/dist/Components/CarouselSlide/CarouselSlide.vue.d.ts +11 -0
- package/dist/Components/CarouselSlide/CarouselSlide.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/Components/CarouselSlide/carouselSlide.types.d.ts +40 -0
- package/dist/Components/CarouselSlide/composables/useCarouselSlide.d.ts +205 -0
- package/dist/Components/CarouselSlide/composables/useCarouselSlide.js +79 -0
- package/dist/Components/CarouselSlide/index.d.ts +3 -0
- package/dist/Components/CarouselSlide/index.js +3 -0
- package/dist/Components/ColorField/ColorField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/ColorPicker/ColorPicker.vue.d.ts +9 -2
- package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +48 -44
- package/dist/Components/ColorPicker/colorPicker.types.d.ts +12 -7
- package/dist/Components/ColorPicker/composables/useColorPicker.d.ts +3 -3
- package/dist/Components/ColorPicker/composables/useColorPicker.js +150 -150
- package/dist/Components/DateField/DateField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/DatePicker/DatePicker.vue.d.ts +12 -4
- package/dist/Components/DatePicker/DatePicker.vue_vue_type_script_setup_true_lang.js +55 -51
- package/dist/Components/DatePicker/composables/useDatePicker.d.ts +3 -3
- package/dist/Components/DatePicker/composables/useDatePicker.js +52 -25
- package/dist/Components/DatePicker/datePicker.types.d.ts +12 -7
- package/dist/Components/DateRangeField/DateRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/DateRangePicker/DateRangePicker.vue.d.ts +12 -4
- package/dist/Components/DateRangePicker/DateRangePicker.vue_vue_type_script_setup_true_lang.js +54 -50
- package/dist/Components/DateRangePicker/composables/useDateRangePicker.d.ts +3 -3
- package/dist/Components/DateRangePicker/composables/useDateRangePicker.js +26 -26
- package/dist/Components/DateRangePicker/dateRangePicker.types.d.ts +12 -7
- package/dist/Components/DateTimeField/DateTimeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/DateTimePicker/DateTimePicker.vue.d.ts +9 -2
- package/dist/Components/DateTimePicker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +82 -78
- package/dist/Components/DateTimePicker/composables/useDateTimePicker.d.ts +3 -3
- package/dist/Components/DateTimePicker/composables/useDateTimePicker.js +64 -63
- package/dist/Components/DateTimePicker/dateTimePicker.types.d.ts +12 -7
- package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue.d.ts +12 -4
- package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue_vue_type_script_setup_true_lang.js +110 -106
- package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.d.ts +3 -3
- package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.js +71 -70
- package/dist/Components/DateTimeRangePicker/dateTimeRangePicker.types.d.ts +12 -7
- package/dist/Components/FileUpload/FileUpload.vue.d.ts +22 -24
- package/dist/Components/FileUpload/FileUpload.vue_vue_type_script_setup_true_lang.js +101 -92
- package/dist/Components/FileUpload/composables/useFileUpload.d.ts +66 -16
- package/dist/Components/FileUpload/composables/useFileUpload.js +182 -157
- package/dist/Components/FileUpload/fileUpload.types.d.ts +113 -23
- package/dist/Components/FileUpload/fileUploadInjectionKey.d.ts +61 -0
- package/dist/Components/FileUpload/fileUploadInjectionKey.js +4 -0
- package/dist/Components/FileUpload/index.d.ts +1 -1
- package/dist/Components/FileUploadItem/FileUploadItem.js +5 -0
- package/dist/Components/FileUploadItem/FileUploadItem.vue.d.ts +12 -0
- package/dist/Components/FileUploadItem/FileUploadItem.vue_vue_type_script_setup_true_lang.js +83 -0
- package/dist/Components/FileUploadItem/composables/useFileUploadItem.d.ts +1153 -0
- package/dist/Components/FileUploadItem/composables/useFileUploadItem.js +94 -0
- package/dist/Components/FileUploadItem/fileUploadItem.types.d.ts +20 -0
- package/dist/Components/FileUploadItem/index.d.ts +3 -0
- package/dist/Components/FileUploadItem/index.js +3 -0
- package/dist/Components/Pagination/composables/usePagination.d.ts +1 -1
- package/dist/Components/Rating/Rating.js +5 -0
- package/dist/Components/Rating/Rating.vue.d.ts +20 -0
- package/dist/Components/Rating/Rating.vue_vue_type_script_setup_true_lang.js +62 -0
- package/dist/Components/Rating/composables/useRating.d.ts +112 -0
- package/dist/Components/Rating/composables/useRating.js +190 -0
- package/dist/Components/Rating/index.d.ts +4 -0
- package/dist/Components/Rating/index.js +3 -0
- package/dist/Components/Rating/rating.types.d.ts +107 -0
- package/dist/Components/Sidebar/composables/useSidebar.js +1 -1
- package/dist/Components/Sidebar/composables/useSidebarTrigger.d.ts +1 -1
- package/dist/Components/Slider/composables/useSlider.d.ts +1 -1
- package/dist/Components/TimeField/TimeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/TimePanel/TimePanel.vue.d.ts +10 -2
- package/dist/Components/TimePanel/TimePanel.vue_vue_type_script_setup_true_lang.js +37 -34
- package/dist/Components/TimePanel/composables/useTimePanel.d.ts +5 -5
- package/dist/Components/TimePanel/composables/useTimePanel.js +108 -109
- package/dist/Components/TimePanel/timePanel.types.d.ts +10 -4
- package/dist/Components/TimePicker/TimePicker.vue.d.ts +10 -2
- package/dist/Components/TimePicker/TimePicker.vue_vue_type_script_setup_true_lang.js +46 -42
- package/dist/Components/TimePicker/composables/useTimePicker.d.ts +3 -3
- package/dist/Components/TimePicker/composables/useTimePicker.js +36 -36
- package/dist/Components/TimePicker/timePicker.types.d.ts +12 -7
- package/dist/Components/TimeRangeField/TimeRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/TimeRangePicker/TimeRangePicker.vue.d.ts +12 -4
- package/dist/Components/TimeRangePicker/TimeRangePicker.vue_vue_type_script_setup_true_lang.js +72 -68
- package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.d.ts +4 -4
- package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.js +87 -87
- package/dist/Components/TimeRangePicker/timeRangePicker.types.d.ts +12 -7
- package/dist/augments.d.ts +10 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +117 -109
- package/docs/README.md +2 -0
- package/docs/components/BaseField.md +3 -3
- package/docs/components/Calendar.md +0 -1
- package/docs/components/CalendarDate.md +0 -1
- package/docs/components/CalendarMonth.md +0 -1
- package/docs/components/CalendarRange.md +0 -1
- package/docs/components/CalendarYear.md +0 -1
- package/docs/components/Carousel.md +113 -0
- package/docs/components/ColorPicker.md +13 -14
- package/docs/components/DatePicker.md +0 -1
- package/docs/components/DateRangePicker.md +0 -1
- package/docs/components/DateTimePicker.md +0 -1
- package/docs/components/DateTimeRangePicker.md +0 -1
- package/docs/components/FileUpload.md +83 -8
- package/docs/components/Rating.md +86 -0
- package/docs/components/RichTextEditor.md +3 -3
- package/docs/components/TimePanel.md +0 -1
- package/docs/components/TimePicker.md +0 -1
- package/docs/components/TimeRangePicker.md +0 -1
- 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
|
|
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
|
|
7
|
-
import { colorPickerRoundedProps as
|
|
8
|
-
import { cn as x, mergeBridgeUILayeredClasses as S, splitComponentProps as
|
|
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
|
|
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
|
|
23
|
+
function T(e) {
|
|
25
24
|
return h(e) ?? f;
|
|
26
25
|
}
|
|
27
|
-
function
|
|
28
|
-
let
|
|
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
|
-
}),
|
|
32
|
-
bridgeKeys:
|
|
30
|
+
}), A = e(), j = a(() => C({
|
|
31
|
+
bridgeKeys: w,
|
|
33
32
|
props: {
|
|
34
|
-
...
|
|
35
|
-
...
|
|
33
|
+
...ie,
|
|
34
|
+
...o(f)
|
|
36
35
|
}
|
|
37
|
-
})), { merged:
|
|
38
|
-
libDefaults:
|
|
36
|
+
})), { merged: M, entry: N } = n({
|
|
37
|
+
libDefaults: E,
|
|
39
38
|
componentName: "ColorPicker",
|
|
40
|
-
props: () =>
|
|
41
|
-
}),
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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
|
|
53
|
-
...
|
|
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
|
-
})),
|
|
56
|
-
let e = S(
|
|
55
|
+
})), G = a(() => {
|
|
56
|
+
let e = S(b, N.value?.tokens?.size);
|
|
57
57
|
return l(e, ["md", "swatch"]) ?? "";
|
|
58
|
-
}),
|
|
59
|
-
let e = S(
|
|
60
|
-
return l(e,
|
|
61
|
-
}),
|
|
62
|
-
|
|
63
|
-
},
|
|
64
|
-
if (
|
|
65
|
-
|
|
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
|
-
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
...
|
|
68
|
+
Y(m(e, L.value));
|
|
69
|
+
}, Z = (e) => {
|
|
70
|
+
X({
|
|
71
|
+
...z.value,
|
|
72
72
|
...e
|
|
73
73
|
});
|
|
74
|
-
},
|
|
74
|
+
}, ae = (e) => {
|
|
75
75
|
let t = h(e);
|
|
76
|
-
t &&
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
|
|
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 (!
|
|
83
|
-
let t = e.currentTarget.getBoundingClientRect(), n =
|
|
84
|
-
|
|
85
|
-
},
|
|
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
|
-
}),
|
|
101
|
-
if (!
|
|
100
|
+
}), de = (e) => {
|
|
101
|
+
if (!J.value) return;
|
|
102
102
|
let t = e.shiftKey ? 10 : 1;
|
|
103
|
-
e.key === "ArrowLeft" ? (e.preventDefault(),
|
|
104
|
-
},
|
|
105
|
-
if (!
|
|
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(),
|
|
108
|
-
},
|
|
109
|
-
if (!
|
|
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(),
|
|
112
|
-
},
|
|
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":
|
|
115
|
-
"w-72": !
|
|
116
|
-
[
|
|
117
|
-
[
|
|
118
|
-
}))),
|
|
119
|
-
|
|
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:
|
|
122
|
-
tabindex:
|
|
123
|
-
style: { backgroundColor:
|
|
124
|
-
"aria-label":
|
|
125
|
-
"aria-valuetext": `Saturation ${Math.round(
|
|
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
|
-
[
|
|
129
|
-
"cursor-not-allowed": !
|
|
130
|
-
[
|
|
131
|
-
}))),
|
|
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: `${
|
|
135
|
-
top: `${100 -
|
|
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
|
-
})),
|
|
139
|
-
|
|
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:
|
|
144
|
-
"aria-label":
|
|
145
|
-
tabindex:
|
|
146
|
-
"aria-valuenow": Math.round(
|
|
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": !
|
|
152
|
-
[
|
|
153
|
-
}))),
|
|
151
|
+
"cursor-not-allowed": !J.value,
|
|
152
|
+
[I.value.hue ?? ""]: !0
|
|
153
|
+
}))), ye = a(() => ({
|
|
154
154
|
"aria-hidden": !0,
|
|
155
155
|
style: {
|
|
156
|
-
backgroundColor:
|
|
157
|
-
left: `${
|
|
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
|
-
})),
|
|
161
|
-
|
|
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:
|
|
166
|
-
tabindex:
|
|
167
|
-
"aria-label":
|
|
168
|
-
"aria-valuenow": Math.round(
|
|
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": !
|
|
174
|
-
[
|
|
175
|
-
}))),
|
|
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, ${
|
|
179
|
-
})),
|
|
178
|
+
style: { backgroundImage: `linear-gradient(to right, transparent, ${W.value})` }
|
|
179
|
+
})), xe = a(() => ({
|
|
180
180
|
"aria-hidden": !0,
|
|
181
181
|
style: {
|
|
182
|
-
backgroundColor:
|
|
183
|
-
left: `${
|
|
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
|
-
})),
|
|
186
|
+
})), Se = a(() => t(P.value?.preview, {}, x({
|
|
187
187
|
"flex items-center gap-2": !0,
|
|
188
|
-
[
|
|
189
|
-
}))),
|
|
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
|
-
[
|
|
195
|
-
[
|
|
194
|
+
[G.value]: !0,
|
|
195
|
+
[K.value]: !0
|
|
196
196
|
})
|
|
197
|
-
})),
|
|
197
|
+
})), we = a(() => ({
|
|
198
198
|
class: "absolute inset-0",
|
|
199
|
-
style: { backgroundColor:
|
|
200
|
-
})),
|
|
199
|
+
style: { backgroundColor: H.value }
|
|
200
|
+
})), Te = a(() => t(P.value?.swatches, {}, x({
|
|
201
201
|
"flex flex-wrap gap-2": !0,
|
|
202
|
-
[
|
|
202
|
+
[I.value.swatches ?? ""]: !0
|
|
203
203
|
})));
|
|
204
204
|
return {
|
|
205
|
-
merged:
|
|
206
|
-
hueBind:
|
|
207
|
-
rootBind:
|
|
208
|
-
areaBind:
|
|
209
|
-
cssColor:
|
|
210
|
-
alphaBind:
|
|
211
|
-
showAlpha:
|
|
212
|
-
footerBind: a(() => t(
|
|
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
|
-
[
|
|
214
|
+
[I.value.footer ?? ""]: !0
|
|
215
215
|
}))),
|
|
216
|
-
showFooter: a(() => !!
|
|
217
|
-
previewBind:
|
|
218
|
-
contentBind:
|
|
219
|
-
handleApply:
|
|
220
|
-
swatchesBind:
|
|
221
|
-
handleCancel:
|
|
222
|
-
hueThumbBind:
|
|
223
|
-
areaThumbBind:
|
|
224
|
-
alphaFillBind:
|
|
225
|
-
formattedValue:
|
|
226
|
-
alphaThumbBind:
|
|
227
|
-
presetSwatches:
|
|
228
|
-
previewSwatchBind:
|
|
229
|
-
handleSwatchClick:
|
|
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":
|
|
237
|
-
"cursor-not-allowed opacity-50": !
|
|
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:
|
|
241
|
-
applyButtonProps: a(() =>
|
|
242
|
-
cancelButtonProps: a(() =>
|
|
243
|
-
isSwatchSelected: (e) => p(e,
|
|
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 ?
|
|
246
|
+
return t ? _(t) : void 0;
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
250
|
//#endregion
|
|
251
|
-
export {
|
|
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.
|
|
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
|
-
|
|
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:
|
|
7
|
-
|
|
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:
|
|
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 "
|
|
2
|
-
import t from "../
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
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
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
timeZone: {}
|
|
39
|
+
}, {
|
|
40
|
+
modelValue: {},
|
|
41
|
+
modelModifiers: {}
|
|
42
|
+
}),
|
|
43
|
+
emits: /*@__PURE__*/ u([
|
|
41
44
|
"apply",
|
|
42
45
|
"cancel",
|
|
43
|
-
"change"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
},
|
|
51
|
-
return (
|
|
52
|
-
fill:
|
|
53
|
-
color:
|
|
54
|
-
error:
|
|
55
|
-
range:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"read-only":
|
|
63
|
-
"time-zone":
|
|
64
|
-
"hide-years":
|
|
65
|
-
"hide-months":
|
|
66
|
-
granularity:
|
|
67
|
-
onChange:
|
|
68
|
-
"default-view":
|
|
69
|
-
"start-of-week":
|
|
70
|
-
"disable-dates":
|
|
71
|
-
"hide-weekdays":
|
|
72
|
-
"disable-years":
|
|
73
|
-
"disable-months":
|
|
74
|
-
"hide-outside-days":
|
|
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:
|
|
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
|
-
]),
|
|
103
|
-
apply:
|
|
104
|
-
cancel:
|
|
105
|
-
}, () => [
|
|
106
|
-
onApply:
|
|
107
|
-
onCancel:
|
|
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:
|
|
110
|
-
cancelButton:
|
|
113
|
+
applyButton: _(M),
|
|
114
|
+
cancelButton: _(N)
|
|
111
115
|
}
|
|
112
116
|
}, null, 8, [
|
|
113
117
|
"onApply",
|
|
114
118
|
"onCancel",
|
|
115
119
|
"custom-props"
|
|
116
|
-
])])], 16)) :
|
|
120
|
+
])])], 16)) : i("", !0)], 16));
|
|
117
121
|
}
|
|
118
122
|
});
|
|
119
123
|
//#endregion
|
|
120
|
-
export {
|
|
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" | "
|
|
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;
|