@citruslime/ui 4.0.0-beta.24 → 4.0.0-beta.26

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 (84) hide show
  1. package/dist/citrus-lime-ui.es.js +1288 -1289
  2. package/dist/citrus-lime-ui.umd.js +2 -2
  3. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +13 -38
  4. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +8 -3
  5. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +13 -37
  6. package/dist/components/app/cl-ui-app.vue.d.ts +10 -34
  7. package/dist/components/button/cl-ui-button.vue.d.ts +17 -47
  8. package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +15 -31
  9. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +18 -68
  10. package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +6 -17
  11. package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +6 -17
  12. package/dist/components/card/cl-ui-card.vue.d.ts +13 -40
  13. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +27 -93
  14. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +18 -63
  15. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +9 -37
  16. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +12 -44
  17. package/dist/components/currency/cl-ui-currency-input.vue.d.ts +13 -49
  18. package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +17 -47
  19. package/dist/components/footer/cl-ui-footer.vue.d.ts +12 -5
  20. package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +17 -38
  21. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +29 -92
  22. package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +7 -19
  23. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +13 -39
  24. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +13 -39
  25. package/dist/components/grid/cl-ui-grid.vue.d.ts +46 -128
  26. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +7 -34
  27. package/dist/components/grid/header/cl-ui-grid-filter-input.vue.d.ts +7 -23
  28. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +14 -29
  29. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +13 -29
  30. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +7 -20
  31. package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +21 -43
  32. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +7 -18
  33. package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +3 -14
  34. package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +14 -49
  35. package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +7 -18
  36. package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +7 -19
  37. package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +21 -66
  38. package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +14 -47
  39. package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +14 -45
  40. package/dist/components/header/cl-ui-header.vue.d.ts +12 -24
  41. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +15 -46
  42. package/dist/components/input/cl-ui-input.vue.d.ts +49 -487
  43. package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +24 -58
  44. package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +9 -15
  45. package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +28 -96
  46. package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +31 -112
  47. package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +12 -40
  48. package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +34 -139
  49. package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +23 -78
  50. package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +29 -83
  51. package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +22 -49
  52. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +8 -34
  53. package/dist/components/login/cl-ui-login.vue.d.ts +16 -43
  54. package/dist/components/menu/cl-ui-menu.vue.d.ts +26 -199
  55. package/dist/components/menu/group/cl-ui-menu-group.vue.d.ts +11 -24
  56. package/dist/components/menu/icon/cl-ui-menu-icon.vue.d.ts +3 -13
  57. package/dist/components/menu/item/cl-ui-menu-item.vue.d.ts +5 -5
  58. package/dist/components/menu/section/cl-ui-menu-section.vue.d.ts +7 -42
  59. package/dist/components/modal/cl-ui-modal.vue.d.ts +31 -66
  60. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +22 -50
  61. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +7 -18
  62. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +5 -29
  63. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +8 -3
  64. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -4
  65. package/dist/components/notification/cl-ui-notification.vue.d.ts +7 -35
  66. package/dist/components/select/cl-ui-select.vue.d.ts +19 -153
  67. package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +10 -12
  68. package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +14 -42
  69. package/dist/components/skeleton-loaders/cl-ui-skeleton-text.vue.d.ts +11 -36
  70. package/dist/components/slider/cl-ui-slider.vue.d.ts +14 -54
  71. package/dist/components/tab/cl-ui-tab.vue.d.ts +26 -64
  72. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +10 -34
  73. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +16 -47
  74. package/dist/components/toggle/cl-ui-radio-group.vue.d.ts +10 -22
  75. package/dist/components/toggle/cl-ui-radio.vue.d.ts +13 -39
  76. package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +10 -33
  77. package/dist/components/toggle/cl-ui-toggle.vue.d.ts +22 -45
  78. package/dist/components/tree-list/cl-ui-tree-list-subtree.vue.d.ts +20 -58
  79. package/dist/components/tree-list/cl-ui-tree-list-tree-path.vue.d.ts +3 -13
  80. package/dist/components/tree-list/cl-ui-tree-list.vue.d.ts +12 -40
  81. package/dist/ui.css +1 -0
  82. package/dist/utils/injectionKeys.d.ts +1 -1
  83. package/package.json +10 -6
  84. package/dist/style.css +0 -1
