@adyen/bento-vue2 1.23.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/@types/index.d.ts +602 -715
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +6 -6
- package/dist/alert.js +82 -98
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/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 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/{listbox.css → use-cached-selected-values.css} +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +5 -5
- package/dist/card.js +83 -180
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +5 -5
- package/dist/chunks/{base-button.025269d7.js → base-button.773343f6.js} +2 -2
- package/dist/chunks/{base-button.025269d7.js.map → base-button.773343f6.js.map} +1 -1
- package/dist/chunks/{base-modal.c354f456.js → base-modal.2d596e6f.js} +6 -6
- package/dist/chunks/{base-modal.c354f456.js.map → base-modal.2d596e6f.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.15d22fa3.js → button-actions-with-menu.d08d2c51.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.15d22fa3.js.map → button-actions-with-menu.d08d2c51.js.map} +1 -1
- package/dist/chunks/{button-actions.3882346f.js → button-actions.a03a672f.js} +3 -3
- package/dist/chunks/{button-actions.3882346f.js.map → button-actions.a03a672f.js.map} +1 -1
- package/dist/chunks/{button.a823da67.js → button.e5f5638f.js} +3 -3
- package/dist/chunks/{button.a823da67.js.map → button.e5f5638f.js.map} +1 -1
- package/dist/chunks/{calendar.4ba3b251.js → calendar.7d3e2db0.js} +4 -4
- package/dist/chunks/{calendar.4ba3b251.js.map → calendar.7d3e2db0.js.map} +1 -1
- package/dist/chunks/{checkbox.1edcc4c0.js → checkbox.28578383.js} +3 -3
- package/dist/chunks/{checkbox.1edcc4c0.js.map → checkbox.28578383.js.map} +1 -1
- package/dist/chunks/{controls-group.b17e40ad.js → controls-group.faa482b2.js} +3 -3
- package/dist/chunks/{controls-group.b17e40ad.js.map → controls-group.faa482b2.js.map} +1 -1
- package/dist/chunks/{copy.b20b47f9.js → copy.3c50b447.js} +4 -4
- package/dist/chunks/{copy.b20b47f9.js.map → copy.3c50b447.js.map} +1 -1
- package/dist/chunks/dialog-page.286ead53.js +133 -0
- package/dist/chunks/dialog-page.286ead53.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.537c81a2.js → dropdown-default-textbox.a1c0c0fb.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.537c81a2.js.map → dropdown-default-textbox.a1c0c0fb.js.map} +1 -1
- package/dist/chunks/dropdown.7d4a8dfc.js +775 -0
- package/dist/chunks/dropdown.7d4a8dfc.js.map +1 -0
- package/dist/chunks/{error-message.7022fa86.js → error-message.db315e68.js} +2 -2
- package/dist/chunks/{error-message.7022fa86.js.map → error-message.db315e68.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.077a5709.js → fixed-scroller.3135f86c.js} +2 -2
- package/dist/chunks/{fixed-scroller.077a5709.js.map → fixed-scroller.3135f86c.js.map} +1 -1
- package/dist/chunks/{footer-actions.1f22f86d.js → footer-actions.32891b25.js} +4 -4
- package/dist/chunks/{footer-actions.1f22f86d.js.map → footer-actions.32891b25.js.map} +1 -1
- package/dist/chunks/{index.255c82a2.js → index.30948302.js} +138 -119
- package/dist/chunks/index.30948302.js.map +1 -0
- package/dist/chunks/{index.19675c16.js → index.444d221f.js} +3 -3
- package/dist/chunks/{index.19675c16.js.map → index.444d221f.js.map} +1 -1
- package/dist/chunks/{index.0be6a210.js → index.4b6211c7.js} +27 -27
- package/dist/chunks/{index.0be6a210.js.map → index.4b6211c7.js.map} +1 -1
- package/dist/chunks/{index.9d130872.js → index.596c4d0a.js} +2 -2
- package/dist/chunks/{index.9d130872.js.map → index.596c4d0a.js.map} +1 -1
- package/dist/chunks/{index.7a59b0b8.js → index.81e509f3.js} +6 -6
- package/dist/chunks/{index.7a59b0b8.js.map → index.81e509f3.js.map} +1 -1
- package/dist/chunks/{index.f828081b.js → index.939dd5cf.js} +2 -2
- package/dist/chunks/{index.f828081b.js.map → index.939dd5cf.js.map} +1 -1
- package/dist/chunks/{index.59d76d6b.js → index.94acf214.js} +3 -3
- package/dist/chunks/{index.59d76d6b.js.map → index.94acf214.js.map} +1 -1
- package/dist/chunks/index.9536a077.js +49 -0
- package/dist/chunks/index.9536a077.js.map +1 -0
- package/dist/chunks/{index.b231f9ef.js → index.9e40ffeb.js} +2 -2
- package/dist/chunks/{index.b231f9ef.js.map → index.9e40ffeb.js.map} +1 -1
- package/dist/chunks/index.d97166c6.js +79 -0
- package/dist/chunks/index.d97166c6.js.map +1 -0
- package/dist/chunks/{index.787ded40.js → index.ec632d95.js} +6 -6
- package/dist/chunks/{index.787ded40.js.map → index.ec632d95.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.e025da67.js → listbox-option-tag.95a65534.js} +3 -3
- package/dist/chunks/{listbox-option-tag.e025da67.js.map → listbox-option-tag.95a65534.js.map} +1 -1
- package/dist/chunks/{loading-button.5de13e50.js → loading-button.e8060c04.js} +2 -2
- package/dist/chunks/{loading-button.5de13e50.js.map → loading-button.e8060c04.js.map} +1 -1
- package/dist/chunks/{payment-method.bf9e71a2.js → payment-method.564ed43a.js} +2 -2
- package/dist/chunks/{payment-method.bf9e71a2.js.map → payment-method.564ed43a.js.map} +1 -1
- package/dist/chunks/{tooltip.eb1eb37e.js → tooltip.e5deb137.js} +3 -3
- package/dist/chunks/{tooltip.eb1eb37e.js.map → tooltip.e5deb137.js.map} +1 -1
- package/dist/chunks/use-bento-toast-controller.8414d283.js +52 -0
- package/dist/chunks/use-bento-toast-controller.8414d283.js.map +1 -0
- package/dist/chunks/{listbox.f99c2f3e.js → use-cached-selected-values.3772a679.js} +510 -448
- package/dist/chunks/use-cached-selected-values.3772a679.js.map +1 -0
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +746 -705
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +19 -19
- 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 +1104 -948
- 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 +262 -276
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +54 -48
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +31 -78
- package/dist/internal.js.map +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +6 -6
- package/dist/modal.js +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +62 -62
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +3 -3
- package/dist/selection-card.js +4 -4
- package/dist/sidepanel.js +52 -50
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +7 -7
- package/dist/toast.js +143 -98
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +6 -6
- package/dist/typography.js +1 -1
- package/dist/web-types.json +748 -451
- package/package.json +3 -2
- package/dist/chunks/dialog-page.3965f89e.js +0 -133
- package/dist/chunks/dialog-page.3965f89e.js.map +0 -1
- package/dist/chunks/dropdown.93a582cc.js +0 -797
- package/dist/chunks/dropdown.93a582cc.js.map +0 -1
- package/dist/chunks/index.0b534dc6.js +0 -83
- package/dist/chunks/index.0b534dc6.js.map +0 -1
- package/dist/chunks/index.255c82a2.js.map +0 -1
- package/dist/chunks/index.be6917c8.js +0 -127
- package/dist/chunks/index.be6917c8.js.map +0 -1
- package/dist/chunks/info-filled.c37e091d.js +0 -26
- package/dist/chunks/info-filled.c37e091d.js.map +0 -1
- package/dist/chunks/listbox.f99c2f3e.js.map +0 -1
- package/dist/chunks/toastController.fd667b68.js +0 -15
- package/dist/chunks/toastController.fd667b68.js.map +0 -1
package/dist/date-picker.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { ref as f, computed as D, defineComponent as Y, toRef as E, watch as W, nextTick as T } from "vue";
|
|
2
|
-
import { a as q } from "./chunks/index.
|
|
3
|
-
import { B as K } from "./chunks/index.
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { D as O, v as G, f as H } from "./chunks/date-input.9186a0bf.js";
|
|
2
|
+
import { a as q } from "./chunks/index.ec632d95.js";
|
|
3
|
+
import { B as K } from "./chunks/index.d97166c6.js";
|
|
4
|
+
import { d as j } from "./chunks/debounce.b5ef6acf.js";
|
|
5
|
+
import { D as O, v as z, f as $ } from "./chunks/date-input.9186a0bf.js";
|
|
7
6
|
import { g as u } from "./chunks/unique-id.a2a2b458.js";
|
|
8
7
|
import { u as B } from "./chunks/i18n.eb5b985b.js";
|
|
9
|
-
import { f as S } from "./chunks/index.
|
|
10
|
-
import { e as I, d as
|
|
11
|
-
import { u as
|
|
8
|
+
import { f as S } from "./chunks/index.9e40ffeb.js";
|
|
9
|
+
import { e as I, d as G, f as H } from "./chunks/index.f55fdc32.js";
|
|
10
|
+
import { u as J } from "./chunks/use-form-layout-loading.d03e5d48.js";
|
|
12
11
|
import "./chunks/index.4c062058.js";
|
|
13
|
-
import { C as p } from "./chunks/calendar.
|
|
14
|
-
import { b as we } from "./chunks/calendar.
|
|
15
|
-
import {
|
|
12
|
+
import { C as p } from "./chunks/calendar.7d3e2db0.js";
|
|
13
|
+
import { b as we } from "./chunks/calendar.7d3e2db0.js";
|
|
14
|
+
import { c as Q, B as X } from "./chunks/dropdown-default-textbox.a1c0c0fb.js";
|
|
15
|
+
import { E as Z, F as ee } from "./chunks/error-message.db315e68.js";
|
|
16
16
|
import { n as ae } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
17
|
-
import "./assets/
|
|
17
|
+
import "./assets/index42.css";
|
|
18
18
|
const te = ({ datePickerValue: a, isDateIncorrect: e }) => {
|
|
19
19
|
var v;
|
|
20
|
-
const { locale: r, t: n } = B(), m = { de:
|
|
20
|
+
const { locale: r, t: n } = B(), m = { de: G, enUS: I, fr: H }, s = f((v = a.value) == null ? void 0 : v.toDateString());
|
|
21
21
|
return {
|
|
22
22
|
// Values
|
|
23
23
|
dateDisplayValue: D(() => e.value ? s.value : a.value ? S(a.value, O.FULL_DATE, {
|
|
@@ -49,10 +49,10 @@ const re = {
|
|
|
49
49
|
BentoPopover: q,
|
|
50
50
|
Calendar: p,
|
|
51
51
|
ErrorMessage: Z,
|
|
52
|
-
DropdownInputDefault:
|
|
52
|
+
DropdownInputDefault: Q,
|
|
53
53
|
FieldLabel: ee
|
|
54
54
|
},
|
|
55
|
-
directives: { BentoClickOutsideDirective:
|
|
55
|
+
directives: { BentoClickOutsideDirective: X },
|
|
56
56
|
props: {
|
|
57
57
|
/**
|
|
58
58
|
* Descriptive supporting text visbile underneath the dropdown.
|
|
@@ -109,7 +109,7 @@ const re = {
|
|
|
109
109
|
},
|
|
110
110
|
emits: [o.INPUT],
|
|
111
111
|
setup(a, { emit: e }) {
|
|
112
|
-
const { t: r } = B(), n = u("bento-date-picker-container"), m = u("bento-date-picker-label"), s = u("bento-date-picker-description"), b = u("bento-date-picker-error"), y = u("bento-date-picker-date-error"), v = D(() => a.label || r("datePicker", { name: n })), c = f(null), w = f(null), l = f(!1), i = f(!1), { isReadOnly: R } =
|
|
112
|
+
const { t: r } = B(), n = u("bento-date-picker-container"), m = u("bento-date-picker-label"), s = u("bento-date-picker-description"), b = u("bento-date-picker-error"), y = u("bento-date-picker-date-error"), v = D(() => a.label || r("datePicker", { name: n })), c = f(null), w = f(null), l = f(!1), i = f(!1), { isReadOnly: R } = J(E(a, "readonly"));
|
|
113
113
|
W(
|
|
114
114
|
() => a.disabled,
|
|
115
115
|
(t) => {
|
|
@@ -132,12 +132,12 @@ const re = {
|
|
|
132
132
|
}, h = async () => {
|
|
133
133
|
l.value && (l.value = !1, d.value = null), e(o.INPUT, null);
|
|
134
134
|
}, A = (t) => {
|
|
135
|
-
|
|
135
|
+
z(t);
|
|
136
136
|
}, P = (t) => {
|
|
137
137
|
if (t.length < 10)
|
|
138
138
|
return;
|
|
139
139
|
/^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(t) && M(new Date(t)) ? (l.value = !1, e(o.INPUT, new Date(t))) : t && (l.value = !0, e(o.INPUT, null));
|
|
140
|
-
}, L =
|
|
140
|
+
}, L = j(P, ne);
|
|
141
141
|
return {
|
|
142
142
|
// Refs
|
|
143
143
|
inputContainerRef: w,
|
|
@@ -164,7 +164,7 @@ const re = {
|
|
|
164
164
|
openDatePicker: C,
|
|
165
165
|
onDateKeyDown: A,
|
|
166
166
|
onDateInputChange: (t) => {
|
|
167
|
-
d.value =
|
|
167
|
+
d.value = $(t), i.value ? L(d.value) : P(d.value);
|
|
168
168
|
},
|
|
169
169
|
// Keyboard navigation
|
|
170
170
|
onSpaceBarOrEnter: async (t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as t, a as r } from "./chunks/index.
|
|
2
|
-
import { b as o } from "./chunks/calendar.
|
|
1
|
+
import { B as t, a as r } from "./chunks/index.4b6211c7.js";
|
|
2
|
+
import { b as o } from "./chunks/calendar.7d3e2db0.js";
|
|
3
3
|
export {
|
|
4
4
|
t as BentoDateRangePicker,
|
|
5
5
|
r as BentoDateRangePickerEvent,
|
package/dist/date.js
CHANGED
package/dist/divider.js
CHANGED
package/dist/dropdown.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { B as p } from "./chunks/dropdown.
|
|
2
|
-
import { a as _t } from "./chunks/dropdown.
|
|
3
|
-
import {
|
|
1
|
+
import { B as p } from "./chunks/dropdown.7d4a8dfc.js";
|
|
2
|
+
import { a as _t } from "./chunks/dropdown.7d4a8dfc.js";
|
|
3
|
+
import { c as dt, b as ct } from "./chunks/use-cached-selected-values.3772a679.js";
|
|
4
4
|
import { defineComponent as a, computed as l, toRefs as m } from "vue";
|
|
5
|
-
import { B as y, L as i } from "./chunks/listbox-option-tag.
|
|
5
|
+
import { B as y, L as i } from "./chunks/listbox-option-tag.95a65534.js";
|
|
6
6
|
import { n as d } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
7
|
-
import { d as v, B as w } from "./chunks/index.
|
|
7
|
+
import { d as v, B as w } from "./chunks/index.d97166c6.js";
|
|
8
8
|
import { u as b } from "./chunks/use-country-items.6b7985bf.js";
|
|
9
9
|
import { B as c } from "./chunks/country.types.002caff2.js";
|
|
10
|
-
import { B } from "./chunks/payment-method.
|
|
11
|
-
import "./assets/
|
|
10
|
+
import { B } from "./chunks/payment-method.564ed43a.js";
|
|
11
|
+
import "./assets/index.css";
|
|
12
12
|
const $ = a({
|
|
13
13
|
name: "bento-dropdown-avatar"
|
|
14
14
|
}), I = /* @__PURE__ */ a({
|
package/dist/empty-state.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as D, ref as v, computed as l, watch as d } from "vue";
|
|
2
|
-
import { a as L } from "./chunks/button.
|
|
3
|
-
import { c as y, B as C } from "./chunks/index.
|
|
2
|
+
import { a as L } from "./chunks/button.e5f5638f.js";
|
|
3
|
+
import { c as y, B as C } from "./chunks/index.d97166c6.js";
|
|
4
4
|
import { o as A } from "./chunks/resize.a041304d.js";
|
|
5
5
|
import { n as O } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
6
|
-
import "./assets/
|
|
6
|
+
import "./assets/index4.css";
|
|
7
7
|
const _ = (s, e) => {
|
|
8
8
|
const t = s[e];
|
|
9
9
|
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((r, n) => {
|