iryx-ui 0.15.0 → 0.17.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/README.md +3 -1
- package/dist/component-names.d.ts +1 -1
- package/dist/component-names.js +1 -1
- package/dist/components/BarChart.vue.d.ts +8 -0
- package/dist/components/BarChart.vue_vue_type_script_setup_true_lang.js +169 -151
- package/dist/components/Calendar.js +5 -0
- package/dist/components/Calendar.vue.d.ts +69 -0
- package/dist/components/Calendar.vue_vue_type_script_setup_true_lang.js +168 -0
- package/dist/components/Combobox.vue.d.ts +9 -9
- package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js +180 -144
- package/dist/components/DateField.js +5 -0
- package/dist/components/DateField.vue.d.ts +38 -0
- package/dist/components/DateField.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/components/DatePicker.vue.d.ts +7 -2
- package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js +73 -124
- package/dist/components/DateRangePicker.vue.d.ts +2 -2
- package/dist/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +81 -78
- package/dist/components/DonutChart.js +5 -0
- package/dist/components/DonutChart.vue.d.ts +96 -0
- package/dist/components/DonutChart.vue_vue_type_script_setup_true_lang.js +234 -0
- package/dist/components/DropdownMenu.vue.d.ts +13 -6
- package/dist/components/DropdownMenu.vue_vue_type_script_setup_true_lang.js +28 -22
- package/dist/components/Editable.js +5 -0
- package/dist/components/Editable.vue.d.ts +81 -0
- package/dist/components/Editable.vue_vue_type_script_setup_true_lang.js +140 -0
- package/dist/components/HoverCard.js +5 -0
- package/dist/components/HoverCard.vue.d.ts +68 -0
- package/dist/components/HoverCard.vue_vue_type_script_setup_true_lang.js +79 -0
- package/dist/components/LineChart.vue.d.ts +8 -0
- package/dist/components/LineChart.vue_vue_type_script_setup_true_lang.js +160 -141
- package/dist/components/Sparkline.vue.d.ts +9 -0
- package/dist/components/Sparkline.vue_vue_type_script_setup_true_lang.js +90 -53
- package/dist/components/TagsInput.vue.d.ts +2 -2
- package/dist/components/TimeField.vue_vue_type_script_setup_true_lang.js +17 -14
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +124 -114
- package/dist/composables/cartesian.d.ts +10 -2
- package/dist/composables/chart-reveal.d.ts +45 -0
- package/dist/composables/chart-reveal.js +93 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +142 -131
- package/dist/theme/accordion.d.ts +0 -15
- package/dist/theme/alert.d.ts +0 -3
- package/dist/theme/avatar.d.ts +0 -3
- package/dist/theme/banner.d.ts +0 -6
- package/dist/theme/bar-chart.d.ts +0 -18
- package/dist/theme/breadcrumb.d.ts +0 -3
- package/dist/theme/calendar.d.ts +62 -0
- package/dist/theme/calendar.js +29 -0
- package/dist/theme/card.d.ts +0 -6
- package/dist/theme/chart-legend.d.ts +0 -3
- package/dist/theme/checkbox.d.ts +0 -6
- package/dist/theme/color-picker.d.ts +0 -6
- package/dist/theme/combobox.js +4 -4
- package/dist/theme/command-palette.d.ts +0 -6
- package/dist/theme/container.d.ts +0 -3
- package/dist/theme/container.js +3 -3
- package/dist/theme/date-field.d.ts +65 -0
- package/dist/theme/date-field.js +21 -0
- package/dist/theme/date-picker.d.ts +0 -195
- package/dist/theme/date-picker.js +2 -24
- package/dist/theme/donut-chart.d.ts +86 -0
- package/dist/theme/donut-chart.js +17 -0
- package/dist/theme/dropdown-menu.d.ts +3 -0
- package/dist/theme/dropdown-menu.js +1 -0
- package/dist/theme/editable.d.ts +77 -0
- package/dist/theme/editable.js +26 -0
- package/dist/theme/empty-state.d.ts +0 -3
- package/dist/theme/file-upload.d.ts +0 -39
- package/dist/theme/hover-card.d.ts +92 -0
- package/dist/theme/hover-card.js +28 -0
- package/dist/theme/index.d.ts +5 -0
- package/dist/theme/input.d.ts +0 -18
- package/dist/theme/kbd.d.ts +0 -3
- package/dist/theme/line-chart.d.ts +0 -18
- package/dist/theme/navigation-menu.d.ts +0 -48
- package/dist/theme/number-input.d.ts +0 -3
- package/dist/theme/page-header.d.ts +0 -3
- package/dist/theme/password-input.d.ts +0 -23
- package/dist/theme/pin-input.d.ts +0 -3
- package/dist/theme/popover.d.ts +0 -6
- package/dist/theme/progress.d.ts +0 -51
- package/dist/theme/scroll-area.d.ts +0 -3
- package/dist/theme/separator.d.ts +0 -3
- package/dist/theme/sidebar.d.ts +0 -54
- package/dist/theme/skeleton.d.ts +0 -3
- package/dist/theme/skeleton.js +1 -1
- package/dist/theme/slider.d.ts +0 -6
- package/dist/theme/sparkline.d.ts +0 -11
- package/dist/theme/sparkline.js +1 -1
- package/dist/theme/splitter.d.ts +0 -3
- package/dist/theme/stat.d.ts +0 -12
- package/dist/theme/stat.js +2 -2
- package/dist/theme/switch.d.ts +0 -6
- package/dist/theme/table.d.ts +0 -39
- package/dist/theme/tabs.d.ts +0 -12
- package/dist/theme/time-field.d.ts +0 -3
- package/dist/theme/timeline.d.ts +0 -18
- package/dist/theme/toast.d.ts +0 -3
- package/dist/theme/toggle.d.ts +0 -23
- package/dist/theme/tree.d.ts +0 -3
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface DateFieldProps {
|
|
2
|
+
/** ISO `YYYY-MM-DD`, never a `Date`. See `composables/date.ts` for why. */
|
|
3
|
+
modelValue?: string | null;
|
|
4
|
+
/** Earliest and latest allowed, in the same ISO form. */
|
|
5
|
+
minValue?: string;
|
|
6
|
+
maxValue?: string;
|
|
7
|
+
/** Orders the segments and names the months — `en-GB` gives day first. */
|
|
8
|
+
locale?: string;
|
|
9
|
+
/** Refuse a date. Given an ISO `YYYY-MM-DD` string. */
|
|
10
|
+
isUnavailable?: (date: string) => boolean;
|
|
11
|
+
size?: 'sm' | 'md' | 'lg';
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
readonly?: boolean;
|
|
14
|
+
invalid?: boolean;
|
|
15
|
+
id?: string;
|
|
16
|
+
/** Submitted with a surrounding native form. */
|
|
17
|
+
name?: string;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
/** Skip built-in classes; you take over styling entirely. */
|
|
20
|
+
unstyled?: boolean;
|
|
21
|
+
class?: string;
|
|
22
|
+
/** Override classes per slot, e.g. `{ segment: 'px-1' }`. */
|
|
23
|
+
ui?: {
|
|
24
|
+
root?: string;
|
|
25
|
+
segment?: string;
|
|
26
|
+
literal?: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
declare const __VLS_export: import("vue").DefineComponent<DateFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
"update:modelValue": (value: string | null) => any;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<DateFieldProps> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
unstyled: boolean;
|
|
35
|
+
invalid: boolean;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const _default: typeof __VLS_export;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { useIryxUiConfig as e } from "../config.js";
|
|
2
|
+
import { toCalendarDate as t, toIsoDate as n } from "../composables/date.js";
|
|
3
|
+
import { useFormField as r } from "../composables/form.js";
|
|
4
|
+
import { dateFieldTheme as i } from "../theme/date-field.js";
|
|
5
|
+
import { Fragment as a, computed as o, createBlock as s, createElementBlock as c, createTextVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderList as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
6
|
+
import { DateFieldInput as _, DateFieldRoot as v } from "reka-ui";
|
|
7
|
+
//#region src/components/DateField.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var y = /*@__PURE__*/ u({
|
|
9
|
+
__name: "DateField",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: {},
|
|
12
|
+
minValue: {},
|
|
13
|
+
maxValue: {},
|
|
14
|
+
locale: {},
|
|
15
|
+
isUnavailable: {},
|
|
16
|
+
size: {},
|
|
17
|
+
disabled: { type: Boolean },
|
|
18
|
+
readonly: { type: Boolean },
|
|
19
|
+
invalid: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: void 0
|
|
22
|
+
},
|
|
23
|
+
id: {},
|
|
24
|
+
name: {},
|
|
25
|
+
required: { type: Boolean },
|
|
26
|
+
unstyled: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: void 0
|
|
29
|
+
},
|
|
30
|
+
class: {},
|
|
31
|
+
ui: {}
|
|
32
|
+
},
|
|
33
|
+
emits: ["update:modelValue"],
|
|
34
|
+
setup(u, { emit: y }) {
|
|
35
|
+
let b = u, x = y, S = r(), C = o(() => b.id ?? S?.id.value), w = o(() => {
|
|
36
|
+
let e = b.modelValue;
|
|
37
|
+
return !e || !t(e) ? !1 : b.minValue && e < b.minValue || b.maxValue && e > b.maxValue ? !0 : b.isUnavailable?.(e) ?? !1;
|
|
38
|
+
}), T = o(() => (b.invalid ?? S?.invalid.value ?? !1) || w.value), E = e(), D = o(() => b.unstyled ?? E.unstyled), O = o(() => {
|
|
39
|
+
let e = b.isUnavailable;
|
|
40
|
+
if (e) return (t) => {
|
|
41
|
+
let r = n(t);
|
|
42
|
+
return r ? e(r) : !1;
|
|
43
|
+
};
|
|
44
|
+
}), k = o(() => i({
|
|
45
|
+
size: b.size,
|
|
46
|
+
invalid: T.value
|
|
47
|
+
})), A = o(() => D.value ? [b.ui?.root, b.class] : k.value.root({ class: [b.ui?.root, b.class] })), j = o(() => D.value ? b.ui?.segment : k.value.segment({ class: b.ui?.segment })), M = o(() => D.value ? b.ui?.literal : k.value.literal({ class: b.ui?.literal }));
|
|
48
|
+
return (e, r) => (f(), s(h(v), {
|
|
49
|
+
id: C.value,
|
|
50
|
+
"model-value": h(t)(b.modelValue),
|
|
51
|
+
"min-value": h(t)(b.minValue),
|
|
52
|
+
"max-value": h(t)(b.maxValue),
|
|
53
|
+
locale: b.locale,
|
|
54
|
+
"is-date-unavailable": O.value,
|
|
55
|
+
disabled: b.disabled,
|
|
56
|
+
readonly: b.readonly,
|
|
57
|
+
name: b.name,
|
|
58
|
+
required: b.required,
|
|
59
|
+
"aria-invalid": T.value || void 0,
|
|
60
|
+
"aria-describedby": h(S)?.describedBy.value,
|
|
61
|
+
class: d(A.value),
|
|
62
|
+
"onUpdate:modelValue": r[0] ||= (e) => x("update:modelValue", h(n)(e))
|
|
63
|
+
}, {
|
|
64
|
+
default: g(({ segments: e }) => [(f(!0), c(a, null, p(e, (e) => (f(), c(a, { key: e.part }, [e.part === "literal" ? (f(), c("span", {
|
|
65
|
+
key: 0,
|
|
66
|
+
class: d(M.value)
|
|
67
|
+
}, m(e.value), 3)) : (f(), s(h(_), {
|
|
68
|
+
key: 1,
|
|
69
|
+
part: e.part,
|
|
70
|
+
class: d(j.value)
|
|
71
|
+
}, {
|
|
72
|
+
default: g(() => [l(m(e.value), 1)]),
|
|
73
|
+
_: 2
|
|
74
|
+
}, 1032, ["part", "class"]))], 64))), 128))]),
|
|
75
|
+
_: 1
|
|
76
|
+
}, 8, [
|
|
77
|
+
"id",
|
|
78
|
+
"model-value",
|
|
79
|
+
"min-value",
|
|
80
|
+
"max-value",
|
|
81
|
+
"locale",
|
|
82
|
+
"is-date-unavailable",
|
|
83
|
+
"disabled",
|
|
84
|
+
"readonly",
|
|
85
|
+
"name",
|
|
86
|
+
"required",
|
|
87
|
+
"aria-invalid",
|
|
88
|
+
"aria-describedby",
|
|
89
|
+
"class"
|
|
90
|
+
]));
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
//#endregion
|
|
94
|
+
export { y as default };
|
|
@@ -15,6 +15,11 @@ export interface DatePickerProps {
|
|
|
15
15
|
format?: Intl.DateTimeFormatOptions;
|
|
16
16
|
/** 0 is Sunday. Defaults to the locale's own convention. */
|
|
17
17
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
18
|
+
/**
|
|
19
|
+
* Refuse a date — a taken slot, a closed day. Given an ISO `YYYY-MM-DD`
|
|
20
|
+
* string. Unavailable days are struck through rather than hidden.
|
|
21
|
+
*/
|
|
22
|
+
isUnavailable?: (date: string) => boolean;
|
|
18
23
|
/** Offer a "clear" action in the footer. */
|
|
19
24
|
clearable?: boolean;
|
|
20
25
|
/** Footer and navigation labels — override for non-English apps. */
|
|
@@ -42,11 +47,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
42
47
|
}>, {
|
|
43
48
|
unstyled: boolean;
|
|
44
49
|
placeholder: string;
|
|
50
|
+
previousLabel: string;
|
|
51
|
+
nextLabel: string;
|
|
45
52
|
invalid: boolean;
|
|
46
53
|
clearLabel: string;
|
|
47
54
|
todayLabel: string;
|
|
48
|
-
previousLabel: string;
|
|
49
|
-
nextLabel: string;
|
|
50
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
56
|
declare const _default: typeof __VLS_export;
|
|
52
57
|
export default _default;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { useIryxUiConfig as e } from "../config.js";
|
|
2
2
|
import t from "./Icon.js";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { formatIsoDate as n, isoToday as r } from "../composables/date.js";
|
|
4
|
+
import i from "./Calendar.js";
|
|
5
|
+
import { useFormField as a } from "../composables/form.js";
|
|
6
|
+
import { datePickerTheme as o } from "../theme/date-picker.js";
|
|
7
|
+
import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, mergeModels as m, normalizeClass as h, openBlock as g, ref as _, toDisplayString as v, unref as y, useModel as b, withCtx as x } from "vue";
|
|
8
|
+
import { Calendar03Icon as S } from "@hugeicons/core-free-icons";
|
|
9
|
+
import { PopoverContent as C, PopoverPortal as w, PopoverRoot as T, PopoverTrigger as E } from "reka-ui";
|
|
9
10
|
//#region src/components/DatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var
|
|
11
|
+
var D = [
|
|
11
12
|
"id",
|
|
12
13
|
"disabled",
|
|
13
14
|
"aria-invalid",
|
|
14
15
|
"aria-describedby"
|
|
15
|
-
],
|
|
16
|
+
], O = { key: 0 }, k = /*@__PURE__*/ p({
|
|
16
17
|
__name: "DatePicker",
|
|
17
|
-
props: /*@__PURE__*/
|
|
18
|
+
props: /*@__PURE__*/ m({
|
|
18
19
|
size: {},
|
|
19
20
|
placeholder: { default: "Pick a date" },
|
|
20
21
|
disabled: { type: Boolean },
|
|
@@ -28,6 +29,7 @@ var H = [
|
|
|
28
29
|
locale: {},
|
|
29
30
|
format: {},
|
|
30
31
|
weekStartsOn: {},
|
|
32
|
+
isUnavailable: {},
|
|
31
33
|
clearable: { type: Boolean },
|
|
32
34
|
todayLabel: { default: "Today" },
|
|
33
35
|
clearLabel: { default: "Clear" },
|
|
@@ -44,136 +46,83 @@ var H = [
|
|
|
44
46
|
modelModifiers: {}
|
|
45
47
|
}),
|
|
46
48
|
emits: ["update:modelValue"],
|
|
47
|
-
setup(
|
|
48
|
-
let
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
W.value = o(e);
|
|
52
|
-
}
|
|
53
|
-
}), re = l(() => a(g.min)), ie = l(() => a(g.max)), Q = l(() => r(W.value, g.locale, g.format));
|
|
54
|
-
function ae() {
|
|
55
|
-
W.value = i(), G.value = !1;
|
|
49
|
+
setup(p) {
|
|
50
|
+
let m = p, k = b(p, "modelValue"), A = _(!1), j = a(), M = s(() => m.id ?? j?.id.value), N = s(() => m.invalid ?? j?.invalid.value ?? !1), P = e(), F = s(() => m.unstyled ?? P.unstyled), I = s(() => n(k.value, m.locale, m.format));
|
|
51
|
+
function L() {
|
|
52
|
+
k.value = r(), A.value = !1;
|
|
56
53
|
}
|
|
57
|
-
function
|
|
58
|
-
|
|
54
|
+
function R() {
|
|
55
|
+
k.value = null, A.value = !1;
|
|
59
56
|
}
|
|
60
|
-
let
|
|
61
|
-
size:
|
|
62
|
-
invalid:
|
|
57
|
+
let z = s(() => o({
|
|
58
|
+
size: m.size,
|
|
59
|
+
invalid: N.value
|
|
63
60
|
}));
|
|
64
|
-
function
|
|
65
|
-
let n =
|
|
66
|
-
return
|
|
61
|
+
function B(e, t) {
|
|
62
|
+
let n = m.ui?.[e];
|
|
63
|
+
return F.value ? [n, t] : z.value[e]({ class: [n, t] });
|
|
67
64
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
let V = s(() => {
|
|
66
|
+
let { trigger: e, placeholder: t, content: n, footer: r, action: i, ...a } = m.ui ?? {};
|
|
67
|
+
return a;
|
|
68
|
+
});
|
|
69
|
+
return (e, n) => (g(), c(y(T), {
|
|
70
|
+
open: A.value,
|
|
71
|
+
"onUpdate:open": n[2] ||= (e) => A.value = e
|
|
71
72
|
}, {
|
|
72
|
-
default:
|
|
73
|
-
default:
|
|
74
|
-
id:
|
|
73
|
+
default: x(() => [f(y(E), { "as-child": "" }, {
|
|
74
|
+
default: x(() => [d("button", {
|
|
75
|
+
id: M.value,
|
|
75
76
|
type: "button",
|
|
76
|
-
disabled:
|
|
77
|
-
"aria-invalid":
|
|
78
|
-
"aria-describedby":
|
|
79
|
-
class:
|
|
80
|
-
}, [
|
|
77
|
+
disabled: m.disabled,
|
|
78
|
+
"aria-invalid": N.value || void 0,
|
|
79
|
+
"aria-describedby": y(j)?.describedBy.value,
|
|
80
|
+
class: h(B("trigger", m.class))
|
|
81
|
+
}, [I.value ? (g(), u("span", O, v(I.value), 1)) : (g(), u("span", {
|
|
81
82
|
key: 1,
|
|
82
|
-
class:
|
|
83
|
-
},
|
|
83
|
+
class: h(B("placeholder"))
|
|
84
|
+
}, v(m.placeholder), 3)), f(t, { icon: y(S) }, null, 8, ["icon"])], 10, D)]),
|
|
84
85
|
_: 1
|
|
85
|
-
}),
|
|
86
|
-
default:
|
|
87
|
-
class:
|
|
86
|
+
}), f(y(w), null, {
|
|
87
|
+
default: x(() => [f(y(C), {
|
|
88
|
+
class: h(B("content")),
|
|
88
89
|
"side-offset": 4,
|
|
89
90
|
align: "start"
|
|
90
91
|
}, {
|
|
91
|
-
default:
|
|
92
|
-
modelValue:
|
|
93
|
-
"onUpdate:modelValue": [n[0] ||= (e) =>
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
locale:
|
|
97
|
-
"week-starts-on":
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
class: _($("nav"))
|
|
106
|
-
}, {
|
|
107
|
-
default: w(() => [m(t, { icon: S(T) }, null, 8, ["icon"])]),
|
|
108
|
-
_: 1
|
|
109
|
-
}, 8, ["aria-label", "class"]),
|
|
110
|
-
m(S(F), { class: _($("heading")) }, null, 8, ["class"]),
|
|
111
|
-
m(S(I), {
|
|
112
|
-
"aria-label": g.nextLabel,
|
|
113
|
-
class: _($("nav"))
|
|
114
|
-
}, {
|
|
115
|
-
default: w(() => [m(t, { icon: S(te) }, null, 8, ["icon"])]),
|
|
116
|
-
_: 1
|
|
117
|
-
}, 8, ["aria-label", "class"])
|
|
118
|
-
]),
|
|
119
|
-
_: 1
|
|
120
|
-
}, 8, ["class"]), f("div", { class: _($("months")) }, [(v(!0), d(c, null, b(e, (e) => (v(), u(S(k), {
|
|
121
|
-
key: e.value.toString(),
|
|
122
|
-
class: _($("grid"))
|
|
123
|
-
}, {
|
|
124
|
-
default: w(() => [m(S(j), null, {
|
|
125
|
-
default: w(() => [m(S(M), null, {
|
|
126
|
-
default: w(() => [(v(!0), d(c, null, b(n, (e) => (v(), u(S(N), {
|
|
127
|
-
key: e,
|
|
128
|
-
class: _($("headCell"))
|
|
129
|
-
}, {
|
|
130
|
-
default: w(() => [p(x(e), 1)]),
|
|
131
|
-
_: 2
|
|
132
|
-
}, 1032, ["class"]))), 128))]),
|
|
133
|
-
_: 2
|
|
134
|
-
}, 1024)]),
|
|
135
|
-
_: 2
|
|
136
|
-
}, 1024), m(S(A), null, {
|
|
137
|
-
default: w(() => [(v(!0), d(c, null, b(e.rows, (t, n) => (v(), u(S(M), { key: `week-${n}` }, {
|
|
138
|
-
default: w(() => [(v(!0), d(c, null, b(t, (t) => (v(), u(S(D), {
|
|
139
|
-
key: t.toString(),
|
|
140
|
-
date: t,
|
|
141
|
-
class: _($("cell"))
|
|
142
|
-
}, {
|
|
143
|
-
default: w(() => [m(S(O), {
|
|
144
|
-
day: t,
|
|
145
|
-
month: e.value,
|
|
146
|
-
class: _($("cellTrigger"))
|
|
147
|
-
}, null, 8, [
|
|
148
|
-
"day",
|
|
149
|
-
"month",
|
|
150
|
-
"class"
|
|
151
|
-
])]),
|
|
152
|
-
_: 2
|
|
153
|
-
}, 1032, ["date", "class"]))), 128))]),
|
|
154
|
-
_: 2
|
|
155
|
-
}, 1024))), 128))]),
|
|
156
|
-
_: 2
|
|
157
|
-
}, 1024)]),
|
|
158
|
-
_: 2
|
|
159
|
-
}, 1032, ["class"]))), 128))], 2)]),
|
|
160
|
-
_: 1
|
|
161
|
-
}, 8, [
|
|
92
|
+
default: x(() => [f(i, {
|
|
93
|
+
modelValue: k.value,
|
|
94
|
+
"onUpdate:modelValue": [n[0] ||= (e) => k.value = e, n[1] ||= (e) => A.value = !1],
|
|
95
|
+
min: m.min,
|
|
96
|
+
max: m.max,
|
|
97
|
+
locale: m.locale,
|
|
98
|
+
"week-starts-on": m.weekStartsOn,
|
|
99
|
+
"is-unavailable": m.isUnavailable,
|
|
100
|
+
"previous-label": m.previousLabel,
|
|
101
|
+
"next-label": m.nextLabel,
|
|
102
|
+
"initial-focus": "",
|
|
103
|
+
unstyled: m.unstyled,
|
|
104
|
+
ui: V.value
|
|
105
|
+
}, null, 8, [
|
|
162
106
|
"modelValue",
|
|
163
|
-
"min
|
|
164
|
-
"max
|
|
107
|
+
"min",
|
|
108
|
+
"max",
|
|
165
109
|
"locale",
|
|
166
|
-
"week-starts-on"
|
|
167
|
-
|
|
110
|
+
"week-starts-on",
|
|
111
|
+
"is-unavailable",
|
|
112
|
+
"previous-label",
|
|
113
|
+
"next-label",
|
|
114
|
+
"unstyled",
|
|
115
|
+
"ui"
|
|
116
|
+
]), d("div", { class: h(B("footer")) }, [d("button", {
|
|
168
117
|
type: "button",
|
|
169
|
-
class:
|
|
170
|
-
onClick:
|
|
171
|
-
},
|
|
118
|
+
class: h(B("action")),
|
|
119
|
+
onClick: L
|
|
120
|
+
}, v(m.todayLabel), 3), m.clearable ? (g(), u("button", {
|
|
172
121
|
key: 0,
|
|
173
122
|
type: "button",
|
|
174
|
-
class:
|
|
175
|
-
onClick:
|
|
176
|
-
},
|
|
123
|
+
class: h(B("action")),
|
|
124
|
+
onClick: R
|
|
125
|
+
}, v(m.clearLabel), 3)) : l("", !0)], 2)]),
|
|
177
126
|
_: 1
|
|
178
127
|
}, 8, ["class"])]),
|
|
179
128
|
_: 1
|
|
@@ -183,4 +132,4 @@ var H = [
|
|
|
183
132
|
}
|
|
184
133
|
});
|
|
185
134
|
//#endregion
|
|
186
|
-
export {
|
|
135
|
+
export { k as default };
|
|
@@ -50,11 +50,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
50
50
|
unstyled: boolean;
|
|
51
51
|
placeholder: string;
|
|
52
52
|
separator: string;
|
|
53
|
-
invalid: boolean;
|
|
54
|
-
clearLabel: string;
|
|
55
53
|
months: number;
|
|
56
54
|
previousLabel: string;
|
|
57
55
|
nextLabel: string;
|
|
56
|
+
invalid: boolean;
|
|
57
|
+
clearLabel: string;
|
|
58
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
59
59
|
declare const _default: typeof __VLS_export;
|
|
60
60
|
export default _default;
|