@@ -1,104 +1,41 @@
1
1
  import type { InputValueType } from '../../input/types';
2
2
  import type { EditCellSlot, FilterRequest, FilterResponse, GridColumn, GridConfig, GridUpdateModel } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- selectedRowIndex: import("vue").PropType<number | undefined>;
5
- data: {
6
- type: import("vue").PropType<FilterResponse<Record<string, InputValueType>> | null>;
7
- required: true;
8
- };
9
- loading: {
10
- type: import("vue").PropType<boolean>;
11
- required: true;
12
- };
13
- timeZone: {
14
- type: import("vue").PropType<string | null>;
15
- required: true;
16
- };
17
- columns: {
18
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
19
- required: true;
20
- };
21
- options: {
22
- type: import("vue").PropType<Partial<GridConfig>>;
23
- required: true;
24
- };
25
- editMode: {
26
- type: import("vue").PropType<boolean>;
27
- default: boolean;
28
- };
29
- initialLoad: {
30
- type: import("vue").PropType<boolean>;
31
- required: true;
32
- };
33
- request: {
34
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
35
- required: true;
36
- };
37
- searchValue: {
38
- type: import("vue").PropType<string>;
39
- required: true;
40
- };
41
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
- "update:selectedRowIndex": (selectedRowIndex: number | undefined) => void;
43
- "clear-filters": () => void;
44
- "row-select": (args_0: Record<string, unknown>) => void;
45
- "row-edit": (args_0: GridUpdateModel) => void;
46
- "row-edit-cancelled": (args_0: GridUpdateModel) => void;
47
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
48
- selectedRowIndex: import("vue").PropType<number | undefined>;
49
- data: {
50
- type: import("vue").PropType<FilterResponse<Record<string, InputValueType>> | null>;
51
- required: true;
52
- };
53
- loading: {
54
- type: import("vue").PropType<boolean>;
55
- required: true;
56
- };
57
- timeZone: {
58
- type: import("vue").PropType<string | null>;
59
- required: true;
60
- };
61
- columns: {
62
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
63
- required: true;
64
- };
65
- options: {
66
- type: import("vue").PropType<Partial<GridConfig>>;
67
- required: true;
68
- };
69
- editMode: {
70
- type: import("vue").PropType<boolean>;
71
- default: boolean;
72
- };
73
- initialLoad: {
74
- type: import("vue").PropType<boolean>;
75
- required: true;
76
- };
77
- request: {
78
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
79
- required: true;
80
- };
81
- searchValue: {
82
- type: import("vue").PropType<string>;
83
- required: true;
84
- };
85
- }>> & Readonly<{
3
+ type __VLS_Props = {
4
+ columns: GridColumn[];
5
+ request: FilterRequest;
6
+ data: FilterResponse<Record<string, InputValueType>> | null;
7
+ timeZone: string | null;
8
+ loading: boolean;
9
+ initialLoad: boolean;
10
+ options: Partial<GridConfig>;
11
+ searchValue: string;
12
+ editMode?: boolean;
13
+ };
14
+ type __VLS_Slots = {
15
+ [key: string]: (props: EditCellSlot) => any;
16
+ noData: () => any;
17
+ };
18
+ type __VLS_PublicProps = __VLS_Props & {
19
+ 'selectedRowIndex'?: number | undefined;
20
+ };
21
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "clear-filters": () => any;
23
+ "row-select": (args_0: Record<string, unknown>) => any;
24
+ "row-edit": (args_0: GridUpdateModel) => any;
25
+ "row-edit-cancelled": (args_0: GridUpdateModel) => any;
26
+ "update:selectedRowIndex": (value: number | undefined) => any;
27
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
86
28
  "onClear-filters"?: (() => any) | undefined;
87
29
  "onRow-select"?: ((args_0: Record<string, unknown>) => any) | undefined;
88
30
  "onRow-edit"?: ((args_0: GridUpdateModel) => any) | undefined;
89
31
  "onRow-edit-cancelled"?: ((args_0: GridUpdateModel) => any) | undefined;
90
- "onUpdate:selectedRowIndex"?: ((selectedRowIndex: number | undefined) => any) | undefined;
32
+ "onUpdate:selectedRowIndex"?: ((value: number | undefined) => any) | undefined;
91
33
  }>, {
92
34
  editMode: boolean;
93
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
94
- [key: string]: (props: EditCellSlot) => any;
95
- noData: () => any;
96
- }> & {
97
- [key: string]: (props: EditCellSlot) => any;
98
- noData: () => any;
99
- }>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
100
37
  export default _default;
