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