@adyen/bento-vue3 1.24.0 → 1.25.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/packages/vue2/src/components/alert/alert.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +46 -54
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +86 -179
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +8 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +6 -3
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +13 -7
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +14 -14
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +3 -24
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +148 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +150 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +28 -27
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +11 -7
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +45 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +3 -2
- package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +8 -1
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-click-outside/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +6 -6
- package/dist/alert.js +125 -165
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/{listbox.css → use-cached-selected-values.css} +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +5 -5
- package/dist/card.js +168 -267
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +5 -5
- package/dist/chunks/{base-button.ab9c947e.js → base-button.6be8b60e.js} +2 -2
- package/dist/chunks/{base-button.ab9c947e.js.map → base-button.6be8b60e.js.map} +1 -1
- package/dist/chunks/{base-modal.28b5ff83.js → base-modal.310c4790.js} +6 -6
- package/dist/chunks/{base-modal.28b5ff83.js.map → base-modal.310c4790.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.305991e5.js → button-actions-with-menu.a007b034.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.305991e5.js.map → button-actions-with-menu.a007b034.js.map} +1 -1
- package/dist/chunks/{button-actions.ea025810.js → button-actions.adc0a2fe.js} +3 -3
- package/dist/chunks/{button-actions.ea025810.js.map → button-actions.adc0a2fe.js.map} +1 -1
- package/dist/chunks/{button.ce5d1f5e.js → button.de5589fa.js} +3 -3
- package/dist/chunks/{button.ce5d1f5e.js.map → button.de5589fa.js.map} +1 -1
- package/dist/chunks/{calendar.24a492f1.js → calendar.73f5b904.js} +4 -4
- package/dist/chunks/{calendar.24a492f1.js.map → calendar.73f5b904.js.map} +1 -1
- package/dist/chunks/{checkbox.d0f897e0.js → checkbox.4c96cc23.js} +3 -3
- package/dist/chunks/{checkbox.d0f897e0.js.map → checkbox.4c96cc23.js.map} +1 -1
- package/dist/chunks/{controls-group.2b31233c.js → controls-group.37a67734.js} +3 -3
- package/dist/chunks/{controls-group.2b31233c.js.map → controls-group.37a67734.js.map} +1 -1
- package/dist/chunks/{copy.9003ed59.js → copy.43de2653.js} +4 -4
- package/dist/chunks/{copy.9003ed59.js.map → copy.43de2653.js.map} +1 -1
- package/dist/chunks/dialog-page.cd8c7fff.js +173 -0
- package/dist/chunks/dialog-page.cd8c7fff.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.311443a8.js → dropdown-default-textbox.424e0eb6.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.311443a8.js.map → dropdown-default-textbox.424e0eb6.js.map} +1 -1
- package/dist/chunks/{dropdown.170b43c4.js → dropdown.57b2ea6f.js} +295 -317
- package/dist/chunks/dropdown.57b2ea6f.js.map +1 -0
- package/dist/chunks/{error-message.4678cbdc.js → error-message.4bd22112.js} +2 -2
- package/dist/chunks/{error-message.4678cbdc.js.map → error-message.4bd22112.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.f09618f2.js → fixed-scroller.5b93a6a6.js} +2 -2
- package/dist/chunks/{fixed-scroller.f09618f2.js.map → fixed-scroller.5b93a6a6.js.map} +1 -1
- package/dist/chunks/{footer-actions.2efe610e.js → footer-actions.c401ec50.js} +4 -4
- package/dist/chunks/{footer-actions.2efe610e.js.map → footer-actions.c401ec50.js.map} +1 -1
- package/dist/chunks/{index.51fe0fc2.js → index.11b6dd35.js} +2 -2
- package/dist/chunks/{index.51fe0fc2.js.map → index.11b6dd35.js.map} +1 -1
- package/dist/chunks/{index.6987f880.js → index.38752f78.js} +6 -6
- package/dist/chunks/{index.6987f880.js.map → index.38752f78.js.map} +1 -1
- package/dist/chunks/{index.c5b58864.js → index.73ac0db6.js} +3 -3
- package/dist/chunks/{index.c5b58864.js.map → index.73ac0db6.js.map} +1 -1
- package/dist/chunks/{index.c41d1bbb.js → index.8682bd04.js} +2 -2
- package/dist/chunks/{index.c41d1bbb.js.map → index.8682bd04.js.map} +1 -1
- package/dist/chunks/{index.1b1646bf.js → index.8b10ee32.js} +212 -191
- package/dist/chunks/index.8b10ee32.js.map +1 -0
- package/dist/chunks/{index.70c91b3b.js → index.98bbaed9.js} +2 -2
- package/dist/chunks/{index.70c91b3b.js.map → index.98bbaed9.js.map} +1 -1
- package/dist/chunks/{index.b772214b.js → index.aa83aa48.js} +3 -3
- package/dist/chunks/{index.b772214b.js.map → index.aa83aa48.js.map} +1 -1
- package/dist/chunks/{index.920cc1ee.js → index.bab8811d.js} +6 -6
- package/dist/chunks/{index.920cc1ee.js.map → index.bab8811d.js.map} +1 -1
- package/dist/chunks/{index.44f2aca7.js → index.ea65003b.js} +2 -2
- package/dist/chunks/{index.44f2aca7.js.map → index.ea65003b.js.map} +1 -1
- package/dist/chunks/{index.b3cb905c.js → index.f71015d8.js} +3 -3
- package/dist/chunks/{index.b3cb905c.js.map → index.f71015d8.js.map} +1 -1
- package/dist/chunks/{index.0d513625.js → index.faec0854.js} +15 -15
- package/dist/chunks/{index.0d513625.js.map → index.faec0854.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.bf77e0c4.js → listbox-option-tag.d1a3b340.js} +3 -3
- package/dist/chunks/{listbox-option-tag.bf77e0c4.js.map → listbox-option-tag.d1a3b340.js.map} +1 -1
- package/dist/chunks/{loading-button.cdc193c6.js → loading-button.2db95771.js} +2 -2
- package/dist/chunks/{loading-button.cdc193c6.js.map → loading-button.2db95771.js.map} +1 -1
- package/dist/chunks/{payment-method.ea1788f7.js → payment-method.26fa5509.js} +2 -2
- package/dist/chunks/{payment-method.ea1788f7.js.map → payment-method.26fa5509.js.map} +1 -1
- package/dist/chunks/{tooltip.10210728.js → tooltip.e29f7d7e.js} +3 -3
- package/dist/chunks/{tooltip.10210728.js.map → tooltip.e29f7d7e.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.3275a505.js → use-bento-toast-controller.98ca249a.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.3275a505.js.map → use-bento-toast-controller.98ca249a.js.map} +1 -1
- package/dist/chunks/use-cached-selected-values.a9b0fb3d.js +1537 -0
- package/dist/chunks/use-cached-selected-values.a9b0fb3d.js.map +1 -0
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1237 -1210
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +19 -19
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +7 -7
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +1260 -1108
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header.js +4 -4
- package/dist/index.js +141 -133
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +50 -48
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +31 -78
- package/dist/internal.js.map +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +6 -6
- package/dist/modal.js +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +112 -112
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +3 -3
- package/dist/selection-card.js +4 -4
- package/dist/sidepanel.js +64 -62
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +7 -7
- package/dist/toast.js +4 -4
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +6 -6
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +7 -3
- package/dist/chunks/dialog-page.2c07d294.js +0 -172
- package/dist/chunks/dialog-page.2c07d294.js.map +0 -1
- package/dist/chunks/dropdown.170b43c4.js.map +0 -1
- package/dist/chunks/index.1b1646bf.js.map +0 -1
- package/dist/chunks/listbox.b6a1aea2.js +0 -1466
- package/dist/chunks/listbox.b6a1aea2.js.map +0 -1
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from "./alert.types";
|
|
3
|
-
import { BentoTypographyElement, BentoTypographyVariant } from "../typography";
|
|
1
|
+
import { BentoAlertTypeOption, BentoAlertVariant } from "./alert.types";
|
|
4
2
|
/**
|
|
5
3
|
* An Alert component is used to display a persistent
|
|
6
4
|
* notification containing information important to the user
|
|
@@ -17,80 +15,74 @@ import { BentoTypographyElement, BentoTypographyVariant } from "../typography";
|
|
|
17
15
|
* `
|
|
18
16
|
* }
|
|
19
17
|
*/
|
|
20
|
-
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
19
|
/**
|
|
22
20
|
* Adds a close button on the right side of the alert
|
|
23
21
|
*/
|
|
24
|
-
closeButton
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
22
|
+
closeButton?: boolean;
|
|
28
23
|
/**
|
|
29
24
|
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
30
25
|
* @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
|
|
31
26
|
*/
|
|
32
|
-
type
|
|
33
|
-
type: PropType<"critical" | "success" | "warning" | "highlight" | BentoAlertTypeOption>;
|
|
34
|
-
default: BentoAlertTypeOption;
|
|
35
|
-
validator: (value: BentoAlertTypeOption) => boolean;
|
|
36
|
-
};
|
|
27
|
+
type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
|
|
37
28
|
/**
|
|
38
29
|
* Variant for the alert
|
|
39
30
|
* @values DEFAULT, TIP
|
|
40
31
|
*/
|
|
41
|
-
variant
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}, {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}>;
|
|
50
|
-
computedRole: import("../../../../vue3/node_modules/vue").ComputedRef<"alert" | "status">;
|
|
51
|
-
descriptionTypography: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
52
|
-
el: BentoTypographyElement;
|
|
53
|
-
variant: BentoTypographyVariant;
|
|
54
|
-
wide: boolean;
|
|
55
|
-
}>;
|
|
56
|
-
iconComponent: import("../../../../vue3/node_modules/vue").ComputedRef<any>;
|
|
57
|
-
iconSvgTitle: import("../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
58
|
-
isTipVariant: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
59
|
-
onCloseButtonClick: () => void;
|
|
60
|
-
hasSlot: (name: string) => boolean;
|
|
61
|
-
t: (key: "close" | "highlightIcon" | "successIcon" | "criticalIcon" | "warningIcon", values?: import("vue-i18n").default.Values) => string;
|
|
62
|
-
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
63
|
-
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, BentoAlertEvent[], BentoAlertEvent, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
32
|
+
variant?: BentoAlertVariant | `${BentoAlertVariant}`;
|
|
33
|
+
}>, {
|
|
34
|
+
closeButton: boolean;
|
|
35
|
+
type: BentoAlertTypeOption;
|
|
36
|
+
variant: BentoAlertVariant;
|
|
37
|
+
}>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
38
|
+
"close-alert": () => void;
|
|
39
|
+
}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
64
40
|
/**
|
|
65
41
|
* Adds a close button on the right side of the alert
|
|
66
42
|
*/
|
|
67
|
-
closeButton
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
43
|
+
closeButton?: boolean;
|
|
71
44
|
/**
|
|
72
45
|
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
73
46
|
* @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
|
|
74
47
|
*/
|
|
75
|
-
type
|
|
76
|
-
type: PropType<"critical" | "success" | "warning" | "highlight" | BentoAlertTypeOption>;
|
|
77
|
-
default: BentoAlertTypeOption;
|
|
78
|
-
validator: (value: BentoAlertTypeOption) => boolean;
|
|
79
|
-
};
|
|
48
|
+
type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
|
|
80
49
|
/**
|
|
81
50
|
* Variant for the alert
|
|
82
51
|
* @values DEFAULT, TIP
|
|
83
52
|
*/
|
|
84
|
-
variant
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
"onClose-alert"?: (
|
|
53
|
+
variant?: BentoAlertVariant | `${BentoAlertVariant}`;
|
|
54
|
+
}>, {
|
|
55
|
+
closeButton: boolean;
|
|
56
|
+
type: BentoAlertTypeOption;
|
|
57
|
+
variant: BentoAlertVariant;
|
|
58
|
+
}>>> & {
|
|
59
|
+
"onClose-alert"?: () => any;
|
|
91
60
|
}, {
|
|
92
|
-
type:
|
|
93
|
-
variant:
|
|
61
|
+
type: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
|
|
62
|
+
variant: BentoAlertVariant | `${BentoAlertVariant}`;
|
|
94
63
|
closeButton: boolean;
|
|
64
|
+
}>, {
|
|
65
|
+
default: (_: {}) => any;
|
|
66
|
+
description: (_: {}) => any;
|
|
67
|
+
actions: (_: {}) => any;
|
|
95
68
|
}>;
|
|
96
69
|
export default _default;
|
|
70
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
71
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
72
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
73
|
+
type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
74
|
+
} : {
|
|
75
|
+
type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
type __VLS_WithDefaults<P, D> = {
|
|
80
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
81
|
+
default: D[K];
|
|
82
|
+
} : P[K];
|
|
83
|
+
};
|
|
84
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
85
|
+
new (): {
|
|
86
|
+
$slots: S;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PropType } from "../../../../vue3/node_modules/vue";
|
|
2
1
|
import { BentoButtonActionsLayout, BentoButtonActionsList } from "../button";
|
|
3
2
|
import { BentoCardBackground, BentoCardTitleSize } from "./card.types";
|
|
4
3
|
/**
|
|
@@ -17,44 +16,7 @@ import { BentoCardBackground, BentoCardTitleSize } from "./card.types";
|
|
|
17
16
|
* `
|
|
18
17
|
* };
|
|
19
18
|
*/
|
|
20
|
-
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
21
|
-
/**
|
|
22
|
-
* Defines the color of card background
|
|
23
|
-
*/
|
|
24
|
-
background: {
|
|
25
|
-
type: PropType<"primary" | "secondary" | BentoCardBackground>;
|
|
26
|
-
default: BentoCardBackground;
|
|
27
|
-
validator: (value: BentoCardBackground) => boolean;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Defines the title size of the card header
|
|
31
|
-
*/
|
|
32
|
-
titleSize: {
|
|
33
|
-
type: PropType<"default" | "small" | BentoCardTitleSize>;
|
|
34
|
-
default: BentoCardTitleSize;
|
|
35
|
-
validator: (value: BentoCardTitleSize) => boolean;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* The whole content of the card will be expandable in accordion manner
|
|
39
|
-
*/
|
|
40
|
-
expandable: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Sets the expandable card in a closed state
|
|
46
|
-
*/
|
|
47
|
-
closed: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* Disables the expandable card
|
|
53
|
-
*/
|
|
54
|
-
disabled: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
58
20
|
/**
|
|
59
21
|
* List of actions that will be used to render the buttons.
|
|
60
22
|
* First element in the list will be rendered as "primary".
|
|
@@ -80,10 +42,7 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
80
42
|
* }]
|
|
81
43
|
* ```
|
|
82
44
|
*/
|
|
83
|
-
actions
|
|
84
|
-
type: PropType<BentoButtonActionsList>;
|
|
85
|
-
default: any;
|
|
86
|
-
};
|
|
45
|
+
actions?: BentoButtonActionsList;
|
|
87
46
|
/**
|
|
88
47
|
* Defines the layout in which the button actions is presented.
|
|
89
48
|
* It can be one of:
|
|
@@ -94,138 +53,40 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
94
53
|
* @values SPACE_BETWEEN
|
|
95
54
|
* @values VERTICAL_STACK
|
|
96
55
|
*/
|
|
97
|
-
actionsLayout
|
|
98
|
-
type: PropType<"space-between" | BentoButtonActionsLayout | "buttons-end" | "fill-container" | "vertical-stack" | "buttons-start">;
|
|
99
|
-
default: import("../button").BentoButtonActionsLayoutBasic;
|
|
100
|
-
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
101
|
-
};
|
|
102
|
-
}, {
|
|
103
|
-
cardId: string;
|
|
104
|
-
cardConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
105
|
-
[x: string]: boolean | "primary" | "secondary" | BentoCardBackground;
|
|
106
|
-
'b-card--expandable': boolean;
|
|
107
|
-
'b-card--disabled': boolean;
|
|
108
|
-
}>;
|
|
109
|
-
cardBodyConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
110
|
-
'b-card__body--expandable': boolean;
|
|
111
|
-
'b-card__body--without-header': boolean;
|
|
112
|
-
}>;
|
|
113
|
-
cardHeaderConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
114
|
-
'b-card__header--expandable': boolean;
|
|
115
|
-
'b-card__header--without-body': boolean;
|
|
116
|
-
}>;
|
|
117
|
-
cardContentConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
118
|
-
'b-card__content--without-header': boolean;
|
|
119
|
-
'b-card__content--expandable': boolean;
|
|
120
|
-
}>;
|
|
121
|
-
cardActionsConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
122
|
-
'b-card__actions--without-content': boolean;
|
|
123
|
-
'b-card__actions--without-content-and-with-header': boolean;
|
|
124
|
-
}>;
|
|
125
|
-
cardTitleWrapperConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
126
|
-
'b-card__title-wrapper--truncated': boolean;
|
|
127
|
-
}>;
|
|
128
|
-
cardToggleConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
129
|
-
'b-card__toggle--small-text': boolean;
|
|
130
|
-
}>;
|
|
131
|
-
showCardBody: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
132
|
-
showContent: import("../../../../vue3/node_modules/vue").Ref<boolean>;
|
|
133
|
-
tabIndex: import("../../../../vue3/node_modules/vue").ComputedRef<-1 | 0>;
|
|
134
|
-
showHeader: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
135
|
-
showTitleWrapper: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
136
|
-
typography: import("../../../../vue3/node_modules/vue").ComputedRef<Partial<{
|
|
137
|
-
wide: boolean;
|
|
138
|
-
stronger: boolean;
|
|
139
|
-
strongest: boolean;
|
|
140
|
-
el: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement;
|
|
141
|
-
large: boolean;
|
|
142
|
-
medium: boolean;
|
|
143
|
-
variant: "body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant;
|
|
144
|
-
}> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
145
|
-
wide: {
|
|
146
|
-
type: PropType<boolean>;
|
|
147
|
-
} & {
|
|
148
|
-
default: boolean;
|
|
149
|
-
};
|
|
150
|
-
stronger: {
|
|
151
|
-
type: PropType<boolean>;
|
|
152
|
-
} & {
|
|
153
|
-
default: boolean;
|
|
154
|
-
};
|
|
155
|
-
strongest: {
|
|
156
|
-
type: PropType<boolean>;
|
|
157
|
-
} & {
|
|
158
|
-
default: boolean;
|
|
159
|
-
};
|
|
160
|
-
el: {
|
|
161
|
-
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
|
|
162
|
-
} & {
|
|
163
|
-
default: import("../typography").BentoTypographyElement;
|
|
164
|
-
};
|
|
165
|
-
large: {
|
|
166
|
-
type: PropType<boolean>;
|
|
167
|
-
} & {
|
|
168
|
-
default: boolean;
|
|
169
|
-
};
|
|
170
|
-
medium: {
|
|
171
|
-
type: PropType<boolean>;
|
|
172
|
-
} & {
|
|
173
|
-
default: boolean;
|
|
174
|
-
};
|
|
175
|
-
variant: {
|
|
176
|
-
type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
|
|
177
|
-
} & {
|
|
178
|
-
default: import("../typography").BentoTypographyVariant;
|
|
179
|
-
};
|
|
180
|
-
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "wide" | "stronger" | "strongest" | "el" | "large" | "medium" | "variant">>;
|
|
181
|
-
contentDiv: import("../../../../vue3/node_modules/vue").Ref<HTMLDivElement>;
|
|
182
|
-
contentMaxHeight: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
183
|
-
'max-height': string;
|
|
184
|
-
} | {
|
|
185
|
-
'max-height'?: undefined;
|
|
186
|
-
}>;
|
|
187
|
-
hasSlot: (name: string) => boolean;
|
|
188
|
-
onClick: () => void;
|
|
189
|
-
t: (key: "showCardContent" | "hideCardContent", values?: import("vue-i18n").default.Values) => string;
|
|
190
|
-
toggleExpansion: () => void;
|
|
191
|
-
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, ("click" | "expanded")[], "click" | "expanded", import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
56
|
+
actionsLayout?: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
192
57
|
/**
|
|
193
58
|
* Defines the color of card background
|
|
194
59
|
*/
|
|
195
|
-
background
|
|
196
|
-
type: PropType<"primary" | "secondary" | BentoCardBackground>;
|
|
197
|
-
default: BentoCardBackground;
|
|
198
|
-
validator: (value: BentoCardBackground) => boolean;
|
|
199
|
-
};
|
|
60
|
+
background?: BentoCardBackground | `${BentoCardBackground}`;
|
|
200
61
|
/**
|
|
201
|
-
*
|
|
62
|
+
* Sets the expandable card in a closed state
|
|
202
63
|
*/
|
|
203
|
-
|
|
204
|
-
type: PropType<"default" | "small" | BentoCardTitleSize>;
|
|
205
|
-
default: BentoCardTitleSize;
|
|
206
|
-
validator: (value: BentoCardTitleSize) => boolean;
|
|
207
|
-
};
|
|
64
|
+
closed?: boolean;
|
|
208
65
|
/**
|
|
209
|
-
*
|
|
66
|
+
* Disables the expandable card
|
|
210
67
|
*/
|
|
211
|
-
|
|
212
|
-
type: BooleanConstructor;
|
|
213
|
-
default: boolean;
|
|
214
|
-
};
|
|
68
|
+
disabled?: boolean;
|
|
215
69
|
/**
|
|
216
|
-
*
|
|
70
|
+
* The whole content of the card will be expandable in accordion manner
|
|
217
71
|
*/
|
|
218
|
-
|
|
219
|
-
type: BooleanConstructor;
|
|
220
|
-
default: boolean;
|
|
221
|
-
};
|
|
72
|
+
expandable?: boolean;
|
|
222
73
|
/**
|
|
223
|
-
*
|
|
74
|
+
* Defines the title size of the card header
|
|
224
75
|
*/
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
76
|
+
titleSize?: BentoCardTitleSize | `${BentoCardTitleSize}`;
|
|
77
|
+
}>, {
|
|
78
|
+
actions: any;
|
|
79
|
+
actionsLayout: import("../button").BentoButtonActionsLayoutBasic;
|
|
80
|
+
background: BentoCardBackground;
|
|
81
|
+
closed: boolean;
|
|
82
|
+
disabled: boolean;
|
|
83
|
+
expandable: boolean;
|
|
84
|
+
titleSize: BentoCardTitleSize;
|
|
85
|
+
}>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
86
|
+
click: () => void;
|
|
87
|
+
} & {
|
|
88
|
+
expanded: (isExpanded: boolean) => void;
|
|
89
|
+
}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
229
90
|
/**
|
|
230
91
|
* List of actions that will be used to render the buttons.
|
|
231
92
|
* First element in the list will be rendered as "primary".
|
|
@@ -251,10 +112,7 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
251
112
|
* }]
|
|
252
113
|
* ```
|
|
253
114
|
*/
|
|
254
|
-
actions
|
|
255
|
-
type: PropType<BentoButtonActionsList>;
|
|
256
|
-
default: any;
|
|
257
|
-
};
|
|
115
|
+
actions?: BentoButtonActionsList;
|
|
258
116
|
/**
|
|
259
117
|
* Defines the layout in which the button actions is presented.
|
|
260
118
|
* It can be one of:
|
|
@@ -265,21 +123,70 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
265
123
|
* @values SPACE_BETWEEN
|
|
266
124
|
* @values VERTICAL_STACK
|
|
267
125
|
*/
|
|
268
|
-
actionsLayout
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
126
|
+
actionsLayout?: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
127
|
+
/**
|
|
128
|
+
* Defines the color of card background
|
|
129
|
+
*/
|
|
130
|
+
background?: BentoCardBackground | `${BentoCardBackground}`;
|
|
131
|
+
/**
|
|
132
|
+
* Sets the expandable card in a closed state
|
|
133
|
+
*/
|
|
134
|
+
closed?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Disables the expandable card
|
|
137
|
+
*/
|
|
138
|
+
disabled?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* The whole content of the card will be expandable in accordion manner
|
|
141
|
+
*/
|
|
142
|
+
expandable?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Defines the title size of the card header
|
|
145
|
+
*/
|
|
146
|
+
titleSize?: BentoCardTitleSize | `${BentoCardTitleSize}`;
|
|
147
|
+
}>, {
|
|
148
|
+
actions: any;
|
|
149
|
+
actionsLayout: import("../button").BentoButtonActionsLayoutBasic;
|
|
150
|
+
background: BentoCardBackground;
|
|
151
|
+
closed: boolean;
|
|
152
|
+
disabled: boolean;
|
|
153
|
+
expandable: boolean;
|
|
154
|
+
titleSize: BentoCardTitleSize;
|
|
155
|
+
}>>> & {
|
|
156
|
+
onClick?: () => any;
|
|
157
|
+
onExpanded?: (isExpanded: boolean) => any;
|
|
276
158
|
}, {
|
|
277
|
-
titleSize:
|
|
159
|
+
titleSize: BentoCardTitleSize | `${BentoCardTitleSize}`;
|
|
278
160
|
disabled: boolean;
|
|
279
|
-
background:
|
|
161
|
+
background: BentoCardBackground | `${BentoCardBackground}`;
|
|
280
162
|
actions: BentoButtonActionsList;
|
|
281
|
-
actionsLayout:
|
|
163
|
+
actionsLayout: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
282
164
|
closed: boolean;
|
|
283
165
|
expandable: boolean;
|
|
166
|
+
}>, {
|
|
167
|
+
image: (_: {}) => any;
|
|
168
|
+
default: (_: {}) => any;
|
|
169
|
+
header: (_: {}) => any;
|
|
170
|
+
description: (_: {}) => any;
|
|
171
|
+
content: (_: {}) => any;
|
|
284
172
|
}>;
|
|
285
173
|
export default _default;
|
|
174
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
175
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
176
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
177
|
+
type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
178
|
+
} : {
|
|
179
|
+
type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
180
|
+
required: true;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
type __VLS_WithDefaults<P, D> = {
|
|
184
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
185
|
+
default: D[K];
|
|
186
|
+
} : P[K];
|
|
187
|
+
};
|
|
188
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
189
|
+
new (): {
|
|
190
|
+
$slots: S;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
@@ -270,9 +270,9 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
270
270
|
tag: any;
|
|
271
271
|
indeterminate: boolean;
|
|
272
272
|
optional: boolean;
|
|
273
|
-
readonly: boolean;
|
|
274
273
|
errorMessage: string;
|
|
275
274
|
ariaLabel: string;
|
|
275
|
+
readonly: boolean;
|
|
276
276
|
hasError: boolean;
|
|
277
277
|
modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
|
|
278
278
|
}>;
|
|
@@ -276,11 +276,11 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
276
276
|
variant: "horizontal" | "vertical" | BentoCheckboxGroupVariant;
|
|
277
277
|
disabled: boolean;
|
|
278
278
|
description: string;
|
|
279
|
-
optional: boolean;
|
|
280
|
-
readonly: boolean;
|
|
281
279
|
tooltipText: string;
|
|
280
|
+
optional: boolean;
|
|
282
281
|
hideLabel: boolean;
|
|
283
282
|
errorMessage: string;
|
|
283
|
+
readonly: boolean;
|
|
284
284
|
hasError: boolean;
|
|
285
285
|
modelValue: (string | number)[];
|
|
286
286
|
formId: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DATA_GRID_CELL_MENU_REGISTERING_INJECTION_KEY: unique symbol;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BentoColumn } from '../../data-grid.types';
|
|
2
|
+
import type { Ref } from "../../../../../../vue3/node_modules/vue";
|
|
2
3
|
export declare enum DataGridCellPropClass {
|
|
3
4
|
COLUMN_HOVERED = "column-hovered",
|
|
4
5
|
COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left",
|
|
@@ -33,6 +34,12 @@ export interface DataGridCellEvents extends DataGridCellDragEvents {
|
|
|
33
34
|
keyup?: (event: KeyboardEvent) => void;
|
|
34
35
|
keydown?: (event: KeyboardEvent) => void;
|
|
35
36
|
mouseenter?: () => void;
|
|
36
|
-
mouseleave?: () => void;
|
|
37
|
+
mouseleave?: (e: MouseEvent) => void;
|
|
38
|
+
focus?: (e: FocusEvent) => void;
|
|
39
|
+
focusout?: (e: FocusEvent) => void;
|
|
37
40
|
}
|
|
38
41
|
export type DataGridCellEventsForColumn = (column: BentoColumn) => DataGridCellEvents;
|
|
42
|
+
export type DataGridCellRegisterMenu = {
|
|
43
|
+
registerMenuContainerElement: (menuContainerElement: Ref<HTMLDivElement>) => void;
|
|
44
|
+
menuMouseLeave: (e: MouseEvent) => void;
|
|
45
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropType } from "../../../../../../vue3/node_modules/vue";
|
|
1
|
+
import { PropType, Ref } from "../../../../../../vue3/node_modules/vue";
|
|
2
2
|
import { BentoColumn, BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn } from "../../data-grid.types";
|
|
3
3
|
import { DataGridCellColumnSet, DataGridCellDragEventsForColumn } from './data-grid-cell.types';
|
|
4
4
|
import type { BentoDatagridDraggingColumnState } from '../data-grid-columns/data-grid-columns.types';
|
|
5
|
-
import { DatagridColumnHoveringState } from "../../composables/use-column-hovering";
|
|
5
|
+
import type { DatagridColumnHoveringState } from "../../composables/use-column-hovering";
|
|
6
6
|
/**
|
|
7
7
|
* Internal component to display the BentoDataGrid cells.
|
|
8
8
|
*
|
|
@@ -97,13 +97,15 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
|
|
|
97
97
|
required: true;
|
|
98
98
|
};
|
|
99
99
|
}, {
|
|
100
|
-
gridcellRef:
|
|
100
|
+
gridcellRef: Ref<HTMLDivElement>;
|
|
101
101
|
}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
102
102
|
"on-frozen-columns-key-press": (event: Event) => void;
|
|
103
103
|
} & {
|
|
104
104
|
"select-row": (value: BentoDatagridDataItemId[]) => void;
|
|
105
105
|
} & {
|
|
106
106
|
"register-row-cell-element": (el: Element, field: string, rowIndex: number) => void;
|
|
107
|
+
} & {
|
|
108
|
+
"cell-hovered": (value: number) => void;
|
|
107
109
|
}, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
108
110
|
draggingEventsForRowCell: {
|
|
109
111
|
type: PropType<DataGridCellDragEventsForColumn>;
|
|
@@ -191,6 +193,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
|
|
|
191
193
|
"onOn-frozen-columns-key-press"?: (event: Event) => any;
|
|
192
194
|
"onSelect-row"?: (value: BentoDatagridDataItemId[]) => any;
|
|
193
195
|
"onRegister-row-cell-element"?: (el: Element, field: string, rowIndex: number) => any;
|
|
196
|
+
"onCell-hovered"?: (value: number) => any;
|
|
194
197
|
}, {
|
|
195
198
|
condensed: boolean;
|
|
196
199
|
draggingColumns: any;
|
|
@@ -59,7 +59,9 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
59
59
|
type: PropType<BentoDatagridDataItem>;
|
|
60
60
|
required: true;
|
|
61
61
|
};
|
|
62
|
-
}, {}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
62
|
+
}, {}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
63
|
+
"menu-item-click-close": () => void;
|
|
64
|
+
}, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
63
65
|
/**
|
|
64
66
|
* Column definitions using 'key' to relate to data object.
|
|
65
67
|
*/
|
|
@@ -82,5 +84,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
82
84
|
type: PropType<BentoDatagridDataItem>;
|
|
83
85
|
required: true;
|
|
84
86
|
};
|
|
85
|
-
}
|
|
87
|
+
}>> & {
|
|
88
|
+
"onMenu-item-click-close"?: () => any;
|
|
89
|
+
}, {}>;
|
|
86
90
|
export default _default;
|
|
@@ -90,8 +90,8 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
90
90
|
title: string;
|
|
91
91
|
image: "1-generic-use" | "2-generic-use" | "3-generic-use" | "4-generic-use" | "adding-payment-methods" | "adyen-giving" | "internal-error" | "no-results-found" | "notifications-cleared" | "page-not-found" | "planned-maintenance" | "referrals" | "success" | "upload-files" | "wrong-environment";
|
|
92
92
|
variant: "condensed" | "full-page" | "embedded" | "basic";
|
|
93
|
-
description: string;
|
|
94
93
|
action: import("../button").BentoButtonActionObject;
|
|
94
|
+
description: string;
|
|
95
95
|
headingEl: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
|
|
96
96
|
}> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
97
97
|
action: {
|
|
@@ -122,7 +122,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
122
122
|
default: string;
|
|
123
123
|
validator: (value: import("../empty-state").BentoEmptyStateVariant) => boolean;
|
|
124
124
|
};
|
|
125
|
-
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "
|
|
125
|
+
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "action" | "description" | "headingEl">>;
|
|
126
126
|
default: any;
|
|
127
127
|
};
|
|
128
128
|
/**
|
|
@@ -410,8 +410,8 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
410
410
|
title: string;
|
|
411
411
|
image: "1-generic-use" | "2-generic-use" | "3-generic-use" | "4-generic-use" | "adding-payment-methods" | "adyen-giving" | "internal-error" | "no-results-found" | "notifications-cleared" | "page-not-found" | "planned-maintenance" | "referrals" | "success" | "upload-files" | "wrong-environment";
|
|
412
412
|
variant: "condensed" | "full-page" | "embedded" | "basic";
|
|
413
|
-
description: string;
|
|
414
413
|
action: import("../button").BentoButtonActionObject;
|
|
414
|
+
description: string;
|
|
415
415
|
headingEl: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
|
|
416
416
|
}> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
417
417
|
action: {
|
|
@@ -442,7 +442,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
442
442
|
default: string;
|
|
443
443
|
validator: (value: import("../empty-state").BentoEmptyStateVariant) => boolean;
|
|
444
444
|
};
|
|
445
|
-
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "
|
|
445
|
+
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "action" | "description" | "headingEl">>;
|
|
446
446
|
default: any;
|
|
447
447
|
};
|
|
448
448
|
/**
|
|
@@ -687,9 +687,9 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
687
687
|
filters: any;
|
|
688
688
|
condensed: boolean;
|
|
689
689
|
outline: boolean;
|
|
690
|
+
lazyLoadType: BentoLazyLoadType;
|
|
690
691
|
loading: boolean;
|
|
691
692
|
emptyState: any;
|
|
692
|
-
lazyLoadType: BentoLazyLoadType;
|
|
693
693
|
fitContent: boolean;
|
|
694
694
|
hasResizableColumns: boolean;
|
|
695
695
|
selectableAcrossPages: boolean;
|
|
@@ -223,11 +223,11 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
223
223
|
max: any;
|
|
224
224
|
min: any;
|
|
225
225
|
description: string;
|
|
226
|
-
optional: boolean;
|
|
227
|
-
readonly: boolean;
|
|
228
226
|
isDateDisabled: any;
|
|
229
227
|
firstDayOfWeek: any;
|
|
230
228
|
tooltipText: string;
|
|
229
|
+
optional: boolean;
|
|
231
230
|
errorMessage: string;
|
|
231
|
+
readonly: boolean;
|
|
232
232
|
}>;
|
|
233
233
|
export default _default;
|