@bridge-ui/vue 0.19.0 → 0.20.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/dist/Components/Autocomplete/composables/useAutocomplete.js +257 -265
- package/dist/Components/Calendar/composables/useCalendar.d.ts +1 -1
- package/dist/Components/Calendar/composables/useCalendar.js +192 -187
- package/dist/Components/CalendarMonth/composables/useCalendarMonth.d.ts +1 -1
- package/dist/Components/CalendarRange/composables/useCalendarRange.d.ts +1 -1
- package/dist/Components/CalendarRange/composables/useCalendarRange.js +243 -238
- package/dist/Components/ChartBar/composables/useChartBar.js +4 -4
- package/dist/Components/ChartFunnel/composables/useChartFunnel.js +10 -10
- package/dist/Components/ChartLine/composables/useChartLine.js +1 -1
- package/dist/Components/ChartPie/composables/useChartPie.js +10 -10
- package/dist/Components/ChartScatter/composables/useChartScatter.js +21 -21
- package/dist/Components/DataTable/DataTableColumnsMenu.vue.d.ts +1 -2
- package/dist/Components/DataTable/composables/useDataTable.d.ts +8 -66
- package/dist/Components/DataTable/composables/useDataTable.js +267 -349
- package/dist/Components/DataTable/composables/useDataTableColumnsMenu.d.ts +1 -2
- package/dist/Components/ListItem/composables/useListItem.js +29 -30
- package/dist/Components/Listbox/composables/useListboxNavigation.d.ts +0 -5
- package/dist/Components/Listbox/composables/useListboxNavigation.js +23 -50
- package/dist/Components/Listbox/index.d.ts +1 -1
- package/dist/Components/Listbox/index.js +5 -5
- package/dist/Components/ResizablePanel/composables/useResizablePanel.d.ts +1 -1
- package/dist/Components/RichTextEditor/composables/useRichTextEditor.js +31 -31
- package/dist/Components/Select/composables/useSelect.js +201 -211
- package/dist/Components/Slider/composables/useSlider.js +93 -122
- package/dist/index.d.ts +1 -1
- package/dist/index.js +175 -175
- package/package.json +2 -2
- package/dist/Components/RichTextEditor/tiptapEditor.d.ts +0 -111
- package/dist/Components/RichTextEditor/tiptapEditor.js +0 -121
- package/dist/Utils/Charts/echarts/bar.d.ts +0 -6
- package/dist/Utils/Charts/echarts/bar.js +0 -23
- package/dist/Utils/Charts/echarts/cartesian.d.ts +0 -15
- package/dist/Utils/Charts/echarts/cartesian.js +0 -290
- package/dist/Utils/Charts/echarts/funnel.d.ts +0 -15
- package/dist/Utils/Charts/echarts/funnel.js +0 -79
- package/dist/Utils/Charts/echarts/line.d.ts +0 -5
- package/dist/Utils/Charts/echarts/line.js +0 -20
- package/dist/Utils/Charts/echarts/part.d.ts +0 -19
- package/dist/Utils/Charts/echarts/part.js +0 -45
- package/dist/Utils/Charts/echarts/pie.d.ts +0 -14
- package/dist/Utils/Charts/echarts/pie.js +0 -76
- package/dist/Utils/Charts/echarts/plot.d.ts +0 -44
- package/dist/Utils/Charts/echarts/plot.js +0 -52
- package/dist/Utils/Charts/echarts/scatter.d.ts +0 -14
- package/dist/Utils/Charts/echarts/scatter.js +0 -161
|
@@ -33,7 +33,6 @@ export declare function useCalendar(props: MaybeRefOrGetter<CalendarOwnProps>, l
|
|
|
33
33
|
navIconBind: import('vue').ComputedRef<Partial<Omit<import('../../Icon').IconProps, "icon">> | undefined>;
|
|
34
34
|
granularity: import('vue').ComputedRef<import('@bridge-ui/core/Domain').CalendarGranularity>;
|
|
35
35
|
handleChange: (next: DatePickerModel) => void;
|
|
36
|
-
yearPageSize: number;
|
|
37
36
|
nextButtonBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').ButtonHTMLAttributes | undefined, {
|
|
38
37
|
onClick: () => void;
|
|
39
38
|
type: "button";
|
|
@@ -869,5 +868,6 @@ export declare function useCalendar(props: MaybeRefOrGetter<CalendarOwnProps>, l
|
|
|
869
868
|
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
870
869
|
}>>;
|
|
871
870
|
yearPageStart: import('vue').ComputedRef<number>;
|
|
871
|
+
yearPageSize: number;
|
|
872
872
|
};
|
|
873
873
|
export {};
|
|
@@ -1,236 +1,241 @@
|
|
|
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 ee, useBridgeUIMergedRegistryClasses as
|
|
4
|
-
import { computed as
|
|
5
|
-
import { get as
|
|
6
|
-
import { applyDateSelection as d, calendarPanelViewFromGranularity as f,
|
|
7
|
-
import { calendarRoundedProps as
|
|
8
|
-
import { cn as
|
|
3
|
+
import { mergePartBind as n, useBridgeUIComponent as ee, useBridgeUIMergedRegistryClasses as te } from "../../../Utils/index.js";
|
|
4
|
+
import { computed as r, getCurrentInstance as i, ref as a, toValue as o, useAttrs as s } from "vue";
|
|
5
|
+
import { get as c, isFunction as l, isNil as u, omit as ne } from "es-toolkit/compat";
|
|
6
|
+
import { CALENDAR_YEAR_PAGE_SIZE as re, applyDateSelection as d, calendarPanelViewFromGranularity as f, getCalendarNavigationMessage as p, getCalendarYearPageStart as m, isCalendarMonthPanelHidden as h, isCalendarYearPanelHidden as g, resolveCalendarFocusDate as ie, resolveCalendarMonthSelection as ae, resolveCalendarNavigation as oe, resolveCalendarPanelView as _, resolveCalendarYearSelection as v, resolveDatePickerMode as y } from "@bridge-ui/core/Domain";
|
|
7
|
+
import { calendarRoundedProps as b } from "@bridge-ui/core/Tokens";
|
|
8
|
+
import { cn as x, mergeBridgeUILayeredClasses as se, splitComponentProps as ce } from "@bridge-ui/core/Utils";
|
|
9
9
|
//#region src/Components/Calendar/composables/useCalendar.ts
|
|
10
|
-
var
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
function S(c, h, S, C) {
|
|
15
|
-
let se = te(), w = e(), T = t(), E = i(() => oe({
|
|
16
|
-
bridgeKeys: b,
|
|
10
|
+
var le = /* @__PURE__ */ "fill.view.color.error.range.classes.maxDate.minDate.rounded.disabled.multiple.readOnly.timeZone.viewDate.hideYears.hideMonths.customProps.defaultView.granularity.previewDate.startOfWeek.defaultValue.disableDates.disableYears.hideWeekdays.disableMonths.hideOutsideDays".split(".");
|
|
11
|
+
function S(S, C, w, T) {
|
|
12
|
+
let E = s(), D = e(), O = t(), k = r(() => ce({
|
|
13
|
+
bridgeKeys: le,
|
|
17
14
|
props: {
|
|
18
|
-
...
|
|
19
|
-
...
|
|
15
|
+
...E,
|
|
16
|
+
...o(S)
|
|
20
17
|
}
|
|
21
|
-
})), { merged:
|
|
22
|
-
libDefaults:
|
|
18
|
+
})), { merged: A, entry: ue } = ee({
|
|
19
|
+
libDefaults: C,
|
|
23
20
|
componentName: "Calendar",
|
|
24
|
-
props: () =>
|
|
25
|
-
}),
|
|
21
|
+
props: () => k.value.componentProps
|
|
22
|
+
}), j = r(() => A.value.customProps), de = r(() => ne(k.value.inheritedAttrs, [
|
|
26
23
|
"onChange",
|
|
27
24
|
"onViewChange",
|
|
28
25
|
"onViewDateChange",
|
|
29
26
|
"onPreviewDateChange",
|
|
30
27
|
"onUpdate:modelValue"
|
|
31
|
-
])),
|
|
32
|
-
props: () =>
|
|
33
|
-
entry:
|
|
34
|
-
}),
|
|
35
|
-
range:
|
|
36
|
-
multiple:
|
|
37
|
-
})),
|
|
38
|
-
let e =
|
|
39
|
-
return !u(
|
|
40
|
-
}),
|
|
41
|
-
let e =
|
|
42
|
-
return !u(
|
|
43
|
-
}),
|
|
44
|
-
hideYears:
|
|
45
|
-
hideMonths:
|
|
46
|
-
granularity:
|
|
47
|
-
view:
|
|
48
|
-
})),
|
|
49
|
-
let e =
|
|
28
|
+
])), M = te({
|
|
29
|
+
props: () => k.value.componentProps,
|
|
30
|
+
entry: r(() => {})
|
|
31
|
+
}), N = r(() => A.value.timeZone), P = r(() => y({
|
|
32
|
+
range: A.value.range,
|
|
33
|
+
multiple: A.value.multiple
|
|
34
|
+
})), F = r(() => o(S)), I = r(() => {
|
|
35
|
+
let e = i()?.vnode.props ?? {}, t = l(e.onViewChange) || l(e["onUpdate:view"]);
|
|
36
|
+
return !u(F.value.view) && t;
|
|
37
|
+
}), L = r(() => {
|
|
38
|
+
let e = i()?.vnode.props ?? {}, t = l(e.onViewDateChange) || l(e["onUpdate:viewDate"]);
|
|
39
|
+
return !u(F.value.viewDate) && t;
|
|
40
|
+
}), R = a(_({
|
|
41
|
+
hideYears: A.value.hideYears,
|
|
42
|
+
hideMonths: A.value.hideMonths,
|
|
43
|
+
granularity: F.value.granularity ?? "day",
|
|
44
|
+
view: F.value.view ?? A.value.defaultView ?? f(F.value.granularity ?? "day")
|
|
45
|
+
})), z = a(D.value.startOfMonth(u(F.value.viewDate) ? ie(w.value, D.value, N.value) : F.value.viewDate, N.value)), B = a(null), V = r(() => A.value.granularity ?? "day"), H = r(() => {
|
|
46
|
+
let e = I.value ? F.value.view ?? "date" : R.value;
|
|
50
47
|
return _({
|
|
51
48
|
view: e,
|
|
52
|
-
granularity:
|
|
53
|
-
hideYears:
|
|
54
|
-
hideMonths:
|
|
49
|
+
granularity: V.value,
|
|
50
|
+
hideYears: A.value.hideYears,
|
|
51
|
+
hideMonths: A.value.hideMonths
|
|
55
52
|
});
|
|
56
|
-
}),
|
|
57
|
-
let e =
|
|
58
|
-
return
|
|
59
|
-
}),
|
|
60
|
-
|
|
61
|
-
},
|
|
62
|
-
|
|
53
|
+
}), U = r(() => L.value ? F.value.viewDate : z.value), fe = r(() => String(D.value.getYear(U.value, N.value))), pe = r(() => D.value.getMonthNames()[D.value.getMonth(U.value, N.value)] ?? ""), W = r(() => D.value.getYear(U.value, N.value)), me = r(() => D.value.getMonth(U.value, N.value)), G = r(() => u(B.value) ? m(W.value) : B.value), K = r(() => {
|
|
54
|
+
let e = se(b, ue.value?.tokens?.rounded);
|
|
55
|
+
return c(e, A.value.rounded);
|
|
56
|
+
}), q = (e) => {
|
|
57
|
+
I.value || (R.value = e), T("viewChange", e);
|
|
58
|
+
}, he = () => {
|
|
59
|
+
B.value = m(W.value), q("year");
|
|
60
|
+
}, J = (e) => {
|
|
61
|
+
let t = D.value.startOfMonth(e, N.value);
|
|
62
|
+
L.value || (z.value = t), T("viewDateChange", t);
|
|
63
63
|
}, Y = (e) => {
|
|
64
|
-
|
|
65
|
-
F.value || (L.value = t), C("viewDateChange", t);
|
|
64
|
+
w.value = e, T("change", e);
|
|
66
65
|
}, X = (e) => {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
Y(w.value.addMonths(V.value, -1, j.value));
|
|
78
|
-
}, de = () => {
|
|
79
|
-
if (B.value === "year") {
|
|
80
|
-
R.value = K.value + 15;
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
if (B.value === "month") {
|
|
84
|
-
Y(w.value.addYears(V.value, 1, j.value));
|
|
66
|
+
let t = oe({
|
|
67
|
+
direction: e,
|
|
68
|
+
view: H.value,
|
|
69
|
+
adapter: D.value,
|
|
70
|
+
viewDate: U.value,
|
|
71
|
+
timeZone: N.value,
|
|
72
|
+
yearPageStart: G.value
|
|
73
|
+
});
|
|
74
|
+
if (t.type === "yearPage") {
|
|
75
|
+
B.value = t.yearPageStart;
|
|
85
76
|
return;
|
|
86
77
|
}
|
|
87
|
-
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
let
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
78
|
+
J(t.viewDate);
|
|
79
|
+
}, ge = () => {
|
|
80
|
+
X(-1);
|
|
81
|
+
}, _e = () => {
|
|
82
|
+
X(1);
|
|
83
|
+
}, ve = () => {
|
|
84
|
+
let e = D.value.startOfMonth(D.value.now(N.value), N.value);
|
|
85
|
+
B.value = null, J(e), q(f(V.value));
|
|
86
|
+
}, ye = (e) => {
|
|
87
|
+
B.value = null;
|
|
88
|
+
let t = v({
|
|
89
|
+
year: e,
|
|
90
|
+
adapter: D.value,
|
|
91
|
+
viewDate: U.value,
|
|
92
|
+
timeZone: N.value,
|
|
93
|
+
granularity: V.value,
|
|
94
|
+
hideMonths: A.value.hideMonths
|
|
95
|
+
});
|
|
96
|
+
if (J(t.viewDate), t.type === "commit") {
|
|
97
|
+
Y(d({
|
|
98
|
+
mode: P.value,
|
|
99
|
+
value: w.value,
|
|
100
|
+
next: t.date,
|
|
101
|
+
adapter: D.value,
|
|
102
|
+
timeZone: N.value,
|
|
103
|
+
granularity: V.value
|
|
102
104
|
}));
|
|
103
105
|
return;
|
|
104
106
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
next:
|
|
107
|
+
q(t.view);
|
|
108
|
+
}, be = (e) => {
|
|
109
|
+
let t = ae({
|
|
110
|
+
month: e,
|
|
111
|
+
adapter: D.value,
|
|
112
|
+
viewDate: U.value,
|
|
113
|
+
timeZone: N.value,
|
|
114
|
+
granularity: V.value
|
|
115
|
+
});
|
|
116
|
+
if (J(t.viewDate), t.type === "commit") {
|
|
117
|
+
Y(d({
|
|
118
|
+
mode: P.value,
|
|
119
|
+
value: w.value,
|
|
120
|
+
next: t.date,
|
|
121
|
+
adapter: D.value,
|
|
122
|
+
timeZone: N.value,
|
|
123
|
+
granularity: V.value
|
|
119
124
|
}));
|
|
120
125
|
return;
|
|
121
126
|
}
|
|
122
|
-
|
|
123
|
-
},
|
|
124
|
-
color:
|
|
125
|
-
error:
|
|
126
|
-
rounded:
|
|
127
|
-
maxDate:
|
|
128
|
-
minDate:
|
|
129
|
-
disabled:
|
|
130
|
-
readOnly:
|
|
131
|
-
timeZone:
|
|
132
|
-
})),
|
|
127
|
+
q(t.view);
|
|
128
|
+
}, xe = r(() => ({
|
|
129
|
+
color: A.value.color,
|
|
130
|
+
error: A.value.error,
|
|
131
|
+
rounded: A.value.rounded,
|
|
132
|
+
maxDate: A.value.maxDate,
|
|
133
|
+
minDate: A.value.minDate,
|
|
134
|
+
disabled: A.value.disabled,
|
|
135
|
+
readOnly: A.value.readOnly,
|
|
136
|
+
timeZone: A.value.timeZone
|
|
137
|
+
})), Se = r(() => n(j.value?.root, de.value, x({
|
|
133
138
|
"flex flex-col overflow-hidden": !0,
|
|
134
|
-
"w-full min-w-72":
|
|
135
|
-
"w-72": !
|
|
136
|
-
[
|
|
137
|
-
}))),
|
|
139
|
+
"w-full min-w-72": A.value.fill,
|
|
140
|
+
"w-72": !A.value.fill,
|
|
141
|
+
[M.value.root ?? ""]: !0
|
|
142
|
+
}))), Ce = r(() => n(j.value?.header, {}, x({
|
|
138
143
|
"flex items-center justify-between p-2.5": !0,
|
|
139
|
-
[
|
|
140
|
-
}))),
|
|
144
|
+
[M.value.header ?? ""]: !0
|
|
145
|
+
}))), we = r(() => n(j.value?.body, {}, x({
|
|
141
146
|
"flex flex-col p-2.5": !0,
|
|
142
|
-
[
|
|
143
|
-
}))), Z =
|
|
147
|
+
[M.value.body ?? ""]: !0
|
|
148
|
+
}))), Z = r(() => n(j.value?.selector, {
|
|
144
149
|
type: "button",
|
|
145
|
-
disabled:
|
|
146
|
-
},
|
|
150
|
+
disabled: A.value.disabled
|
|
151
|
+
}, x({
|
|
147
152
|
"inline-flex cursor-pointer items-center gap-x-2 px-1.5 py-1 text-sm font-medium text-dark-600 hover:bg-dark-100 focus:outline-none disabled:cursor-not-allowed dark:text-dark-300 dark:hover:bg-dark-800": !0,
|
|
148
|
-
[
|
|
149
|
-
[
|
|
150
|
-
}))), Q =
|
|
153
|
+
[K.value ?? ""]: !0,
|
|
154
|
+
[M.value.selector ?? ""]: !0
|
|
155
|
+
}))), Q = r(() => n(j.value?.navButton, {
|
|
151
156
|
type: "button",
|
|
152
|
-
disabled:
|
|
153
|
-
},
|
|
157
|
+
disabled: A.value.disabled
|
|
158
|
+
}, x({
|
|
154
159
|
"inline-flex size-8 shrink-0 cursor-pointer items-center justify-center text-dark-600 hover:bg-dark-100 disabled:cursor-not-allowed dark:text-dark-300 dark:hover:bg-dark-800": !0,
|
|
155
|
-
[
|
|
156
|
-
[
|
|
157
|
-
}))),
|
|
160
|
+
[K.value ?? ""]: !0,
|
|
161
|
+
[M.value.navButton ?? ""]: !0
|
|
162
|
+
}))), Te = r(() => O(p(H.value, -1))), Ee = r(() => O(p(H.value, 1))), De = r(() => n(j.value?.previousButton, {
|
|
158
163
|
...Q.value,
|
|
159
|
-
onClick:
|
|
164
|
+
onClick: ge,
|
|
160
165
|
type: "button",
|
|
161
|
-
disabled:
|
|
162
|
-
"aria-label":
|
|
163
|
-
},
|
|
166
|
+
disabled: A.value.disabled,
|
|
167
|
+
"aria-label": Te.value
|
|
168
|
+
}, x({ [M.value.navButton ?? ""]: !0 }))), Oe = r(() => n(j.value?.nextButton, {
|
|
164
169
|
...Q.value,
|
|
165
|
-
onClick:
|
|
170
|
+
onClick: _e,
|
|
166
171
|
type: "button",
|
|
167
|
-
disabled:
|
|
168
|
-
"aria-label":
|
|
169
|
-
},
|
|
170
|
-
onClick:
|
|
172
|
+
disabled: A.value.disabled,
|
|
173
|
+
"aria-label": Ee.value
|
|
174
|
+
}, x({ [M.value.navButton ?? ""]: !0 }))), $ = r(() => n(j.value?.todayButton, {
|
|
175
|
+
onClick: ve,
|
|
171
176
|
type: "button",
|
|
172
|
-
disabled:
|
|
173
|
-
"aria-label":
|
|
174
|
-
},
|
|
177
|
+
disabled: A.value.disabled,
|
|
178
|
+
"aria-label": O("Today")
|
|
179
|
+
}, x({
|
|
175
180
|
"inline-flex size-8 shrink-0 cursor-pointer items-center justify-center hover:bg-dark-100 disabled:cursor-not-allowed dark:hover:bg-dark-800": !0,
|
|
176
|
-
[
|
|
177
|
-
[
|
|
178
|
-
}))),
|
|
181
|
+
[K.value ?? ""]: !0,
|
|
182
|
+
[M.value.navButton ?? ""]: !0
|
|
183
|
+
}))), ke = r(() => n(j.value?.selector, void 0, {
|
|
179
184
|
...Z.value,
|
|
180
|
-
onClick:
|
|
185
|
+
onClick: he,
|
|
181
186
|
type: "button",
|
|
182
|
-
"aria-label":
|
|
183
|
-
disabled:
|
|
184
|
-
granularity:
|
|
185
|
-
hideYears:
|
|
187
|
+
"aria-label": O("Select year"),
|
|
188
|
+
disabled: A.value.disabled || g({
|
|
189
|
+
granularity: V.value,
|
|
190
|
+
hideYears: A.value.hideYears
|
|
186
191
|
})
|
|
187
|
-
})),
|
|
192
|
+
})), Ae = r(() => n(j.value?.selector, void 0, {
|
|
188
193
|
...Z.value,
|
|
189
194
|
type: "button",
|
|
190
|
-
onClick: () =>
|
|
191
|
-
"aria-label":
|
|
192
|
-
disabled:
|
|
193
|
-
granularity:
|
|
194
|
-
hideMonths:
|
|
195
|
+
onClick: () => q("month"),
|
|
196
|
+
"aria-label": O("Select month"),
|
|
197
|
+
disabled: A.value.disabled || h({
|
|
198
|
+
granularity: V.value,
|
|
199
|
+
hideMonths: A.value.hideMonths
|
|
195
200
|
})
|
|
196
|
-
})),
|
|
197
|
-
granularity:
|
|
198
|
-
hideYears:
|
|
199
|
-
})),
|
|
200
|
-
granularity:
|
|
201
|
-
hideMonths:
|
|
201
|
+
})), je = r(() => !g({
|
|
202
|
+
granularity: V.value,
|
|
203
|
+
hideYears: A.value.hideYears
|
|
204
|
+
})), Me = r(() => !h({
|
|
205
|
+
granularity: V.value,
|
|
206
|
+
hideMonths: A.value.hideMonths
|
|
202
207
|
}));
|
|
203
208
|
return {
|
|
204
|
-
view:
|
|
205
|
-
mode:
|
|
206
|
-
model:
|
|
207
|
-
merged:
|
|
208
|
-
shared:
|
|
209
|
-
showNav:
|
|
210
|
-
timeZone:
|
|
211
|
-
rootBind:
|
|
212
|
-
viewDate:
|
|
209
|
+
view: H,
|
|
210
|
+
mode: P,
|
|
211
|
+
model: w,
|
|
212
|
+
merged: A,
|
|
213
|
+
shared: xe,
|
|
214
|
+
showNav: r(() => !0),
|
|
215
|
+
timeZone: N,
|
|
216
|
+
rootBind: Se,
|
|
217
|
+
viewDate: U,
|
|
213
218
|
viewYear: W,
|
|
214
|
-
bodyBind:
|
|
215
|
-
viewMonth:
|
|
216
|
-
yearLabel:
|
|
217
|
-
monthLabel:
|
|
218
|
-
headerBind:
|
|
219
|
-
setViewDate:
|
|
220
|
-
navIconBind:
|
|
221
|
-
granularity:
|
|
222
|
-
handleChange:
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
219
|
+
bodyBind: we,
|
|
220
|
+
viewMonth: me,
|
|
221
|
+
yearLabel: fe,
|
|
222
|
+
monthLabel: pe,
|
|
223
|
+
headerBind: Ce,
|
|
224
|
+
setViewDate: J,
|
|
225
|
+
navIconBind: r(() => j.value?.navIcon),
|
|
226
|
+
granularity: V,
|
|
227
|
+
handleChange: Y,
|
|
228
|
+
nextButtonBind: Oe,
|
|
229
|
+
todayButtonBind: $,
|
|
230
|
+
yearSelectorBind: ke,
|
|
231
|
+
handleYearSelect: ye,
|
|
232
|
+
showYearSelector: je,
|
|
233
|
+
monthSelectorBind: Ae,
|
|
234
|
+
handleMonthSelect: be,
|
|
235
|
+
showMonthSelector: Me,
|
|
236
|
+
previousButtonBind: De,
|
|
237
|
+
yearPageStart: G,
|
|
238
|
+
yearPageSize: re
|
|
234
239
|
};
|
|
235
240
|
}
|
|
236
241
|
//#endregion
|
|
@@ -17,7 +17,7 @@ export declare function useCalendarMonth(props: MaybeRefOrGetter<CalendarMonthOw
|
|
|
17
17
|
year: import('vue').ComputedRef<number>;
|
|
18
18
|
merged: import('vue').ComputedRef<CalendarMonthMerged>;
|
|
19
19
|
months: import('vue').ComputedRef<CalendarMonthCell[]>;
|
|
20
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarMonthOwnProps, "error" | "color" | "classes" | "customProps" | "disabled" | "rounded" | "multiple" | "range" | "timeZone" | "
|
|
20
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarMonthOwnProps, "error" | "color" | "classes" | "customProps" | "disabled" | "rounded" | "multiple" | "range" | "timeZone" | "readOnly" | "disableDates" | "disableMonths" | "disableYears" | "maxDate" | "minDate" | "previewDate" | "year" | "selection">>>>;
|
|
21
21
|
gridBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {
|
|
22
22
|
role: string;
|
|
23
23
|
onMouseLeave: () => void;
|
|
@@ -40,7 +40,6 @@ export declare function useCalendarRange(props: MaybeRefOrGetter<CalendarRangeOw
|
|
|
40
40
|
navIconBind: import('vue').ComputedRef<Partial<Omit<import('../../Icon').IconProps, "icon">> | undefined>;
|
|
41
41
|
granularity: import('vue').ComputedRef<import('@bridge-ui/core/Domain').CalendarGranularity>;
|
|
42
42
|
handleChange: (next: DatePickerModel) => void;
|
|
43
|
-
yearPageSize: number;
|
|
44
43
|
endMonthLabel: import('vue').ComputedRef<string>;
|
|
45
44
|
endHeaderBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
46
45
|
monthYearBind: import('vue').ComputedRef<string>;
|
|
@@ -1887,5 +1886,6 @@ export declare function useCalendarRange(props: MaybeRefOrGetter<CalendarRangeOw
|
|
|
1887
1886
|
handlePreviewDateChange: (next: Date | null) => void;
|
|
1888
1887
|
handleStartViewDateChange: (next: Date) => void;
|
|
1889
1888
|
yearPageStart: import('vue').ComputedRef<number>;
|
|
1889
|
+
yearPageSize: number;
|
|
1890
1890
|
};
|
|
1891
1891
|
export {};
|