@citruslime/ui 4.0.0-beta.9 → 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 +4022 -3896
  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,7 +1,7 @@
1
1
  import type { FilterRequest, GridColumn, GridConfig, ColumnSlot } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
3
- request: FilterRequest<Record<string, unknown>>;
4
- columns: GridColumn<Record<string, unknown>>[];
2
+ type __VLS_Props = {
3
+ request: FilterRequest;
4
+ columns: GridColumn[];
5
5
  loading: boolean;
6
6
  initialLoad: boolean;
7
7
  bulkEditMode: boolean;
@@ -9,37 +9,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
9
9
  timeZone: string | null;
10
10
  headerDisplayTimezone: string | null;
11
11
  options: Partial<GridConfig>;
12
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- "update:filterPanelOpen": (args_0: boolean) => void;
14
- "update:request": (args_0: FilterRequest<Record<string, unknown>>) => void;
15
- "perform-data-request": () => void;
16
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
17
- request: FilterRequest<Record<string, unknown>>;
18
- columns: GridColumn<Record<string, unknown>>[];
19
- loading: boolean;
20
- initialLoad: boolean;
21
- bulkEditMode: boolean;
22
- filterPanelOpen: boolean;
23
- timeZone: string | null;
24
- headerDisplayTimezone: string | null;
25
- options: Partial<GridConfig>;
26
- }>>> & Readonly<{
12
+ };
13
+ type __VLS_Slots = Record<`${string}BulkEdit`, (props: ColumnSlot) => any>;
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:filterPanelOpen": (args_0: boolean) => any;
16
+ "update:request": (args_0: FilterRequest<Record<string, unknown>>) => any;
17
+ "perform-data-request": () => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
19
  "onUpdate:filterPanelOpen"?: ((args_0: boolean) => any) | undefined;
28
20
  "onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
29
21
  "onPerform-data-request"?: (() => any) | undefined;
30
- }>, {}, {}, {}, {}, 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>;
31
24
  export default _default;
