@citruslime/ui 3.0.2-beta.8 → 3.0.2
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 +1896 -1855
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +2 -0
- package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +2 -0
- package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +2 -0
- package/dist/components/grid/types.d.ts +1 -0
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +2 -3
- package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +2 -2
- package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +8 -8
- package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +5 -0
- package/dist/components/toggle/cl-ui-radio.vue.d.ts +30 -0
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -4,11 +4,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
column: GridColumn<Record<string, unknown>>;
|
|
5
5
|
timeZone: string | null;
|
|
6
6
|
searchValue: string;
|
|
7
|
+
rowIndex: number;
|
|
7
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
9
|
data: Record<string, unknown>;
|
|
9
10
|
column: GridColumn<Record<string, unknown>>;
|
|
10
11
|
timeZone: string | null;
|
|
11
12
|
searchValue: string;
|
|
13
|
+
rowIndex: number;
|
|
12
14
|
}>>>, {}, {}>, Readonly<Record<string, () => any>> & Record<string, () => any>>;
|
|
13
15
|
export default _default;
|
|
14
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -7,6 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
searchValue: string;
|
|
8
8
|
editMode?: boolean | undefined;
|
|
9
9
|
options: Partial<GridConfig>;
|
|
10
|
+
rowIndex: number;
|
|
10
11
|
}>, {
|
|
11
12
|
editMode: boolean;
|
|
12
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -20,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
21
|
searchValue: string;
|
|
21
22
|
editMode?: boolean | undefined;
|
|
22
23
|
options: Partial<GridConfig>;
|
|
24
|
+
rowIndex: number;
|
|
23
25
|
}>, {
|
|
24
26
|
editMode: boolean;
|
|
25
27
|
}>>> & {
|
|
@@ -7,6 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
searchValue: string;
|
|
8
8
|
editMode?: boolean | undefined;
|
|
9
9
|
options: Partial<GridConfig>;
|
|
10
|
+
rowIndex: number;
|
|
10
11
|
}>, {
|
|
11
12
|
editMode: boolean;
|
|
12
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -20,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
21
|
searchValue: string;
|
|
21
22
|
editMode?: boolean | undefined;
|
|
22
23
|
options: Partial<GridConfig>;
|
|
24
|
+
rowIndex: number;
|
|
23
25
|
}>, {
|
|
24
26
|
editMode: boolean;
|
|
25
27
|
}>>> & {
|
|
@@ -10,6 +10,7 @@ export interface GridConfig {
|
|
|
10
10
|
hidePagination: boolean;
|
|
11
11
|
hideGridMobileView: boolean;
|
|
12
12
|
forceEditMode: boolean;
|
|
13
|
+
textSize: 'x-small' | 'small' | 'medium' | 'large';
|
|
13
14
|
}
|
|
14
15
|
export declare const gridColumnTypes: readonly ["string", "boolean", "number", "date", "datetime", "dateRange", "list", "slot"];
|
|
15
16
|
export type GridColumnType = typeof gridColumnTypes[number];
|
|
@@ -6,9 +6,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
6
6
|
options: Partial<GridLiteConfig>;
|
|
7
7
|
gridId: string;
|
|
8
8
|
data?: FilterResponse<Record<string, InputValueType>> | null | undefined;
|
|
9
|
-
loading?: boolean | undefined;
|
|
10
9
|
pageSize?: number | undefined;
|
|
11
10
|
timeZone?: string | null | undefined;
|
|
11
|
+
initialLoad: boolean;
|
|
12
12
|
}>, {
|
|
13
13
|
data: null;
|
|
14
14
|
loading: boolean;
|
|
@@ -19,9 +19,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
options: Partial<GridLiteConfig>;
|
|
20
20
|
gridId: string;
|
|
21
21
|
data?: FilterResponse<Record<string, InputValueType>> | null | undefined;
|
|
22
|
-
loading?: boolean | undefined;
|
|
23
22
|
pageSize?: number | undefined;
|
|
24
23
|
timeZone?: string | null | undefined;
|
|
24
|
+
initialLoad: boolean;
|
|
25
25
|
}>, {
|
|
26
26
|
data: null;
|
|
27
27
|
loading: boolean;
|
|
@@ -29,7 +29,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
29
|
timeZone: null;
|
|
30
30
|
}>>>, {
|
|
31
31
|
data: FilterResponse<Record<string, InputValueType>> | null;
|
|
32
|
-
loading: boolean;
|
|
33
32
|
pageSize: number;
|
|
34
33
|
timeZone: string | null;
|
|
35
34
|
}, {}>, Readonly<{
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
type: import("vue").PropType<FilterResponse<unknown> | null>;
|
|
10
10
|
default: null;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
initialLoad: {
|
|
13
13
|
type: import("vue").PropType<boolean>;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
type: import("vue").PropType<FilterResponse<unknown> | null>;
|
|
33
33
|
default: null;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
initialLoad: {
|
|
36
36
|
type: import("vue").PropType<boolean>;
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
@@ -8,10 +8,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
type: import("vue").PropType<GridLiteColumn<Record<string, unknown>>[]>;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
loading: {
|
|
12
|
-
type: import("vue").PropType<boolean>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
11
|
gridId: {
|
|
16
12
|
type: import("vue").PropType<string>;
|
|
17
13
|
required: true;
|
|
@@ -19,6 +15,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
15
|
isSmallGrid: {
|
|
20
16
|
type: import("vue").PropType<boolean>;
|
|
21
17
|
};
|
|
18
|
+
initialLoad: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
22
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
"update:request": (request: GridLiteRequest<Record<string, unknown>>) => void;
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -30,10 +30,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
type: import("vue").PropType<GridLiteColumn<Record<string, unknown>>[]>;
|
|
31
31
|
required: true;
|
|
32
32
|
};
|
|
33
|
-
loading: {
|
|
34
|
-
type: import("vue").PropType<boolean>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
33
|
gridId: {
|
|
38
34
|
type: import("vue").PropType<string>;
|
|
39
35
|
required: true;
|
|
@@ -41,6 +37,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
37
|
isSmallGrid: {
|
|
42
38
|
type: import("vue").PropType<boolean>;
|
|
43
39
|
};
|
|
40
|
+
initialLoad: {
|
|
41
|
+
type: import("vue").PropType<boolean>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
44
|
}>> & {
|
|
45
45
|
"onUpdate:request"?: ((request: GridLiteRequest<Record<string, unknown>>) => any) | undefined;
|
|
46
46
|
}, {}, {}>;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
showRequiredAsterisk: boolean;
|
|
3
3
|
errors?: string[] | null | undefined;
|
|
4
|
+
labelPosition?: "above" | "right" | undefined;
|
|
4
5
|
}>, {
|
|
5
6
|
errors: null;
|
|
7
|
+
labelPosition: string;
|
|
6
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
7
9
|
showRequiredAsterisk: boolean;
|
|
8
10
|
errors?: string[] | null | undefined;
|
|
11
|
+
labelPosition?: "above" | "right" | undefined;
|
|
9
12
|
}>, {
|
|
10
13
|
errors: null;
|
|
14
|
+
labelPosition: string;
|
|
11
15
|
}>>>, {
|
|
12
16
|
errors: string[] | null;
|
|
17
|
+
labelPosition: "above" | "right";
|
|
13
18
|
}, {}>, Readonly<{
|
|
14
19
|
default(): any;
|
|
15
20
|
label(): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
id: string;
|
|
3
|
+
isSelected: boolean;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
click: () => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
|
+
id: string;
|
|
8
|
+
isSelected: boolean;
|
|
9
|
+
}>>> & {
|
|
10
|
+
onClick?: (() => any) | undefined;
|
|
11
|
+
}, {}, {}>, Readonly<{
|
|
12
|
+
default: () => any;
|
|
13
|
+
}> & {
|
|
14
|
+
default: () => any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToOption<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|