@adyen/bento-vue2 1.26.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +4 -0
- package/dist/@types/index.d.ts +513 -136
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +61 -146
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index49.css +1 -0
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/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 +3 -3
- package/dist/checkbox.js +5 -5
- package/dist/chunks/{base-button.ad74b6f8.js → base-button.852204dc.js} +2 -2
- package/dist/chunks/{base-button.ad74b6f8.js.map → base-button.852204dc.js.map} +1 -1
- package/dist/chunks/{base-modal.1fff7abe.js → base-modal.4fb7528b.js} +6 -6
- package/dist/chunks/{base-modal.1fff7abe.js.map → base-modal.4fb7528b.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.e845d77a.js → button-actions-with-menu.bf968959.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.e845d77a.js.map → button-actions-with-menu.bf968959.js.map} +1 -1
- package/dist/chunks/{button-actions.81db18e8.js → button-actions.87e589e3.js} +31 -29
- package/dist/chunks/button-actions.87e589e3.js.map +1 -0
- package/dist/chunks/button.cb90b55c.js +101 -0
- package/dist/chunks/button.cb90b55c.js.map +1 -0
- package/dist/chunks/{calendar.640b8d25.js → calendar.f02e0a5a.js} +5 -5
- package/dist/chunks/{calendar.640b8d25.js.map → calendar.f02e0a5a.js.map} +1 -1
- package/dist/chunks/{checkbox.bfed007c.js → checkbox.9f9c978a.js} +3 -3
- package/dist/chunks/{checkbox.bfed007c.js.map → checkbox.9f9c978a.js.map} +1 -1
- package/dist/chunks/{controls-group.4fb50009.js → controls-group.121a307d.js} +3 -3
- package/dist/chunks/{controls-group.4fb50009.js.map → controls-group.121a307d.js.map} +1 -1
- package/dist/chunks/{copy.f85700c6.js → copy.6808b2dc.js} +4 -4
- package/dist/chunks/{copy.f85700c6.js.map → copy.6808b2dc.js.map} +1 -1
- package/dist/chunks/{dialog-page.73da22cf.js → dialog-page.7fd7d006.js} +3 -3
- package/dist/chunks/{dialog-page.73da22cf.js.map → dialog-page.7fd7d006.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.54ca1b18.js → dropdown-default-textbox.d0f17d96.js} +3 -3
- package/dist/chunks/{dropdown-default-textbox.54ca1b18.js.map → dropdown-default-textbox.d0f17d96.js.map} +1 -1
- package/dist/chunks/{dropdown.10c034aa.js → dropdown.a8037bca.js} +188 -197
- package/dist/chunks/dropdown.a8037bca.js.map +1 -0
- package/dist/chunks/{error-message.31ec12b7.js → error-message.bdcc1020.js} +2 -2
- package/dist/chunks/{error-message.31ec12b7.js.map → error-message.bdcc1020.js.map} +1 -1
- package/dist/chunks/{events.58c00e6d.js → events.f14a214b.js} +5 -5
- package/dist/chunks/events.f14a214b.js.map +1 -0
- package/dist/chunks/{fixed-scroller.4eb9a9ac.js → fixed-scroller.82ef6187.js} +2 -2
- package/dist/chunks/{fixed-scroller.4eb9a9ac.js.map → fixed-scroller.82ef6187.js.map} +1 -1
- package/dist/chunks/{footer-actions.a1e09b4f.js → footer-actions.58d14a16.js} +4 -4
- package/dist/chunks/{footer-actions.a1e09b4f.js.map → footer-actions.58d14a16.js.map} +1 -1
- package/dist/chunks/{index.15b088b9.js → index.0a30d358.js} +6 -6
- package/dist/chunks/{index.15b088b9.js.map → index.0a30d358.js.map} +1 -1
- package/dist/chunks/{index.d553d3d1.js → index.1deef79e.js} +2 -2
- package/dist/chunks/{index.d553d3d1.js.map → index.1deef79e.js.map} +1 -1
- package/dist/chunks/index.3c69be27.js +85 -0
- package/dist/chunks/index.3c69be27.js.map +1 -0
- package/dist/chunks/index.561786f6.js +126 -0
- package/dist/chunks/index.561786f6.js.map +1 -0
- package/dist/chunks/{index.b21197ca.js → index.614a5138.js} +2 -2
- package/dist/chunks/{index.b21197ca.js.map → index.614a5138.js.map} +1 -1
- package/dist/chunks/{index.8b8c3b16.js → index.854d6498.js} +9 -9
- package/dist/chunks/{index.8b8c3b16.js.map → index.854d6498.js.map} +1 -1
- package/dist/chunks/{index.885d05a9.js → index.939dd5cf.js} +2 -2
- package/dist/chunks/{index.885d05a9.js.map → index.939dd5cf.js.map} +1 -1
- package/dist/chunks/{index.1ea85d4a.js → index.a48e7f99.js} +6 -6
- package/dist/chunks/{index.1ea85d4a.js.map → index.a48e7f99.js.map} +1 -1
- package/dist/chunks/{index.317fca12.js → index.bd1d28d0.js} +3 -3
- package/dist/chunks/{index.317fca12.js.map → index.bd1d28d0.js.map} +1 -1
- package/dist/chunks/{index.671768a1.js → index.c8621e8e.js} +3 -3
- package/dist/chunks/{index.671768a1.js.map → index.c8621e8e.js.map} +1 -1
- package/dist/chunks/{index.7eefc59c.js → index.ccc7e8d7.js} +3 -3
- package/dist/chunks/{index.7eefc59c.js.map → index.ccc7e8d7.js.map} +1 -1
- package/dist/chunks/{index.dd30e538.js → index.e29a6907.js} +2 -2
- package/dist/chunks/{index.dd30e538.js.map → index.e29a6907.js.map} +1 -1
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.bbc3d15c.js} +2 -2
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.bbc3d15c.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.6bbb6bbe.js → listbox-option-tag.8708be60.js} +3 -3
- package/dist/chunks/{listbox-option-tag.6bbb6bbe.js.map → listbox-option-tag.8708be60.js.map} +1 -1
- package/dist/chunks/{loading-button.eafc9e1b.js → loading-button.692dbdc8.js} +2 -2
- package/dist/chunks/{loading-button.eafc9e1b.js.map → loading-button.692dbdc8.js.map} +1 -1
- package/dist/chunks/{payment-method.6c1ce07c.js → payment-method.c55dd352.js} +2 -2
- package/dist/chunks/{payment-method.6c1ce07c.js.map → payment-method.c55dd352.js.map} +1 -1
- package/dist/chunks/{tooltip.58ef3f4a.js → tooltip.efddb5f3.js} +4 -4
- package/dist/chunks/{tooltip.58ef3f4a.js.map → tooltip.efddb5f3.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.c3277f73.js → use-bento-toast-controller.5dac1f3c.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.c3277f73.js.map → use-bento-toast-controller.5dac1f3c.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.69297473.js → use-cached-selected-values.98a9ed01.js} +225 -206
- package/dist/chunks/use-cached-selected-values.98a9ed01.js.map +1 -0
- package/dist/code-snippet.js +131 -129
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +109 -0
- package/dist/dashboard-template.js.map +1 -0
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +78 -70
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +8 -8
- 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 +77 -75
- 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 +82 -79
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +4 -4
- package/dist/internal.js +8 -8
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +6 -6
- package/dist/modal.js +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 +40 -41
- package/dist/segmented-control.js.map +1 -1
- package/dist/selection-card.js +4 -4
- package/dist/sidepanel.js +6 -6
- package/dist/status.js +2 -2
- package/dist/stepper.js +4 -4
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +68 -67
- 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 +68 -53
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +133 -70
- package/package.json +9 -6
- package/dist/chunks/button-actions.81db18e8.js.map +0 -1
- package/dist/chunks/button.9d6435ae.js +0 -100
- package/dist/chunks/button.9d6435ae.js.map +0 -1
- package/dist/chunks/checkmark.a6ed8f47.js +0 -26
- package/dist/chunks/checkmark.a6ed8f47.js.map +0 -1
- package/dist/chunks/dropdown.10c034aa.js.map +0 -1
- package/dist/chunks/events.58c00e6d.js.map +0 -1
- package/dist/chunks/index.aaf965f8.js +0 -147
- package/dist/chunks/index.aaf965f8.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.69297473.js.map +0 -1
package/dist/focus-trap.js
CHANGED
package/dist/form-layout.js
CHANGED
|
@@ -3,8 +3,8 @@ import { BentoAlert as f } from "./alert.js";
|
|
|
3
3
|
import { F as y } from "./chunks/form-layout.types.a7a1438d.js";
|
|
4
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 p, c as v } from "./chunks/index.
|
|
7
|
-
import "./assets/
|
|
6
|
+
import { B as p, c as v } from "./chunks/index.e29a6907.js";
|
|
7
|
+
import "./assets/index19.css";
|
|
8
8
|
const g = {}, h = /* @__PURE__ */ a({
|
|
9
9
|
...g,
|
|
10
10
|
__name: "form-layout",
|
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.e29a6907.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.bf968959.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.0a30d358.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/index26.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.5dac1f3c.js";
|
|
3
|
+
import { u as P } from "./chunks/use-bento-toast-controller.5dac1f3c.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.cb90b55c.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.854d6498.js";
|
|
12
|
+
import { B as se, a as pe, u as ue } from "./chunks/dropdown.a8037bca.js";
|
|
13
|
+
import { B as de, a as fe } from "./chunks/checkbox.9f9c978a.js";
|
|
14
14
|
import { BentoClickOutside as xe } from "./click-outside.js";
|
|
15
|
-
import { BentoCodeSnippet as
|
|
15
|
+
import { BentoCodeSnippet as Se, BentoCodeSnippetEvent as ge, BentoCodeSnippetSupportedLanguage as Te, BentoCodeSnippetVariant as Ce } 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.614a5138.js";
|
|
20
|
+
import { B as Oe } from "./chunks/index.939dd5cf.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
|
|
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.bd1d28d0.js";
|
|
29
|
+
import { B as gt, a as Tt } from "./chunks/index.a48e7f99.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.4fb7528b.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.c55dd352.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.0a30d358.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";
|
|
@@ -42,8 +42,8 @@ import { BentoSelectionCard as no, BentoSelectionCardGroup as ro, BentoSelection
|
|
|
42
42
|
import { BentoSegmentedControl as io, BentoSegmentedControlEvent as mo } from "./segmented-control.js";
|
|
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
|
-
import { BentoStep as
|
|
46
|
-
import { B as Do, a as bo } from "./chunks/index.
|
|
45
|
+
import { BentoStep as So, BentoStepper as go, BentoStepperTypeOption as To, BentoStepperVariantOption as Co } from "./stepper.js";
|
|
46
|
+
import { B as Do, a as bo } from "./chunks/index.3c69be27.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,24 +52,25 @@ 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.
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import { B as
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
55
|
+
import { B as rn, c as an, b as Bn, a as mn } from "./chunks/index.e29a6907.js";
|
|
56
|
+
import { BentoDashboardSection as pn, BentoDashboardTemplate as un } from "./dashboard-template.js";
|
|
57
|
+
import { BentoDataGridTemplate as dn } from "./data-grid-template.js";
|
|
58
|
+
import { B as cn, c as xn, a as yn, b as Sn } from "./chunks/button-actions.87e589e3.js";
|
|
59
|
+
import { B as Tn, a as Cn } from "./chunks/loading-button.692dbdc8.js";
|
|
60
|
+
import { BentoToggleButton as Dn } from "./button.js";
|
|
61
|
+
import { b as hn, b as En } from "./chunks/calendar.f02e0a5a.js";
|
|
62
|
+
import { c as Fn, b as Ln, c as Pn, b as Vn } from "./chunks/use-cached-selected-values.98a9ed01.js";
|
|
63
|
+
import { BentoDropdownAvatar as wn, BentoDropdownCountry as Gn, BentoDropdownCurrency as Mn, BentoDropdownPaymentMethod as An, BentoDropdownTag as On } from "./dropdown.js";
|
|
64
|
+
import { C as zn } from "./chunks/checkbox-input.1c3cc8ed.js";
|
|
65
|
+
import { BentoCheckboxGroup as Nn, BentoCheckboxGroupVariant as Kn } from "./checkbox.js";
|
|
66
|
+
import { R as Zn } from "./chunks/radio-input.c6550a9c.js";
|
|
66
67
|
import { shallowRef as x, ref as p } from "vue";
|
|
67
68
|
import * as n from "zod";
|
|
68
|
-
import { u as
|
|
69
|
-
import { D as
|
|
70
|
-
import { a as
|
|
71
|
-
import { B as
|
|
72
|
-
import { b as
|
|
69
|
+
import { u as Yn } from "./chunks/use-click-outside.941d1600.js";
|
|
70
|
+
import { D as _n } from "./chunks/date-input.9186a0bf.js";
|
|
71
|
+
import { a as Jn, B as Qn } from "./chunks/keyboard-navigation.bbc3d15c.js";
|
|
72
|
+
import { B as $n } from "./chunks/dropdown-default-textbox.d0f17d96.js";
|
|
73
|
+
import { b as tr, B as or, a as nr } from "./chunks/tooltip.efddb5f3.js";
|
|
73
74
|
function h(e) {
|
|
74
75
|
return e;
|
|
75
76
|
}
|
|
@@ -105,15 +106,15 @@ function E({ validationSchema: e }) {
|
|
|
105
106
|
}
|
|
106
107
|
};
|
|
107
108
|
}
|
|
108
|
-
const
|
|
109
|
+
const S = (e) => {
|
|
109
110
|
e.prototype[f] = c();
|
|
110
111
|
};
|
|
111
|
-
var
|
|
112
|
+
var g = /* @__PURE__ */ ((e) => (e.LEGACY = "b-legacy-theme", e.STYLEGUIDE = "b-styleguide-theme", e.BENTO = "", e))(g || {});
|
|
112
113
|
const u = (e) => {
|
|
113
114
|
document.body.classList.add(e);
|
|
114
|
-
},
|
|
115
|
+
}, T = {
|
|
115
116
|
install: async (e, t) => {
|
|
116
|
-
t != null && t.withToast &&
|
|
117
|
+
t != null && t.withToast && S(e), (t == null ? void 0 : t.theme) === "b-legacy-theme" ? (u(
|
|
117
118
|
"b-legacy-theme"
|
|
118
119
|
/* LEGACY */
|
|
119
120
|
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css?used")) : (t == null ? void 0 : t.theme) === "b-styleguide-theme" ? (u(
|
|
@@ -121,7 +122,7 @@ const u = (e) => {
|
|
|
121
122
|
/* STYLEGUIDE */
|
|
122
123
|
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css?used")) : await import("@adyen/bento-design-tokens/dist/css/bento/variables.css?used"), t != null && t.withUtilityClasses && await import("@adyen/bento-design-tokens/dist/css/bento/utility.css?used");
|
|
123
124
|
}
|
|
124
|
-
}, I =
|
|
125
|
+
}, I = T;
|
|
125
126
|
export {
|
|
126
127
|
k as BentoAccordion,
|
|
127
128
|
w as BentoAccordionItem,
|
|
@@ -131,10 +132,10 @@ export {
|
|
|
131
132
|
z as BentoAlertTypeOption,
|
|
132
133
|
j as BentoAlertVariant,
|
|
133
134
|
K as BentoButton,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
cn as BentoButtonActions,
|
|
136
|
+
xn as BentoButtonActionsLayout,
|
|
137
|
+
yn as BentoButtonActionsLayoutBasic,
|
|
138
|
+
Sn as BentoButtonActionsLayoutExtended,
|
|
138
139
|
U as BentoButtonPropClass,
|
|
139
140
|
Z as BentoButtonVariant,
|
|
140
141
|
$ as BentoCard,
|
|
@@ -142,23 +143,25 @@ export {
|
|
|
142
143
|
te as BentoCardTitleSize,
|
|
143
144
|
de as BentoCheckbox,
|
|
144
145
|
fe as BentoCheckboxEvent,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
Nn as BentoCheckboxGroup,
|
|
147
|
+
Kn as BentoCheckboxGroupVariant,
|
|
148
|
+
zn as BentoCheckboxState,
|
|
148
149
|
xe as BentoClickOutside,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
150
|
+
$n as BentoClickOutsideDirective,
|
|
151
|
+
Se as BentoCodeSnippet,
|
|
152
|
+
ge as BentoCodeSnippetEvent,
|
|
153
|
+
Te as BentoCodeSnippetSupportedLanguage,
|
|
154
|
+
Ce as BentoCodeSnippetVariant,
|
|
154
155
|
Y as BentoColumnOverflow,
|
|
155
156
|
De as BentoCountry,
|
|
156
157
|
he as BentoCountryCode,
|
|
157
158
|
Ee as BentoCountryVariant,
|
|
158
159
|
Ve as BentoCurrency,
|
|
159
160
|
ke as BentoCurrencyISOCode,
|
|
161
|
+
pn as BentoDashboardSection,
|
|
162
|
+
un as BentoDashboardTemplate,
|
|
160
163
|
H as BentoDataGrid,
|
|
161
|
-
|
|
164
|
+
dn as BentoDataGridTemplate,
|
|
162
165
|
_ as BentoDatagridAriaSortValue,
|
|
163
166
|
q as BentoDatagridEvent,
|
|
164
167
|
J as BentoDatagridSortDirection,
|
|
@@ -167,20 +170,20 @@ export {
|
|
|
167
170
|
Me as BentoDateFormat,
|
|
168
171
|
ne as BentoDatePicker,
|
|
169
172
|
re as BentoDatePickerEvent,
|
|
170
|
-
|
|
173
|
+
hn as BentoDatePickerFirstDayOfWeek,
|
|
171
174
|
Be as BentoDateRangePicker,
|
|
172
175
|
ie as BentoDateRangePickerEvent,
|
|
173
|
-
|
|
176
|
+
En as BentoDateRangePickerFirstDayOfWeek,
|
|
174
177
|
Oe as BentoDivider,
|
|
175
178
|
se as BentoDropdown,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
wn as BentoDropdownAvatar,
|
|
180
|
+
Gn as BentoDropdownCountry,
|
|
181
|
+
Mn as BentoDropdownCurrency,
|
|
182
|
+
Fn as BentoDropdownEvent,
|
|
183
|
+
Ln as BentoDropdownLazyLoadType,
|
|
184
|
+
An as BentoDropdownPaymentMethod,
|
|
182
185
|
pe as BentoDropdownSize,
|
|
183
|
-
|
|
186
|
+
On as BentoDropdownTag,
|
|
184
187
|
ze as BentoEmptyState,
|
|
185
188
|
je as BentoEmptyStateImage,
|
|
186
189
|
Ne as BentoEmptyStateImageVariant,
|
|
@@ -204,18 +207,18 @@ export {
|
|
|
204
207
|
st as BentoInputFieldStateClass,
|
|
205
208
|
pt as BentoInputFieldType,
|
|
206
209
|
ut as BentoInputFieldVariant,
|
|
207
|
-
|
|
208
|
-
|
|
210
|
+
Jn as BentoKeyboardNavigationDirective,
|
|
211
|
+
Qn as BentoKeyboardNavigationKeyDownEvent,
|
|
209
212
|
xt as BentoLink,
|
|
210
213
|
yt as BentoLinkVariant,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
214
|
+
Pn as BentoListboxEvent,
|
|
215
|
+
Vn as BentoListboxLazyLoadType,
|
|
216
|
+
Tn as BentoLoadingButton,
|
|
217
|
+
Cn as BentoLoadingButtonState,
|
|
215
218
|
dt as BentoLoadingIndicator,
|
|
216
219
|
ft as BentoLoadingIndicatorEvent,
|
|
217
|
-
|
|
218
|
-
|
|
220
|
+
gt as BentoMenu,
|
|
221
|
+
Tt as BentoMenuEvent,
|
|
219
222
|
Vt as BentoModal,
|
|
220
223
|
vt as BentoModalColumnLayoutVariant,
|
|
221
224
|
Dt as BentoModalDialogType,
|
|
@@ -233,7 +236,7 @@ export {
|
|
|
233
236
|
Zt as BentoPopover,
|
|
234
237
|
Wt as BentoPopoverPositions,
|
|
235
238
|
Ht as BentoRadioButton,
|
|
236
|
-
|
|
239
|
+
Zn as BentoRadioButtonStateClass,
|
|
237
240
|
_t as BentoRadioGroup,
|
|
238
241
|
qt as BentoRadioGroupVariant,
|
|
239
242
|
Qt as BentoSearchBar,
|
|
@@ -250,10 +253,10 @@ export {
|
|
|
250
253
|
lo as BentoSidepanelPage,
|
|
251
254
|
co as BentoStatus,
|
|
252
255
|
xo as BentoStatusVariant,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
256
|
+
So as BentoStep,
|
|
257
|
+
go as BentoStepper,
|
|
258
|
+
To as BentoStepperTypeOption,
|
|
259
|
+
Co as BentoStepperVariantOption,
|
|
257
260
|
Do as BentoStructuredList,
|
|
258
261
|
bo as BentoStructuredListItem,
|
|
259
262
|
Eo as BentoSummaryGrid,
|
|
@@ -269,7 +272,7 @@ export {
|
|
|
269
272
|
Ro as BentoTag,
|
|
270
273
|
zo as BentoTagVariant,
|
|
271
274
|
No as BentoTextarea,
|
|
272
|
-
|
|
275
|
+
g as BentoTheme,
|
|
273
276
|
Uo as BentoTimeline,
|
|
274
277
|
Zo as BentoTimelineGapUnit,
|
|
275
278
|
Wo as BentoTimelineItem,
|
|
@@ -278,22 +281,22 @@ export {
|
|
|
278
281
|
_o as BentoTimelineStatus,
|
|
279
282
|
Jo as BentoToast,
|
|
280
283
|
Xo as BentoToggle,
|
|
281
|
-
|
|
284
|
+
Dn as BentoToggleButton,
|
|
282
285
|
$o as BentoToggleLabelPosition,
|
|
283
286
|
en as BentoTogglePropClass,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
+
tr as BentoTooltipDirective,
|
|
288
|
+
or as BentoTooltipPosition,
|
|
289
|
+
nr as BentoTooltipState,
|
|
287
290
|
on as BentoTutorial,
|
|
288
291
|
rn as BentoTypography,
|
|
289
292
|
an as BentoTypographyElement,
|
|
290
293
|
Bn as BentoTypographyModifier,
|
|
291
294
|
mn as BentoTypographyVariant,
|
|
292
|
-
|
|
295
|
+
_n as DateFormat,
|
|
293
296
|
I as default,
|
|
294
297
|
h as toTypedSchema,
|
|
295
298
|
P as useBentoToastController,
|
|
296
|
-
|
|
299
|
+
Yn as useClickOutside,
|
|
297
300
|
Ie as useCountryCapital,
|
|
298
301
|
Fe as useCountryName,
|
|
299
302
|
Le as useCountryPhoneCode,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/composables/use-form-validate/use-form.ts","../src/composables/use-bento-toast-controller/install.ts","../src/install.ts"],"sourcesContent":["import { Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { ErrorBag, UseForm } from './use-form.types';\n\n/**\n * Composable that tansforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @param {T extends ZodSchema} formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns {UseForm<T>} schema Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param {ZodSchema} schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n // eslint-disable-next-line no-underscore-dangle\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @param {UseForm<T>} props Form configuration object\n * @param {T extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns {Object} response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns {Ref<ErrorBag<T>>} response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns {Ref<T>} response.errors Object with all the form values and the first error found for that field (if any)\n * @returns {Ref<T>} response.values Object with all the form values and their current value\n * @returns {() => void} response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns {(callback: (values: T) => void) => () => void} response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({ validationSchema }: UseForm<T>) {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values = ref(getInitialFormValues(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first ocurrance of a fild error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","import type { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme: BentoTheme;\n withToast: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n install: async (Vue, options: { theme: BentoTheme; withToast: boolean; withUtilityClasses: boolean }) => {\n if (options?.withToast) {\n installToast(Vue);\n }\n // Make sure to put all awaited CSS imports below this point and not above!\n if (options?.theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (options?.theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (options?.withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n },\n};\n\nexport default plugin;\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","validSchema","submitted","error","path","installToast","Vue","toastStackInjectionKey","createToastStack","BentoTheme","setTheme","theme","plugin","options","BentoVue"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcO,SAASA,EAAmCC,GAAe;AACvD,SAAAA;AACX;AA4BA,SAASC,EAA0CC,GAAmC;AAClF,MAAMC,KAAKD,aAAkBC,EAAE;AAC3B,WAAO,OAAO;AAAA,MACV,OAAO,QAAQD,EAAO,KAAK,EAAE,IAAI,CAAC,CAACE,GAAKC,CAAK,MACnCF,KAAKE,aAAiBF,EAAE,aAEnB,CAACC,GAAKC,EAAM,KAAK,aAAc,CAAA,IAGpCF,KAAKE,aAAiBF,EAAE,YACnB,CAACC,GAAKH,EAAqBI,CAAK,CAAC,IAGrC,CAACD,GAAK,MAAS,CACzB;AAAA,IAAA;AAKb;AAOA,SAASE,EAAkBC,GAAmB;AACnC,SAAAA,EAAM,KAAK,KAAK,GAAG;AAC9B;AA2CgB,SAAAC,EAA6B,EAAE,kBAAAC,KAAgC;AAErE,QAAAC,IAASC,EAA6C,CAAA,CAAE,GAExDC,IAA4DC,EAAI,CAAA,CAAE,GAClEC,IAASD,EAAIZ,EAAqBQ,CAAgB,CAAC,GAEnDM,IAAc,MAAM;AACtB,IAAAL,EAAO,QAAQ,IACfE,EAAS,QAAQ;EAAC,GAGhBI,IAAY,MAAM;AACR,IAAAD,KACLD,EAAA,QAAQb,EAAwBQ,CAAgB;AAAA,EAAA;AA+BpD,SAAA;AAAA;AAAA,IAEH,UAAAG;AAAA,IACA,QAAAF;AAAA,IACA,QAAAI;AAAA;AAAA,IAGA,aAAa,MAAME,EAAU;AAAA,IAC7B,YApCe,OAAa,MAAM;AACtB,MAAAD;AAGZ,YAAME,IAAcR,EAAiB,UAAUK,EAAO,KAAK;AAGvD,MAACG,EAAY,UAiBbC,EAAUJ,EAAO,KAAK,IAhBrBG,EAAoC,MAAM,OAAO,QAAQ,CAASE,MAAA;AACzD,cAAAC,IAAOd,EAAkBa,CAAK;AAGpC,QAAKT,EAAO,MAAMU,CAAI,MACXV,EAAA,MAAMU,CAAI,IAAID,EAAM,UAI1BP,EAAS,MAAMQ,CAAI,IAGpBR,EAAS,MAAMQ,CAAI,EAAE,KAAKD,EAAM,OAAO,IAFvCP,EAAS,MAAMQ,CAAI,IAAI,CAACD,EAAM,OAAO;AAAA,MAGzC,CACH;AAAA,IAGL;AAAA,EAWA;AAER;ACnKA,MAAeE,IAAA,CAAOC,MAAA;AAIb,EAAAA,EAAoB,UAAUC,CAAsB,IAAIC,EAAiB;AAIlF;ACZY,IAAAC,sBAAAA,OACRA,EAAA,SAAS,kBACTA,EAAA,aAAa,sBACbA,EAAA,QAAQ,IAHAA,IAAAA,KAAA,CAAA,CAAA;AAWZ,MAAMC,IAAW,CAACC,MAAsB;AAC3B,WAAA,KAAK,UAAU,IAAIA,CAAK;AACrC,GAEMC,IAAuC;AAAA,EACzC,SAAS,OAAON,GAAKO,MAAoF;AACrG,IAAIA,KAAA,QAAAA,EAAS,aACTR,EAAaC,CAAG,IAGhBO,KAAA,gBAAAA,EAAS,WAAU,oBACnBH;AAAA,MAAS;AAAA;AAAA,IAAiB,GAC1B,MAAM,OAAO,qEAAgE,MACtEG,KAAA,gBAAAA,EAAS,WAAU,wBAC1BH;AAAA,MAAS;AAAA;AAAA,IAAqB,GAC9B,MAAM,OAAO,yEAAoE,KAEjF,MAAM,OAAO,8DAAyD,GAGtEG,KAAA,QAAAA,EAAS,sBACT,MAAM,OAAO,4DAAuD;AAAA,EAE5E;AACJ,GAEAC,IAAeF;"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/composables/use-form-validate/use-form.ts","../src/composables/use-bento-toast-controller/install.ts","../src/install.ts"],"sourcesContent":["import { Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { ErrorBag, UseForm } from './use-form.types';\n\n/**\n * Composable that tansforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @param {T extends ZodSchema} formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns {UseForm<T>} schema Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param {ZodSchema} schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n // eslint-disable-next-line no-underscore-dangle\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @param {UseForm<T>} props Form configuration object\n * @param {T extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns {Object} response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns {Ref<ErrorBag<T>>} response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns {Ref<T>} response.errors Object with all the form values and the first error found for that field (if any)\n * @returns {Ref<T>} response.values Object with all the form values and their current value\n * @returns {() => void} response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns {(callback: (values: T) => void) => () => void} response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({ validationSchema }: UseForm<T>) {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values = ref(getInitialFormValues(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first ocurrance of a fild error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","import type { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme: BentoTheme;\n withToast: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n install: async (Vue, options: { theme: BentoTheme; withToast: boolean; withUtilityClasses: boolean }) => {\n if (options?.withToast) {\n installToast(Vue);\n }\n // Make sure to put all awaited CSS imports below this point and not above!\n if (options?.theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (options?.theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (options?.withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n },\n};\n\nexport default plugin;\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","validSchema","submitted","error","path","installToast","Vue","toastStackInjectionKey","createToastStack","BentoTheme","setTheme","theme","plugin","options","BentoVue"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcO,SAASA,EAAmCC,GAAe;AACvD,SAAAA;AACX;AA4BA,SAASC,EAA0CC,GAAmC;AAClF,MAAMC,KAAKD,aAAkBC,EAAE;AAC3B,WAAO,OAAO;AAAA,MACV,OAAO,QAAQD,EAAO,KAAK,EAAE,IAAI,CAAC,CAACE,GAAKC,CAAK,MACnCF,KAAKE,aAAiBF,EAAE,aAEnB,CAACC,GAAKC,EAAM,KAAK,aAAc,CAAA,IAGpCF,KAAKE,aAAiBF,EAAE,YACnB,CAACC,GAAKH,EAAqBI,CAAK,CAAC,IAGrC,CAACD,GAAK,MAAS,CACzB;AAAA,IAAA;AAKb;AAOA,SAASE,EAAkBC,GAAmB;AACnC,SAAAA,EAAM,KAAK,KAAK,GAAG;AAC9B;AA2CgB,SAAAC,EAA6B,EAAE,kBAAAC,KAAgC;AAErE,QAAAC,IAASC,EAA6C,CAAA,CAAE,GAExDC,IAA4DC,EAAI,CAAA,CAAE,GAClEC,IAASD,EAAIZ,EAAqBQ,CAAgB,CAAC,GAEnDM,IAAc,MAAM;AACtB,IAAAL,EAAO,QAAQ,IACfE,EAAS,QAAQ;EAAC,GAGhBI,IAAY,MAAM;AACR,IAAAD,KACLD,EAAA,QAAQb,EAAwBQ,CAAgB;AAAA,EAAA;AA+BpD,SAAA;AAAA;AAAA,IAEH,UAAAG;AAAA,IACA,QAAAF;AAAA,IACA,QAAAI;AAAA;AAAA,IAGA,aAAa,MAAME,EAAU;AAAA,IAC7B,YApCe,OAAa,MAAM;AACtB,MAAAD;AAGZ,YAAME,IAAcR,EAAiB,UAAUK,EAAO,KAAK;AAGvD,MAACG,EAAY,UAiBbC,EAAUJ,EAAO,KAAK,IAhBrBG,EAAoC,MAAM,OAAO,QAAQ,CAASE,MAAA;AACzD,cAAAC,IAAOd,EAAkBa,CAAK;AAGpC,QAAKT,EAAO,MAAMU,CAAI,MACXV,EAAA,MAAMU,CAAI,IAAID,EAAM,UAI1BP,EAAS,MAAMQ,CAAI,IAGpBR,EAAS,MAAMQ,CAAI,EAAE,KAAKD,EAAM,OAAO,IAFvCP,EAAS,MAAMQ,CAAI,IAAI,CAACD,EAAM,OAAO;AAAA,MAGzC,CACH;AAAA,IAGL;AAAA,EAWA;AAER;ACnKA,MAAeE,IAAA,CAAOC,MAAA;AAIb,EAAAA,EAAoB,UAAUC,CAAsB,IAAIC,EAAiB;AAIlF;ACZY,IAAAC,sBAAAA,OACRA,EAAA,SAAS,kBACTA,EAAA,aAAa,sBACbA,EAAA,QAAQ,IAHAA,IAAAA,KAAA,CAAA,CAAA;AAWZ,MAAMC,IAAW,CAACC,MAAsB;AAC3B,WAAA,KAAK,UAAU,IAAIA,CAAK;AACrC,GAEMC,IAAuC;AAAA,EACzC,SAAS,OAAON,GAAKO,MAAoF;AACrG,IAAIA,KAAA,QAAAA,EAAS,aACTR,EAAaC,CAAG,IAGhBO,KAAA,gBAAAA,EAAS,WAAU,oBACnBH;AAAA,MAAS;AAAA;AAAA,IAAiB,GAC1B,MAAM,OAAO,qEAAgE,MACtEG,KAAA,gBAAAA,EAAS,WAAU,wBAC1BH;AAAA,MAAS;AAAA;AAAA,IAAqB,GAC9B,MAAM,OAAO,yEAAoE,KAEjF,MAAM,OAAO,8DAAyD,GAGtEG,KAAA,QAAAA,EAAS,sBACT,MAAM,OAAO,4DAAuD;AAAA,EAE5E;AACJ,GAEAC,IAAeF;"}
|
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.c8621e8e.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.efddb5f3.js";
|
|
5
5
|
import { n as a } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
6
|
-
import "./assets/
|
|
6
|
+
import "./assets/index28.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.a8037bca.js";
|
|
3
|
+
import { p as I, d as R, B as J } from "./chunks/index.e29a6907.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.bdcc1020.js";
|
|
11
11
|
import { n as ie } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
12
|
-
import "./assets/
|
|
12
|
+
import "./assets/index44.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.8708be60.js";
|
|
2
|
+
import { C as s, a as p, b as l } from "./chunks/calendar.f02e0a5a.js";
|
|
3
|
+
import { C as n, a as C } from "./chunks/copy.6808b2dc.js";
|
|
4
|
+
import { C as m } from "./chunks/controls-group.121a307d.js";
|
|
5
|
+
import { B as f, b as G, a as d, D as I } from "./chunks/dialog-page.7fd7d006.js";
|
|
6
|
+
import { E as _, F as u } from "./chunks/error-message.bdcc1020.js";
|
|
7
|
+
import { F as A } from "./chunks/fixed-scroller.82ef6187.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.98a9ed01.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/index30.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.cb90b55c.js";
|
|
3
|
+
import { B as N } from "./chunks/index.1deef79e.js";
|
|
4
|
+
import { B as w } from "./chunks/index.e29a6907.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.7fd7d006.js";
|
|
7
|
+
import { B as U } from "./chunks/button-actions.87e589e3.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/index24.css";
|
|
14
14
|
const V = {}, j = /* @__PURE__ */ C({
|
|
15
15
|
...V,
|
|
16
16
|
__name: "modal-fullscreen-page",
|
package/dist/modal.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as g, h as A, f as d, e as E, c as M, a as L, b as v } from "./chunks/base-modal.
|
|
2
|
-
import { g as yt, B as _t } from "./chunks/base-modal.
|
|
1
|
+
import { d as g, h as A, f as d, e as E, c as M, a as L, b as v } from "./chunks/base-modal.4fb7528b.js";
|
|
2
|
+
import { g as yt, B as _t } from "./chunks/base-modal.4fb7528b.js";
|
|
3
3
|
import { defineComponent as p, useSlots as B, onMounted as O, toRefs as x, ref as P, computed as f, useAttrs as T, watch as k } from "vue";
|
|
4
4
|
import { u as b } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
5
|
-
import { F as R } from "./chunks/footer-actions.
|
|
5
|
+
import { F as R } from "./chunks/footer-actions.58d14a16.js";
|
|
6
6
|
import { n as S } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
7
|
-
import { B as C } from "./chunks/button.
|
|
7
|
+
import { B as C } from "./chunks/button.cb90b55c.js";
|
|
8
8
|
import { u as z } from "./chunks/i18n.eb5b985b.js";
|
|
9
|
-
import { B as N } from "./chunks/button-actions.
|
|
10
|
-
import { d as $ } from "./chunks/index.
|
|
9
|
+
import { B as N } from "./chunks/button-actions.87e589e3.js";
|
|
10
|
+
import { d as $ } from "./chunks/index.e29a6907.js";
|
|
11
11
|
const F = p({
|
|
12
12
|
name: "bento-modal-default"
|
|
13
13
|
}), q = /* @__PURE__ */ p({
|
package/dist/pagination.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as p, ref as P, computed as r, toRefs as L } from "vue";
|
|
2
2
|
import { u as N } from "./chunks/aria-label.ac9651a5.js";
|
|
3
|
-
import { B as C } from "./chunks/index.
|
|
4
|
-
import { B as b } from "./chunks/dropdown.
|
|
3
|
+
import { B as C } from "./chunks/index.e29a6907.js";
|
|
4
|
+
import { B as b } from "./chunks/dropdown.a8037bca.js";
|
|
5
5
|
import { g as T } from "./chunks/unique-id.a2a2b458.js";
|
|
6
6
|
import { g as y, a as x } from "./chunks/i18n.eb5b985b.js";
|
|
7
7
|
import { n as l } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
8
|
-
import { a as S } from "./chunks/button.
|
|
9
|
-
import "./assets/
|
|
8
|
+
import { a as S } from "./chunks/button.cb90b55c.js";
|
|
9
|
+
import "./assets/index25.css";
|
|
10
10
|
const I = {
|
|
11
11
|
"en-US": {
|
|
12
12
|
showingItems: "Showing {itemCount} items",
|