@citruslime/ui 2.7.0-beta.2 → 3.0.0-beta.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.
Files changed (57) hide show
  1. package/README.md +3 -3
  2. package/dist/citrus-lime-ui.es.js +3590 -3507
  3. package/dist/citrus-lime-ui.umd.js +8 -8
  4. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +33 -13
  5. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +1 -1
  6. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +37 -25
  7. package/dist/components/app/cl-ui-app.vue.d.ts +34 -15
  8. package/dist/components/button/cl-ui-button.vue.d.ts +43 -38
  9. package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +30 -54
  10. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +73 -98
  11. package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +19 -22
  12. package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +20 -34
  13. package/dist/components/card/cl-ui-card.vue.d.ts +40 -24
  14. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +97 -146
  15. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +70 -95
  16. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +37 -30
  17. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +47 -50
  18. package/dist/components/currency/cl-ui-currency-input.vue.d.ts +51 -78
  19. package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +39 -38
  20. package/dist/components/footer/cl-ui-footer.vue.d.ts +1 -1
  21. package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +38 -59
  22. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +60 -83
  23. package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +20 -35
  24. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +37 -46
  25. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +40 -58
  26. package/dist/components/grid/cl-ui-grid.vue.d.ts +83 -88
  27. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +33 -30
  28. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +41 -61
  29. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +30 -65
  30. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +37 -46
  31. package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +10 -3
  32. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +19 -22
  33. package/dist/components/header/cl-ui-header.vue.d.ts +23 -14
  34. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +44 -45
  35. package/dist/components/header/menu/index.d.ts +1 -0
  36. package/dist/components/input/cl-ui-input.vue.d.ts +225 -333
  37. package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +60 -0
  38. package/dist/components/input-v2/input-checkbox/index.d.ts +1 -0
  39. package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +21 -21
  40. package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +29 -25
  41. package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +26 -22
  42. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +33 -28
  43. package/dist/components/loading-spinner/cl-ui-loading-spinner.vue.d.ts +1 -1
  44. package/dist/components/login/cl-ui-login.vue.d.ts +44 -28
  45. package/dist/components/modal/cl-ui-modal.vue.d.ts +54 -40
  46. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +39 -15
  47. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +19 -13
  48. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +30 -27
  49. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +1 -1
  50. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +1 -1
  51. package/dist/components/notification/cl-ui-notification.vue.d.ts +32 -20
  52. package/dist/components/slider/cl-ui-slider.vue.d.ts +19 -24
  53. package/dist/components/tab/cl-ui-tab.vue.d.ts +44 -23
  54. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +32 -20
  55. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +43 -44
  56. package/dist/style.css +1 -1
  57. package/package.json +12 -11
@@ -1,42 +1,27 @@
1
1
  import type { GridColumn } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- data: {
4
- type: import("vue").PropType<Record<string, unknown>>;
5
- required: true;
6
- };
7
- column: {
8
- type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
9
- required: true;
10
- };
11
- timeZone: {
12
- type: import("vue").PropType<string | null>;
13
- required: true;
14
- };
15
- searchValue: {
16
- type: import("vue").PropType<string>;
17
- required: true;
18
- };
19
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
- data: {
21
- type: import("vue").PropType<Record<string, unknown>>;
22
- required: true;
23
- };
24
- column: {
25
- type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
26
- required: true;
27
- };
28
- timeZone: {
29
- type: import("vue").PropType<string | null>;
30
- required: true;
31
- };
32
- searchValue: {
33
- type: import("vue").PropType<string>;
34
- required: true;
35
- };
36
- }>>, {}, {}>, Record<string, (props: {}) => any>>;
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ data: Record<string, unknown>;
4
+ column: GridColumn<Record<string, unknown>>;
5
+ timeZone: string | null;
6
+ searchValue: string;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
8
+ data: Record<string, unknown>;
9
+ column: GridColumn<Record<string, unknown>>;
10
+ timeZone: string | null;
11
+ searchValue: string;
12
+ }>>>, {}, {}>, Readonly<Record<string, () => any>> & Record<string, () => any>>;
37
13
  export default _default;
