@bridge-ui/vue 0.13.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-forms/SKILL.md +3 -3
- package/dist/Adapters/Examples/icon-fontawesome.js +22 -21
- package/dist/Adapters/Examples/icon-heroicons.js +13 -12
- package/dist/Adapters/Examples/icon-lucide.js +11 -10
- package/dist/Adapters/Examples/icon-phosphor.js +19 -18
- package/dist/Adapters/Examples/icon-tabler.js +10 -9
- package/dist/Adapters/Examples/rich-text-tiptap.js +34 -41
- package/dist/Components/BaseField/composables/useBaseField.d.ts +2 -2
- 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/composables/useCarousel.js +117 -117
- 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_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/FileUpload/fileUpload.types.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/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/index.d.ts +2 -0
- package/dist/index.js +69 -67
- package/docs/README.md +1 -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/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/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,19 +1,18 @@
|
|
|
1
1
|
import { useDateAdapter as e } from "../../../Adapters/Date/useDateAdapter.js";
|
|
2
2
|
import { useResolveMessage as t } from "../../../Adapters/I18n/useI18nAdapter.js";
|
|
3
|
-
import { mergePartBind as n, useBridgeUIComponent as
|
|
4
|
-
import { FIELD_OVERLAY_INJECTION_KEY as
|
|
5
|
-
import { computed as
|
|
6
|
-
import { get as
|
|
7
|
-
import { sortTimeRangeValue as
|
|
8
|
-
import { menuRoundedProps as
|
|
9
|
-
import { cn as
|
|
3
|
+
import { mergePartBind as n, useBridgeUIComponent as r, useBridgeUIMergedRegistryClasses as i } from "../../../Utils/index.js";
|
|
4
|
+
import { FIELD_OVERLAY_INJECTION_KEY as a } from "../../FieldOverlay/fieldOverlayInjectionKey.js";
|
|
5
|
+
import { computed as o, inject as s, ref as c, toValue as l, useAttrs as u, watch as d } from "vue";
|
|
6
|
+
import { get as f, isNil as p, omit as m } from "es-toolkit/compat";
|
|
7
|
+
import { sortTimeRangeValue as h } from "@bridge-ui/core/Domain";
|
|
8
|
+
import { menuRoundedProps as g } from "@bridge-ui/core/Tokens";
|
|
9
|
+
import { cn as _, splitComponentProps as v } from "@bridge-ui/core/Utils";
|
|
10
10
|
//#region src/Components/TimeRangePicker/composables/useTimeRangePicker.ts
|
|
11
|
-
var
|
|
11
|
+
var y = [
|
|
12
12
|
"ampm",
|
|
13
13
|
"fill",
|
|
14
14
|
"color",
|
|
15
15
|
"error",
|
|
16
|
-
"value",
|
|
17
16
|
"classes",
|
|
18
17
|
"maxTime",
|
|
19
18
|
"minTime",
|
|
@@ -30,106 +29,107 @@ var v = [
|
|
|
30
29
|
"defaultValue",
|
|
31
30
|
"disableTimes"
|
|
32
31
|
];
|
|
33
|
-
function
|
|
34
|
-
let
|
|
32
|
+
function b(b, x, S, C) {
|
|
33
|
+
let w = u(), T = s(a, {
|
|
35
34
|
apply: () => void 0,
|
|
36
35
|
cancel: () => void 0
|
|
37
|
-
}),
|
|
38
|
-
bridgeKeys:
|
|
36
|
+
}), E = e(), D = t(), O = o(() => v({
|
|
37
|
+
bridgeKeys: y,
|
|
39
38
|
props: {
|
|
40
|
-
...
|
|
41
|
-
...
|
|
39
|
+
...w,
|
|
40
|
+
...l(b)
|
|
42
41
|
}
|
|
43
|
-
})), { merged:
|
|
44
|
-
libDefaults:
|
|
42
|
+
})), { merged: k, entry: A } = r({
|
|
43
|
+
libDefaults: x,
|
|
45
44
|
componentName: "TimeRangePicker",
|
|
46
|
-
props: () =>
|
|
47
|
-
}),
|
|
45
|
+
props: () => O.value.componentProps
|
|
46
|
+
}), j = o(() => k.value.customProps), M = o(() => m(O.value.inheritedAttrs, [
|
|
48
47
|
"onApply",
|
|
49
48
|
"onCancel",
|
|
50
|
-
"onChange"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
49
|
+
"onChange",
|
|
50
|
+
"onUpdate:modelValue"
|
|
51
|
+
])), N = i({
|
|
52
|
+
entry: A,
|
|
53
|
+
props: () => O.value.componentProps
|
|
54
|
+
}), P = o(() => k.value.timeZone), F = c(S.value);
|
|
55
|
+
d(() => [S.value, k.value.showFooter], ([e, t]) => {
|
|
56
|
+
t && (F.value = e);
|
|
57
57
|
});
|
|
58
|
-
let
|
|
59
|
-
|
|
60
|
-
},
|
|
61
|
-
let t =
|
|
62
|
-
if (
|
|
63
|
-
|
|
58
|
+
let I = o(() => k.value.showFooter ? F.value : S.value), L = o(() => I.value?.[0] ?? E.value.now(P.value)), R = o(() => I.value?.[1] ?? E.value.now(P.value)), z = (e) => {
|
|
59
|
+
S.value = e, C("change", e);
|
|
60
|
+
}, B = (e) => {
|
|
61
|
+
let t = h(e, E.value, P.value);
|
|
62
|
+
if (k.value.showFooter) {
|
|
63
|
+
F.value = t;
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
},
|
|
68
|
-
if (
|
|
69
|
-
let t =
|
|
70
|
-
|
|
71
|
-
},
|
|
72
|
-
if (
|
|
73
|
-
let t =
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
let e =
|
|
81
|
-
return n(
|
|
66
|
+
z(t);
|
|
67
|
+
}, V = (e) => {
|
|
68
|
+
if (p(e)) return;
|
|
69
|
+
let t = I.value?.[1] ?? E.value.now(P.value);
|
|
70
|
+
B([e, t]);
|
|
71
|
+
}, H = (e) => {
|
|
72
|
+
if (p(e)) return;
|
|
73
|
+
let t = I.value?.[0] ?? E.value.now(P.value);
|
|
74
|
+
B([t, e]);
|
|
75
|
+
}, U = () => {
|
|
76
|
+
z(F.value), C("apply"), T.apply();
|
|
77
|
+
}, W = () => {
|
|
78
|
+
F.value = S.value, C("cancel"), T.cancel();
|
|
79
|
+
}, G = o(() => {
|
|
80
|
+
let e = f(g, k.value.rounded ?? "md");
|
|
81
|
+
return n(j.value?.root, M.value, _({
|
|
82
82
|
"flex flex-col overflow-hidden bg-white shadow-lg dark:bg-dark-900": !0,
|
|
83
|
-
"w-full":
|
|
84
|
-
"w-fit": !
|
|
83
|
+
"w-full": k.value.fill,
|
|
84
|
+
"w-fit": !k.value.fill,
|
|
85
85
|
[e]: !0,
|
|
86
|
-
[
|
|
86
|
+
[N.value.root ?? ""]: !0
|
|
87
87
|
}));
|
|
88
|
-
}),
|
|
88
|
+
}), K = o(() => _({ "flex w-full px-2.5": !0 })), q = o(() => _({ "w-px shrink-0": !0 })), J = o(() => n(j.value?.panels, {}, _({
|
|
89
89
|
"flex w-full flex-row px-2.5 pb-2.5": !0,
|
|
90
|
-
[
|
|
91
|
-
}))),
|
|
90
|
+
[N.value.panels ?? ""]: !0
|
|
91
|
+
}))), Y = o(() => n(j.value?.start, {}, _({
|
|
92
92
|
"flex min-w-0 flex-1 flex-col pr-2.5": !0,
|
|
93
|
-
[
|
|
94
|
-
}))),
|
|
93
|
+
[N.value.start ?? ""]: !0
|
|
94
|
+
}))), X = o(() => n(j.value?.end, {}, _({
|
|
95
95
|
"flex min-w-0 flex-1 flex-col pl-2.5": !0,
|
|
96
|
-
[
|
|
97
|
-
}))),
|
|
98
|
-
[
|
|
96
|
+
[N.value.end ?? ""]: !0
|
|
97
|
+
}))), Z = o(() => _({ "min-w-0 flex-1 px-2 py-2 text-center text-xs font-medium tracking-wide text-dark-500 uppercase dark:text-dark-400": !0 })), Q = o(() => _({
|
|
98
|
+
[Z.value]: !0,
|
|
99
99
|
"pr-2.5": !0,
|
|
100
|
-
[
|
|
101
|
-
})),
|
|
102
|
-
[
|
|
100
|
+
[N.value.startTitle ?? ""]: !0
|
|
101
|
+
})), $ = o(() => _({
|
|
102
|
+
[Z.value]: !0,
|
|
103
103
|
"pl-2.5": !0,
|
|
104
|
-
[
|
|
104
|
+
[N.value.endTitle ?? ""]: !0
|
|
105
105
|
}));
|
|
106
106
|
return {
|
|
107
|
-
merged:
|
|
108
|
-
endBind:
|
|
109
|
-
rootBind:
|
|
110
|
-
startBind:
|
|
111
|
-
footerBind:
|
|
107
|
+
merged: k,
|
|
108
|
+
endBind: X,
|
|
109
|
+
rootBind: G,
|
|
110
|
+
startBind: Y,
|
|
111
|
+
footerBind: o(() => n(j.value?.footer, {}, _({
|
|
112
112
|
"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,
|
|
113
|
-
[
|
|
113
|
+
[N.value.footer ?? ""]: !0
|
|
114
114
|
}))),
|
|
115
|
-
titlesBind:
|
|
116
|
-
panelsBind:
|
|
117
|
-
showFooter:
|
|
118
|
-
handleApply:
|
|
119
|
-
titleGapBind:
|
|
120
|
-
displayValue:
|
|
121
|
-
handleCancel:
|
|
122
|
-
endTitleBind:
|
|
123
|
-
startTitleBind:
|
|
124
|
-
endDisplayValue:
|
|
125
|
-
handleEndChange:
|
|
126
|
-
startDisplayValue:
|
|
127
|
-
handleStartChange:
|
|
128
|
-
applyButtonProps:
|
|
129
|
-
cancelButtonProps:
|
|
130
|
-
endTitle:
|
|
131
|
-
startTitle:
|
|
115
|
+
titlesBind: K,
|
|
116
|
+
panelsBind: J,
|
|
117
|
+
showFooter: o(() => !!k.value.showFooter),
|
|
118
|
+
handleApply: U,
|
|
119
|
+
titleGapBind: q,
|
|
120
|
+
displayValue: I,
|
|
121
|
+
handleCancel: W,
|
|
122
|
+
endTitleBind: $,
|
|
123
|
+
startTitleBind: Q,
|
|
124
|
+
endDisplayValue: R,
|
|
125
|
+
handleEndChange: H,
|
|
126
|
+
startDisplayValue: L,
|
|
127
|
+
handleStartChange: V,
|
|
128
|
+
applyButtonProps: o(() => j.value?.applyButton),
|
|
129
|
+
cancelButtonProps: o(() => j.value?.cancelButton),
|
|
130
|
+
endTitle: o(() => k.value.endTitle ?? D("End time")),
|
|
131
|
+
startTitle: o(() => k.value.startTitle ?? D("Start time"))
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
134
|
//#endregion
|
|
135
|
-
export {
|
|
135
|
+
export { b as useTimeRangePicker };
|
|
@@ -92,6 +92,10 @@ export interface TimeRangePickerEmits {
|
|
|
92
92
|
* Emitted when Apply is pressed (`showFooter`) or when the value commits.
|
|
93
93
|
*/
|
|
94
94
|
change: [value: null | TimeRangeValue];
|
|
95
|
+
/**
|
|
96
|
+
* Emitted when `v-model` should update.
|
|
97
|
+
*/
|
|
98
|
+
"update:modelValue": [value: null | TimeRangeValue];
|
|
95
99
|
}
|
|
96
100
|
export interface TimeRangePickerOwnProps {
|
|
97
101
|
/**
|
|
@@ -216,12 +220,6 @@ export interface TimeRangePickerOwnProps {
|
|
|
216
220
|
* @default undefined
|
|
217
221
|
*/
|
|
218
222
|
timeZone?: string;
|
|
219
|
-
/**
|
|
220
|
-
* Controlled value.
|
|
221
|
-
*
|
|
222
|
-
* @default undefined
|
|
223
|
-
*/
|
|
224
|
-
value?: null | TimeRangeValue;
|
|
225
223
|
}
|
|
226
224
|
export interface TimeRangePickerSlots {
|
|
227
225
|
/**
|
|
@@ -232,4 +230,11 @@ export interface TimeRangePickerSlots {
|
|
|
232
230
|
*/
|
|
233
231
|
footer?: Slot<FieldOverlayFooterSlotProps>;
|
|
234
232
|
}
|
|
235
|
-
export type TimeRangePickerProps = MergeHtmlProps<TimeRangePickerOwnProps, HTMLAttributes
|
|
233
|
+
export type TimeRangePickerProps = MergeHtmlProps<TimeRangePickerOwnProps, HTMLAttributes> & {
|
|
234
|
+
/**
|
|
235
|
+
* Bound with `v-model` on the component (`defineModel` internally).
|
|
236
|
+
*
|
|
237
|
+
* @default undefined
|
|
238
|
+
*/
|
|
239
|
+
modelValue?: null | TimeRangeValue;
|
|
240
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -113,6 +113,8 @@ export { Progress, useProgress } from './Components/Progress';
|
|
|
113
113
|
export type { ProgressClasses, ProgressColorOverrides, ProgressCustomProps, ProgressOwnProps, ProgressProps, ProgressRoundedOverrides, ProgressSizeOverrides, ProgressVariantOverrides, } from './Components/Progress';
|
|
114
114
|
export { Radio, useRadio } from './Components/Radio';
|
|
115
115
|
export type { RadioClasses, RadioColorOverrides, RadioCustomProps, RadioOwnProps, RadioProps, RadioRoundedOverrides, RadioSizeOverrides, RadioSlots, } from './Components/Radio';
|
|
116
|
+
export { Rating, useRating } from './Components/Rating';
|
|
117
|
+
export type { RatingClasses, RatingColorOverrides, RatingCustomProps, RatingEmits, RatingItemState, RatingOwnProps, RatingProps, RatingSizeOverrides, RatingSlots, } from './Components/Rating';
|
|
116
118
|
export { RichTextEditor, useRichTextEditor } from './Components/RichTextEditor';
|
|
117
119
|
export type { RichTextEditorClasses, RichTextEditorColorOverrides, RichTextEditorCustomProps, RichTextEditorEmits, RichTextEditorOwnProps, RichTextEditorProps, RichTextEditorRoundedOverrides, RichTextEditorSizeOverrides, RichTextEditorSlots, RichTextEditorVariantOverrides, } from './Components/RichTextEditor';
|
|
118
120
|
export { Select, SelectOption } from './Components/Select';
|
package/dist/index.js
CHANGED
|
@@ -116,70 +116,72 @@ import { usePasswordField as _t } from "./Components/PasswordField/composables/u
|
|
|
116
116
|
import vt from "./Components/PasswordField/PasswordField.js";
|
|
117
117
|
import { useRadio as yt } from "./Components/Radio/composables/useRadio.js";
|
|
118
118
|
import bt from "./Components/Radio/Radio.js";
|
|
119
|
-
import
|
|
120
|
-
import {
|
|
121
|
-
import Ct from "./Components/
|
|
122
|
-
import wt from "./Components/
|
|
123
|
-
import Tt from "./Components/
|
|
124
|
-
import Et from "./Components/
|
|
125
|
-
import
|
|
126
|
-
import
|
|
127
|
-
import
|
|
128
|
-
import
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import Pt from "./Components/Sidebar/
|
|
133
|
-
import Ft from "./Components/Sidebar/
|
|
134
|
-
import It from "./Components/Sidebar/
|
|
135
|
-
import {
|
|
136
|
-
import Rt from "./Components/
|
|
137
|
-
import zt from "./Components/Sidebar/
|
|
138
|
-
import Bt from "./Components/Sidebar/
|
|
139
|
-
import Vt from "./Components/
|
|
140
|
-
import
|
|
141
|
-
import Ut from "./Components/
|
|
142
|
-
import
|
|
143
|
-
import Gt from "./Components/
|
|
144
|
-
import {
|
|
145
|
-
import qt from "./Components/
|
|
146
|
-
import {
|
|
147
|
-
import Yt from "./Components/
|
|
148
|
-
import {
|
|
149
|
-
import Zt from "./Components/
|
|
150
|
-
import {
|
|
151
|
-
import $t from "./Components/
|
|
152
|
-
import {
|
|
153
|
-
import tn from "./Components/
|
|
154
|
-
import {
|
|
155
|
-
import
|
|
156
|
-
import an from "./Components/
|
|
157
|
-
import
|
|
158
|
-
import sn from "./Components/
|
|
159
|
-
import {
|
|
160
|
-
import ln from "./Components/
|
|
161
|
-
import {
|
|
162
|
-
import dn from "./Components/
|
|
163
|
-
import {
|
|
164
|
-
import pn from "./Components/
|
|
165
|
-
import {
|
|
166
|
-
import hn from "./Components/
|
|
167
|
-
import {
|
|
168
|
-
import
|
|
169
|
-
import vn from "./Components/
|
|
170
|
-
import yn from "./Components/
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import Sn from "./Components/
|
|
174
|
-
import Cn from "./Components/
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import En from "./Components/
|
|
178
|
-
import
|
|
179
|
-
import On from "./Components/
|
|
180
|
-
import kn from "./
|
|
181
|
-
import
|
|
182
|
-
import {
|
|
183
|
-
import
|
|
184
|
-
import {
|
|
185
|
-
|
|
119
|
+
import xt from "./Provider/BridgeUIProvider.js";
|
|
120
|
+
import { createBridgeUI as St } from "./Provider/createBridgeUI.js";
|
|
121
|
+
import { useRating as Ct } from "./Components/Rating/composables/useRating.js";
|
|
122
|
+
import wt from "./Components/Rating/Rating.js";
|
|
123
|
+
import { useRichTextEditor as Tt } from "./Components/RichTextEditor/composables/useRichTextEditor.js";
|
|
124
|
+
import { useTextField as Et } from "./Components/TextField/composables/useTextField.js";
|
|
125
|
+
import Dt from "./Components/TextField/TextField.js";
|
|
126
|
+
import Ot from "./Components/RichTextEditor/RichTextEditor.js";
|
|
127
|
+
import kt from "./Components/Select/Select.js";
|
|
128
|
+
import At from "./Components/Select/SelectOption.js";
|
|
129
|
+
import { useSidebar as jt } from "./Components/Sidebar/composables/useSidebar.js";
|
|
130
|
+
import { useSidebarInset as Mt } from "./Components/Sidebar/composables/useSidebarInset.js";
|
|
131
|
+
import { useSidebarList as Nt } from "./Components/Sidebar/composables/useSidebarList.js";
|
|
132
|
+
import { useSidebarListItem as Pt } from "./Components/Sidebar/composables/useSidebarListItem.js";
|
|
133
|
+
import { useSidebarProvider as Ft } from "./Components/Sidebar/composables/useSidebarProvider.js";
|
|
134
|
+
import { useSidebarShell as It } from "./Components/Sidebar/composables/useSidebarShell.js";
|
|
135
|
+
import { useSidebarTrigger as Lt } from "./Components/Sidebar/composables/useSidebarTrigger.js";
|
|
136
|
+
import Rt from "./Components/Sidebar/Sidebar.js";
|
|
137
|
+
import zt from "./Components/Sidebar/SidebarInset.js";
|
|
138
|
+
import Bt from "./Components/Sidebar/SidebarList.js";
|
|
139
|
+
import { useTooltip as Vt } from "./Components/Tooltip/composables/useTooltip.js";
|
|
140
|
+
import Ht from "./Components/Tooltip/Tooltip.js";
|
|
141
|
+
import Ut from "./Components/Sidebar/SidebarListItem.js";
|
|
142
|
+
import Wt from "./Components/Sidebar/SidebarProvider.js";
|
|
143
|
+
import Gt from "./Components/Sidebar/SidebarTrigger.js";
|
|
144
|
+
import { useSkeleton as Kt } from "./Components/Skeleton/composables/useSkeleton.js";
|
|
145
|
+
import qt from "./Components/Skeleton/Skeleton.js";
|
|
146
|
+
import { useSlider as Jt } from "./Components/Slider/composables/useSlider.js";
|
|
147
|
+
import Yt from "./Components/Slider/Slider.js";
|
|
148
|
+
import { useSnackbar as Xt } from "./Components/Snackbar/composables/useSnackbar.js";
|
|
149
|
+
import Zt from "./Components/Snackbar/Snackbar.js";
|
|
150
|
+
import { useSpinner as Qt } from "./Components/Spinner/composables/useSpinner.js";
|
|
151
|
+
import $t from "./Components/Spinner/Spinner.js";
|
|
152
|
+
import { useStep as en } from "./Components/Step/composables/useStep.js";
|
|
153
|
+
import tn from "./Components/Step/Step.js";
|
|
154
|
+
import { useStepper as nn } from "./Components/Stepper/composables/useStepper.js";
|
|
155
|
+
import rn from "./Components/Stepper/Stepper.js";
|
|
156
|
+
import { useSwitch as an } from "./Components/Switch/composables/useSwitch.js";
|
|
157
|
+
import on from "./Components/Switch/Switch.js";
|
|
158
|
+
import { TABS_INJECTION_KEY as sn } from "./Components/Tabs/tabsInjectionKey.js";
|
|
159
|
+
import { useTab as cn } from "./Components/Tab/composables/useTab.js";
|
|
160
|
+
import ln from "./Components/Tab/Tab.js";
|
|
161
|
+
import { useTabItem as un } from "./Components/TabItem/composables/useTabItem.js";
|
|
162
|
+
import dn from "./Components/TabItem/TabItem.js";
|
|
163
|
+
import { useTabList as fn } from "./Components/TabList/composables/useTabList.js";
|
|
164
|
+
import pn from "./Components/TabList/TabList.js";
|
|
165
|
+
import { useTabPanel as mn } from "./Components/TabPanel/composables/useTabPanel.js";
|
|
166
|
+
import hn from "./Components/TabPanel/TabPanel.js";
|
|
167
|
+
import { useTabs as gn } from "./Components/Tabs/composables/useTabs.js";
|
|
168
|
+
import _n from "./Components/Tabs/Tabs.js";
|
|
169
|
+
import { useTextarea as vn } from "./Components/Textarea/composables/useTextarea.js";
|
|
170
|
+
import yn from "./Components/Textarea/Textarea.js";
|
|
171
|
+
import { useTimeField as bn } from "./Components/TimeField/composables/useTimeField.js";
|
|
172
|
+
import { useTimePicker as xn } from "./Components/TimePicker/composables/useTimePicker.js";
|
|
173
|
+
import Sn from "./Components/TimePicker/TimePicker.js";
|
|
174
|
+
import Cn from "./Components/TimeField/TimeField.js";
|
|
175
|
+
import { useTimeRangeField as wn } from "./Components/TimeRangeField/composables/useTimeRangeField.js";
|
|
176
|
+
import { useTimeRangePicker as Tn } from "./Components/TimeRangePicker/composables/useTimeRangePicker.js";
|
|
177
|
+
import En from "./Components/TimeRangePicker/TimeRangePicker.js";
|
|
178
|
+
import Dn from "./Components/TimeRangeField/TimeRangeField.js";
|
|
179
|
+
import { TOGGLE_GROUP_INJECTION_KEY as On } from "./Components/ToggleGroup/toggleGroupInjectionKey.js";
|
|
180
|
+
import { useToggleGroup as kn } from "./Components/ToggleGroup/composables/useToggleGroup.js";
|
|
181
|
+
import An from "./Components/ToggleGroup/ToggleGroup.js";
|
|
182
|
+
import { useToggleItem as jn } from "./Components/ToggleItem/composables/useToggleItem.js";
|
|
183
|
+
import Mn from "./Components/ToggleItem/ToggleItem.js";
|
|
184
|
+
import { SEMANTIC_ICON_NAMES as Nn, interpolateMessage as Pn, resolveMessage as Fn, selectPluralMessage as In } from "@bridge-ui/core/Adapters";
|
|
185
|
+
import { cn as Ln } from "@bridge-ui/core/Utils";
|
|
186
|
+
import { BRIDGE_UI_DEFAULT_GLOBAL as Rn, mergeBridgeUIComponents as zn, mergeBridgeUIGlobal as Bn, resolveBridgeUIOptions as Vn } from "@bridge-ui/core/Config";
|
|
187
|
+
export { u as ACCORDION_INJECTION_KEY, h as Accordion, v as AccordionItem, C as ActionFooter, T as Alert, ee as Autocomplete, te as AutocompleteOption, ne as Avatar, Rn as BRIDGE_UI_DEFAULT_GLOBAL, b as BUTTON_GROUP_INJECTION_KEY, ie as Badge, ae as BaseField, ue as Breadcrumb, le as BreadcrumbItem, xt as BridgeUIProvider, S as Button, fe as ButtonGroup, be as Calendar, he as CalendarDate, _e as CalendarMonth, we as CalendarRange, ye as CalendarYear, Ee as Card, Oe as Carousel, Ae as CarouselSlide, Pe as Checkbox, P as Chip, Re as ColorField, Le as ColorPicker, He as DateField, Ve as DatePicker, Ke as DateRangeField, Ge as DateRangePicker, Qe as DateTimeField, Ze as DateTimePicker, nt as DateTimeRangeField, tt as DateTimeRangePicker, Ce as Divider, V as Drawer, it as EmptyState, K as FieldOverlay, ct as FileUpload, st as FileUploadItem, Me as FormControl, L as FormField, _ as Icon, I as Label, ut as Link, J as List, Y as ListItem, X as ListSection, $ as Listbox, U as Menu, G as Modal, ft as NumberField, mt as OtpField, gt as Pagination, vt as PasswordField, Q as Progress, bt as Radio, wt as Rating, Ot as RichTextEditor, Nn as SEMANTIC_ICON_NAMES, kt as Select, At as SelectOption, Rt as Sidebar, zt as SidebarInset, Bt as SidebarList, Ut as SidebarListItem, Wt as SidebarProvider, Gt as SidebarTrigger, qt as Skeleton, Yt as Slider, Zt as Snackbar, $t as Spinner, tn as Step, rn as Stepper, on as Switch, sn as TABS_INJECTION_KEY, On as TOGGLE_GROUP_INJECTION_KEY, ln as Tab, dn as TabItem, pn as TabList, hn as TabPanel, _n as Tabs, Dt as TextField, yn as Textarea, Cn as TimeField, Xe as TimePanel, Sn as TimePicker, Dn as TimeRangeField, En as TimeRangePicker, An as ToggleGroup, Mn as ToggleItem, Ht as Tooltip, Ln as cn, St as createBridgeUI, D as findFirstEnabledOptionIndex, O as findLastEnabledOptionIndex, k as getListboxActiveDescendantId, A as getListboxOptionId, Pn as interpolateMessage, zn as mergeBridgeUIComponents, Bn as mergeBridgeUIGlobal, j as moveListboxHighlight, Vn as resolveBridgeUIOptions, Fn as resolveMessage, In as selectPluralMessage, t as setDateAdapterForTests, r as setI18nAdapterForTests, o as setIconAdapterForTests, c as setRichTextAdapterForTests, m as useAccordion, g as useAccordionItem, y as useActionFooter, w as useAlert, re as useBadge, oe as useBaseField, se as useBreadcrumb, ce as useBreadcrumbItem, d as useBreakpoint, e as useBridgeUI, f as useBridgeUIComponent, p as useBridgeUIMergedRegistryClasses, x as useButton, de as useButtonGroup, pe as useCalendar, me as useCalendarDate, ge as useCalendarMonth, xe as useCalendarRange, ve as useCalendarYear, Te as useCard, De as useCarousel, ke as useCarouselSlide, Ne as useCheckbox, N as useChip, Fe as useColorField, Ie as useColorPicker, n as useDateAdapter, ze as useDateField, Be as useDatePicker, Ue as useDateRangeField, We as useDateRangePicker, qe as useDateTimeField, Je as useDateTimePicker, $e as useDateTimeRangeField, et as useDateTimeRangePicker, Se as useDivider, B as useDrawer, rt as useEmptyState, z as useFieldOverlay, at as useFileUpload, ot as useFileUploadItem, je as useFormControl, E as useFormField, i as useI18nAdapter, s as useIconAdapter, F as useLabel, lt as useLink, q as useList, R as useListbox, M as useListboxNavigation, H as useMenu, W as useModal, dt as useNumberField, pt as useOtpField, ht as usePagination, _t as usePasswordField, Z as useProgress, yt as useRadio, Ct as useRating, a as useResolveMessage, l as useRichTextAdapter, Tt as useRichTextEditor, jt as useSidebar, Mt as useSidebarInset, Nt as useSidebarList, Pt as useSidebarListItem, Ft as useSidebarProvider, It as useSidebarShell, Lt as useSidebarTrigger, Kt as useSkeleton, Jt as useSlider, Xt as useSnackbar, Qt as useSpinner, en as useStep, nn as useStepper, an as useSwitch, cn as useTab, un as useTabItem, fn as useTabList, mn as useTabPanel, gn as useTabs, Et as useTextField, vn as useTextarea, bn as useTimeField, Ye as useTimePanel, xn as useTimePicker, wn as useTimeRangeField, Tn as useTimeRangePicker, kn as useToggleGroup, jn as useToggleItem, Vt as useTooltip };
|
package/docs/README.md
CHANGED
|
@@ -53,6 +53,7 @@ Component reference for **Vue**. This folder ships with the npm package.
|
|
|
53
53
|
- [PasswordField](./components/PasswordField.md)
|
|
54
54
|
- [Progress](./components/Progress.md)
|
|
55
55
|
- [Radio](./components/Radio.md)
|
|
56
|
+
- [Rating](./components/Rating.md)
|
|
56
57
|
- [RichTextEditor](./components/RichTextEditor.md)
|
|
57
58
|
- [Select](./components/Select.md)
|
|
58
59
|
- [Sidebar](./components/Sidebar.md)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# BaseField
|
|
2
2
|
|
|
3
|
-
> Building block for composite field chrome. Prefer `OtpField` / `Slider` in apps; BaseField remains exported for advanced composition. Theme shared chrome via `components.BaseField`.
|
|
3
|
+
> Building block for composite field chrome. Prefer `OtpField` / `Rating` / `Slider` in apps; BaseField remains exported for advanced composition. Theme shared chrome via `components.BaseField`.
|
|
4
4
|
|
|
5
5
|
Shared vertical field chrome (label, corner, start/end slots, description,
|
|
6
|
-
error message) for OtpField, Slider, and similar controls.
|
|
6
|
+
error message) for OtpField, Rating, Slider, and similar controls.
|
|
7
7
|
|
|
8
8
|
Control tokens stay on the parent (`tokens.size`, …).
|
|
9
9
|
|
|
@@ -124,4 +124,4 @@ const field = useBaseField(() => ({
|
|
|
124
124
|
|
|
125
125
|
## Related components
|
|
126
126
|
|
|
127
|
-
OtpField, Slider, Label
|
|
127
|
+
OtpField, Rating, Slider, Label
|
|
@@ -75,7 +75,6 @@ import { Calendar } from "@bridge-ui/vue/Components/Calendar";
|
|
|
75
75
|
| `slots` | `CalendarDateSlots` | — | Named slots forwarded to `CalendarDate` (`day`). |
|
|
76
76
|
| `startOfWeek` | `StartOfWeek` | `0` | First day of the week (`0` = Sunday). |
|
|
77
77
|
| `timeZone` | `string` | — | IANA time zone. |
|
|
78
|
-
| `value` | `DatePickerModel` | — | Controlled selection model. |
|
|
79
78
|
| `view` | `CalendarView` | — | Controlled panel view. Pair with `view-change`. |
|
|
80
79
|
| `viewDate` | `Date` | — | Controlled displayed month. Pair with `view-date-change`. |
|
|
81
80
|
|
|
@@ -48,7 +48,6 @@ import { CalendarDate } from "@bridge-ui/vue/Components/CalendarDate";
|
|
|
48
48
|
| `slots` | `{ day?: … }` | — | Named slots (`day`). |
|
|
49
49
|
| `startOfWeek` | `StartOfWeek` | `0` | First day of the week. |
|
|
50
50
|
| `timeZone` | `string` | — | IANA time zone. |
|
|
51
|
-
| `value` | `DatePickerModel` | — | Controlled selection model. |
|
|
52
51
|
| `viewDate` | `Date` | — | Month currently displayed in the grid. |
|
|
53
52
|
|
|
54
53
|
### v-model
|
|
@@ -37,7 +37,6 @@ import { CalendarMonth } from "@bridge-ui/vue/Components/CalendarMonth";
|
|
|
37
37
|
| `rounded` | `CalendarRounded` | `"md"` | Border radius of month tiles. |
|
|
38
38
|
| `selection` | `DatePickerModel` | — | Date model used to highlight tiles on the commit panel. |
|
|
39
39
|
| `timeZone` | `string` | — | IANA time zone. |
|
|
40
|
-
| `value` | `number` | — | Selected month (`0`–`11`). |
|
|
41
40
|
| `year` | `number` | current year | Year context for min/max month disabling. |
|
|
42
41
|
|
|
43
42
|
### v-model
|
|
@@ -66,7 +66,6 @@ import { CalendarRange } from "@bridge-ui/vue/Components/CalendarRange";
|
|
|
66
66
|
| `slots` | `CalendarRangeSlots` | — | Named slots (`day`, optional `startAside` / `endAside`). |
|
|
67
67
|
| `startOfWeek` | `StartOfWeek` | `0` | First day of the week. |
|
|
68
68
|
| `timeZone` | `string` | — | IANA time zone. |
|
|
69
|
-
| `value` | `DateRangeValue \| null` | — | Controlled range value (`[start, end]`). |
|
|
70
69
|
| `viewDate` | `Date` | — | Controlled start (left) displayed month. |
|
|
71
70
|
|
|
72
71
|
### v-model
|
|
@@ -38,7 +38,6 @@ import { CalendarYear } from "@bridge-ui/vue/Components/CalendarYear";
|
|
|
38
38
|
| `selection` | `DatePickerModel` | — | Date model used to highlight tiles on the commit panel. |
|
|
39
39
|
| `startYear` | `number` | — | First year of the visible page. |
|
|
40
40
|
| `timeZone` | `string` | — | IANA time zone. |
|
|
41
|
-
| `value` | `number` | — | Selected year. |
|
|
42
41
|
|
|
43
42
|
### v-model
|
|
44
43
|
|
|
@@ -15,23 +15,16 @@ import { ColorPicker } from "@bridge-ui/vue/Components/ColorPicker";
|
|
|
15
15
|
```vue
|
|
16
16
|
<ColorPicker />
|
|
17
17
|
|
|
18
|
-
<ColorPicker
|
|
18
|
+
<ColorPicker v-model="color" />
|
|
19
19
|
|
|
20
|
-
<ColorPicker
|
|
21
|
-
alpha
|
|
22
|
-
show-footer
|
|
23
|
-
format="rgba"
|
|
24
|
-
:value="color"
|
|
25
|
-
v-on:change="color = $event"
|
|
26
|
-
/>
|
|
20
|
+
<ColorPicker alpha show-footer format="rgba" v-model="color" />
|
|
27
21
|
```
|
|
28
22
|
|
|
29
23
|
### Preset swatches
|
|
30
24
|
|
|
31
25
|
```vue
|
|
32
26
|
<ColorPicker
|
|
33
|
-
|
|
34
|
-
v-on:change="color = $event"
|
|
27
|
+
v-model="color"
|
|
35
28
|
:swatches="['#0f766e', '#2563eb', '#dc2626', '#000000']"
|
|
36
29
|
/>
|
|
37
30
|
```
|
|
@@ -39,11 +32,11 @@ import { ColorPicker } from "@bridge-ui/vue/Components/ColorPicker";
|
|
|
39
32
|
### Output format
|
|
40
33
|
|
|
41
34
|
```vue
|
|
42
|
-
<ColorPicker format="hex"
|
|
35
|
+
<ColorPicker format="hex" v-model="color" />
|
|
43
36
|
|
|
44
|
-
<ColorPicker format="rgb"
|
|
37
|
+
<ColorPicker format="rgb" v-model="color" />
|
|
45
38
|
|
|
46
|
-
<ColorPicker format="rgba"
|
|
39
|
+
<ColorPicker format="rgba" v-model="color" />
|
|
47
40
|
```
|
|
48
41
|
|
|
49
42
|
## Props
|
|
@@ -61,7 +54,13 @@ import { ColorPicker } from "@bridge-ui/vue/Components/ColorPicker";
|
|
|
61
54
|
| `rounded` | `ColorPickerRounded` | `"md"` | Border radius of the picker shell and swatches. |
|
|
62
55
|
| `showFooter` | `boolean` | `false` | Shows Cancel / Apply. Selection is draft until Apply. |
|
|
63
56
|
| `swatches` | `string[]` | — | Preset colors shown below the sliders. |
|
|
64
|
-
|
|
57
|
+
|
|
58
|
+
### v-model
|
|
59
|
+
|
|
60
|
+
| Prop / Event | Type | Default | Description |
|
|
61
|
+
| ------------------- | --------------------------------- | ------- | ------------------------------------- |
|
|
62
|
+
| `modelValue` | `string \| null` | — | Bound with `v-model`. |
|
|
63
|
+
| `update:modelValue` | `(value: string \| null) => void` | — | Emitted when `v-model` should update. |
|
|
65
64
|
|
|
66
65
|
Picker tokens live on `components.ColorPicker` (`rounded`, `size`).
|
|
67
66
|
|
|
@@ -76,7 +76,6 @@ Call `apply()` to commit and close the overlay, or `cancel()` to discard and clo
|
|
|
76
76
|
| `slots` | `DatePickerSlots` | — | Named slots (`day` on the calendar, `footer` for Cancel / Apply). |
|
|
77
77
|
| `startOfWeek` | `StartOfWeek` | `0` | First day of the week. |
|
|
78
78
|
| `timeZone` | `string` | — | IANA time zone. |
|
|
79
|
-
| `value` | `DatePickerModel` | — | Controlled value. |
|
|
80
79
|
|
|
81
80
|
### v-model
|
|
82
81
|
|
|
@@ -55,7 +55,6 @@ import { DateRangePicker } from "@bridge-ui/vue/Components/DateRangePicker";
|
|
|
55
55
|
| `slots` | `DateRangePickerSlots` | — | Named slots (`day` on the calendars, `footer` for Cancel / Apply). |
|
|
56
56
|
| `startOfWeek` | `StartOfWeek` | `0` | First day of the week. |
|
|
57
57
|
| `timeZone` | `string` | — | IANA time zone. |
|
|
58
|
-
| `value` | `DateRangeValue \| null` | — | Controlled value (`[start, end]`). |
|
|
59
58
|
|
|
60
59
|
### v-model
|
|
61
60
|
|
|
@@ -54,7 +54,6 @@ import { DateTimePicker } from "@bridge-ui/vue/Components/DateTimePicker";
|
|
|
54
54
|
| `slots` | `DateTimePickerSlots` | — | Named slots (`day` on the calendar, `footer` for Cancel / Apply). |
|
|
55
55
|
| `startOfWeek` | `StartOfWeek` | `0` | First day of the week. |
|
|
56
56
|
| `timeZone` | `string` | — | IANA time zone. |
|
|
57
|
-
| `value` | `Date \| null` | — | Controlled date-time value. |
|
|
58
57
|
|
|
59
58
|
### v-model
|
|
60
59
|
|
|
@@ -54,7 +54,6 @@ import { DateTimeRangePicker } from "@bridge-ui/vue/Components/DateTimeRangePick
|
|
|
54
54
|
| `slots` | `DateTimeRangePickerSlots` | — | Named slots (`day` on the calendars, `footer` for Cancel / Apply). |
|
|
55
55
|
| `startOfWeek` | `StartOfWeek` | `0` | First day of the week. |
|
|
56
56
|
| `timeZone` | `string` | — | IANA time zone. |
|
|
57
|
-
| `value` | `DateRangeValue \| null` | — | Controlled value (`[start, end]` date-times). |
|
|
58
57
|
|
|
59
58
|
### v-model
|
|
60
59
|
|