@adyen/bento-vue2 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -29
- package/dist/@types/components.d.ts +12 -0
- 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/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +76 -30
- package/dist/@types/packages/vue2/src/components/country/composables/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +11 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +11 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/composable/use-form-layout-group-percentage.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue.d.ts +23 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/form-layout-title.vue.d.ts +33 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/form-layout/form-layout.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/form-layout.vue.d.ts +33 -0
- package/dist/@types/packages/vue2/src/components/form-layout/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +53 -22
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +51 -44
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +4 -12
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +50 -4
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +68 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.keys.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +43 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/composables/use-form-layout-loading/use-form-layout-loading.d.ts +4 -0
- package/dist/@types/packages/vue2/src/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/types/utils-events.d.ts +0 -1
- package/dist/@types/packages/vue2/src/utils/ts/dev-environment.d.ts +1 -0
- package/dist/accordion.js +1 -1
- package/dist/alert.js +3 -3
- package/dist/assets/arrow-left.css +1 -0
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/footer-actions.css +1 -0
- package/dist/assets/grid-layout.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 -0
- package/dist/assets/index41.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/listbox-option-tag.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +3 -3
- package/dist/checkbox.js +93 -84
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/arrow-left.1d5d08bd.js +26 -0
- package/dist/chunks/arrow-left.1d5d08bd.js.map +1 -0
- package/dist/chunks/{base-button.d4487ac9.js → base-button.98379576.js} +2 -2
- package/dist/chunks/{base-button.d4487ac9.js.map → base-button.98379576.js.map} +1 -1
- package/dist/chunks/{button-actions.cf73ed47.js → button-actions.bd397c79.js} +2 -2
- package/dist/chunks/{button-actions.cf73ed47.js.map → button-actions.bd397c79.js.map} +1 -1
- package/dist/chunks/{button.c27a7ce2.js → button.d0c9527d.js} +2 -2
- package/dist/chunks/{button.c27a7ce2.js.map → button.d0c9527d.js.map} +1 -1
- package/dist/chunks/{calendar.8f50a65a.js → calendar.0ae43a96.js} +6 -6
- package/dist/chunks/calendar.0ae43a96.js.map +1 -0
- package/dist/chunks/{checkbox.c06daf12.js → checkbox.f8457c93.js} +3 -3
- package/dist/chunks/{checkbox.c06daf12.js.map → checkbox.f8457c93.js.map} +1 -1
- package/dist/chunks/controls-group.b827382b.js +87 -0
- package/dist/chunks/controls-group.b827382b.js.map +1 -0
- package/dist/chunks/{copy.b62beae5.js → copy.5a4cbd4d.js} +3 -3
- package/dist/chunks/{copy.b62beae5.js.map → copy.5a4cbd4d.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.a5eca928.js → dropdown-default-textbox.819e43f7.js} +32 -30
- package/dist/chunks/dropdown-default-textbox.819e43f7.js.map +1 -0
- package/dist/chunks/{dropdown.368486b1.js → dropdown.c05678d0.js} +142 -139
- package/dist/chunks/dropdown.c05678d0.js.map +1 -0
- package/dist/chunks/{error-message.a581a172.js → error-message.0433b539.js} +2 -2
- package/dist/chunks/{error-message.a581a172.js.map → error-message.0433b539.js.map} +1 -1
- package/dist/chunks/footer-actions.67642347.js +98 -0
- package/dist/chunks/footer-actions.67642347.js.map +1 -0
- package/dist/chunks/form-layout.types.a7a1438d.js +5 -0
- package/dist/chunks/form-layout.types.a7a1438d.js.map +1 -0
- package/dist/chunks/{index.3b6fc08a.js → index.0cf00b47.js} +6 -6
- package/dist/chunks/{index.3b6fc08a.js.map → index.0cf00b47.js.map} +1 -1
- package/dist/chunks/{index.f0d99471.js → index.10aaf539.js} +198 -192
- package/dist/chunks/{index.f0d99471.js.map → index.10aaf539.js.map} +1 -1
- package/dist/chunks/{index.ad39b625.js → index.133e4da0.js} +2 -2
- package/dist/chunks/{index.ad39b625.js.map → index.133e4da0.js.map} +1 -1
- package/dist/chunks/{index.175f9e2d.js → index.56858f4e.js} +15 -14
- package/dist/chunks/index.56858f4e.js.map +1 -0
- package/dist/chunks/{index.d07f9800.js → index.73d50fa6.js} +2 -2
- package/dist/chunks/{index.d07f9800.js.map → index.73d50fa6.js.map} +1 -1
- package/dist/chunks/{index.3dfea3bd.js → index.f0f8ed98.js} +3 -3
- package/dist/chunks/{index.3dfea3bd.js.map → index.f0f8ed98.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.c7e9a228.js → listbox-option-tag.8d6cccac.js} +3 -3
- package/dist/chunks/{listbox-option-tag.c7e9a228.js.map → listbox-option-tag.8d6cccac.js.map} +1 -1
- package/dist/chunks/{listbox.f51e92cd.js → listbox.116ed0c1.js} +177 -177
- package/dist/chunks/listbox.116ed0c1.js.map +1 -0
- package/dist/chunks/{loading-button.6d34f66f.js → loading-button.1c201f87.js} +10 -10
- package/dist/chunks/loading-button.1c201f87.js.map +1 -0
- package/dist/chunks/{tooltip.9af34fba.js → tooltip.2aff4fa6.js} +2 -2
- package/dist/chunks/tooltip.2aff4fa6.js.map +1 -0
- package/dist/chunks/use-form-layout-loading.d03e5d48.js +12 -0
- package/dist/chunks/use-form-layout-loading.d03e5d48.js.map +1 -0
- package/dist/code-snippet.js +6 -6
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +149 -174
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +482 -499
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +80 -74
- 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 +72 -67
- package/dist/dropdown.js.map +1 -1
- package/dist/filter-bar.js +268 -265
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +174 -0
- package/dist/form-layout.js.map +1 -0
- package/dist/header.js +3 -3
- package/dist/index.js +164 -155
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +2 -2
- package/dist/input-field.js +69 -67
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +6 -6
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +4 -4
- package/dist/modal.js +203 -324
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +4 -4
- package/dist/popper-container.js +2 -2
- package/dist/radio-group.js +97 -99
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +4 -4
- package/dist/sidepanel.js +218 -0
- package/dist/sidepanel.js.map +1 -0
- package/dist/status.js +2 -2
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +84 -82
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +23 -23
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +2 -2
- package/dist/toggle.js +2 -2
- package/dist/typography.js +1 -1
- package/dist/web-types.json +455 -73
- package/package.json +10 -8
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryFlag.d.ts +0 -2
- package/dist/chunks/calendar.8f50a65a.js.map +0 -1
- package/dist/chunks/controls-group.9d58a091.js +0 -64
- package/dist/chunks/controls-group.9d58a091.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.a5eca928.js.map +0 -1
- package/dist/chunks/dropdown.368486b1.js.map +0 -1
- package/dist/chunks/index.175f9e2d.js.map +0 -1
- package/dist/chunks/listbox.f51e92cd.js.map +0 -1
- package/dist/chunks/loading-button.6d34f66f.js.map +0 -1
- package/dist/chunks/tooltip.9af34fba.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,34 +1,45 @@
|
|
|
1
|
-
# Bento
|
|
1
|
+
# Bento Vue component library
|
|
2
2
|
|
|
3
|
-
Welcome to the Bento
|
|
3
|
+
Welcome to the Bento Vue component library!
|
|
4
4
|
|
|
5
5
|
The aim of this library is to centralize all general reusable components you will find across the Adyen Front-end
|
|
6
6
|
architecture.
|
|
7
7
|
|
|
8
|
-
Bento Vue contains foundational Vue 2.x UI components for shipping new features faster.
|
|
8
|
+
Bento Vue contains foundational Vue 2.x (and Vue 3.x) UI components for shipping new features faster.
|
|
9
9
|
|
|
10
10
|
## Getting started
|
|
11
11
|
|
|
12
12
|
### Installation
|
|
13
13
|
|
|
14
|
+
#### Vue 2
|
|
15
|
+
|
|
14
16
|
Bento Vue2 is available as an npm package
|
|
15
17
|
|
|
16
18
|
```bash
|
|
17
19
|
npm install @adyen/bento-vue2
|
|
18
20
|
```
|
|
19
21
|
|
|
22
|
+
#### Vue 3
|
|
23
|
+
|
|
24
|
+
Bento Vue3 is available as an npm package
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install @adyen/bento-vue3
|
|
28
|
+
```
|
|
29
|
+
|
|
20
30
|
### Adyen Design System Vue ecosystem
|
|
21
31
|
|
|
22
32
|
| Project | Optional | Description |
|
|
23
33
|
| ---------------------------- | -------- | ------------------------------------------------------------------------------ |
|
|
24
34
|
| `@adyen/bento-vue2` | ❌ | A collection of Vue 2.x UI components |
|
|
35
|
+
| `@adyen/bento-vue3` | ❌ | A collection of Vue 3.x UI components |
|
|
25
36
|
| `@adyen/bento-design-tokens` | ✅ | List of Design Tokens used to define styles of the components and their themes |
|
|
26
37
|
|
|
27
38
|
### Usage
|
|
28
39
|
|
|
29
40
|
In order to use the compoents via the `BentoVue` plugin, the following steps must be reproduced:
|
|
30
41
|
|
|
31
|
-
1. Load the plugin globally in **Vue**
|
|
42
|
+
1. Load the plugin globally in **Vue** (and optional enable certain features).
|
|
32
43
|
2. Import the `font.css` file.
|
|
33
44
|
3. Initialize `vue-i18n`.
|
|
34
45
|
4. Add changes to your [bundler](#Bundlers) configuration e.g. [webpack](#webpack) or [vite](#vite).
|
|
@@ -37,7 +48,12 @@ In order to use the compoents via the `BentoVue` plugin, the following steps mus
|
|
|
37
48
|
#### Load plugin and register components
|
|
38
49
|
|
|
39
50
|
To start using the Bento components, import the `BentoVue` plugin to inject the theme by default to Vue in order to
|
|
40
|
-
allow the components to use the Design Token CSS variables
|
|
51
|
+
allow the components to use the Design Token CSS variables.
|
|
52
|
+
|
|
53
|
+
You can enable the following feature by passing them the second argument to in the `.use` function.
|
|
54
|
+
|
|
55
|
+
- `withToast`: Will enable all toast functionality required by the `BentoToast` component.
|
|
56
|
+
- `withUtilityClasses`: Will inject the utility classes into the page.
|
|
41
57
|
|
|
42
58
|
##### Vue 2
|
|
43
59
|
|
|
@@ -46,7 +62,10 @@ import BentoVue from '@adyen/bento-vue2';
|
|
|
46
62
|
|
|
47
63
|
Vue.use(BentoVue);
|
|
48
64
|
// or, if you want to make use of the toast component we provide
|
|
49
|
-
Vue.use(BentoVue, {
|
|
65
|
+
Vue.use(BentoVue, {
|
|
66
|
+
withToast: true, // this line installs Bento and includes the toast component
|
|
67
|
+
withUtilityClasses: true, // this line injects the utility classes into the page
|
|
68
|
+
});
|
|
50
69
|
```
|
|
51
70
|
|
|
52
71
|
##### Vue 3
|
|
@@ -55,7 +74,10 @@ Vue.use(BentoVue, { withToast: true }); // this line installs Bento and includes
|
|
|
55
74
|
import BentoVue from '@adyen/bento-vue3';
|
|
56
75
|
|
|
57
76
|
const app = createApp()
|
|
58
|
-
.use(BentoVue, {
|
|
77
|
+
.use(BentoVue, {
|
|
78
|
+
withToast: true, // this line installs Bento and includes the toast component
|
|
79
|
+
withUtilityClasses: true, // this line injects the utility classes into the page
|
|
80
|
+
})
|
|
59
81
|
.mount('#app');
|
|
60
82
|
```
|
|
61
83
|
|
|
@@ -85,42 +107,42 @@ initialization the following lines of code must be included:
|
|
|
85
107
|
|
|
86
108
|
##### Vue 2
|
|
87
109
|
|
|
88
|
-
```
|
|
110
|
+
```typescript
|
|
89
111
|
import Vue from 'vue';
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
112
|
+
import VueI18n from 'vue-i18n';
|
|
113
|
+
|
|
114
|
+
Vue.use(VueI18n);
|
|
115
|
+
|
|
116
|
+
const i18n = new VueI18n({
|
|
117
|
+
locale: 'en-US',
|
|
118
|
+
fallbackLocale: 'en-US',
|
|
119
|
+
fallbackRoot: false,
|
|
120
|
+
});
|
|
99
121
|
|
|
100
122
|
const app = new Vue({
|
|
101
123
|
el: '#app',
|
|
102
124
|
router,
|
|
103
125
|
template: '<router-view />',
|
|
104
|
-
|
|
126
|
+
i18n,
|
|
105
127
|
});
|
|
106
128
|
```
|
|
107
129
|
|
|
108
130
|
##### Vue 3
|
|
109
131
|
|
|
110
|
-
```
|
|
132
|
+
```typescript
|
|
111
133
|
import BentoVue from '@adyen/bento-vue3';
|
|
112
|
-
|
|
134
|
+
import VueI18n from 'vue-i18n';
|
|
113
135
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
136
|
+
const i18n = createI18n({
|
|
137
|
+
locale: 'en-US',
|
|
138
|
+
fallbackLocale: 'en-US',
|
|
139
|
+
fallbackRoot: false,
|
|
140
|
+
allowComposition: true,
|
|
141
|
+
});
|
|
120
142
|
|
|
121
143
|
const app = createApp()
|
|
122
144
|
.use(BentoVue, { withToast: true }) // this line installs Bento
|
|
123
|
-
|
|
145
|
+
.use(i18n) // this line vue-i18n
|
|
124
146
|
.mount('#app');
|
|
125
147
|
```
|
|
126
148
|
|
|
@@ -316,8 +338,17 @@ are:
|
|
|
316
338
|
- Default: _no class needed_
|
|
317
339
|
- ADL: `.b-legacy-theme`.
|
|
318
340
|
|
|
319
|
-
To use an alternative theme in your application,
|
|
320
|
-
|
|
341
|
+
To use an alternative theme in your application, you will need to:
|
|
342
|
+
|
|
343
|
+
1. Import the the css file into your app.
|
|
344
|
+
|
|
345
|
+
e.g. add the ADL theme.
|
|
346
|
+
|
|
347
|
+
```typescript
|
|
348
|
+
import '@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css';
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
2. set the respective theme class in the main container inside the `App.vue` component.
|
|
321
352
|
|
|
322
353
|
```html
|
|
323
354
|
<template>
|
|
@@ -28,6 +28,10 @@ import {
|
|
|
28
28
|
BentoDropdownCurrency,
|
|
29
29
|
BentoDropdownPaymentMethod,
|
|
30
30
|
BentoFilterBar,
|
|
31
|
+
BentoFormLayout,
|
|
32
|
+
BentoFormLayoutFieldTip,
|
|
33
|
+
BentoFormLayoutGroup,
|
|
34
|
+
BentoFormLayoutTitle,
|
|
31
35
|
BentoHeader,
|
|
32
36
|
BentoInfoIcon,
|
|
33
37
|
BentoInputField,
|
|
@@ -42,6 +46,8 @@ import {
|
|
|
42
46
|
BentoRadioGroup,
|
|
43
47
|
BentoSearchBar,
|
|
44
48
|
BentoSegmentedControl,
|
|
49
|
+
BentoSidepanel,
|
|
50
|
+
BentoSidepanelPage,
|
|
45
51
|
BentoStatus,
|
|
46
52
|
BentoStructuredList,
|
|
47
53
|
BentoStructuredListItem,
|
|
@@ -91,6 +97,10 @@ declare module 'vue' {
|
|
|
91
97
|
BentoDropdownAvatar: typeof BentoDropdownAvatar;
|
|
92
98
|
BentoDropdownCountry: typeof BentoDropdownCountry;
|
|
93
99
|
BentoFilterBar: typeof BentoFilterBar;
|
|
100
|
+
BentoFormLayout: typeof BentoFormLayout;
|
|
101
|
+
BentoFormLayoutFieldTip: typeof BentoFormLayoutFieldTip;
|
|
102
|
+
BentoFormLayoutGroup: typeof BentoFormLayoutGroup;
|
|
103
|
+
BentoFormLayoutTitle: typeof BentoFormLayoutTitle;
|
|
94
104
|
BentoHeader: typeof BentoHeader;
|
|
95
105
|
BentoInfoIcon: typeof BentoInfoIcon;
|
|
96
106
|
BentoDropdownCurrency: typeof BentoDropdownCurrency;
|
|
@@ -107,6 +117,8 @@ declare module 'vue' {
|
|
|
107
117
|
BentoRadioGroup: typeof BentoRadioGroup;
|
|
108
118
|
BentoSearchBar: typeof BentoSearchBar;
|
|
109
119
|
BentoSegmentedControl: typeof BentoSegmentedControl;
|
|
120
|
+
BentoSidepanel: typeof BentoSidepanel;
|
|
121
|
+
BentoSidepanelPage: typeof BentoSidepanelPage;
|
|
110
122
|
BentoStatus: typeof BentoStatus;
|
|
111
123
|
BentoStructuredList: typeof BentoStructuredList;
|
|
112
124
|
BentoStructuredListItem: typeof BentoStructuredListItem;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
default: boolean;
|
|
12
12
|
};
|
|
13
13
|
state: {
|
|
14
|
-
type: PropType<BentoLoadingButtonState>;
|
|
14
|
+
type: PropType<"start" | "success" | "loading" | BentoLoadingButtonState | "fail">;
|
|
15
15
|
default: BentoLoadingButtonState;
|
|
16
16
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
17
17
|
};
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
39
|
state: {
|
|
40
|
-
type: PropType<BentoLoadingButtonState>;
|
|
40
|
+
type: PropType<"start" | "success" | "loading" | BentoLoadingButtonState | "fail">;
|
|
41
41
|
default: BentoLoadingButtonState;
|
|
42
42
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
43
43
|
};
|
|
@@ -50,6 +50,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
condensed: boolean;
|
|
51
51
|
disabled: boolean;
|
|
52
52
|
variant: "primary" | "secondary" | "tertiary" | BentoButtonVariant;
|
|
53
|
-
state: BentoLoadingButtonState;
|
|
53
|
+
state: "start" | "success" | "loading" | BentoLoadingButtonState | "fail";
|
|
54
54
|
}>;
|
|
55
55
|
export default _default;
|
|
@@ -2,10 +2,38 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { BentoCheckboxGroupItems, BentoCheckboxGroupVariant } from './checkbox-group.types';
|
|
3
3
|
import { BentoCheckboxEvent } from '../../checkbox.types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
description: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
errorMessage: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
formId: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
hasError: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
hideLabel: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
5
29
|
items: {
|
|
6
30
|
type: PropType<BentoCheckboxGroupItems>;
|
|
7
31
|
required: true;
|
|
8
32
|
};
|
|
33
|
+
label: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
9
37
|
modelValue: {
|
|
10
38
|
type: {
|
|
11
39
|
(arrayLength: number): (string | number)[];
|
|
@@ -23,16 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
51
|
};
|
|
24
52
|
default: () => any[];
|
|
25
53
|
};
|
|
26
|
-
|
|
27
|
-
type: PropType<"vertical" | "horizontal" | BentoCheckboxGroupVariant>;
|
|
28
|
-
default: BentoCheckboxGroupVariant;
|
|
29
|
-
validator: (value: BentoCheckboxGroupVariant) => boolean;
|
|
30
|
-
};
|
|
31
|
-
formId: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: any;
|
|
34
|
-
};
|
|
35
|
-
disabled: {
|
|
54
|
+
optional: {
|
|
36
55
|
type: BooleanConstructor;
|
|
37
56
|
default: boolean;
|
|
38
57
|
};
|
|
@@ -40,20 +59,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
59
|
type: BooleanConstructor;
|
|
41
60
|
default: boolean;
|
|
42
61
|
};
|
|
43
|
-
|
|
62
|
+
required: {
|
|
44
63
|
type: BooleanConstructor;
|
|
45
64
|
default: boolean;
|
|
46
65
|
};
|
|
47
|
-
|
|
66
|
+
tooltipText: {
|
|
48
67
|
type: StringConstructor;
|
|
49
68
|
default: any;
|
|
50
69
|
};
|
|
51
|
-
|
|
52
|
-
type:
|
|
53
|
-
|
|
70
|
+
variant: {
|
|
71
|
+
type: PropType<"vertical" | "horizontal" | BentoCheckboxGroupVariant>;
|
|
72
|
+
default: BentoCheckboxGroupVariant;
|
|
73
|
+
validator: (value: BentoCheckboxGroupVariant) => boolean;
|
|
54
74
|
};
|
|
55
75
|
}, {
|
|
56
76
|
errorId: string;
|
|
77
|
+
isReadOnly: import("vue").ComputedRef<boolean>;
|
|
57
78
|
shouldShowGroupError: import("vue").ComputedRef<boolean>;
|
|
58
79
|
shouldShowGroupErrorMessage: import("vue").ComputedRef<boolean>;
|
|
59
80
|
conditionalClasses: import("vue").ComputedRef<{
|
|
@@ -62,10 +83,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
83
|
inputValue: import("vue").Ref<(string | number)[]>;
|
|
63
84
|
onInput: (value: any) => void;
|
|
64
85
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoCheckboxEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
86
|
+
description: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: any;
|
|
89
|
+
};
|
|
90
|
+
disabled: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
errorMessage: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: any;
|
|
97
|
+
};
|
|
98
|
+
formId: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: any;
|
|
101
|
+
};
|
|
102
|
+
hasError: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
hideLabel: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: any;
|
|
109
|
+
};
|
|
65
110
|
items: {
|
|
66
111
|
type: PropType<BentoCheckboxGroupItems>;
|
|
67
112
|
required: true;
|
|
68
113
|
};
|
|
114
|
+
label: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
required: true;
|
|
117
|
+
};
|
|
69
118
|
modelValue: {
|
|
70
119
|
type: {
|
|
71
120
|
(arrayLength: number): (string | number)[];
|
|
@@ -83,16 +132,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
132
|
};
|
|
84
133
|
default: () => any[];
|
|
85
134
|
};
|
|
86
|
-
|
|
87
|
-
type: PropType<"vertical" | "horizontal" | BentoCheckboxGroupVariant>;
|
|
88
|
-
default: BentoCheckboxGroupVariant;
|
|
89
|
-
validator: (value: BentoCheckboxGroupVariant) => boolean;
|
|
90
|
-
};
|
|
91
|
-
formId: {
|
|
92
|
-
type: StringConstructor;
|
|
93
|
-
default: any;
|
|
94
|
-
};
|
|
95
|
-
disabled: {
|
|
135
|
+
optional: {
|
|
96
136
|
type: BooleanConstructor;
|
|
97
137
|
default: boolean;
|
|
98
138
|
};
|
|
@@ -100,21 +140,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
140
|
type: BooleanConstructor;
|
|
101
141
|
default: boolean;
|
|
102
142
|
};
|
|
103
|
-
|
|
143
|
+
required: {
|
|
104
144
|
type: BooleanConstructor;
|
|
105
145
|
default: boolean;
|
|
106
146
|
};
|
|
107
|
-
|
|
147
|
+
tooltipText: {
|
|
108
148
|
type: StringConstructor;
|
|
109
149
|
default: any;
|
|
110
150
|
};
|
|
111
|
-
|
|
112
|
-
type:
|
|
113
|
-
|
|
151
|
+
variant: {
|
|
152
|
+
type: PropType<"vertical" | "horizontal" | BentoCheckboxGroupVariant>;
|
|
153
|
+
default: BentoCheckboxGroupVariant;
|
|
154
|
+
validator: (value: BentoCheckboxGroupVariant) => boolean;
|
|
114
155
|
};
|
|
115
156
|
}>>, {
|
|
157
|
+
description: string;
|
|
116
158
|
disabled: boolean;
|
|
117
159
|
variant: "vertical" | "horizontal" | BentoCheckboxGroupVariant;
|
|
160
|
+
required: boolean;
|
|
161
|
+
tooltipText: string;
|
|
162
|
+
optional: boolean;
|
|
163
|
+
hideLabel: boolean;
|
|
118
164
|
errorMessage: string;
|
|
119
165
|
readonly: boolean;
|
|
120
166
|
modelValue: (string | number)[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { useCountryCapital } from './useCountryCapital/useCountryCapital';
|
|
2
|
-
export { useCountryFlag } from './useCountryFlag';
|
|
3
2
|
export { useCountryName } from './useCountryName/useCountryName';
|
|
4
3
|
export { useCountryPhoneCode } from './useCountryPhoneCode/useCountryPhoneCode';
|
|
@@ -17,9 +17,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
validator: (value: BentoCountryVariant) => boolean;
|
|
18
18
|
};
|
|
19
19
|
}, {
|
|
20
|
-
flagIconSrc: import("vue").Ref<string>;
|
|
21
20
|
countryName: import("vue").ComputedRef<any>;
|
|
22
|
-
countryLabel: import("vue").Ref<
|
|
21
|
+
countryLabel: import("vue").Ref<string>;
|
|
23
22
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
24
23
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
25
24
|
code: {
|
|
@@ -31,6 +31,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
type: BooleanConstructor;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
|
+
readonly: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
34
38
|
required: {
|
|
35
39
|
type: BooleanConstructor;
|
|
36
40
|
default: boolean;
|
|
@@ -49,6 +53,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
53
|
}>;
|
|
50
54
|
isDateIncorrect: Ref<boolean>;
|
|
51
55
|
isDatePickerOpen: Ref<boolean>;
|
|
56
|
+
isReadOnly: import("vue").ComputedRef<boolean>;
|
|
52
57
|
dateErrorText: import("vue").ComputedRef<string>;
|
|
53
58
|
labelId: string;
|
|
54
59
|
descriptionId: string;
|
|
@@ -113,6 +118,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
118
|
type: BooleanConstructor;
|
|
114
119
|
default: boolean;
|
|
115
120
|
};
|
|
121
|
+
readonly: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
116
125
|
required: {
|
|
117
126
|
type: BooleanConstructor;
|
|
118
127
|
default: boolean;
|
|
@@ -129,7 +138,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
138
|
required: boolean;
|
|
130
139
|
isDateDisabled: import("../internal").CalendarIsDateDisabled;
|
|
131
140
|
firstDayOfWeek: import("../internal").CalendarFirstDayOfWeek;
|
|
132
|
-
errorMessage: string;
|
|
133
141
|
optional: boolean;
|
|
142
|
+
errorMessage: string;
|
|
143
|
+
readonly: boolean;
|
|
134
144
|
}>;
|
|
135
145
|
export default _default;
|
package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts
CHANGED
|
@@ -36,6 +36,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
type: BooleanConstructor;
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
|
+
readonly: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
39
43
|
required: {
|
|
40
44
|
type: BooleanConstructor;
|
|
41
45
|
default: boolean;
|
|
@@ -67,6 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
71
|
}>;
|
|
68
72
|
isDateIncorrect: import("vue").Ref<boolean>;
|
|
69
73
|
isDateRangePickerOpen: import("vue").Ref<boolean>;
|
|
74
|
+
isReadOnly: import("vue").ComputedRef<boolean>;
|
|
70
75
|
labelId: string;
|
|
71
76
|
descriptionId: string;
|
|
72
77
|
dateErrorId: string;
|
|
@@ -138,6 +143,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
143
|
type: BooleanConstructor;
|
|
139
144
|
default: boolean;
|
|
140
145
|
};
|
|
146
|
+
readonly: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
141
150
|
required: {
|
|
142
151
|
type: BooleanConstructor;
|
|
143
152
|
default: boolean;
|
|
@@ -170,8 +179,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
179
|
firstDayOfWeek: import("../internal").CalendarFirstDayOfWeek;
|
|
171
180
|
maxRange: number;
|
|
172
181
|
numberOfMonths: number;
|
|
173
|
-
errorMessage: string;
|
|
174
182
|
optional: boolean;
|
|
183
|
+
errorMessage: string;
|
|
184
|
+
readonly: boolean;
|
|
175
185
|
allowTimeInput: boolean;
|
|
176
186
|
quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
|
|
177
187
|
}>;
|
|
@@ -193,6 +193,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
193
193
|
ariaLabel: string;
|
|
194
194
|
loading: boolean;
|
|
195
195
|
placeholder: string;
|
|
196
|
+
optional: boolean;
|
|
196
197
|
errorMessage: string;
|
|
197
198
|
size: "DropdownInputDefault" | "DropdownInputSmall" | import("../../../dropdown.types").BentoDropdownSize;
|
|
198
199
|
items: BentoAvatarListboxOptions;
|
|
@@ -203,6 +204,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
203
204
|
multiple: boolean;
|
|
204
205
|
dynamicFiltering: boolean;
|
|
205
206
|
showSlotContentInMultiple: boolean;
|
|
206
|
-
optional: boolean;
|
|
207
207
|
}>;
|
|
208
208
|
export default _default;
|
|
@@ -202,6 +202,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
202
202
|
ariaLabel: string;
|
|
203
203
|
loading: boolean;
|
|
204
204
|
placeholder: string;
|
|
205
|
+
optional: boolean;
|
|
205
206
|
errorMessage: string;
|
|
206
207
|
size: "DropdownInputDefault" | "DropdownInputSmall" | import("../../../dropdown.types").BentoDropdownSize;
|
|
207
208
|
items: BentoCountryListboxOptions;
|
|
@@ -212,6 +213,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
213
|
multiple: boolean;
|
|
213
214
|
dynamicFiltering: boolean;
|
|
214
215
|
showSlotContentInMultiple: boolean;
|
|
215
|
-
optional: boolean;
|
|
216
216
|
}>;
|
|
217
217
|
export default _default;
|
|
@@ -188,6 +188,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
188
188
|
ariaLabel: string;
|
|
189
189
|
loading: boolean;
|
|
190
190
|
placeholder: string;
|
|
191
|
+
optional: boolean;
|
|
191
192
|
errorMessage: string;
|
|
192
193
|
size: "DropdownInputDefault" | "DropdownInputSmall" | import("../../../dropdown.types").BentoDropdownSize;
|
|
193
194
|
items: BentoCurrencyListboxOptions;
|
|
@@ -198,6 +199,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
199
|
multiple: boolean;
|
|
199
200
|
dynamicFiltering: boolean;
|
|
200
201
|
showSlotContentInMultiple: boolean;
|
|
201
|
-
optional: boolean;
|
|
202
202
|
}>;
|
|
203
203
|
export default _default;
|
|
@@ -188,6 +188,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
188
188
|
ariaLabel: string;
|
|
189
189
|
loading: boolean;
|
|
190
190
|
placeholder: string;
|
|
191
|
+
optional: boolean;
|
|
191
192
|
errorMessage: string;
|
|
192
193
|
size: "DropdownInputDefault" | "DropdownInputSmall" | import("../../../dropdown.types").BentoDropdownSize;
|
|
193
194
|
items: BentoPaymentMethodListboxOptions;
|
|
@@ -198,6 +199,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
199
|
multiple: boolean;
|
|
199
200
|
dynamicFiltering: boolean;
|
|
200
201
|
showSlotContentInMultiple: boolean;
|
|
201
|
-
optional: boolean;
|
|
202
202
|
}>;
|
|
203
203
|
export default _default;
|
|
@@ -193,6 +193,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
193
193
|
ariaLabel: string;
|
|
194
194
|
loading: boolean;
|
|
195
195
|
placeholder: string;
|
|
196
|
+
optional: boolean;
|
|
196
197
|
errorMessage: string;
|
|
197
198
|
size: "DropdownInputDefault" | "DropdownInputSmall" | import("../../../dropdown.types").BentoDropdownSize;
|
|
198
199
|
items: BentoTagListboxOptions;
|
|
@@ -203,6 +204,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
203
204
|
multiple: boolean;
|
|
204
205
|
dynamicFiltering: boolean;
|
|
205
206
|
showSlotContentInMultiple: boolean;
|
|
206
|
-
optional: boolean;
|
|
207
207
|
}>;
|
|
208
208
|
export default _default;
|
|
@@ -96,6 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
96
|
dropdownOptionsContainerId: string;
|
|
97
97
|
filteredItems: import("vue").ComputedRef<any>;
|
|
98
98
|
isSearching: import("vue").ComputedRef<boolean>;
|
|
99
|
+
isReadOnly: import("vue").ComputedRef<boolean>;
|
|
99
100
|
searchTerm: import("vue").Ref<string>;
|
|
100
101
|
labelId: string;
|
|
101
102
|
descriptionId: string;
|
|
@@ -238,6 +239,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
238
239
|
ariaLabel: string;
|
|
239
240
|
loading: boolean;
|
|
240
241
|
placeholder: string;
|
|
242
|
+
optional: boolean;
|
|
241
243
|
errorMessage: string;
|
|
242
244
|
size: "DropdownInputDefault" | "DropdownInputSmall" | BentoDropdownSize;
|
|
243
245
|
items: BentoListboxOptions;
|
|
@@ -248,6 +250,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
248
250
|
multiple: boolean;
|
|
249
251
|
dynamicFiltering: boolean;
|
|
250
252
|
showSlotContentInMultiple: boolean;
|
|
251
|
-
optional: boolean;
|
|
252
253
|
}>;
|
|
253
254
|
export default _default;
|
|
@@ -184,11 +184,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
184
184
|
};
|
|
185
185
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
186
186
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
187
|
-
clearFilter: () => void;
|
|
188
187
|
onDateSelected: (selectedDate: BentoDateRangePickerValue) => void;
|
|
189
188
|
openFilter: () => void;
|
|
190
189
|
updateFilter: () => void;
|
|
191
|
-
resetFilter: () => void;
|
|
192
190
|
onDatePickerRangeError: () => void;
|
|
193
191
|
onDatePickerRangeFormDateInputUpdate: (dateFormDate: DateRangePickerCalendarFormData) => void;
|
|
194
192
|
onDateInputSelected: (selectedDate: BentoDateRangePickerValue) => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
+
default: (_: {}) => any;
|
|
3
|
+
message: (_: {}) => any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoFormLayoutFieldTip } from './form-layout-field-tip.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BentoLayoutGroupProportions = '50-50' | '25-75' | '75-25' | '33-66' | '66-33' | '25' | '33' | '50' | '100';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoLayoutGroupProportions } from './form-layout-group.types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
layout: {
|
|
5
|
+
type: PropType<BentoLayoutGroupProportions>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
layout: {
|
|
10
|
+
type: PropType<BentoLayoutGroupProportions>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>>, {
|
|
14
|
+
layout: BentoLayoutGroupProportions;
|
|
15
|
+
}>, {
|
|
16
|
+
default: (_: {}) => any;
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoFormLayoutGroup } from './form-layout-group.vue';
|