@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,5 @@
1
+ export type AlertType = 'success' | 'error' | 'info' | 'warning';
2
+ export type AlertModel = {
3
+ message: string;
4
+ type: AlertType;
5
+ };
@@ -0,0 +1,22 @@
1
+ import { AlertType } from './alert.model.ts';
2
+ type __VLS_Props = {
3
+ message: string;
4
+ type: AlertType;
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ 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, {}, HTMLDivElement>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Alert } from './alert.vue';
2
+ export * from './alert.model';
@@ -0,0 +1,45 @@
1
+ import { PropType } from 'vue';
2
+ import { ButtonTag, ButtonType } from './const';
3
+ import { Color } from '../const/colors';
4
+ import { Size } from '../const/size';
5
+ import { IconProp } from '../icons/icon-list';
6
+ export declare const BtnProperties: {
7
+ href: {
8
+ type: StringConstructor;
9
+ };
10
+ disabled: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ tooltip: {
15
+ type: StringConstructor;
16
+ };
17
+ as: {
18
+ type: PropType<ButtonTag>;
19
+ default: ButtonTag;
20
+ };
21
+ icon: {
22
+ type: PropType<IconProp>;
23
+ };
24
+ type: {
25
+ type: PropType<ButtonType>;
26
+ default: ButtonType;
27
+ };
28
+ outline: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ color: {
33
+ type: PropType<Color>;
34
+ default: Color;
35
+ };
36
+ size: {
37
+ type: PropType<Size>;
38
+ default: Size;
39
+ };
40
+ square: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ };
45
+ export declare const BtnEmits: string[];
@@ -0,0 +1,27 @@
1
+ import { PropType } from 'vue';
2
+ import { ButtonType } from './const';
3
+ import { Color } from '../const/colors';
4
+ import { Size } from '../const/size';
5
+ import { IconProp } from '../icons/icon-list';
6
+ export declare const BtnBadgeProperties: {
7
+ icon: {
8
+ type: PropType<IconProp>;
9
+ };
10
+ type: {
11
+ type: PropType<ButtonType>;
12
+ default: ButtonType;
13
+ };
14
+ color: {
15
+ type: PropType<Color>;
16
+ default: Color;
17
+ };
18
+ disabled: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ size: {
23
+ type: PropType<Size>;
24
+ default: Size;
25
+ };
26
+ };
27
+ export declare const BtnBadgeEmits: string[];
@@ -0,0 +1,62 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLButtonElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ icon: {
12
+ type: import('vue').PropType<import('../icons').IconProp>;
13
+ };
14
+ type: {
15
+ type: import('vue').PropType<import('./const').ButtonType>;
16
+ default: import('./const').ButtonType;
17
+ };
18
+ color: {
19
+ type: import('vue').PropType<import('../const/colors').Color>;
20
+ default: import('../const/colors').Color;
21
+ };
22
+ disabled: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ size: {
27
+ type: import('vue').PropType<import('../const/size').Size>;
28
+ default: import('../const/size').Size;
29
+ };
30
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
31
+ icon: {
32
+ type: import('vue').PropType<import('../icons').IconProp>;
33
+ };
34
+ type: {
35
+ type: import('vue').PropType<import('./const').ButtonType>;
36
+ default: import('./const').ButtonType;
37
+ };
38
+ color: {
39
+ type: import('vue').PropType<import('../const/colors').Color>;
40
+ default: import('../const/colors').Color;
41
+ };
42
+ disabled: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ size: {
47
+ type: import('vue').PropType<import('../const/size').Size>;
48
+ default: import('../const/size').Size;
49
+ };
50
+ }>> & Readonly<{}>, {
51
+ size: import('../const/size').Size;
52
+ type: import('./const').ButtonType;
53
+ disabled: boolean;
54
+ color: import('../const/colors').Color;
55
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
56
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
57
+ export default _default;
58
+ type __VLS_WithTemplateSlots<T, S> = T & {
59
+ new (): {
60
+ $slots: S;
61
+ };
62
+ };
@@ -0,0 +1,101 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ href: {
12
+ type: StringConstructor;
13
+ };
14
+ disabled: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ tooltip: {
19
+ type: StringConstructor;
20
+ };
21
+ as: {
22
+ type: import('vue').PropType<import('./const').ButtonTag>;
23
+ default: import('./const').ButtonTag;
24
+ };
25
+ icon: {
26
+ type: import('vue').PropType<import('../icons').IconProp>;
27
+ };
28
+ type: {
29
+ type: import('vue').PropType<import('./const').ButtonType>;
30
+ default: import('./const').ButtonType;
31
+ };
32
+ outline: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ color: {
37
+ type: import('vue').PropType<import('../const/colors').Color>;
38
+ default: import('../const/colors').Color;
39
+ };
40
+ size: {
41
+ type: import('vue').PropType<import('../const/size').Size>;
42
+ default: import('../const/size').Size;
43
+ };
44
+ square: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
+ href: {
50
+ type: StringConstructor;
51
+ };
52
+ disabled: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ tooltip: {
57
+ type: StringConstructor;
58
+ };
59
+ as: {
60
+ type: import('vue').PropType<import('./const').ButtonTag>;
61
+ default: import('./const').ButtonTag;
62
+ };
63
+ icon: {
64
+ type: import('vue').PropType<import('../icons').IconProp>;
65
+ };
66
+ type: {
67
+ type: import('vue').PropType<import('./const').ButtonType>;
68
+ default: import('./const').ButtonType;
69
+ };
70
+ outline: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ color: {
75
+ type: import('vue').PropType<import('../const/colors').Color>;
76
+ default: import('../const/colors').Color;
77
+ };
78
+ size: {
79
+ type: import('vue').PropType<import('../const/size').Size>;
80
+ default: import('../const/size').Size;
81
+ };
82
+ square: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ }>> & Readonly<{}>, {
87
+ size: import('../const/size').Size;
88
+ type: import('./const').ButtonType;
89
+ disabled: boolean;
90
+ color: import('../const/colors').Color;
91
+ as: import('./const').ButtonTag;
92
+ outline: boolean;
93
+ square: boolean;
94
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
95
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
96
+ export default _default;
97
+ type __VLS_WithTemplateSlots<T, S> = T & {
98
+ new (): {
99
+ $slots: S;
100
+ };
101
+ };
@@ -0,0 +1,9 @@
1
+ export declare enum ButtonType {
2
+ button = "button",
3
+ submit = "submit",
4
+ reset = "reset"
5
+ }
6
+ export declare enum ButtonTag {
7
+ a = "a",
8
+ button = "button"
9
+ }
@@ -0,0 +1,5 @@
1
+ export * from './const';
2
+ export * from './Btn.properties';
3
+ export * from './BtnBadge.properties';
4
+ export { default as Btn } from './btn.vue';
5
+ export { default as BtnBadge } from './btn-badge.vue';
@@ -0,0 +1,20 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ title?(_: {}): any;
5
+ default?(_: {}): any;
6
+ content?(_: {}): any;
7
+ actions?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: HTMLDivElement;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,35 @@
1
+ import { PropType } from 'vue';
2
+ import { IconProp } from '../icons/icon-list';
3
+ export type CollapseAction = {
4
+ label?: string;
5
+ icon?: IconProp;
6
+ tooltip?: string;
7
+ disabled?: boolean;
8
+ onClick: () => void;
9
+ };
10
+ export declare const CollapseProperties: {
11
+ title: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ opened: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ heightFull: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ scrollable: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ disabled: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ actions: {
32
+ type: PropType<Array<CollapseAction>>;
33
+ default: () => never[];
34
+ };
35
+ };
@@ -0,0 +1,75 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ list?(_: {}): any;
6
+ footer?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLDivElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
+ title: {
14
+ type: StringConstructor;
15
+ required: true;
16
+ };
17
+ opened: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ heightFull: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ scrollable: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ disabled: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ actions: {
34
+ type: import('vue').PropType<Array<import('./Collapse.properties').CollapseAction>>;
35
+ default: () => never[];
36
+ };
37
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
38
+ title: {
39
+ type: StringConstructor;
40
+ required: true;
41
+ };
42
+ opened: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ heightFull: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ scrollable: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ disabled: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ actions: {
59
+ type: import('vue').PropType<Array<import('./Collapse.properties').CollapseAction>>;
60
+ default: () => never[];
61
+ };
62
+ }>> & Readonly<{}>, {
63
+ disabled: boolean;
64
+ actions: import('./Collapse.properties').CollapseAction[];
65
+ opened: boolean;
66
+ heightFull: boolean;
67
+ scrollable: boolean;
68
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
69
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
70
+ export default _default;
71
+ type __VLS_WithTemplateSlots<T, S> = T & {
72
+ new (): {
73
+ $slots: S;
74
+ };
75
+ };
@@ -0,0 +1,17 @@
1
+ export declare const CollapseRowProperties: {
2
+ title: {
3
+ type: StringConstructor;
4
+ };
5
+ label: {
6
+ type: StringConstructor;
7
+ };
8
+ labelLink: {
9
+ type: StringConstructor;
10
+ };
11
+ description: {
12
+ type: StringConstructor;
13
+ };
14
+ descriptionLink: {
15
+ type: StringConstructor;
16
+ };
17
+ };
@@ -0,0 +1,49 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLLIElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ title: {
12
+ type: StringConstructor;
13
+ };
14
+ label: {
15
+ type: StringConstructor;
16
+ };
17
+ labelLink: {
18
+ type: StringConstructor;
19
+ };
20
+ description: {
21
+ type: StringConstructor;
22
+ };
23
+ descriptionLink: {
24
+ type: StringConstructor;
25
+ };
26
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
+ title: {
28
+ type: StringConstructor;
29
+ };
30
+ label: {
31
+ type: StringConstructor;
32
+ };
33
+ labelLink: {
34
+ type: StringConstructor;
35
+ };
36
+ description: {
37
+ type: StringConstructor;
38
+ };
39
+ descriptionLink: {
40
+ type: StringConstructor;
41
+ };
42
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
43
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
+ export default _default;
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -0,0 +1,3 @@
1
+ export { default as Collapse } from './Collapse.vue';
2
+ export { default as CollapseRow } from './CollapseRow.vue';
3
+ export type { CollapseAction } from './Collapse.properties';
@@ -0,0 +1,2 @@
1
+ export { useFocusTrap } from './useFocusTrap';
2
+ export type { UseFocusTrapOptions } from './useFocusTrap';
@@ -0,0 +1,8 @@
1
+ import { Ref } from 'vue';
2
+ export type UseFocusTrapOptions = {
3
+ containerRef: Ref<HTMLElement | null>;
4
+ isActive: Ref<boolean>;
5
+ onEscape?: () => void;
6
+ restoreFocus?: boolean;
7
+ };
8
+ export declare const useFocusTrap: ({ containerRef, isActive, onEscape, restoreFocus, }: UseFocusTrapOptions) => void;
@@ -0,0 +1,8 @@
1
+ export declare enum Color {
2
+ blank = "blank",
3
+ primary = "primary",
4
+ secondary = "secondary",
5
+ error = "error"
6
+ }
7
+ export declare const ButtonColor: Record<Color, string>;
8
+ export declare const BadgeColor: Record<Color, string>;
@@ -0,0 +1,2 @@
1
+ export { Color } from './colors';
2
+ export * from './size';
@@ -0,0 +1,4 @@
1
+ export type Size = 'xs' | 'sm' | 'lg' | 'xl';
2
+ export declare const ModalSize: Record<Size, string>;
3
+ export declare const ButtonSize: Record<Size, string>;
4
+ export declare const BadgeSize: Record<Size, string>;
@@ -0,0 +1,6 @@
1
+ export declare const addClickOutsideEventListener: (targetElement: any, callback: () => void) => ((event: Event) => void) | null;
2
+ export declare const removeClickOutsideEventListener: (eventListener: any) => void;
3
+ export declare const ClickOutside: {
4
+ beforeMount(el: any, binding: any): void;
5
+ unmounted(el: any): void;
6
+ };
@@ -0,0 +1,18 @@
1
+ export declare const DrawerProperties: {
2
+ widthLeft: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ };
6
+ widthRight: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ initialLeftOpen: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ initialRightOpen: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ };
@@ -0,0 +1,58 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ 'left-drawer'?(_: {}): any;
5
+ default?(_: {}): any;
6
+ 'right-drawer'?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
+ widthLeft: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ };
17
+ widthRight: {
18
+ type: NumberConstructor;
19
+ default: number;
20
+ };
21
+ initialLeftOpen: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ initialRightOpen: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
30
+ widthLeft: {
31
+ type: NumberConstructor;
32
+ default: number;
33
+ };
34
+ widthRight: {
35
+ type: NumberConstructor;
36
+ default: number;
37
+ };
38
+ initialLeftOpen: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ initialRightOpen: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ }>> & Readonly<{}>, {
47
+ widthLeft: number;
48
+ widthRight: number;
49
+ initialLeftOpen: boolean;
50
+ initialRightOpen: boolean;
51
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
52
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
53
+ export default _default;
54
+ type __VLS_WithTemplateSlots<T, S> = T & {
55
+ new (): {
56
+ $slots: S;
57
+ };
58
+ };
@@ -0,0 +1 @@
1
+ export { default as Drawer } from './drawer.vue';
@@ -0,0 +1,46 @@
1
+ import { PropType } from 'vue';
2
+ export type FilterItem = {
3
+ id: string;
4
+ label: string;
5
+ count: number;
6
+ color?: string;
7
+ };
8
+ export declare const FilterProperties: {
9
+ title: {
10
+ type: StringConstructor;
11
+ required: true;
12
+ };
13
+ items: {
14
+ type: PropType<Array<Record<string, any>>>;
15
+ required: true;
16
+ };
17
+ modelValue: {
18
+ type: PropType<Array<FilterItem | any>>;
19
+ default: () => never[];
20
+ };
21
+ labelKey: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ valueKey: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ colorKey: {
30
+ type: StringConstructor;
31
+ default: undefined;
32
+ };
33
+ countKey: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ counts: {
38
+ type: PropType<Record<string, number>>;
39
+ default: undefined;
40
+ };
41
+ opened: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ };
46
+ export declare const FilterEmits: string[];
@@ -0,0 +1,8 @@
1
+ import { Ref } from 'vue';
2
+ export declare const useFilter: (items: Ref<Array<Record<string, any>>>, modelValue: Ref<Array<any>>, valueKey: Ref<string>, emit: (event: "update:modelValue", value: Array<any>) => void) => {
3
+ isSelected: (id: any) => boolean;
4
+ selectedLabel: import('vue').ComputedRef<string>;
5
+ selectAll: () => void;
6
+ selectNone: () => void;
7
+ toggleItem: (id: any, checked: boolean) => void;
8
+ };