38
14
  type __VLS_WithTemplateSlots<T, S> = T & {
39
15
  new (): {
40
16
  $slots: S;
41
17
  };
42
18
  };
19
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
+ type __VLS_TypePropsToOption<T> = {
21
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
+ } : {
24
+ type: import('vue').PropType<T[K]>;
25
+ required: true;
26
+ };
27
+ };
@@ -1,61 +1,52 @@
1
1
  import type { InputValueType } from '../../input';
2
2
  import type { GridColumn, EditCellSlot } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- data: {
5
- type: import("vue").PropType<Record<string, InputValueType>>;
6
- required: true;
7
- };
8
- timeZone: {
9
- type: import("vue").PropType<string | null>;
10
- required: true;
11
- };
12
- column: {
13
- type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
14
- required: true;
15
- };
16
- editMode: {
17
- type: import("vue").PropType<boolean>;
18
- default: boolean;
19
- };
20
- searchValue: {
21
- type: import("vue").PropType<string>;
22
- required: true;
23
- };
24
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
- edit: (args_0: unknown) => void;
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
+ data: Record<string, InputValueType>;
5
+ column: GridColumn<Record<string, unknown>>;
6
+ timeZone: string | null;
7
+ searchValue: string;
8
+ editMode?: boolean | undefined;
9
+ }>, {
10
+ editMode: boolean;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
12
  focus: () => void;
13
+ edit: (args_0: unknown) => void;
27
14
  undo: () => void;
28
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
- data: {
30
- type: import("vue").PropType<Record<string, InputValueType>>;
31
- required: true;
32
- };
33
- timeZone: {
34
- type: import("vue").PropType<string | null>;
35
- required: true;
36
- };
37
- column: {
38
- type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
39
- required: true;
40
- };
41
- editMode: {
42
- type: import("vue").PropType<boolean>;
43
- default: boolean;
44
- };
45
- searchValue: {
46
- type: import("vue").PropType<string>;
47
- required: true;
48
- };
49
- }>> & {
15
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
16
+ data: Record<string, InputValueType>;
17
+ column: GridColumn<Record<string, unknown>>;
18
+ timeZone: string | null;
19
+ searchValue: string;
20
+ editMode?: boolean | undefined;
21
+ }>, {
22
+ editMode: boolean;
23
+ }>>> & {
50
24
  onFocus?: (() => any) | undefined;
51
25
  onEdit?: ((args_0: unknown) => any) | undefined;
52
26
  onUndo?: (() => any) | undefined;
53
27
  }, {
54
28
  editMode: boolean;
55
- }, {}>, Record<string, (props: EditCellSlot) => any>>;
29
+ }, {}>, Readonly<Record<string, (props: EditCellSlot) => any>> & Record<string, (props: EditCellSlot) => any>>;
56
30
  export default _default;
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ default: D[K];
34
+ }> : P[K];
35
+ };
36
+ type __VLS_Prettify<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
57
39
  type __VLS_WithTemplateSlots<T, S> = T & {
58
40
  new (): {
59
41
  $slots: S;
60
42
  };
61
43
  };
44
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ type __VLS_TypePropsToOption<T> = {
46
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
+ } : {
49
+ type: import('vue').PropType<T[K]>;
50
+ required: true;
51
+ };
52
+ };
@@ -1,70 +1,52 @@
1
1
  import type { InputValueType } from '../../input';
