@adyen/bento-vue2 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/index.d.ts +69 -101
- 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/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/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/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +5 -5
- package/dist/card.js +3 -3
- package/dist/checkbox.js +5 -5
- package/dist/chunks/{base-button.773343f6.js → base-button.ad74b6f8.js} +2 -2
- package/dist/chunks/{base-button.773343f6.js.map → base-button.ad74b6f8.js.map} +1 -1
- package/dist/chunks/{base-modal.2d596e6f.js → base-modal.1fff7abe.js} +6 -6
- package/dist/chunks/{base-modal.2d596e6f.js.map → base-modal.1fff7abe.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.d08d2c51.js → button-actions-with-menu.e845d77a.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.d08d2c51.js.map → button-actions-with-menu.e845d77a.js.map} +1 -1
- package/dist/chunks/{button-actions.a03a672f.js → button-actions.81db18e8.js} +3 -3
- package/dist/chunks/{button-actions.a03a672f.js.map → button-actions.81db18e8.js.map} +1 -1
- package/dist/chunks/{button.e5f5638f.js → button.9d6435ae.js} +3 -3
- package/dist/chunks/{button.e5f5638f.js.map → button.9d6435ae.js.map} +1 -1
- package/dist/chunks/{calendar.7d3e2db0.js → calendar.640b8d25.js} +4 -4
- package/dist/chunks/{calendar.7d3e2db0.js.map → calendar.640b8d25.js.map} +1 -1
- package/dist/chunks/{checkbox.28578383.js → checkbox.bfed007c.js} +3 -3
- package/dist/chunks/{checkbox.28578383.js.map → checkbox.bfed007c.js.map} +1 -1
- package/dist/chunks/{controls-group.faa482b2.js → controls-group.4fb50009.js} +3 -3
- package/dist/chunks/{controls-group.faa482b2.js.map → controls-group.4fb50009.js.map} +1 -1
- package/dist/chunks/{copy.3c50b447.js → copy.f85700c6.js} +4 -4
- package/dist/chunks/{copy.3c50b447.js.map → copy.f85700c6.js.map} +1 -1
- package/dist/chunks/{dialog-page.286ead53.js → dialog-page.73da22cf.js} +3 -3
- package/dist/chunks/{dialog-page.286ead53.js.map → dialog-page.73da22cf.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.a1c0c0fb.js → dropdown-default-textbox.54ca1b18.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.a1c0c0fb.js.map → dropdown-default-textbox.54ca1b18.js.map} +1 -1
- package/dist/chunks/{dropdown.7d4a8dfc.js → dropdown.10c034aa.js} +16 -16
- package/dist/chunks/{dropdown.7d4a8dfc.js.map → dropdown.10c034aa.js.map} +1 -1
- package/dist/chunks/{error-message.db315e68.js → error-message.31ec12b7.js} +2 -2
- package/dist/chunks/{error-message.db315e68.js.map → error-message.31ec12b7.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.3135f86c.js → fixed-scroller.4eb9a9ac.js} +2 -2
- package/dist/chunks/{fixed-scroller.3135f86c.js.map → fixed-scroller.4eb9a9ac.js.map} +1 -1
- package/dist/chunks/{footer-actions.32891b25.js → footer-actions.a1e09b4f.js} +4 -4
- package/dist/chunks/{footer-actions.32891b25.js.map → footer-actions.a1e09b4f.js.map} +1 -1
- package/dist/chunks/{index.ec632d95.js → index.15b088b9.js} +6 -6
- package/dist/chunks/{index.ec632d95.js.map → index.15b088b9.js.map} +1 -1
- package/dist/chunks/{index.30948302.js → index.1ea85d4a.js} +6 -6
- package/dist/chunks/{index.30948302.js.map → index.1ea85d4a.js.map} +1 -1
- package/dist/chunks/{index.444d221f.js → index.317fca12.js} +3 -3
- package/dist/chunks/{index.444d221f.js.map → index.317fca12.js.map} +1 -1
- package/dist/chunks/{index.94acf214.js → index.671768a1.js} +3 -3
- package/dist/chunks/{index.94acf214.js.map → index.671768a1.js.map} +1 -1
- package/dist/chunks/{index.9536a077.js → index.7eefc59c.js} +3 -3
- package/dist/chunks/{index.9536a077.js.map → index.7eefc59c.js.map} +1 -1
- package/dist/chunks/{index.939dd5cf.js → index.885d05a9.js} +2 -2
- package/dist/chunks/{index.939dd5cf.js.map → index.885d05a9.js.map} +1 -1
- package/dist/chunks/{index.4b6211c7.js → index.8b8c3b16.js} +27 -27
- package/dist/chunks/{index.4b6211c7.js.map → index.8b8c3b16.js.map} +1 -1
- package/dist/chunks/{index.81e509f3.js → index.aaf965f8.js} +6 -6
- package/dist/chunks/{index.81e509f3.js.map → index.aaf965f8.js.map} +1 -1
- package/dist/chunks/{index.9e40ffeb.js → index.b21197ca.js} +2 -2
- package/dist/chunks/{index.9e40ffeb.js.map → index.b21197ca.js.map} +1 -1
- package/dist/chunks/{index.596c4d0a.js → index.d553d3d1.js} +2 -2
- package/dist/chunks/{index.596c4d0a.js.map → index.d553d3d1.js.map} +1 -1
- package/dist/chunks/{index.d97166c6.js → index.dd30e538.js} +3 -3
- package/dist/chunks/index.dd30e538.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.95a65534.js → listbox-option-tag.6bbb6bbe.js} +3 -3
- package/dist/chunks/{listbox-option-tag.95a65534.js.map → listbox-option-tag.6bbb6bbe.js.map} +1 -1
- package/dist/chunks/{loading-button.e8060c04.js → loading-button.eafc9e1b.js} +2 -2
- package/dist/chunks/{loading-button.e8060c04.js.map → loading-button.eafc9e1b.js.map} +1 -1
- package/dist/chunks/{payment-method.564ed43a.js → payment-method.6c1ce07c.js} +2 -2
- package/dist/chunks/{payment-method.564ed43a.js.map → payment-method.6c1ce07c.js.map} +1 -1
- package/dist/chunks/{tooltip.e5deb137.js → tooltip.58ef3f4a.js} +3 -3
- package/dist/chunks/{tooltip.e5deb137.js.map → tooltip.58ef3f4a.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.8414d283.js → use-bento-toast-controller.c3277f73.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.8414d283.js.map → use-bento-toast-controller.c3277f73.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.3772a679.js → use-cached-selected-values.69297473.js} +5 -5
- package/dist/chunks/{use-cached-selected-values.3772a679.js.map → use-cached-selected-values.69297473.js.map} +1 -1
- package/dist/code-snippet.js +7 -7
- 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 +895 -866
- 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 +20 -20
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +15 -14
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +4 -4
- package/dist/index.js +21 -21
- 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 +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +4 -4
- package/dist/search-bar.js +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 +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 +52 -52
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +7 -7
- package/dist/toast.js +4 -4
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +88 -67
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +42 -8
- package/package.json +2 -2
- package/dist/chunks/index.d97166c6.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 {
|
|
2
|
+
import { a as q } from "./chunks/index.15b088b9.js";
|
|
3
|
+
import { B as K } from "./chunks/index.dd30e538.js";
|
|
4
|
+
import { c as j, B as z } from "./chunks/dropdown-default-textbox.54ca1b18.js";
|
|
5
|
+
import { d as $ } from "./chunks/debounce.b5ef6acf.js";
|
|
6
|
+
import { D as O, v as G, f as H } from "./chunks/date-input.9186a0bf.js";
|
|
6
7
|
import { g as u } from "./chunks/unique-id.a2a2b458.js";
|
|
7
8
|
import { u as B } from "./chunks/i18n.eb5b985b.js";
|
|
8
|
-
import { f as S } from "./chunks/index.
|
|
9
|
-
import { e as I, d as
|
|
10
|
-
import { u as
|
|
9
|
+
import { f as S } from "./chunks/index.b21197ca.js";
|
|
10
|
+
import { e as I, d as J, f as Q } from "./chunks/index.f55fdc32.js";
|
|
11
|
+
import { u as X } from "./chunks/use-form-layout-loading.d03e5d48.js";
|
|
11
12
|
import "./chunks/index.4c062058.js";
|
|
12
|
-
import { C as p } from "./chunks/calendar.
|
|
13
|
-
import { b as we } from "./chunks/calendar.
|
|
14
|
-
import {
|
|
15
|
-
import { E as Z, F as ee } from "./chunks/error-message.db315e68.js";
|
|
13
|
+
import { C as p } from "./chunks/calendar.640b8d25.js";
|
|
14
|
+
import { b as we } from "./chunks/calendar.640b8d25.js";
|
|
15
|
+
import { E as Z, F as ee } from "./chunks/error-message.31ec12b7.js";
|
|
16
16
|
import { n as ae } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
17
|
-
import "./assets/
|
|
17
|
+
import "./assets/index12.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: J, enUS: I, fr: Q }, 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: j,
|
|
53
53
|
FieldLabel: ee
|
|
54
54
|
},
|
|
55
|
-
directives: { BentoClickOutsideDirective:
|
|
55
|
+
directives: { BentoClickOutsideDirective: z },
|
|
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 } = X(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
|
+
G(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 = $(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 = H(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.8b8c3b16.js";
|
|
2
|
+
import { b as o } from "./chunks/calendar.640b8d25.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 { c as dt, b as ct } from "./chunks/use-cached-selected-values.
|
|
1
|
+
import { B as p } from "./chunks/dropdown.10c034aa.js";
|
|
2
|
+
import { a as _t } from "./chunks/dropdown.10c034aa.js";
|
|
3
|
+
import { c as dt, b as ct } from "./chunks/use-cached-selected-values.69297473.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.6bbb6bbe.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.dd30e538.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.6c1ce07c.js";
|
|
11
|
+
import "./assets/index16.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.9d6435ae.js";
|
|
3
|
+
import { c as y, B as C } from "./chunks/index.dd30e538.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/index17.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) => {
|
package/dist/filter-bar.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { n as I } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
2
2
|
import { defineComponent as U, useSlots as ie, useAttrs as Ye, computed as r, ref as P, watch as ee, toRef as w, onBeforeUpdate as fe, provide as Je, reactive as Be, nextTick as ze, onMounted as Ge } from "vue";
|
|
3
|
-
import { a as pe, I as We } from "./chunks/index.
|
|
3
|
+
import { a as pe, I as We } from "./chunks/index.15b088b9.js";
|
|
4
4
|
import { u as Z } from "./chunks/i18n.eb5b985b.js";
|
|
5
5
|
import { g as _e } from "./chunks/unique-id.a2a2b458.js";
|
|
6
6
|
import { u as Ze } from "./chunks/use-click-outside.941d1600.js";
|
|
7
7
|
import "./chunks/index.4c062058.js";
|
|
8
|
-
import { B as oe, d as Qe } from "./chunks/index.
|
|
8
|
+
import { B as oe, d as Qe } from "./chunks/index.dd30e538.js";
|
|
9
9
|
import { u as Ae } from "./chunks/aria-label.ac9651a5.js";
|
|
10
|
-
import { B as De, a as ye } from "./chunks/base-button.
|
|
10
|
+
import { B as De, a as ye } from "./chunks/base-button.ad74b6f8.js";
|
|
11
11
|
import { g as Te } from "./chunks/get-slot-text.99c3d860.js";
|
|
12
12
|
import { u as Pe } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
13
13
|
import { a as Ee, C as xe } from "./chunks/chevron-up.81185563.js";
|
|
14
|
-
import { B as Xe } from "./chunks/tooltip.
|
|
14
|
+
import { B as Xe } from "./chunks/tooltip.58ef3f4a.js";
|
|
15
15
|
import { B as et } from "./chunks/teleport.84b0f20b.js";
|
|
16
|
-
import { B as tt } from "./chunks/dropdown-default-textbox.
|
|
16
|
+
import { B as tt } from "./chunks/dropdown-default-textbox.54ca1b18.js";
|
|
17
17
|
import { BentoRadioGroup as lt } from "./radio-group.js";
|
|
18
18
|
import { BentoInputField as Ie } from "./input-field.js";
|
|
19
19
|
import { BentoSearchBar as re, BentoSearchBarEvent as le } from "./search-bar.js";
|
|
20
20
|
import { BentoModal as at } from "./modal.js";
|
|
21
|
-
import { g as nt } from "./chunks/base-modal.
|
|
22
|
-
import { a as st } from "./chunks/button.
|
|
23
|
-
import { u as $e, B as ot } from "./chunks/dropdown.
|
|
24
|
-
import { g as rt } from "./chunks/index.
|
|
25
|
-
import { B as ve } from "./chunks/index.
|
|
21
|
+
import { g as nt } from "./chunks/base-modal.1fff7abe.js";
|
|
22
|
+
import { a as st } from "./chunks/button.9d6435ae.js";
|
|
23
|
+
import { u as $e, B as ot } from "./chunks/dropdown.10c034aa.js";
|
|
24
|
+
import { g as rt } from "./chunks/index.d553d3d1.js";
|
|
25
|
+
import { B as ve } from "./chunks/index.885d05a9.js";
|
|
26
26
|
import { BentoDatePicker as it } from "./date-picker.js";
|
|
27
|
-
import { f as X } from "./chunks/index.
|
|
27
|
+
import { f as X } from "./chunks/index.b21197ca.js";
|
|
28
28
|
import { e as J, d as Ue, f as Re } from "./chunks/index.f55fdc32.js";
|
|
29
|
-
import { C as ut, i as ct } from "./chunks/calendar.
|
|
30
|
-
import { B as dt, D as ft, i as me } from "./chunks/index.
|
|
31
|
-
import { B as _t } from "./chunks/button-actions.
|
|
29
|
+
import { C as ut, i as ct } from "./chunks/calendar.640b8d25.js";
|
|
30
|
+
import { B as dt, D as ft, i as me } from "./chunks/index.8b8c3b16.js";
|
|
31
|
+
import { B as _t } from "./chunks/button-actions.81db18e8.js";
|
|
32
32
|
import { D as Fe } from "./chunks/date-input.9186a0bf.js";
|
|
33
|
-
import { a as he, B as vt } from "./chunks/use-cached-selected-values.
|
|
34
|
-
import { B as bt, L as Ve } from "./chunks/listbox-option-tag.
|
|
33
|
+
import { a as he, B as vt } from "./chunks/use-cached-selected-values.69297473.js";
|
|
34
|
+
import { B as bt, L as Ve } from "./chunks/listbox-option-tag.6bbb6bbe.js";
|
|
35
35
|
import { u as pt } from "./chunks/use-country-items.6b7985bf.js";
|
|
36
|
-
import { B as yt } from "./chunks/payment-method.
|
|
36
|
+
import { B as yt } from "./chunks/payment-method.6c1ce07c.js";
|
|
37
37
|
import { R as mt } from "./chunks/refresh.71a03998.js";
|
|
38
|
-
import { F as Ft } from "./chunks/fixed-scroller.
|
|
39
|
-
import { u as ht } from "./chunks/use-bento-toast-controller.
|
|
40
|
-
import "./assets/
|
|
38
|
+
import { F as Ft } from "./chunks/fixed-scroller.4eb9a9ac.js";
|
|
39
|
+
import { u as ht } from "./chunks/use-bento-toast-controller.c3277f73.js";
|
|
40
|
+
import "./assets/index18.css";
|
|
41
41
|
const gt = {}, St = /* @__PURE__ */ U({
|
|
42
42
|
...gt,
|
|
43
43
|
__name: "filter-bar-button",
|
package/dist/focus-trap.js
CHANGED
package/dist/form-layout.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as a, useSlots as
|
|
2
|
-
import { BentoAlert as
|
|
1
|
+
import { defineComponent as a, useSlots as u, computed as r, provide as m, toRef as d } from "vue";
|
|
2
|
+
import { BentoAlert as f } from "./alert.js";
|
|
3
3
|
import { F as y } from "./chunks/form-layout.types.a7a1438d.js";
|
|
4
|
-
import { u as
|
|
4
|
+
import { u as i } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
5
5
|
import { n as _ } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
6
|
-
import { B as
|
|
7
|
-
import "./assets/
|
|
6
|
+
import { B as p, c as v } from "./chunks/index.dd30e538.js";
|
|
7
|
+
import "./assets/index15.css";
|
|
8
8
|
const g = {}, h = /* @__PURE__ */ a({
|
|
9
9
|
...g,
|
|
10
10
|
__name: "form-layout",
|
|
@@ -20,8 +20,8 @@ const g = {}, h = /* @__PURE__ */ a({
|
|
|
20
20
|
loading: { type: Boolean, default: !1 }
|
|
21
21
|
},
|
|
22
22
|
setup(e) {
|
|
23
|
-
const t = e, o =
|
|
24
|
-
return
|
|
23
|
+
const t = e, o = u(), s = i(o), n = r(() => t.form ? "form" : "div"), l = r(() => s("actions-left") || s("actions-right"));
|
|
24
|
+
return m(y, d(t, "loading")), { __sfc: !0, slots: o, hasSlot: s, props: t, formLayoutElement: n, hasActions: l, BentoAlert: f };
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
var b = function() {
|
|
@@ -54,21 +54,22 @@ const H = B.exports, C = ["warning", "critical", "highlight", "success"], F = {}
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
setup(e) {
|
|
57
|
-
|
|
57
|
+
const t = u(), o = i(t);
|
|
58
|
+
return { __sfc: !0, slots: t, hasSlot: o, BentoAlert: f };
|
|
58
59
|
}
|
|
59
60
|
});
|
|
60
61
|
var $ = function() {
|
|
61
62
|
var t = this, o = t._self._c, s = t._self._setupProxy;
|
|
62
|
-
return o("div", { staticClass: "b-form-layout-field-tip" }, [t._t("default"), o(s.BentoAlert, { attrs: { variant: "tip", type: t.type }, scopedSlots: t._u([{ key: "description", fn: function() {
|
|
63
|
+
return o("div", { staticClass: "b-form-layout-field-tip" }, [t._t("default"), s.hasSlot("message") ? o(s.BentoAlert, { attrs: { variant: "tip", type: t.type }, scopedSlots: t._u([{ key: "description", fn: function() {
|
|
63
64
|
return [t._t("message")];
|
|
64
|
-
}, proxy: !0 }], null, !0) })], 2);
|
|
65
|
+
}, proxy: !0 }], null, !0) }) : t._e()], 2);
|
|
65
66
|
}, x = [], S = /* @__PURE__ */ _(
|
|
66
67
|
T,
|
|
67
68
|
$,
|
|
68
69
|
x,
|
|
69
70
|
!1,
|
|
70
71
|
null,
|
|
71
|
-
"
|
|
72
|
+
"21e4c0c4",
|
|
72
73
|
null,
|
|
73
74
|
null
|
|
74
75
|
);
|
|
@@ -159,16 +160,16 @@ const K = E.exports, G = {}, I = /* @__PURE__ */ a({
|
|
|
159
160
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
160
161
|
*/
|
|
161
162
|
el: {
|
|
162
|
-
type:
|
|
163
|
+
type: p.props.el.type,
|
|
163
164
|
required: !0,
|
|
164
165
|
validator: (e) => Object.values(v).includes(e)
|
|
165
166
|
}
|
|
166
167
|
},
|
|
167
168
|
setup(e) {
|
|
168
|
-
const t = e, o =
|
|
169
|
+
const t = e, o = u(), s = r(() => !t.subsection), n = i(o), l = r(() => ({
|
|
169
170
|
"b-form-layout-title--subsection": t.subsection
|
|
170
171
|
}));
|
|
171
|
-
return { __sfc: !0, slots: o, props: t, isSection: s, hasSlot: n, conditionalClasses: l, BentoTypography:
|
|
172
|
+
return { __sfc: !0, slots: o, props: t, isSection: s, hasSlot: n, conditionalClasses: l, BentoTypography: p };
|
|
172
173
|
}
|
|
173
174
|
});
|
|
174
175
|
var N = function() {
|
package/dist/form-layout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-layout.js","sources":["../src/components/form-layout/form-layout.vue","../src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../src/components/form-layout/components/form-layout-group/form-layout-group.vue","../src/components/form-layout/components/form-layout-title/form-layout-title.vue"],"sourcesContent":["<template>\n <component :is=\"formLayoutElement\" class=\"b-form-layout\" role=\"form\">\n <bento-alert v-if=\"hasSlot('error-message')\" class=\"b-form-layout__error-message\" type=\"critical\">\n <template #description>\n <slot name=\"error-message\" />\n </template>\n </bento-alert>\n\n <slot />\n\n <div v-if=\"hasActions\" class=\"b-form-layout__actions-container\">\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-left\" />\n </div>\n\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-right\" />\n </div>\n </div>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef, useSlots } from 'vue';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables';\n import { FORM_LAYOUT_LOADING_INJECTION_KEY } from './form-layout.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const props = defineProps({\n /**\n * Renders the form layout as an HTML `form`\n */\n form: { type: Boolean, default: false },\n\n /**\n * Sets the state of the form and its fields to\n * a read only status.\n */\n loading: { type: Boolean, default: false },\n });\n\n const formLayoutElement = computed(() => (props.form ? 'form' : 'div'));\n const hasActions = computed(() => hasSlot('actions-left') || hasSlot('actions-right'));\n\n provide(FORM_LAYOUT_LOADING_INJECTION_KEY, toRef(props, 'loading'));\n</script>\n\n<script lang=\"ts\">\n /**\n * Form layout component is a pre-designed layout that serves\n * as a starting point for creating a form.\n *\n * It can include various common form components:\n * input field, dropdown, date picker, checkbox group, radio group,\n * textarea, etc.\n *\n * Form layout is context agnostic and can be dropped in different\n * places, for example in modals, side panels or pages.\n *\n * @example\n * import { BentoFormLayout, BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayout, BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout>\n * <template #error-message>There is an error. Correct the highlighted field.</template>\n *\n * <bento-input-field>Input field</bento-input-field>\n *\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n *\n * <bento-form-layout-title subsection>\n * Section title\n * <template #description>Optional section description</template>\n * </bento-form-layout-title>\n * </bento-form-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout.scss\" />\n","import { BentoAlertTypeOption } from '@/components/alert/alert.types';\n\nexport type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;\nexport const BentoFormLayoutFieldTipTypeOptions = ['warning', 'critical', 'highlight', 'success'];\n","<template>\n <div class=\"b-form-layout-field-tip\">\n <slot />\n <bento-alert variant=\"tip\" :type=\"type\">\n <template #description>\n <slot name=\"message\" />\n </template>\n </bento-alert>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType } from 'vue';\n import { BentoFormLayoutFieldTipTypeOption, BentoFormLayoutFieldTipTypeOptions } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\n\n defineProps({\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values highlight, success, critical, warning\n */\n type: {\n type: String as PropType<BentoFormLayoutFieldTipTypeOption>,\n default: 'highlight',\n validator: (value: BentoFormLayoutFieldTipTypeOption) => BentoFormLayoutFieldTipTypeOptions.includes(value),\n },\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * You can help users provide accurate and well formatted information\n * by using various elements that come with an input field.\n *\n * Use description/supporting text to add additional context to the\n * field or guidance how to format the input correctly.\n * Because description is always visible it should be the first\n * choice in providing guidance.\n *\n * @example\n * import { BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n *\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n * `\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-field-tip.scss\" />\n","export type BentoLayoutGroupProportions =\n | '33-33-33'\n | '50-50'\n | '25-75'\n | '75-25'\n | '33-66'\n | '66-33'\n | '25'\n | '33'\n | '50'\n | '100';\n\nexport const BentoLayoutGroupProportions = [\n '100',\n '50',\n '33',\n '25',\n '66-33',\n '33-66',\n '75-25',\n '25-75',\n '50-50',\n '33-33-33',\n];\n","<template>\n <div class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType } from 'vue';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\n\n // Default proportion\n const DEFAULT_PROPORTION = 100;\n\n const props = defineProps({\n /**\n * The layout of the pair group of components.\n * This will render the components within the width of the proportions.\n * Only two colums are available.\n *\n * If only one value is entered, then it will assume there's only one child in the group.\n * If two values are entered, the first value will be use for the first child and the second\n * value for the second child.\n *\n * If the value entered is not listed in the example\n * list below it will use 100% by default.\n * @example\n * '33-33-33'\n * '50-50'\n * '25-75'\n * '75-25'\n * '33-66'\n * '66-33'\n * '25'\n * '33'\n * '50'\n * '100'\n */\n layout: {\n type: String as PropType<BentoLayoutGroupProportions>,\n default: '100',\n validator: (value: BentoLayoutGroupProportions) => BentoLayoutGroupProportions.includes(value),\n },\n });\n\n // Sets DEFAULT_PROPORTION by default if `layout` is not in the list\n const computedLayout = computed(() =>\n BentoLayoutGroupProportions.includes(props.layout) ? props.layout : DEFAULT_PROPORTION\n );\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsupported\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\n // Assings the correct layout class\n [`b-form-layout-group--${computedLayout.value}`]: true,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Use to provide horizontal layouts to build forms\n * with two fields per line.\n *\n * These can be used for field combinations,\n * such as post code and city or title and first name.\n *\n * @example\n * import { BentoFormLayoutGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutGroup },\n * template: `\n * <bento-form-layout-group>\n * <first-element />\n * <second-element />\n * </bento-form-layout-group>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-group.scss\" />\n","<template>\n <div class=\"b-form-layout-title\" :class=\"conditionalClasses\">\n <bento-typography :el=\"el\" variant=\"title\" :medium=\"isSection\">\n <slot />\n </bento-typography>\n\n <bento-typography v-if=\"hasSlot('description')\" class=\"b-form-layout-title__description\" el=\"span\" wide>\n <slot name=\"description\" />\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoTypography, BentoTypographyElement } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Defines if the Form Layout title is\n * a \"section\" or a \"subsection\".\n * Default is \"section\" (false). Turn into \"true\" for \"subsection\"\n */\n subsection: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el: {\n type: BentoTypography.props.el.type,\n required: true,\n validator: (value: BentoTypographyElement) => Object.values(BentoTypographyElement).includes(value),\n },\n });\n\n // Uses \"medium\" typography if it is a section title\n const isSection = computed(() => !props.subsection);\n const hasSlot = useHasSlot(slots);\n const conditionalClasses = computed(() => ({\n 'b-form-layout-title--subsection': props.subsection,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * If you’re building a lengthy form, organise related\n * fields into sections and, if needed, subsections.\n *\n * A form can have a \"Section Title\" and multiple \"Subsection titles\".\n *\n * One of the values provided in @see BentoTypographyElement must always be provided as a string\n * to define correct HTML sementic from the application's context\n *\n * @example\n * import { BentoFormLayoutTitle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutTitle },\n * template: `\n * <bento-form-layout-title subsection el=\"h2\">\n * Title\n * <template #description>Description text</template>\n * </bento-form-layout-title>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-title.scss\" />\n"],"names":["__default__$3","slots","useSlots","hasSlot","useHasSlot","formLayoutElement","computed","props","hasActions","provide","FORM_LAYOUT_LOADING_INJECTION_KEY","toRef","BentoFormLayoutFieldTipTypeOptions","__default__$2","BentoLayoutGroupProportions","__default__$1","DEFAULT_PROPORTION","computedLayout","conditionalClasses","__default__","isSection"],"mappings":";;;;;;;AAsFI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;iBA1DAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAeAI,IAAAC,EAAA,MAAAC,EAAA,OAAA,SAAA,KAAA,GACAC,IAAAF,EAAA,MAAAH,EAAA,cAAA,KAAAA,EAAA,eAAA,CAAA;AAEA,WAAAM,EAAAC,GAAAC,EAAAJ,GAAA,SAAA,CAAA;;;;;;;;;;;;;;;;;;qBC5CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,GCiDHC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBCxCGC,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCuDIC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAnEAC,IAAA,KAkCAC,IAAAX;AAAA,MAAuB,MAAAQ,EAAA,SAAAP,EAAA,MAAA,IAAAA,EAAA,SAAAS;AAAA,IACiD,GAGxEE,IAAAZ,EAAA,OAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAQ,EAAA,SAAAP,EAAA,MAAA;AAAA;AAAA,MAE0C,CAAA,wBAAAU,EAAA,OAAA,GAAA;AAAA,IAE/B,EAAA;;;;;;;;;;;;;;;;;qBCmBtDE,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;iBAvDAlB,IAAAC,EAAA,GAyBAkB,IAAAd,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiB,IAAAZ,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"form-layout.js","sources":["../src/components/form-layout/form-layout.vue","../src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../src/components/form-layout/components/form-layout-group/form-layout-group.vue","../src/components/form-layout/components/form-layout-title/form-layout-title.vue"],"sourcesContent":["<template>\n <component :is=\"formLayoutElement\" class=\"b-form-layout\" role=\"form\">\n <bento-alert v-if=\"hasSlot('error-message')\" class=\"b-form-layout__error-message\" type=\"critical\">\n <template #description>\n <slot name=\"error-message\" />\n </template>\n </bento-alert>\n\n <slot />\n\n <div v-if=\"hasActions\" class=\"b-form-layout__actions-container\">\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-left\" />\n </div>\n\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-right\" />\n </div>\n </div>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef, useSlots } from 'vue';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables';\n import { FORM_LAYOUT_LOADING_INJECTION_KEY } from './form-layout.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const props = defineProps({\n /**\n * Renders the form layout as an HTML `form`\n */\n form: { type: Boolean, default: false },\n\n /**\n * Sets the state of the form and its fields to\n * a read only status.\n */\n loading: { type: Boolean, default: false },\n });\n\n const formLayoutElement = computed(() => (props.form ? 'form' : 'div'));\n const hasActions = computed(() => hasSlot('actions-left') || hasSlot('actions-right'));\n\n provide(FORM_LAYOUT_LOADING_INJECTION_KEY, toRef(props, 'loading'));\n</script>\n\n<script lang=\"ts\">\n /**\n * Form layout component is a pre-designed layout that serves\n * as a starting point for creating a form.\n *\n * It can include various common form components:\n * input field, dropdown, date picker, checkbox group, radio group,\n * textarea, etc.\n *\n * Form layout is context agnostic and can be dropped in different\n * places, for example in modals, side panels or pages.\n *\n * @example\n * import { BentoFormLayout, BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayout, BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout>\n * <template #error-message>There is an error. Correct the highlighted field.</template>\n *\n * <bento-input-field>Input field</bento-input-field>\n *\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n *\n * <bento-form-layout-title subsection>\n * Section title\n * <template #description>Optional section description</template>\n * </bento-form-layout-title>\n * </bento-form-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout.scss\" />\n","import { BentoAlertTypeOption } from '@/components/alert/alert.types';\n\nexport type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;\nexport const BentoFormLayoutFieldTipTypeOptions = ['warning', 'critical', 'highlight', 'success'];\n","<template>\n <div class=\"b-form-layout-field-tip\">\n <slot />\n <bento-alert v-if=\"hasSlot('message')\" variant=\"tip\" :type=\"type\">\n <template #description>\n <slot name=\"message\" />\n </template>\n </bento-alert>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType, useSlots } from 'vue';\n import { BentoFormLayoutFieldTipTypeOption, BentoFormLayoutFieldTipTypeOptions } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n\n defineProps({\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values highlight, success, critical, warning\n */\n type: {\n type: String as PropType<BentoFormLayoutFieldTipTypeOption>,\n default: 'highlight',\n validator: (value: BentoFormLayoutFieldTipTypeOption) => BentoFormLayoutFieldTipTypeOptions.includes(value),\n },\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * You can help users provide accurate and well formatted information\n * by using various elements that come with an input field.\n *\n * Use description/supporting text to add additional context to the\n * field or guidance how to format the input correctly.\n * Because description is always visible it should be the first\n * choice in providing guidance.\n *\n * @example\n * import { BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n *\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n * `\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-field-tip.scss\" />\n","export type BentoLayoutGroupProportions =\n | '33-33-33'\n | '50-50'\n | '25-75'\n | '75-25'\n | '33-66'\n | '66-33'\n | '25'\n | '33'\n | '50'\n | '100';\n\nexport const BentoLayoutGroupProportions = [\n '100',\n '50',\n '33',\n '25',\n '66-33',\n '33-66',\n '75-25',\n '25-75',\n '50-50',\n '33-33-33',\n];\n","<template>\n <div class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType } from 'vue';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\n\n // Default proportion\n const DEFAULT_PROPORTION = 100;\n\n const props = defineProps({\n /**\n * The layout of the pair group of components.\n * This will render the components within the width of the proportions.\n * Only two colums are available.\n *\n * If only one value is entered, then it will assume there's only one child in the group.\n * If two values are entered, the first value will be use for the first child and the second\n * value for the second child.\n *\n * If the value entered is not listed in the example\n * list below it will use 100% by default.\n * @example\n * '33-33-33'\n * '50-50'\n * '25-75'\n * '75-25'\n * '33-66'\n * '66-33'\n * '25'\n * '33'\n * '50'\n * '100'\n */\n layout: {\n type: String as PropType<BentoLayoutGroupProportions>,\n default: '100',\n validator: (value: BentoLayoutGroupProportions) => BentoLayoutGroupProportions.includes(value),\n },\n });\n\n // Sets DEFAULT_PROPORTION by default if `layout` is not in the list\n const computedLayout = computed(() =>\n BentoLayoutGroupProportions.includes(props.layout) ? props.layout : DEFAULT_PROPORTION\n );\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsupported\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\n // Assings the correct layout class\n [`b-form-layout-group--${computedLayout.value}`]: true,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Use to provide horizontal layouts to build forms\n * with two fields per line.\n *\n * These can be used for field combinations,\n * such as post code and city or title and first name.\n *\n * @example\n * import { BentoFormLayoutGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutGroup },\n * template: `\n * <bento-form-layout-group>\n * <first-element />\n * <second-element />\n * </bento-form-layout-group>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-group.scss\" />\n","<template>\n <div class=\"b-form-layout-title\" :class=\"conditionalClasses\">\n <bento-typography :el=\"el\" variant=\"title\" :medium=\"isSection\">\n <slot />\n </bento-typography>\n\n <bento-typography v-if=\"hasSlot('description')\" class=\"b-form-layout-title__description\" el=\"span\" wide>\n <slot name=\"description\" />\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoTypography, BentoTypographyElement } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Defines if the Form Layout title is\n * a \"section\" or a \"subsection\".\n * Default is \"section\" (false). Turn into \"true\" for \"subsection\"\n */\n subsection: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el: {\n type: BentoTypography.props.el.type,\n required: true,\n validator: (value: BentoTypographyElement) => Object.values(BentoTypographyElement).includes(value),\n },\n });\n\n // Uses \"medium\" typography if it is a section title\n const isSection = computed(() => !props.subsection);\n const hasSlot = useHasSlot(slots);\n const conditionalClasses = computed(() => ({\n 'b-form-layout-title--subsection': props.subsection,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * If you’re building a lengthy form, organise related\n * fields into sections and, if needed, subsections.\n *\n * A form can have a \"Section Title\" and multiple \"Subsection titles\".\n *\n * One of the values provided in @see BentoTypographyElement must always be provided as a string\n * to define correct HTML sementic from the application's context\n *\n * @example\n * import { BentoFormLayoutTitle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutTitle },\n * template: `\n * <bento-form-layout-title subsection el=\"h2\">\n * Title\n * <template #description>Description text</template>\n * </bento-form-layout-title>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-title.scss\" />\n"],"names":["__default__$3","slots","useSlots","hasSlot","useHasSlot","formLayoutElement","computed","props","hasActions","provide","FORM_LAYOUT_LOADING_INJECTION_KEY","toRef","BentoFormLayoutFieldTipTypeOptions","__default__$2","BentoLayoutGroupProportions","__default__$1","DEFAULT_PROPORTION","computedLayout","conditionalClasses","__default__","isSection"],"mappings":";;;;;;;AAsFI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;iBA1DAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAeAI,IAAAC,EAAA,MAAAC,EAAA,OAAA,SAAA,KAAA,GACAC,IAAAF,EAAA,MAAAH,EAAA,cAAA,KAAAA,EAAA,eAAA,CAAA;AAEA,WAAAM,EAAAC,GAAAC,EAAAJ,GAAA,SAAA,CAAA;;;;;;;;;;;;;;;;;;qBC5CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,GCqDHC,IAAA,CAAA;;;;;;;;;;;;;;;AA3BA,UAAAZ,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;;;qBClBGa,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCuDIC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAnEAC,IAAA,KAkCAC,IAAAX;AAAA,MAAuB,MAAAQ,EAAA,SAAAP,EAAA,MAAA,IAAAA,EAAA,SAAAS;AAAA,IACiD,GAGxEE,IAAAZ,EAAA,OAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAQ,EAAA,SAAAP,EAAA,MAAA;AAAA;AAAA,MAE0C,CAAA,wBAAAU,EAAA,OAAA,GAAA;AAAA,IAE/B,EAAA;;;;;;;;;;;;;;;;;qBCmBtDE,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;iBAvDAlB,IAAAC,EAAA,GAyBAkB,IAAAd,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiB,IAAAZ,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;;;"}
|
package/dist/header.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as E, ref as h, computed as T } from "vue";
|
|
2
2
|
import { u as U } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
3
|
-
import { B as C, c as D, a as L } from "./chunks/index.
|
|
3
|
+
import { B as C, c as D, a as L } from "./chunks/index.dd30e538.js";
|
|
4
4
|
import { u as N } from "./chunks/i18n.eb5b985b.js";
|
|
5
|
-
import { B as X } from "./chunks/button-actions-with-menu.
|
|
5
|
+
import { B as X } from "./chunks/button-actions-with-menu.e845d77a.js";
|
|
6
6
|
import { c as I, a as F } from "./chunks/index.86453263.js";
|
|
7
7
|
import { r as m, t as l, e as O, g as P, d as Y, f as B } from "./chunks/index.f55fdc32.js";
|
|
8
8
|
import { e as G } from "./chunks/index.fdf12170.js";
|
|
9
9
|
import { e as H } from "./chunks/index.d80206ed.js";
|
|
10
|
-
import { a as g } from "./chunks/index.
|
|
10
|
+
import { a as g } from "./chunks/index.15b088b9.js";
|
|
11
11
|
import { g as W } from "./chunks/unique-id.a2a2b458.js";
|
|
12
12
|
import { I as $ } from "./chunks/info.8b6328aa.js";
|
|
13
13
|
import { n as A } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
14
|
-
import "./assets/
|
|
14
|
+
import "./assets/index21.css";
|
|
15
15
|
function z(o, e) {
|
|
16
16
|
m(2, arguments);
|
|
17
17
|
var n = l(o), t = l(e), c = n.getFullYear() - t.getFullYear(), a = n.getMonth() - t.getMonth();
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "./chunks/index.4c062058.js";
|
|
2
|
-
import { t as f, c } from "./chunks/use-bento-toast-controller.
|
|
3
|
-
import { u as P } from "./chunks/use-bento-toast-controller.
|
|
2
|
+
import { t as f, c } from "./chunks/use-bento-toast-controller.c3277f73.js";
|
|
3
|
+
import { u as P } from "./chunks/use-bento-toast-controller.c3277f73.js";
|
|
4
4
|
import { BentoAccordion as k, BentoAccordionItem as w } from "./accordion.js";
|
|
5
5
|
import { BentoActionBar as M } from "./action-bar.js";
|
|
6
6
|
import { BentoAlert as O, BentoAlertEvent as R, BentoAlertTypeOption as z, BentoAlertVariant as j } from "./alert.js";
|
|
7
|
-
import { a as K, b as U, B as Z } from "./chunks/button.
|
|
7
|
+
import { a as K, b as U, B as Z } from "./chunks/button.9d6435ae.js";
|
|
8
8
|
import { BentoColumnOverflow as Y, BentoDataGrid as H, BentoDatagridAriaSortValue as _, BentoDatagridEvent as q, BentoDatagridSortDirection as J, BentoDatagridStyleState as Q } from "./data-grid.js";
|
|
9
9
|
import { BentoCard as $, BentoCardBackground as ee, BentoCardTitleSize as te } from "./card.js";
|
|
10
10
|
import { BentoDatePicker as ne, BentoDatePickerEvent as re } from "./date-picker.js";
|
|
11
|
-
import { B as Be, a as ie } from "./chunks/index.
|
|
12
|
-
import { B as se, a as pe, u as ue } from "./chunks/dropdown.
|
|
13
|
-
import { B as de, a as fe } from "./chunks/checkbox.
|
|
11
|
+
import { B as Be, a as ie } from "./chunks/index.8b8c3b16.js";
|
|
12
|
+
import { B as se, a as pe, u as ue } from "./chunks/dropdown.10c034aa.js";
|
|
13
|
+
import { B as de, a as fe } from "./chunks/checkbox.bfed007c.js";
|
|
14
14
|
import { BentoClickOutside as xe } from "./click-outside.js";
|
|
15
15
|
import { BentoCodeSnippet as ge, BentoCodeSnippetEvent as Se, BentoCodeSnippetSupportedLanguage as Ce, BentoCodeSnippetVariant as Te } from "./code-snippet.js";
|
|
16
16
|
import { BentoCountry as De } from "./country.js";
|
|
17
17
|
import { c as he, B as Ee, a as Ie, u as Fe, b as Le } from "./chunks/country.types.002caff2.js";
|
|
18
18
|
import { BentoCurrency as Ve, BentoCurrencyISOCode as ke } from "./currency.js";
|
|
19
|
-
import { B as Ge, a as Me } from "./chunks/index.
|
|
20
|
-
import { B as Oe } from "./chunks/index.
|
|
19
|
+
import { B as Ge, a as Me } from "./chunks/index.b21197ca.js";
|
|
20
|
+
import { B as Oe } from "./chunks/index.885d05a9.js";
|
|
21
21
|
import { BentoEmptyState as ze, BentoEmptyStateImage as je, BentoEmptyStateImageVariant as Ne, BentoEmptyStateVariant as Ke } from "./empty-state.js";
|
|
22
22
|
import { BentoFilterBar as Ze, BentoFilterBarEvent as We, BentoFilterEvent as Ye, BentoFilterItemType as He } from "./filter-bar.js";
|
|
23
23
|
import { BentoFormLayout as qe, BentoFormLayoutFieldTip as Je, BentoFormLayoutGroup as Qe, BentoFormLayoutTitle as Xe } from "./form-layout.js";
|
|
@@ -25,16 +25,16 @@ import { BentoImage as et, BentoImageAspectRatio as tt, BentoImageObjectFit as o
|
|
|
25
25
|
import { BentoInfoIcon as rt } from "./info-icon.js";
|
|
26
26
|
import { BentoInputField as Bt, BentoInputFieldElementPosition as it, BentoInputFieldEvent as mt, BentoInputFieldStateClass as st, BentoInputFieldType as pt, BentoInputFieldVariant as ut } from "./input-field.js";
|
|
27
27
|
import { BentoLoadingIndicator as dt, BentoLoadingIndicatorEvent as ft } from "./loading-indicator.js";
|
|
28
|
-
import { B as xt, a as yt } from "./chunks/index.
|
|
29
|
-
import { B as St, a as Ct } from "./chunks/index.
|
|
30
|
-
import { d as vt, f as Dt, g as bt, B as ht, e as Et, c as It, a as Ft, b as Lt } from "./chunks/base-modal.
|
|
28
|
+
import { B as xt, a as yt } from "./chunks/index.317fca12.js";
|
|
29
|
+
import { B as St, a as Ct } from "./chunks/index.1ea85d4a.js";
|
|
30
|
+
import { d as vt, f as Dt, g as bt, B as ht, e as Et, c as It, a as Ft, b as Lt } from "./chunks/base-modal.1fff7abe.js";
|
|
31
31
|
import { BentoModal as Vt } from "./modal.js";
|
|
32
32
|
import { BentoModalFullscreen as wt, BentoModalFullscreenPage as Gt } from "./modal-fullscreen.js";
|
|
33
33
|
import { BentoHeader as At } from "./header.js";
|
|
34
34
|
import { BentoPagination as Rt } from "./pagination.js";
|
|
35
|
-
import { B as jt } from "./chunks/payment-method.
|
|
35
|
+
import { B as jt } from "./chunks/payment-method.6c1ce07c.js";
|
|
36
36
|
import { BentoPaymentMethodType as Kt } from "./payment-method.js";
|
|
37
|
-
import { a as Zt, B as Wt } from "./chunks/index.
|
|
37
|
+
import { a as Zt, B as Wt } from "./chunks/index.15b088b9.js";
|
|
38
38
|
import { BentoRadioButton as Ht, BentoRadioGroup as _t, BentoRadioGroupVariant as qt } from "./radio-group.js";
|
|
39
39
|
import { BentoSearchBar as Qt, BentoSearchBarEvent as Xt, BentoSearchBarInternalEvent as $t } from "./search-bar.js";
|
|
40
40
|
import { BentoSecondaryNav as to } from "./secondary-nav.js";
|
|
@@ -43,7 +43,7 @@ import { BentoSegmentedControl as io, BentoSegmentedControlEvent as mo } from ".
|
|
|
43
43
|
import { BentoSidepanel as po, BentoSidepanelEvent as uo, BentoSidepanelPage as lo } from "./sidepanel.js";
|
|
44
44
|
import { BentoStatus as co, BentoStatusVariant as xo } from "./status.js";
|
|
45
45
|
import { BentoStep as go, BentoStepper as So, BentoStepperTypeOption as Co, BentoStepperVariantOption as To } from "./stepper.js";
|
|
46
|
-
import { B as Do, a as bo } from "./chunks/index.
|
|
46
|
+
import { B as Do, a as bo } from "./chunks/index.aaf965f8.js";
|
|
47
47
|
import { BentoSummaryGrid as Eo, BentoSummaryGridItemAmount as Io, BentoSummaryGridItemCustom as Fo, BentoSummaryGridItemNumeric as Lo, BentoSummaryGridItemPercentage as Po, BentoSummaryGridItemSize as Vo, BentoSummaryGridItemText as ko, BentoSummaryGridItemTrendDirection as wo } from "./summary-grid.js";
|
|
48
48
|
import { BentoTab as Mo, BentoTabs as Ao } from "./tabs.js";
|
|
49
49
|
import { BentoTag as Ro, BentoTagVariant as zo } from "./tag.js";
|
|
@@ -52,13 +52,13 @@ import { BentoTimeline as Uo, BentoTimelineGapUnit as Zo, BentoTimelineItem as W
|
|
|
52
52
|
import { BentoToast as Jo } from "./toast.js";
|
|
53
53
|
import { BentoToggle as Xo, BentoToggleLabelPosition as $o, BentoTogglePropClass as en } from "./toggle.js";
|
|
54
54
|
import { BentoTutorial as on } from "./tutorial.js";
|
|
55
|
-
import { B as rn, c as an, b as Bn, a as mn } from "./chunks/index.
|
|
55
|
+
import { B as rn, c as an, b as Bn, a as mn } from "./chunks/index.dd30e538.js";
|
|
56
56
|
import { BentoDataGridTemplate as pn } from "./data-grid-template.js";
|
|
57
|
-
import { B as ln, c as dn, a as fn, b as cn } from "./chunks/button-actions.
|
|
58
|
-
import { B as yn, a as gn } from "./chunks/loading-button.
|
|
57
|
+
import { B as ln, c as dn, a as fn, b as cn } from "./chunks/button-actions.81db18e8.js";
|
|
58
|
+
import { B as yn, a as gn } from "./chunks/loading-button.eafc9e1b.js";
|
|
59
59
|
import { BentoToggleButton as Cn } from "./button.js";
|
|
60
|
-
import { b as vn, b as Dn } from "./chunks/calendar.
|
|
61
|
-
import { c as hn, b as En, c as In, b as Fn } from "./chunks/use-cached-selected-values.
|
|
60
|
+
import { b as vn, b as Dn } from "./chunks/calendar.640b8d25.js";
|
|
61
|
+
import { c as hn, b as En, c as In, b as Fn } from "./chunks/use-cached-selected-values.69297473.js";
|
|
62
62
|
import { BentoDropdownAvatar as Pn, BentoDropdownCountry as Vn, BentoDropdownCurrency as kn, BentoDropdownPaymentMethod as wn, BentoDropdownTag as Gn } from "./dropdown.js";
|
|
63
63
|
import { C as An } from "./chunks/checkbox-input.1c3cc8ed.js";
|
|
64
64
|
import { BentoCheckboxGroup as Rn, BentoCheckboxGroupVariant as zn } from "./checkbox.js";
|
|
@@ -68,8 +68,8 @@ import * as n from "zod";
|
|
|
68
68
|
import { u as Un } from "./chunks/use-click-outside.941d1600.js";
|
|
69
69
|
import { D as Wn } from "./chunks/date-input.9186a0bf.js";
|
|
70
70
|
import { a as Hn, B as _n } from "./chunks/keyboard-navigation.ca47dfa8.js";
|
|
71
|
-
import { B as Jn } from "./chunks/dropdown-default-textbox.
|
|
72
|
-
import { b as Xn, B as $n, a as er } from "./chunks/tooltip.
|
|
71
|
+
import { B as Jn } from "./chunks/dropdown-default-textbox.54ca1b18.js";
|
|
72
|
+
import { b as Xn, B as $n, a as er } from "./chunks/tooltip.58ef3f4a.js";
|
|
73
73
|
function h(e) {
|
|
74
74
|
return e;
|
|
75
75
|
}
|
package/dist/info-icon.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as n } from "vue";
|
|
2
|
-
import { c as i } from "./chunks/index.
|
|
2
|
+
import { c as i } from "./chunks/index.671768a1.js";
|
|
3
3
|
import { I as r } from "./chunks/info.8b6328aa.js";
|
|
4
|
-
import { b as s } from "./chunks/tooltip.
|
|
4
|
+
import { b as s } from "./chunks/tooltip.58ef3f4a.js";
|
|
5
5
|
import { n as a } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
6
|
-
import "./assets/
|
|
6
|
+
import "./assets/index27.css";
|
|
7
7
|
const p = n({
|
|
8
8
|
name: "bento-info-icon",
|
|
9
9
|
components: { InfoIcon: r },
|
package/dist/input-field.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as W, useAttrs as Y, useSlots as j, ref as O, provide as q, toRef as K, computed as i, toRefs as X } from "vue";
|
|
2
|
-
import { I as z, B as G } from "./chunks/dropdown.
|
|
3
|
-
import { p as I, d as R, B as J } from "./chunks/index.
|
|
2
|
+
import { I as z, B as G } from "./chunks/dropdown.10c034aa.js";
|
|
3
|
+
import { p as I, d as R, B as J } from "./chunks/index.dd30e538.js";
|
|
4
4
|
import { g as u } from "./chunks/unique-id.a2a2b458.js";
|
|
5
5
|
import { g as Q } from "./chunks/get-slot-text.99c3d860.js";
|
|
6
6
|
import { u as Z } from "./chunks/aria-label.ac9651a5.js";
|
|
7
7
|
import { u as ee } from "./chunks/i18n.eb5b985b.js";
|
|
8
8
|
import { u as te } from "./chunks/use-form-layout-loading.d03e5d48.js";
|
|
9
9
|
import { u as ae } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
10
|
-
import { E as oe, F as re } from "./chunks/error-message.
|
|
10
|
+
import { E as oe, F as re } from "./chunks/error-message.31ec12b7.js";
|
|
11
11
|
import { n as ie } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
12
|
-
import "./assets/
|
|
12
|
+
import "./assets/index25.css";
|
|
13
13
|
var d = /* @__PURE__ */ ((a) => (a.DEFAULT = "default", a.PAYMENT_METHOD = "payment-method", a.STATIC_VALUE = "static-value", a.DROPDOWN = "dropdown", a))(d || {}), n = /* @__PURE__ */ ((a) => (a.START = "start", a.END = "end", a))(n || {}), p = /* @__PURE__ */ ((a) => (a.CONDENSED = "condensed", a.DISABLED = "disabled", a.READONLY = "readonly", a.ERROR = "error", a))(p || {}), v = /* @__PURE__ */ ((a) => (a.SEARCH = "search", a.TEXT = "text", a.NUMBER = "number", a))(v || {}), ne = /* @__PURE__ */ ((a) => (a.INPUT = "input", a.ESCAPE_PRESSED = "escape-pressed", a.UPDATE_DROPDOWN = "update:dropdown", a.DROPDOWN_INPUT = "dropdown-input", a.FOCUS = "focus", a.CHANGE = "change", a.BLUR = "blur", a.KEYDOWN = "keydown", a))(ne || {});
|
|
14
14
|
const de = {
|
|
15
15
|
"en-US": {
|
package/dist/internal.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { B as o, L as r } from "./chunks/listbox-option-tag.
|
|
2
|
-
import { C as s, a as p, b as l } from "./chunks/calendar.
|
|
3
|
-
import { C as n, a as C } from "./chunks/copy.
|
|
4
|
-
import { C as m } from "./chunks/controls-group.
|
|
5
|
-
import { B as f, b as G, a as d, D as I } from "./chunks/dialog-page.
|
|
6
|
-
import { E as _, F as u } from "./chunks/error-message.
|
|
7
|
-
import { F as A } from "./chunks/fixed-scroller.
|
|
1
|
+
import { B as o, L as r } from "./chunks/listbox-option-tag.6bbb6bbe.js";
|
|
2
|
+
import { C as s, a as p, b as l } from "./chunks/calendar.640b8d25.js";
|
|
3
|
+
import { C as n, a as C } from "./chunks/copy.f85700c6.js";
|
|
4
|
+
import { C as m } from "./chunks/controls-group.4fb50009.js";
|
|
5
|
+
import { B as f, b as G, a as d, D as I } from "./chunks/dialog-page.73da22cf.js";
|
|
6
|
+
import { E as _, F as u } from "./chunks/error-message.31ec12b7.js";
|
|
7
|
+
import { F as A } from "./chunks/fixed-scroller.4eb9a9ac.js";
|
|
8
8
|
import { G as T, a as g } from "./chunks/grid-layout.e0025286.js";
|
|
9
|
-
import { B as D, a as F, u as b } from "./chunks/use-cached-selected-values.
|
|
9
|
+
import { B as D, a as F, u as b } from "./chunks/use-cached-selected-values.69297473.js";
|
|
10
10
|
import { B as P } from "./chunks/teleport.84b0f20b.js";
|
|
11
11
|
export {
|
|
12
12
|
o as BentoAvatar,
|
package/dist/link.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, onMounted as s, onUnmounted as l, computed as i } from "vue";
|
|
2
2
|
import { n as r } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
3
|
-
import "./assets/
|
|
3
|
+
import "./assets/index23.css";
|
|
4
4
|
var a = /* @__PURE__ */ ((n) => (n.START = "loading-start", n.END = "loading-end", n))(a || {});
|
|
5
5
|
const d = t({
|
|
6
6
|
name: "bento-loading-indicator",
|
package/dist/menu.js
CHANGED
package/dist/modal-fullscreen.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as C, useSlots as B, onMounted as L, toRefs as O, ref as r, computed as M, watch as k, nextTick as T, provide as d } from "vue";
|
|
2
|
-
import { a as D } from "./chunks/button.
|
|
3
|
-
import { B as N } from "./chunks/index.
|
|
4
|
-
import { B as w } from "./chunks/index.
|
|
2
|
+
import { a as D } from "./chunks/button.9d6435ae.js";
|
|
3
|
+
import { B as N } from "./chunks/index.d553d3d1.js";
|
|
4
|
+
import { B as w } from "./chunks/index.dd30e538.js";
|
|
5
5
|
import { u as x } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
6
|
-
import { D as G, B as R, b as J, a as K } from "./chunks/dialog-page.
|
|
7
|
-
import { B as U } from "./chunks/button-actions.
|
|
6
|
+
import { D as G, B as R, b as J, a as K } from "./chunks/dialog-page.73da22cf.js";
|
|
7
|
+
import { B as U } from "./chunks/button-actions.81db18e8.js";
|
|
8
8
|
import { n as P } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
9
9
|
import { C as Y } from "./chunks/cross.04678d81.js";
|
|
10
10
|
import { u as $ } from "./chunks/i18n.eb5b985b.js";
|
|
11
11
|
import { g as z } from "./chunks/unique-id.a2a2b458.js";
|
|
12
12
|
import { M as H } from "./chunks/modal-fullscreen.keys.b9f31632.js";
|
|
13
|
-
import "./assets/
|
|
13
|
+
import "./assets/index22.css";
|
|
14
14
|
const V = {}, j = /* @__PURE__ */ C({
|
|
15
15
|
...V,
|
|
16
16
|
__name: "modal-fullscreen-page",
|