@citruslime/ui 2.2.2-beta.8 → 2.3.0-beta.1

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 (115) hide show
  1. package/README.md +6 -2
  2. package/dist/citrus-lime-ui.es.js +1828 -2334
  3. package/dist/citrus-lime-ui.umd.js +2 -2
  4. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +52 -0
  5. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +9 -0
  6. package/dist/components/accordion/index.d.ts +3 -3
  7. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +43 -0
  8. package/dist/components/app/cl-ui-app.vue.d.ts +38 -0
  9. package/dist/components/app/index.d.ts +1 -1
  10. package/dist/components/button/cl-ui-button.vue.d.ts +53 -0
  11. package/dist/components/button/index.d.ts +1 -1
  12. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +63 -0
  13. package/dist/components/calendar/index.d.ts +1 -1
  14. package/dist/components/card/cl-ui-card.vue.d.ts +44 -0
  15. package/dist/components/card/index.d.ts +1 -1
  16. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +100 -0
  17. package/dist/components/combo-box/index.d.ts +1 -1
  18. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +79 -0
  19. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +43 -0
  20. package/dist/components/combo-box/search-container/header/index.d.ts +1 -0
  21. package/dist/components/combo-box/search-container/index.d.ts +1 -0
  22. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +55 -0
  23. package/dist/components/combo-box/search-container/selectable/index.d.ts +1 -0
  24. package/dist/components/footer/cl-ui-footer.vue.d.ts +11 -0
  25. package/dist/components/footer/index.d.ts +1 -1
  26. package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +39 -0
  27. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +61 -0
  28. package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +23 -0
  29. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +59 -0
  30. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +63 -0
  31. package/dist/components/grid/cl-ui-grid.vue.d.ts +67 -0
  32. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +36 -0
  33. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +38 -0
  34. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +28 -0
  35. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +40 -0
  36. package/dist/components/grid/index.d.ts +1 -1
  37. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +20 -0
  38. package/dist/components/grid/view-manager/index.d.ts +1 -0
  39. package/dist/components/header/cl-ui-header.vue.d.ts +15 -0
  40. package/dist/components/header/index.d.ts +1 -1
  41. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +57 -0
  42. package/dist/components/header/menu/index.d.ts +1 -1
  43. package/dist/components/input/cl-ui-input.vue.d.ts +456 -0
  44. package/dist/components/input/index.d.ts +1 -1
  45. package/dist/components/input/types.d.ts +2 -2
  46. package/dist/components/input/utils.d.ts +1 -8
  47. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +41 -0
  48. package/dist/components/language-switcher/index.d.ts +1 -1
  49. package/dist/components/loading-spinner/cl-ui-loading-spinner.vue.d.ts +2 -0
  50. package/dist/components/loading-spinner/index.d.ts +1 -1
  51. package/dist/components/login/cl-ui-login.vue.d.ts +49 -0
  52. package/dist/components/login/index.d.ts +1 -1
  53. package/dist/components/modal/cl-ui-modal.vue.d.ts +63 -0
  54. package/dist/components/modal/index.d.ts +1 -1
  55. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +56 -0
  56. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +23 -0
  57. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +33 -0
  58. package/dist/components/navigation/index.d.ts +5 -5
  59. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +9 -0
  60. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -0
  61. package/dist/components/notification/cl-ui-notification.vue.d.ts +34 -0
  62. package/dist/components/notification/index.d.ts +1 -1
  63. package/dist/components/slider/cl-ui-slider.vue.d.ts +56 -0
  64. package/dist/components/slider/index.d.ts +1 -1
  65. package/dist/components/tab/cl-ui-tab.vue.d.ts +62 -0
  66. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +9 -0
  67. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +49 -0
  68. package/dist/components/tab/index.d.ts +3 -3
  69. package/dist/composables/notification.d.ts +1 -2
  70. package/dist/main.d.ts +1 -0
  71. package/dist/style.css +1 -1
  72. package/dist/utils/i18n/config.d.ts +1 -2
  73. package/dist/utils/validation.d.ts +3 -3
  74. package/package.json +9 -6
  75. package/dist/components/accordion/cl-ui-accordion.d.ts +0 -17
  76. package/dist/components/accordion/header/cl-ui-accordion-header.d.ts +0 -3
  77. package/dist/components/accordion/item/cl-ui-accordion-item.d.ts +0 -29
  78. package/dist/components/app/cl-ui-app.d.ts +0 -17
  79. package/dist/components/button/cl-ui-button.d.ts +0 -50
  80. package/dist/components/calendar/cl-ui-calendar.d.ts +0 -65
  81. package/dist/components/calendar/utils.d.ts +0 -38
  82. package/dist/components/card/cl-ui-card.d.ts +0 -28
  83. package/dist/components/combo-box/cl-ui-combo-box.d.ts +0 -158
  84. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.d.ts +0 -115
  85. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.d.ts +0 -43
  86. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.d.ts +0 -67
  87. package/dist/components/footer/cl-ui-footer.d.ts +0 -3
  88. package/dist/components/grid/action-row/cl-ui-grid-action-row.d.ts +0 -50
  89. package/dist/components/grid/body/cl-ui-grid-body.d.ts +0 -65
  90. package/dist/components/grid/body/cl-ui-grid-cell-value.d.ts +0 -22
  91. package/dist/components/grid/body/cl-ui-grid-cell.d.ts +0 -38
  92. package/dist/components/grid/body/cl-ui-grid-row.d.ts +0 -48
  93. package/dist/components/grid/cl-ui-grid.d.ts +0 -61
  94. package/dist/components/grid/footer/cl-ui-grid-footer.d.ts +0 -30
  95. package/dist/components/grid/header/cl-ui-grid-filter.d.ts +0 -36
  96. package/dist/components/grid/header/cl-ui-grid-header.d.ts +0 -41
  97. package/dist/components/grid/header/cl-ui-grid-method-selector.d.ts +0 -44
  98. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.d.ts +0 -16
  99. package/dist/components/header/cl-ui-header.d.ts +0 -5
  100. package/dist/components/header/menu/cl-ui-header-menu.d.ts +0 -60
  101. package/dist/components/input/cl-ui-input.d.ts +0 -278
  102. package/dist/components/language-switcher/cl-ui-language-switcher.d.ts +0 -39
  103. package/dist/components/loading-spinner/cl-ui-loading-spinner.d.ts +0 -3
  104. package/dist/components/login/cl-ui-login.d.ts +0 -34
  105. package/dist/components/modal/cl-ui-modal.d.ts +0 -39
  106. package/dist/components/navigation/cl-ui-navigation.d.ts +0 -17
  107. package/dist/components/navigation/group/cl-ui-navigation-group.d.ts +0 -13
  108. package/dist/components/navigation/icon/cl-ui-navigation-icon.d.ts +0 -33
  109. package/dist/components/navigation/item/cl-ui-navigation-item.d.ts +0 -3
  110. package/dist/components/navigation/section/cl-ui-navigation-section.d.ts +0 -3
  111. package/dist/components/notification/cl-ui-notification.d.ts +0 -28
  112. package/dist/components/slider/cl-ui-slider.d.ts +0 -78
  113. package/dist/components/tab/cl-ui-tab.d.ts +0 -39
  114. package/dist/components/tab/content/cl-ui-tab-content.d.ts +0 -3
  115. package/dist/components/tab/header/cl-ui-tab-header.d.ts +0 -48
