@adyen/bento-vue2 1.20.1 → 1.21.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/README.md +53 -0
- package/dist/@types/components.d.ts +8 -0
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle-button.vue.d.ts +6 -5
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +16 -21
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +21 -1
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +14 -3
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +91 -0
- package/dist/@types/packages/vue2/src/components/modal/index.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/modal/modal.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/modal/modal.types.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +14 -3
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +145 -0
- package/dist/@types/packages/vue2/src/components/selection-card/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.types.d.ts +22 -0
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.vue.d.ts +90 -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 +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/checkbox-input.css +1 -0
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/dialog-page.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/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/radio-input.css +1 -0
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +32 -31
- package/dist/button.js.map +1 -1
- package/dist/card.js +3 -3
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.d3f27fe6.js → base-button.1e390a82.js} +2 -2
- package/dist/chunks/{base-button.d3f27fe6.js.map → base-button.1e390a82.js.map} +1 -1
- package/dist/chunks/base-modal.7ce3f321.js +372 -0
- package/dist/chunks/base-modal.7ce3f321.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.4e274e5d.js → button-actions-with-menu.2722f4ab.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.4e274e5d.js.map → button-actions-with-menu.2722f4ab.js.map} +1 -1
- package/dist/chunks/{button-actions.98e96aa6.js → button-actions.6bdcc584.js} +3 -3
- package/dist/chunks/{button-actions.98e96aa6.js.map → button-actions.6bdcc584.js.map} +1 -1
- package/dist/chunks/{button.27948f1c.js → button.ff51261f.js} +18 -18
- package/dist/chunks/button.ff51261f.js.map +1 -0
- package/dist/chunks/{calendar.943ea7c3.js → calendar.7517c117.js} +4 -4
- package/dist/chunks/{calendar.943ea7c3.js.map → calendar.7517c117.js.map} +1 -1
- package/dist/chunks/checkbox-input.4c4e4c2e.js +123 -0
- package/dist/chunks/checkbox-input.4c4e4c2e.js.map +1 -0
- package/dist/chunks/checkbox.a52d6e60.js +160 -0
- package/dist/chunks/checkbox.a52d6e60.js.map +1 -0
- package/dist/chunks/{controls-group.02abd743.js → controls-group.aee628f6.js} +3 -3
- package/dist/chunks/{controls-group.02abd743.js.map → controls-group.aee628f6.js.map} +1 -1
- package/dist/chunks/{copy.a9f87101.js → copy.4374d1ea.js} +4 -4
- package/dist/chunks/{copy.a9f87101.js.map → copy.4374d1ea.js.map} +1 -1
- package/dist/chunks/dialog-page.f3412ccd.js +133 -0
- package/dist/chunks/dialog-page.f3412ccd.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.b4f19086.js → dropdown-default-textbox.cf662c3b.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.b4f19086.js.map → dropdown-default-textbox.cf662c3b.js.map} +1 -1
- package/dist/chunks/{dropdown.9abc124c.js → dropdown.321135c2.js} +14 -14
- package/dist/chunks/{dropdown.9abc124c.js.map → dropdown.321135c2.js.map} +1 -1
- package/dist/chunks/{error-message.3d436de3.js → error-message.14f59b8b.js} +2 -2
- package/dist/chunks/{error-message.3d436de3.js.map → error-message.14f59b8b.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.c430a595.js → fixed-scroller.22f64181.js} +2 -2
- package/dist/chunks/{fixed-scroller.c430a595.js.map → fixed-scroller.22f64181.js.map} +1 -1
- package/dist/chunks/{footer-actions.74983707.js → footer-actions.8e51e4db.js} +4 -4
- package/dist/chunks/{footer-actions.74983707.js.map → footer-actions.8e51e4db.js.map} +1 -1
- package/dist/chunks/{index.3a8caa8d.js → index.07828192.js} +26 -26
- package/dist/chunks/{index.3a8caa8d.js.map → index.07828192.js.map} +1 -1
- package/dist/chunks/{index.a2095588.js → index.08658e31.js} +3 -3
- package/dist/chunks/{index.a2095588.js.map → index.08658e31.js.map} +1 -1
- package/dist/chunks/{index.af17c8ac.js → index.0c759683.js} +2 -2
- package/dist/chunks/{index.af17c8ac.js.map → index.0c759683.js.map} +1 -1
- package/dist/chunks/{index.985d9d31.js → index.20767d8d.js} +3 -3
- package/dist/chunks/{index.985d9d31.js.map → index.20767d8d.js.map} +1 -1
- package/dist/chunks/{index.d080a0e6.js → index.277bd4f5.js} +7 -7
- package/dist/chunks/{index.d080a0e6.js.map → index.277bd4f5.js.map} +1 -1
- package/dist/chunks/{index.2f00afab.js → index.3df55152.js} +2 -2
- package/dist/chunks/{index.2f00afab.js.map → index.3df55152.js.map} +1 -1
- package/dist/chunks/{index.54eb824c.js → index.53296886.js} +3 -3
- package/dist/chunks/{index.54eb824c.js.map → index.53296886.js.map} +1 -1
- package/dist/chunks/{index.dd7d8418.js → index.97c75b08.js} +166 -165
- package/dist/chunks/index.97c75b08.js.map +1 -0
- package/dist/chunks/{index.de9a552e.js → index.cb0b1e9f.js} +6 -6
- package/dist/chunks/{index.de9a552e.js.map → index.cb0b1e9f.js.map} +1 -1
- package/dist/chunks/{index.211ea795.js → index.d60dd2ec.js} +6 -6
- package/dist/chunks/{index.211ea795.js.map → index.d60dd2ec.js.map} +1 -1
- package/dist/chunks/{index.900d8b24.js → index.f9665634.js} +2 -2
- package/dist/chunks/{index.900d8b24.js.map → index.f9665634.js.map} +1 -1
- package/dist/chunks/{index.25de3ab8.js → index.fd90ffde.js} +2 -2
- package/dist/chunks/{index.25de3ab8.js.map → index.fd90ffde.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.37da51ba.js → listbox-option-tag.f10b8b2d.js} +3 -3
- package/dist/chunks/{listbox-option-tag.37da51ba.js.map → listbox-option-tag.f10b8b2d.js.map} +1 -1
- package/dist/chunks/{listbox.a142458a.js → listbox.a5623620.js} +5 -5
- package/dist/chunks/{listbox.a142458a.js.map → listbox.a5623620.js.map} +1 -1
- package/dist/chunks/{loading-button.2c3d9afc.js → loading-button.cc8dcafe.js} +2 -2
- package/dist/chunks/{loading-button.2c3d9afc.js.map → loading-button.cc8dcafe.js.map} +1 -1
- package/dist/chunks/radio-input.c6550a9c.js +83 -0
- package/dist/chunks/radio-input.c6550a9c.js.map +1 -0
- package/dist/chunks/{tooltip.0459eb5c.js → tooltip.85b7cefc.js} +3 -3
- package/dist/chunks/{tooltip.0459eb5c.js.map → tooltip.85b7cefc.js.map} +1 -1
- 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.js +1 -1
- package/dist/date-picker.js +18 -18
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +6 -6
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +729 -731
- 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 +195 -188
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- 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 +6 -6
- package/dist/modal.js +108 -73
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +73 -146
- 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 +251 -0
- package/dist/selection-card.js.map +1 -0
- package/dist/sidepanel.js +6 -6
- 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 +56 -55
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +7 -7
- package/dist/toast.js +3 -3
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +6 -6
- package/dist/typography.js +1 -1
- package/dist/web-types.json +465 -33
- package/package.json +3 -4
- package/dist/chunks/arrow-left.2db60716.js +0 -26
- package/dist/chunks/arrow-left.2db60716.js.map +0 -1
- package/dist/chunks/base-modal.cc448ad3.js +0 -203
- package/dist/chunks/base-modal.cc448ad3.js.map +0 -1
- package/dist/chunks/button.27948f1c.js.map +0 -1
- package/dist/chunks/checkbox.2c2a1f90.js +0 -275
- package/dist/chunks/checkbox.2c2a1f90.js.map +0 -1
- package/dist/chunks/dialog-page.0e787c2d.js +0 -113
- package/dist/chunks/dialog-page.0e787c2d.js.map +0 -1
- package/dist/chunks/index.dd7d8418.js.map +0 -1
package/README.md
CHANGED
|
@@ -7,6 +7,38 @@ architecture.
|
|
|
7
7
|
|
|
8
8
|
Bento Vue contains foundational Vue 2.x (and Vue 3.x) UI components for shipping new features faster.
|
|
9
9
|
|
|
10
|
+
## Table of contents
|
|
11
|
+
|
|
12
|
+
- [Bento Vue component library](#bento-vue-component-library)
|
|
13
|
+
- [Table of contents](#table-of-contents)
|
|
14
|
+
- [Getting started](#getting-started)
|
|
15
|
+
- [Installation](#installation)
|
|
16
|
+
- [Vue 2](#vue-2)
|
|
17
|
+
- [Vue 3](#vue-3)
|
|
18
|
+
- [Adyen Design System Vue ecosystem](#adyen-design-system-vue-ecosystem)
|
|
19
|
+
- [Usage](#usage)
|
|
20
|
+
- [Load plugin and register components](#load-plugin-and-register-components)
|
|
21
|
+
- [Vue 2](#vue-2-1)
|
|
22
|
+
- [Vue 3](#vue-3-1)
|
|
23
|
+
- [Import the fonts](#import-the-fonts)
|
|
24
|
+
- [Vue 2](#vue-2-2)
|
|
25
|
+
- [Vue 3](#vue-3-2)
|
|
26
|
+
- [Initialize `vue-i18n`](#initialize-vue-i18n)
|
|
27
|
+
- [Vue 2](#vue-2-3)
|
|
28
|
+
- [Vue 3](#vue-3-3)
|
|
29
|
+
- [Use the components](#use-the-components)
|
|
30
|
+
- [Vue 2](#vue-2-4)
|
|
31
|
+
- [Vue 3](#vue-3-4)
|
|
32
|
+
- [Bundlers](#bundlers)
|
|
33
|
+
- [Webpack](#webpack)
|
|
34
|
+
- [Vite](#vite)
|
|
35
|
+
- [Stylelint](#stylelint)
|
|
36
|
+
- [Alternative themes](#alternative-themes)
|
|
37
|
+
- [ADL theme](#adl-theme)
|
|
38
|
+
- [Set **legacy ADL** theme as default](#set-legacy-adl-theme-as-default)
|
|
39
|
+
- [Setting themes without the Bento Plugin](#setting-themes-without-the-bento-plugin)
|
|
40
|
+
- [Support](#support)
|
|
41
|
+
|
|
10
42
|
## Getting started
|
|
11
43
|
|
|
12
44
|
### Installation
|
|
@@ -306,6 +338,27 @@ export default defineConfig({
|
|
|
306
338
|
});
|
|
307
339
|
```
|
|
308
340
|
|
|
341
|
+
### Stylelint
|
|
342
|
+
|
|
343
|
+
You can install our stylelint plugin to help guide you to use the correct CSS variables.
|
|
344
|
+
|
|
345
|
+
To do this you will need to:
|
|
346
|
+
|
|
347
|
+
Install the `@adyen/bento-stylelint` NPM package.
|
|
348
|
+
|
|
349
|
+
```bash
|
|
350
|
+
npm install -D @adyen/bento-stylelint
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
Then add `@adyen/bento-stylelint/config` to the extends property array in your `stylelint` configuration:
|
|
354
|
+
|
|
355
|
+
```javascript
|
|
356
|
+
extends: [
|
|
357
|
+
// etc...
|
|
358
|
+
'@adyen/bento-stylelint/config',
|
|
359
|
+
],
|
|
360
|
+
```
|
|
361
|
+
|
|
309
362
|
## Alternative themes
|
|
310
363
|
|
|
311
364
|
Bento components can be themed with both themes provided out-of-the-box and with custom classes applied. At the current
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
BentoDropdownCountry,
|
|
30
30
|
BentoDropdownCurrency,
|
|
31
31
|
BentoDropdownPaymentMethod,
|
|
32
|
+
BentoDropdownTag,
|
|
32
33
|
BentoEmptyState,
|
|
33
34
|
BentoFilterBar,
|
|
34
35
|
BentoFormLayout,
|
|
@@ -46,6 +47,7 @@ import {
|
|
|
46
47
|
BentoModal,
|
|
47
48
|
BentoModalFullscreen,
|
|
48
49
|
BentoModalFullscreenPage,
|
|
50
|
+
BentoModalPage,
|
|
49
51
|
BentoPagination,
|
|
50
52
|
BentoPaymentMethod,
|
|
51
53
|
BentoPopover,
|
|
@@ -54,6 +56,8 @@ import {
|
|
|
54
56
|
BentoSearchBar,
|
|
55
57
|
BentoSecondaryNav,
|
|
56
58
|
BentoSegmentedControl,
|
|
59
|
+
BentoSelectionCard,
|
|
60
|
+
BentoSelectionCardGroup,
|
|
57
61
|
BentoSidepanel,
|
|
58
62
|
BentoSidepanelPage,
|
|
59
63
|
BentoStatus,
|
|
@@ -121,6 +125,7 @@ declare module 'vue' {
|
|
|
121
125
|
BentoInfoIcon: typeof BentoInfoIcon;
|
|
122
126
|
BentoDropdownCurrency: typeof BentoDropdownCurrency;
|
|
123
127
|
BentoDropdownPaymentMethod: typeof BentoDropdownPaymentMethod;
|
|
128
|
+
BentoDropdownTag: typeof BentoDropdownTag;
|
|
124
129
|
BentoInputField: typeof BentoInputField;
|
|
125
130
|
BentoLink: typeof BentoLink;
|
|
126
131
|
BentoLoadingButton: typeof BentoLoadingButton;
|
|
@@ -129,6 +134,7 @@ declare module 'vue' {
|
|
|
129
134
|
BentoModal: typeof BentoModal;
|
|
130
135
|
BentoModalFullscreen: typeof BentoModalFullscreen;
|
|
131
136
|
BentoModalFullscreenPage: typeof BentoModalFullscreenPage;
|
|
137
|
+
BentoModalPage: typeof BentoModalPage;
|
|
132
138
|
BentoPagination: typeof BentoPagination;
|
|
133
139
|
BentoPaymentMethod: typeof BentoPaymentMethod;
|
|
134
140
|
BentoPopover: typeof BentoPopover;
|
|
@@ -137,6 +143,8 @@ declare module 'vue' {
|
|
|
137
143
|
BentoSearchBar: typeof BentoSearchBar;
|
|
138
144
|
BentoSecondaryNav: typeof BentoSecondaryNav;
|
|
139
145
|
BentoSegmentedControl: typeof BentoSegmentedControl;
|
|
146
|
+
BentoSelectionCard: typeof BentoSelectionCard;
|
|
147
|
+
BentoSelectionCardGroup: typeof BentoSelectionCardGroup;
|
|
140
148
|
BentoSidepanel: typeof BentoSidepanel;
|
|
141
149
|
BentoSidepanelPage: typeof BentoSidepanelPage;
|
|
142
150
|
BentoStatus: typeof BentoStatus;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export declare enum BentoButtonVariant {
|
|
2
2
|
PRIMARY = "primary",
|
|
3
3
|
SECONDARY = "secondary",
|
|
4
|
-
TERTIARY = "tertiary"
|
|
4
|
+
TERTIARY = "tertiary",
|
|
5
|
+
TERTIARY_WITH_BACKGROUND = "tertiary-with-background"
|
|
5
6
|
}
|
|
6
7
|
export declare enum BentoButtonPropClass {
|
|
7
8
|
CONDENSED = "condensed",
|
|
@@ -34,7 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
variant: {
|
|
37
|
-
type: PropType<"primary" | "secondary" | "tertiary" | BentoButtonVariant>;
|
|
37
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "tertiary-with-background" | BentoButtonVariant>;
|
|
38
38
|
default: BentoButtonVariant;
|
|
39
39
|
validator: (value: BentoButtonVariant) => boolean;
|
|
40
40
|
};
|
|
@@ -72,14 +72,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
72
72
|
default: string;
|
|
73
73
|
};
|
|
74
74
|
variant: {
|
|
75
|
-
type: PropType<"primary" | "secondary" | "tertiary" | BentoButtonVariant>;
|
|
75
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "tertiary-with-background" | BentoButtonVariant>;
|
|
76
76
|
default: BentoButtonVariant;
|
|
77
77
|
validator: (value: BentoButtonVariant) => boolean;
|
|
78
78
|
};
|
|
79
79
|
}>>, {
|
|
80
80
|
link: Record<string, any>;
|
|
81
81
|
type: "button" | "submit" | "reset";
|
|
82
|
-
variant: "primary" | "secondary" | "tertiary" | BentoButtonVariant;
|
|
82
|
+
variant: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | BentoButtonVariant;
|
|
83
83
|
condensed: boolean;
|
|
84
84
|
critical: boolean;
|
|
85
85
|
disabled: boolean;
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
23
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
24
24
|
};
|
|
25
25
|
variant: {
|
|
26
|
-
type: PropType<"primary" | "secondary" | "tertiary" | import("../../../../../../core/src/components/button/button.types").BentoButtonVariant>;
|
|
26
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../../../../core/src/components/button/button.types").BentoButtonVariant>;
|
|
27
27
|
default: string;
|
|
28
28
|
validator: (value: import("../../../../../../core/src/components/button/button.types").BentoButtonVariant) => boolean;
|
|
29
29
|
};
|
|
@@ -52,12 +52,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
52
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
53
53
|
};
|
|
54
54
|
variant: {
|
|
55
|
-
type: PropType<"primary" | "secondary" | "tertiary" | import("../../../../../../core/src/components/button/button.types").BentoButtonVariant>;
|
|
55
|
+
type: PropType<"primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../../../../core/src/components/button/button.types").BentoButtonVariant>;
|
|
56
56
|
default: string;
|
|
57
57
|
validator: (value: import("../../../../../../core/src/components/button/button.types").BentoButtonVariant) => boolean;
|
|
58
58
|
};
|
|
59
59
|
}>>, {
|
|
60
|
-
variant: "primary" | "secondary" | "tertiary" | import("../../../../../../core/src/components/button/button.types").BentoButtonVariant;
|
|
60
|
+
variant: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../../../../core/src/components/button/button.types").BentoButtonVariant;
|
|
61
61
|
condensed: boolean;
|
|
62
62
|
critical: boolean;
|
|
63
63
|
disabled: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BentoButtonVariant } from "../../../../../../core/src/components/button/button.types";
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
3
|
condensed: {
|
|
3
4
|
type: BooleanConstructor;
|
|
@@ -12,9 +13,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
13
|
default: boolean;
|
|
13
14
|
};
|
|
14
15
|
variant: {
|
|
15
|
-
type: import("vue").PropType<"primary" | "secondary" | "tertiary" |
|
|
16
|
+
type: import("vue").PropType<"primary" | "secondary" | "tertiary" | "tertiary-with-background" | BentoButtonVariant>;
|
|
16
17
|
default: string;
|
|
17
|
-
validator: (value:
|
|
18
|
+
validator: (value: BentoButtonVariant) => boolean;
|
|
18
19
|
};
|
|
19
20
|
toggled: {
|
|
20
21
|
type: BooleanConstructor;
|
|
@@ -38,16 +39,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
39
|
default: boolean;
|
|
39
40
|
};
|
|
40
41
|
variant: {
|
|
41
|
-
type: import("vue").PropType<"primary" | "secondary" | "tertiary" |
|
|
42
|
+
type: import("vue").PropType<"primary" | "secondary" | "tertiary" | "tertiary-with-background" | BentoButtonVariant>;
|
|
42
43
|
default: string;
|
|
43
|
-
validator: (value:
|
|
44
|
+
validator: (value: BentoButtonVariant) => boolean;
|
|
44
45
|
};
|
|
45
46
|
toggled: {
|
|
46
47
|
type: BooleanConstructor;
|
|
47
48
|
default: boolean;
|
|
48
49
|
};
|
|
49
50
|
}>>, {
|
|
50
|
-
variant: "primary" | "secondary" | "tertiary" |
|
|
51
|
+
variant: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | BentoButtonVariant;
|
|
51
52
|
condensed: boolean;
|
|
52
53
|
disabled: boolean;
|
|
53
54
|
inverse: boolean;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
critical?: boolean;
|
|
45
45
|
disabled?: boolean;
|
|
46
46
|
inverse?: boolean;
|
|
47
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
47
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
48
48
|
type?: string;
|
|
49
49
|
link?: object;
|
|
50
50
|
};
|
|
@@ -108,7 +108,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
108
108
|
critical?: boolean;
|
|
109
109
|
disabled?: boolean;
|
|
110
110
|
inverse?: boolean;
|
|
111
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
111
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
112
112
|
type?: string;
|
|
113
113
|
link?: object;
|
|
114
114
|
};
|
|
@@ -164,7 +164,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
164
164
|
critical?: boolean;
|
|
165
165
|
disabled?: boolean;
|
|
166
166
|
inverse?: boolean;
|
|
167
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
167
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
168
168
|
type?: string;
|
|
169
169
|
link?: object;
|
|
170
170
|
};
|
|
@@ -221,7 +221,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
221
|
critical?: boolean;
|
|
222
222
|
disabled?: boolean;
|
|
223
223
|
inverse?: boolean;
|
|
224
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
224
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
225
225
|
type?: string;
|
|
226
226
|
link?: object;
|
|
227
227
|
};
|
|
@@ -277,7 +277,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
277
277
|
critical?: boolean;
|
|
278
278
|
disabled?: boolean;
|
|
279
279
|
inverse?: boolean;
|
|
280
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
280
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
281
281
|
type?: string;
|
|
282
282
|
link?: object;
|
|
283
283
|
};
|
|
@@ -333,7 +333,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
333
333
|
critical?: boolean;
|
|
334
334
|
disabled?: boolean;
|
|
335
335
|
inverse?: boolean;
|
|
336
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
336
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
337
337
|
type?: string;
|
|
338
338
|
link?: object;
|
|
339
339
|
};
|
|
@@ -789,7 +789,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
789
789
|
};
|
|
790
790
|
}[];
|
|
791
791
|
};
|
|
792
|
-
defaultValue?: string | number | {
|
|
792
|
+
defaultValue?: string | number | import("../../../..").BentoListboxValue[] | {
|
|
793
793
|
toString: () => string;
|
|
794
794
|
toDateString: () => string;
|
|
795
795
|
toTimeString: () => string;
|
|
@@ -982,12 +982,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
982
982
|
};
|
|
983
983
|
};
|
|
984
984
|
granularity?: import("../../../internal").CalendarGranularityType;
|
|
985
|
-
} |
|
|
985
|
+
} | {
|
|
986
986
|
inputValue: string;
|
|
987
987
|
dropdownValue?: string;
|
|
988
988
|
};
|
|
989
989
|
visible?: boolean;
|
|
990
|
-
value?: string | number | {
|
|
990
|
+
value?: string | number | import("../../../..").BentoListboxValue[] | {
|
|
991
991
|
toString: () => string;
|
|
992
992
|
toDateString: () => string;
|
|
993
993
|
toTimeString: () => string;
|
|
@@ -1180,7 +1180,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1180
1180
|
};
|
|
1181
1181
|
};
|
|
1182
1182
|
granularity?: import("../../../internal").CalendarGranularityType;
|
|
1183
|
-
} |
|
|
1183
|
+
} | {
|
|
1184
1184
|
inputValue: string;
|
|
1185
1185
|
dropdownValue?: string;
|
|
1186
1186
|
};
|
|
@@ -1205,7 +1205,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1205
1205
|
critical?: boolean;
|
|
1206
1206
|
disabled?: boolean;
|
|
1207
1207
|
inverse?: boolean;
|
|
1208
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
1208
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
1209
1209
|
type?: string;
|
|
1210
1210
|
link?: object;
|
|
1211
1211
|
};
|
|
@@ -1269,7 +1269,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1269
1269
|
critical?: boolean;
|
|
1270
1270
|
disabled?: boolean;
|
|
1271
1271
|
inverse?: boolean;
|
|
1272
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
1272
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
1273
1273
|
type?: string;
|
|
1274
1274
|
link?: object;
|
|
1275
1275
|
};
|
|
@@ -1325,7 +1325,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1325
1325
|
critical?: boolean;
|
|
1326
1326
|
disabled?: boolean;
|
|
1327
1327
|
inverse?: boolean;
|
|
1328
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
1328
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
1329
1329
|
type?: string;
|
|
1330
1330
|
link?: object;
|
|
1331
1331
|
};
|
|
@@ -1382,7 +1382,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1382
1382
|
critical?: boolean;
|
|
1383
1383
|
disabled?: boolean;
|
|
1384
1384
|
inverse?: boolean;
|
|
1385
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
1385
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
1386
1386
|
type?: string;
|
|
1387
1387
|
link?: object;
|
|
1388
1388
|
};
|
|
@@ -1438,7 +1438,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1438
1438
|
critical?: boolean;
|
|
1439
1439
|
disabled?: boolean;
|
|
1440
1440
|
inverse?: boolean;
|
|
1441
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
1441
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
1442
1442
|
type?: string;
|
|
1443
1443
|
link?: object;
|
|
1444
1444
|
};
|
|
@@ -1494,7 +1494,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1494
1494
|
critical?: boolean;
|
|
1495
1495
|
disabled?: boolean;
|
|
1496
1496
|
inverse?: boolean;
|
|
1497
|
-
variant?: "primary" | "secondary" | "tertiary" | import("../../../button").BentoButtonVariant;
|
|
1497
|
+
variant?: "primary" | "secondary" | "tertiary" | "tertiary-with-background" | import("../../../button").BentoButtonVariant;
|
|
1498
1498
|
type?: string;
|
|
1499
1499
|
link?: object;
|
|
1500
1500
|
};
|
|
@@ -2348,11 +2348,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2348
2348
|
field: string;
|
|
2349
2349
|
}[];
|
|
2350
2350
|
};
|
|
2351
|
-
computedCounts: import("vue").ComputedRef<{
|
|
2352
|
-
label: string;
|
|
2353
|
-
field: string;
|
|
2354
|
-
count: number;
|
|
2355
|
-
}[]>;
|
|
2356
2351
|
searchTerm: import("vue").Ref<string>;
|
|
2357
2352
|
onClickAllFiltersModal: () => void;
|
|
2358
2353
|
getFilterCount: (filter: BentoFilterModel) => string | number;
|
package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
6
6
|
type: PropType<BentoButtonActionsList>;
|
|
7
7
|
default: any;
|
|
8
8
|
};
|
|
9
|
+
activePage: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
9
13
|
columnsSize: {
|
|
10
14
|
type: PropType<BentoModalColumnLayoutVariant>;
|
|
11
15
|
default: BentoModalColumnLayoutVariant;
|
|
@@ -14,6 +18,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
14
18
|
type: StringConstructor;
|
|
15
19
|
default: any;
|
|
16
20
|
};
|
|
21
|
+
destructiveActions: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
17
25
|
hideCloseButton: {
|
|
18
26
|
type: BooleanConstructor;
|
|
19
27
|
required: true;
|
|
@@ -45,12 +53,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
45
53
|
}, {
|
|
46
54
|
internalModalActionClose: (event?: Event) => void;
|
|
47
55
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
56
|
+
"update:active-page": (page: string) => void;
|
|
57
|
+
} & {
|
|
48
58
|
"close-modal": () => void;
|
|
49
59
|
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
50
60
|
actions: {
|
|
51
61
|
type: PropType<BentoButtonActionsList>;
|
|
52
62
|
default: any;
|
|
53
63
|
};
|
|
64
|
+
activePage: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
54
68
|
columnsSize: {
|
|
55
69
|
type: PropType<BentoModalColumnLayoutVariant>;
|
|
56
70
|
default: BentoModalColumnLayoutVariant;
|
|
@@ -59,6 +73,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
59
73
|
type: StringConstructor;
|
|
60
74
|
default: any;
|
|
61
75
|
};
|
|
76
|
+
destructiveActions: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
62
80
|
hideCloseButton: {
|
|
63
81
|
type: BooleanConstructor;
|
|
64
82
|
required: true;
|
|
@@ -89,12 +107,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
89
107
|
};
|
|
90
108
|
}>>, {
|
|
91
109
|
size: "small" | "medium" | "large" | BentoModalSize;
|
|
110
|
+
activePage: string;
|
|
92
111
|
actions: BentoButtonActionsList;
|
|
112
|
+
destructiveActions: boolean;
|
|
93
113
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
94
114
|
customPadding: string;
|
|
115
|
+
withColumnLayout: boolean;
|
|
95
116
|
initiallyOpen: boolean;
|
|
96
117
|
modalRole: string;
|
|
97
|
-
withColumnLayout: boolean;
|
|
98
118
|
}>, {
|
|
99
119
|
default: (_: {}) => any;
|
|
100
120
|
'content-col-1': (_: {}) => any;
|
|
@@ -10,6 +10,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: any;
|
|
12
12
|
};
|
|
13
|
+
activePage: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
13
17
|
customPadding: {
|
|
14
18
|
type: StringConstructor;
|
|
15
19
|
default: any;
|
|
@@ -47,6 +51,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
47
51
|
default: boolean;
|
|
48
52
|
};
|
|
49
53
|
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
54
|
+
"update:active-page": (page: string) => void;
|
|
55
|
+
} & {
|
|
50
56
|
"close-modal": () => void;
|
|
51
57
|
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
52
58
|
actions: {
|
|
@@ -57,6 +63,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
57
63
|
type: StringConstructor;
|
|
58
64
|
default: any;
|
|
59
65
|
};
|
|
66
|
+
activePage: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: any;
|
|
69
|
+
};
|
|
60
70
|
customPadding: {
|
|
61
71
|
type: StringConstructor;
|
|
62
72
|
default: any;
|
|
@@ -94,14 +104,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
94
104
|
default: boolean;
|
|
95
105
|
};
|
|
96
106
|
}>>, {
|
|
107
|
+
activePage: string;
|
|
97
108
|
actions: BentoButtonActionsList;
|
|
109
|
+
actionsLabel: string;
|
|
110
|
+
destructiveActions: boolean;
|
|
98
111
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
99
112
|
customPadding: string;
|
|
113
|
+
withColumnLayout: boolean;
|
|
100
114
|
hideCloseButton: boolean;
|
|
101
115
|
initiallyOpen: boolean;
|
|
102
|
-
withColumnLayout: boolean;
|
|
103
|
-
actionsLabel: string;
|
|
104
|
-
destructiveActions: boolean;
|
|
105
116
|
}>, {
|
|
106
117
|
default: (_: {}) => any;
|
|
107
118
|
'content-col-1': (_: {}) => any;
|
package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
6
6
|
type: PropType<BentoButtonActionsList>;
|
|
7
7
|
default: any;
|
|
8
8
|
};
|
|
9
|
+
activePage: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
9
13
|
content: {
|
|
10
14
|
type: StringConstructor;
|
|
11
15
|
required: true;
|
|
@@ -33,6 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
37
|
type: PropType<BentoButtonActionsList>;
|
|
34
38
|
default: any;
|
|
35
39
|
};
|
|
40
|
+
activePage: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: any;
|
|
43
|
+
};
|
|
36
44
|
content: {
|
|
37
45
|
type: StringConstructor;
|
|
38
46
|
required: true;
|
|
@@ -54,6 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
54
62
|
required: true;
|
|
55
63
|
};
|
|
56
64
|
}>>, {
|
|
65
|
+
activePage: string;
|
|
57
66
|
actions: BentoButtonActionsList;
|
|
58
67
|
initiallyOpen: boolean;
|
|
59
68
|
}>, {
|
package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoModalColumnLayoutVariant } from "../../modal.types";
|
|
3
|
+
import { BentoButtonActionsList } from "../../../button";
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
|
+
actions: {
|
|
6
|
+
type: PropType<BentoButtonActionsList>;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
actionsLabel: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
13
|
+
columnsSize: {
|
|
14
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
15
|
+
default: BentoModalColumnLayoutVariant;
|
|
16
|
+
};
|
|
17
|
+
customPadding: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
destructiveActions: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
withColumnLayout: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
pageId: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
previousPage: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
actions: {
|
|
39
|
+
type: PropType<BentoButtonActionsList>;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
actionsLabel: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: any;
|
|
45
|
+
};
|
|
46
|
+
columnsSize: {
|
|
47
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
48
|
+
default: BentoModalColumnLayoutVariant;
|
|
49
|
+
};
|
|
50
|
+
customPadding: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: any;
|
|
53
|
+
};
|
|
54
|
+
destructiveActions: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
withColumnLayout: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
pageId: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: any;
|
|
65
|
+
};
|
|
66
|
+
previousPage: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: any;
|
|
69
|
+
};
|
|
70
|
+
}>>, {
|
|
71
|
+
pageId: string;
|
|
72
|
+
previousPage: string;
|
|
73
|
+
actions: BentoButtonActionsList;
|
|
74
|
+
actionsLabel: string;
|
|
75
|
+
destructiveActions: boolean;
|
|
76
|
+
columnsSize: BentoModalColumnLayoutVariant;
|
|
77
|
+
customPadding: string;
|
|
78
|
+
withColumnLayout: boolean;
|
|
79
|
+
}>, {
|
|
80
|
+
default: (_: {}) => any;
|
|
81
|
+
'content-col-1': (_: {}) => any;
|
|
82
|
+
'content-col-2': (_: {}) => any;
|
|
83
|
+
content: (_: {}) => any;
|
|
84
|
+
actions: (_: {}) => any;
|
|
85
|
+
}>;
|
|
86
|
+
export default _default;
|
|
87
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
88
|
+
new (): {
|
|
89
|
+
$slots: S;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
export { default as BentoModalPage } from './components/modal-page/modal-page.vue';
|
|
1
2
|
export { default as BentoModal } from './modal.vue';
|
|
2
|
-
export
|
|
3
|
+
export { BentoModalVariant, BentoModalVariantMapping, BentoModalSize, BentoModalColumnLayoutVariant, BentoModalRole, BentoModalDialogType, BentoModalEvent, } from './modal.types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MODAL_CONFIG_INJECTION_KEY: unique symbol;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
1
2
|
export declare enum BentoModalVariant {
|
|
2
3
|
DEFAULT = "default",
|
|
3
4
|
DIALOG = "dialog"
|
|
@@ -29,3 +30,11 @@ export declare enum BentoModalDialogType {
|
|
|
29
30
|
export declare enum BentoModalEvent {
|
|
30
31
|
CLOSE_MODAL = "close-modal"
|
|
31
32
|
}
|
|
33
|
+
export interface BentoModalConfigData {
|
|
34
|
+
activePage: Ref<string>;
|
|
35
|
+
height: Ref<string>;
|
|
36
|
+
isAnimationActive: Ref<boolean>;
|
|
37
|
+
pageCustomPadding: Ref<string>;
|
|
38
|
+
showCloseButton: ComputedRef<boolean>;
|
|
39
|
+
size: Ref<BentoModalSize | `${BentoModalSize}`>;
|
|
40
|
+
}
|