@adyen/bento-vue2 0.1.5 → 0.3.0
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/dist/@types/components/button/button.vue.d.ts +4 -1
- package/dist/@types/components/checkbox/checkbox.vue.d.ts +2 -2
- package/dist/@types/components/country/country.types.d.ts +2 -1
- package/dist/@types/components/country/country.vue.d.ts +10 -1
- package/dist/@types/components/country/index.d.ts +1 -0
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -0
- package/dist/@types/components/data-grid/data-grid.types.d.ts +15 -0
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +26 -2
- package/dist/@types/components/date/date.types.d.ts +4 -4
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +4 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +31 -3
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +28 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +13 -13
- package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +5 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +123 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +5 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +7 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +132 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +6 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +118 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +6 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +118 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +6 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +123 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +22 -12
- package/dist/@types/components/dropdown/index.d.ts +4 -1
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +64 -15
- package/dist/@types/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +6 -0
- package/dist/@types/components/filter-bar/components/base-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +43 -0
- package/dist/@types/components/filter-bar/components/boolean-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/range-filter/range-filter.vue.d.ts +42 -0
- package/dist/@types/components/filter-bar/components/select-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/select-filter.vue.d.ts +55 -0
- package/dist/@types/components/filter-bar/components/text-filter/text-filter.vue.d.ts +4 -5
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +15 -4
- package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +14 -3
- package/dist/@types/components/info-icon/index.d.ts +1 -0
- package/dist/@types/components/info-icon/info-icon.vue.d.ts +12 -0
- package/dist/@types/components/input-field/input-field.types.d.ts +2 -1
- package/dist/@types/components/input-field/input-field.vue.d.ts +1 -0
- package/dist/@types/components/internal/index.d.ts +1 -0
- package/dist/@types/components/internal/listbox/components/listbox-multi-select/index.d.ts +1 -0
- package/dist/@types/components/{dropdown/components/dropdown-options-container/components/dropdown-multi-select/dropdown-multi-select.vue.d.ts → internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts} +22 -13
- package/dist/@types/components/internal/listbox/components/listbox-option/index.d.ts +1 -0
- package/dist/@types/components/{dropdown/components/dropdown-options-container/components/dropdown-option/dropdown-option.vue.d.ts → internal/listbox/components/listbox-option/listbox-option.vue.d.ts} +2 -2
- package/dist/@types/components/internal/listbox/components/listbox-option-tag/index.d.ts +1 -0
- package/dist/@types/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +19 -0
- package/dist/@types/components/internal/listbox/components/listbox-single-select-option/index.d.ts +1 -0
- package/dist/@types/components/{dropdown/components/dropdown-options-container/components/dropdown-single-select-option/dropdown-single-select-option.vue.d.ts → internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts} +5 -22
- package/dist/@types/components/internal/listbox/index.d.ts +2 -0
- package/dist/@types/components/internal/listbox/listbox.vue.d.ts +70 -0
- package/dist/@types/components/page-header/components/title-item/title-item.vue.d.ts +11 -1
- package/dist/@types/components/page-header/page-header.vue.d.ts +11 -1
- package/dist/@types/components/pagination/components/pagination-context/pagination-context.vue.d.ts +2 -2
- package/dist/@types/components/payment-method/composables/index.d.ts +1 -0
- package/dist/@types/components/payment-method/composables/usePaymentIcon.d.ts +3 -0
- package/dist/@types/components/payment-method/index.d.ts +2 -0
- package/dist/@types/components/payment-method/payment-method.types.d.ts +1079 -0
- package/dist/@types/components/payment-method/payment-method.vue.d.ts +28 -0
- package/dist/@types/components/popover/popover.vue.d.ts +1 -1
- package/dist/@types/components/radio-group/components/radio-button/radio-button.vue.d.ts +2 -3
- package/dist/@types/components/radio-group/radio-group.vue.d.ts +9 -0
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +3 -2
- package/dist/@types/components/tabs/components/tab.types.d.ts +5 -0
- package/dist/@types/components/tabs/components/tab.vue.d.ts +3 -37
- package/dist/@types/components/tabs/index.d.ts +2 -3
- package/dist/@types/components/tabs/tabs.keys.d.ts +2 -1
- package/dist/@types/components/tabs/tabs.types.d.ts +4 -9
- package/dist/@types/components/tabs/tabs.utils.d.ts +3 -0
- package/dist/@types/components/tabs/tabs.vue.d.ts +13 -16
- package/dist/@types/components/toast/components/toast-item/index.d.ts +2 -0
- package/dist/@types/components/toast/components/toast-item/toast-item.types.d.ts +9 -0
- package/dist/@types/components/toast/components/toast-item/toast-item.vue.d.ts +33 -0
- package/dist/@types/components/toast/index.d.ts +2 -0
- package/dist/@types/components/toast/toast.vue.d.ts +13 -0
- package/dist/@types/components/toggle/toggle.vue.d.ts +2 -2
- package/dist/@types/components.d.ts +16 -0
- package/dist/@types/composables/index.d.ts +1 -0
- package/dist/@types/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +2 -2
- package/dist/@types/composables/use-default-slot-validator.d.ts +1 -0
- package/dist/@types/composables/useDynamicImport.d.ts +2 -0
- package/dist/@types/index.d.ts +4 -0
- package/dist/@types/install.d.ts +1 -0
- package/dist/@types/plugins/toastController.d.ts +12 -0
- package/dist/@types/types/index.d.ts +2 -0
- package/dist/@types/types/listbox.d.ts +11 -0
- package/dist/@types/types/omit-strict.d.ts +1 -0
- package/dist/@types/utils/ts/toastController.d.ts +3 -0
- package/dist/@types/utils/ts/use-slot-text.d.ts +2 -0
- package/dist/index.js +5940 -4828
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-multi-select/index.d.ts +0 -1
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/index.d.ts +0 -1
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-single-select-option/index.d.ts +0 -1
- package/dist/@types/components/dropdown/dropdown.types.d.ts +0 -10
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement } from '../typography';
|
|
3
|
+
import { BentoPaymentMethodType } from './payment-method.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
type: {
|
|
6
|
+
type: PropType<BentoPaymentMethodType>;
|
|
7
|
+
default: BentoPaymentMethodType;
|
|
8
|
+
};
|
|
9
|
+
label: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
paymentMethodIconSrc: import("vue").Ref<string>;
|
|
15
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
16
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
type: {
|
|
18
|
+
type: PropType<BentoPaymentMethodType>;
|
|
19
|
+
default: BentoPaymentMethodType;
|
|
20
|
+
};
|
|
21
|
+
label: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
type: BentoPaymentMethodType;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
@@ -132,8 +132,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
132
|
modifiers: unknown[];
|
|
133
133
|
large: boolean;
|
|
134
134
|
actions: BentoButtonActionsList;
|
|
135
|
-
fixedPositioning: boolean;
|
|
136
135
|
actionsLayout: BentoButtonActionsLayout;
|
|
136
|
+
fixedPositioning: boolean;
|
|
137
137
|
divider: boolean;
|
|
138
138
|
disableFocusTrap: boolean;
|
|
139
139
|
dismissible: boolean;
|
|
@@ -16,9 +16,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
}, {
|
|
17
17
|
ariaLabel: ComputedRef<string>;
|
|
18
18
|
isChecked: ComputedRef<boolean>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
shouldShowSubLabel: ComputedRef<string>;
|
|
19
|
+
defaultSlotValue: string;
|
|
20
|
+
subLabelSlotValue: string;
|
|
22
21
|
conditionalClass: ComputedRef<{
|
|
23
22
|
'b-radio-button--disabled': boolean;
|
|
24
23
|
}>;
|
|
@@ -22,6 +22,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
type: StringConstructor;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
|
+
selectedValue: {
|
|
26
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
25
29
|
}, {
|
|
26
30
|
conditionalClasses: import("vue").ComputedRef<{
|
|
27
31
|
'b-radio-group--horizontal': boolean;
|
|
@@ -50,9 +54,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
54
|
type: StringConstructor;
|
|
51
55
|
required: true;
|
|
52
56
|
};
|
|
57
|
+
selectedValue: {
|
|
58
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
59
|
+
default: any;
|
|
60
|
+
};
|
|
53
61
|
}>>, {
|
|
54
62
|
disabled: boolean;
|
|
55
63
|
variant: BentoRadioGroupVariant;
|
|
56
64
|
formId: string;
|
|
65
|
+
selectedValue: string | number;
|
|
57
66
|
}>;
|
|
58
67
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BentoInputFieldType } from '@/components/input-field';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
|
|
3
|
+
inputFieldAriaLabel: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
@@ -146,6 +146,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
146
|
[x: string]: boolean;
|
|
147
147
|
}>;
|
|
148
148
|
inputFieldElement: any;
|
|
149
|
+
inputFieldId: string;
|
|
149
150
|
shouldDisplayStaticValueAtStart: import("vue").ComputedRef<boolean>;
|
|
150
151
|
shouldDisplayStaticValueAtEnd: import("vue").ComputedRef<boolean>;
|
|
151
152
|
}> & import("vue/types/v3-component-options").ExtractComputedReturns<{}> & import("vue").ComponentCustomProperties & Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -190,7 +191,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
191
|
onInputEvent: () => void;
|
|
191
192
|
BentoInputFieldType: typeof BentoInputFieldType;
|
|
192
193
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "clear" | "escape-pressed")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
193
|
-
|
|
194
|
+
inputFieldAriaLabel: {
|
|
194
195
|
type: StringConstructor;
|
|
195
196
|
required: true;
|
|
196
197
|
};
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { AdlTabApi } from '../tabs.types';
|
|
3
1
|
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
name: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
2
|
title: {
|
|
9
3
|
type: StringConstructor;
|
|
10
4
|
required: true;
|
|
@@ -13,28 +7,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
7
|
type: BooleanConstructor;
|
|
14
8
|
default: boolean;
|
|
15
9
|
};
|
|
16
|
-
testId: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
tabs: {
|
|
21
|
-
type: PropType<AdlTabApi>;
|
|
22
|
-
default: any;
|
|
23
|
-
};
|
|
24
|
-
}, {}, {}, {
|
|
25
|
-
isActive(): boolean;
|
|
26
|
-
contentName(): string;
|
|
27
|
-
conditionalClasses(): {
|
|
28
|
-
[className: string]: boolean;
|
|
29
|
-
};
|
|
30
|
-
adlTabApi(): AdlTabApi;
|
|
31
10
|
}, {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
11
|
+
activeTabId: unknown;
|
|
12
|
+
id: string;
|
|
13
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
38
14
|
title: {
|
|
39
15
|
type: StringConstructor;
|
|
40
16
|
required: true;
|
|
@@ -43,17 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
19
|
type: BooleanConstructor;
|
|
44
20
|
default: boolean;
|
|
45
21
|
};
|
|
46
|
-
testId: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
tabs: {
|
|
51
|
-
type: PropType<AdlTabApi>;
|
|
52
|
-
default: any;
|
|
53
|
-
};
|
|
54
22
|
}>>, {
|
|
55
23
|
disabled: boolean;
|
|
56
|
-
testId: string;
|
|
57
|
-
tabs: AdlTabApi;
|
|
58
24
|
}>;
|
|
59
25
|
export default _default;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as
|
|
3
|
-
export * from './tabs.types';
|
|
1
|
+
export { default as BentoTab } from './components/tab.vue';
|
|
2
|
+
export { default as BentoTabs } from './tabs.vue';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const TABS_REGISTER_TAB_INJECTION_KEY: unique symbol;
|
|
2
|
+
export declare const TABS_ACTIVE_TAB_ID_KEY: unique symbol;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export interface AdlTabApi {
|
|
6
|
-
getActiveTab: () => string;
|
|
7
|
-
setActiveTab: (name: string) => void;
|
|
8
|
-
getTabsId: () => string;
|
|
9
|
-
}
|
|
1
|
+
export type RegisterBentoTab = (props: {
|
|
2
|
+
disabled: boolean;
|
|
3
|
+
title: string;
|
|
4
|
+
}) => string;
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>>, {}>;
|
|
1
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
4
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
5
|
+
tabs: import("vue").Ref<{
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
}[]>;
|
|
10
|
+
tablist: any;
|
|
11
|
+
activeTabId: import("vue").Ref<string>;
|
|
12
|
+
onKeydownTabsNavigation: (e: KeyboardEvent) => void;
|
|
13
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
17
14
|
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoToastItemAction } from './toast-item.types';
|
|
3
|
+
import { BentoButtonVariant } from '@/components/button';
|
|
4
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
text: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
action: {
|
|
11
|
+
type: PropType<BentoToastItemAction>;
|
|
12
|
+
default: any;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
BentoButtonVariant: typeof BentoButtonVariant;
|
|
16
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
17
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
18
|
+
dismissButtonClicked: () => void;
|
|
19
|
+
hasSlot: (name: string) => boolean;
|
|
20
|
+
onActionClicked: () => void;
|
|
21
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "dismiss")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
text: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
action: {
|
|
27
|
+
type: PropType<BentoToastItemAction>;
|
|
28
|
+
default: any;
|
|
29
|
+
};
|
|
30
|
+
}>>, {
|
|
31
|
+
action: BentoToastItemAction;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
computedPositioning: import("vue").ComputedRef<{
|
|
3
|
+
top: string;
|
|
4
|
+
width: string;
|
|
5
|
+
}[]>;
|
|
6
|
+
computedHeight: import("vue").ComputedRef<{
|
|
7
|
+
bottom: string;
|
|
8
|
+
height: string;
|
|
9
|
+
}>;
|
|
10
|
+
toastsToShow: import("vue").ComputedRef<import("./components/toast-item").BentoToastItem[]>;
|
|
11
|
+
toast: any;
|
|
12
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
13
|
+
export default _default;
|
|
@@ -25,8 +25,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
26
26
|
computedAriaLabel: import("vue").ComputedRef<string>;
|
|
27
27
|
computedDescription: import("vue").ComputedRef<string>;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
defaultSlotValue: string;
|
|
29
|
+
subLabelSlotValue: string;
|
|
30
30
|
conditionalClasses: import("vue").ComputedRef<{
|
|
31
31
|
[key: string]: boolean;
|
|
32
32
|
}>;
|
|
@@ -25,16 +25,24 @@ import {
|
|
|
25
25
|
BentoDataGrid,
|
|
26
26
|
BentoDate,
|
|
27
27
|
BentoDropdown,
|
|
28
|
+
BentoDropdownAvatar,
|
|
29
|
+
BentoDropdownCountry,
|
|
30
|
+
BentoDropdownCurrency,
|
|
31
|
+
BentoDropdownPaymentMethod,
|
|
32
|
+
BentoInfoIcon,
|
|
28
33
|
BentoInputField,
|
|
29
34
|
BentoLink,
|
|
30
35
|
BentoLoadingButton,
|
|
31
36
|
BentoLoadingIndicator,
|
|
32
37
|
BentoPagination,
|
|
38
|
+
BentoPaymentMethod,
|
|
33
39
|
BentoPopover,
|
|
34
40
|
BentoRadioGroup,
|
|
35
41
|
BentoSearchBar,
|
|
36
42
|
BentoStatus,
|
|
43
|
+
BentoTabs,
|
|
37
44
|
BentoTag,
|
|
45
|
+
BentoToast,
|
|
38
46
|
BentoToggle,
|
|
39
47
|
BentoTypography,
|
|
40
48
|
} from './index';
|
|
@@ -67,16 +75,24 @@ declare module 'vue' {
|
|
|
67
75
|
BentoDataGrid: typeof BentoDataGrid;
|
|
68
76
|
BentoDate: typeof BentoDate;
|
|
69
77
|
BentoDropdown: typeof BentoDropdown;
|
|
78
|
+
BentoDropdownAvatar: typeof BentoDropdownAvatar;
|
|
79
|
+
BentoDropdownCountry: typeof BentoDropdownCountry;
|
|
80
|
+
BentoInfoIcon: typeof BentoInfoIcon;
|
|
81
|
+
BentoDropdownCurrency: typeof BentoDropdownCurrency;
|
|
82
|
+
BentoDropdownPaymentMethod: typeof BentoDropdownPaymentMethod;
|
|
70
83
|
BentoInputField: typeof BentoInputField;
|
|
71
84
|
BentoLink: typeof BentoLink;
|
|
72
85
|
BentoLoadingButton: typeof BentoLoadingButton;
|
|
73
86
|
BentoLoadingIndicator: typeof BentoLoadingIndicator;
|
|
74
87
|
BentoPagination: typeof BentoPagination;
|
|
88
|
+
BentoPaymentMethod: typeof BentoPaymentMethod;
|
|
75
89
|
BentoPopover: typeof BentoPopover;
|
|
76
90
|
BentoRadioGroup: typeof BentoRadioGroup;
|
|
77
91
|
BentoSearchBar: typeof BentoSearchBar;
|
|
78
92
|
BentoStatus: typeof BentoStatus;
|
|
93
|
+
BentoTabs: typeof BentoTabs;
|
|
79
94
|
BentoTag: typeof BentoTag;
|
|
95
|
+
BentoToast: typeof BentoToast;
|
|
80
96
|
BentoToggle: typeof BentoToggle;
|
|
81
97
|
BentoTypography: typeof BentoTypography;
|
|
82
98
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import type { Fn } from '../../types';
|
|
3
|
-
import {
|
|
4
|
-
export declare const useCheckboxSelectAll: (selectedItemsList: Ref<
|
|
3
|
+
import { BentoListboxMultiSelectValue, BentoListboxOptions } from '../../types';
|
|
4
|
+
export declare const useCheckboxSelectAll: (selectedItemsList: Ref<BentoListboxMultiSelectValue>, items: ComputedRef<BentoListboxOptions>, selectAll: Fn, unselectAll: Fn) => {
|
|
5
5
|
isAllSelected: ComputedRef<boolean>;
|
|
6
6
|
isIndeterminate: ComputedRef<boolean>;
|
|
7
7
|
toggleSelectAll: (selectedValue: boolean) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useDefaultSlotValidator: (componentName: string, defaultSlotValue: string, ...optionalSlotsValue: string[]) => void;
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -11,15 +11,19 @@ export * from './components/country';
|
|
|
11
11
|
export * from './components/currency';
|
|
12
12
|
export * from './components/date';
|
|
13
13
|
export * from './components/filter-bar';
|
|
14
|
+
export * from './components/info-icon';
|
|
14
15
|
export * from './components/input-field';
|
|
15
16
|
export * from './components/loading-indicator';
|
|
16
17
|
export * from './components/link';
|
|
17
18
|
export * from './components/pagination';
|
|
19
|
+
export * from './components/payment-method';
|
|
18
20
|
export * from './components/popover';
|
|
19
21
|
export * from './components/radio-group';
|
|
20
22
|
export * from './components/search-bar';
|
|
21
23
|
export * from './components/status';
|
|
24
|
+
export * from './components/tabs';
|
|
22
25
|
export * from './components/tag';
|
|
26
|
+
export * from './components/toast';
|
|
23
27
|
export * from './components/toggle';
|
|
24
28
|
export * from './components/typography';
|
|
25
29
|
export * from './types';
|
package/dist/@types/install.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BentoToastItem } from '../components/toast/components/toast-item';
|
|
2
|
+
export default class ToastController {
|
|
3
|
+
get state(): {
|
|
4
|
+
queue: Array<BentoToastItem>;
|
|
5
|
+
};
|
|
6
|
+
private _state;
|
|
7
|
+
constructor();
|
|
8
|
+
private dismissToast;
|
|
9
|
+
addToast(params: BentoToastItem): {
|
|
10
|
+
dismiss: () => void;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BentoSearchBarItem } from '../components/search-bar';
|
|
2
|
+
export type BentoListboxValue = string | number;
|
|
3
|
+
export type BentoListboxMultiSelectValue = BentoListboxValue[];
|
|
4
|
+
export interface BentoListboxOptionItem extends BentoSearchBarItem {
|
|
5
|
+
data?: unknown;
|
|
6
|
+
description?: string;
|
|
7
|
+
value: BentoListboxValue;
|
|
8
|
+
}
|
|
9
|
+
export type BentoListboxSelectedValue = BentoListboxValue | BentoListboxMultiSelectValue;
|
|
10
|
+
export type BentoListboxOptions = Array<BentoListboxOptionItem>;
|
|
11
|
+
export type BentoListboxIsOptionDisabled = (optionValue: BentoListboxOptionItem) => boolean | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|