101
- type __VLS_WithTemplateSlots<T, S> = T & {
38
+ type __VLS_WithSlots<T, S> = T & {
102
39
  new (): {
103
40
  $slots: S;
104
41
  };
@@ -1,29 +1,17 @@
1
1
  import type { GridColumn } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
2
+ type __VLS_Props = {
3
3
  data: Record<string, unknown>;
4
- column: GridColumn<Record<string, unknown>>;
4
+ column: GridColumn;
5
5
  timeZone: string | null;
6
6
  searchValue: string;
7
7
  rowIndex: number;
8
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
- data: Record<string, unknown>;
10
- column: GridColumn<Record<string, unknown>>;
11
- timeZone: string | null;
12
- searchValue: string;
13
- rowIndex: number;
14
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, () => any>> & Record<string, () => any>>;
8
+ };
9
+ type __VLS_Slots = Record<string, () => any>;
10
+ 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
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
15
12
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
13
+ type __VLS_WithSlots<T, S> = T & {
17
14
  new (): {
18
15
  $slots: S;
19
16
  };
20
17
  };
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -1,56 +1,30 @@
1
1
  import type { InputValueType } from '../../input';
2
2
  import type { GridColumn, EditCellSlot, GridConfig } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ type __VLS_Props = {
4
4
  data: Record<string, InputValueType>;
5
- column: GridColumn<Record<string, unknown>>;
5
+ column: GridColumn;
6
6
  timeZone: string | null;
7
7
  searchValue: string;
8
- editMode?: boolean | undefined;
8
+ editMode?: boolean;
9
9
  options: Partial<GridConfig>;
10
10
  rowIndex: number;
11
- }>, {
12
- editMode: boolean;
13
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- focus: () => void;
15
- edit: (args_0: unknown) => void;
16
- undo: () => void;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
18
- data: Record<string, InputValueType>;
19
- column: GridColumn<Record<string, unknown>>;
20
- timeZone: string | null;
21
- searchValue: string;
22
- editMode?: boolean | undefined;
23
- options: Partial<GridConfig>;
24
- rowIndex: number;
25
- }>, {
26
- editMode: boolean;
27
- }>>> & Readonly<{
11
+ };
12
+ type __VLS_Slots = Record<string, (props: EditCellSlot) => any>;
13
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ focus: () => any;
15
+ edit: (args_0: unknown) => any;
16
+ undo: () => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
28
18
  onFocus?: (() => any) | undefined;
29
19
  onEdit?: ((args_0: unknown) => any) | undefined;
30
20
  onUndo?: (() => any) | undefined;
31
21
  }>, {
32
22
  editMode: boolean;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: EditCellSlot) => any>> & Record<string, (props: EditCellSlot) => any>>;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
34
25
  export default _default;
35
- type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
- default: D[K];
38
- }> : P[K];
39
- };
40
- type __VLS_Prettify<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
- type __VLS_WithTemplateSlots<T, S> = T & {
26
+ type __VLS_WithSlots<T, S> = T & {
44
27
  new (): {
45
28
  $slots: S;
46
29
  };
47
30
  };
48
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
- type __VLS_TypePropsToOption<T> = {
50
- [K in keyof T]-?: {} extends Pick<T, K> ? {
51
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
- } : {
53
- type: import('vue').PropType<T[K]>;
54
- required: true;
55
- };
56
- };
@@ -1,56 +1,30 @@
1
1
  import type { InputValueType } from '../../input';
2
2
  import type { EditCellSlot, GridCellUpdateEvent, GridColumn, GridConfig } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ type __VLS_Props = {
4
4
  data: Record<string, InputValueType>;
5
- columns: GridColumn<Record<string, unknown>>[];
5
+ columns: GridColumn[];
6
6
  timeZone: string | null;
7
7
  searchValue: string;
8
- editMode?: boolean | undefined;
8
+ editMode?: boolean;
9
9
  options: Partial<GridConfig>;
10
10
  rowIndex: number;
11
- }>, {
12
- editMode: boolean;
13
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- "cell-focus": () => void;
15
- "cell-edit": (args_0: GridCellUpdateEvent) => void;
16
- "cell-undo": (args_0: string | undefined) => void;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
18
- data: Record<string, InputValueType>;
19
- columns: GridColumn<Record<string, unknown>>[];
20
- timeZone: string | null;
21
- searchValue: string;
22
- editMode?: boolean | undefined;
23
- options: Partial<GridConfig>;
24
- rowIndex: number;
25
- }>, {
26
- editMode: boolean;
27
- }>>> & Readonly<{
11
+ };
12
+ type __VLS_Slots = Record<string, (props: EditCellSlot) => any>;
13
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "cell-focus": () => any;
15
+ "cell-edit": (args_0: GridCellUpdateEvent) => any;
16
+ "cell-undo": (args_0: string | undefined) => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
28
18
  "onCell-focus"?: (() => any) | undefined;
29
19
  "onCell-edit"?: ((args_0: GridCellUpdateEvent) => any) | undefined;
30
20
  "onCell-undo"?: ((args_0: string | undefined) => any) | undefined;
31
21
  }>, {
32
22
  editMode: boolean;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: EditCellSlot) => any>> & Record<string, (props: EditCellSlot) => any>>;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