2
- import type { GridCellUpdateEvent, GridColumn } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- data: {
5
- type: import("vue").PropType<Record<string, InputValueType>>;
6
- required: true;
7
- };
8
- timeZone: {
9
- type: import("vue").PropType<string | null>;
10
- required: true;
11
- };
12
- columns: {
13
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
14
- required: true;
15
- };
16
- editMode: {
17
- type: import("vue").PropType<boolean>;
18
- default: boolean;
19
- };
20
- searchValue: {
21
- type: import("vue").PropType<string>;
22
- required: true;
23
- };
24
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
- 'cell-focus': () => void;
26
- 'cell-edit': (args_0: GridCellUpdateEvent) => void;
27
- 'cell-undo': (args_0: string | undefined) => void;
28
- 'row-select': (args_0: Record<string, unknown>) => void;
29
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
- data: {
31
- type: import("vue").PropType<Record<string, InputValueType>>;
32
- required: true;
33
- };
34
- timeZone: {
35
- type: import("vue").PropType<string | null>;
36
- required: true;
37
- };
38
- columns: {
39
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
40
- required: true;
41
- };
42
- editMode: {
43
- type: import("vue").PropType<boolean>;
44
- default: boolean;
45
- };
46
- searchValue: {
47
- type: import("vue").PropType<string>;
48
- required: true;
49
- };
50
- }>> & {
2
+ import type { EditCellSlot, GridCellUpdateEvent, GridColumn } from '../types';
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
+ data: Record<string, InputValueType>;
5
+ columns: GridColumn<Record<string, unknown>>[];
6
+ timeZone: string | null;
7
+ searchValue: string;
8
+ editMode?: boolean | undefined;
9
+ }>, {
10
+ editMode: boolean;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "cell-focus": () => void;
13
+ "cell-edit": (args_0: GridCellUpdateEvent) => void;
14
+ "cell-undo": (args_0: string | undefined) => void;
15
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
16
+ data: Record<string, InputValueType>;
17
+ columns: GridColumn<Record<string, unknown>>[];
18
+ timeZone: string | null;
19
+ searchValue: string;
20
+ editMode?: boolean | undefined;
21
+ }>, {
22
+ editMode: boolean;
23
+ }>>> & {
51
24
  "onCell-focus"?: (() => any) | undefined;
52
25
  "onCell-edit"?: ((args_0: GridCellUpdateEvent) => any) | undefined;
53
26
  "onCell-undo"?: ((args_0: string | undefined) => any) | undefined;
54
- "onRow-select"?: ((args_0: Record<string, unknown>) => any) | undefined;
55
27
  }, {
56
28
  editMode: boolean;
57
- }, {}>, Partial<Record<NonNullable<string | number>, (_: {
58
- column: GridColumn<Record<string, unknown>>;
59
- record: Record<string, InputValueType>;
60
- searchValue?: string | undefined;
61
- edited?: boolean | undefined;
62
- listEntries?: import("../..").ComboBoxItem[] | undefined;
63
- cellFocused?: (() => void) | undefined;
64
- }) => any>>>;
29
+ }, {}>, Readonly<Record<string, (props: EditCellSlot) => any>> & Record<string, (props: EditCellSlot) => any>>;
65
30
  export default _default;
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ default: D[K];
34
+ }> : P[K];
35
+ };
36
+ type __VLS_Prettify<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
66
39
  type __VLS_WithTemplateSlots<T, S> = T & {
67
40
  new (): {
68
41
  $slots: S;
69
42
  };
70
43
  };
44
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ type __VLS_TypePropsToOption<T> = {
46
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
+ } : {
49
+ type: import('vue').PropType<T[K]>;
50
+ required: true;
51
+ };
52
+ };
@@ -1,82 +1,47 @@
1
- import type { InputValueType } from '../input/types';
2
1
  import type { GridColumn, FilterRequest, FilterResponse, GridConfig, GridUpdateModel } from './types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- data: {
