@citruslime/ui 4.0.0-beta.9 → 4.0.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 +1 -1
- package/dist/citrus-lime-ui.es.js +4022 -3896
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +13 -38
- package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +8 -3
- package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +13 -37
- package/dist/components/app/cl-ui-app.vue.d.ts +10 -34
- package/dist/components/button/cl-ui-button.vue.d.ts +17 -47
- package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +19 -31
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +18 -68
- package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +6 -17
- package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +6 -17
- package/dist/components/card/cl-ui-card.vue.d.ts +13 -40
- package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +29 -90
- package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +18 -63
- package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +9 -37
- package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +12 -44
- package/dist/components/currency/cl-ui-currency-input.vue.d.ts +13 -49
- package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +17 -44
- package/dist/components/footer/cl-ui-footer.vue.d.ts +12 -5
- package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +17 -38
- package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +23 -49
- package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +7 -19
- package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +13 -39
- package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +13 -39
- package/dist/components/grid/cl-ui-grid.vue.d.ts +47 -104
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +7 -34
- package/dist/components/grid/header/cl-ui-grid-filter-input.vue.d.ts +8 -23
- package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +15 -29
- package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +13 -29
- package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +8 -20
- package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +21 -43
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +8 -17
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +3 -14
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +14 -49
- package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +7 -18
- package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +7 -19
- package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +21 -66
- package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +14 -47
- package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +14 -45
- package/dist/components/header/cl-ui-header.vue.d.ts +12 -24
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +15 -46
- package/dist/components/input/cl-ui-input.vue.d.ts +49 -487
- package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +24 -49
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +9 -15
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +28 -96
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +33 -112
- package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +12 -40
- package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +37 -123
- package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +23 -78
- package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +31 -75
- package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +22 -49
- package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +8 -34
- package/dist/components/login/cl-ui-login.vue.d.ts +16 -43
- package/dist/components/menu/cl-ui-menu.vue.d.ts +26 -197
- package/dist/components/menu/group/cl-ui-menu-group.vue.d.ts +11 -24
- package/dist/components/menu/icon/cl-ui-menu-icon.vue.d.ts +3 -13
- package/dist/components/menu/item/cl-ui-menu-item.vue.d.ts +5 -5
- package/dist/components/menu/section/cl-ui-menu-section.vue.d.ts +7 -42
- package/dist/components/modal/cl-ui-modal.vue.d.ts +31 -66
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +22 -50
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +7 -18
- package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +5 -29
- package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +8 -3
- package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -4
- package/dist/components/notification/cl-ui-notification.vue.d.ts +7 -35
- package/dist/components/select/cl-ui-select.vue.d.ts +28 -147
- package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +10 -12
- package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +14 -42
- package/dist/components/skeleton-loaders/cl-ui-skeleton-text.vue.d.ts +11 -36
- package/dist/components/slider/cl-ui-slider.vue.d.ts +14 -54
- package/dist/components/tab/cl-ui-tab.vue.d.ts +27 -60
- package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +10 -34
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +16 -47
- package/dist/components/toggle/cl-ui-radio-group.vue.d.ts +10 -22
- package/dist/components/toggle/cl-ui-radio.vue.d.ts +13 -39
- package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +10 -33
- package/dist/components/toggle/cl-ui-toggle.vue.d.ts +22 -45
- package/dist/components/tree-list/cl-ui-tree-list-subtree.vue.d.ts +20 -58
- package/dist/components/tree-list/cl-ui-tree-list-tree-path.vue.d.ts +3 -13
- package/dist/components/tree-list/cl-ui-tree-list.vue.d.ts +12 -40
- package/dist/ui.css +1 -0
- package/dist/utils/injectionKeys.d.ts +1 -1
- package/package.json +13 -9
- package/dist/style.css +0 -1
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
exclusive?: boolean;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_Slots = {
|
|
5
|
+
default(props: {
|
|
6
|
+
isItemOpen: typeof isItemOpen;
|
|
7
|
+
toggleItem: typeof toggleItem;
|
|
8
|
+
}): any;
|
|
9
|
+
};
|
|
1
10
|
/**
|
|
2
11
|
* Checks whether the item with the provided ID is open. If it does not yet exist in the list, a new item is added for it (defaults to closed).
|
|
3
12
|
*
|
|
@@ -11,47 +20,13 @@ declare function isItemOpen(id: number): boolean;
|
|
|
11
20
|
* @param id The ID of the item to open/close.
|
|
12
21
|
*/
|
|
13
22
|
declare function toggleItem(id: number): void;
|
|
14
|
-
declare const
|
|
15
|
-
exclusive?: boolean | undefined;
|
|
16
|
-
}>, {
|
|
17
|
-
exclusive: boolean;
|
|
18
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
19
|
-
exclusive?: boolean | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
exclusive: boolean;
|
|
22
|
-
}>>> & Readonly<{}>, {
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
24
|
exclusive: boolean;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
25
|
-
|
|
26
|
-
isItemOpen: typeof isItemOpen;
|
|
27
|
-
toggleItem: typeof toggleItem;
|
|
28
|
-
}): any;
|
|
29
|
-
}> & {
|
|
30
|
-
default(props: {
|
|
31
|
-
isItemOpen: typeof isItemOpen;
|
|
32
|
-
toggleItem: typeof toggleItem;
|
|
33
|
-
}): any;
|
|
34
|
-
}>;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
35
27
|
export default _default;
|
|
36
|
-
type
|
|
37
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
-
default: D[K];
|
|
39
|
-
}> : P[K];
|
|
40
|
-
};
|
|
41
|
-
type __VLS_Prettify<T> = {
|
|
42
|
-
[K in keyof T]: T[K];
|
|
43
|
-
} & {};
|
|
44
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
29
|
new (): {
|
|
46
30
|
$slots: S;
|
|
47
31
|
};
|
|
48
32
|
};
|
|
49
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
-
type __VLS_TypePropsToOption<T> = {
|
|
51
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
-
} : {
|
|
54
|
-
type: import('vue').PropType<T[K]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
1
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
3
5
|
}>;
|
|
6
|
+
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
4
9
|
export default _default;
|
|
5
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
6
11
|
new (): {
|
|
7
12
|
$slots: S;
|
|
8
13
|
};
|
|
@@ -1,46 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
open: boolean;
|
|
3
|
-
disabled?: boolean
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
}>>> & Readonly<{
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default(): any;
|
|
7
|
+
title(): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
toggle: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
12
|
onToggle?: (() => any) | undefined;
|
|
15
13
|
}>, {
|
|
16
14
|
disabled: boolean;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
18
|
-
|
|
19
|
-
title(): any;
|
|
20
|
-
}> & {
|
|
21
|
-
default(): any;
|
|
22
|
-
title(): any;
|
|
23
|
-
}>;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
17
|
export default _default;
|
|
25
|
-
type
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_Prettify<T> = {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} & {};
|
|
33
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
19
|
new (): {
|
|
35
20
|
$slots: S;
|
|
36
21
|
};
|
|
37
22
|
};
|
|
38
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
-
type __VLS_TypePropsToOption<T> = {
|
|
40
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
-
} : {
|
|
43
|
-
type: import('vue').PropType<T[K]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
@@ -1,42 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
removePadding?: boolean
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
|
-
removePadding?: boolean | undefined;
|
|
7
|
-
}>, {
|
|
8
|
-
removePadding: boolean;
|
|
9
|
-
}>>> & Readonly<{}>, {
|
|
10
|
-
removePadding: boolean;
|
|
11
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
12
|
-
default(): any;
|
|
13
|
-
header(): any;
|
|
14
|
-
navigation(): any;
|
|
15
|
-
}> & {
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
removePadding?: boolean;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_Slots = {
|
|
16
5
|
default(): any;
|
|
17
6
|
header(): any;
|
|
18
7
|
navigation(): any;
|
|
19
|
-
}>;
|
|
20
|
-
export default _default;
|
|
21
|
-
type __VLS_WithDefaults<P, D> = {
|
|
22
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
23
|
-
default: D[K];
|
|
24
|
-
}> : P[K];
|
|
25
8
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
removePadding: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
15
|
new (): {
|
|
31
16
|
$slots: S;
|
|
32
17
|
};
|
|
33
18
|
};
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToOption<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,55 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import type { ButtonColour, ButtonSize } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
colour?: ButtonColour;
|
|
4
|
+
size?: ButtonSize;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
default(): any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
12
12
|
focus(): void;
|
|
13
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
14
|
-
colour?: "default" | "primary" | "secondary" | "danger" | "blue" | "orange" | undefined;
|
|
15
|
-
size?: "small" | "medium" | "large" | undefined;
|
|
16
|
-
loading?: boolean | undefined;
|
|
17
|
-
disabled?: boolean | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
colour: string;
|
|
20
|
-
size: string;
|
|
21
|
-
loading: boolean;
|
|
13
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
14
|
disabled: boolean;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
colour: "default" | "primary" | "secondary" | "danger" | "blue" | "orange";
|
|
26
|
-
size: "small" | "medium" | "large";
|
|
15
|
+
colour: ButtonColour;
|
|
16
|
+
size: ButtonSize;
|
|
27
17
|
loading: boolean;
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
29
|
-
|
|
30
|
-
}> & {
|
|
31
|
-
default(): any;
|
|
32
|
-
}>;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
33
20
|
export default _default;
|
|
34
|
-
type
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
42
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
22
|
new (): {
|
|
44
23
|
$slots: S;
|
|
45
24
|
};
|
|
46
25
|
};
|
|
47
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
-
type __VLS_TypePropsToOption<T> = {
|
|
49
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
-
} : {
|
|
52
|
-
type: import('vue').PropType<T[K]>;
|
|
53
|
-
required: true;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
@@ -1,43 +1,31 @@
|
|
|
1
1
|
import type { PopoverEventHandlers } from 'v-calendar/dist/types/src/utils/popovers.js';
|
|
2
2
|
import type { CalendarType } from './types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
date?: string;
|
|
5
|
+
events?: PopoverEventHandlers;
|
|
6
|
+
type: CalendarType;
|
|
7
|
+
placeholder: string | null;
|
|
8
|
+
required: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
rangeSelected?: boolean;
|
|
11
|
+
};
|
|
3
12
|
/**
|
|
4
13
|
* Focus the input element.
|
|
5
14
|
*/
|
|
6
15
|
declare function focus(): void;
|
|
7
|
-
declare const _default: import("vue").DefineComponent<
|
|
8
|
-
date?: string | undefined;
|
|
9
|
-
events?: PopoverEventHandlers | undefined;
|
|
10
|
-
type: CalendarType;
|
|
11
|
-
placeholder: string | null;
|
|
12
|
-
required: boolean;
|
|
13
|
-
disabled?: boolean | undefined;
|
|
14
|
-
rangeSelected?: boolean | undefined;
|
|
15
|
-
}>>, {
|
|
16
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
16
17
|
focus: typeof focus;
|
|
17
18
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
required: boolean;
|
|
27
|
-
disabled?: boolean | undefined;
|
|
28
|
-
rangeSelected?: boolean | undefined;
|
|
29
|
-
}>>> & Readonly<{
|
|
19
|
+
focus: () => any;
|
|
20
|
+
blur: () => any;
|
|
21
|
+
reset: () => any;
|
|
22
|
+
clear: () => any;
|
|
23
|
+
togglePopover: () => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onFocus?: (() => any) | undefined;
|
|
26
|
+
onBlur?: (() => any) | undefined;
|
|
30
27
|
onReset?: (() => any) | undefined;
|
|
31
28
|
onClear?: (() => any) | undefined;
|
|
32
29
|
onTogglePopover?: (() => any) | undefined;
|
|
33
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
31
|
export default _default;
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,85 +1,35 @@
|
|
|
1
1
|
import type { DateRange } from '../input-v2';
|
|
2
2
|
import type { QuickDateName } from './quick-dates';
|
|
3
3
|
import type { CalendarType } from './types';
|
|
4
|
-
|
|
4
|
+
type __VLS_Props = {
|
|
5
5
|
date: string | DateRange | null;
|
|
6
|
-
type?:
|
|
7
|
-
disabled?: boolean
|
|
8
|
-
required?: boolean
|
|
9
|
-
min?: string | null
|
|
10
|
-
max?: string | null
|
|
11
|
-
timeZone?: string | null
|
|
12
|
-
placeholder?: string | null
|
|
13
|
-
initialDate?: string | null
|
|
14
|
-
quickDateScope?:
|
|
15
|
-
dateFormatLocale?: string | null
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
required: boolean;
|
|
20
|
-
min: null;
|
|
21
|
-
max: null;
|
|
22
|
-
timeZone: null;
|
|
23
|
-
placeholder: null;
|
|
24
|
-
initialDate: null;
|
|
25
|
-
quickDateScope: null;
|
|
26
|
-
dateFormatLocale: null;
|
|
27
|
-
}>>, {
|
|
6
|
+
type?: CalendarType;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
min?: string | null;
|
|
10
|
+
max?: string | null;
|
|
11
|
+
timeZone?: string | null;
|
|
12
|
+
placeholder?: string | null;
|
|
13
|
+
initialDate?: string | null;
|
|
14
|
+
quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[] | null;
|
|
15
|
+
dateFormatLocale?: string | null;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
28
18
|
focus(): void;
|
|
29
19
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
"update:date": (args_0: string | DateRange | null) =>
|
|
31
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
32
|
-
date: string | DateRange | null;
|
|
33
|
-
type?: "time" | "date" | "datetime" | "dateRange" | undefined;
|
|
34
|
-
disabled?: boolean | undefined;
|
|
35
|
-
required?: boolean | undefined;
|
|
36
|
-
min?: string | null | undefined;
|
|
37
|
-
max?: string | null | undefined;
|
|
38
|
-
timeZone?: string | null | undefined;
|
|
39
|
-
placeholder?: string | null | undefined;
|
|
40
|
-
initialDate?: string | null | undefined;
|
|
41
|
-
quickDateScope?: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null | undefined;
|
|
42
|
-
dateFormatLocale?: string | null | undefined;
|
|
43
|
-
}>, {
|
|
44
|
-
type: string;
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
required: boolean;
|
|
47
|
-
min: null;
|
|
48
|
-
max: null;
|
|
49
|
-
timeZone: null;
|
|
50
|
-
placeholder: null;
|
|
51
|
-
initialDate: null;
|
|
52
|
-
quickDateScope: null;
|
|
53
|
-
dateFormatLocale: null;
|
|
54
|
-
}>>> & Readonly<{
|
|
20
|
+
"update:date": (args_0: string | DateRange | null) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
55
22
|
"onUpdate:date"?: ((args_0: string | DateRange | null) => any) | undefined;
|
|
56
23
|
}>, {
|
|
57
24
|
type: CalendarType;
|
|
58
25
|
disabled: boolean;
|
|
59
|
-
max: string | null;
|
|
60
26
|
required: boolean;
|
|
61
27
|
placeholder: string | null;
|
|
62
28
|
min: string | null;
|
|
29
|
+
max: string | null;
|
|
63
30
|
dateFormatLocale: string | null;
|
|
64
31
|
timeZone: string | null;
|
|
65
|
-
quickDateScope:
|
|
32
|
+
quickDateScope: "past" | "future" | "none" | QuickDateName[] | null;
|
|
66
33
|
initialDate: string | null;
|
|
67
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
68
35
|
export default _default;
|
|
69
|
-
type __VLS_WithDefaults<P, D> = {
|
|
70
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
71
|
-
default: D[K];
|
|
72
|
-
}> : P[K];
|
|
73
|
-
};
|
|
74
|
-
type __VLS_Prettify<T> = {
|
|
75
|
-
[K in keyof T]: T[K];
|
|
76
|
-
} & {};
|
|
77
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
78
|
-
type __VLS_TypePropsToOption<T> = {
|
|
79
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
80
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
81
|
-
} : {
|
|
82
|
-
type: import('vue').PropType<T[K]>;
|
|
83
|
-
required: true;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
import type { QuickDate } from './quick-dates';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
dates: QuickDate[];
|
|
4
4
|
selectedQuickDate: QuickDate | null;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
selectedQuickDate: QuickDate | null;
|
|
10
|
-
}>>> & Readonly<{
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"quick-date-selected": (args_0: QuickDate) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
"onQuick-date-selected"?: ((args_0: QuickDate) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToOption<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
import type { QuickDate, QuickDateName } from './quick-dates';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
scope: 'past' | 'future' | QuickDateName[] | null;
|
|
4
4
|
selectedQuickDate: QuickDate | null;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
selectedQuickDate: QuickDate | null;
|
|
10
|
-
}>>> & Readonly<{
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"quick-date-selected": (args_0: QuickDate) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
9
|
"onQuick-date-selected"?: ((args_0: QuickDate) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
11
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToOption<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,49 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
|
-
size?: "small" | "medium" | "large" | undefined;
|
|
9
|
-
hover?: boolean | undefined;
|
|
10
|
-
}>, {
|
|
11
|
-
size: string;
|
|
12
|
-
hover: boolean;
|
|
13
|
-
}>>> & Readonly<{}>, {
|
|
14
|
-
size: "small" | "medium" | "large";
|
|
15
|
-
hover: boolean;
|
|
16
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
17
|
-
default(): any;
|
|
18
|
-
image(): any;
|
|
19
|
-
title(): any;
|
|
20
|
-
footer(): any;
|
|
21
|
-
}> & {
|
|
1
|
+
import type { CardSize } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
size?: CardSize;
|
|
4
|
+
hover?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
22
7
|
default(): any;
|
|
23
8
|
image(): any;
|
|
24
9
|
title(): any;
|
|
25
10
|
footer(): any;
|
|
26
|
-
}>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_WithDefaults<P, D> = {
|
|
29
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
-
default: D[K];
|
|
31
|
-
}> : P[K];
|
|
32
11
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
size: CardSize;
|
|
14
|
+
hover: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
19
|
new (): {
|
|
38
20
|
$slots: S;
|
|
39
21
|
};
|
|
40
22
|
};
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToOption<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|