34
25
  export default _default;
35
- type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
- default: D[K];
38
- }> : P[K];
39
- };
40
- type __VLS_Prettify<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
- type __VLS_WithTemplateSlots<T, S> = T & {
26
+ type __VLS_WithSlots<T, S> = T & {
44
27
  new (): {
45
28
  $slots: S;
46
29
  };
47
30
  };
48
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
- type __VLS_TypePropsToOption<T> = {
50
- [K in keyof T]-?: {} extends Pick<T, K> ? {
51
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
- } : {
53
- type: import('vue').PropType<T[K]>;
54
- required: true;
55
- };
56
- };
@@ -1,92 +1,51 @@
1
- import type { InputValueType } from '../input/types';
2
- import type { GridColumn, FilterRequest, FilterResponse, GridConfig, GridUpdateModel, ColumnSlot } from './types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- selectedRowIndex: import("vue").PropType<number | undefined>;
5
- data: {
6
- type: import("vue").PropType<FilterResponse<unknown> | null>;
7
- default: null;
8
- };
9
- loading: {
10
- type: import("vue").PropType<boolean>;
11
- required: true;
12
- };
13
- dateFormatLocale: {
14
- type: import("vue").PropType<string | null>;
15
- default: null;
16
- };
17
- timeZone: {
18
- type: import("vue").PropType<string | null>;
19
- default: null;
20
- };
21
- columns: {
22
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
23
- required: true;
24
- };
25
- options: {
26
- type: import("vue").PropType<Partial<GridConfig>>;
27
- default: () => {};
28
- };
29
- request: {
30
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
31
- required: true;
32
- };
33
- headerDisplayTimezone: {
34
- type: import("vue").PropType<string | null>;
35
- default: null;
36
- };
37
- }>, {
1
+ import type { GridColumn, FilterRequest, FilterResponse, GridConfig, GridUpdateModel, EditCellSlot, ColumnSlot } from './types';
2
+ type __VLS_Props = {
3
+ columns: GridColumn[];
4
+ request: FilterRequest;
5
+ loading: boolean;
6
+ data?: FilterResponse<unknown> | null;
7
+ options?: Partial<GridConfig>;
8
+ timeZone?: string | null;
9
+ headerDisplayTimezone?: string | null;
10
+ dateFormatLocale?: string | null;
11
+ };
12
+ type __VLS_Slots = Record<string, (props: EditCellSlot & {
13
+ disabled: boolean;
14
+ }) => any> & Record<`${string}BulkEdit`, (props: ColumnSlot & {
15
+ disabled: boolean;
16
+ }) => any> & {
17
+ search: (props: {
18
+ searchValue: string;
19
+ performSearch: (value: string) => void;
20
+ }) => any;
21
+ 'additional-grid-actions': (props: {
22
+ loading: boolean;
23
+ editMode: boolean;
24
+ }) => any;
25
+ noData: () => any;
26
+ };
27
+ type __VLS_PublicProps = __VLS_Props & {
28
+ 'selectedRowIndex'?: number | undefined;
29
+ };
30
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
38
31
  focusMegaSearch: () => any;
39
32
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
- "update:selectedRowIndex": (selectedRowIndex: number | undefined) => void;
41
- "row-select": (args_0: Record<string, unknown>) => void;
42
- "row-edit": (args_0: GridUpdateModel) => void;
43
- "row-edit-cancelled": (args_0: GridUpdateModel) => void;
44
- "update:request": (args_0: FilterRequest<Record<string, unknown>>) => void;
45
- "update:columns": (args_0: GridColumn<Record<string, unknown>>[]) => void;
46
- "view-manager-visible": (args_0: boolean) => void;
47
- "data-request": () => void;
48
- "edit-start": () => void;
49
- "edit-end": () => void;
50
- "clear-filters-clicked": () => void;
51
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
52
- selectedRowIndex: import("vue").PropType<number | undefined>;
53
- data: {
54
- type: import("vue").PropType<FilterResponse<unknown> | null>;
55
- default: null;
56
- };
57
- loading: {
58
- type: import("vue").PropType<boolean>;
59
- required: true;
60
- };
61
- dateFormatLocale: {
62
- type: import("vue").PropType<string | null>;
63
- default: null;
64
- };
65
- timeZone: {
66
- type: import("vue").PropType<string | null>;
67
- default: null;
68
- };
69
- columns: {
70
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
71
- required: true;
72
- };
73
- options: {
74
- type: import("vue").PropType<Partial<GridConfig>>;
75
- default: () => {};
76
- };
77
- request: {
78
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
79
- required: true;
80
- };
81
- headerDisplayTimezone: {
82
- type: import("vue").PropType<string | null>;
83
- default: null;
84
- };
85
- }>> & Readonly<{
33
+ "row-select": (args_0: Record<string, unknown>) => any;
34
+ "row-edit": (args_0: GridUpdateModel) => any;
35
+ "row-edit-cancelled": (args_0: GridUpdateModel) => any;
36
+ "update:selectedRowIndex": (value: number | undefined) => any;
37
+ "update:request": (args_0: FilterRequest<Record<string, unknown>>) => any;
38
+ "update:columns": (args_0: GridColumn<Record<string, unknown>>[]) => any;
39
+ "view-manager-visible": (args_0: boolean) => any;
40
+ "data-request": () => any;
41
+ "edit-start": () => any;
42
+ "edit-end": () => any;
43
+ "clear-filters-clicked": () => any;
44
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
86
45
  "onRow-select"?: ((args_0: Record<string, unknown>) => any) | undefined;
87
46
  "onRow-edit"?: ((args_0: GridUpdateModel) => any) | undefined;
88
47
  "onRow-edit-cancelled"?: ((args_0: GridUpdateModel) => any) | undefined;
89
- "onUpdate:selectedRowIndex"?: ((selectedRowIndex: number | undefined) => any) | undefined;
48
+ "onUpdate:selectedRowIndex"?: ((value: number | undefined) => any) | undefined;
90
49
  "onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
91
50
  "onUpdate:columns"?: ((args_0: GridColumn<Record<string, unknown>>[]) => any) | undefined;
92
51
  "onView-manager-visible"?: ((args_0: boolean) => any) | undefined;
@@ -100,51 +59,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
100
59
  timeZone: string | null;
101
60
  options: Partial<GridConfig>;
102
61
  headerDisplayTimezone: string | null;
103
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: ColumnSlot & {
104
- record: Record<string, InputValueType>;
105
- searchValue?: string | undefined;
106
- } & Partial<{
107
- edited: boolean;
108
- listEntries: import("..").ComboBoxItem[];
109
- cellFocused: () => void;
110
- }> & {
111
- disabled: boolean;
112
- }) => any> & Record<`${string}BulkEdit`, (props: ColumnSlot & {
113
- disabled: boolean;
114
- }) => any> & {
115
- search: (props: {
116
- searchValue: string;
117
- performSearch: (value: string) => void;
118
- }) => any;
119
- 'additional-grid-actions': (props: {
120
- loading: boolean;
121
- editMode: boolean;
122
- }) => any;
123
- noData: () => any;
124
- }> & Record<string, (props: ColumnSlot & {
125
- record: Record<string, InputValueType>;
126
- searchValue?: string | undefined;
127
- } & Partial<{
128
- edited: boolean;
129
- listEntries: import("..").ComboBoxItem[];
130
- cellFocused: () => void;
131
- }> & {
132
- disabled: boolean;
133
- }) => any> & Record<`${string}BulkEdit`, (props: ColumnSlot & {
134
- disabled: boolean;
135
- }) => any> & {
136
- search: (props: {
137
- searchValue: string;
138
- performSearch: (value: string) => void;
139
- }) => any;
140
- 'additional-grid-actions': (props: {
141
- loading: boolean;
142
- editMode: boolean;
143
- }) => any;
144
- noData: () => any;
145
- }>;
62
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
63
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
146
64
  export default _default;