5
- type: import("vue").PropType<FilterResponse<unknown> | null>;
6
- default: null;
7
- };
8
- loading: {
9
- type: import("vue").PropType<boolean>;
10
- required: true;
11
- };
12
- timeZone: {
13
- type: import("vue").PropType<string | null>;
14
- default: null;
15
- };
16
- dateFormatLocale: {
17
- type: import("vue").PropType<string | null>;
18
- default: null;
19
- };
20
- columns: {
21
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
22
- required: true;
23
- };
24
- options: {
25
- type: import("vue").PropType<Partial<GridConfig>>;
26
- default: () => {};
27
- };
28
- request: {
29
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
30
- required: true;
31
- };
32
- headerDisplayTimezone: {
33
- type: import("vue").PropType<string | null>;
34
- default: null;
35
- };
36
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
- 'update:columns': (args_0: GridColumn<Record<string, unknown>>[]) => void;
38
- 'update:request': (args_0: FilterRequest<Record<string, unknown>>) => void;
39
- 'data-request': () => void;
40
- 'row-edit': (args_0: GridUpdateModel) => void;
41
- 'row-edit-cancelled': (args_0: GridUpdateModel) => void;
42
- 'edit-start': () => void;
43
- 'edit-end': () => void;
44
- 'row-select': () => void;
45
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
- data: {
47
- type: import("vue").PropType<FilterResponse<unknown> | null>;
48
- default: null;
49
- };
50
- loading: {
51
- type: import("vue").PropType<boolean>;
52
- required: true;
53
- };
54
- timeZone: {
55
- type: import("vue").PropType<string | null>;
56
- default: null;
57
- };
58
- dateFormatLocale: {
59
- type: import("vue").PropType<string | null>;
60
- default: null;
61
- };
62
- columns: {
63
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
64
- required: true;
65
- };
66
- options: {
67
- type: import("vue").PropType<Partial<GridConfig>>;
68
- default: () => {};
69
- };
70
- request: {
71
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
72
- required: true;
73
- };
74
- headerDisplayTimezone: {
75
- type: import("vue").PropType<string | null>;
76
- default: null;
77
- };
78
- }>> & {
79
- "onRow-select"?: (() => any) | undefined;
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ columns: GridColumn<Record<string, unknown>>[];
4
+ request: FilterRequest<Record<string, unknown>>;
5
+ loading: boolean;
6
+ data?: FilterResponse<unknown> | null | undefined;
7
+ options?: Partial<GridConfig> | undefined;
8
+ timeZone?: string | null | undefined;
9
+ headerDisplayTimezone?: string | null | undefined;
10
+ dateFormatLocale?: string | null | undefined;
11
+ }>, {
12
+ data: null;
13
+ options: () => {};
14
+ timeZone: null;
15
+ quickDateScope: null;
16
+ dateFormatLocale: null;
17
+ headerDisplayTimezone: null;
18
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "row-select": (args_0: Record<string, unknown>) => void;
20
+ "row-edit": (args_0: GridUpdateModel) => void;
21
+ "row-edit-cancelled": (args_0: GridUpdateModel) => void;
22
+ "update:request": (args_0: FilterRequest<Record<string, unknown>>) => void;
23
+ "update:columns": (args_0: GridColumn<Record<string, unknown>>[]) => void;
24
+ "data-request": () => void;
25
+ "edit-start": () => void;
26
+ "edit-end": () => void;
27
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
28
+ columns: GridColumn<Record<string, unknown>>[];
29
+ request: FilterRequest<Record<string, unknown>>;
30
+ loading: boolean;
31
+ data?: FilterResponse<unknown> | null | undefined;
32
+ options?: Partial<GridConfig> | undefined;
33
+ timeZone?: string | null | undefined;
34
+ headerDisplayTimezone?: string | null | undefined;
35
+ dateFormatLocale?: string | null | undefined;
36
+ }>, {
37
+ data: null;
38
+ options: () => {};
39
+ timeZone: null;
40
+ quickDateScope: null;
41
+ dateFormatLocale: null;
42
+ headerDisplayTimezone: null;
43
+ }>>> & {
44
+ "onRow-select"?: ((args_0: Record<string, unknown>) => any) | undefined;
80
45
  "onRow-edit"?: ((args_0: GridUpdateModel) => any) | undefined;
81
46
  "onRow-edit-cancelled"?: ((args_0: GridUpdateModel) => any) | undefined;
82
47
  "onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
@@ -90,27 +55,57 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
90
55
  dateFormatLocale: string | null;
91
56
  options: Partial<GridConfig>;
92
57
  headerDisplayTimezone: string | null;
93
- }, {}>, Partial<Record<NonNullable<string | number>, (_: {
58
+ }, {}>, Readonly<Record<string, (props: import("./types").CellSlot & Partial<{
59
+ edited: boolean;
60
+ listEntries: import("..").ComboBoxItem[];
61
+ cellFocused: () => void;
62
+ }> & {
94
63
  disabled: boolean;
95
- column: GridColumn<Record<string, unknown>>;
96
- record: Record<string, InputValueType>;
97
- searchValue?: string | undefined;
98
- edited?: boolean | undefined;
99
- listEntries?: import("..").ComboBoxItem[] | undefined;
100
- cellFocused?: (() => void) | undefined;
101
- }) => any>> & {
102
- search?(_: {
64
+ }) => any> & {
65
+ search: (props: {
103
66
  searchValue: string;
104
67
  performSearch: (value: string) => void;
68
+ }) => any;
69
+ 'additional-grid-actions'(props: {
70
+ loading: boolean;
71
+ editMode: boolean;
105
72
  }): any;
106
- "additional-grid-actions"?(_: {
73
+ }> & Record<string, (props: import("./types").CellSlot & Partial<{
74
+ edited: boolean;
75
+ listEntries: import("..").ComboBoxItem[];
76
+ cellFocused: () => void;
77
+ }> & {
78
+ disabled: boolean;
79
+ }) => any> & {
80
+ search: (props: {
81
+ searchValue: string;
82
+ performSearch: (value: string) => void;
83
+ }) => any;
84
+ 'additional-grid-actions'(props: {
107
85
  loading: boolean;
108
86
  editMode: boolean;
109
87
  }): any;
110
88
  }>;
111
89
  export default _default;
90
+ type __VLS_WithDefaults<P, D> = {
91
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
92
+ default: D[K];
93
+ }> : P[K];
94
+ };
95
+ type __VLS_Prettify<T> = {
96
+ [K in keyof T]: T[K];
97
+ } & {};
112
98
  type __VLS_WithTemplateSlots<T, S> = T & {
113
99
  new (): {
114
100
  $slots: S;
115
101
  };
116
102
  };
103
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
104
+ type __VLS_TypePropsToOption<T> = {
105
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
106
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
107
+ } : {
108
+ type: import('vue').PropType<T[K]>;
109
+ required: true;
110
+ };
111
+ };
@@ -1,35 +1,38 @@
1
1
  import type { FilterResponse, FilterRequest } from '../types';
2
- declare const _default: import("vue").DefineComponent<{
3
- data: {
4
- type: import("vue").PropType<FilterResponse<unknown> | null>;
5
- default: null;
6
- };
7
- loading: {
8
- type: import("vue").PropType<boolean>;
9
- required: true;
10
- };
11
- request: {
12
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
13
- required: true;
14
- };
15
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- 'update:request': null;
17
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- data: {
19
- type: import("vue").PropType<FilterResponse<unknown> | null>;
20
- default: null;
21
- };
22
- loading: {
23
- type: import("vue").PropType<boolean>;
24
- required: true;
25
- };
26
- request: {
27
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
28
- required: true;
29
- };
30
- }>> & {
31
- "onUpdate:request"?: ((...args: any[]) => any) | undefined;
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ request: FilterRequest;
4
+ loading: boolean;
5
+ data?: FilterResponse<unknown> | null | undefined;
6
+ }>, {
7
+ data: null;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:request": (args_0: FilterRequest<Record<string, unknown>>) => void;
10
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
11
+ request: FilterRequest;
12
+ loading: boolean;
13
+ data?: FilterResponse<unknown> | null | undefined;
14
+ }>, {
15
+ data: null;
16
+ }>>> & {
17
+ "onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
32
18
  }, {
33
19
  data: FilterResponse<unknown> | null;
34
20
  }, {}>;
35
21
  export default _default;
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
+ default: D[K];
25
+ }> : P[K];
26
+ };
27
+ type __VLS_Prettify<T> = {
28
+ [K in keyof T]: T[K];
29
+ } & {};
30
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
+ type __VLS_TypePropsToOption<T> = {
32
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
+ } : {
35
+ type: import('vue').PropType<T[K]>;
36
+ required: true;
37
+ };
38
+ };
@@ -1,67 +1,47 @@
1
+ import type { QuickDateName } from '../../calendar/quick-dates';
1
2
  import type { FilterArg, GridColumn } from '../types';