@@ -0,0 +1,39 @@
1
+ import type { FilterRequest, GridColumn, GridConfig } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ editMode: boolean;
4
+ filterPanelOpen: boolean;
5
+ columns: GridColumn<Record<string, unknown>>[];
6
+ options: Partial<GridConfig>;
7
+ request: FilterRequest;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:edit-mode": (value: boolean) => void;
10
+ "update:filterPanelOpen": (value: boolean) => void;
11
+ "clear-filters": () => void;
12
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
+ editMode: boolean;
14
+ filterPanelOpen: boolean;
15
+ columns: GridColumn<Record<string, unknown>>[];
16
+ options: Partial<GridConfig>;
17
+ request: FilterRequest;
18
+ }>>> & {
19
+ "onUpdate:edit-mode"?: ((value: boolean) => any) | undefined;
20
+ "onUpdate:filterPanelOpen"?: ((value: boolean) => any) | undefined;
21
+ "onClear-filters"?: (() => any) | undefined;
22
+ }, {}, {}>, {
23
+ "view-manager"?(_: {}): any;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,61 @@
1
+ import type { FilterRequest, FilterResponse, GridColumn } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ columns: GridColumn<Record<string, unknown>>[];
4
+ request: FilterRequest;
5
+ data: FilterResponse<Record<string, unknown>> | null;
6
+ loading: boolean;
7
+ editMode?: boolean | undefined;
8
+ selectionEnabled?: boolean | undefined;
9
+ }>, {
10
+ editMode: boolean;
11
+ selectionEnabled: boolean;
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "row-select": (value: Record<string, unknown>) => void;
14
+ "row-edit": (value: Record<string, unknown>) => void;
15
+ "clear-filters": () => void;
16
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
+ columns: GridColumn<Record<string, unknown>>[];
18
+ request: FilterRequest;
19
+ data: FilterResponse<Record<string, unknown>> | null;
20
+ loading: boolean;
21
+ editMode?: boolean | undefined;
22
+ selectionEnabled?: boolean | undefined;
23
+ }>, {
24
+ editMode: boolean;
25
+ selectionEnabled: boolean;
26
+ }>>> & {
27
+ "onClear-filters"?: (() => any) | undefined;
28
+ "onRow-select"?: ((value: Record<string, unknown>) => any) | undefined;
29
+ "onRow-edit"?: ((value: Record<string, unknown>) => any) | undefined;
30
+ }, {
31
+ editMode: boolean;
32
+ selectionEnabled: boolean;
33
+ }, {}>, Partial<Record<NonNullable<string | number>, (_: {
34
+ cellFocused: () => void;
35
+ edited: boolean;
36
+ column: GridColumn<Record<string, unknown>>;
37
+ record: Record<string, import("../..").InputValueType>;
38
+ }) => any>>>;
39
+ export default _default;
40
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
+ type __VLS_TypePropsToRuntimeProps<T> = {
42
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
43
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
+ } : {
45
+ type: import('vue').PropType<T[K]>;
46
+ required: true;
47
+ };
48
+ };
49
+ type __VLS_WithDefaults<P, D> = {
50
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
+ default: D[K];
52
+ }> : P[K];
53
+ };
54
+ type __VLS_WithTemplateSlots<T, S> = T & {
55
+ new (): {
56
+ $slots: S;
57
+ };
58
+ };
59
+ type __VLS_Prettify<T> = {
60
+ [K in keyof T]: T[K];
61
+ } & {};
@@ -0,0 +1,23 @@
1
+ import type { GridColumn } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ data: Record<string, unknown>;
4
+ column: GridColumn<Record<string, unknown>>;
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ data: Record<string, unknown>;
7
+ column: GridColumn<Record<string, unknown>>;
8
+ }>>>, {}, {}>, Partial<Record<string, (_: {}) => any>>>;
9
+ export default _default;
10
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
+ type __VLS_TypePropsToRuntimeProps<T> = {
12
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
13
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
+ } : {
15
+ type: import('vue').PropType<T[K]>;
16
+ required: true;
17
+ };
18
+ };
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,59 @@
1
+ import type { InputValueType } from '../../input/types';
2
+ import type { GridColumn } from '../types';
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ data: Record<string, unknown>;
5
+ column: GridColumn<Record<string, unknown>>;
6
+ editMode?: boolean | undefined;
7
+ }>, {
8
+ editMode: boolean;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ edit: (value: unknown) => void;
11
+ focus: () => void;
12
+ undo: () => void;
13
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ data: Record<string, unknown>;
15
+ column: GridColumn<Record<string, unknown>>;
16
+ editMode?: boolean | undefined;
17
+ }>, {
18
+ editMode: boolean;
19
+ }>>> & {
20
+ onFocus?: (() => any) | undefined;
21
+ onEdit?: ((value: unknown) => any) | undefined;
22
+ onUndo?: (() => any) | undefined;
23
+ }, {
24
+ editMode: boolean;
25
+ }, {}>, Partial<Record<string, (_: {
26
+ cellFocused: () => void;
27
+ column: GridColumn<Record<string, unknown>>;
28
+ edited: boolean;
29
+ record: Record<string, InputValueType>;
30
+ }) => any>> & Partial<Record<string, (_: {
31
+ column: GridColumn<Record<string, unknown>>;
32
+ data: Record<string, unknown>;
33
+ }) => any>> & Partial<Record<string, (_: {
34
+ column: GridColumn<Record<string, unknown>>;
35
+ record: Record<string, unknown>;
36
+ }) => any>>>;
37
+ export default _default;
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToRuntimeProps<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
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_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
57
+ type __VLS_Prettify<T> = {
58
+ [K in keyof T]: T[K];
59
+ } & {};
@@ -0,0 +1,63 @@
1
+ import type { InputValueType } from '../../input/types';
2
+ import type { GridCellUpdateEvent, GridColumn } from '../types';
3
+ export interface SlotCellData {
4
+ column: GridColumn;
5
+ record: Record<string, InputValueType>;
6
+ }
7
+ export interface EditCellData extends SlotCellData {
8
+ cellFocused: () => void;
9
+ edited: boolean;
10
+ }
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ data: Record<string, unknown>;
13
+ columns: GridColumn<Record<string, unknown>>[];
14
+ editMode?: boolean | undefined;
15
+ }>, {
16
+ editMode: boolean;
17
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "cell-focus": () => void;
19
+ "cell-edit": (value: GridCellUpdateEvent) => void;
20
+ "cell-undo": (value?: string | undefined) => void;
21
+ "row-select": (value: Record<string, unknown>) => void;
22
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
23
+ data: Record<string, unknown>;
24
+ columns: GridColumn<Record<string, unknown>>[];
25
+ editMode?: boolean | undefined;
26
+ }>, {
27
+ editMode: boolean;
28
+ }>>> & {
29
+ "onCell-focus"?: (() => any) | undefined;
30
+ "onCell-edit"?: ((value: GridCellUpdateEvent) => any) | undefined;
31
+ "onCell-undo"?: ((value?: string | undefined) => any) | undefined;
32
+ "onRow-select"?: ((value: Record<string, unknown>) => any) | undefined;
33
+ }, {
34
+ editMode: boolean;
35
+ }, {}>, Partial<Record<NonNullable<string | number>, (_: {
36
+ cellFocused: () => void;
37
+ edited: boolean;
38
+ column: GridColumn<Record<string, unknown>>;
39
+ record: Record<string, InputValueType>;
40
+ }) => any>>>;
41
+ export default _default;
42
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
+ type __VLS_TypePropsToRuntimeProps<T> = {
44
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
45
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
46
+ } : {
47
+ type: import('vue').PropType<T[K]>;
48
+ required: true;
49
+ };
50
+ };
51
+ type __VLS_WithDefaults<P, D> = {
52
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
+ default: D[K];
54
+ }> : P[K];
55
+ };
56
+ type __VLS_WithTemplateSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
61
+ type __VLS_Prettify<T> = {
62
+ [K in keyof T]: T[K];
63
+ } & {};
@@ -0,0 +1,67 @@
1
+ import type { GridColumn, FilterRequest, FilterResponse, GridConfig, GridUpdateModel } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ columns: GridColumn<Record<string, unknown>>[];
4
+ request: FilterRequest;
5
+ loading: boolean;
6
+ data?: FilterResponse<unknown> | null | undefined;
7
+ options?: Partial<GridConfig> | undefined;
8
+ }>, {
9
+ data: null;
10
+ options: () => {};
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:columns": (value: GridColumn<Record<string, unknown>>[]) => void;
13
+ "update:request": (value: FilterRequest) => void;
14
+ "data-request": () => void;
15
+ "row-edit": (value: GridUpdateModel) => void;
16
+ "edit-start": () => void;
17
+ "edit-end": () => void;
18
+ "row-select": () => void;
19
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
20
+ columns: GridColumn<Record<string, unknown>>[];
21
+ request: FilterRequest;
22
+ loading: boolean;
23
+ data?: FilterResponse<unknown> | null | undefined;
24
+ options?: Partial<GridConfig> | undefined;
25
+ }>, {
26
+ data: null;
27
+ options: () => {};
28
+ }>>> & {
29
+ "onRow-select"?: (() => any) | undefined;
30
+ "onRow-edit"?: ((value: GridUpdateModel) => any) | undefined;
31
+ "onUpdate:request"?: ((value: FilterRequest) => any) | undefined;
32
+ "onUpdate:columns"?: ((value: GridColumn<Record<string, unknown>>[]) => any) | undefined;
33
+ "onData-request"?: (() => any) | undefined;
34
+ "onEdit-start"?: (() => any) | undefined;
35
+ "onEdit-end"?: (() => any) | undefined;
36
+ }, {
37
+ data: FilterResponse<unknown> | null;
38
+ options: Partial<GridConfig>;
39
+ }, {}>, Partial<Record<NonNullable<string | number>, (_: {
40
+ cellFocused: () => void;
41
+ edited: boolean;
42
+ column: GridColumn<Record<string, unknown>>;
43
+ record: Record<string, import("..").InputValueType>;
44
+ }) => any>>>;
45
+ export default _default;
46
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
+ type __VLS_TypePropsToRuntimeProps<T> = {
48
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
49
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
50
+ } : {
51
+ type: import('vue').PropType<T[K]>;
52
+ required: true;
53
+ };
54
+ };
55
+ type __VLS_WithDefaults<P, D> = {
56
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
+ default: D[K];
58
+ }> : P[K];
59
+ };
60
+ type __VLS_WithTemplateSlots<T, S> = T & {
61
+ new (): {
62
+ $slots: S;
63
+ };
64
+ };
65
+ type __VLS_Prettify<T> = {
66
+ [K in keyof T]: T[K];
67
+ } & {};
@@ -0,0 +1,36 @@
1
+ import type { FilterResponse, FilterRequest } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ request: FilterRequest;
4
+ data?: FilterResponse<unknown> | null | undefined;
5
+ }>, {
6
+ data: null;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ 'update:request': null;
9
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ request: FilterRequest;
11
+ data?: FilterResponse<unknown> | null | undefined;
12
+ }>, {
13
+ data: null;
14
+ }>>> & {
15
+ "onUpdate:request"?: ((...args: any[]) => any) | undefined;
16
+ }, {
17
+ data: FilterResponse<unknown> | null;
18
+ }, {}>;
19
+ export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToRuntimeProps<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
+ };
29
+ type __VLS_WithDefaults<P, D> = {
30
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
+ default: D[K];
32
+ }> : P[K];
33
+ };
34
+ type __VLS_Prettify<T> = {
35
+ [K in keyof T]: T[K];
36
+ } & {};
@@ -0,0 +1,38 @@
1
+ import type { FilterArg, GridColumn } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ filter: FilterArg | undefined;
4
+ column: GridColumn<Record<string, unknown>>;
5
+ firstHalf?: boolean | undefined;
6
+ }>, {
7
+ firstHalf: boolean;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:filter": (value: FilterArg | undefined) => void;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ filter: FilterArg | undefined;
12
+ column: GridColumn<Record<string, unknown>>;
13
+ firstHalf?: boolean | undefined;
14
+ }>, {
15
+ firstHalf: boolean;
16
+ }>>> & {
17
+ "onUpdate:filter"?: ((value: FilterArg | undefined) => any) | undefined;
18
+ }, {
19
+ firstHalf: boolean;
20
+ }, {}>;
21
+ export default _default;
22
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
+ type __VLS_TypePropsToRuntimeProps<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
+ };
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ default: D[K];
34
+ }> : P[K];
35
+ };
36
+ type __VLS_Prettify<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
@@ -0,0 +1,28 @@
1
+ import type { FilterRequest, GridColumn, GridConfig } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ request: FilterRequest;
4
+ columns: GridColumn<Record<string, unknown>>[];
5
+ options: Partial<GridConfig>;
6
+ filterPanelOpen: boolean;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:request": (value: FilterRequest) => void;
9
+ "update:filterPanelOpen": (value: boolean) => void;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
+ request: FilterRequest;
12
+ columns: GridColumn<Record<string, unknown>>[];
13
+ options: Partial<GridConfig>;
14
+ filterPanelOpen: boolean;
15
+ }>>> & {
16
+ "onUpdate:filterPanelOpen"?: ((value: boolean) => any) | undefined;
17
+ "onUpdate:request"?: ((value: FilterRequest) => any) | undefined;
18
+ }, {}, {}>;
19
+ export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToRuntimeProps<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
+ };
@@ -0,0 +1,40 @@
1
+ import { type FilterArg, FilterOperation, type GridColumn } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ filter: FilterArg | undefined;
4
+ column: GridColumn<Record<string, unknown>>;
5
+ defaultOperation: FilterOperation;
6
+ firstHalf?: boolean | undefined;
7
+ }>, {
8
+ firstHalf: boolean;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:filter": (value: FilterArg) => void;
11
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ filter: FilterArg | undefined;
13
+ column: GridColumn<Record<string, unknown>>;
14
+ defaultOperation: FilterOperation;
15
+ firstHalf?: boolean | undefined;
16
+ }>, {
17
+ firstHalf: boolean;
18
+ }>>> & {
19
+ "onUpdate:filter"?: ((value: FilterArg) => any) | undefined;
20
+ }, {
21
+ firstHalf: boolean;
22
+ }, {}>;
23
+ export default _default;
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToRuntimeProps<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
33
+ type __VLS_WithDefaults<P, D> = {
34
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
+ default: D[K];
36
+ }> : P[K];
37
+ };
38
+ type __VLS_Prettify<T> = {
39
+ [K in keyof T]: T[K];
40
+ } & {};
@@ -1,2 +1,2 @@
1
- export { default as clUiGrid } from "./cl-ui-grid";
1
+ export { default as clUiGrid } from './cl-ui-grid.vue';
2
2
  export * from './types';
