@ghentcdh/ui 1.0.2 → 1.0.4

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 (102) hide show
  1. package/alert/alert.model.d.ts +5 -0
  2. package/alert/alert.vue.d.ts +22 -0
  3. package/alert/index.d.ts +2 -0
  4. package/button/Btn.properties.d.ts +45 -0
  5. package/button/BtnBadge.properties.d.ts +27 -0
  6. package/button/btn-badge.vue.d.ts +62 -0
  7. package/button/btn.vue.d.ts +101 -0
  8. package/button/const.d.ts +9 -0
  9. package/button/index.d.ts +5 -0
  10. package/card/card.vue.d.ts +20 -0
  11. package/collapse/Collapse.properties.d.ts +35 -0
  12. package/collapse/Collapse.vue.d.ts +75 -0
  13. package/collapse/CollapseRow.properties.d.ts +17 -0
  14. package/collapse/CollapseRow.vue.d.ts +49 -0
  15. package/collapse/index.d.ts +3 -0
  16. package/composables/index.d.ts +2 -0
  17. package/composables/useFocusTrap.d.ts +8 -0
  18. package/const/colors.d.ts +8 -0
  19. package/const/index.d.ts +2 -0
  20. package/const/size.d.ts +4 -0
  21. package/directives/click-outside.directive.d.ts +6 -0
  22. package/drawer/drawer.properties.d.ts +18 -0
  23. package/drawer/drawer.vue.d.ts +58 -0
  24. package/drawer/index.d.ts +1 -0
  25. package/filter/Filter.properties.d.ts +46 -0
  26. package/filter/composables/useFilter.d.ts +8 -0
  27. package/filter/filter.vue.d.ts +84 -0
  28. package/filter/index.d.ts +3 -0
  29. package/form/Checkbox.properties.d.ts +83 -0
  30. package/form/Checkbox.vue.d.ts +216 -0
  31. package/form/Input.properties.d.ts +87 -0
  32. package/form/Input.vue.d.ts +225 -0
  33. package/form/InputNumber.properties.d.ts +87 -0
  34. package/form/InputNumber.vue.d.ts +225 -0
  35. package/form/Textarea.properties.d.ts +87 -0
  36. package/form/Textarea.vue.d.ts +225 -0
  37. package/form/core/ControlWrapper.properties.d.ts +84 -0
  38. package/form/core/ControlWrapper.vue.d.ts +221 -0
  39. package/form/core/emits.d.ts +7 -0
  40. package/form/core/properties.d.ts +25 -0
  41. package/form/core/styles.d.ts +36 -0
  42. package/form/core/utils/style.d.ts +6 -0
  43. package/form/index.d.ts +12 -0
  44. package/form/select/AutoComplete.properties.d.ts +139 -0
  45. package/form/select/AutoComplete.vue.d.ts +328 -0
  46. package/form/select/ListResults.properties.d.ts +24 -0
  47. package/form/select/ListResults.vue.d.ts +46 -0
  48. package/form/select/MultiSelect.vue.d.ts +295 -0
  49. package/form/select/SelectComponent.vue.d.ts +259 -0
  50. package/form/select/SelectWrapper.properties.d.ts +222 -0
  51. package/form/select/SelectWrapper.vue.d.ts +408 -0
  52. package/form/select/composables/useOptions.d.ts +19 -0
  53. package/form/select/composables/useSearch.d.ts +6 -0
  54. package/form/text/Markdown.vue.d.ts +234 -0
  55. package/form/text/MarkdownComponent.properties.d.ts +101 -0
  56. package/icons/Icon.properties.d.ts +11 -0
  57. package/icons/icon-list.d.ts +26 -0
  58. package/icons/icon.vue.d.ts +16 -0
  59. package/icons/index.d.ts +3 -0
  60. package/loading/index.d.ts +1 -0
  61. package/loading/loading.vue.d.ts +5 -0
  62. package/menu/dropdown.vue.d.ts +6 -0
  63. package/menu/index.d.ts +4 -0
  64. package/menu/menu-item.vue.d.ts +5 -0
  65. package/menu/menu.type.d.ts +15 -0
  66. package/menu/menu.vue.d.ts +7 -0
  67. package/menu/sub-menu.vue.d.ts +7 -0
  68. package/modal/confirmModal.vue.d.ts +10 -0
  69. package/modal/index.d.ts +6 -0
  70. package/modal/modal.model.d.ts +17 -0
  71. package/modal/modal.properties.d.ts +30 -0
  72. package/modal/modal.service.d.ts +15 -0
  73. package/modal/modal.vue.d.ts +82 -0
  74. package/modal/modalWrapper.vue.d.ts +2 -0
  75. package/package.json +21 -2
  76. package/shell/menu.type.d.ts +11 -0
  77. package/shell/shell.component.vue.d.ts +31 -0
  78. package/table/cells/boolean.cell.vue.d.ts +26 -0
  79. package/table/cells/text.cell.properties.d.ts +13 -0
  80. package/table/cells/text.cell.vue.d.ts +26 -0
  81. package/table/header/sort.header.properties.d.ts +15 -0
  82. package/table/header/sort.header.vue.d.ts +24 -0
  83. package/table/index.d.ts +9 -0
  84. package/table/pagination-button.component.properties.d.ts +30 -0
  85. package/table/pagination-button.component.vue.d.ts +47 -0
  86. package/table/pagination.component.properties.d.ts +15 -0
  87. package/table/pagination.component.vue.d.ts +32 -0
  88. package/table/table.component.properties.d.ts +34 -0
  89. package/table/table.component.vue.d.ts +46 -0
  90. package/table/table.model.d.ts +10 -0
  91. package/test-utils/withSetup.d.ts +4 -0
  92. package/toast/index.d.ts +3 -0
  93. package/toast/notification-message.d.ts +7 -0
  94. package/toast/notification-message.vue.d.ts +7 -0
  95. package/toast/notification.service.d.ts +24 -0
  96. package/toast/notifications.vue.d.ts +2 -0
  97. package/tree/TreeItem.vue.d.ts +15 -0
  98. package/tree/TreeView.vue.d.ts +7 -0
  99. package/tree/index.d.ts +1 -0
  100. package/tree/props.d.ts +13 -0
  101. package/utils/hasCustomEventListener.d.ts +1 -0
  102. package/utils/index.d.ts +1 -0
