@adyen/bento-vue2 1.9.0 → 1.10.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/packages/vue2/src/components/button/button.vue.d.ts +19 -3580
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +14 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +33 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +20 -4
- package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +54 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +81 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useSelector.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +5 -2
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +16 -7
- package/dist/@types/packages/vue2/src/components/divider/divider.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +11 -1
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +84 -12
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +20 -0
- package/dist/@types/packages/vue2/src/components/internal/copy/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +82 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +12 -3
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +251 -3
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +3 -4
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +16 -3
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +15 -10
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -0
- package/dist/@types/packages/vue2/src/types/elements.d.ts +2 -1
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +5 -5
- package/dist/alert.js +8 -8
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/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/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +20 -18
- package/dist/button.js.map +1 -1
- package/dist/card.js +2 -2
- package/dist/checkbox.js +61 -48
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.df9a9bea.js → base-button.46843461.js} +2 -2
- package/dist/chunks/{base-button.df9a9bea.js.map → base-button.46843461.js.map} +1 -1
- package/dist/chunks/{base-modal.75319f4e.js → base-modal.193ce866.js} +33 -33
- package/dist/chunks/base-modal.193ce866.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.32770485.js → button-actions-with-menu.11988565.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.32770485.js.map → button-actions-with-menu.11988565.js.map} +1 -1
- package/dist/chunks/button.f3f05408.js +100 -0
- package/dist/chunks/button.f3f05408.js.map +1 -0
- package/dist/chunks/{calendar.a885d8fc.js → calendar.7dbac3b8.js} +4 -4
- package/dist/chunks/{calendar.a885d8fc.js.map → calendar.7dbac3b8.js.map} +1 -1
- package/dist/chunks/checkbox.f6f6ce39.js +188 -0
- package/dist/chunks/checkbox.f6f6ce39.js.map +1 -0
- package/dist/chunks/{controls-group.dd967ccf.js → controls-group.24a9efb1.js} +15 -11
- package/dist/chunks/controls-group.24a9efb1.js.map +1 -0
- package/dist/chunks/copy.f4019f8d.js +122 -0
- package/dist/chunks/copy.f4019f8d.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.7c07d16a.js → cross-circle-fill.27580c4b.js} +5 -5
- package/dist/chunks/{cross-circle-fill.7c07d16a.js.map → cross-circle-fill.27580c4b.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.465db4d4.js → dropdown-default-textbox.a1240b9d.js} +11 -11
- package/dist/chunks/dropdown-default-textbox.a1240b9d.js.map +1 -0
- package/dist/chunks/{dropdown.6461dbe3.js → dropdown.f784ac67.js} +258 -221
- package/dist/chunks/dropdown.f784ac67.js.map +1 -0
- package/dist/chunks/{field-label.01df3cba.js → field-label.bdf22f47.js} +5 -5
- package/dist/chunks/{field-label.01df3cba.js.map → field-label.bdf22f47.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.42354ccc.js → fixed-scroller.28158c25.js} +2 -2
- package/dist/chunks/{fixed-scroller.42354ccc.js.map → fixed-scroller.28158c25.js.map} +1 -1
- package/dist/chunks/{footer-actions.2cd9079e.js → footer-actions.08a8323b.js} +3 -3
- package/dist/chunks/{footer-actions.2cd9079e.js.map → footer-actions.08a8323b.js.map} +1 -1
- package/dist/chunks/{index.02da8d63.js → index.1036f656.js} +3 -3
- package/dist/chunks/{index.02da8d63.js.map → index.1036f656.js.map} +1 -1
- package/dist/chunks/{index.322692c8.js → index.158c522b.js} +2 -2
- package/dist/chunks/{index.322692c8.js.map → index.158c522b.js.map} +1 -1
- package/dist/chunks/{index.f358c4bd.js → index.4824eab5.js} +163 -155
- package/dist/chunks/index.4824eab5.js.map +1 -0
- package/dist/chunks/{index.6cef7328.js → index.6c299479.js} +2 -2
- package/dist/chunks/{index.6cef7328.js.map → index.6c299479.js.map} +1 -1
- package/dist/chunks/{index.152b2b16.js → index.7039d901.js} +3 -3
- package/dist/chunks/{index.152b2b16.js.map → index.7039d901.js.map} +1 -1
- package/dist/chunks/{index.b201e81d.js → index.858b0720.js} +2 -2
- package/dist/chunks/{index.b201e81d.js.map → index.858b0720.js.map} +1 -1
- package/dist/chunks/{index.16914bb1.js → index.9051abfc.js} +9 -9
- package/dist/chunks/{index.16914bb1.js.map → index.9051abfc.js.map} +1 -1
- package/dist/chunks/index.9bdf4d78.js +147 -0
- package/dist/chunks/index.9bdf4d78.js.map +1 -0
- package/dist/chunks/{index.d1beb704.js → index.ad4b770b.js} +5 -5
- package/dist/chunks/{index.d1beb704.js.map → index.ad4b770b.js.map} +1 -1
- package/dist/chunks/index.f651209d.js +32 -0
- package/dist/chunks/index.f651209d.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.55cd9c16.js → listbox-option-tag.60c0beca.js} +3 -3
- package/dist/chunks/{listbox-option-tag.55cd9c16.js.map → listbox-option-tag.60c0beca.js.map} +1 -1
- package/dist/chunks/{listbox.a117e6d4.js → listbox.163433c5.js} +475 -392
- package/dist/chunks/listbox.163433c5.js.map +1 -0
- package/dist/chunks/{loading-button.459b9ab4.js → loading-button.7b5d0c22.js} +20 -20
- package/dist/chunks/{loading-button.459b9ab4.js.map → loading-button.7b5d0c22.js.map} +1 -1
- package/dist/chunks/{tooltip.b8929659.js → tooltip.4a1300d5.js} +22 -22
- package/dist/chunks/tooltip.4a1300d5.js.map +1 -0
- package/dist/chunks/use-has-slot.fbeb19ec.js.map +1 -1
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +858 -668
- 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 +2 -18
- package/dist/divider.js.map +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +18 -18
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +408 -399
- 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 +3 -3
- package/dist/index.js +66 -65
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +4 -4
- package/dist/internal.js +17 -15
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal.js +62 -60
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +46 -45
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +10 -10
- package/dist/segmented-control.js +3 -3
- package/dist/sidepanel.js +5 -5
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +95 -88
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +198 -191
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +5 -5
- package/dist/typography.js +1 -1
- package/dist/web-types.json +646 -361
- package/package.json +2 -2
- package/dist/chunks/base-modal.75319f4e.js.map +0 -1
- package/dist/chunks/button.7dd8d4de.js +0 -125
- package/dist/chunks/button.7dd8d4de.js.map +0 -1
- package/dist/chunks/checkbox.65743b08.js +0 -184
- package/dist/chunks/checkbox.65743b08.js.map +0 -1
- package/dist/chunks/controls-group.dd967ccf.js.map +0 -1
- package/dist/chunks/copy.e12b418e.js +0 -103
- package/dist/chunks/copy.e12b418e.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.465db4d4.js.map +0 -1
- package/dist/chunks/dropdown.6461dbe3.js.map +0 -1
- package/dist/chunks/index.0890dc99.js +0 -130
- package/dist/chunks/index.0890dc99.js.map +0 -1
- package/dist/chunks/index.f358c4bd.js.map +0 -1
- package/dist/chunks/listbox.a117e6d4.js.map +0 -1
- package/dist/chunks/tooltip.b8929659.js.map +0 -1
package/dist/focus-trap.js
CHANGED
package/dist/form-layout.js
CHANGED
|
@@ -3,8 +3,8 @@ import { BentoAlert as d } from "./alert.js";
|
|
|
3
3
|
import { F as b } from "./chunks/form-layout.types.a7a1438d.js";
|
|
4
4
|
import { u as m } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
5
5
|
import { n as l } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
6
|
-
import { B as u, c as C } from "./chunks/index.
|
|
7
|
-
import "./assets/
|
|
6
|
+
import { B as u, c as C } from "./chunks/index.858b0720.js";
|
|
7
|
+
import "./assets/index40.css";
|
|
8
8
|
const B = {}, $ = /* @__PURE__ */ _({
|
|
9
9
|
...B,
|
|
10
10
|
__name: "form-layout",
|
package/dist/header.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as O, computed as v } from "vue";
|
|
2
|
-
import { B as C } from "./chunks/button-actions-with-menu.
|
|
2
|
+
import { B as C } from "./chunks/button-actions-with-menu.11988565.js";
|
|
3
3
|
import { BentoInfoIcon as E } from "./info-icon.js";
|
|
4
4
|
import { u as A } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
5
|
-
import { B as U, c as T, a as X } from "./chunks/index.
|
|
5
|
+
import { B as U, c as T, a as X } from "./chunks/index.858b0720.js";
|
|
6
6
|
import { u as w } from "./chunks/i18n.eb5b985b.js";
|
|
7
7
|
import { c as p, a as P } from "./chunks/index.86453263.js";
|
|
8
8
|
import { r as c, t as i, e as g, g as D, d as R, f as H } from "./chunks/index.f55fdc32.js";
|
|
9
9
|
import { e as B } from "./chunks/index.fdf12170.js";
|
|
10
10
|
import { e as Y } from "./chunks/index.d80206ed.js";
|
|
11
11
|
import { n as G } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
12
|
-
import "./assets/
|
|
12
|
+
import "./assets/index34.css";
|
|
13
13
|
function L(e, t) {
|
|
14
14
|
c(2, arguments);
|
|
15
15
|
var a = i(e), n = i(t), l = a.getFullYear() - n.getFullYear(), r = a.getMonth() - n.getMonth();
|
package/dist/index.js
CHANGED
|
@@ -3,24 +3,24 @@ var i = (e, t, o) => t in e ? B(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var r = (e, t, o) => (i(e, typeof t != "symbol" ? t + "" : t, o), o);
|
|
4
4
|
import "./chunks/index.4c062058.js";
|
|
5
5
|
import { reactive as m } from "vue";
|
|
6
|
-
import { g as
|
|
6
|
+
import { g as s } from "./chunks/unique-id.a2a2b458.js";
|
|
7
7
|
import { BentoAccordion as T, BentoAccordionItem as C } from "./accordion.js";
|
|
8
8
|
import { BentoActionBar as D } from "./action-bar.js";
|
|
9
9
|
import { BentoAlert as I, BentoAlertEvent as b, BentoAlertTypeOption as E, BentoAlertVariant as L } from "./alert.js";
|
|
10
|
-
import { a as F, b as V, B as k } from "./chunks/button.
|
|
10
|
+
import { a as F, b as V, B as k } from "./chunks/button.f3f05408.js";
|
|
11
11
|
import { BentoColumnOverflow as G, BentoDataGrid as w, BentoDatagridAriaSortValue as M, BentoDatagridEvent as O, BentoDatagridSortDirection as R, BentoDatagridStyleState as _ } from "./data-grid.js";
|
|
12
12
|
import { BentoCard as q, BentoCardBackground as z, BentoCardTitleSize as U } from "./card.js";
|
|
13
13
|
import { BentoDatePicker as W, BentoDatePickerEvent as Y } from "./date-picker.js";
|
|
14
|
-
import { B as H, a as $ } from "./chunks/index.
|
|
15
|
-
import { B as Q, u as X } from "./chunks/dropdown.
|
|
14
|
+
import { B as H, a as $ } from "./chunks/index.9051abfc.js";
|
|
15
|
+
import { B as Q, u as X } from "./chunks/dropdown.f784ac67.js";
|
|
16
16
|
import { BentoDropdownAvatar as tt, BentoDropdownCountry as et, BentoDropdownCurrency as ot, BentoDropdownPaymentMethod as nt, BentoDropdownTag as rt } from "./dropdown.js";
|
|
17
|
-
import { B as Bt, b as it, a as mt } from "./chunks/checkbox.
|
|
18
|
-
import { BentoClickOutside as
|
|
17
|
+
import { B as Bt, b as it, a as mt } from "./chunks/checkbox.f6f6ce39.js";
|
|
18
|
+
import { BentoClickOutside as pt } from "./click-outside.js";
|
|
19
19
|
import { BentoCodeSnippet as ut, BentoCodeSnippetEvent as lt, BentoCodeSnippetSupportedLanguage as ft, BentoCodeSnippetVariant as xt } from "./code-snippet.js";
|
|
20
20
|
import { BentoCountry as ct, BentoCountryCode as gt, BentoCountryVariant as St, useCountryCapital as Tt, useCountryName as Ct, useCountryPhoneCode as ht } from "./country.js";
|
|
21
21
|
import { BentoCurrency as vt, BentoCurrencyISOCode as It } from "./currency.js";
|
|
22
|
-
import { B as Et, a as Lt } from "./chunks/index.
|
|
23
|
-
import {
|
|
22
|
+
import { B as Et, a as Lt } from "./chunks/index.158c522b.js";
|
|
23
|
+
import { B as Ft } from "./chunks/index.f651209d.js";
|
|
24
24
|
import { BentoEmptyState as kt, BentoEmptyStateImage as At, BentoEmptyStateImageVariant as Gt, BentoEmptyStateVariant as wt } from "./empty-state.js";
|
|
25
25
|
import { BentoFilterBar as Ot, BentoFilterBarEvent as Rt, BentoFilterEvent as _t, BentoFilterItemType as Nt } from "./filter-bar.js";
|
|
26
26
|
import { BentoFormLayout as zt, BentoFormLayoutFieldTip as Ut, BentoFormLayoutGroup as Kt, BentoFormLayoutTitle as Wt } from "./form-layout.js";
|
|
@@ -28,41 +28,41 @@ import { BentoImage as jt, BentoImageAspectRatio as Ht, BentoImageObjectFit as $
|
|
|
28
28
|
import { BentoInfoIcon as Qt } from "./info-icon.js";
|
|
29
29
|
import { BentoInputField as Zt, BentoInputFieldElementPosition as te, BentoInputFieldEvent as ee, BentoInputFieldStateClass as oe, BentoInputFieldType as ne, BentoInputFieldVariant as re } from "./input-field.js";
|
|
30
30
|
import { BentoLoadingIndicator as Be, BentoLoadingIndicatorEvent as ie } from "./loading-indicator.js";
|
|
31
|
-
import { BentoLink as
|
|
32
|
-
import { B as ue, a as le } from "./chunks/index.
|
|
31
|
+
import { BentoLink as se, BentoLinkVariant as pe } from "./link.js";
|
|
32
|
+
import { B as ue, a as le } from "./chunks/index.4824eab5.js";
|
|
33
33
|
import { BentoModal as xe } from "./modal.js";
|
|
34
|
-
import { b as ce, d as ge, e as Se, c as Te, a as Ce, B as he } from "./chunks/base-modal.
|
|
34
|
+
import { b as ce, d as ge, e as Se, c as Te, a as Ce, B as he } from "./chunks/base-modal.193ce866.js";
|
|
35
35
|
import { BentoHeader as ve } from "./header.js";
|
|
36
36
|
import { BentoPagination as be } from "./pagination.js";
|
|
37
37
|
import { BentoPaymentMethod as Le, BentoPaymentMethodType as Pe } from "./payment-method.js";
|
|
38
|
-
import { a as Ve, B as ke } from "./chunks/index.
|
|
38
|
+
import { a as Ve, B as ke } from "./chunks/index.ad4b770b.js";
|
|
39
39
|
import { BentoRadioGroup as Ge, BentoRadioGroupVariant as we } from "./radio-group.js";
|
|
40
40
|
import { BentoSearchBar as Oe, BentoSearchBarEvent as Re, BentoSearchBarInternalEvent as _e } from "./search-bar.js";
|
|
41
41
|
import { BentoSegmentedControl as qe, BentoSegmentedControlEvent as ze } from "./segmented-control.js";
|
|
42
42
|
import { BentoSidepanel as Ke, BentoSidepanelAnimation as We, BentoSidepanelEvent as Ye, BentoSidepanelPage as je } from "./sidepanel.js";
|
|
43
43
|
import { BentoStatus as $e, BentoStatusVariant as Je } from "./status.js";
|
|
44
44
|
import { BentoStep as Xe, BentoStepper as Ze, BentoStepperTypeOption as to, BentoStepperVariantOption as eo } from "./stepper.js";
|
|
45
|
-
import { B as no, a as ro } from "./chunks/index.
|
|
46
|
-
import { BentoSummaryGrid as Bo, BentoSummaryGridItemAmount as io, BentoSummaryGridItemCustom as mo, BentoSummaryGridItemNumeric as
|
|
45
|
+
import { B as no, a as ro } from "./chunks/index.9bdf4d78.js";
|
|
46
|
+
import { BentoSummaryGrid as Bo, BentoSummaryGridItemAmount as io, BentoSummaryGridItemCustom as mo, BentoSummaryGridItemNumeric as so, BentoSummaryGridItemPercentage as po, BentoSummaryGridItemSize as uo, BentoSummaryGridItemText as lo, BentoSummaryGridItemTrendDirection as fo } from "./summary-grid.js";
|
|
47
47
|
import { BentoTab as yo, BentoTabs as co } from "./tabs.js";
|
|
48
48
|
import { BentoTag as So, BentoTagVariant as To } from "./tag.js";
|
|
49
49
|
import { BentoTextarea as ho } from "./textarea.js";
|
|
50
|
-
import { BentoTimeline as vo, BentoTimelineGapUnit as Io, BentoTimelineItem as bo, BentoTimelineItemVariant as Eo, BentoTimelineShowMorePlacement as Lo } from "./timeline.js";
|
|
51
|
-
import { BentoToast as
|
|
52
|
-
import { u as
|
|
53
|
-
import { BentoToggle as
|
|
54
|
-
import { BentoTutorial as
|
|
55
|
-
import { B as
|
|
56
|
-
import { BentoButtonActions as
|
|
57
|
-
import { B as
|
|
58
|
-
import { b as
|
|
59
|
-
import { BentoCheckboxGroup as
|
|
60
|
-
import { D as
|
|
61
|
-
import { a as
|
|
62
|
-
import { a as
|
|
63
|
-
import { B as
|
|
64
|
-
import { b as
|
|
65
|
-
class
|
|
50
|
+
import { BentoTimeline as vo, BentoTimelineGapUnit as Io, BentoTimelineItem as bo, BentoTimelineItemVariant as Eo, BentoTimelineShowMorePlacement as Lo, BentoTimelineStatus as Po } from "./timeline.js";
|
|
51
|
+
import { BentoToast as Vo } from "./toast.js";
|
|
52
|
+
import { u as Ao } from "./chunks/toastController.fd667b68.js";
|
|
53
|
+
import { BentoToggle as wo, BentoToggleLabelPosition as Mo, BentoTogglePropClass as Oo } from "./toggle.js";
|
|
54
|
+
import { BentoTutorial as _o } from "./tutorial.js";
|
|
55
|
+
import { B as qo, c as zo, b as Uo, a as Ko } from "./chunks/index.858b0720.js";
|
|
56
|
+
import { BentoButtonActions as Yo, BentoButtonActionsLayout as jo, BentoButtonActionsLayoutBasic as Ho, BentoButtonActionsLayoutExtended as $o } from "./button.js";
|
|
57
|
+
import { B as Qo, a as Xo } from "./chunks/loading-button.7b5d0c22.js";
|
|
58
|
+
import { b as tn, b as en } from "./chunks/calendar.7dbac3b8.js";
|
|
59
|
+
import { BentoCheckboxGroup as nn, BentoCheckboxGroupVariant as rn } from "./checkbox.js";
|
|
60
|
+
import { D as Bn } from "./chunks/date-input.9186a0bf.js";
|
|
61
|
+
import { a as sn, B as pn } from "./chunks/keyboard-navigation.ca47dfa8.js";
|
|
62
|
+
import { a as un, b as ln } from "./chunks/listbox.163433c5.js";
|
|
63
|
+
import { B as xn } from "./chunks/directive.0408e565.js";
|
|
64
|
+
import { b as cn, B as gn, a as Sn } from "./chunks/tooltip.4a1300d5.js";
|
|
65
|
+
class p {
|
|
66
66
|
constructor() {
|
|
67
67
|
r(this, "_state");
|
|
68
68
|
this._state = m({ queue: [] });
|
|
@@ -74,7 +74,7 @@ class s {
|
|
|
74
74
|
this._state.queue.splice(this._state.queue.indexOf(t), 1);
|
|
75
75
|
}
|
|
76
76
|
addToast(t) {
|
|
77
|
-
const o =
|
|
77
|
+
const o = s("toast"), n = {
|
|
78
78
|
...t,
|
|
79
79
|
id: o,
|
|
80
80
|
dismiss: () => this.dismissToast(n)
|
|
@@ -89,7 +89,7 @@ const a = (e) => {
|
|
|
89
89
|
document.body.classList.add(e);
|
|
90
90
|
}, u = {
|
|
91
91
|
install: async (e, t) => {
|
|
92
|
-
t != null && t.withToast && (e.prototype.$bentoToastController = new
|
|
92
|
+
t != null && t.withToast && (e.prototype.$bentoToastController = new p()), (t == null ? void 0 : t.theme) === "b-legacy-theme" ? (a(
|
|
93
93
|
"b-legacy-theme"
|
|
94
94
|
/* LEGACY */
|
|
95
95
|
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css?used")) : (t == null ? void 0 : t.theme) === "b-styleguide-theme" ? (a(
|
|
@@ -107,10 +107,10 @@ export {
|
|
|
107
107
|
E as BentoAlertTypeOption,
|
|
108
108
|
L as BentoAlertVariant,
|
|
109
109
|
F as BentoButton,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
Yo as BentoButtonActions,
|
|
111
|
+
jo as BentoButtonActionsLayout,
|
|
112
|
+
Ho as BentoButtonActionsLayoutBasic,
|
|
113
|
+
$o as BentoButtonActionsLayoutExtended,
|
|
114
114
|
V as BentoButtonPropClass,
|
|
115
115
|
k as BentoButtonVariant,
|
|
116
116
|
q as BentoCard,
|
|
@@ -118,11 +118,11 @@ export {
|
|
|
118
118
|
U as BentoCardTitleSize,
|
|
119
119
|
Bt as BentoCheckbox,
|
|
120
120
|
it as BentoCheckboxEvent,
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
nn as BentoCheckboxGroup,
|
|
122
|
+
rn as BentoCheckboxGroupVariant,
|
|
123
123
|
mt as BentoCheckboxState,
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
pt as BentoClickOutside,
|
|
125
|
+
xn as BentoClickOutsideDirective,
|
|
126
126
|
ut as BentoCodeSnippet,
|
|
127
127
|
lt as BentoCodeSnippetEvent,
|
|
128
128
|
ft as BentoCodeSnippetSupportedLanguage,
|
|
@@ -142,10 +142,10 @@ export {
|
|
|
142
142
|
Lt as BentoDateFormat,
|
|
143
143
|
W as BentoDatePicker,
|
|
144
144
|
Y as BentoDatePickerEvent,
|
|
145
|
-
|
|
145
|
+
tn as BentoDatePickerFirstDayOfWeek,
|
|
146
146
|
H as BentoDateRangePicker,
|
|
147
147
|
$ as BentoDateRangePickerEvent,
|
|
148
|
-
|
|
148
|
+
en as BentoDateRangePickerFirstDayOfWeek,
|
|
149
149
|
Ft as BentoDivider,
|
|
150
150
|
Q as BentoDropdown,
|
|
151
151
|
tt as BentoDropdownAvatar,
|
|
@@ -176,14 +176,14 @@ export {
|
|
|
176
176
|
oe as BentoInputFieldStateClass,
|
|
177
177
|
ne as BentoInputFieldType,
|
|
178
178
|
re as BentoInputFieldVariant,
|
|
179
|
-
|
|
179
|
+
sn as BentoKeyboardNavigationDirective,
|
|
180
180
|
pn as BentoKeyboardNavigationKeyDownEvent,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
181
|
+
se as BentoLink,
|
|
182
|
+
pe as BentoLinkVariant,
|
|
183
|
+
un as BentoListboxEvent,
|
|
184
|
+
ln as BentoListboxLazyLoadType,
|
|
185
|
+
Qo as BentoLoadingButton,
|
|
186
|
+
Xo as BentoLoadingButtonState,
|
|
187
187
|
Be as BentoLoadingIndicator,
|
|
188
188
|
ie as BentoLoadingIndicatorEvent,
|
|
189
189
|
ue as BentoMenu,
|
|
@@ -222,8 +222,8 @@ export {
|
|
|
222
222
|
Bo as BentoSummaryGrid,
|
|
223
223
|
io as BentoSummaryGridItemAmount,
|
|
224
224
|
mo as BentoSummaryGridItemCustom,
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
so as BentoSummaryGridItemNumeric,
|
|
226
|
+
po as BentoSummaryGridItemPercentage,
|
|
227
227
|
uo as BentoSummaryGridItemSize,
|
|
228
228
|
lo as BentoSummaryGridItemText,
|
|
229
229
|
fo as BentoSummaryGridItemTrendDirection,
|
|
@@ -238,21 +238,22 @@ export {
|
|
|
238
238
|
bo as BentoTimelineItem,
|
|
239
239
|
Eo as BentoTimelineItemVariant,
|
|
240
240
|
Lo as BentoTimelineShowMorePlacement,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
wo as
|
|
244
|
-
Mo as
|
|
245
|
-
|
|
246
|
-
cn as
|
|
247
|
-
gn as
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
qo as
|
|
251
|
-
zo as
|
|
252
|
-
Uo as
|
|
253
|
-
|
|
241
|
+
Po as BentoTimelineStatus,
|
|
242
|
+
Vo as BentoToast,
|
|
243
|
+
wo as BentoToggle,
|
|
244
|
+
Mo as BentoToggleLabelPosition,
|
|
245
|
+
Oo as BentoTogglePropClass,
|
|
246
|
+
cn as BentoTooltipDirective,
|
|
247
|
+
gn as BentoTooltipPosition,
|
|
248
|
+
Sn as BentoTooltipState,
|
|
249
|
+
_o as BentoTutorial,
|
|
250
|
+
qo as BentoTypography,
|
|
251
|
+
zo as BentoTypographyElement,
|
|
252
|
+
Uo as BentoTypographyModifier,
|
|
253
|
+
Ko as BentoTypographyVariant,
|
|
254
|
+
Bn as DateFormat,
|
|
254
255
|
c as default,
|
|
255
|
-
|
|
256
|
+
Ao as useBentoToastController,
|
|
256
257
|
Tt as useCountryCapital,
|
|
257
258
|
Ct as useCountryName,
|
|
258
259
|
ht as useCountryPhoneCode,
|
package/dist/info-icon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as r } from "vue";
|
|
2
|
-
import { c as i } from "./chunks/index.
|
|
2
|
+
import { c as i } from "./chunks/index.7039d901.js";
|
|
3
3
|
import { n as s } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
4
|
-
import { b as a } from "./chunks/tooltip.
|
|
5
|
-
import "./assets/
|
|
4
|
+
import { b as a } from "./chunks/tooltip.4a1300d5.js";
|
|
5
|
+
import "./assets/index33.css";
|
|
6
6
|
let n = 0;
|
|
7
7
|
const l = {
|
|
8
8
|
beforeCreate() {
|
package/dist/input-field.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as H, useAttrs as F, useSlots as z, ref as O, toRef as j, computed as i, toRefs as W } from "vue";
|
|
2
|
-
import { B as Y, a as q } from "./chunks/dropdown.
|
|
3
|
-
import { d as X, B as G } from "./chunks/index.
|
|
2
|
+
import { B as Y, a as q } from "./chunks/dropdown.f784ac67.js";
|
|
3
|
+
import { d as X, B as G } from "./chunks/index.858b0720.js";
|
|
4
4
|
import { g as u } from "./chunks/unique-id.a2a2b458.js";
|
|
5
5
|
import { g as K } from "./chunks/get-slot-text.99c3d860.js";
|
|
6
6
|
import { u as J } from "./chunks/aria-label.ac9651a5.js";
|
|
7
7
|
import { u as Q } from "./chunks/i18n.eb5b985b.js";
|
|
8
8
|
import { u as Z } from "./chunks/use-form-layout-loading.d03e5d48.js";
|
|
9
9
|
import { u as tt } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
10
|
-
import { E as et, F as at } from "./chunks/field-label.
|
|
10
|
+
import { E as et, F as at } from "./chunks/field-label.bdf22f47.js";
|
|
11
11
|
import { n as ot } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
12
|
-
import "./assets/
|
|
12
|
+
import "./assets/index35.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 || {}), w = /* @__PURE__ */ ((a) => (a.SEARCH = "search", a.TEXT = "text", a.NUMBER = "number", a))(w || {}), rt = /* @__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))(rt || {});
|
|
14
14
|
const it = {
|
|
15
15
|
"en-US": {
|
package/dist/internal.js
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { B as
|
|
2
|
-
import { C as s, a as p, b as
|
|
3
|
-
import { C as
|
|
4
|
-
import { C } from "./chunks/controls-group.
|
|
5
|
-
import { E as
|
|
6
|
-
import { F as y } from "./chunks/fixed-scroller.
|
|
1
|
+
import { B as r, L as e } from "./chunks/listbox-option-tag.60c0beca.js";
|
|
2
|
+
import { C as s, a as p, b as i } from "./chunks/calendar.7dbac3b8.js";
|
|
3
|
+
import { C as x, a as n } from "./chunks/copy.f4019f8d.js";
|
|
4
|
+
import { C as f } from "./chunks/controls-group.24a9efb1.js";
|
|
5
|
+
import { E as d, F as L } from "./chunks/field-label.bdf22f47.js";
|
|
6
|
+
import { F as y } from "./chunks/fixed-scroller.28158c25.js";
|
|
7
7
|
import { G as b, a as B } from "./chunks/grid-layout.e0025286.js";
|
|
8
|
-
import { B as u } from "./chunks/listbox.
|
|
8
|
+
import { B as v, u as E } from "./chunks/listbox.163433c5.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
r as BentoAvatar,
|
|
11
|
+
v as BentoListbox,
|
|
12
12
|
s as Calendar,
|
|
13
13
|
p as CalendarEvent,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
d as
|
|
14
|
+
i as CalendarFirstDayOfWeek,
|
|
15
|
+
f as ControlsGroup,
|
|
16
|
+
x as Copy,
|
|
17
|
+
n as CopyTooltipState,
|
|
18
|
+
d as ErrorMessage,
|
|
19
|
+
L as FieldLabel,
|
|
19
20
|
y as FixedScroller,
|
|
20
21
|
b as GridLayout,
|
|
21
22
|
B as GridLayoutContainerType,
|
|
22
|
-
e as ListboxOptionTag
|
|
23
|
+
e as ListboxOptionTag,
|
|
24
|
+
E as useMultiLevelItems
|
|
23
25
|
};
|
|
24
26
|
//# sourceMappingURL=internal.js.map
|
package/dist/link.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as c, computed as p, useAttrs as _ } from "vue";
|
|
2
2
|
import { RouterLink as u } from "vue-router";
|
|
3
|
-
import { B as f } from "./chunks/index.
|
|
3
|
+
import { B as f } from "./chunks/index.858b0720.js";
|
|
4
4
|
import { n as d } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
5
|
-
import "./assets/
|
|
5
|
+
import "./assets/index6.css";
|
|
6
6
|
var a = /* @__PURE__ */ ((s) => (s.DEFAULT = "default", s.QUIET = "quiet", s))(a || {});
|
|
7
7
|
const k = {
|
|
8
8
|
name: "bento-link",
|
|
@@ -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/index45.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.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as _, onMounted as C, toRefs as
|
|
2
|
-
import { f as A, b as p, e as
|
|
1
|
+
import { defineComponent as _, onMounted as C, toRefs as h, ref as E, computed as f, useAttrs as w, watch as x } from "vue";
|
|
2
|
+
import { f as A, b as p, e as c, d as r, c as T, B as y, a as B } from "./chunks/base-modal.193ce866.js";
|
|
3
3
|
import { u as v } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
4
|
-
import { F as
|
|
4
|
+
import { F as k } from "./chunks/footer-actions.08a8323b.js";
|
|
5
5
|
import { n as b } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
6
|
-
import { B as S } from "./chunks/button.
|
|
7
|
-
import { u as
|
|
8
|
-
import { BentoButtonActions as
|
|
9
|
-
const
|
|
6
|
+
import { B as S } from "./chunks/button.f3f05408.js";
|
|
7
|
+
import { u as R } from "./chunks/i18n.eb5b985b.js";
|
|
8
|
+
import { BentoButtonActions as N } from "./button.js";
|
|
9
|
+
const z = _({
|
|
10
10
|
name: "bento-modal-default",
|
|
11
|
-
components: { BaseModal: A, FooterActions:
|
|
11
|
+
components: { BaseModal: A, FooterActions: k },
|
|
12
12
|
props: {
|
|
13
13
|
/**
|
|
14
14
|
* Adds a cross icon on the right side of the alert
|
|
@@ -123,10 +123,10 @@ const N = _({
|
|
|
123
123
|
default: !1
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
|
-
emits: [
|
|
126
|
+
emits: [c.CLOSE_MODAL],
|
|
127
127
|
setup(e, { slots: t, emit: n }) {
|
|
128
128
|
const l = v(t), s = () => {
|
|
129
|
-
n(
|
|
129
|
+
n(c.CLOSE_MODAL);
|
|
130
130
|
};
|
|
131
131
|
return C(() => {
|
|
132
132
|
if (!(l("content") || l("content-col-1") && l("content-col-2")))
|
|
@@ -138,7 +138,7 @@ const N = _({
|
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
|
-
var
|
|
141
|
+
var V = function() {
|
|
142
142
|
var t = this, n = t._self._c;
|
|
143
143
|
return t._self._setupProxy, n("base-modal", t._b({ staticClass: "b-modal-default", attrs: { actions: t.actions, size: t.size, "hide-close-button": t.hideCloseButton, "custom-padding": t.customPadding, "is-dismissible": t.isDismissible, "is-open": t.isOpen, "overflow-visible": t.overflowVisible, "with-column-layout": t.withColumnLayout, "initially-open": t.initiallyOpen }, on: { "close-modal": t.onCloseModal }, scopedSlots: t._u([t.hasSlot("default") ? { key: "default", fn: function() {
|
|
144
144
|
return [t._t("default")];
|
|
@@ -153,24 +153,24 @@ var R = function() {
|
|
|
153
153
|
return [n("footer-actions", { attrs: { actions: t.actions, "actions-label": t.actionsLabel, "destructive-actions": t.destructiveActions } })];
|
|
154
154
|
})];
|
|
155
155
|
}, proxy: !0 } : null], null, !0) }, "base-modal", t.$attrs, !1));
|
|
156
|
-
},
|
|
157
|
-
N,
|
|
158
|
-
R,
|
|
156
|
+
}, P = [], $ = /* @__PURE__ */ b(
|
|
159
157
|
z,
|
|
158
|
+
V,
|
|
159
|
+
P,
|
|
160
160
|
!1,
|
|
161
161
|
null,
|
|
162
162
|
null,
|
|
163
163
|
null,
|
|
164
164
|
null
|
|
165
165
|
);
|
|
166
|
-
const
|
|
166
|
+
const F = $.exports, q = {
|
|
167
167
|
"en-US": {
|
|
168
168
|
okButtonText: "OK"
|
|
169
169
|
}
|
|
170
|
-
},
|
|
171
|
-
i18n: { messages:
|
|
170
|
+
}, I = _({
|
|
171
|
+
i18n: { messages: q },
|
|
172
172
|
name: "bento-modal-dialog",
|
|
173
|
-
components: { BaseModal: A, BentoButtonActions:
|
|
173
|
+
components: { BaseModal: A, BentoButtonActions: N },
|
|
174
174
|
props: {
|
|
175
175
|
/**
|
|
176
176
|
* Controls the modal's state from the outside. Set it to true to open the modal
|
|
@@ -240,76 +240,78 @@ const P = V.exports, $ = {
|
|
|
240
240
|
default: !1
|
|
241
241
|
}
|
|
242
242
|
},
|
|
243
|
-
emits: [
|
|
243
|
+
emits: [c.CLOSE_MODAL],
|
|
244
244
|
setup(e, { slots: t, emit: n }) {
|
|
245
|
-
const { t: l } =
|
|
246
|
-
n(
|
|
247
|
-
}, m = () => {
|
|
248
|
-
|
|
249
|
-
},
|
|
245
|
+
const { t: l } = R(), s = v(t), { actions: o, dialogType: a } = h(e), d = E(null), O = () => {
|
|
246
|
+
n(c.CLOSE_MODAL);
|
|
247
|
+
}, m = (i) => {
|
|
248
|
+
d.value.internalModalActionClose(i);
|
|
249
|
+
}, L = f(() => [
|
|
250
250
|
{
|
|
251
251
|
title: l("okButtonText"),
|
|
252
252
|
event: m,
|
|
253
253
|
variant: S.SECONDARY
|
|
254
254
|
}
|
|
255
|
-
]),
|
|
255
|
+
]), M = f(() => {
|
|
256
256
|
var g;
|
|
257
|
-
const
|
|
257
|
+
const i = {
|
|
258
258
|
title: "Cancel",
|
|
259
259
|
event: m
|
|
260
|
-
},
|
|
261
|
-
return a.value ===
|
|
260
|
+
}, u = (g = o == null ? void 0 : o.value) == null ? void 0 : g[0];
|
|
261
|
+
return a.value === r.DESTRUCTIVE ? u.critical = !0 : a.value === r.INFO && (u.variant = S.SECONDARY), [u, i];
|
|
262
262
|
}), D = f(() => ({
|
|
263
263
|
[`b-modal-dialog--${a.value}`]: a.value
|
|
264
264
|
}));
|
|
265
265
|
return C(() => {
|
|
266
|
-
var
|
|
266
|
+
var i, u;
|
|
267
267
|
if (!s("default") || !e.content && !s("content"))
|
|
268
268
|
throw new Error("Bento Modal Dialog requires header title and content");
|
|
269
|
-
if (((
|
|
269
|
+
if (((i = o == null ? void 0 : o.value) == null ? void 0 : i.length) > 1)
|
|
270
270
|
throw new Error("Not more than 1 action button may be provided to Modal Dialog");
|
|
271
|
-
if (a.value !==
|
|
271
|
+
if (a.value !== r.ACKNOWLEDGEMENT && !(o != null && o.value))
|
|
272
272
|
throw new Error(
|
|
273
273
|
"Modal Dialog, except ACKNOWLEDGEMENT type, always has to contain one action button"
|
|
274
274
|
);
|
|
275
|
-
if (a.value ===
|
|
275
|
+
if (a.value === r.ACKNOWLEDGEMENT && ((u = o == null ? void 0 : o.value) != null && u.length))
|
|
276
276
|
throw new Error("Acknowledgement Modal Dialog does not accept action buttons");
|
|
277
277
|
}), {
|
|
278
|
+
// Refs
|
|
279
|
+
modalRef: d,
|
|
278
280
|
// Values
|
|
279
|
-
dialogActions:
|
|
280
|
-
acknowledgementDialogActions:
|
|
281
|
+
dialogActions: M,
|
|
282
|
+
acknowledgementDialogActions: L,
|
|
281
283
|
// Methods
|
|
282
|
-
onCloseModal:
|
|
284
|
+
onCloseModal: O,
|
|
283
285
|
onCloseActionButton: m,
|
|
284
286
|
// Styles
|
|
285
287
|
modalDialogConditionalClasses: D,
|
|
286
288
|
// Enums
|
|
287
|
-
BentoModalRole:
|
|
289
|
+
BentoModalRole: T
|
|
288
290
|
};
|
|
289
291
|
}
|
|
290
292
|
});
|
|
291
|
-
var
|
|
293
|
+
var j = function() {
|
|
292
294
|
var t = this, n = t._self._c;
|
|
293
|
-
return t._self._setupProxy, n("base-modal", t._b({ staticClass: "b-modal-dialog", class: t.modalDialogConditionalClasses, attrs: { actions: t.actions, "hide-close-button": !0, size: "small", "is-dismissible": t.isDismissible, "is-open": t.isOpen, "overflow-visible": t.overflowVisible, "modal-role": t.BentoModalRole.ALERT_DIALOG, "initially-open": t.initiallyOpen }, on: { "close-modal": t.onCloseModal }, scopedSlots: t._u([{ key: "default", fn: function() {
|
|
295
|
+
return t._self._setupProxy, n("base-modal", t._b({ ref: "modalRef", staticClass: "b-modal-dialog", class: t.modalDialogConditionalClasses, attrs: { actions: t.actions, "hide-close-button": !0, size: "small", "is-dismissible": t.isDismissible, "is-open": t.isOpen, "overflow-visible": t.overflowVisible, "modal-role": t.BentoModalRole.ALERT_DIALOG, "initially-open": t.initiallyOpen }, on: { "close-modal": t.onCloseModal }, scopedSlots: t._u([{ key: "default", fn: function() {
|
|
294
296
|
return [t._t("default")];
|
|
295
297
|
}, proxy: !0 }, { key: "content", fn: function() {
|
|
296
298
|
return [t._v(" " + t._s(t.content) + " ")];
|
|
297
299
|
}, proxy: !0 }, { key: "actions", fn: function() {
|
|
298
300
|
return [t.dialogType === "acknowledgement" ? n("bento-button-actions", { attrs: { actions: t.acknowledgementDialogActions, layout: "buttons-end" } }) : n("bento-button-actions", { attrs: { actions: t.dialogActions, layout: "buttons-end" } })];
|
|
299
301
|
}, proxy: !0 }], null, !0) }, "base-modal", t.$attrs, !1));
|
|
300
|
-
},
|
|
301
|
-
F,
|
|
302
|
-
q,
|
|
302
|
+
}, G = [], U = /* @__PURE__ */ b(
|
|
303
303
|
I,
|
|
304
|
+
j,
|
|
305
|
+
G,
|
|
304
306
|
!1,
|
|
305
307
|
null,
|
|
306
308
|
null,
|
|
307
309
|
null,
|
|
308
310
|
null
|
|
309
311
|
);
|
|
310
|
-
const
|
|
312
|
+
const K = U.exports, W = 500, Y = _({
|
|
311
313
|
name: "bento-modal",
|
|
312
|
-
components: { BentoModalDefault:
|
|
314
|
+
components: { BentoModalDefault: F, BentoModalDialog: K },
|
|
313
315
|
props: {
|
|
314
316
|
/**
|
|
315
317
|
* Choose between default or dialog versions of modal
|
|
@@ -435,8 +437,8 @@ const G = j.exports, U = 500, K = _({
|
|
|
435
437
|
*/
|
|
436
438
|
dialogType: {
|
|
437
439
|
type: String,
|
|
438
|
-
default:
|
|
439
|
-
validator: (e) => Object.values(
|
|
440
|
+
default: r.CONFIRMATION,
|
|
441
|
+
validator: (e) => Object.values(r).includes(e)
|
|
440
442
|
},
|
|
441
443
|
/**
|
|
442
444
|
* Text that will be displayed in the content section of Modal
|
|
@@ -446,9 +448,9 @@ const G = j.exports, U = 500, K = _({
|
|
|
446
448
|
default: null
|
|
447
449
|
}
|
|
448
450
|
},
|
|
449
|
-
emits: [
|
|
451
|
+
emits: [c.CLOSE_MODAL],
|
|
450
452
|
setup(e, { slots: t, emit: n }) {
|
|
451
|
-
const l =
|
|
453
|
+
const l = w(), s = f(
|
|
452
454
|
() => e.variant === y.DEFAULT ? {
|
|
453
455
|
hideCloseButton: e.hideCloseButton,
|
|
454
456
|
size: e.size,
|
|
@@ -468,13 +470,13 @@ const G = j.exports, U = 500, K = _({
|
|
|
468
470
|
...l
|
|
469
471
|
}
|
|
470
472
|
), o = () => {
|
|
471
|
-
n(
|
|
473
|
+
n(c.CLOSE_MODAL);
|
|
472
474
|
};
|
|
473
|
-
return
|
|
475
|
+
return x(
|
|
474
476
|
() => e.actions,
|
|
475
477
|
() => {
|
|
476
|
-
var a,
|
|
477
|
-
((
|
|
478
|
+
var a, d;
|
|
479
|
+
((d = (a = e.actions) == null ? void 0 : a[0]) == null ? void 0 : d.state) === "success" && setTimeout(o, W);
|
|
478
480
|
}
|
|
479
481
|
), {
|
|
480
482
|
onCloseModal: o,
|
|
@@ -483,7 +485,7 @@ const G = j.exports, U = 500, K = _({
|
|
|
483
485
|
};
|
|
484
486
|
}
|
|
485
487
|
});
|
|
486
|
-
var
|
|
488
|
+
var H = function() {
|
|
487
489
|
var t = this, n = t._self._c;
|
|
488
490
|
return t._self._setupProxy, n(t.variant, t._b({ tag: "component", staticClass: "b-modal", attrs: { "is-open": t.isOpen, actions: t.actions, "initially-open": t.initiallyOpen }, on: { "close-modal": t.onCloseModal }, scopedSlots: t._u([t.hasSlot("default") ? { key: "default", fn: function() {
|
|
489
491
|
return [t._t("default")];
|
|
@@ -494,23 +496,23 @@ var W = function() {
|
|
|
494
496
|
}, proxy: !0 } : null, t.hasSlot("content") ? { key: "content", fn: function() {
|
|
495
497
|
return [t._t("content")];
|
|
496
498
|
}, proxy: !0 } : null], null, !0) }, "component", t.customProps, !1));
|
|
497
|
-
},
|
|
498
|
-
K,
|
|
499
|
-
W,
|
|
499
|
+
}, J = [], Q = /* @__PURE__ */ b(
|
|
500
500
|
Y,
|
|
501
|
+
H,
|
|
502
|
+
J,
|
|
501
503
|
!1,
|
|
502
504
|
null,
|
|
503
505
|
null,
|
|
504
506
|
null,
|
|
505
507
|
null
|
|
506
508
|
);
|
|
507
|
-
const
|
|
509
|
+
const st = Q.exports;
|
|
508
510
|
export {
|
|
509
|
-
|
|
511
|
+
st as BentoModal,
|
|
510
512
|
p as BentoModalColumnLayoutVariant,
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
513
|
+
r as BentoModalDialogType,
|
|
514
|
+
c as BentoModalEvent,
|
|
515
|
+
T as BentoModalRole,
|
|
514
516
|
B as BentoModalSize,
|
|
515
517
|
y as BentoModalVariant
|
|
516
518
|
};
|