@@ -0,0 +1,20 @@
1
+ import type { GridColumn } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ columns: GridColumn<Record<string, unknown>>[];
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:columns": (value: GridColumn<Record<string, unknown>>[]) => void;
6
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ columns: GridColumn<Record<string, unknown>>[];
8
+ }>>> & {
9
+ "onUpdate:columns"?: ((value: GridColumn<Record<string, unknown>>[]) => any) | undefined;
10
+ }, {}, {}>;
11
+ export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
@@ -0,0 +1 @@
1
+ export { default as clUiGridViewManager } from './cl-ui-grid-view-manager.vue';
@@ -0,0 +1,15 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ "open-click": () => void;
3
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
+ "onOpen-click"?: (() => any) | undefined;
5
+ }, {}, {}>, {
6
+ logo?(_: {}): any;
7
+ menu?(_: {}): any;
8
+ icon?(_: {}): any;
9
+ }>;
10
+ export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -1,2 +1,2 @@
1
- export { default as clUiHeader } from "./cl-ui-header";
1
+ export { default as clUiHeader } from './cl-ui-header.vue';
2
2
  export * from './menu';
@@ -0,0 +1,57 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ username?: string | undefined;
3
+ group?: string | undefined;
4
+ image?: string | undefined;
5
+ isOpen: boolean;
6
+ colour?: "default" | "secondary" | undefined;
7
+ }>, {
8
+ username: string;
9
+ group: string;
10
+ image: string;
11
+ colour: string;
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:is-open": (value: boolean) => void;
14
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ username?: string | undefined;
16
+ group?: string | undefined;
17
+ image?: string | undefined;
18
+ isOpen: boolean;
19
+ colour?: "default" | "secondary" | undefined;
20
+ }>, {
21
+ username: string;
22
+ group: string;
23
+ image: string;
24
+ colour: string;
25
+ }>>> & {
26
+ "onUpdate:is-open"?: ((value: boolean) => any) | undefined;
27
+ }, {
28
+ image: string;
29
+ colour: "default" | "secondary";
30
+ group: string;
31
+ username: string;
32
+ }, {}>, {
33
+ default?(_: {}): any;
34
+ }>;
35
+ export default _default;
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToRuntimeProps<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
+ };
45
+ type __VLS_WithDefaults<P, D> = {
46
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
+ default: D[K];
48
+ }> : P[K];
49
+ };
50
+ type __VLS_WithTemplateSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
55
+ type __VLS_Prettify<T> = {
56
+ [K in keyof T]: T[K];
57
+ } & {};
@@ -1 +1 @@
1
- export { default as clUiHeaderMenu } from "./cl-ui-header-menu";
1
+ export { default as clUiHeaderMenu } from './cl-ui-header-menu.vue';