@citruslime/ui 3.0.1-beta.2 → 3.0.1-beta.21
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/citrus-lime-ui.es.js +3531 -2612
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +18 -12
- package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +3 -1
- package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +3 -1
- package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +3 -1
- package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +3 -1
- package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +2 -0
- package/dist/components/grid/types.d.ts +2 -0
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +19 -0
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +64 -0
- package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +28 -0
- package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +30 -0
- package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +79 -0
- package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer-skeleton.vue.d.ts +2 -0
- package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +45 -0
- package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +47 -0
- package/dist/components/grid-lite/index.d.ts +9 -0
- package/dist/components/grid-lite/types.d.ts +30 -0
- package/dist/components/grid-lite/utils.d.ts +8 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/input-v2/index.d.ts +1 -0
- package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +5 -5
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +9 -0
- package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +5 -5
- package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +5 -7
- package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +5 -5
- package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +5 -5
- package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +60 -0
- package/dist/components/input-v2/input-text-area/index.d.ts +1 -0
- package/dist/components/select/cl-ui-select.vue.d.ts +102 -0
- package/dist/components/select/index.d.ts +3 -0
- package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +15 -0
- package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +47 -0
- package/dist/components/select/types.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/utils/dates.d.ts +2 -2
- package/package.json +3 -3
|
@@ -14,8 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
16
|
errors: {
|
|
17
|
-
type: import("vue").PropType<string[]>;
|
|
18
|
-
default:
|
|
17
|
+
type: import("vue").PropType<string[] | null>;
|
|
18
|
+
default: null;
|
|
19
19
|
};
|
|
20
20
|
placeholder: {
|
|
21
21
|
type: import("vue").PropType<string | null>;
|
|
@@ -60,7 +60,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
60
60
|
"update:modelValue": (modelValue: number | null) => void;
|
|
61
61
|
focus: () => void;
|
|
62
62
|
blur: () => void;
|
|
63
|
-
keySinglePress: (args_0: string) => void;
|
|
64
63
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
64
|
modelValue: {
|
|
66
65
|
required: true;
|
|
@@ -75,8 +74,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
75
74
|
default: boolean;
|
|
76
75
|
};
|
|
77
76
|
errors: {
|
|
78
|
-
type: import("vue").PropType<string[]>;
|
|
79
|
-
default:
|
|
77
|
+
type: import("vue").PropType<string[] | null>;
|
|
78
|
+
default: null;
|
|
80
79
|
};
|
|
81
80
|
placeholder: {
|
|
82
81
|
type: import("vue").PropType<string | null>;
|
|
@@ -117,12 +116,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
117
116
|
}>> & {
|
|
118
117
|
onFocus?: (() => any) | undefined;
|
|
119
118
|
onBlur?: (() => any) | undefined;
|
|
120
|
-
onKeySinglePress?: ((args_0: string) => any) | undefined;
|
|
121
119
|
"onUpdate:modelValue"?: ((modelValue: number | null) => any) | undefined;
|
|
122
120
|
}, {
|
|
123
121
|
disabled: boolean;
|
|
124
122
|
required: boolean;
|
|
125
|
-
errors: string[];
|
|
123
|
+
errors: string[] | null;
|
|
126
124
|
placeholder: string | null;
|
|
127
125
|
locale: string | null;
|
|
128
126
|
currency: string | null;
|
|
@@ -12,8 +12,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
errors: {
|
|
15
|
-
type: import("vue").PropType<string[]>;
|
|
16
|
-
default:
|
|
15
|
+
type: import("vue").PropType<string[] | null>;
|
|
16
|
+
default: null;
|
|
17
17
|
};
|
|
18
18
|
placeholder: {
|
|
19
19
|
type: import("vue").PropType<string | null>;
|
|
@@ -50,8 +50,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
52
|
errors: {
|
|
53
|
-
type: import("vue").PropType<string[]>;
|
|
54
|
-
default:
|
|
53
|
+
type: import("vue").PropType<string[] | null>;
|
|
54
|
+
default: null;
|
|
55
55
|
};
|
|
56
56
|
placeholder: {
|
|
57
57
|
type: import("vue").PropType<string | null>;
|
|
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
74
74
|
}, {
|
|
75
75
|
disabled: boolean;
|
|
76
76
|
required: boolean;
|
|
77
|
-
errors: string[];
|
|
77
|
+
errors: string[] | null;
|
|
78
78
|
placeholder: string | null;
|
|
79
79
|
precision: number;
|
|
80
80
|
}, {}>, Readonly<{
|
|
@@ -16,8 +16,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
18
|
errors: {
|
|
19
|
-
type: import("vue").PropType<string[]>;
|
|
20
|
-
default:
|
|
19
|
+
type: import("vue").PropType<string[] | null>;
|
|
20
|
+
default: null;
|
|
21
21
|
};
|
|
22
22
|
maxlength: {
|
|
23
23
|
type: import("vue").PropType<number | null>;
|
|
@@ -53,8 +53,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
55
|
errors: {
|
|
56
|
-
type: import("vue").PropType<string[]>;
|
|
57
|
-
default:
|
|
56
|
+
type: import("vue").PropType<string[] | null>;
|
|
57
|
+
default: null;
|
|
58
58
|
};
|
|
59
59
|
maxlength: {
|
|
60
60
|
type: import("vue").PropType<number | null>;
|
|
@@ -73,7 +73,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
73
73
|
type: "search" | "text" | "email" | "tel" | "password";
|
|
74
74
|
disabled: boolean;
|
|
75
75
|
required: boolean;
|
|
76
|
-
errors: string[];
|
|
76
|
+
errors: string[] | null;
|
|
77
77
|
maxlength: number | null;
|
|
78
78
|
placeholder: string | null;
|
|
79
79
|
}, {}>, Readonly<{
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
required: true;
|
|
4
|
+
type: import("vue").PropType<string | null | undefined>;
|
|
5
|
+
};
|
|
6
|
+
required: {
|
|
7
|
+
type: import("vue").PropType<boolean>;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
errors: {
|
|
11
|
+
type: import("vue").PropType<string[] | null>;
|
|
12
|
+
default: null;
|
|
13
|
+
};
|
|
14
|
+
resizability: {
|
|
15
|
+
type: import("vue").PropType<"none" | "horizontal" | "vertical" | "both" | "auto">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
focus: () => void | undefined;
|
|
20
|
+
blur: () => void | undefined;
|
|
21
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (modelValue: string | null | undefined) => void;
|
|
23
|
+
focus: () => void;
|
|
24
|
+
blur: () => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
modelValue: {
|
|
27
|
+
required: true;
|
|
28
|
+
type: import("vue").PropType<string | null | undefined>;
|
|
29
|
+
};
|
|
30
|
+
required: {
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
errors: {
|
|
35
|
+
type: import("vue").PropType<string[] | null>;
|
|
36
|
+
default: null;
|
|
37
|
+
};
|
|
38
|
+
resizability: {
|
|
39
|
+
type: import("vue").PropType<"none" | "horizontal" | "vertical" | "both" | "auto">;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
43
|
+
onFocus?: (() => any) | undefined;
|
|
44
|
+
onBlur?: (() => any) | undefined;
|
|
45
|
+
"onUpdate:modelValue"?: ((modelValue: string | null | undefined) => any) | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
required: boolean;
|
|
48
|
+
errors: string[] | null;
|
|
49
|
+
resizability: "none" | "horizontal" | "vertical" | "both" | "auto";
|
|
50
|
+
}, {}>, Readonly<{
|
|
51
|
+
default(): any;
|
|
52
|
+
}> & {
|
|
53
|
+
default(): any;
|
|
54
|
+
}>;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as clUiInputTextArea } from './cl-ui-input-text-area.vue';
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { SelectItem } from './types';
|
|
2
|
+
declare const _default: <T extends string | number | boolean | SelectItem>(__VLS_props: {
|
|
3
|
+
disabled?: boolean | undefined;
|
|
4
|
+
required?: boolean | undefined;
|
|
5
|
+
errors?: string[] | null | undefined;
|
|
6
|
+
placeholder?: string | null | undefined;
|
|
7
|
+
modelValue: T | T[] | null | undefined;
|
|
8
|
+
canClear?: boolean | undefined;
|
|
9
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
10
|
+
attrs: any;
|
|
11
|
+
slots: Readonly<{
|
|
12
|
+
default(props: {
|
|
13
|
+
select: (value: T) => void;
|
|
14
|
+
}): any;
|
|
15
|
+
input(props: {
|
|
16
|
+
selectModalVisible: boolean;
|
|
17
|
+
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
18
|
+
}): any;
|
|
19
|
+
label(): any;
|
|
20
|
+
}> & {
|
|
21
|
+
default(props: {
|
|
22
|
+
select: (value: T) => void;
|
|
23
|
+
}): any;
|
|
24
|
+
input(props: {
|
|
25
|
+
selectModalVisible: boolean;
|
|
26
|
+
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
27
|
+
}): any;
|
|
28
|
+
label(): any;
|
|
29
|
+
};
|
|
30
|
+
emit: any;
|
|
31
|
+
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
32
|
+
props: {
|
|
33
|
+
disabled?: boolean | undefined;
|
|
34
|
+
required?: boolean | undefined;
|
|
35
|
+
errors?: string[] | null | undefined;
|
|
36
|
+
placeholder?: string | null | undefined;
|
|
37
|
+
modelValue: T | T[] | null | undefined;
|
|
38
|
+
canClear?: boolean | undefined;
|
|
39
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
40
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
41
|
+
attrs: any;
|
|
42
|
+
slots: Readonly<{
|
|
43
|
+
default(props: {
|
|
44
|
+
select: (value: T) => void;
|
|
45
|
+
}): any;
|
|
46
|
+
input(props: {
|
|
47
|
+
selectModalVisible: boolean;
|
|
48
|
+
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
49
|
+
}): any;
|
|
50
|
+
label(): any;
|
|
51
|
+
}> & {
|
|
52
|
+
default(props: {
|
|
53
|
+
select: (value: T) => void;
|
|
54
|
+
}): any;
|
|
55
|
+
input(props: {
|
|
56
|
+
selectModalVisible: boolean;
|
|
57
|
+
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
58
|
+
}): any;
|
|
59
|
+
label(): any;
|
|
60
|
+
};
|
|
61
|
+
emit: any;
|
|
62
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
}> & {
|
|
65
|
+
__ctx?: {
|
|
66
|
+
props: {
|
|
67
|
+
disabled?: boolean | undefined;
|
|
68
|
+
required?: boolean | undefined;
|
|
69
|
+
errors?: string[] | null | undefined;
|
|
70
|
+
placeholder?: string | null | undefined;
|
|
71
|
+
modelValue: T | T[] | null | undefined;
|
|
72
|
+
canClear?: boolean | undefined;
|
|
73
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
74
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
75
|
+
attrs: any;
|
|
76
|
+
slots: Readonly<{
|
|
77
|
+
default(props: {
|
|
78
|
+
select: (value: T) => void;
|
|
79
|
+
}): any;
|
|
80
|
+
input(props: {
|
|
81
|
+
selectModalVisible: boolean;
|
|
82
|
+
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
83
|
+
}): any;
|
|
84
|
+
label(): any;
|
|
85
|
+
}> & {
|
|
86
|
+
default(props: {
|
|
87
|
+
select: (value: T) => void;
|
|
88
|
+
}): any;
|
|
89
|
+
input(props: {
|
|
90
|
+
selectModalVisible: boolean;
|
|
91
|
+
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
92
|
+
}): any;
|
|
93
|
+
label(): any;
|
|
94
|
+
};
|
|
95
|
+
emit: any;
|
|
96
|
+
} | undefined;
|
|
97
|
+
};
|
|
98
|
+
export default _default;
|
|
99
|
+
type __VLS_OmitKeepDiscriminatedUnion<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T, K>> : never;
|
|
100
|
+
type __VLS_Prettify<T> = {
|
|
101
|
+
[K in keyof T]: T[K];
|
|
102
|
+
} & {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
toggleModal: () => void;
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onToggleModal?: (() => any) | undefined;
|
|
5
|
+
}, {}, {}>, Readonly<{
|
|
6
|
+
default(): any;
|
|
7
|
+
}> & {
|
|
8
|
+
default(): any;
|
|
9
|
+
}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
isSelected?: boolean | undefined;
|
|
3
|
+
disabled?: boolean | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
select: () => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
|
+
isSelected?: boolean | undefined;
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
isSelected: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
}>>> & {
|
|
16
|
+
onSelect?: (() => any) | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
isSelected: boolean;
|
|
20
|
+
}, {}>, Readonly<{
|
|
21
|
+
default: any;
|
|
22
|
+
}> & {
|
|
23
|
+
default: any;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToOption<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|