@ghentcdh/ui 1.0.1 → 1.0.3
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.
- package/alert/alert.model.d.ts +5 -0
- package/alert/alert.vue.d.ts +22 -0
- package/alert/index.d.ts +2 -0
- package/button/Btn.properties.d.ts +45 -0
- package/button/BtnBadge.properties.d.ts +27 -0
- package/button/btn-badge.vue.d.ts +62 -0
- package/button/btn.vue.d.ts +101 -0
- package/button/const.d.ts +9 -0
- package/button/index.d.ts +5 -0
- package/card/card.vue.d.ts +20 -0
- package/collapse/Collapse.properties.d.ts +35 -0
- package/collapse/Collapse.vue.d.ts +75 -0
- package/collapse/CollapseRow.properties.d.ts +17 -0
- package/collapse/CollapseRow.vue.d.ts +49 -0
- package/collapse/index.d.ts +3 -0
- package/composables/index.d.ts +2 -0
- package/composables/useFocusTrap.d.ts +8 -0
- package/const/colors.d.ts +8 -0
- package/const/index.d.ts +2 -0
- package/const/size.d.ts +4 -0
- package/directives/click-outside.directive.d.ts +6 -0
- package/drawer/drawer.properties.d.ts +18 -0
- package/drawer/drawer.vue.d.ts +58 -0
- package/drawer/index.d.ts +1 -0
- package/filter/Filter.properties.d.ts +46 -0
- package/filter/composables/useFilter.d.ts +8 -0
- package/filter/filter.vue.d.ts +84 -0
- package/filter/index.d.ts +3 -0
- package/form/Checkbox.properties.d.ts +83 -0
- package/form/Checkbox.vue.d.ts +216 -0
- package/form/Input.properties.d.ts +87 -0
- package/form/Input.vue.d.ts +225 -0
- package/form/InputNumber.properties.d.ts +87 -0
- package/form/InputNumber.vue.d.ts +225 -0
- package/form/Textarea.properties.d.ts +87 -0
- package/form/Textarea.vue.d.ts +225 -0
- package/form/core/ControlWrapper.properties.d.ts +84 -0
- package/form/core/ControlWrapper.vue.d.ts +221 -0
- package/form/core/emits.d.ts +7 -0
- package/form/core/properties.d.ts +25 -0
- package/form/core/styles.d.ts +36 -0
- package/form/core/utils/style.d.ts +6 -0
- package/form/index.d.ts +12 -0
- package/form/select/AutoComplete.properties.d.ts +139 -0
- package/form/select/AutoComplete.vue.d.ts +328 -0
- package/form/select/ListResults.properties.d.ts +24 -0
- package/form/select/ListResults.vue.d.ts +46 -0
- package/form/select/MultiSelect.vue.d.ts +295 -0
- package/form/select/SelectComponent.vue.d.ts +259 -0
- package/form/select/SelectWrapper.properties.d.ts +222 -0
- package/form/select/SelectWrapper.vue.d.ts +408 -0
- package/form/select/composables/useOptions.d.ts +19 -0
- package/form/select/composables/useSearch.d.ts +6 -0
- package/form/text/Markdown.vue.d.ts +234 -0
- package/form/text/MarkdownComponent.properties.d.ts +101 -0
- package/icons/Icon.properties.d.ts +11 -0
- package/icons/icon-list.d.ts +26 -0
- package/icons/icon.vue.d.ts +16 -0
- package/icons/index.d.ts +3 -0
- package/loading/index.d.ts +1 -0
- package/loading/loading.vue.d.ts +5 -0
- package/menu/dropdown.vue.d.ts +6 -0
- package/menu/index.d.ts +4 -0
- package/menu/menu-item.vue.d.ts +5 -0
- package/menu/menu.type.d.ts +15 -0
- package/menu/menu.vue.d.ts +7 -0
- package/menu/sub-menu.vue.d.ts +7 -0
- package/modal/confirmModal.vue.d.ts +10 -0
- package/modal/index.d.ts +6 -0
- package/modal/modal.model.d.ts +17 -0
- package/modal/modal.properties.d.ts +30 -0
- package/modal/modal.service.d.ts +15 -0
- package/modal/modal.vue.d.ts +82 -0
- package/modal/modalWrapper.vue.d.ts +2 -0
- package/package.json +21 -2
- package/shell/menu.type.d.ts +11 -0
- package/shell/shell.component.vue.d.ts +31 -0
- package/table/cells/boolean.cell.vue.d.ts +26 -0
- package/table/cells/text.cell.properties.d.ts +13 -0
- package/table/cells/text.cell.vue.d.ts +26 -0
- package/table/header/sort.header.properties.d.ts +15 -0
- package/table/header/sort.header.vue.d.ts +24 -0
- package/table/index.d.ts +9 -0
- package/table/pagination-button.component.properties.d.ts +30 -0
- package/table/pagination-button.component.vue.d.ts +47 -0
- package/table/pagination.component.properties.d.ts +15 -0
- package/table/pagination.component.vue.d.ts +32 -0
- package/table/table.component.properties.d.ts +34 -0
- package/table/table.component.vue.d.ts +46 -0
- package/table/table.model.d.ts +10 -0
- package/test-utils/withSetup.d.ts +4 -0
- package/toast/index.d.ts +3 -0
- package/toast/notification-message.d.ts +7 -0
- package/toast/notification-message.vue.d.ts +7 -0
- package/toast/notification.service.d.ts +24 -0
- package/toast/notifications.vue.d.ts +2 -0
- package/tree/TreeItem.vue.d.ts +15 -0
- package/tree/TreeView.vue.d.ts +7 -0
- package/tree/index.d.ts +1 -0
- package/tree/props.d.ts +13 -0
- package/utils/hasCustomEventListener.d.ts +1 -0
- package/utils/index.d.ts +1 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
currentPage: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
page: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
neverActive: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
currentPage: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
page: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
label: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
neverActive: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
disabled: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
neverActive: boolean;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const PaginationComponentProperties: {
|
|
2
|
+
totalItems: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
itemsPerPage: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
currentPage: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const PaginationComponentEmits: string[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
totalItems: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
itemsPerPage: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
currentPage: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
totalItems: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
itemsPerPage: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
currentPage: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
currentPage: number;
|
|
29
|
+
totalItems: number;
|
|
30
|
+
itemsPerPage: number;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { DisplayColumn, TableAction } from './table.model';
|
|
3
|
+
export type TablePage = {
|
|
4
|
+
count: number;
|
|
5
|
+
pageSize: number;
|
|
6
|
+
page: number;
|
|
7
|
+
};
|
|
8
|
+
export type TableSort = {
|
|
9
|
+
sortColumn?: string;
|
|
10
|
+
sortDirection: 'asc' | 'desc';
|
|
11
|
+
};
|
|
12
|
+
export declare const TableComponentProperties: {
|
|
13
|
+
loading: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: false;
|
|
16
|
+
};
|
|
17
|
+
actions: {
|
|
18
|
+
type: PropType<TableAction[]>;
|
|
19
|
+
};
|
|
20
|
+
data: {
|
|
21
|
+
type: PropType<any[]>;
|
|
22
|
+
};
|
|
23
|
+
displayColumns: {
|
|
24
|
+
type: PropType<DisplayColumn[]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
page: {
|
|
28
|
+
type: PropType<TablePage>;
|
|
29
|
+
};
|
|
30
|
+
sort: {
|
|
31
|
+
type: PropType<TableSort>;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const TableComponentEmits: string[];
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
loading: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: false;
|
|
5
|
+
};
|
|
6
|
+
actions: {
|
|
7
|
+
type: import('vue').PropType<import('./table.model').TableAction[]>;
|
|
8
|
+
};
|
|
9
|
+
data: {
|
|
10
|
+
type: import('vue').PropType<any[]>;
|
|
11
|
+
};
|
|
12
|
+
displayColumns: {
|
|
13
|
+
type: import('vue').PropType<import('./table.model').DisplayColumn[]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
page: {
|
|
17
|
+
type: import('vue').PropType<import('./table.component.properties').TablePage>;
|
|
18
|
+
};
|
|
19
|
+
sort: {
|
|
20
|
+
type: import('vue').PropType<import('./table.component.properties').TableSort>;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
loading: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: false;
|
|
26
|
+
};
|
|
27
|
+
actions: {
|
|
28
|
+
type: import('vue').PropType<import('./table.model').TableAction[]>;
|
|
29
|
+
};
|
|
30
|
+
data: {
|
|
31
|
+
type: import('vue').PropType<any[]>;
|
|
32
|
+
};
|
|
33
|
+
displayColumns: {
|
|
34
|
+
type: import('vue').PropType<import('./table.model').DisplayColumn[]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
page: {
|
|
38
|
+
type: import('vue').PropType<import('./table.component.properties').TablePage>;
|
|
39
|
+
};
|
|
40
|
+
sort: {
|
|
41
|
+
type: import('vue').PropType<import('./table.component.properties').TableSort>;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {
|
|
44
|
+
loading: boolean;
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ColumnDef } from '../../../core/types/src/index.ts';
|
|
2
|
+
import { IconEnum } from '../icons';
|
|
3
|
+
export type TableAction = {
|
|
4
|
+
label?: string;
|
|
5
|
+
icon?: IconEnum;
|
|
6
|
+
action: <T>(data: T) => void;
|
|
7
|
+
};
|
|
8
|
+
export type DisplayColumn = ColumnDef & {
|
|
9
|
+
component: any;
|
|
10
|
+
};
|
package/toast/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NotificationType } from './notification-message.ts';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
message: string;
|
|
4
|
+
type: NotificationType;
|
|
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,24 @@
|
|
|
1
|
+
import { NotificationMessage, NotificationType } from './notification-message.ts';
|
|
2
|
+
export declare class NotificationService {
|
|
3
|
+
private static instance;
|
|
4
|
+
notifications: import('vue').Ref<{
|
|
5
|
+
id: string;
|
|
6
|
+
message: string;
|
|
7
|
+
type: NotificationType;
|
|
8
|
+
duration: number;
|
|
9
|
+
}[], NotificationMessage[] | {
|
|
10
|
+
id: string;
|
|
11
|
+
message: string;
|
|
12
|
+
type: NotificationType;
|
|
13
|
+
duration: number;
|
|
14
|
+
}[]>;
|
|
15
|
+
private addNotification;
|
|
16
|
+
private removeNotificationAfterDuration;
|
|
17
|
+
private removeNotification;
|
|
18
|
+
static getInstance(): NotificationService;
|
|
19
|
+
static info(message: string): void;
|
|
20
|
+
static success(message: string): void;
|
|
21
|
+
static warning(message: string): void;
|
|
22
|
+
static error(message: string): void;
|
|
23
|
+
static removeNotification(id: string): void;
|
|
24
|
+
}
|
|
@@ -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, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TreeNode } from './props';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
active?: string;
|
|
4
|
+
node: TreeNode;
|
|
5
|
+
expanded: Set<string>;
|
|
6
|
+
isExpanded: (id: string) => boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
+
select: (node: TreeNode) => any;
|
|
10
|
+
toggle: (node: TreeNode) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onSelect?: ((node: TreeNode) => any) | undefined;
|
|
13
|
+
onToggle?: ((node: TreeNode) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TreeNode, TreeProps } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<TreeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
select: (node: TreeNode) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<TreeProps> & Readonly<{
|
|
5
|
+
onSelect?: ((node: TreeNode) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
7
|
+
export default _default;
|
package/tree/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TreeView } from './TreeView.vue';
|
package/tree/props.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function hasCustomEventListener(eventName: string): boolean;
|
package/utils/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './hasCustomEventListener';
|