@@ -0,0 +1,101 @@
1
+ import { Editor } from '@tiptap/vue-3';
2
+ import { PropType } from 'vue';
3
+ export type ToolbarAction = {
4
+ /** Displayed inside the button (text or HTML, e.g. an icon) */
5
+ label: string;
6
+ /** The Tiptap mark/node name used for isActive() highlighting */
7
+ name: string;
8
+ /** Called with the editor instance when the button is clicked */
9
+ action: (editor: Editor | undefined) => void;
10
+ };
11
+ export declare const MarkdownEmits: string[];
12
+ export declare const MarkdownComponentProperties: {
13
+ width: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ minHeight: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ actions: {
22
+ type: PropType<ToolbarAction[]>;
23
+ default: () => ToolbarAction[];
24
+ };
25
+ id: {
26
+ type: StringConstructor;
27
+ };
28
+ placeholder: {
29
+ type: StringConstructor;
30
+ };
31
+ description: {
32
+ type: StringConstructor;
33
+ };
34
+ errors: {
35
+ type: StringConstructor;
36
+ };
37
+ label: {
38
+ type: StringConstructor;
39
+ };
40
+ visible: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ required: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ enabled: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ isFocused: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ isTouched: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ hideLabel: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ styles: {
65
+ type: PropType<import('..').MyStyles>;
66
+ default: () => {
67
+ readonly group: {
68
+ readonly root: "group";
69
+ readonly label: "text-primary text-lg font-bold";
70
+ readonly item: "group-item";
71
+ };
72
+ readonly verticalLayout: {
73
+ readonly root: "flex flex-col gap-x-2";
74
+ readonly item: "w-full";
75
+ };
76
+ readonly horizontalLayout: {
77
+ readonly root: "flex flex-row gap-x-2";
78
+ readonly item: "w-full";
79
+ };
80
+ readonly arrayList: {
81
+ readonly root: "fieldset";
82
+ readonly legend: "fieldset-legend text-xl capitalize";
83
+ };
84
+ readonly control: {
85
+ readonly root: "fieldset";
86
+ readonly wrapper: "fieldset";
87
+ readonly label: "fieldset-legend";
88
+ readonly error: "";
89
+ readonly input: "input";
90
+ readonly textarea: "input h-32";
91
+ readonly checkbox: "checkbox";
92
+ readonly select: "input pr-14";
93
+ readonly description: "form-control--description label text-xs text-gray-500";
94
+ };
95
+ readonly fixedArrayList: {
96
+ readonly root: "flex flex-row gap-x-2";
97
+ readonly item: "w-full";
98
+ };
99
+ };
100
+ };
101
+ };
@@ -0,0 +1,11 @@
1
+ import { PropType } from 'vue';
2
+ import { IconProp } from './icon-list';
3
+ import { Size } from '../const/size';
4
+ export declare const IconProperties: {
5
+ icon: {
6
+ type: PropType<IconProp>;
7
+ };
8
+ size: {
9
+ type: PropType<Size>;
10
+ };
11
+ };
@@ -0,0 +1,26 @@
1
+ import { Component } from 'vue';
2
+ export declare enum IconEnum {
3
+ Edit = "Edit",
4
+ Delete = "Delete",
5
+ BarsArrowDown = "BarsArrowDown",
6
+ BarsArrowUp = "BarsArrowUp",
7
+ Funnel = "Funnel",
8
+ Close = "Close",
9
+ Plus = "Plus",
10
+ PaperClip = "PaperClip",
11
+ Hamburger = "Hamburger",
12
+ ChevronRight = "ChevronRight",
13
+ ChevronLeft = "ChevronLeft",
14
+ ChevronDown = "ChevronDown",
15
+ ChevronUp = "ChevronUp",
16
+ DblChevronLeft = "DblChevronLeft",
17
+ DblChevronRight = "DblChevronRight",
18
+ Language = "Language",
19
+ Check = "Check",
20
+ View = "View",
21
+ Text = "Text",
22
+ Link = "Link"
23
+ }
24
+ export declare const IconMap: Record<IconEnum, Component>;
25
+ export type IconDef = keyof typeof IconMap;
26
+ export type IconProp = IconDef | Component;
@@ -0,0 +1,16 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ icon: {
3
+ type: import('vue').PropType<import('./icon-list').IconProp>;
4
+ };
5
+ size: {
6
+ type: import('vue').PropType<import('..').Size>;
7
+ };
8
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
+ icon: {
10
+ type: import('vue').PropType<import('./icon-list').IconProp>;
11
+ };
12
+ size: {
13
+ type: import('vue').PropType<import('..').Size>;
14
+ };
15
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export * from './icon-list';
2
+ export * from './Icon.properties';
3
+ export { default as Icon } from './icon.vue';
@@ -0,0 +1 @@
1
+ export { default as Loading } from './loading.vue';
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ loading: boolean;
3
+ };
4
+ 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>;
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { MenuWithItems } from './menu.type';
2
+ type __VLS_Props = {
3
+ items: Array<MenuWithItems>;
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, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export { default as Menu } from './menu.vue';
2
+ export * from './menu.type';
3
+ export { default as SubMenu } from './sub-menu.vue';
4
+ export { default as Dropdown } from './dropdown.vue';
@@ -0,0 +1,5 @@
1
+ import { MenuWithItems } from './menu.type';
2
+ declare const _default: import('vue').DefineComponent<MenuWithItems, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MenuWithItems> & Readonly<{}>, {
3
+ disabled: boolean;
4
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ export default _default;
@@ -0,0 +1,15 @@
1
+ export type MenuAction = () => void | {
2
+ routerLink: string;
3
+ params?: Record<string, string>;
4
+ };
5
+ export type MenuWithItems = {
6
+ label: string;
7
+ items?: MenuWithItems[];
8
+ action?: MenuAction;
9
+ disabled?: boolean;
10
+ };
11
+ export type Breadcrumb = {
12
+ label: string;
13
+ routerLink?: string;
14
+ params?: Record<string, string>;
15
+ };
@@ -0,0 +1,7 @@
1
+ import { Breadcrumb, MenuWithItems } from './menu.type';
2
+ type __VLS_Props = {
3
+ menu: Array<MenuWithItems>;
4
+ breadcrumbs?: Array<Breadcrumb>;
5
+ };
6
+ 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, {}, HTMLElement>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { MenuWithItems } from './menu.type';
2
+ type __VLS_Props = MenuWithItems & {
3
+ btnClass: string;
4
+ disableArrow?: boolean;
5
+ };
6
+ 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, {}, HTMLDivElement>;
7
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { ConfirmModalProps, ConfirmResult } from './modal.model';
2
+ declare const _default: import('vue').DefineComponent<ConfirmModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ closeModal: (args_0: ConfirmResult) => any;
4
+ }, string, import('vue').PublicProps, Readonly<ConfirmModalProps> & Readonly<{
5
+ onCloseModal?: ((args_0: ConfirmResult) => any) | undefined;
6
+ }>, {
7
+ confirmLabel: string;
8
+ cancelLabel: string;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDialogElement>;
10
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export { default as ConfirmModal } from './confirmModal.vue';
2
+ export { default as Modal } from './modal.vue';
3
+ export { default as ModalWrapper } from './modalWrapper.vue';
4
+ export * from './modal.properties';
5
+ export * from './modal.service';
6
+ export * from './modal.model';
@@ -0,0 +1,17 @@
1
+ export type ModalWrapperModel<PROPS extends CloseProps<RESULT>, RESULT> = {
2
+ id: string;
3
+ component: any;
4
+ props: PROPS;
5
+ };
6
+ export type CloseProps<RESULT> = {
7
+ onClose: (result: RESULT) => void;
8
+ };
9
+ export type ConfirmResult = {
10
+ confirmed: boolean;
11
+ };
12
+ export type ConfirmModalProps = {
13
+ title: string;
14
+ message: string;
15
+ confirmLabel?: string;
16
+ cancelLabel?: string;
17
+ };
@@ -0,0 +1,30 @@
1
+ import { PropType } from 'vue';
2
+ import { Size } from '../const';
3
+ export declare const ModalProperties: {
4
+ modalTitle: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ };
8
+ buttonLabel: {
9
+ type: StringConstructor;
10
+ };
11
+ buttonSaveLabel: {
12
+ type: StringConstructor;
13
+ };
14
+ data: {
15
+ default: undefined;
16
+ };
17
+ open: {
18
+ type: BooleanConstructor;
19
+ default: false;
20
+ };
21
+ disableClose: {
22
+ type: BooleanConstructor;
23
+ default: false;
24
+ };
25
+ width: {
26
+ type: PropType<Size>;
27
+ default: string;
28
+ };
29
+ };
30
+ export declare const ModalEmits: string[];
@@ -0,0 +1,15 @@
1
+ import { CloseProps, ConfirmModalProps, ConfirmResult, ModalWrapperModel } from './modal.model';
2
+ type ModalUnknown = ModalWrapperModel<CloseProps<unknown>, unknown>;
3
+ export declare class ModalService {
4
+ private static instance;
5
+ showModal: import('vue').Ref<number | boolean, number | boolean>;
6
+ modals: ModalUnknown[];
7
+ private openModal;
8
+ private closeModal;
9
+ static showConfirm<PROPS extends ConfirmModalProps & CloseProps<ConfirmResult>>(props: PROPS): void;
10
+ static openModal<PROPS extends CloseProps<RESULT>, RESULT>(modal: Omit<ModalWrapperModel<PROPS, RESULT>, 'id'>): void;
11
+ static getInstance(): ModalService;
12
+ static closeAll(): void;
13
+ private closeAll;
14
+ }
15
+ export {};
@@ -0,0 +1,82 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ content?(_: {}): any;
5
+ actions?(_: {}): any;
6
+ };
7
+ refs: {
8
+ dialogRef: HTMLDialogElement;
9
+ };
10
+ rootEl: HTMLDialogElement;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
14
+ modalTitle: {
15
+ type: StringConstructor;
16
+ required: true;
17
+ };
18
+ buttonLabel: {
19
+ type: StringConstructor;
20
+ };
21
+ buttonSaveLabel: {
22
+ type: StringConstructor;
23
+ };
24
+ data: {
25
+ default: undefined;
26
+ };
27
+ open: {
28
+ type: BooleanConstructor;
29
+ default: false;
30
+ };
31
+ disableClose: {
32
+ type: BooleanConstructor;
33
+ default: false;
34
+ };
35
+ width: {
36
+ type: import('vue').PropType<import('../const/size').Size>;
37
+ default: string;
38
+ };
39
+ }>, {
40
+ closeModal: () => void;
41
+ openModal: () => void;
42
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
43
+ modalTitle: {
44
+ type: StringConstructor;
45
+ required: true;
46
+ };
47
+ buttonLabel: {
48
+ type: StringConstructor;
49
+ };
50
+ buttonSaveLabel: {
51
+ type: StringConstructor;
52
+ };
53
+ data: {
54
+ default: undefined;
55
+ };
56
+ open: {
57
+ type: BooleanConstructor;
58
+ default: false;
59
+ };
60
+ disableClose: {
61
+ type: BooleanConstructor;
62
+ default: false;
63
+ };
64
+ width: {
65
+ type: import('vue').PropType<import('../const/size').Size>;
66
+ default: string;
67
+ };
68
+ }>> & Readonly<{}>, {
69
+ data: undefined;
70
+ open: boolean;
71
+ disableClose: boolean;
72
+ width: import('../const/size').Size;
73
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
74
+ dialogRef: HTMLDialogElement;
75
+ }, HTMLDialogElement>;
76
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
77
+ export default _default;
78
+ type __VLS_WithTemplateSlots<T, S> = T & {
79
+ new (): {
80
+ $slots: S;
81
+ };
82
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ghentcdh/ui",
3
3
  "author": "GhentCDH",
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "main": "./index.js",
6
6
  "module": "./index.mjs",
7
7
  "types": "./index.d.ts",
@@ -22,7 +22,26 @@
22
22
  "*.css",
23
23
  "*.md",
24
24
  "assets/**",
25
- "lib/**"
25
+ "alert/**",
26
+ "button/**",
27
+ "card/**",
28
+ "collapse/**",
29
+ "composables/**",
30
+ "const/**",
31
+ "directives/**",
32
+ "drawer/**",
33
+ "filter/**",
34
+ "form/**",
35
+ "icons/**",
36
+ "loading/**",
37
+ "menu/**",
38
+ "modal/**",
39
+ "shell/**",
40
+ "table/**",
41
+ "test-utils/**",
42
+ "toast/**",
43
+ "tree/**",
44
+ "utils/**"
26
45
  ],