2
- declare const _default: import("vue").DefineComponent<{
3
- filter: {
4
- type: import("vue").PropType<FilterArg<Record<string, unknown>>[] | undefined>;
5
- required: true;
6
- };
7
- loading: {
8
- type: import("vue").PropType<boolean>;
9
- required: true;
10
- };
11
- timeZone: {
12
- type: import("vue").PropType<string | null>;
13
- required: true;
14
- };
15
- quickDateScope: {
16
- type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | "none" | null>;
17
- required: true;
18
- };
19
- column: {
20
- type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
21
- required: true;
22
- };
23
- firstHalf: {
24
- type: import("vue").PropType<boolean>;
25
- default: boolean;
26
- };
27
- headerDisplayTimezone: {
28
- type: import("vue").PropType<string | null>;
29
- required: true;
30
- };
31
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
- 'update:filter': (args_0: FilterArg<Record<string, unknown>>[] | undefined) => void;
33
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
- filter: {
35
- type: import("vue").PropType<FilterArg<Record<string, unknown>>[] | undefined>;
36
- required: true;
37
- };
38
- loading: {
39
- type: import("vue").PropType<boolean>;
40
- required: true;
41
- };
42
- timeZone: {
43
- type: import("vue").PropType<string | null>;
44
- required: true;
45
- };
46
- quickDateScope: {
47
- type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | "none" | null>;
48
- required: true;
49
- };
50
- column: {
51
- type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
52
- required: true;
53
- };
54
- firstHalf: {
55
- type: import("vue").PropType<boolean>;
56
- default: boolean;
57
- };
58
- headerDisplayTimezone: {
59
- type: import("vue").PropType<string | null>;
60
- required: true;
61
- };
62
- }>> & {
3
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
+ loading: boolean;
5
+ filter: FilterArg[] | undefined;
6
+ column: GridColumn;
7
+ timeZone: string | null;
8
+ quickDateScope: 'past' | 'future' | 'none' | QuickDateName[] | null;
9
+ firstHalf?: boolean | undefined;
10
+ headerDisplayTimezone: string | null;
11
+ }>, {
12
+ firstHalf: boolean;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:filter": (args_0: FilterArg<Record<string, unknown>>[] | undefined) => void;
15
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
16
+ loading: boolean;
17
+ filter: FilterArg[] | undefined;
18
+ column: GridColumn;
19
+ timeZone: string | null;
20
+ quickDateScope: 'past' | 'future' | 'none' | QuickDateName[] | null;
21
+ firstHalf?: boolean | undefined;
22
+ headerDisplayTimezone: string | null;
23
+ }>, {
24
+ firstHalf: boolean;
25
+ }>>> & {
63
26
  "onUpdate:filter"?: ((args_0: FilterArg<Record<string, unknown>>[] | undefined) => any) | undefined;
64
27
  }, {
65
28
  firstHalf: boolean;
66
29
  }, {}>;
67
30
  export default _default;
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ default: D[K];
34
+ }> : P[K];
35
+ };
36
+ type __VLS_Prettify<T> = {
37
+ [K in keyof T]: T[K];
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
+ };