@witchcraft/ui 0.3.20 → 0.3.22
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/module.json +1 -1
- package/dist/module.mjs +7 -4
- package/dist/runtime/assets/animations.css +1 -1
- package/dist/runtime/components/Aria/Aria.d.vue.ts +2 -1
- package/dist/runtime/components/Aria/Aria.vue.d.ts +2 -1
- package/dist/runtime/components/Icon/Icon.d.vue.ts +3 -2
- package/dist/runtime/components/Icon/Icon.vue.d.ts +3 -2
- package/dist/runtime/components/LibButton/LibButton.d.vue.ts +6 -5
- package/dist/runtime/components/LibButton/LibButton.vue.d.ts +6 -5
- package/dist/runtime/components/LibCheckbox/LibCheckbox.d.vue.ts +5 -6
- package/dist/runtime/components/LibCheckbox/LibCheckbox.vue.d.ts +5 -6
- package/dist/runtime/components/LibColorInput/LibColorInput.d.vue.ts +7 -6
- package/dist/runtime/components/LibColorInput/LibColorInput.vue.d.ts +7 -6
- package/dist/runtime/components/LibColorPicker/LibColorPicker.d.vue.ts +7 -5
- package/dist/runtime/components/LibColorPicker/LibColorPicker.vue.d.ts +7 -5
- package/dist/runtime/components/LibDarkModeSwitcher/LibDarkModeSwitcher.d.vue.ts +10 -9
- package/dist/runtime/components/LibDarkModeSwitcher/LibDarkModeSwitcher.vue.d.ts +10 -9
- package/dist/runtime/components/LibDatePicker/LibDatePicker.d.vue.ts +156 -5
- package/dist/runtime/components/LibDatePicker/LibDatePicker.vue.d.ts +156 -5
- package/dist/runtime/components/LibDatePicker/LibRangeDatePicker.d.vue.ts +154 -6
- package/dist/runtime/components/LibDatePicker/LibRangeDatePicker.vue.d.ts +154 -6
- package/dist/runtime/components/LibDatePicker/LibSingleDatePicker.d.vue.ts +7 -5
- package/dist/runtime/components/LibDatePicker/LibSingleDatePicker.vue.d.ts +7 -5
- package/dist/runtime/components/LibDatePicker/LibTimeZonePicker.d.vue.ts +7 -6
- package/dist/runtime/components/LibDatePicker/LibTimeZonePicker.vue.d.ts +7 -6
- package/dist/runtime/components/LibDebug/LibDebug.d.vue.ts +3 -2
- package/dist/runtime/components/LibDebug/LibDebug.vue.d.ts +3 -2
- package/dist/runtime/components/LibDevOnly/LibDevOnly.d.vue.ts +3 -2
- package/dist/runtime/components/LibDevOnly/LibDevOnly.vue.d.ts +3 -2
- package/dist/runtime/components/LibFileInput/LibFileInput.d.vue.ts +20 -19
- package/dist/runtime/components/LibFileInput/LibFileInput.vue.d.ts +20 -19
- package/dist/runtime/components/LibInputDeprecated/LibInputDeprecated.d.vue.ts +107 -16
- package/dist/runtime/components/LibInputDeprecated/LibInputDeprecated.vue.d.ts +107 -16
- package/dist/runtime/components/LibLabel/LibLabel.d.vue.ts +4 -3
- package/dist/runtime/components/LibLabel/LibLabel.vue.d.ts +4 -3
- package/dist/runtime/components/LibMultiValues/LibMultiValues.d.vue.ts +15 -10
- package/dist/runtime/components/LibMultiValues/LibMultiValues.vue.d.ts +15 -10
- package/dist/runtime/components/LibNotifications/LibNotification.d.vue.ts +14 -5
- package/dist/runtime/components/LibNotifications/LibNotification.vue.d.ts +14 -5
- package/dist/runtime/components/LibNotifications/LibNotificationTestMessageComponent.d.vue.ts +2 -1
- package/dist/runtime/components/LibNotifications/LibNotificationTestMessageComponent.vue.d.ts +2 -1
- package/dist/runtime/components/LibNotifications/LibNotifications.d.vue.ts +2 -1
- package/dist/runtime/components/LibNotifications/LibNotifications.vue.d.ts +2 -1
- package/dist/runtime/components/LibPagination/LibPagination.d.vue.ts +51 -50
- package/dist/runtime/components/LibPagination/LibPagination.vue.d.ts +51 -50
- package/dist/runtime/components/LibPalette/LibPalette.d.vue.ts +4 -3
- package/dist/runtime/components/LibPalette/LibPalette.vue.d.ts +4 -3
- package/dist/runtime/components/LibPopup/LibPopup.d.vue.ts +9 -3
- package/dist/runtime/components/LibPopup/LibPopup.vue.d.ts +9 -3
- package/dist/runtime/components/LibProgressBar/LibProgressBar.d.vue.ts +4 -3
- package/dist/runtime/components/LibProgressBar/LibProgressBar.vue.d.ts +4 -3
- package/dist/runtime/components/LibRecorder/LibRecorder.d.vue.ts +4 -3
- package/dist/runtime/components/LibRecorder/LibRecorder.vue.d.ts +4 -3
- package/dist/runtime/components/LibRoot/LibRoot.d.vue.ts +5 -4
- package/dist/runtime/components/LibRoot/LibRoot.vue.d.ts +5 -4
- package/dist/runtime/components/LibSimpleInput/LibSimpleInput.d.vue.ts +18 -13
- package/dist/runtime/components/LibSimpleInput/LibSimpleInput.vue +1 -1
- package/dist/runtime/components/LibSimpleInput/LibSimpleInput.vue.d.ts +18 -13
- package/dist/runtime/components/LibSuggestions/LibSuggestions.d.vue.ts +23 -18
- package/dist/runtime/components/LibSuggestions/LibSuggestions.vue.d.ts +23 -18
- package/dist/runtime/components/LibTable/LibTable.d.vue.ts +34 -13
- package/dist/runtime/components/LibTable/LibTable.vue.d.ts +34 -13
- package/dist/runtime/components/Template/NAME.d.vue.ts +3 -2
- package/dist/runtime/components/Template/NAME.vue.d.ts +3 -2
- package/dist/runtime/components/TestControls/TestControls.d.vue.ts +2 -1
- package/dist/runtime/components/TestControls/TestControls.vue.d.ts +2 -1
- package/package.json +50 -50
- package/src/module.ts +8 -4
- package/src/runtime/assets/animations.css +2 -2
- package/src/runtime/assets/tailwind.css +1 -1
- package/src/runtime/components/LibCheckbox/LibCheckbox.vue +3 -1
- package/src/runtime/components/LibFileInput/LibFileInput.vue +13 -4
- package/src/runtime/components/LibInputDeprecated/LibInputDeprecated.vue +6 -1
- package/src/runtime/components/LibSimpleInput/LibSimpleInput.vue +2 -0
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -73,18 +73,21 @@ const module$1 = defineNuxtModule({
|
|
|
73
73
|
directives: options.directives
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
|
+
const assetDir = resolve("runtime/assets");
|
|
77
|
+
const tailwindFiles = globFiles([
|
|
78
|
+
`${assetDir}/**/*.css`,
|
|
79
|
+
`!${assetDir}/**/tailwind.css`
|
|
80
|
+
], []);
|
|
76
81
|
addTemplate({
|
|
77
82
|
filename: "witchcraft-ui.css",
|
|
78
83
|
write: true,
|
|
79
84
|
getContents: () => options._playgroundWorkaround ? crop`
|
|
80
85
|
${indent(themeAsTailwindCss(theme, themeConvertionOpts), 5)}
|
|
81
|
-
|
|
82
|
-
@import "${resolve("runtime/assets/utils.css")}";
|
|
86
|
+
${indent(tailwindFiles.map((_) => `@import "${_.filepath}";`).join("\n"), 5)}
|
|
83
87
|
${indent(filteredComponentsInfo.map((_) => `@source "${_.filepath}";`).join("\n"), 5)}
|
|
84
88
|
` : crop`
|
|
85
89
|
${indent(themeAsTailwindCss(theme, themeConvertionOpts), 5)}
|
|
86
|
-
|
|
87
|
-
@import "@witchcraft/ui/utils.css";
|
|
90
|
+
${indent(tailwindFiles.map((_) => `@import "${_.filepath.replace(assetDir, "@witchcraft/ui/")}";`).join("\n"), 5)}
|
|
88
91
|
${indent(filteredComponentsInfo.map((_) => `@source "${_.filepath}";`).join("\n"), 5)}
|
|
89
92
|
`
|
|
90
93
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@utility animate-from-*{--animate-from:--value([length,percentage]);--animate-from:calc(var(--spacing) * --value(integer))}@utility -animate-from-*{--animate-from:--value([length,percentage]);--animate-from:calc(var(--spacing) * -1 * --value(integer))}@theme{--animate-blinkInf:blink 1s linear
|
|
1
|
+
@utility animate-from-*{--animate-from:--value([length,percentage]);--animate-from:calc(var(--spacing) * --value(integer))}@utility -animate-from-*{--animate-from:--value([length,percentage]);--animate-from:calc(var(--spacing) * -1 * --value(integer))}@theme{--animate-blinkInf:blink 1s linear infinite;@keyframes blink{0%{opacity:0}25%{opacity:1}75%{opacity:1}to{opacity:0}}--animate-slideBgInf:slide-bg 10s ease-in-out linear-infinite;@keyframes slide{0%{background-position:0}to{background-position:100%}}--animate-hide:hide 500ms ease-in;@keyframes hide{0%{opacity:1}to{opacity:0}}--animate-slideInLeft:slideInLeft 500ms cubic-bezier(0.16,1,0.3,1);@keyframes slideInLeft{0%{opacity:0;transform:translateX(var(--animate-from,100%))}to{opacity:1;transform:translateX(0)}}--animate-slideInRight:slideInLeft 500ms cubic-bezier(0.16,1,0.3,1);@keyframes slideInRight{0%{opacity:0;transform:translateX(var(--animate-from,-100%))}to{opacity:1;transform:translateX(0)}}--animate-slideInUp:slideInUp 500ms cubic-bezier(0.16,1,0.3,1);@keyframes slideInUp{0%{opacity:0;transform:translateY(var(--animate-from,100%))}to{opacity:1;transform:translateY(0)}}--animate-slideInDown:slideInDown 500ms cubic-bezier(0.16,1,0.3,1);@keyframes slideInDown{0%{opacity:0;transform:translateY(var(--animate-from,-100%))}to{opacity:1;transform:translateY(0)}}--animate-overlayShow:overlayShow 500ms cubic-bezier(0.16,1,0.3,1);@keyframes overlayShow{0%{opacity:0}to{opacity:1}}--animate-contentShow:contentShow 500ms cubic-bezier(0.16,1,0.3,1);@keyframes contentShow{0%{opacity:0;transform:translateY(-10%) scale(.96)}to{opacity:1;transform:scale(1)}}}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
value: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
5
6
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
value: string;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
5
6
|
export default _default;
|
|
@@ -10,10 +10,11 @@ interface Props extends
|
|
|
10
10
|
/** @vue-ignore */
|
|
11
11
|
Partial<Omit<HTMLAttributes, "class">> {
|
|
12
12
|
}
|
|
13
|
-
declare const _default:
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
14
16
|
default?: (props: {}) => any;
|
|
15
17
|
}>;
|
|
16
|
-
export default _default;
|
|
17
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
18
19
|
new (): {
|
|
19
20
|
$slots: S;
|
|
@@ -10,10 +10,11 @@ interface Props extends
|
|
|
10
10
|
/** @vue-ignore */
|
|
11
11
|
Partial<Omit<HTMLAttributes, "class">> {
|
|
12
12
|
}
|
|
13
|
-
declare const _default:
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
14
16
|
default?: (props: {}) => any;
|
|
15
17
|
}>;
|
|
16
|
-
export default _default;
|
|
17
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
18
19
|
new (): {
|
|
19
20
|
$slots: S;
|
|
@@ -7,11 +7,13 @@ Partial<Omit<ButtonHTMLAttributes, "class" | "color" | "disabled"> & TailwindCla
|
|
|
7
7
|
"aria-label": string;
|
|
8
8
|
}>, RealProps {
|
|
9
9
|
}
|
|
10
|
-
declare const _default:
|
|
11
|
-
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
13
|
label: string;
|
|
13
|
-
|
|
14
|
+
color: "warning" | "ok" | "danger" | "primary" | "secondary" | false;
|
|
14
15
|
readonly: boolean;
|
|
16
|
+
disabled: boolean;
|
|
15
17
|
border: boolean;
|
|
16
18
|
unstyle: boolean;
|
|
17
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -23,12 +25,11 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {},
|
|
|
23
25
|
icon?: (props: {}) => any;
|
|
24
26
|
} & {
|
|
25
27
|
default?: (props: {
|
|
26
|
-
label:
|
|
28
|
+
label: string;
|
|
27
29
|
}) => any;
|
|
28
30
|
} & {
|
|
29
31
|
'icon-after'?: (props: {}) => any;
|
|
30
32
|
}>;
|
|
31
|
-
export default _default;
|
|
32
33
|
type __VLS_WithSlots<T, S> = T & {
|
|
33
34
|
new (): {
|
|
34
35
|
$slots: S;
|
|
@@ -7,11 +7,13 @@ Partial<Omit<ButtonHTMLAttributes, "class" | "color" | "disabled"> & TailwindCla
|
|
|
7
7
|
"aria-label": string;
|
|
8
8
|
}>, RealProps {
|
|
9
9
|
}
|
|
10
|
-
declare const _default:
|
|
11
|
-
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
13
|
label: string;
|
|
13
|
-
|
|
14
|
+
color: "warning" | "ok" | "danger" | "primary" | "secondary" | false;
|
|
14
15
|
readonly: boolean;
|
|
16
|
+
disabled: boolean;
|
|
15
17
|
border: boolean;
|
|
16
18
|
unstyle: boolean;
|
|
17
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -23,12 +25,11 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {},
|
|
|
23
25
|
icon?: (props: {}) => any;
|
|
24
26
|
} & {
|
|
25
27
|
default?: (props: {
|
|
26
|
-
label:
|
|
28
|
+
label: string;
|
|
27
29
|
}) => any;
|
|
28
30
|
} & {
|
|
29
31
|
'icon-after'?: (props: {}) => any;
|
|
30
32
|
}>;
|
|
31
|
-
export default _default;
|
|
32
33
|
type __VLS_WithSlots<T, S> = T & {
|
|
33
34
|
new (): {
|
|
34
35
|
$slots: S;
|
|
@@ -9,11 +9,11 @@ type RealProps = LinkableByIdProps & LabelProps & BaseInteractiveProps & {
|
|
|
9
9
|
};
|
|
10
10
|
interface Props extends
|
|
11
11
|
/** @vue-ignore */
|
|
12
|
-
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSumbit"> & TailwindClassProp>,
|
|
13
|
-
/** @vue-ignore */
|
|
14
|
-
WrapperTypes, RealProps {
|
|
12
|
+
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSumbit" | "autocomplete"> & TailwindClassProp>, WrapperTypes, RealProps {
|
|
15
13
|
}
|
|
16
|
-
declare const _default:
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
17
17
|
modelValue?: boolean;
|
|
18
18
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (value: boolean) => any;
|
|
@@ -25,8 +25,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
25
25
|
onSubmit?: ((val: boolean) => any) | undefined;
|
|
26
26
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
|
-
disabled: boolean;
|
|
29
28
|
readonly: boolean;
|
|
29
|
+
disabled: boolean;
|
|
30
30
|
border: boolean;
|
|
31
31
|
unstyle: boolean;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -34,7 +34,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
34
34
|
} & {
|
|
35
35
|
default?: (props: {}) => any;
|
|
36
36
|
}>;
|
|
37
|
-
export default _default;
|
|
38
37
|
type __VLS_WithSlots<T, S> = T & {
|
|
39
38
|
new (): {
|
|
40
39
|
$slots: S;
|
|
@@ -9,11 +9,11 @@ type RealProps = LinkableByIdProps & LabelProps & BaseInteractiveProps & {
|
|
|
9
9
|
};
|
|
10
10
|
interface Props extends
|
|
11
11
|
/** @vue-ignore */
|
|
12
|
-
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSumbit"> & TailwindClassProp>,
|
|
13
|
-
/** @vue-ignore */
|
|
14
|
-
WrapperTypes, RealProps {
|
|
12
|
+
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSumbit" | "autocomplete"> & TailwindClassProp>, WrapperTypes, RealProps {
|
|
15
13
|
}
|
|
16
|
-
declare const _default:
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
17
17
|
modelValue?: boolean;
|
|
18
18
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (value: boolean) => any;
|
|
@@ -25,8 +25,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
25
25
|
onSubmit?: ((val: boolean) => any) | undefined;
|
|
26
26
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
|
-
disabled: boolean;
|
|
29
28
|
readonly: boolean;
|
|
29
|
+
disabled: boolean;
|
|
30
30
|
border: boolean;
|
|
31
31
|
unstyle: boolean;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -34,7 +34,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
34
34
|
} & {
|
|
35
35
|
default?: (props: {}) => any;
|
|
36
36
|
}>;
|
|
37
|
-
export default _default;
|
|
38
37
|
type __VLS_WithSlots<T, S> = T & {
|
|
39
38
|
new (): {
|
|
40
39
|
$slots: S;
|
|
@@ -19,7 +19,9 @@ Partial<Omit<ButtonHTMLAttributes, "class"> & TailwindClassProp & {
|
|
|
19
19
|
"aria-label": string;
|
|
20
20
|
}>, RealProps {
|
|
21
21
|
}
|
|
22
|
-
declare const _default:
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
23
25
|
modelValue?: RgbaColor;
|
|
24
26
|
tempValue?: RgbaColor | undefined;
|
|
25
27
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -46,16 +48,15 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
46
48
|
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
47
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
48
50
|
default?: (props: {
|
|
49
|
-
stringColor:
|
|
50
|
-
classes:
|
|
51
|
+
stringColor: string;
|
|
52
|
+
classes: "\n\tcolor-input--swatch\n\tafter:content-vertical-holder\n\tmin-w-4\n\tflex-1\n\trelative\n\tbefore:content-['']\n\tbefore:absolute\n\tbefore:inset-0\n\tbefore:bg-transparency-squares\n\tbefore:z-[-1]\n";
|
|
51
53
|
}) => any;
|
|
52
54
|
} & {
|
|
53
55
|
temp?: (props: {
|
|
54
|
-
tempStringColor:
|
|
55
|
-
classes:
|
|
56
|
+
tempStringColor: string;
|
|
57
|
+
classes: "\n\tcolor-input--swatch\n\tafter:content-vertical-holder\n\tmin-w-4\n\tflex-1\n\trelative\n\tbefore:content-['']\n\tbefore:absolute\n\tbefore:inset-0\n\tbefore:bg-transparency-squares\n\tbefore:z-[-1]\n";
|
|
56
58
|
}) => any;
|
|
57
59
|
}>;
|
|
58
|
-
export default _default;
|
|
59
60
|
type __VLS_WithSlots<T, S> = T & {
|
|
60
61
|
new (): {
|
|
61
62
|
$slots: S;
|
|
@@ -19,7 +19,9 @@ Partial<Omit<ButtonHTMLAttributes, "class"> & TailwindClassProp & {
|
|
|
19
19
|
"aria-label": string;
|
|
20
20
|
}>, RealProps {
|
|
21
21
|
}
|
|
22
|
-
declare const _default:
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
23
25
|
modelValue?: RgbaColor;
|
|
24
26
|
tempValue?: RgbaColor | undefined;
|
|
25
27
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -46,16 +48,15 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
46
48
|
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
47
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
48
50
|
default?: (props: {
|
|
49
|
-
stringColor:
|
|
50
|
-
classes:
|
|
51
|
+
stringColor: string;
|
|
52
|
+
classes: "\n\tcolor-input--swatch\n\tafter:content-vertical-holder\n\tmin-w-4\n\tflex-1\n\trelative\n\tbefore:content-['']\n\tbefore:absolute\n\tbefore:inset-0\n\tbefore:bg-transparency-squares\n\tbefore:z-[-1]\n";
|
|
51
53
|
}) => any;
|
|
52
54
|
} & {
|
|
53
55
|
temp?: (props: {
|
|
54
|
-
tempStringColor:
|
|
55
|
-
classes:
|
|
56
|
+
tempStringColor: string;
|
|
57
|
+
classes: "\n\tcolor-input--swatch\n\tafter:content-vertical-holder\n\tmin-w-4\n\tflex-1\n\trelative\n\tbefore:content-['']\n\tbefore:absolute\n\tbefore:inset-0\n\tbefore:bg-transparency-squares\n\tbefore:z-[-1]\n";
|
|
56
58
|
}) => any;
|
|
57
59
|
}>;
|
|
58
|
-
export default _default;
|
|
59
60
|
type __VLS_WithSlots<T, S> = T & {
|
|
60
61
|
new (): {
|
|
61
62
|
$slots: S;
|
|
@@ -20,17 +20,18 @@ type __VLS_Props = LabelProps & LinkableByIdProps & {
|
|
|
20
20
|
copyTransform?: (val: HsvaColor, stringVal: string) => any;
|
|
21
21
|
valid?: boolean;
|
|
22
22
|
};
|
|
23
|
-
type
|
|
23
|
+
type __VLS_ModelProps = {
|
|
24
24
|
modelValue?: RgbaColor;
|
|
25
25
|
"tempValue"?: RgbaColor | undefined;
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
28
|
+
declare var __VLS_1: {}, __VLS_30: {};
|
|
28
29
|
type __VLS_Slots = {} & {
|
|
29
30
|
input?: (props: typeof __VLS_1) => any;
|
|
30
31
|
} & {
|
|
31
|
-
buttons?: (props: typeof
|
|
32
|
+
buttons?: (props: typeof __VLS_30) => any;
|
|
32
33
|
};
|
|
33
|
-
declare const
|
|
34
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
35
|
"update:modelValue": (value: RgbaColor) => any;
|
|
35
36
|
"update:tempValue": (value: RgbaColor | undefined) => any;
|
|
36
37
|
} & {
|
|
@@ -52,7 +53,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
52
53
|
};
|
|
53
54
|
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
54
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
|
-
declare const
|
|
56
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
56
58
|
export default _default;
|
|
57
59
|
type __VLS_WithSlots<T, S> = T & {
|
|
58
60
|
new (): {
|
|
@@ -20,17 +20,18 @@ type __VLS_Props = LabelProps & LinkableByIdProps & {
|
|
|
20
20
|
copyTransform?: (val: HsvaColor, stringVal: string) => any;
|
|
21
21
|
valid?: boolean;
|
|
22
22
|
};
|
|
23
|
-
type
|
|
23
|
+
type __VLS_ModelProps = {
|
|
24
24
|
modelValue?: RgbaColor;
|
|
25
25
|
"tempValue"?: RgbaColor | undefined;
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
28
|
+
declare var __VLS_1: {}, __VLS_30: {};
|
|
28
29
|
type __VLS_Slots = {} & {
|
|
29
30
|
input?: (props: typeof __VLS_1) => any;
|
|
30
31
|
} & {
|
|
31
|
-
buttons?: (props: typeof
|
|
32
|
+
buttons?: (props: typeof __VLS_30) => any;
|
|
32
33
|
};
|
|
33
|
-
declare const
|
|
34
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
35
|
"update:modelValue": (value: RgbaColor) => any;
|
|
35
36
|
"update:tempValue": (value: RgbaColor | undefined) => any;
|
|
36
37
|
} & {
|
|
@@ -52,7 +53,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
52
53
|
};
|
|
53
54
|
copyTransform: (val: HsvaColor, stringVal: string) => any;
|
|
54
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
|
-
declare const
|
|
56
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
56
58
|
export default _default;
|
|
57
59
|
type __VLS_WithSlots<T, S> = T & {
|
|
58
60
|
new (): {
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { type ButtonHTMLAttributes } from "vue";
|
|
2
2
|
import type { TailwindClassProp } from "../shared/props.js";
|
|
3
|
-
declare const _default:
|
|
4
|
-
"update:darkMode": (value: boolean) => any;
|
|
5
|
-
"update:darkModeState": (value: "system" | "dark" | "light") => any;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
7
|
-
"onUpdate:darkMode"?: ((value: boolean) => any) | undefined;
|
|
8
|
-
"onUpdate:darkModeState"?: ((value: "system" | "dark" | "light") => any) | undefined;
|
|
9
|
-
}>, {
|
|
10
|
-
showLabel: boolean;
|
|
11
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
12
4
|
export default _default;
|
|
13
5
|
type RealProps = {
|
|
14
6
|
showLabel?: boolean;
|
|
@@ -20,3 +12,12 @@ Partial<Omit<ButtonHTMLAttributes, "class" | "color" | "disabled"> & TailwindCla
|
|
|
20
12
|
unstyle?: boolean;
|
|
21
13
|
}>, RealProps {
|
|
22
14
|
}
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
"update:darkMode": (value: boolean) => any;
|
|
17
|
+
"update:darkModeState": (value: "system" | "dark" | "light") => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
19
|
+
"onUpdate:darkMode"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
"onUpdate:darkModeState"?: ((value: "system" | "dark" | "light") => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
showLabel: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { type ButtonHTMLAttributes } from "vue";
|
|
2
2
|
import type { TailwindClassProp } from "../shared/props.js";
|
|
3
|
-
declare const _default:
|
|
4
|
-
"update:darkMode": (value: boolean) => any;
|
|
5
|
-
"update:darkModeState": (value: "system" | "dark" | "light") => any;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
7
|
-
"onUpdate:darkMode"?: ((value: boolean) => any) | undefined;
|
|
8
|
-
"onUpdate:darkModeState"?: ((value: "system" | "dark" | "light") => any) | undefined;
|
|
9
|
-
}>, {
|
|
10
|
-
showLabel: boolean;
|
|
11
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
12
4
|
export default _default;
|
|
13
5
|
type RealProps = {
|
|
14
6
|
showLabel?: boolean;
|
|
@@ -20,3 +12,12 @@ Partial<Omit<ButtonHTMLAttributes, "class" | "color" | "disabled"> & TailwindCla
|
|
|
20
12
|
unstyle?: boolean;
|
|
21
13
|
}>, RealProps {
|
|
22
14
|
}
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
"update:darkMode": (value: boolean) => any;
|
|
17
|
+
"update:darkModeState": (value: "system" | "dark" | "light") => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
19
|
+
"onUpdate:darkMode"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
"onUpdate:darkModeState"?: ((value: "system" | "dark" | "light") => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
showLabel: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,7 +7,7 @@ type __VLS_Props = {
|
|
|
7
7
|
/** The local user's timezone, defaults to @internationalized/date's getLocalTimeZone(). */
|
|
8
8
|
timeZone?: string;
|
|
9
9
|
};
|
|
10
|
-
type
|
|
10
|
+
type __VLS_ModelProps = {
|
|
11
11
|
/**
|
|
12
12
|
* modelValue can be undefined or an object with start/end undefined, but it must be passed, otherwise we can't tell the difference between a single date and a range date.
|
|
13
13
|
*
|
|
@@ -17,11 +17,161 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
17
17
|
*/
|
|
18
18
|
modelValue: SingleDate | RangeDate;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
21
|
+
declare var __VLS_9: {
|
|
22
|
+
tempValue: {
|
|
23
|
+
start?: {
|
|
24
|
+
readonly calendar: {
|
|
25
|
+
identifier: import("@internationalized/date").CalendarIdentifier;
|
|
26
|
+
fromJulianDay: (jd: number) => import("@internationalized/date").CalendarDate;
|
|
27
|
+
toJulianDay: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
28
|
+
getDaysInMonth: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
29
|
+
getMonthsInYear: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
30
|
+
getYearsInEra: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
31
|
+
getEras: () => string[];
|
|
32
|
+
getMinimumMonthInYear?: ((date: import("@internationalized/date").AnyCalendarDate) => number) | undefined;
|
|
33
|
+
getMinimumDayInMonth?: ((date: import("@internationalized/date").AnyCalendarDate) => number) | undefined;
|
|
34
|
+
getMaximumMonthsInYear: () => number;
|
|
35
|
+
getMaximumDaysInMonth: () => number;
|
|
36
|
+
getFormattableMonth?: ((date: import("@internationalized/date").AnyCalendarDate) => import("@internationalized/date").CalendarDate) | undefined;
|
|
37
|
+
isEqual?: ((calendar: import("@internationalized/date").Calendar) => boolean) | undefined;
|
|
38
|
+
balanceDate?: ((date: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
39
|
+
balanceYearMonth?: ((date: import("@internationalized/date").AnyCalendarDate, previousDate: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
40
|
+
constrainDate?: ((date: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
41
|
+
isInverseEra?: ((date: import("@internationalized/date").AnyCalendarDate) => boolean) | undefined;
|
|
42
|
+
};
|
|
43
|
+
readonly era: string;
|
|
44
|
+
readonly year: number;
|
|
45
|
+
readonly month: number;
|
|
46
|
+
readonly day: number;
|
|
47
|
+
copy: () => import("@internationalized/date").CalendarDate;
|
|
48
|
+
add: (duration: import("@internationalized/date").DateDuration) => import("@internationalized/date").CalendarDate;
|
|
49
|
+
subtract: (duration: import("@internationalized/date").DateDuration) => import("@internationalized/date").CalendarDate;
|
|
50
|
+
set: (fields: import("@internationalized/date").DateFields) => import("@internationalized/date").CalendarDate;
|
|
51
|
+
cycle: (field: import("@internationalized/date").DateField, amount: number, options?: import("@internationalized/date").CycleOptions) => import("@internationalized/date").CalendarDate;
|
|
52
|
+
toDate: (timeZone: string) => Date;
|
|
53
|
+
toString: () => string;
|
|
54
|
+
compare: (b: import("@internationalized/date").AnyCalendarDate) => number;
|
|
55
|
+
} | {
|
|
56
|
+
readonly calendar: {
|
|
57
|
+
identifier: import("@internationalized/date").CalendarIdentifier;
|
|
58
|
+
fromJulianDay: (jd: number) => import("@internationalized/date").CalendarDate;
|
|
59
|
+
toJulianDay: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
60
|
+
getDaysInMonth: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
61
|
+
getMonthsInYear: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
62
|
+
getYearsInEra: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
63
|
+
getEras: () => string[];
|
|
64
|
+
getMinimumMonthInYear?: ((date: import("@internationalized/date").AnyCalendarDate) => number) | undefined;
|
|
65
|
+
getMinimumDayInMonth?: ((date: import("@internationalized/date").AnyCalendarDate) => number) | undefined;
|
|
66
|
+
getMaximumMonthsInYear: () => number;
|
|
67
|
+
getMaximumDaysInMonth: () => number;
|
|
68
|
+
getFormattableMonth?: ((date: import("@internationalized/date").AnyCalendarDate) => import("@internationalized/date").CalendarDate) | undefined;
|
|
69
|
+
isEqual?: ((calendar: import("@internationalized/date").Calendar) => boolean) | undefined;
|
|
70
|
+
balanceDate?: ((date: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
71
|
+
balanceYearMonth?: ((date: import("@internationalized/date").AnyCalendarDate, previousDate: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
72
|
+
constrainDate?: ((date: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
73
|
+
isInverseEra?: ((date: import("@internationalized/date").AnyCalendarDate) => boolean) | undefined;
|
|
74
|
+
};
|
|
75
|
+
readonly era: string;
|
|
76
|
+
readonly year: number;
|
|
77
|
+
readonly month: number;
|
|
78
|
+
readonly day: number;
|
|
79
|
+
readonly hour: number;
|
|
80
|
+
readonly minute: number;
|
|
81
|
+
readonly second: number;
|
|
82
|
+
readonly millisecond: number;
|
|
83
|
+
readonly timeZone: string;
|
|
84
|
+
readonly offset: number;
|
|
85
|
+
copy: () => import("@internationalized/date").ZonedDateTime;
|
|
86
|
+
add: (duration: import("@internationalized/date").DateTimeDuration) => import("@internationalized/date").ZonedDateTime;
|
|
87
|
+
subtract: (duration: import("@internationalized/date").DateTimeDuration) => import("@internationalized/date").ZonedDateTime;
|
|
88
|
+
set: (fields: import("@internationalized/date").DateFields & import("@internationalized/date").TimeFields, disambiguation?: import("@internationalized/date").Disambiguation) => import("@internationalized/date").ZonedDateTime;
|
|
89
|
+
cycle: (field: import("@internationalized/date").DateField | import("@internationalized/date").TimeField, amount: number, options?: import("@internationalized/date").CycleTimeOptions) => import("@internationalized/date").ZonedDateTime;
|
|
90
|
+
toDate: () => Date;
|
|
91
|
+
toString: () => string;
|
|
92
|
+
toAbsoluteString: () => string;
|
|
93
|
+
compare: (b: import("@internationalized/date").CalendarDate | import("@internationalized/date").CalendarDateTime | import("@internationalized/date").ZonedDateTime) => number;
|
|
94
|
+
} | undefined;
|
|
95
|
+
end?: {
|
|
96
|
+
readonly calendar: {
|
|
97
|
+
identifier: import("@internationalized/date").CalendarIdentifier;
|
|
98
|
+
fromJulianDay: (jd: number) => import("@internationalized/date").CalendarDate;
|
|
99
|
+
toJulianDay: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
100
|
+
getDaysInMonth: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
101
|
+
getMonthsInYear: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
102
|
+
getYearsInEra: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
103
|
+
getEras: () => string[];
|
|
104
|
+
getMinimumMonthInYear?: ((date: import("@internationalized/date").AnyCalendarDate) => number) | undefined;
|
|
105
|
+
getMinimumDayInMonth?: ((date: import("@internationalized/date").AnyCalendarDate) => number) | undefined;
|
|
106
|
+
getMaximumMonthsInYear: () => number;
|
|
107
|
+
getMaximumDaysInMonth: () => number;
|
|
108
|
+
getFormattableMonth?: ((date: import("@internationalized/date").AnyCalendarDate) => import("@internationalized/date").CalendarDate) | undefined;
|
|
109
|
+
isEqual?: ((calendar: import("@internationalized/date").Calendar) => boolean) | undefined;
|
|
110
|
+
balanceDate?: ((date: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
111
|
+
balanceYearMonth?: ((date: import("@internationalized/date").AnyCalendarDate, previousDate: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
112
|
+
constrainDate?: ((date: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
113
|
+
isInverseEra?: ((date: import("@internationalized/date").AnyCalendarDate) => boolean) | undefined;
|
|
114
|
+
};
|
|
115
|
+
readonly era: string;
|
|
116
|
+
readonly year: number;
|
|
117
|
+
readonly month: number;
|
|
118
|
+
readonly day: number;
|
|
119
|
+
copy: () => import("@internationalized/date").CalendarDate;
|
|
120
|
+
add: (duration: import("@internationalized/date").DateDuration) => import("@internationalized/date").CalendarDate;
|
|
121
|
+
subtract: (duration: import("@internationalized/date").DateDuration) => import("@internationalized/date").CalendarDate;
|
|
122
|
+
set: (fields: import("@internationalized/date").DateFields) => import("@internationalized/date").CalendarDate;
|
|
123
|
+
cycle: (field: import("@internationalized/date").DateField, amount: number, options?: import("@internationalized/date").CycleOptions) => import("@internationalized/date").CalendarDate;
|
|
124
|
+
toDate: (timeZone: string) => Date;
|
|
125
|
+
toString: () => string;
|
|
126
|
+
compare: (b: import("@internationalized/date").AnyCalendarDate) => number;
|
|
127
|
+
} | {
|
|
128
|
+
readonly calendar: {
|
|
129
|
+
identifier: import("@internationalized/date").CalendarIdentifier;
|
|
130
|
+
fromJulianDay: (jd: number) => import("@internationalized/date").CalendarDate;
|
|
131
|
+
toJulianDay: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
132
|
+
getDaysInMonth: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
133
|
+
getMonthsInYear: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
134
|
+
getYearsInEra: (date: import("@internationalized/date").AnyCalendarDate) => number;
|
|
135
|
+
getEras: () => string[];
|
|
136
|
+
getMinimumMonthInYear?: ((date: import("@internationalized/date").AnyCalendarDate) => number) | undefined;
|
|
137
|
+
getMinimumDayInMonth?: ((date: import("@internationalized/date").AnyCalendarDate) => number) | undefined;
|
|
138
|
+
getMaximumMonthsInYear: () => number;
|
|
139
|
+
getMaximumDaysInMonth: () => number;
|
|
140
|
+
getFormattableMonth?: ((date: import("@internationalized/date").AnyCalendarDate) => import("@internationalized/date").CalendarDate) | undefined;
|
|
141
|
+
isEqual?: ((calendar: import("@internationalized/date").Calendar) => boolean) | undefined;
|
|
142
|
+
balanceDate?: ((date: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
143
|
+
balanceYearMonth?: ((date: import("@internationalized/date").AnyCalendarDate, previousDate: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
144
|
+
constrainDate?: ((date: import("@internationalized/date").AnyCalendarDate) => void) | undefined;
|
|
145
|
+
isInverseEra?: ((date: import("@internationalized/date").AnyCalendarDate) => boolean) | undefined;
|
|
146
|
+
};
|
|
147
|
+
readonly era: string;
|
|
148
|
+
readonly year: number;
|
|
149
|
+
readonly month: number;
|
|
150
|
+
readonly day: number;
|
|
151
|
+
readonly hour: number;
|
|
152
|
+
readonly minute: number;
|
|
153
|
+
readonly second: number;
|
|
154
|
+
readonly millisecond: number;
|
|
155
|
+
readonly timeZone: string;
|
|
156
|
+
readonly offset: number;
|
|
157
|
+
copy: () => import("@internationalized/date").ZonedDateTime;
|
|
158
|
+
add: (duration: import("@internationalized/date").DateTimeDuration) => import("@internationalized/date").ZonedDateTime;
|
|
159
|
+
subtract: (duration: import("@internationalized/date").DateTimeDuration) => import("@internationalized/date").ZonedDateTime;
|
|
160
|
+
set: (fields: import("@internationalized/date").DateFields & import("@internationalized/date").TimeFields, disambiguation?: import("@internationalized/date").Disambiguation) => import("@internationalized/date").ZonedDateTime;
|
|
161
|
+
cycle: (field: import("@internationalized/date").DateField | import("@internationalized/date").TimeField, amount: number, options?: import("@internationalized/date").CycleTimeOptions) => import("@internationalized/date").ZonedDateTime;
|
|
162
|
+
toDate: () => Date;
|
|
163
|
+
toString: () => string;
|
|
164
|
+
toAbsoluteString: () => string;
|
|
165
|
+
compare: (b: import("@internationalized/date").CalendarDate | import("@internationalized/date").CalendarDateTime | import("@internationalized/date").ZonedDateTime) => number;
|
|
166
|
+
} | undefined;
|
|
167
|
+
};
|
|
168
|
+
} | {
|
|
169
|
+
tempValue: any;
|
|
170
|
+
};
|
|
21
171
|
type __VLS_Slots = {} & {
|
|
22
|
-
default?: (props: typeof
|
|
172
|
+
default?: (props: typeof __VLS_9) => any;
|
|
23
173
|
};
|
|
24
|
-
declare const
|
|
174
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
175
|
"update:modelValue": (value: SingleDate | RangeDate) => any;
|
|
26
176
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
177
|
"onUpdate:modelValue"?: ((value: SingleDate | RangeDate) => any) | undefined;
|
|
@@ -31,7 +181,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
31
181
|
timeZone: string;
|
|
32
182
|
showTime: boolean;
|
|
33
183
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
-
declare const
|
|
184
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
185
|
+
declare const _default: typeof __VLS_export;
|
|
35
186
|
export default _default;
|
|
36
187
|
type __VLS_WithSlots<T, S> = T & {
|
|
37
188
|
new (): {
|