@citruslime/ui 4.0.2-beta.2 → 4.0.2-beta.20
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 +10258 -5697
- package/dist/citrus-lime-ui.umd.js +8 -2
- package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +1 -0
- package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +5 -1
- package/dist/components/grid/cl-ui-grid.vue.d.ts +1 -0
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +10 -1
- package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +2 -0
- package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +1 -0
- package/dist/components/grid/types.d.ts +4 -0
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +2 -0
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +2 -0
- package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +1 -4
- package/dist/ui.css +1 -1
- package/dist/utils/i18n/types.d.ts +8 -2
- package/package.json +6 -1
|
@@ -6,7 +6,11 @@ type __VLS_Props = {
|
|
|
6
6
|
searchValue: string;
|
|
7
7
|
rowIndex: number;
|
|
8
8
|
};
|
|
9
|
-
type __VLS_Slots =
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
[name: string]: {
|
|
11
|
+
formattedStringContent: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
10
14
|
declare const __VLS_component: 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>;
|
|
11
15
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
16
|
export default _default;
|
|
@@ -7,11 +7,20 @@ type __VLS_Props = {
|
|
|
7
7
|
options: GridConfig;
|
|
8
8
|
data?: FilterResponse<unknown> | null;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type __VLS_Slots = {
|
|
11
|
+
'totals-area'(): any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
14
|
"update:request": (args_0: FilterRequest<Record<string, unknown>>) => any;
|
|
12
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
16
|
"onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
|
|
14
17
|
}>, {
|
|
15
18
|
data: FilterResponse<unknown> | null;
|
|
16
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
21
|
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -15,10 +15,12 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
15
15
|
"update:filterPanelOpen": (args_0: boolean) => any;
|
|
16
16
|
"update:request": (args_0: FilterRequest<Record<string, unknown>>) => any;
|
|
17
17
|
"perform-data-request": () => any;
|
|
18
|
+
"change-column-width": (args_0: number, args_1: number) => any;
|
|
18
19
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
20
|
"onUpdate:filterPanelOpen"?: ((args_0: boolean) => any) | undefined;
|
|
20
21
|
"onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
|
|
21
22
|
"onPerform-data-request"?: (() => any) | undefined;
|
|
23
|
+
"onChange-column-width"?: ((args_0: number, args_1: number) => any) | undefined;
|
|
22
24
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
25
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
26
|
export default _default;
|
|
@@ -13,6 +13,7 @@ export interface GridConfig {
|
|
|
13
13
|
textSize: 'x-small' | 'small' | 'medium' | 'large';
|
|
14
14
|
hidePageSizeOptions: boolean;
|
|
15
15
|
groupByField: string;
|
|
16
|
+
allowColumnResizing: boolean;
|
|
16
17
|
}
|
|
17
18
|
export declare const gridColumnTypes: readonly ["string", "boolean", "number", "date", "datetime", "dateRange", "list", "slot"];
|
|
18
19
|
export type GridColumnType = typeof gridColumnTypes[number];
|
|
@@ -37,9 +38,11 @@ export interface GridColumn<T = Record<string, unknown>> {
|
|
|
37
38
|
sortable?: boolean;
|
|
38
39
|
editable?: boolean;
|
|
39
40
|
width?: number;
|
|
41
|
+
customWidth?: number;
|
|
40
42
|
searchable?: boolean;
|
|
41
43
|
precision?: number;
|
|
42
44
|
hideFromViewManager?: boolean;
|
|
45
|
+
allowColumnResizing?: boolean;
|
|
43
46
|
}
|
|
44
47
|
export interface FilterMethod {
|
|
45
48
|
method: FilterMethodType;
|
|
@@ -105,6 +108,7 @@ export type ColumnSlot = {
|
|
|
105
108
|
export type CellSlot = ColumnSlot & {
|
|
106
109
|
record: Record<string, InputValueType>;
|
|
107
110
|
searchValue?: string;
|
|
111
|
+
formattedStringContent?: string;
|
|
108
112
|
};
|
|
109
113
|
export type EditCellSlot = CellSlot & Partial<{
|
|
110
114
|
edited: boolean;
|
|
@@ -10,6 +10,7 @@ type __VLS_Props = {
|
|
|
10
10
|
required?: boolean;
|
|
11
11
|
quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[] | null;
|
|
12
12
|
popoverPlacement?: PopoverPlacement;
|
|
13
|
+
manualDateSelection?: boolean;
|
|
13
14
|
};
|
|
14
15
|
type __VLS_Slots = {
|
|
15
16
|
default: () => any;
|
|
@@ -32,6 +33,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
32
33
|
timeZone: string | null;
|
|
33
34
|
popoverPlacement: "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
34
35
|
quickDateScope: "past" | "future" | "none" | QuickDateName[] | null;
|
|
36
|
+
manualDateSelection: boolean;
|
|
35
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
38
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
37
39
|
export default _default;
|
|
@@ -12,6 +12,7 @@ type __VLS_Props = {
|
|
|
12
12
|
placeholder?: string | null;
|
|
13
13
|
popoverPlacement?: PopoverPlacement;
|
|
14
14
|
showPopover?: boolean;
|
|
15
|
+
forceIconDisplay?: boolean;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_Slots = {
|
|
17
18
|
default: () => any;
|
|
@@ -35,6 +36,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
35
36
|
disabled: boolean;
|
|
36
37
|
required: boolean;
|
|
37
38
|
placeholder: string | null;
|
|
39
|
+
forceIconDisplay: boolean;
|
|
38
40
|
minDate: string | null;
|
|
39
41
|
maxDate: string | null;
|
|
40
42
|
initialCalendarDate: string | null;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
isSelected: boolean;
|
|
3
|
-
orientation?: 'horizontal' | 'vertical';
|
|
4
3
|
};
|
|
5
4
|
type __VLS_Slots = {
|
|
6
5
|
default: () => any;
|
|
7
6
|
};
|
|
8
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
-
orientation: "horizontal" | "vertical";
|
|
10
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_component: 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>;
|
|
11
8
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
9
|
export default _default;
|
|
13
10
|
type __VLS_WithSlots<T, S> = T & {
|