@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.
@@ -8,6 +8,7 @@ type __VLS_Props = {
8
8
  required: boolean;
9
9
  disabled?: boolean;
10
10
  rangeSelected?: boolean;
11
+ forceIconDisplay?: boolean;
11
12
  };
12
13
  /**
13
14
  * Focus the input element.
@@ -6,7 +6,11 @@ type __VLS_Props = {
6
6
  searchValue: string;
7
7
  rowIndex: number;
8
8
  };
9
- type __VLS_Slots = Record<string, () => any>;
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;
@@ -24,6 +24,7 @@ type __VLS_Slots = Record<string, (props: EditCellSlot & {
24
24
  editMode: boolean;
25
25
  }) => any;
26
26
  noData: () => any;
27
+ 'totals-area': () => any;
27
28
  };
28
29
  type __VLS_PublicProps = __VLS_Props & {
29
30
  'selectedRowIndex'?: number | undefined;
@@ -7,11 +7,20 @@ type __VLS_Props = {
7
7
  options: GridConfig;
8
8
  data?: FilterResponse<unknown> | null;
9
9
  };
10
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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;
@@ -2,6 +2,7 @@ import { type GridColumn, type FilterRequest } from '../types';
2
2
  type __VLS_Props = {
3
3
  columns: GridColumn[];
4
4
  request: FilterRequest;
5
+ loading: boolean;
5
6
  };
6
7
  type __VLS_Slots = {
7
8
  search: (props: {
@@ -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 & {