147
- type __VLS_WithTemplateSlots<T, S> = T & {
65
+ type __VLS_WithSlots<T, S> = T & {
148
66
  new (): {
149
67
  $slots: S;
150
68
  };
@@ -1,44 +1,17 @@
1
1
  import type { FilterResponse, FilterRequest, GridConfig } from '../types';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ type __VLS_Props = {
3
3
  request: FilterRequest;
4
4
  loading: boolean;
5
5
  initialLoad: boolean;
6
6
  showUnsavedChangesWarning: boolean;
7
7
  options: GridConfig;
8
- data?: FilterResponse<unknown> | null | undefined;
9
- }>, {
10
- data: null;
11
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- "update:request": (args_0: FilterRequest<Record<string, unknown>>) => void;
13
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
14
- request: FilterRequest;
15
- loading: boolean;
16
- initialLoad: boolean;
17
- showUnsavedChangesWarning: boolean;
18
- options: GridConfig;
19
- data?: FilterResponse<unknown> | null | undefined;
20
- }>, {
21
- data: null;
22
- }>>> & Readonly<{
8
+ data?: FilterResponse<unknown> | null;
9
+ };
10
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:request": (args_0: FilterRequest<Record<string, unknown>>) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
23
13
  "onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
24
14
  }>, {
25
15
  data: FilterResponse<unknown> | null;
26
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
17
  export default _default;
28
- type __VLS_WithDefaults<P, D> = {
29
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
- default: D[K];
31
- }> : P[K];
32
- };
33
- type __VLS_Prettify<T> = {
34
- [K in keyof T]: T[K];
35
- } & {};
36
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
- type __VLS_TypePropsToOption<T> = {
38
- [K in keyof T]-?: {} extends Pick<T, K> ? {
39
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
- } : {
41
- type: import('vue').PropType<T[K]>;
42
- required: true;
43
- };
44
- };
@@ -1,6 +1,6 @@
1
1
  import type { QuickDateName } from '../../calendar/quick-dates';
2
2
  import type { FilterArg, GridColumn, GridConfig } from '../types';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
3
+ type __VLS_Props = {
4
4
  loading: boolean;
5
5
  filter: FilterArg[] | undefined;
6
6
  column: GridColumn;
@@ -8,28 +8,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
8
8
  quickDateScope: 'past' | 'future' | 'none' | QuickDateName[] | null;
9
9
  headerDisplayTimezone: string | null;
10
10
  options: Partial<GridConfig>;
11
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- "update:filter": (args_0: FilterArg<Record<string, unknown>>[] | undefined) => void;
13
- "perform-data-request": () => void;
14
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
15
- loading: boolean;
16
- filter: FilterArg[] | undefined;
17
- column: GridColumn;
18
- timeZone: string | null;
19
- quickDateScope: 'past' | 'future' | 'none' | QuickDateName[] | null;
20
- headerDisplayTimezone: string | null;
21
- options: Partial<GridConfig>;
22
- }>>> & Readonly<{
11
+ };
12
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:filter": (args_0: FilterArg<Record<string, unknown>>[] | undefined) => any;
14
+ "perform-data-request": () => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
23
16
  "onUpdate:filter"?: ((args_0: FilterArg<Record<string, unknown>>[] | undefined) => any) | undefined;
24
17
  "onPerform-data-request"?: (() => any) | undefined;
25
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
19
  export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToOption<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
34
- };
35
- };