@adyen/bento-vue3 1.26.0 → 1.27.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.d.ts +4 -0
- package/dist/@types/packages/core/src/utils/ts/storybook.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/utils/get-lang-loader.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +1 -18
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +36 -54
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +27 -22
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +76 -1
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +21 -2
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +78 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +103 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +1 -12
- package/dist/accordion.js +3 -3
- package/dist/action-bar.js +71 -155
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +6 -6
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.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/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/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/index49.css +1 -0
- 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/use-cached-selected-values.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +4 -4
- package/dist/card.js +4 -4
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.e84acf30.js → base-button.a0140a4c.js} +2 -2
- package/dist/chunks/{base-button.e84acf30.js.map → base-button.a0140a4c.js.map} +1 -1
- package/dist/chunks/{base-modal.29e062d0.js → base-modal.4102f69d.js} +7 -7
- package/dist/chunks/{base-modal.29e062d0.js.map → base-modal.4102f69d.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.7fce47a2.js → button-actions-with-menu.4f311411.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.7fce47a2.js.map → button-actions-with-menu.4f311411.js.map} +1 -1
- package/dist/chunks/{button-actions.642b37de.js → button-actions.82163994.js} +42 -40
- package/dist/chunks/button-actions.82163994.js.map +1 -0
- package/dist/chunks/{button.60dad578.js → button.ae4760cd.js} +27 -26
- package/dist/chunks/button.ae4760cd.js.map +1 -0
- package/dist/chunks/{calendar.f38cdab9.js → calendar.a9c5a68c.js} +6 -6
- package/dist/chunks/{calendar.f38cdab9.js.map → calendar.a9c5a68c.js.map} +1 -1
- package/dist/chunks/{checkbox-input.ab758a81.js → checkbox-input.99336948.js} +2 -2
- package/dist/chunks/{checkbox-input.ab758a81.js.map → checkbox-input.99336948.js.map} +1 -1
- package/dist/chunks/{checkbox.f55ee3a5.js → checkbox.9c30c07b.js} +4 -4
- package/dist/chunks/{checkbox.f55ee3a5.js.map → checkbox.9c30c07b.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.f3a69c6a.js → checkmark-circle-fill.c45a999d.js} +2 -2
- package/dist/chunks/{checkmark-circle-fill.f3a69c6a.js.map → checkmark-circle-fill.c45a999d.js.map} +1 -1
- package/dist/chunks/{checkmark-small.d7e31e5e.js → checkmark-small.c79220d9.js} +2 -2
- package/dist/chunks/{checkmark-small.d7e31e5e.js.map → checkmark-small.c79220d9.js.map} +1 -1
- package/dist/chunks/{chevron-left.963d35e9.js → chevron-left.4ee92950.js} +2 -2
- package/dist/chunks/{chevron-left.963d35e9.js.map → chevron-left.4ee92950.js.map} +1 -1
- package/dist/chunks/{chevron-up.05ca20db.js → chevron-up.638a9f34.js} +2 -2
- package/dist/chunks/{chevron-up.05ca20db.js.map → chevron-up.638a9f34.js.map} +1 -1
- package/dist/chunks/{controls-group.9e0f17b2.js → controls-group.8357e3fd.js} +3 -3
- package/dist/chunks/{controls-group.9e0f17b2.js.map → controls-group.8357e3fd.js.map} +1 -1
- package/dist/chunks/{copy.852d4cb8.js → copy.60ee6ac3.js} +4 -4
- package/dist/chunks/{copy.852d4cb8.js.map → copy.60ee6ac3.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill.81925c7f.js → cross-circle-fill.1abec1a2.js} +2 -2
- package/dist/chunks/{cross-circle-fill.81925c7f.js.map → cross-circle-fill.1abec1a2.js.map} +1 -1
- package/dist/chunks/{cross-small.9bc6a02f.js → cross-small.b85406fe.js} +2 -2
- package/dist/chunks/{cross-small.9bc6a02f.js.map → cross-small.b85406fe.js.map} +1 -1
- package/dist/chunks/{cross.a60533f6.js → cross.26509efc.js} +2 -2
- package/dist/chunks/{cross.a60533f6.js.map → cross.26509efc.js.map} +1 -1
- package/dist/chunks/{dialog-page.ea67bb14.js → dialog-page.cb6ce9b6.js} +3 -3
- package/dist/chunks/{dialog-page.ea67bb14.js.map → dialog-page.cb6ce9b6.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.ad5063c2.js → dropdown-default-textbox.cda0798f.js} +5 -5
- package/dist/chunks/{dropdown-default-textbox.ad5063c2.js.map → dropdown-default-textbox.cda0798f.js.map} +1 -1
- package/dist/chunks/{dropdown.d8587f36.js → dropdown.0ae3b842.js} +122 -132
- package/dist/chunks/dropdown.0ae3b842.js.map +1 -0
- package/dist/chunks/{error-message.3fb5573a.js → error-message.d2bdeb80.js} +3 -3
- package/dist/chunks/{error-message.3fb5573a.js.map → error-message.d2bdeb80.js.map} +1 -1
- package/dist/chunks/{events.58c00e6d.js → events.f14a214b.js} +5 -5
- package/dist/chunks/events.f14a214b.js.map +1 -0
- package/dist/chunks/{fixed-scroller.59aefd1b.js → fixed-scroller.7b42cb1e.js} +3 -3
- package/dist/chunks/{fixed-scroller.59aefd1b.js.map → fixed-scroller.7b42cb1e.js.map} +1 -1
- package/dist/chunks/{footer-actions.89e68269.js → footer-actions.64f6f5d8.js} +4 -4
- package/dist/chunks/{footer-actions.89e68269.js.map → footer-actions.64f6f5d8.js.map} +1 -1
- package/dist/chunks/{index.96cd0d4c.js → index.2d7b4511.js} +15 -15
- package/dist/chunks/{index.96cd0d4c.js.map → index.2d7b4511.js.map} +1 -1
- package/dist/chunks/index.2fcd1233.js +103 -0
- package/dist/chunks/index.2fcd1233.js.map +1 -0
- package/dist/chunks/{index.9bf04b01.js → index.6295e754.js} +3 -3
- package/dist/chunks/{index.9bf04b01.js.map → index.6295e754.js.map} +1 -1
- package/dist/chunks/{index.030c1dd7.js → index.6bb6f38c.js} +7 -7
- package/dist/chunks/{index.030c1dd7.js.map → index.6bb6f38c.js.map} +1 -1
- package/dist/chunks/{index.ba3396d3.js → index.8aa536a8.js} +3 -3
- package/dist/chunks/{index.ba3396d3.js.map → index.8aa536a8.js.map} +1 -1
- package/dist/chunks/{index.8be283d5.js → index.9d7fb316.js} +2 -2
- package/dist/chunks/{index.8be283d5.js.map → index.9d7fb316.js.map} +1 -1
- package/dist/chunks/{index.5bdebf9d.js → index.a001a0a8.js} +7 -7
- package/dist/chunks/{index.5bdebf9d.js.map → index.a001a0a8.js.map} +1 -1
- package/dist/chunks/{index.07122048.js → index.b18c78d6.js} +2 -2
- package/dist/chunks/{index.07122048.js.map → index.b18c78d6.js.map} +1 -1
- package/dist/chunks/{index.6e0e9d21.js → index.eb38a6c4.js} +3 -3
- package/dist/chunks/{index.6e0e9d21.js.map → index.eb38a6c4.js.map} +1 -1
- package/dist/chunks/{index.a3d60e4f.js → index.ee15db35.js} +2 -2
- package/dist/chunks/{index.a3d60e4f.js.map → index.ee15db35.js.map} +1 -1
- package/dist/chunks/{index.146f967e.js → index.f9d081d2.js} +2 -2
- package/dist/chunks/{index.146f967e.js.map → index.f9d081d2.js.map} +1 -1
- package/dist/chunks/index.fedbb4c2.js +125 -0
- package/dist/chunks/index.fedbb4c2.js.map +1 -0
- package/dist/chunks/{info.205b4496.js → info.550f9511.js} +2 -2
- package/dist/chunks/{info.205b4496.js.map → info.550f9511.js.map} +1 -1
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.bbc3d15c.js} +2 -2
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.bbc3d15c.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.b6182b2e.js → listbox-option-tag.2aea037c.js} +3 -3
- package/dist/chunks/{listbox-option-tag.b6182b2e.js.map → listbox-option-tag.2aea037c.js.map} +1 -1
- package/dist/chunks/{loading-button.0391ad8b.js → loading-button.6b81b546.js} +4 -4
- package/dist/chunks/{loading-button.0391ad8b.js.map → loading-button.6b81b546.js.map} +1 -1
- package/dist/chunks/{payment-method.31a68b9b.js → payment-method.d5595a7c.js} +2 -2
- package/dist/chunks/{payment-method.31a68b9b.js.map → payment-method.d5595a7c.js.map} +1 -1
- package/dist/chunks/{refresh.53691839.js → refresh.bd60f6a8.js} +2 -2
- package/dist/chunks/{refresh.53691839.js.map → refresh.bd60f6a8.js.map} +1 -1
- package/dist/chunks/{search.4e4ee4dd.js → search.ade93bda.js} +2 -2
- package/dist/chunks/{search.4e4ee4dd.js.map → search.ade93bda.js.map} +1 -1
- package/dist/chunks/{tooltip.1084d92b.js → tooltip.36172265.js} +4 -4
- package/dist/chunks/{tooltip.1084d92b.js.map → tooltip.36172265.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.98d8613c.js → use-bento-toast-controller.3dc4e113.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.98d8613c.js.map → use-bento-toast-controller.3dc4e113.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.852aeafe.js → use-cached-selected-values.3c312296.js} +396 -375
- package/dist/chunks/use-cached-selected-values.3c312296.js.map +1 -0
- package/dist/code-snippet.js +137 -135
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +169 -0
- package/dist/dashboard-template.js.map +1 -0
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +52 -44
- 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 +85 -83
- 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 +5 -5
- package/dist/index.js +66 -63
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +4 -4
- package/dist/input-field.js +4 -4
- package/dist/internal.js +8 -8
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +7 -7
- 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 +4 -4
- package/dist/search-bar.js +4 -4
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +66 -72
- package/dist/segmented-control.js.map +1 -1
- package/dist/selection-card.js +5 -5
- package/dist/sidepanel.js +7 -7
- package/dist/status.js +2 -2
- package/dist/stepper.js +5 -5
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +80 -78
- package/dist/tabs.js.map +1 -1
- 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 +3 -3
- package/dist/tutorial.js +125 -110
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +8 -6
- package/dist/chunks/button-actions.642b37de.js.map +0 -1
- package/dist/chunks/button.60dad578.js.map +0 -1
- package/dist/chunks/checkmark.87919b24.js +0 -29
- package/dist/chunks/checkmark.87919b24.js.map +0 -1
- package/dist/chunks/dropdown.d8587f36.js.map +0 -1
- package/dist/chunks/events.58c00e6d.js.map +0 -1
- package/dist/chunks/index.c8ffede1.js +0 -168
- package/dist/chunks/index.c8ffede1.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.852aeafe.js.map +0 -1
- /package/dist/assets/{checkmark-circle-fill.css → cross.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref } from "../../../../vue3/node_modules/vue";
|
|
1
|
+
import { nextTick, Ref } from "../../../../vue3/node_modules/vue";
|
|
2
2
|
import { BentoTab } from './components/tab.types';
|
|
3
3
|
import { BentoTabsEvent } from './tabs.types';
|
|
4
4
|
import { Booleanish } from "../../types";
|
|
@@ -40,6 +40,81 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
40
40
|
}, {
|
|
41
41
|
tabs: Ref<BentoTab[]>;
|
|
42
42
|
tablist: any;
|
|
43
|
+
tablistwrapper: Ref<{
|
|
44
|
+
$: import("../../../../vue3/node_modules/vue").ComponentInternalInstance;
|
|
45
|
+
$data: {};
|
|
46
|
+
$props: Partial<{
|
|
47
|
+
condensed: boolean;
|
|
48
|
+
extraPaddingTop: number;
|
|
49
|
+
}> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
50
|
+
condensed: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
extraPaddingTop: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "condensed" | "extraPaddingTop">;
|
|
59
|
+
$attrs: {
|
|
60
|
+
[x: string]: unknown;
|
|
61
|
+
};
|
|
62
|
+
$refs: {
|
|
63
|
+
[x: string]: unknown;
|
|
64
|
+
};
|
|
65
|
+
$slots: Readonly<{
|
|
66
|
+
[name: string]: import("../../../../vue3/node_modules/vue").Slot;
|
|
67
|
+
}>;
|
|
68
|
+
$root: import("../../../../vue3/node_modules/vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("../../../../vue3/node_modules/vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
69
|
+
$parent: import("../../../../vue3/node_modules/vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("../../../../vue3/node_modules/vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
70
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
71
|
+
$el: any;
|
|
72
|
+
$options: import("../../../../vue3/node_modules/vue").ComponentOptionsBase<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
73
|
+
condensed: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
extraPaddingTop: {
|
|
78
|
+
type: NumberConstructor;
|
|
79
|
+
default: number;
|
|
80
|
+
};
|
|
81
|
+
}>>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, {
|
|
82
|
+
condensed: boolean;
|
|
83
|
+
extraPaddingTop: number;
|
|
84
|
+
}, {}, string> & {
|
|
85
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
86
|
+
created?: (() => void) | (() => void)[];
|
|
87
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
88
|
+
mounted?: (() => void) | (() => void)[];
|
|
89
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
90
|
+
updated?: (() => void) | (() => void)[];
|
|
91
|
+
activated?: (() => void) | (() => void)[];
|
|
92
|
+
deactivated?: (() => void) | (() => void)[];
|
|
93
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
94
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
95
|
+
destroyed?: (() => void) | (() => void)[];
|
|
96
|
+
unmounted?: (() => void) | (() => void)[];
|
|
97
|
+
renderTracked?: ((e: import("../../../../vue3/node_modules/vue").DebuggerEvent) => void) | ((e: import("../../../../vue3/node_modules/vue").DebuggerEvent) => void)[];
|
|
98
|
+
renderTriggered?: ((e: import("../../../../vue3/node_modules/vue").DebuggerEvent) => void) | ((e: import("../../../../vue3/node_modules/vue").DebuggerEvent) => void)[];
|
|
99
|
+
errorCaptured?: ((err: unknown, instance: import("../../../../vue3/node_modules/vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("../../../../vue3/node_modules/vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("../../../../vue3/node_modules/vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("../../../../vue3/node_modules/vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
100
|
+
};
|
|
101
|
+
$forceUpdate: () => void;
|
|
102
|
+
$nextTick: typeof nextTick;
|
|
103
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("../../../../vue3/node_modules/vue").WatchOptions<boolean>): import("../../../../vue3/node_modules/vue").WatchStopHandle;
|
|
104
|
+
} & Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
105
|
+
condensed: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
extraPaddingTop: {
|
|
110
|
+
type: NumberConstructor;
|
|
111
|
+
default: number;
|
|
112
|
+
};
|
|
113
|
+
}>> & import("../../../../vue3/node_modules/vue").ShallowUnwrapRef<{}> & {} & import("../../../../vue3/node_modules/vue").ComponentCustomProperties & {} & {
|
|
114
|
+
$slots: {
|
|
115
|
+
default: (_: {}) => any;
|
|
116
|
+
};
|
|
117
|
+
}>;
|
|
43
118
|
activeTabId: Ref<string>;
|
|
44
119
|
onKeydownTabsNavigation: (e: KeyboardEvent) => void;
|
|
45
120
|
handleTabChange: (tabId: string) => void;
|
|
@@ -35,6 +35,13 @@ import type { BentoTutorialScrollOptions, BentoTutorialStep } from './tutorial.t
|
|
|
35
35
|
* }
|
|
36
36
|
*/
|
|
37
37
|
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
38
|
+
/**
|
|
39
|
+
* The current step index. If provided, will start the tutorial in that step.
|
|
40
|
+
*/
|
|
41
|
+
index: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: any;
|
|
44
|
+
};
|
|
38
45
|
/**
|
|
39
46
|
* The steps configuration for the tutorial.
|
|
40
47
|
*
|
|
@@ -53,7 +60,16 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
53
60
|
type: PropType<BentoTutorialScrollOptions>;
|
|
54
61
|
default: any;
|
|
55
62
|
};
|
|
56
|
-
}, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
63
|
+
}, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
64
|
+
"update:index": (value: number) => void;
|
|
65
|
+
}, 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<{
|
|
66
|
+
/**
|
|
67
|
+
* The current step index. If provided, will start the tutorial in that step.
|
|
68
|
+
*/
|
|
69
|
+
index: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
57
73
|
/**
|
|
58
74
|
* The steps configuration for the tutorial.
|
|
59
75
|
*
|
|
@@ -72,7 +88,10 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
72
88
|
type: PropType<BentoTutorialScrollOptions>;
|
|
73
89
|
default: any;
|
|
74
90
|
};
|
|
75
|
-
}
|
|
91
|
+
}>> & {
|
|
92
|
+
"onUpdate:index"?: (value: number) => any;
|
|
93
|
+
}, {
|
|
94
|
+
index: number;
|
|
76
95
|
scrollOptions: any;
|
|
77
96
|
}>;
|
|
78
97
|
export default _default;
|
|
@@ -51,6 +51,7 @@ export * from './components/typography';
|
|
|
51
51
|
export * from './composables/use-form-validate';
|
|
52
52
|
export * from './composables/use-bento-toast-controller';
|
|
53
53
|
export * from './composables/use-click-outside';
|
|
54
|
+
export * from './templates/dashboard-template';
|
|
54
55
|
export * from './templates/data-grid-template';
|
|
55
56
|
export * from './types';
|
|
56
57
|
export * from './directives';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { BentoDashboardTemplateHeader } from '../../dashboard-template.types';
|
|
2
|
+
/**
|
|
3
|
+
* Dashboard section is subcomponent of Dashboard template meant to be used to create the different sections within the page.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* import { BentoDashboardSection } from '@adyen/bento-vue2';
|
|
7
|
+
*
|
|
8
|
+
* export default {
|
|
9
|
+
* components: { BentoDashboardSection },
|
|
10
|
+
* template: `
|
|
11
|
+
* <bento-dashboard-section :header="{ title: 'Section' }" half-width>
|
|
12
|
+
* <template #controls>
|
|
13
|
+
* // Add your controls here
|
|
14
|
+
* </template>
|
|
15
|
+
* // You can render content with two cols
|
|
16
|
+
* <template #content-col-1>
|
|
17
|
+
* // Add your content here
|
|
18
|
+
* </template>
|
|
19
|
+
* <template #content-col-2>
|
|
20
|
+
* // Add your content here
|
|
21
|
+
* </template>
|
|
22
|
+
* // Or you can render full width content by using default slot
|
|
23
|
+
* // Add your content here
|
|
24
|
+
* </bento-dashboard-section>
|
|
25
|
+
* `
|
|
26
|
+
* }
|
|
27
|
+
*/
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
29
|
+
/**
|
|
30
|
+
* The header of the section
|
|
31
|
+
*/
|
|
32
|
+
header: BentoDashboardTemplateHeader;
|
|
33
|
+
/**
|
|
34
|
+
* Renders the section to take only half of the page
|
|
35
|
+
*/
|
|
36
|
+
halfWidth?: boolean;
|
|
37
|
+
}>, {
|
|
38
|
+
halfWidth: boolean;
|
|
39
|
+
}>, {}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, 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<{
|
|
40
|
+
/**
|
|
41
|
+
* The header of the section
|
|
42
|
+
*/
|
|
43
|
+
header: BentoDashboardTemplateHeader;
|
|
44
|
+
/**
|
|
45
|
+
* Renders the section to take only half of the page
|
|
46
|
+
*/
|
|
47
|
+
halfWidth?: boolean;
|
|
48
|
+
}>, {
|
|
49
|
+
halfWidth: boolean;
|
|
50
|
+
}>>>, {
|
|
51
|
+
halfWidth: boolean;
|
|
52
|
+
}>, {
|
|
53
|
+
infoIconTooltipContent: (_: {}) => any;
|
|
54
|
+
controls: (_: {}) => any;
|
|
55
|
+
default: (_: {}) => any;
|
|
56
|
+
'content-col-1': (_: {}) => any;
|
|
57
|
+
'content-col-2': (_: {}) => any;
|
|
58
|
+
}>;
|
|
59
|
+
export default _default;
|
|
60
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
62
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
+
type: import("../../../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
+
} : {
|
|
65
|
+
type: import("../../../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
type __VLS_WithDefaults<P, D> = {
|
|
70
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
71
|
+
default: D[K];
|
|
72
|
+
} : P[K];
|
|
73
|
+
};
|
|
74
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
75
|
+
new (): {
|
|
76
|
+
$slots: S;
|
|
77
|
+
};
|
|
78
|
+
};
|
package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.types.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BentoTab } from "../../components/tabs";
|
|
2
|
+
import type { BentoHeader } from "../../components/header";
|
|
3
|
+
export type BentoDashboardTemplateTab = InstanceType<typeof BentoTab>['$props'];
|
|
4
|
+
export type BentoDashboardTemplateHeader = InstanceType<typeof BentoHeader>['$props'];
|
|
5
|
+
export type BentoDashboardTemplateTabs = {
|
|
6
|
+
activeTabIndex?: number;
|
|
7
|
+
tabs: BentoDashboardTemplateTab[];
|
|
8
|
+
};
|
package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { BentoDashboardTemplateHeader, BentoDashboardTemplateTabs } from './dashboard-template.types';
|
|
2
|
+
/**
|
|
3
|
+
* Dashboard template is a full page template used to visualize data on pages such as data dashboards and reports.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* import { BentoDashboardTemplate, BentoDashboardSection } from '@adyen/bento-vue2';
|
|
7
|
+
*
|
|
8
|
+
* export default {
|
|
9
|
+
* components: { BentoDashboardTemplate, BentoDashboardSection },
|
|
10
|
+
* template: `
|
|
11
|
+
* <bento-dashboard-template :header="{ title: 'Dashboard'}" :tabs="tabs: [{ title: 'Tab 1' }, { title: 'Tab 2' }]" sticky-tabs sticky-filters>
|
|
12
|
+
* <template #tab-1>
|
|
13
|
+
* <bento-dashboard-section :header="{ title: 'Section'}">
|
|
14
|
+
* <template #controls>
|
|
15
|
+
* // Add your controls here
|
|
16
|
+
* </template>
|
|
17
|
+
* // Add your content here
|
|
18
|
+
* </bento-dashboard-section>
|
|
19
|
+
* </template>
|
|
20
|
+
* <template #tab-2>
|
|
21
|
+
* <bento-dashboard-section :header="{ title: 'Section'}">
|
|
22
|
+
* // Add your content here
|
|
23
|
+
* </bento-dashboard-section>
|
|
24
|
+
* </template>
|
|
25
|
+
* </bento-dashboard-template>
|
|
26
|
+
* `
|
|
27
|
+
* }
|
|
28
|
+
*/
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
+
/**
|
|
31
|
+
* The header that goes to the top of the template
|
|
32
|
+
*/
|
|
33
|
+
header: BentoDashboardTemplateHeader;
|
|
34
|
+
/**
|
|
35
|
+
* All the tab properties that can be set on the inner tab components.
|
|
36
|
+
* - tabs.activeTabIndex: the currently active tab index.
|
|
37
|
+
* - tabs.tabs: an array of BentoTab props, the first item in the array will affect the `tab-1` slot and so on.
|
|
38
|
+
*/
|
|
39
|
+
tabs?: BentoDashboardTemplateTabs;
|
|
40
|
+
/**
|
|
41
|
+
* Renders the tabs with a sticky positioning
|
|
42
|
+
*/
|
|
43
|
+
stickyTabs?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Renders the tabs with a sticky positioning
|
|
46
|
+
*/
|
|
47
|
+
stickyFilters?: boolean;
|
|
48
|
+
}>, {
|
|
49
|
+
tabs: any;
|
|
50
|
+
stickyTabs: boolean;
|
|
51
|
+
stickyFilters: boolean;
|
|
52
|
+
}>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, 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<{
|
|
53
|
+
/**
|
|
54
|
+
* The header that goes to the top of the template
|
|
55
|
+
*/
|
|
56
|
+
header: BentoDashboardTemplateHeader;
|
|
57
|
+
/**
|
|
58
|
+
* All the tab properties that can be set on the inner tab components.
|
|
59
|
+
* - tabs.activeTabIndex: the currently active tab index.
|
|
60
|
+
* - tabs.tabs: an array of BentoTab props, the first item in the array will affect the `tab-1` slot and so on.
|
|
61
|
+
*/
|
|
62
|
+
tabs?: BentoDashboardTemplateTabs;
|
|
63
|
+
/**
|
|
64
|
+
* Renders the tabs with a sticky positioning
|
|
65
|
+
*/
|
|
66
|
+
stickyTabs?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Renders the tabs with a sticky positioning
|
|
69
|
+
*/
|
|
70
|
+
stickyFilters?: boolean;
|
|
71
|
+
}>, {
|
|
72
|
+
tabs: any;
|
|
73
|
+
stickyTabs: boolean;
|
|
74
|
+
stickyFilters: boolean;
|
|
75
|
+
}>>>, {
|
|
76
|
+
tabs: BentoDashboardTemplateTabs;
|
|
77
|
+
stickyFilters: boolean;
|
|
78
|
+
stickyTabs: boolean;
|
|
79
|
+
}>, Record<string, (_: {}) => any> & {
|
|
80
|
+
infoIconTooltipContent: (_: {}) => any;
|
|
81
|
+
filters: (_: {}) => any;
|
|
82
|
+
default: (_: {}) => any;
|
|
83
|
+
}>;
|
|
84
|
+
export default _default;
|
|
85
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
86
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
87
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
88
|
+
type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
89
|
+
} : {
|
|
90
|
+
type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
type __VLS_WithDefaults<P, D> = {
|
|
95
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
96
|
+
default: D[K];
|
|
97
|
+
} : P[K];
|
|
98
|
+
};
|
|
99
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
100
|
+
new (): {
|
|
101
|
+
$slots: S;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
docs: {
|
|
3
|
-
source: {
|
|
4
|
-
code: string;
|
|
5
|
-
language: string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export declare const getPokemonFromApi: (pokemonName?: string) => Promise<{
|
|
10
|
-
label: any;
|
|
11
|
-
value: any;
|
|
12
|
-
}[]>;
|
|
1
|
+
export * from "../../../../core/src/utils/ts/storybook";
|
|
13
2
|
/**
|
|
14
3
|
* Adds necessary Toast component to display toasts.
|
|
15
4
|
* It should be added just once on the app level, but never in the views or components itself
|
package/dist/accordion.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as C, provide as k, toRef as B, openBlock as a, createElementBlock as r, renderSlot as E, ref as b, inject as O, computed as $, watch as s, createVNode as y, unref as e, withCtx as g, createElementVNode as h, createBlock as I, createTextVNode as z, toDisplayString as A, Transition as D, normalizeStyle as H, createCommentVNode as V } from "vue";
|
|
2
2
|
import { _ as N } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
3
|
-
import { B as w } from "./chunks/index.
|
|
4
|
-
import { C as R, a as j } from "./chunks/chevron-up.
|
|
3
|
+
import { B as w } from "./chunks/index.ee15db35.js";
|
|
4
|
+
import { C as R, a as j } from "./chunks/chevron-up.638a9f34.js";
|
|
5
5
|
import { g as x } from "./chunks/unique-id.a2a2b458.js";
|
|
6
6
|
import { o as M } from "./chunks/resize.a041304d.js";
|
|
7
7
|
import { u as U } from "./chunks/use-expandable-content-height.62fc84e5.js";
|
|
8
|
-
import "./assets/
|
|
8
|
+
import "./assets/index2.css";
|
|
9
9
|
const S = Symbol("accordion title size injection key"), q = { class: "b-accordion" }, J = {}, K = /* @__PURE__ */ C({
|
|
10
10
|
...J,
|
|
11
11
|
__name: "accordion",
|