27
46
  "sideEffects": false,
28
47
  "peerDependencies": {
@@ -0,0 +1,11 @@
1
+ export type MenuItem = {
2
+ label: string;
3
+ routerLink: string;
4
+ params?: Record<string, string>;
5
+ };
6
+ export type ShellMenu = MenuItem[];
7
+ export type User = {
8
+ name: string;
9
+ email: string;
10
+ avatar: string;
11
+ };
@@ -0,0 +1,31 @@
1
+ import { ShellMenu, User } from './menu.type';
2
+ type __VLS_Props = {
3
+ title: string;
4
+ menu: ShellMenu;
5
+ user: User | undefined;
6
+ version: string;
7
+ widthSidebar?: number;
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: any;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ logout: () => any;
20
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
+ onLogout?: (() => any) | undefined;
22
+ }>, {
23
+ widthSidebar: number;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ export default _default;
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,26 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ data: {
3
+ type: ObjectConstructor;
4
+ required: true;
5
+ };
6
+ column: {
7
+ type: ObjectConstructor;
8
+ required: true;
9
+ };
10
+ options: {
11
+ type: ObjectConstructor;
12
+ };
13
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
+ data: {
15
+ type: ObjectConstructor;
16
+ required: true;
17
+ };
18
+ column: {
19
+ type: ObjectConstructor;
20
+ required: true;
21
+ };
22
+ options: {
23
+ type: ObjectConstructor;
24
+ };
25
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
26
+ export default _default;
@@ -0,0 +1,13 @@
1
+ export declare const TextCellProperties: {
2
+ data: {
3
+ type: ObjectConstructor;
4
+ required: true;
5
+ };
6
+ column: {
7
+ type: ObjectConstructor;
8
+ required: true;
9
+ };
10
+ options: {
11
+ type: ObjectConstructor;
12
+ };
13
+ };
@@ -0,0 +1,26 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ data: {
3
+ type: ObjectConstructor;
4
+ required: true;
5
+ };
6
+ column: {
7
+ type: ObjectConstructor;
8
+ required: true;
9
+ };
10
+ options: {
11
+ type: ObjectConstructor;
12
+ };
13
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
+ data: {
15
+ type: ObjectConstructor;
16
+ required: true;
17
+ };
18
+ column: {
19
+ type: ObjectConstructor;
20
+ required: true;
21
+ };
22
+ options: {
23
+ type: ObjectConstructor;
24
+ };
25
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { PropType } from 'vue';
2
+ import { ColumnDef } from '../../../../core/types/src/index.ts';
3
+ export declare const SortHeaderProperties: {
4
+ column: {
5
+ type: PropType<ColumnDef>;
6
+ required: true;
7
+ };
8
+ sortColumn: {
9
+ type: StringConstructor;
10
+ };
11
+ sortDirection: {
12
+ type: PropType<"asc" | "desc">;
13
+ };
14
+ };
15
+ export declare const SortHeaderEmits: string[];
@@ -0,0 +1,24 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ column: {
3
+ type: import('vue').PropType<import('../../../../core/types/src/index.ts').ColumnDef>;
4
+ required: true;
5
+ };
6
+ sortColumn: {
7
+ type: StringConstructor;
8
+ };
9
+ sortDirection: {
10
+ type: import('vue').PropType<"asc" | "desc">;
11
+ };
12
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ column: {
14
+ type: import('vue').PropType<import('../../../../core/types/src/index.ts').ColumnDef>;
15
+ required: true;
16
+ };
17
+ sortColumn: {
18
+ type: StringConstructor;
19
+ };
20
+ sortDirection: {
21
+ type: import('vue').PropType<"asc" | "desc">;
22
+ };
23
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
24
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export { default as PaginationComponent } from './pagination.component.vue';
2
+ export { default as TableComponent } from './table.component.vue';
3
+ /**
4
+ * @deprecated use TableComponent instead
5
+ */
6
+ export { default as Table } from './table.component.vue';
7
+ export { default as TextCell } from './cells/text.cell.vue';
8
+ export { default as BooleanCell } from './cells/boolean.cell.vue';
9
+ export * from './table.model';
@@ -0,0 +1,30 @@
1
+ export type PageProps = {
2
+ currentPage: number;
3
+ page: number;
4
+ label: string;
5
+ neverActive?: boolean;
6
+ disabled?: boolean;
7
+ };
8
+ export declare const PaginationButtonProperties: {
9
+ currentPage: {
10
+ type: NumberConstructor;
11
+ required: true;
12
+ };
13
+ page: {
14
+ type: NumberConstructor;
15
+ required: true;
16
+ };
17
+ label: {
18
+ type: StringConstructor;
19
+ required: true;
20
+ };
21
+ neverActive: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ disabled: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ };
30
+ export declare const PaginationButtonEmits: string[];