@adyen/bento-vue2 0.0.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.
- package/README.md +115 -0
- package/dist/@types/components/accordion/accordion.keys.d.ts +1 -0
- package/dist/@types/components/accordion/accordion.types.d.ts +24 -0
- package/dist/@types/components/accordion/accordion.vue.d.ts +57 -0
- package/dist/@types/components/accordion/components/accordion-item.vue.d.ts +35 -0
- package/dist/@types/components/accordion/index.d.ts +3 -0
- package/dist/@types/components/alert/alert.types.d.ts +6 -0
- package/dist/@types/components/alert/alert.vue.d.ts +34 -0
- package/dist/@types/components/alert/index.d.ts +2 -0
- package/dist/@types/components/badge/badge.types.d.ts +7 -0
- package/dist/@types/components/badge/badge.vue.d.ts +32 -0
- package/dist/@types/components/badge/index.d.ts +2 -0
- package/dist/@types/components/button/button.types.d.ts +11 -0
- package/dist/@types/components/button/button.vue.d.ts +68 -0
- package/dist/@types/components/button/components/button-actions/button-actions.types.d.ts +13 -0
- package/dist/@types/components/button/components/button-actions/button-actions.vue.d.ts +33 -0
- package/dist/@types/components/button/components/button-actions/index.d.ts +2 -0
- package/dist/@types/components/button/components/button-group.vue.d.ts +9 -0
- package/dist/@types/components/button/components/loading-button/index.d.ts +2 -0
- package/dist/@types/components/button/components/loading-button/loading-button.types.d.ts +9 -0
- package/dist/@types/components/button/components/loading-button/loading-button.vue.d.ts +55 -0
- package/dist/@types/components/button/index.d.ts +5 -0
- package/dist/@types/components/card/card.types.d.ts +10 -0
- package/dist/@types/components/card/card.vue.d.ts +44 -0
- package/dist/@types/components/card/components/card-image/card-image.vue.d.ts +20 -0
- package/dist/@types/components/card/index.d.ts +3 -0
- package/dist/@types/components/checkbox/checkbox.types.d.ts +2 -0
- package/dist/@types/components/checkbox/checkbox.vue.d.ts +59 -0
- package/dist/@types/components/checkbox/index.d.ts +2 -0
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +10 -0
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +10 -0
- package/dist/@types/components/data-grid/composables/useResizer.d.ts +17 -0
- package/dist/@types/components/data-grid/composables/useSelector.d.ts +11 -0
- package/dist/@types/components/data-grid/composables/useSorter.d.ts +8 -0
- package/dist/@types/components/data-grid/data-grid.types.d.ts +33 -0
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +290 -0
- package/dist/@types/components/data-grid/index.d.ts +2 -0
- package/dist/@types/components/dropdown/components/dropdown-input-container/dropdown-input-container.vue.d.ts +68 -0
- package/dist/@types/components/dropdown/components/dropdown-input-container/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/dropdown-option.vue.d.ts +38 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +86 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/index.d.ts +1 -0
- package/dist/@types/components/dropdown/dropdown.types.d.ts +7 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +59 -0
- package/dist/@types/components/dropdown/index.d.ts +2 -0
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +94 -0
- package/dist/@types/components/filter-bar/components/base-filter/composables/index.d.ts +9 -0
- package/dist/@types/components/filter-bar/components/base-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/text-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/text-filter/text-filter.vue.d.ts +49 -0
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +15 -0
- package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +19 -0
- package/dist/@types/components/filter-bar/index.d.ts +2 -0
- package/dist/@types/components/focus-trap/focus-trap.types.d.ts +18 -0
- package/dist/@types/components/focus-trap/focus-trap.utils.d.ts +8 -0
- package/dist/@types/components/focus-trap/focus-trap.vue.d.ts +39 -0
- package/dist/@types/components/focus-trap/index.d.ts +1 -0
- package/dist/@types/components/input-field/index.d.ts +1 -0
- package/dist/@types/components/input-field/input-field.types.d.ts +13 -0
- package/dist/@types/components/input-field/input-field.vue.d.ts +74 -0
- package/dist/@types/components/input-radio/index.d.ts +1 -0
- package/dist/@types/components/input-radio/input-radio.vue.d.ts +45 -0
- package/dist/@types/components/link/index.d.ts +1 -0
- package/dist/@types/components/link/link.vue.d.ts +25 -0
- package/dist/@types/components/loading-indicator/index.d.ts +2 -0
- package/dist/@types/components/loading-indicator/loading-indicator.types.d.ts +4 -0
- package/dist/@types/components/loading-indicator/loading-indicator.vue.d.ts +39 -0
- package/dist/@types/components/page-header/components/title-item/title-item.vue.d.ts +12 -0
- package/dist/@types/components/page-header/index.d.ts +1 -0
- package/dist/@types/components/page-header/page-header.vue.d.ts +12 -0
- package/dist/@types/components/pagination/components/pagination-context/pagination-context.vue.d.ts +32 -0
- package/dist/@types/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +39 -0
- package/dist/@types/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +35 -0
- package/dist/@types/components/pagination/index.d.ts +1 -0
- package/dist/@types/components/pagination/pagination.vue.d.ts +59 -0
- package/dist/@types/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +20 -0
- package/dist/@types/components/popover/components/popover-image/index.d.ts +1 -0
- package/dist/@types/components/popover/components/popover-image/popover-image.vue.d.ts +20 -0
- package/dist/@types/components/popover/index.d.ts +2 -0
- package/dist/@types/components/popover/popover.types.d.ts +19 -0
- package/dist/@types/components/popover/popover.vue.d.ts +131 -0
- package/dist/@types/components/popper-container/index.d.ts +2 -0
- package/dist/@types/components/popper-container/popper-container.types.d.ts +54 -0
- package/dist/@types/components/popper-container/popper-container.utils.d.ts +23 -0
- package/dist/@types/components/popper-container/popper-container.vue.d.ts +116 -0
- package/dist/@types/components/profile-picture/index.d.ts +2 -0
- package/dist/@types/components/profile-picture/profile-picture.types.d.ts +4 -0
- package/dist/@types/components/profile-picture/profile-picture.vue.d.ts +42 -0
- package/dist/@types/components/segmented-control/components/segmented-option.vue.d.ts +59 -0
- package/dist/@types/components/segmented-control/index.d.ts +3 -0
- package/dist/@types/components/segmented-control/segmented-control.keys.d.ts +1 -0
- package/dist/@types/components/segmented-control/segmented-control.types.d.ts +15 -0
- package/dist/@types/components/segmented-control/segmented-control.vue.d.ts +42 -0
- package/dist/@types/components/status/index.d.ts +2 -0
- package/dist/@types/components/status/status.types.d.ts +8 -0
- package/dist/@types/components/status/status.vue.d.ts +23 -0
- package/dist/@types/components/tabs/components/tab.vue.d.ts +59 -0
- package/dist/@types/components/tabs/index.d.ts +3 -0
- package/dist/@types/components/tabs/tabs.keys.d.ts +1 -0
- package/dist/@types/components/tabs/tabs.types.d.ts +9 -0
- package/dist/@types/components/tabs/tabs.vue.d.ts +17 -0
- package/dist/@types/components/tag/index.d.ts +2 -0
- package/dist/@types/components/tag/tag.types.d.ts +7 -0
- package/dist/@types/components/tag/tag.vue.d.ts +37 -0
- package/dist/@types/components/textarea/index.d.ts +1 -0
- package/dist/@types/components/textarea/textarea.vue.d.ts +43 -0
- package/dist/@types/components/toggle/index.d.ts +2 -0
- package/dist/@types/components/toggle/toggle.types.d.ts +3 -0
- package/dist/@types/components/toggle/toggle.vue.d.ts +60 -0
- package/dist/@types/components/tooltip/index.d.ts +2 -0
- package/dist/@types/components/tooltip/tooltip.types.d.ts +17 -0
- package/dist/@types/components/tooltip/tooltip.vue.d.ts +62 -0
- package/dist/@types/components/typography/index.d.ts +2 -0
- package/dist/@types/components/typography/typography.types.d.ts +27 -0
- package/dist/@types/components/typography/typography.vue.d.ts +78 -0
- package/dist/@types/components.d.ts +75 -0
- package/dist/@types/directives/index.d.ts +1 -0
- package/dist/@types/directives/tooltip.d.ts +3 -0
- package/dist/@types/i18n/index.d.ts +8 -0
- package/dist/@types/index.d.ts +20 -0
- package/dist/@types/install.d.ts +10 -0
- package/dist/@types/types/index.d.ts +1 -0
- package/dist/@types/types/label-position.d.ts +4 -0
- package/dist/@types/types/maybe-ref.d.ts +2 -0
- package/dist/@types/types/utils-events.d.ts +9 -0
- package/dist/@types/types/vue-node-element.d.ts +2 -0
- package/dist/@types/utils/ts/events.d.ts +2 -0
- package/dist/@types/utils/ts/i18n.d.ts +12 -0
- package/dist/@types/utils/ts/inject-css.d.ts +2 -0
- package/dist/@types/utils/ts/resize.d.ts +1 -0
- package/dist/@types/utils/ts/storybook.d.ts +8 -0
- package/dist/@types/utils/ts/unique-id.d.ts +1 -0
- package/dist/fonts/Inter-Bold.otf +0 -0
- package/dist/fonts/Inter-Bold.ttf +0 -0
- package/dist/fonts/Inter-Bold.woff +0 -0
- package/dist/fonts/Inter-Bold.woff2 +0 -0
- package/dist/fonts/Inter-ExtraBold.otf +0 -0
- package/dist/fonts/Inter-ExtraBold.ttf +0 -0
- package/dist/fonts/Inter-ExtraBold.woff +0 -0
- package/dist/fonts/Inter-ExtraBold.woff2 +0 -0
- package/dist/fonts/Inter-ExtraLight.otf +0 -0
- package/dist/fonts/Inter-ExtraLight.ttf +0 -0
- package/dist/fonts/Inter-ExtraLight.woff +0 -0
- package/dist/fonts/Inter-ExtraLight.woff2 +0 -0
- package/dist/fonts/Inter-Italic.woff +0 -0
- package/dist/fonts/Inter-Italic.woff2 +0 -0
- package/dist/fonts/Inter-Light.otf +0 -0
- package/dist/fonts/Inter-Light.ttf +0 -0
- package/dist/fonts/Inter-Light.woff +0 -0
- package/dist/fonts/Inter-Light.woff2 +0 -0
- package/dist/fonts/Inter-Medium.otf +0 -0
- package/dist/fonts/Inter-Medium.ttf +0 -0
- package/dist/fonts/Inter-Medium.woff +0 -0
- package/dist/fonts/Inter-Medium.woff2 +0 -0
- package/dist/fonts/Inter-Regular.otf +0 -0
- package/dist/fonts/Inter-Regular.ttf +0 -0
- package/dist/fonts/Inter-Regular.woff +0 -0
- package/dist/fonts/Inter-Regular.woff2 +0 -0
- package/dist/fonts/Inter-SemiBold.otf +0 -0
- package/dist/fonts/Inter-SemiBold.ttf +0 -0
- package/dist/fonts/Inter-SemiBold.woff +0 -0
- package/dist/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/fonts/Inter-Thin.otf +0 -0
- package/dist/fonts/Inter-Thin.ttf +0 -0
- package/dist/fonts/Inter-Thin.woff +0 -0
- package/dist/fonts/Inter-Thin.woff2 +0 -0
- package/dist/fonts/fonts.css +71 -0
- package/dist/index.js +3189 -0
- package/dist/index.js.map +1 -0
- package/dist/web-types.json +2703 -0
- package/package.json +101 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { AdlDropdownOptionItem, AdlDropdownOptions } from './dropdown.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
ariaLabel: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: any;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
placeholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: any;
|
|
15
|
+
};
|
|
16
|
+
value: {
|
|
17
|
+
type: PropType<import("./dropdown.types").AdlDropdownValue>;
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
20
|
+
items: {
|
|
21
|
+
type: PropType<AdlDropdownOptions>;
|
|
22
|
+
default: () => any[];
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
isDropdownOpen: import("vue").Ref<boolean>;
|
|
26
|
+
displayValue: import("vue").ComputedRef<string>;
|
|
27
|
+
dropdownOptionsContainerId: string;
|
|
28
|
+
inputContainerRef: any;
|
|
29
|
+
toggleDropdown: () => void;
|
|
30
|
+
onOptionSelected: (selectedOption: AdlDropdownOptionItem) => void;
|
|
31
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
ariaLabel: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: any;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
placeholder: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: any;
|
|
43
|
+
};
|
|
44
|
+
value: {
|
|
45
|
+
type: PropType<import("./dropdown.types").AdlDropdownValue>;
|
|
46
|
+
default: any;
|
|
47
|
+
};
|
|
48
|
+
items: {
|
|
49
|
+
type: PropType<AdlDropdownOptions>;
|
|
50
|
+
default: () => any[];
|
|
51
|
+
};
|
|
52
|
+
}>>, {
|
|
53
|
+
value: import("./dropdown.types").AdlDropdownValue;
|
|
54
|
+
ariaLabel: string;
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
placeholder: string;
|
|
57
|
+
items: AdlDropdownOptions;
|
|
58
|
+
}>;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { BentoButtonVariant } from '@/components/button';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
alwaysShowNameInLabel: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
disableApplyButton: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
deafault: boolean;
|
|
10
|
+
};
|
|
11
|
+
field: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
isOpen: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
value: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
displayLabel: import("vue").ComputedRef<string>;
|
|
29
|
+
buttonVariant: import("vue").ComputedRef<BentoButtonVariant.PRIMARY | BentoButtonVariant.SECONDARY>;
|
|
30
|
+
isTooltipVisible: import("vue").ComputedRef<boolean>;
|
|
31
|
+
isActive: import("vue").ComputedRef<boolean>;
|
|
32
|
+
conditionalClasses: import("vue").ComputedRef<{
|
|
33
|
+
'b-base-filter--inactive': boolean;
|
|
34
|
+
}>;
|
|
35
|
+
BentoPopoverPositions: {
|
|
36
|
+
AUTO: import("../../../popper-container").PopperContainerPositionExtended.AUTO;
|
|
37
|
+
AUTO_START: import("../../../popper-container").PopperContainerPositionExtended.AUTO_START;
|
|
38
|
+
AUTO_END: import("../../../popper-container").PopperContainerPositionExtended.AUTO_END;
|
|
39
|
+
TOP_START: import("../../../popper-container").PopperContainerPositionExtended.TOP_START;
|
|
40
|
+
TOP_END: import("../../../popper-container").PopperContainerPositionExtended.TOP_END;
|
|
41
|
+
RIGHT_START: import("../../../popper-container").PopperContainerPositionExtended.RIGHT_START;
|
|
42
|
+
RIGHT_END: import("../../../popper-container").PopperContainerPositionExtended.RIGHT_END;
|
|
43
|
+
BOTTOM_START: import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_START;
|
|
44
|
+
BOTTOM_END: import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_END;
|
|
45
|
+
LEFT_START: import("../../../popper-container").PopperContainerPositionExtended.LEFT_START;
|
|
46
|
+
LEFT_END: import("../../../popper-container").PopperContainerPositionExtended.LEFT_END;
|
|
47
|
+
TOP: import("../../../popper-container").PopperContainerPositionBasic.TOP;
|
|
48
|
+
RIGHT: import("../../../popper-container").PopperContainerPositionBasic.RIGHT;
|
|
49
|
+
BOTTOM: import("../../../popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
50
|
+
LEFT: import("../../../popper-container").PopperContainerPositionBasic.LEFT;
|
|
51
|
+
};
|
|
52
|
+
BentoTooltipPosition: {
|
|
53
|
+
TOP: import("../../../popper-container").PopperContainerPositionBasic.TOP;
|
|
54
|
+
RIGHT: import("../../../popper-container").PopperContainerPositionBasic.RIGHT;
|
|
55
|
+
BOTTOM: import("../../../popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
56
|
+
LEFT: import("../../../popper-container").PopperContainerPositionBasic.LEFT;
|
|
57
|
+
};
|
|
58
|
+
onClickFilter: () => void;
|
|
59
|
+
onClickDismissFilter: () => void;
|
|
60
|
+
onClickApply: () => void;
|
|
61
|
+
onClickClear: () => void;
|
|
62
|
+
filterButtonRef: any;
|
|
63
|
+
BentoButtonVariant: typeof BentoButtonVariant;
|
|
64
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("open" | "clear" | "close" | "dismiss" | "apply")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
+
alwaysShowNameInLabel: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
disableApplyButton: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
deafault: boolean;
|
|
72
|
+
};
|
|
73
|
+
field: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
label: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
isOpen: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
value: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: any;
|
|
88
|
+
};
|
|
89
|
+
}>>, {
|
|
90
|
+
value: string;
|
|
91
|
+
alwaysShowNameInLabel: boolean;
|
|
92
|
+
disableApplyButton: boolean;
|
|
93
|
+
}>;
|
|
94
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
interface UseLabelOptions {
|
|
3
|
+
alwaysShowNameInLabel: Ref<boolean>;
|
|
4
|
+
isActive: Ref<boolean>;
|
|
5
|
+
}
|
|
6
|
+
export declare const useFilterLabel: (filterLabel: string, filterValue: Ref<string>, options: UseLabelOptions) => {
|
|
7
|
+
label: import("vue").ComputedRef<string>;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoBaseFilter } from './base-filter.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoTextFilter } from './text-filter.vue';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
alwaysShowNameInLabel: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
field: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
value: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: any;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
internalValue: import("vue").Ref<string>;
|
|
20
|
+
isFilterOpen: import("vue").Ref<boolean>;
|
|
21
|
+
isApplyButtonDisabled: import("vue").ComputedRef<boolean>;
|
|
22
|
+
inputTextRef: any;
|
|
23
|
+
updateFilter: () => void;
|
|
24
|
+
clearFilter: () => void;
|
|
25
|
+
openFilter: () => void;
|
|
26
|
+
closeFilter: () => void;
|
|
27
|
+
dismissFilter: () => void;
|
|
28
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("update" | "dismiss")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
alwaysShowNameInLabel: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
field: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
label: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
value: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: any;
|
|
44
|
+
};
|
|
45
|
+
}>>, {
|
|
46
|
+
value: string;
|
|
47
|
+
alwaysShowNameInLabel: boolean;
|
|
48
|
+
}>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface BentoFilterOptions {
|
|
2
|
+
values: Array<unknown>;
|
|
3
|
+
}
|
|
4
|
+
export declare enum BentoFilterItemType {
|
|
5
|
+
TEXT = "BentoTextFilter"
|
|
6
|
+
}
|
|
7
|
+
export interface BentoFilterModel {
|
|
8
|
+
alwaysShowNameInLabel?: boolean;
|
|
9
|
+
field: string;
|
|
10
|
+
label: string;
|
|
11
|
+
type: BentoFilterItemType;
|
|
12
|
+
options?: BentoFilterOptions;
|
|
13
|
+
value?: string | null;
|
|
14
|
+
}
|
|
15
|
+
export type BentoFilterBarModel = Array<BentoFilterModel>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoFilterBarModel, BentoFilterModel } from './filter-bar.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
value: {
|
|
5
|
+
type: PropType<BentoFilterBarModel>;
|
|
6
|
+
default: any;
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
dismissFilterHandler: (dismissedFilter: BentoFilterModel) => void;
|
|
10
|
+
updateFilterHandler: (updatedFilter: BentoFilterModel) => void;
|
|
11
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
value: {
|
|
13
|
+
type: PropType<BentoFilterBarModel>;
|
|
14
|
+
default: any;
|
|
15
|
+
};
|
|
16
|
+
}>>, {
|
|
17
|
+
value: BentoFilterBarModel;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum AdlFocusTrapArrowNavigationDirection {
|
|
2
|
+
VERTICAL = "vertical",
|
|
3
|
+
HORIZONTAL = "horizontal"
|
|
4
|
+
}
|
|
5
|
+
export declare enum AdlFocusTrapVerticalNavigationEvent {
|
|
6
|
+
ARROW_UP = "arrowup",
|
|
7
|
+
ARROW_DOWN = "arrowdown"
|
|
8
|
+
}
|
|
9
|
+
export declare enum AdlFocusTrapHorizontalNavigationEvent {
|
|
10
|
+
ARROW_LEFT = "arrowleft",
|
|
11
|
+
ARROW_RIGHT = "arrowright"
|
|
12
|
+
}
|
|
13
|
+
export interface AdlFocusTrapFocusableIn {
|
|
14
|
+
node: HTMLElement;
|
|
15
|
+
index: number;
|
|
16
|
+
lockItem: boolean;
|
|
17
|
+
guard: boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AdlFocusTrapHorizontalNavigationEvent, AdlFocusTrapVerticalNavigationEvent } from './focus-trap.types';
|
|
2
|
+
export declare const deferAction: (callback: FrameRequestCallback) => number;
|
|
3
|
+
export declare const getNextFocusableElement: (factor: any, element: any) => HTMLElement;
|
|
4
|
+
export declare const getArrowType: (event: KeyboardEvent, arrowOrder: AdlFocusTrapVerticalNavigationEvent[] | AdlFocusTrapHorizontalNavigationEvent[]) => {
|
|
5
|
+
isArrowNext: boolean;
|
|
6
|
+
isArrowPrev: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const SCROLL_INTO_VIEW_OPTIONS: ScrollIntoViewOptions;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { AdlFocusTrapArrowNavigationDirection, AdlFocusTrapHorizontalNavigationEvent, AdlFocusTrapVerticalNavigationEvent } from './focus-trap.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
arrowNavigation: {
|
|
5
|
+
type: PropType<AdlFocusTrapArrowNavigationDirection>;
|
|
6
|
+
default: any;
|
|
7
|
+
validator: (value: unknown) => boolean;
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}, {}, {
|
|
14
|
+
lastFocusedElement: any;
|
|
15
|
+
}, {
|
|
16
|
+
isHorizontalArrowNavigation(): boolean;
|
|
17
|
+
isVerticalArrowNavigation(): boolean;
|
|
18
|
+
arrowOrder(): AdlFocusTrapVerticalNavigationEvent[] | AdlFocusTrapHorizontalNavigationEvent[];
|
|
19
|
+
}, {
|
|
20
|
+
setFocusInside(): Promise<void>;
|
|
21
|
+
onBlur(): void;
|
|
22
|
+
shouldPreventNavigation(): boolean;
|
|
23
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
24
|
+
disable(): void;
|
|
25
|
+
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
arrowNavigation: {
|
|
27
|
+
type: PropType<AdlFocusTrapArrowNavigationDirection>;
|
|
28
|
+
default: any;
|
|
29
|
+
validator: (value: unknown) => boolean;
|
|
30
|
+
};
|
|
31
|
+
disabled: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
arrowNavigation: AdlFocusTrapArrowNavigationDirection;
|
|
38
|
+
}>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AdlFocusTrap } from './focus-trap.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoInputField } from './input-field.vue';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum BentoInputFieldVariant {
|
|
2
|
+
DEFAULT = "default",
|
|
3
|
+
PAYMENT_METHOD = "payment-method",
|
|
4
|
+
STATIC_VALUE = "static-value"
|
|
5
|
+
}
|
|
6
|
+
export declare enum BentoInputFieldStaticValuePosition {
|
|
7
|
+
START = "start",
|
|
8
|
+
END = "end"
|
|
9
|
+
}
|
|
10
|
+
export declare enum BentoInputFieldStateClass {
|
|
11
|
+
DISABLED = "disabled",
|
|
12
|
+
ERROR = "error"
|
|
13
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoInputFieldStaticValuePosition, BentoInputFieldVariant } from '@/components/input-field/input-field.types';
|
|
3
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
disabled: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
error: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
staticValue: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
staticValuePosition: {
|
|
18
|
+
type: PropType<BentoInputFieldStaticValuePosition>;
|
|
19
|
+
default: BentoInputFieldStaticValuePosition;
|
|
20
|
+
};
|
|
21
|
+
value: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
variant: {
|
|
26
|
+
type: PropType<BentoInputFieldVariant>;
|
|
27
|
+
default: BentoInputFieldVariant;
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
31
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
32
|
+
BentoInputFieldVariant: typeof BentoInputFieldVariant;
|
|
33
|
+
onInput: (event: Event) => void;
|
|
34
|
+
focusInput: () => void;
|
|
35
|
+
inputFieldConditionalClasses: import("vue").ComputedRef<{
|
|
36
|
+
[x: string]: boolean;
|
|
37
|
+
}>;
|
|
38
|
+
inputFieldElement: any;
|
|
39
|
+
shouldDisplayStaticValueAtStart: import("vue").ComputedRef<boolean>;
|
|
40
|
+
shouldDisplayStaticValueAtEnd: import("vue").ComputedRef<boolean>;
|
|
41
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
disabled: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
error: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
staticValue: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
staticValuePosition: {
|
|
55
|
+
type: PropType<BentoInputFieldStaticValuePosition>;
|
|
56
|
+
default: BentoInputFieldStaticValuePosition;
|
|
57
|
+
};
|
|
58
|
+
value: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
variant: {
|
|
63
|
+
type: PropType<BentoInputFieldVariant>;
|
|
64
|
+
default: BentoInputFieldVariant;
|
|
65
|
+
};
|
|
66
|
+
}>>, {
|
|
67
|
+
error: boolean;
|
|
68
|
+
value: string;
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
variant: BentoInputFieldVariant;
|
|
71
|
+
staticValue: string;
|
|
72
|
+
staticValuePosition: BentoInputFieldStaticValuePosition;
|
|
73
|
+
}>;
|
|
74
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoInputRadio } from './input-radio.vue';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
disabled: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
9
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
14
|
+
default: any;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
ariaLabel: ComputedRef<string>;
|
|
18
|
+
isChecked: ComputedRef<boolean>;
|
|
19
|
+
shouldShowDescription: ComputedRef<boolean>;
|
|
20
|
+
shouldShowLabel: ComputedRef<boolean>;
|
|
21
|
+
shouldShowSubLabel: ComputedRef<boolean>;
|
|
22
|
+
conditionalClass: ComputedRef<{
|
|
23
|
+
'b-input-radio--disabled': boolean;
|
|
24
|
+
}>;
|
|
25
|
+
onClick: () => void;
|
|
26
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
27
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
28
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
disabled: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
value: {
|
|
34
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
modelValue: {
|
|
38
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
default: any;
|
|
40
|
+
};
|
|
41
|
+
}>>, {
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
modelValue: string | number;
|
|
44
|
+
}>;
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoLink } from './link.vue';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface Props extends RouterLinkProps {
|
|
2
|
+
args?: {
|
|
3
|
+
props: RouterLinkProps;
|
|
4
|
+
};
|
|
5
|
+
external?: boolean;
|
|
6
|
+
}
|
|
7
|
+
import type { RouterLinkProps } from 'vue-router/types/router';
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}>, {
|
|
9
|
+
default: (_: import("vue-router/types/router").RouterLinkSlotArgument) => any;
|
|
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
|
+
};
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { BentoLoadingIndicatorEvent } from './loading-indicator.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
small: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
large: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
inverse: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
conditionalClasses: import("vue").ComputedRef<{
|
|
17
|
+
'b-loading-indicator--inverse': boolean;
|
|
18
|
+
'b-loading-indicator--small': boolean;
|
|
19
|
+
'b-loading-indicator--large': boolean;
|
|
20
|
+
}>;
|
|
21
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoLoadingIndicatorEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
small: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
large: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
inverse: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}>>, {
|
|
35
|
+
small: boolean;
|
|
36
|
+
inverse: boolean;
|
|
37
|
+
large: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AdlPageHeader } from './page-header.vue';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}>;
|
|
12
|
+
export default _default;
|
package/dist/@types/components/pagination/components/pagination-context/pagination-context.vue.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BentoTypographyElement } from '@/components/typography';
|
|
2
|
+
import { AdlDropdownOptionItem } from '@/components/dropdown';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
page: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
validator: (value: number) => boolean;
|
|
8
|
+
};
|
|
9
|
+
totalPages: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
dropdownId: string;
|
|
15
|
+
listOfAvailablePages: import("vue").ComputedRef<AdlDropdownOptionItem[]>;
|
|
16
|
+
onPageSelectChange: (selectedPage: string | number) => void;
|
|
17
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
18
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "page-selected"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
page: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
validator: (value: number) => boolean;
|
|
23
|
+
};
|
|
24
|
+
totalPages: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: any;
|
|
27
|
+
};
|
|
28
|
+
}>>, {
|
|
29
|
+
page: number;
|
|
30
|
+
totalPages: number;
|
|
31
|
+
}>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { BentoButtonVariant } from '@/components/button';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
hasNext: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: any;
|
|
6
|
+
};
|
|
7
|
+
page: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
totalPages: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: any;
|
|
14
|
+
};
|
|
15
|
+
}, {
|
|
16
|
+
isNextButtonDisabled: import("vue").ComputedRef<boolean>;
|
|
17
|
+
isCurrentPageFirst: import("vue").ComputedRef<boolean>;
|
|
18
|
+
isCurrentPageLast: import("vue").ComputedRef<boolean>;
|
|
19
|
+
isLastPageButtonDisabled: import("vue").ComputedRef<boolean>;
|
|
20
|
+
navigate: (pageArg: number) => void;
|
|
21
|
+
BentoButtonVariant: typeof BentoButtonVariant;
|
|
22
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "navigate"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
hasNext: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
page: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
totalPages: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: any;
|
|
34
|
+
};
|
|
35
|
+
}>>, {
|
|
36
|
+
totalPages: number;
|
|
37
|
+
hasNext: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
export default _default;
|