32
- type __VLS_WithTemplateSlots<T, S> = T & {
25
+ type __VLS_WithSlots<T, S> = T & {
33
26
  new (): {
34
27
  $slots: S;
35
28
  };
36
29
  };
37
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
- type __VLS_TypePropsToOption<T> = {
39
- [K in keyof T]-?: {} extends Pick<T, K> ? {
40
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
41
- } : {
42
- type: import('vue').PropType<T[K]>;
43
- required: true;
44
- };
45
- };
@@ -1,28 +1,16 @@
1
1
  import { type FilterArg, FilterOperation, type GridColumn } from '../types';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
2
+ type __VLS_Props = {
3
3
  filter: FilterArg | undefined;
4
4
  column: GridColumn;
5
5
  defaultOperation: FilterOperation;
6
6
  loading: boolean;
7
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "selection-changed": () => void;
9
- "update:filter": (args_0: FilterArg<Record<string, unknown>>) => void;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
11
- filter: FilterArg | undefined;
12
- column: GridColumn;
13
- defaultOperation: FilterOperation;
14
- loading: boolean;
15
- }>>> & Readonly<{
7
+ columnIndex: number;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "selection-changed": () => any;
11
+ "update:filter": (args_0: FilterArg<Record<string, unknown>>) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
13
  "onSelection-changed"?: (() => any) | undefined;
17
14
  "onUpdate:filter"?: ((args_0: FilterArg<Record<string, unknown>>) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
16
  export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToOption<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
@@ -1,4 +1,14 @@
1
1
  import { type GridColumn, type FilterRequest } from '../types';
2
+ type __VLS_Props = {
3
+ columns: GridColumn[];
4
+ request: FilterRequest;
5
+ };
6
+ type __VLS_Slots = {
7
+ search: (props: {
8
+ searchValue: string;
9
+ performSearch: typeof performSearch;
10
+ }) => any;
11
+ };
2
12
  /**
3
13
  * Adds search filters to the filter request for each of the searchable columns.
4
14
  * Removes search filters, when provided with a blank value.
@@ -6,53 +16,21 @@ import { type GridColumn, type FilterRequest } from '../types';
6
16
  * @param value The value to search for.
7
17
  */
8
18
  declare function performSearch(value: string): void;
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
10
- searchValue: {
11
- required: true;
12
- type: import("vue").PropType<string>;
13
- };
14
- columns: {
15
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
16
- required: true;
17
- };
18
- request: {
19
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
20
- required: true;
21
- };
22
- }>, {
19
+ type __VLS_PublicProps = __VLS_Props & {
20
+ 'searchValue': string;
21
+ };
22
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
23
23
  focusMegaSearch: () => void | undefined;
24
24
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
- "update:searchValue": (searchValue: string) => void;
26
- "update:request": (args_0: FilterRequest<Record<string, unknown>>) => void;
27
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
- searchValue: {
29
- required: true;
30
- type: import("vue").PropType<string>;
31
- };
32
- columns: {
33
- type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
34
- required: true;
35
- };
36
- request: {
37
- type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
38
- required: true;
39
- };
40
- }>> & Readonly<{
25
+ "update:request": (args_0: FilterRequest<Record<string, unknown>>) => any;
26
+ "update:searchValue": (value: string) => any;
27
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
41
28
  "onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
42
- "onUpdate:searchValue"?: ((searchValue: string) => any) | undefined;
43
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
44
- search: (props: {
45
- searchValue: string;
46
- performSearch: typeof performSearch;
47
- }) => any;
48
- }> & {
49
- search: (props: {
50
- searchValue: string;
51
- performSearch: typeof performSearch;
52
- }) => any;
53
- }>;
29
+ "onUpdate:searchValue"?: ((value: string) => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
54
32
  export default _default;
55
- type __VLS_WithTemplateSlots<T, S> = T & {
33
+ type __VLS_WithSlots<T, S> = T & {
56
34
  new (): {
57
35
  $slots: S;
58
36
  };
@@ -1,22 +1,13 @@
1
1
  import type { GridColumn } from '../types';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
2
+ type __VLS_Props = {
3
3
  columns: GridColumn[];
4
4
  loading: boolean;
5
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:columns": (args_0: GridColumn<Record<string, unknown>>[]) => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
8
- columns: GridColumn[];
9
- loading: boolean;
10
- }>>> & Readonly<{
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:columns": (args_0: GridColumn<Record<string, unknown>>[]) => any;
8
+ "view-manager-visible": (args_0: boolean) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
10
  "onUpdate:columns"?: ((args_0: GridColumn<Record<string, unknown>>[]) => any) | undefined;
12
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ "onView-manager-visible"?: ((args_0: boolean) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
13
  export default _default;
14
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToOption<T> = {
16
- [K in keyof T]-?: {} extends Pick<T, K> ? {
17
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
- } : {
19
- type: import('vue').PropType<T[K]>;
20
- required: true;
21
- };
22
- };
@@ -1,17 +1,6 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
1
+ type __VLS_Props = {
2
2
  pageSize: number;
3
3
  columnCount: number;
4
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- pageSize: number;
6
- columnCount: number;
7
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
- export default _default;
9
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToOption<T> = {
11
- [K in keyof T]-?: {} extends Pick<T, K> ? {
12
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
- } : {
14
- type: import('vue').PropType<T[K]>;
15
- required: true;
16
- };
17
4
  };
5
+ declare const _default: 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>;
6
+ export default _default;
@@ -1,63 +1,28 @@
1
1
  import type { FilterResponse } from '../../grid/types';
2
2
  import type { InputValueType } from '../../input/types';
3
3
  import type { GridLiteColumn, GridLiteConfig, GridSlot } from '../types';
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
- columns: GridLiteColumn<Record<string, unknown>>[];
4
+ type __VLS_Props = {
5
+ columns: GridLiteColumn[];
6
6
  options: Partial<GridLiteConfig>;
7
7
  gridId: string;
8
- data?: FilterResponse<Record<string, InputValueType>> | null | undefined;
9
- pageSize?: number | undefined;
10
- timeZone?: string | null | undefined;
8
+ data?: FilterResponse<Record<string, InputValueType>> | null;
9
+ pageSize?: number;
10
+ timeZone?: string | null;
11
11
  initialLoad: boolean;
12
- }>, {
13
- data: null;
14
- loading: boolean;
15
- pageSize: number;
16
- timeZone: null;
17
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
18
- columns: GridLiteColumn<Record<string, unknown>>[];
19
- options: Partial<GridLiteConfig>;
20
- gridId: string;
21
- data?: FilterResponse<Record<string, InputValueType>> | null | undefined;
22
- pageSize?: number | undefined;
23
- timeZone?: string | null | undefined;
24
- initialLoad: boolean;
25
- }>, {
26
- data: null;
27
- loading: boolean;
28
- pageSize: number;
29
- timeZone: null;
30
- }>>> & Readonly<{}>, {
12
+ };
13
+ type __VLS_Slots = {
14
+ [key: string]: (props: GridSlot) => any;
15
+ noData: () => any;
16
+ };
17
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
31
18
  data: FilterResponse<Record<string, InputValueType>> | null;
32
19
  pageSize: number;
33
20
  timeZone: string | null;
34
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
35
- [key: string]: (props: GridSlot<any>) => any;
36
- noData: () => any;
37
- }> & {
38
- [key: string]: (props: GridSlot<any>) => any;
39
- noData: () => any;
40
- }>;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
41
23
  export default _default;
42
- type __VLS_WithDefaults<P, D> = {
43
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
- default: D[K];
45
- }> : P[K];
46
- };
47
- type __VLS_Prettify<T> = {
48
- [K in keyof T]: T[K];
49
- } & {};
50
- type __VLS_WithTemplateSlots<T, S> = T & {
24
+ type __VLS_WithSlots<T, S> = T & {
51
25
  new (): {
52
26
  $slots: S;
53
27
  };
54
28
  };
55
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
56
- type __VLS_TypePropsToOption<T> = {
57
- [K in keyof T]-?: {} extends Pick<T, K> ? {
58
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
59
- } : {
60
- type: import('vue').PropType<T[K]>;
61
- required: true;
62
- };
63
- };
@@ -1,28 +1,17 @@
1
1
  import type { InputValueType } from '../../input/types';
2
2
  import type { GridLiteColumn, GridSlot } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
3
+ type __VLS_Props = {
4
4
  data: Record<string, InputValueType>;
5
- column: GridLiteColumn<Record<string, unknown>>;
5
+ column: GridLiteColumn;
6
6
  timeZone: string | null;
7
7
  isSmallGrid: boolean;
8
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
- data: Record<string, InputValueType>;
10
- column: GridLiteColumn<Record<string, unknown>>;
11
- timeZone: string | null;
12
- isSmallGrid: boolean;
13
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: GridSlot<any>) => any>> & Record<string, (props: GridSlot<any>) => any>>;
8
+ };
9
+ type __VLS_Slots = Record<string, (props: GridSlot) => 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>;
14
12
  export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
13
+ type __VLS_WithSlots<T, S> = T & {
16
14
  new (): {
17
15
  $slots: S;
18
16
  };
19
17
  };
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToOption<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
@@ -1,30 +1,18 @@
1
1
  import type { InputValueType } from '../../input/types';
2
2
  import type { GridLiteColumn, GridSlot } from '../types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
3
+ type __VLS_Props = {
4
4
  row: Record<string, InputValueType>;
5
- columns: GridLiteColumn<Record<string, unknown>>[];
5
+ columns: GridLiteColumn[];
6
6
  timeZone: string | null;
7
7
  isSmallGrid: boolean;
8
8
  gridId: string;
9
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
10
- row: Record<string, InputValueType>;
11
- columns: GridLiteColumn<Record<string, unknown>>[];
12
- timeZone: string | null;
13
- isSmallGrid: boolean;
14
- gridId: string;
15
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: GridSlot<any>) => any>> & Record<string, (props: GridSlot<any>) => any>>;
9
+ };
10
+ type __VLS_Slots = Record<string, (props: GridSlot) => any>;
11
+ 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>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
13
  export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
14
+ type __VLS_WithSlots<T, S> = T & {
18
15
  new (): {
19
16
  $slots: S;
20
17
  };
21
18
  };
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToOption<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
@@ -1,78 +1,33 @@
1
1
  import type { FilterResponse } from '../grid/types';
2
2
  import type { GridLiteColumn, GridLiteConfig, GridLiteRequest, GridSlot } from './types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- columns: {
5
- required: true;
6
- type: import("vue").PropType<GridLiteColumn<Record<string, unknown>>[]>;
7
- };
8
- request: {
9
- required: true;
10
- type: import("vue").PropType<GridLiteRequest<Record<string, unknown>>>;
11
- };
12
- data: {
13
- type: import("vue").PropType<FilterResponse<unknown> | null>;
14
- default: null;
15
- };
16
- loading: {
17
- type: import("vue").PropType<boolean>;
18
- default: boolean;
19
- };
20
- dateFormatLocale: {
21
- type: import("vue").PropType<string | null>;
22
- default: null;
23
- };
24
- timeZone: {
25
- type: import("vue").PropType<string | null>;
26
- default: null;
27
- };
28
- options: {
29
- type: import("vue").PropType<Partial<GridLiteConfig>>;
30
- default: () => {};
31
- };
32
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
- "update:request": (request: GridLiteRequest<Record<string, unknown>>) => void;
34
- "update:columns": (columns: GridLiteColumn<Record<string, unknown>>[]) => void;
35
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
- columns: {
37
- required: true;
38
- type: import("vue").PropType<GridLiteColumn<Record<string, unknown>>[]>;
39
- };
40
- request: {
41
- required: true;
42
- type: import("vue").PropType<GridLiteRequest<Record<string, unknown>>>;
43
- };
44
- data: {
45
- type: import("vue").PropType<FilterResponse<unknown> | null>;
46
- default: null;
47
- };
48
- loading: {
49
- type: import("vue").PropType<boolean>;
50
- default: boolean;
51
- };
52
- dateFormatLocale: {
53
- type: import("vue").PropType<string | null>;
54
- default: null;
55
- };
56
- timeZone: {
57
- type: import("vue").PropType<string | null>;
58
- default: null;
59
- };
60
- options: {
61
- type: import("vue").PropType<Partial<GridLiteConfig>>;
62
- default: () => {};
63
- };
64
- }>> & Readonly<{
65
- "onUpdate:request"?: ((request: GridLiteRequest<Record<string, unknown>>) => any) | undefined;
66
- "onUpdate:columns"?: ((columns: GridLiteColumn<Record<string, unknown>>[]) => any) | undefined;
3
+ type __VLS_Props = {
4
+ data?: FilterResponse<unknown> | null;
5
+ options?: Partial<GridLiteConfig>;
6
+ loading?: boolean;
7
+ timeZone?: string | null;
8
+ dateFormatLocale?: string | null;
9
+ };
10
+ type __VLS_Slots = Record<string, (props: GridSlot) => any>;
11
+ type __VLS_PublicProps = __VLS_Props & {
12
+ 'columns': GridLiteColumn[];
13
+ 'request': GridLiteRequest;
14
+ };
15
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ "update:request": (value: GridLiteRequest<Record<string, unknown>>) => any;
17
+ "update:columns": (value: GridLiteColumn<Record<string, unknown>>[]) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ "onUpdate:request"?: ((value: GridLiteRequest<Record<string, unknown>>) => any) | undefined;
20
+ "onUpdate:columns"?: ((value: GridLiteColumn<Record<string, unknown>>[]) => any) | undefined;
67
21
  }>, {
68
22
  data: FilterResponse<unknown> | null;
69
23
  loading: boolean;
70
24
  dateFormatLocale: string | null;
71
25
  timeZone: string | null;
72
26
  options: Partial<GridLiteConfig>;
73
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: GridSlot<any>) => any>> & Record<string, (props: GridSlot<any>) => any>>;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
74
29
  export default _default;
75
- type __VLS_WithTemplateSlots<T, S> = T & {
30
+ type __VLS_WithSlots<T, S> = T & {
76
31
  new (): {
77
32
  $slots: S;
78
33
  };
@@ -1,52 +1,19 @@
1
1
  import type { FilterResponse } from '../../grid/types';
2
2
  import type { GridLiteConfig, GridLiteRequest } from '../types';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- request: {
5
- required: true;
6
- type: import("vue").PropType<GridLiteRequest<Record<string, unknown>>>;
7
- };
8
- data: {
9
- type: import("vue").PropType<FilterResponse<unknown> | null>;
10
- default: null;
11
- };
12
- options: {
13
- type: import("vue").PropType<GridLiteConfig>;
14
- required: true;
15
- };
16
- initialLoad: {
17
- type: import("vue").PropType<boolean>;
18
- required: true;
19
- };
20
- gridId: {
21
- type: import("vue").PropType<string>;
22
- required: true;
23
- };
24
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
- "update:request": (request: GridLiteRequest<Record<string, unknown>>) => void;
26
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
- request: {
28
- required: true;
29
- type: import("vue").PropType<GridLiteRequest<Record<string, unknown>>>;
30
- };
31
- data: {
32
- type: import("vue").PropType<FilterResponse<unknown> | null>;
33
- default: null;
34
- };
35
- options: {
36
- type: import("vue").PropType<GridLiteConfig>;
37
- required: true;
38
- };
39
- initialLoad: {
40
- type: import("vue").PropType<boolean>;
41
- required: true;
42
- };
43
- gridId: {
44
- type: import("vue").PropType<string>;
45
- required: true;
46
- };
47
- }>> & Readonly<{
48
- "onUpdate:request"?: ((request: GridLiteRequest<Record<string, unknown>>) => any) | undefined;
3
+ type __VLS_Props = {
4
+ gridId: string;
5
+ data?: FilterResponse<unknown> | null;
6
+ initialLoad: boolean;
7
+ options: GridLiteConfig;
8
+ };
9
+ type __VLS_PublicProps = __VLS_Props & {
10
+ 'request': GridLiteRequest;
11
+ };
12
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:request": (value: GridLiteRequest<Record<string, unknown>>) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
+ "onUpdate:request"?: ((value: GridLiteRequest<Record<string, unknown>>) => any) | undefined;
49
16
  }>, {
50
17
  data: FilterResponse<unknown> | null;
51
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
52
19
  export default _default;
@@ -1,47 +1,16 @@
1
1
  import type { GridLiteColumn, GridLiteRequest } from '../types';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
- request: {
4
- required: true;
5
- type: import("vue").PropType<GridLiteRequest<Record<string, unknown>>>;
6
- };
7
- columns: {
8
- type: import("vue").PropType<GridLiteColumn<Record<string, unknown>>[]>;
9
- required: true;
10
- };
11
- gridId: {
12
- type: import("vue").PropType<string>;
13
- required: true;
14
- };
15
- isSmallGrid: {
16
- type: import("vue").PropType<boolean>;
17
- };
18
- initialLoad: {
19
- type: import("vue").PropType<boolean>;
20
- required: true;
21
- };
22
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
- "update:request": (request: GridLiteRequest<Record<string, unknown>>) => void;
24
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
- request: {
26
- required: true;
27
- type: import("vue").PropType<GridLiteRequest<Record<string, unknown>>>;
28
- };
29
- columns: {
30
- type: import("vue").PropType<GridLiteColumn<Record<string, unknown>>[]>;
31
- required: true;
32
- };
33
- gridId: {
34
- type: import("vue").PropType<string>;
35
- required: true;
36
- };
37
- isSmallGrid: {
38
- type: import("vue").PropType<boolean>;
39
- };
40
- initialLoad: {
41
- type: import("vue").PropType<boolean>;
42
- required: true;
43
- };
44
- }>> & Readonly<{
45
- "onUpdate:request"?: ((request: GridLiteRequest<Record<string, unknown>>) => any) | undefined;
46
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ type __VLS_Props = {
3
+ columns: GridLiteColumn[];
4
+ gridId: string;
5
+ isSmallGrid?: boolean;
6
+ initialLoad: boolean;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & {
9
+ 'request': GridLiteRequest;
10
+ };
11
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:request": (value: GridLiteRequest<Record<string, unknown>>) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:request"?: ((value: GridLiteRequest<Record<string, unknown>>) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
47
16
  export default _default;