@adyen/bento-vue2 1.96.1 → 1.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/index.d.ts +162 -127
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/country.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/date-time-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/navigation-menu-group.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/summary-grid.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.Chu-0oVy.js → action-bar.B890LCTe.js} +3 -3
- package/dist/chunks/{action-bar.Chu-0oVy.js.map → action-bar.B890LCTe.js.map} +1 -1
- package/dist/chunks/{ai-tag.DVmvni7U.js → ai-tag.C8RxACNj.js} +2 -2
- package/dist/chunks/{ai-tag.DVmvni7U.js.map → ai-tag.C8RxACNj.js.map} +1 -1
- package/dist/chunks/{alert.B4bHCE8V.js → alert.BDkEbdf4.js} +10 -10
- package/dist/chunks/{alert.B4bHCE8V.js.map → alert.BDkEbdf4.js.map} +1 -1
- package/dist/chunks/{base-modal.CC7gm9fc.js → base-modal.CDMoF3b_.js} +3 -3
- package/dist/chunks/{base-modal.CC7gm9fc.js.map → base-modal.CDMoF3b_.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BlOBDvdL.js → button-actions-with-menu.DqDQ_gVX.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.BlOBDvdL.js.map → button-actions-with-menu.DqDQ_gVX.js.map} +1 -1
- package/dist/chunks/{button-actions.D1jRC1fs.js → button-actions.DKc63aCb.js} +122 -110
- package/dist/chunks/{button-actions.D1jRC1fs.js.map → button-actions.DKc63aCb.js.map} +1 -1
- package/dist/chunks/calendar.BckAv9N_.js +1235 -0
- package/dist/chunks/calendar.BckAv9N_.js.map +1 -0
- package/dist/chunks/{card.ErZLKN0q.js → card.ChBURa5R.js} +2 -2
- package/dist/chunks/{card.ErZLKN0q.js.map → card.ChBURa5R.js.map} +1 -1
- package/dist/chunks/{checkbox-group.CNTMMwQr.js → checkbox-group.BAjvgXlc.js} +2 -2
- package/dist/chunks/{checkbox-group.CNTMMwQr.js.map → checkbox-group.BAjvgXlc.js.map} +1 -1
- package/dist/chunks/{checkbox.BIzqX_eH.js → checkbox.BAQDBNL6.js} +18 -18
- package/dist/chunks/{checkbox.BIzqX_eH.js.map → checkbox.BAQDBNL6.js.map} +1 -1
- package/dist/chunks/{code-snippet.lcQRsLdZ.js → code-snippet.nUo9bjhC.js} +3 -3
- package/dist/chunks/{code-snippet.lcQRsLdZ.js.map → code-snippet.nUo9bjhC.js.map} +1 -1
- package/dist/chunks/{country.BEwW8TQo.js → country.nGZJwp_A.js} +2 -2
- package/dist/chunks/country.nGZJwp_A.js.map +1 -0
- package/dist/chunks/{dashboard-section.DiGQXS9L.js → dashboard-section.BDDVJpxY.js} +2 -2
- package/dist/chunks/{dashboard-section.DiGQXS9L.js.map → dashboard-section.BDDVJpxY.js.map} +1 -1
- package/dist/chunks/{dashed-underline.Cl07OQID.js → dashed-underline.CfEmbgOv.js} +2 -2
- package/dist/chunks/{dashed-underline.Cl07OQID.js.map → dashed-underline.CfEmbgOv.js.map} +1 -1
- package/dist/chunks/{data-grid-template.BVppx9kZ.js → data-grid-template.BUlLHTYe.js} +2 -2
- package/dist/chunks/{data-grid-template.BVppx9kZ.js.map → data-grid-template.BUlLHTYe.js.map} +1 -1
- package/dist/chunks/{data-grid.DQwAkw4U.js → data-grid.0OiCQjFc.js} +28 -29
- package/dist/chunks/{data-grid.DQwAkw4U.js.map → data-grid.0OiCQjFc.js.map} +1 -1
- package/dist/chunks/date-picker.CsFSskqf.js +245 -0
- package/dist/chunks/date-picker.CsFSskqf.js.map +1 -0
- package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
- package/dist/chunks/date-range-picker.Bczgdu5X.js +1250 -0
- package/dist/chunks/date-range-picker.Bczgdu5X.js.map +1 -0
- package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
- package/dist/chunks/date-time-picker.DT54TiG4.js +177 -0
- package/dist/chunks/date-time-picker.DT54TiG4.js.map +1 -0
- package/dist/chunks/{draggable-handle.DIhHtHG9.js → draggable-handle.DwJBaf5y.js} +2 -2
- package/dist/chunks/{draggable-handle.DIhHtHG9.js.map → draggable-handle.DwJBaf5y.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.CuDxdSfb.js → dropdown-tag.BqSrkuwj.js} +2 -2
- package/dist/chunks/{dropdown-tag.CuDxdSfb.js.map → dropdown-tag.BqSrkuwj.js.map} +1 -1
- package/dist/chunks/dropdown.CIEm6MBB.js +2660 -0
- package/dist/chunks/dropdown.CIEm6MBB.js.map +1 -0
- package/dist/chunks/{file-uploader.CO2MeHwl.js → file-uploader.DOvQMUHC.js} +2 -2
- package/dist/chunks/{file-uploader.CO2MeHwl.js.map → file-uploader.DOvQMUHC.js.map} +1 -1
- package/dist/chunks/{filter-bar.DQ9fJXq1.js → filter-bar.DVRPM9tf.js} +318 -319
- package/dist/chunks/filter-bar.DVRPM9tf.js.map +1 -0
- package/dist/chunks/{footer-actions.CZE9dcmA.js → footer-actions.C1sXd7ti.js} +2 -2
- package/dist/chunks/{footer-actions.CZE9dcmA.js.map → footer-actions.C1sXd7ti.js.map} +1 -1
- package/dist/chunks/{form-layout-title.CXXdsiK5.js → form-layout-title.xrix5vY3.js} +2 -2
- package/dist/chunks/{form-layout-title.CXXdsiK5.js.map → form-layout-title.xrix5vY3.js.map} +1 -1
- package/dist/chunks/{header-meta.6rZdOgXD.js → header-meta.D1eb37QJ.js} +2 -2
- package/dist/chunks/{header-meta.6rZdOgXD.js.map → header-meta.D1eb37QJ.js.map} +1 -1
- package/dist/chunks/{header-with-views.4VNHbNk0.js → header-with-views.Bk6ly102.js} +8 -8
- package/dist/chunks/{header-with-views.4VNHbNk0.js.map → header-with-views.Bk6ly102.js.map} +1 -1
- package/dist/chunks/{header.BsroOD5b.js → header.CszOmM16.js} +3 -3
- package/dist/chunks/{header.BsroOD5b.js.map → header.CszOmM16.js.map} +1 -1
- package/dist/chunks/{input-field-password.CRqYWZGS.js → input-field-password.C4Wxsl16.js} +3 -3
- package/dist/chunks/{input-field-password.CRqYWZGS.js.map → input-field-password.C4Wxsl16.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.DHiuL0cF.js → input-field-phone-number.BhYTU628.js} +2 -2
- package/dist/chunks/{input-field-phone-number.DHiuL0cF.js.map → input-field-phone-number.BhYTU628.js.map} +1 -1
- package/dist/chunks/{input-field.BkQZ6Qzl.js → input-field.3tzX7t2y.js} +2 -2
- package/dist/chunks/{input-field.BkQZ6Qzl.js.map → input-field.3tzX7t2y.js.map} +1 -1
- package/dist/chunks/{input-time.BiOHvUEA.js → input-time.Bf-ZrCPX.js} +34 -34
- package/dist/chunks/{input-time.BiOHvUEA.js.map → input-time.Bf-ZrCPX.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.OS6KhVdg.js → modal-fullscreen.Dg1Hi3jB.js} +2 -2
- package/dist/chunks/{modal-fullscreen.OS6KhVdg.js.map → modal-fullscreen.Dg1Hi3jB.js.map} +1 -1
- package/dist/chunks/{modal.DHL3TGHv.js → modal.DZTEFM_E.js} +4 -4
- package/dist/chunks/{modal.DHL3TGHv.js.map → modal.DZTEFM_E.js.map} +1 -1
- package/dist/chunks/{pagination.DItyAwy1.js → pagination.C6HIPq58.js} +2 -2
- package/dist/chunks/{pagination.DItyAwy1.js.map → pagination.C6HIPq58.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.D5URbwnM.js → rich-text-editor.-B96ibAd.js} +3 -3
- package/dist/chunks/{rich-text-editor.D5URbwnM.js.map → rich-text-editor.-B96ibAd.js.map} +1 -1
- package/dist/chunks/{search-bar.D-WK8eMQ.js → search-bar.DunTxVmZ.js} +5 -5
- package/dist/chunks/{search-bar.D-WK8eMQ.js.map → search-bar.DunTxVmZ.js.map} +1 -1
- package/dist/chunks/{secondary-nav.C7lEDaoj.js → secondary-nav.CGGPkYpc.js} +2 -2
- package/dist/chunks/{secondary-nav.C7lEDaoj.js.map → secondary-nav.CGGPkYpc.js.map} +1 -1
- package/dist/chunks/{selection-card-group.CiFW4AZR.js → selection-card-group.ZZ_qF1L1.js} +8 -8
- package/dist/chunks/{selection-card-group.CiFW4AZR.js.map → selection-card-group.ZZ_qF1L1.js.map} +1 -1
- package/dist/chunks/{sidepanel.B8zQp_MJ.js → sidepanel.ChuW63J7.js} +3 -3
- package/dist/chunks/{sidepanel.B8zQp_MJ.js.map → sidepanel.ChuW63J7.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.CkqRXOKv.js → summary-grid.types.BnEhhDQz.js} +3 -3
- package/dist/chunks/summary-grid.types.BnEhhDQz.js.map +1 -0
- package/dist/chunks/{timeline-item.sdxvTjmS.js → timeline-item.DzMh520x.js} +3 -3
- package/dist/chunks/{timeline-item.sdxvTjmS.js.map → timeline-item.DzMh520x.js.map} +1 -1
- package/dist/chunks/{tutorial.Ba9dqb2j.js → tutorial.CkeL_7Je.js} +2 -2
- package/dist/chunks/{tutorial.Ba9dqb2j.js.map → tutorial.CkeL_7Je.js.map} +1 -1
- package/dist/chunks/use-bento-delayed-hover.D4rfUUOr.js.map +1 -1
- package/dist/chunks/{use-date-input-formatter.B5GQd3s2.js → use-date-input-formatter.Dq9C0nc9.js} +2 -2
- package/dist/chunks/{use-date-input-formatter.B5GQd3s2.js.map → use-date-input-formatter.Dq9C0nc9.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date-time-picker.js +1 -1
- package/dist/draggable.js +1 -1
- package/dist/dropdown.js +10 -11
- package/dist/dropdown.js.map +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +269 -270
- package/dist/index.js.map +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/input-time.js +1 -1
- package/dist/internal.js +13 -13
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +205 -2
- package/package.json +3 -3
- package/dist/assets/use-cached-selected-values.css +0 -1
- package/dist/chunks/calendar.D0JIbmoS.js +0 -1151
- package/dist/chunks/calendar.D0JIbmoS.js.map +0 -1
- package/dist/chunks/country.BEwW8TQo.js.map +0 -1
- package/dist/chunks/date-picker.BWxvyK5J.js +0 -245
- package/dist/chunks/date-picker.BWxvyK5J.js.map +0 -1
- package/dist/chunks/date-range-picker.gfRJmzXn.js +0 -1114
- package/dist/chunks/date-range-picker.gfRJmzXn.js.map +0 -1
- package/dist/chunks/date-time-picker.BIl9kFLh.js +0 -129
- package/dist/chunks/date-time-picker.BIl9kFLh.js.map +0 -1
- package/dist/chunks/dropdown.C70AlvOT.js +0 -1155
- package/dist/chunks/dropdown.C70AlvOT.js.map +0 -1
- package/dist/chunks/filter-bar.DQ9fJXq1.js.map +0 -1
- package/dist/chunks/summary-grid.types.CkqRXOKv.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.D0s14AxT.js +0 -1520
- package/dist/chunks/use-cached-selected-values.D0s14AxT.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as g, useSlots as T, computed as
|
|
2
|
-
import { B as
|
|
1
|
+
import { defineComponent as g, useSlots as T, computed as m, onMounted as M, onUnmounted as j, useAttrs as ie, inject as k, ref as f, toRefs as re, watch as G, nextTick as P, toRef as Y, provide as le } from "vue";
|
|
2
|
+
import { B as b } from "./button.DITA6YtS.js";
|
|
3
3
|
import { B as ue } from "./loading-indicator.PxbRzshH.js";
|
|
4
4
|
import { C as ce } from "./cross-circle-fill.DTDtgLMf.js";
|
|
5
5
|
import { C as de } from "./checkmark-circle-fill.BttTCjrM.js";
|
|
@@ -11,8 +11,8 @@ import { B as z, D as fe } from "./divider.DX5gwN7p.js";
|
|
|
11
11
|
import { C as pe } from "./cross.CC_B-vG-.js";
|
|
12
12
|
import { B as X, c as $, p as me } from "./typography.C8lPlsbD.js";
|
|
13
13
|
import { a as _e, P as ve, b as ye } from "./popper-container.CFYFCz6u.js";
|
|
14
|
-
import { u as
|
|
15
|
-
import { o as
|
|
14
|
+
import { u as he } from "./aria-label.CaUURpnB.js";
|
|
15
|
+
import { o as be } from "./on-click-outside.Cy1eFULD.js";
|
|
16
16
|
import { g as ge } from "./generate-uid.NJ8tVoha.js";
|
|
17
17
|
import { C as Ce } from "./chevron-down.eYtgv5ly.js";
|
|
18
18
|
/* empty css */
|
|
@@ -74,21 +74,21 @@ const xe = {
|
|
|
74
74
|
* Reduces sizing of button
|
|
75
75
|
*/
|
|
76
76
|
condensed: {
|
|
77
|
-
type:
|
|
77
|
+
type: b.props.condensed.type,
|
|
78
78
|
default: !1
|
|
79
79
|
},
|
|
80
80
|
/**
|
|
81
81
|
* Displays loading-button as critical
|
|
82
82
|
*/
|
|
83
83
|
critical: {
|
|
84
|
-
type:
|
|
84
|
+
type: b.props.critical.type,
|
|
85
85
|
default: !1
|
|
86
86
|
},
|
|
87
87
|
/**
|
|
88
88
|
* Disables button functonality
|
|
89
89
|
*/
|
|
90
90
|
disabled: {
|
|
91
|
-
type:
|
|
91
|
+
type: b.props.disabled.type,
|
|
92
92
|
default: !1
|
|
93
93
|
},
|
|
94
94
|
/**
|
|
@@ -111,26 +111,26 @@ const xe = {
|
|
|
111
111
|
* Types of flavour of Button
|
|
112
112
|
*/
|
|
113
113
|
variant: {
|
|
114
|
-
type:
|
|
114
|
+
type: b.props.variant.type,
|
|
115
115
|
default: "primary",
|
|
116
|
-
validator:
|
|
116
|
+
validator: b.props.variant.validator
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
emits: ["click"],
|
|
120
120
|
setup(o, { emit: e }) {
|
|
121
|
-
const n = o, t = T(), s = D(t), { t: i } = J(),
|
|
121
|
+
const n = o, t = T(), s = D(t), { t: i } = J(), p = m(() => ({
|
|
122
122
|
[`b-loading-button--${n.variant}-${B.LOADING}`]: n.state === B.LOADING && !n.disabled,
|
|
123
123
|
"b-loading-button--loading": n.state === B.LOADING && !n.disabled,
|
|
124
124
|
[`b-loading-button--${n.variant}-${B.SUCCESS}`]: n.state === B.SUCCESS,
|
|
125
125
|
"b-loading-button--inverse": n.inverse
|
|
126
|
-
})), l =
|
|
126
|
+
})), l = m(
|
|
127
127
|
() => n.variant === "primary" && !n.inverse || n.variant !== "primary" && n.inverse
|
|
128
|
-
), u =
|
|
128
|
+
), u = m(
|
|
129
129
|
() => n.critical && n.state === B.START || n.state === B.FAIL
|
|
130
130
|
);
|
|
131
|
-
return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: i, conditionalClasses:
|
|
131
|
+
return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: i, conditionalClasses: p, isInverseLoadingIndicator: l, isCritical: u, onClick: (r) => {
|
|
132
132
|
r.stopPropagation(), n.state !== B.LOADING && e("click", r);
|
|
133
|
-
}, BentoLoadingIndicator: ue, BentoButton:
|
|
133
|
+
}, BentoLoadingIndicator: ue, BentoButton: b, Cross: ce, Checkmark: de };
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
var Te = function() {
|
|
@@ -158,14 +158,14 @@ const Re = we.exports, Ne = {}, Ae = /* @__PURE__ */ g({
|
|
|
158
158
|
* Reduces sizing of button
|
|
159
159
|
*/
|
|
160
160
|
condensed: {
|
|
161
|
-
type:
|
|
161
|
+
type: b.props.condensed.type,
|
|
162
162
|
default: !1
|
|
163
163
|
},
|
|
164
164
|
/**
|
|
165
165
|
* Disables button functonality
|
|
166
166
|
*/
|
|
167
167
|
disabled: {
|
|
168
|
-
type:
|
|
168
|
+
type: b.props.disabled.type,
|
|
169
169
|
default: !1
|
|
170
170
|
},
|
|
171
171
|
/**
|
|
@@ -180,9 +180,9 @@ const Re = we.exports, Ne = {}, Ae = /* @__PURE__ */ g({
|
|
|
180
180
|
* @values primary, secondary, tertiary
|
|
181
181
|
*/
|
|
182
182
|
variant: {
|
|
183
|
-
type:
|
|
183
|
+
type: b.props.variant.type,
|
|
184
184
|
default: "primary",
|
|
185
|
-
validator:
|
|
185
|
+
validator: b.props.variant.validator
|
|
186
186
|
},
|
|
187
187
|
/**
|
|
188
188
|
* The state of the button whether it is toggled or not.
|
|
@@ -194,16 +194,16 @@ const Re = we.exports, Ne = {}, Ae = /* @__PURE__ */ g({
|
|
|
194
194
|
},
|
|
195
195
|
emits: ["click", "update:toggled"],
|
|
196
196
|
setup(o, { emit: e }) {
|
|
197
|
-
const n = o, t =
|
|
197
|
+
const n = o, t = m(
|
|
198
198
|
() => n.variant === "tertiary" ? "tertiary-with-background" : n.variant
|
|
199
|
-
), s =
|
|
199
|
+
), s = m(() => ({
|
|
200
200
|
"b-toggle-button--condensed": n == null ? void 0 : n.condensed,
|
|
201
201
|
[`b-toggle-button--${t.value}-toggled`]: n.toggled,
|
|
202
202
|
"b-toggle-button--inverse": n.inverse
|
|
203
203
|
})), i = (u) => {
|
|
204
204
|
u.stopPropagation(), n != null && n.disabled || (e("click", u), e("update:toggled", !n.toggled));
|
|
205
|
-
},
|
|
206
|
-
return { __sfc: !0, props: n, emit: e, computedVariant: t, conditionalClasses: s, onClick: i, slots:
|
|
205
|
+
}, p = T();
|
|
206
|
+
return { __sfc: !0, props: n, emit: e, computedVariant: t, conditionalClasses: s, onClick: i, slots: p, getSlotKeyIfVue3: (u) => ({}), BentoButton: b };
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
209
|
var Pe = function() {
|
|
@@ -225,7 +225,7 @@ var Pe = function() {
|
|
|
225
225
|
);
|
|
226
226
|
const $e = Fe.exports, Ue = g({
|
|
227
227
|
name: "bento-popover-dismiss-button",
|
|
228
|
-
components: { BentoButton:
|
|
228
|
+
components: { BentoButton: b, CrossIcon: pe },
|
|
229
229
|
props: {
|
|
230
230
|
onImage: {
|
|
231
231
|
type: Boolean,
|
|
@@ -235,7 +235,7 @@ const $e = Fe.exports, Ue = g({
|
|
|
235
235
|
setup(o) {
|
|
236
236
|
return {
|
|
237
237
|
// Values
|
|
238
|
-
conditionalClass:
|
|
238
|
+
conditionalClass: m(() => ({ "b-popover-dismiss-button--on-image": o.onImage }))
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
241
|
});
|
|
@@ -267,7 +267,7 @@ const je = Ve.exports, Ge = g({
|
|
|
267
267
|
title: { type: String, default: null }
|
|
268
268
|
},
|
|
269
269
|
setup(o) {
|
|
270
|
-
const e =
|
|
270
|
+
const e = m(() => !o.isImageTitle), n = m(
|
|
271
271
|
() => o.isImageTitle ? $.SUBTITLE : $.BODY
|
|
272
272
|
);
|
|
273
273
|
return {
|
|
@@ -291,7 +291,7 @@ var Ye = function() {
|
|
|
291
291
|
const ze = He.exports, Xe = (o, e, n = {}) => {
|
|
292
292
|
let t;
|
|
293
293
|
M(() => {
|
|
294
|
-
t =
|
|
294
|
+
t = be(o, e, n);
|
|
295
295
|
}), j(() => {
|
|
296
296
|
t && (t(), t = null);
|
|
297
297
|
});
|
|
@@ -322,28 +322,28 @@ const ze = He.exports, Xe = (o, e, n = {}) => {
|
|
|
322
322
|
},
|
|
323
323
|
emits: ["dismiss", "placement"],
|
|
324
324
|
setup(o, { emit: e }) {
|
|
325
|
-
const n = o, t = 2, s = T(), i = ie(),
|
|
325
|
+
const n = o, t = 2, s = T(), i = ie(), p = m(() => {
|
|
326
326
|
var O;
|
|
327
327
|
return {
|
|
328
328
|
id: (O = i.id) == null ? void 0 : O.toString(),
|
|
329
329
|
role: (i == null ? void 0 : i.role) === null ? void 0 : _e.POPOVER
|
|
330
330
|
};
|
|
331
|
-
}), l = k(Qe, t), u =
|
|
331
|
+
}), l = k(Qe, t), u = f(i["aria-label"]), { ariaLabel: a, title: r } = re(n), c = he({
|
|
332
332
|
ariaLabel: u.value,
|
|
333
333
|
// TODO: take this line away when the aria-label props is removed
|
|
334
334
|
label: a,
|
|
335
335
|
defaultFallback: r
|
|
336
|
-
}),
|
|
336
|
+
}), d = k(Ze, !1) || k(qe, !1), _ = m(() => ({
|
|
337
337
|
"b-popover--small": n.small && !n.large,
|
|
338
338
|
"b-popover--with-divider": !!n.divider,
|
|
339
339
|
"b-popover--large": n.large && !n.small,
|
|
340
340
|
"b-popover--fit-content": n.fitContent,
|
|
341
341
|
"b-popover--without-space": n.withoutSpace,
|
|
342
|
-
"b-popover--overflow-visible": n.overflowVisible ||
|
|
343
|
-
})), y =
|
|
342
|
+
"b-popover--overflow-visible": n.overflowVisible || d
|
|
343
|
+
})), y = m(() => ({
|
|
344
344
|
"b-popover__content--with-title": !!n.title
|
|
345
345
|
})), I = () => e("dismiss"), E = D(s);
|
|
346
|
-
return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: i, computedAttributes:
|
|
346
|
+
return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: i, computedAttributes: p, offset: l, ariaLabelAttribute: u, ariaLabel: a, title: r, computedAriaLabel: c, isOverflowVisible: d, conditionalClasses: _, contentConditionalClasses: y, dismissPopover: I, hasSlot: E, BentoPopoverDismissButton: je, BentoPopoverTitle: ze, BentoButtonActions: Qt, PopperContainer: ve };
|
|
347
347
|
}
|
|
348
348
|
});
|
|
349
349
|
var nt = function() {
|
|
@@ -471,7 +471,7 @@ const at = ot.exports, q = /* @__PURE__ */ Symbol("modal injection key"), Z = /*
|
|
|
471
471
|
}), rt = /* @__PURE__ */ g({
|
|
472
472
|
...it,
|
|
473
473
|
setup(o) {
|
|
474
|
-
const e = k(q, ""), n = k(Q, ""), t = k(Z, ""), s =
|
|
474
|
+
const e = k(q, ""), n = k(Q, ""), t = k(Z, ""), s = m(() => {
|
|
475
475
|
const i = e || n || t;
|
|
476
476
|
return i ? `#${i}` : "body";
|
|
477
477
|
});
|
|
@@ -579,22 +579,22 @@ const vt = _t.exports, yt = g({
|
|
|
579
579
|
},
|
|
580
580
|
emits: [W.CLICK],
|
|
581
581
|
setup(o, { emit: e }) {
|
|
582
|
-
const t =
|
|
582
|
+
const t = m(() => ({
|
|
583
583
|
"b-menu-item--critical": o.critical,
|
|
584
584
|
"b-menu-item--indent": o.indent
|
|
585
|
-
})), s =
|
|
585
|
+
})), s = m(() => Be(o.secondaryText, 10));
|
|
586
586
|
return {
|
|
587
587
|
// Values
|
|
588
588
|
conditionalClasses: t,
|
|
589
589
|
computedSecondaryText: s,
|
|
590
590
|
// Methods
|
|
591
|
-
onClick: (
|
|
592
|
-
|
|
591
|
+
onClick: (p) => {
|
|
592
|
+
p.stopPropagation(), o.handler(), e(W.CLICK);
|
|
593
593
|
}
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
596
|
});
|
|
597
|
-
var
|
|
597
|
+
var ht = function() {
|
|
598
598
|
var e = this, n = e._self._c;
|
|
599
599
|
return e._self._setupProxy, n("base-button", { staticClass: "b-menu-item", class: e.conditionalClasses, attrs: { role: "menuitem", disabled: e.disabled, tabindex: "-1" }, on: { click: e.onClick }, scopedSlots: e._u([e.icon ? { key: "iconLeft", fn: function() {
|
|
600
600
|
return [n(e.icon, { tag: "component", staticClass: "b-menu-item__icon-left", attrs: { "aria-hidden": "true" } })];
|
|
@@ -603,10 +603,10 @@ var bt = function() {
|
|
|
603
603
|
}, proxy: !0 }, e.chevron ? { key: "iconRight", fn: function() {
|
|
604
604
|
return [n("chevron-right-icon", { attrs: { "aria-hidden": "true" } })];
|
|
605
605
|
}, proxy: !0 } : null], null, !0) });
|
|
606
|
-
},
|
|
606
|
+
}, bt = [], gt = /* @__PURE__ */ C(
|
|
607
607
|
yt,
|
|
608
|
-
bt,
|
|
609
608
|
ht,
|
|
609
|
+
bt,
|
|
610
610
|
!1,
|
|
611
611
|
null,
|
|
612
612
|
"a173cbf5"
|
|
@@ -619,7 +619,7 @@ const Ct = /* @__PURE__ */ Symbol("menu registering injection key"), kt = {
|
|
|
619
619
|
}, It = /* @__PURE__ */ g({
|
|
620
620
|
...kt,
|
|
621
621
|
setup(o) {
|
|
622
|
-
const e =
|
|
622
|
+
const e = f(), n = f({}), t = k(Ct, !1);
|
|
623
623
|
if (t) {
|
|
624
624
|
const { registerMenuContainerElement: s } = t;
|
|
625
625
|
s(e), n.value = {
|
|
@@ -697,11 +697,11 @@ const te = St.exports, ne = {
|
|
|
697
697
|
},
|
|
698
698
|
emits: [S.CLOSE, S.BACK],
|
|
699
699
|
setup(o, { emit: e }) {
|
|
700
|
-
const n =
|
|
701
|
-
var
|
|
702
|
-
const
|
|
703
|
-
...
|
|
704
|
-
indent: !
|
|
700
|
+
const n = f(null), t = f(0), s = f(o.items.length), i = () => e(S.CLOSE), p = () => e(S.BACK), l = m(() => {
|
|
701
|
+
var d;
|
|
702
|
+
const c = (d = o.items) == null ? void 0 : d.map((_) => ({
|
|
703
|
+
..._,
|
|
704
|
+
indent: !_.icon,
|
|
705
705
|
isTitle: !1,
|
|
706
706
|
clickHandler: i
|
|
707
707
|
}));
|
|
@@ -714,15 +714,15 @@ const te = St.exports, ne = {
|
|
|
714
714
|
isTitle: !0,
|
|
715
715
|
disabled: !1,
|
|
716
716
|
indent: !1,
|
|
717
|
-
handler:
|
|
718
|
-
clickHandler:
|
|
717
|
+
handler: p,
|
|
718
|
+
clickHandler: p,
|
|
719
719
|
addDivider: !0
|
|
720
720
|
},
|
|
721
|
-
...
|
|
721
|
+
...c
|
|
722
722
|
];
|
|
723
723
|
}), u = async () => {
|
|
724
|
-
var d, _,
|
|
725
|
-
(I = (y = (
|
|
724
|
+
var c, d, _, y, I;
|
|
725
|
+
(I = (y = (_ = (d = (c = n.value) == null ? void 0 : c.children) == null ? void 0 : d[t.value]) == null ? void 0 : _.children) == null ? void 0 : y[0]) == null || I.focus();
|
|
726
726
|
};
|
|
727
727
|
M(async () => {
|
|
728
728
|
setTimeout(() => u(), 150);
|
|
@@ -742,7 +742,7 @@ const te = St.exports, ne = {
|
|
|
742
742
|
computedItems: l,
|
|
743
743
|
// Methods
|
|
744
744
|
closeMenu: i,
|
|
745
|
-
onBackButton:
|
|
745
|
+
onBackButton: p,
|
|
746
746
|
focusPrevious: a,
|
|
747
747
|
focusNext: r
|
|
748
748
|
};
|
|
@@ -772,27 +772,27 @@ function ae(o) {
|
|
|
772
772
|
return Math.max(oe, Math.min(o, se));
|
|
773
773
|
}
|
|
774
774
|
function wt(o, e, n, t) {
|
|
775
|
-
const s =
|
|
775
|
+
const s = f(0), i = f(0), p = (a) => {
|
|
776
776
|
if (!a || !a.parentElement)
|
|
777
777
|
return;
|
|
778
|
-
const r = a.parentElement,
|
|
779
|
-
|
|
780
|
-
const
|
|
781
|
-
s.value =
|
|
782
|
-
const y =
|
|
783
|
-
i.value = y, r.removeChild(
|
|
778
|
+
const r = a.parentElement, c = a.cloneNode(!0);
|
|
779
|
+
c.style.position = "absolute", c.style.visibility = "hidden", r.appendChild(c), c.style.width = "max-content";
|
|
780
|
+
const d = c.offsetWidth, _ = Math.max(oe, Math.min(d, se));
|
|
781
|
+
s.value = _, c.style.width = `${_}px`;
|
|
782
|
+
const y = c.offsetHeight;
|
|
783
|
+
i.value = y, r.removeChild(c), i.value = y;
|
|
784
784
|
};
|
|
785
785
|
G([e, n], async ([a]) => {
|
|
786
|
-
var r,
|
|
786
|
+
var r, c;
|
|
787
787
|
if (a !== null) {
|
|
788
788
|
await P();
|
|
789
|
-
const
|
|
790
|
-
|
|
789
|
+
const d = (c = (r = o.value) == null ? void 0 : r[0]) == null ? void 0 : c.$el;
|
|
790
|
+
d && p(d);
|
|
791
791
|
} else
|
|
792
792
|
s.value = 0, i.value = 0;
|
|
793
793
|
});
|
|
794
|
-
const l =
|
|
795
|
-
return { computedStyle:
|
|
794
|
+
const l = m(() => t != null && t.value ? ae(t.value) : 0);
|
|
795
|
+
return { computedStyle: m(() => {
|
|
796
796
|
const a = {
|
|
797
797
|
width: l.value > 0 ? `${l.value}px` : "max-content"
|
|
798
798
|
};
|
|
@@ -841,28 +841,28 @@ const Rt = g({
|
|
|
841
841
|
},
|
|
842
842
|
emits: [S.CLOSE, "menu-item-click"],
|
|
843
843
|
setup(o, { emit: e, expose: n }) {
|
|
844
|
-
const t =
|
|
844
|
+
const t = f(null), s = f(null), i = f(null), p = f(null), l = f(!1), u = f(null), a = f(o.focusLastElement ? o.data.length - 1 : 0), r = f(0), c = f(o.data.length - 1), d = m(() => o.data.some((h) => h.icon)), _ = m(() => o.indentItems || d.value ? o.data.map((h) => {
|
|
845
845
|
let v = !1;
|
|
846
|
-
return
|
|
847
|
-
...
|
|
846
|
+
return h.icon || (v = !0), {
|
|
847
|
+
...h,
|
|
848
848
|
indent: v
|
|
849
849
|
};
|
|
850
850
|
}) : o.data), y = async () => {
|
|
851
|
-
var
|
|
852
|
-
(x = (v = (
|
|
853
|
-
}, I = () => e(S.CLOSE), E = (
|
|
854
|
-
if (
|
|
851
|
+
var h, v, x;
|
|
852
|
+
(x = (v = (h = s.value) == null ? void 0 : h.children[a.value]) == null ? void 0 : v.children[0]) == null || x.focus();
|
|
853
|
+
}, I = () => e(S.CLOSE), E = (h, v) => {
|
|
854
|
+
if (h.items) {
|
|
855
855
|
u.value = v, l.value = !0;
|
|
856
856
|
return;
|
|
857
857
|
}
|
|
858
|
-
u.value = v, l.value = !1, !
|
|
858
|
+
u.value = v, l.value = !1, !h.skipClose && o.closeMenuOnItemSelect !== !1 && I(), e("menu-item-click");
|
|
859
859
|
}, O = () => {
|
|
860
|
-
a.value > 0 ? (a.value -= 1,
|
|
860
|
+
a.value > 0 ? (a.value -= 1, _.value[a.value].disabled && O()) : a.value = c.value, y();
|
|
861
861
|
}, L = () => {
|
|
862
|
-
a.value <
|
|
863
|
-
}, w = (
|
|
862
|
+
a.value < c.value ? (a.value += 1, _.value[a.value].disabled && L()) : a.value = 0, y();
|
|
863
|
+
}, w = (h, v) => {
|
|
864
864
|
var x;
|
|
865
|
-
(x =
|
|
865
|
+
(x = h == null ? void 0 : h.items) != null && x.length && (u.value = v, l.value = !0);
|
|
866
866
|
}, R = () => {
|
|
867
867
|
u.value && l.value && (u.value = null, l.value = !1);
|
|
868
868
|
}, N = () => {
|
|
@@ -872,7 +872,7 @@ const Rt = g({
|
|
|
872
872
|
focusItem: y
|
|
873
873
|
});
|
|
874
874
|
const { computedStyle: A } = wt(
|
|
875
|
-
|
|
875
|
+
p,
|
|
876
876
|
u,
|
|
877
877
|
l,
|
|
878
878
|
Y(o, "popoverWidth")
|
|
@@ -881,9 +881,9 @@ const Rt = g({
|
|
|
881
881
|
// Values
|
|
882
882
|
menuItemListRef: s,
|
|
883
883
|
menuItemListWrapperRef: i,
|
|
884
|
-
subMenuItemListRef:
|
|
884
|
+
subMenuItemListRef: p,
|
|
885
885
|
menuItemRef: t,
|
|
886
|
-
computedData:
|
|
886
|
+
computedData: _,
|
|
887
887
|
computedStyle: A,
|
|
888
888
|
focusedIndex: a,
|
|
889
889
|
subMenuFocusedIndex: r,
|
|
@@ -911,12 +911,12 @@ var Nt = function() {
|
|
|
911
911
|
}, function(t) {
|
|
912
912
|
return !t.type.indexOf("key") && e._k(t.keyCode, "tab", 9, t.key, "Tab") ? null : e.closeMenu.apply(null, arguments);
|
|
913
913
|
}] } }, e._l(e.computedData, function(t, s) {
|
|
914
|
-
var i,
|
|
914
|
+
var i, p, l, u;
|
|
915
915
|
return n("li", { key: `menu-item-${s}`, ref: "menuItemRef", refInFor: !0, staticClass: "b-menu-item-list__item", attrs: { role: "none" }, on: { keydown: [function(a) {
|
|
916
916
|
return !a.type.indexOf("key") && e._k(a.keyCode, "right", 39, a.key, ["Right", "ArrowRight"]) || "button" in a && a.button !== 2 ? null : e.focusRight(t, s);
|
|
917
917
|
}, function(a) {
|
|
918
918
|
return !a.type.indexOf("key") && e._k(a.keyCode, "left", 37, a.key, ["Left", "ArrowLeft"]) || "button" in a && a.button !== 0 ? null : e.focusLeft();
|
|
919
|
-
}] } }, [n("menu-item", { attrs: { text: t.text, handler: (i = t.items) != null && i.length ? () => null : t.handler, "secondary-text": t.secondaryText, icon: t.icon, chevron: !!((
|
|
919
|
+
}] } }, [n("menu-item", { attrs: { text: t.text, handler: (i = t.items) != null && i.length ? () => null : t.handler, "secondary-text": t.secondaryText, icon: t.icon, chevron: !!((p = t.items) != null && p.length), disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1", "aria-haspopup": !!((l = t.items) != null && l.length), "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === s }, on: { click: function(a) {
|
|
920
920
|
return e.menuItemClick(t, s);
|
|
921
921
|
} } }), t.addDivider ? n("bento-divider", { staticClass: "b-menu-item-list__divider" }) : e._e(), (u = t.items) != null && u.length && e.showSubMenu && e.visibleSubMenuIndex === s ? n("sub-menu-item-list", { ref: "subMenuItemListRef", refInFor: !0, attrs: { items: t.items, title: t.text }, on: { back: e.onBackButton, close: e.closeMenu } }) : e._e()], 1);
|
|
922
922
|
}), 0)]);
|
|
@@ -949,14 +949,14 @@ const Dt = Pt.exports, Ft = /* @__PURE__ */ Symbol("menu inverse style injection
|
|
|
949
949
|
},
|
|
950
950
|
emits: ["menu-item-click", "click-outside"],
|
|
951
951
|
setup(o, { expose: e, emit: n }) {
|
|
952
|
-
var
|
|
953
|
-
const t = o, s = T(), i = D(s), { t:
|
|
954
|
-
le(fe,
|
|
955
|
-
const y =
|
|
956
|
-
"b-menu--inverse":
|
|
957
|
-
})), I =
|
|
952
|
+
var h;
|
|
953
|
+
const t = o, s = T(), i = D(s), { t: p } = J(), l = f(null), u = f(null), a = f(!1), r = f(!1), c = f(null), d = ge("menu"), _ = k(Ft, f(!1));
|
|
954
|
+
le(fe, _);
|
|
955
|
+
const y = m(() => ({
|
|
956
|
+
"b-menu--inverse": _.value
|
|
957
|
+
})), I = m(
|
|
958
958
|
() => t.menuWidth ? { width: `${ae(t.menuWidth)}px` } : null
|
|
959
|
-
), E =
|
|
959
|
+
), E = m(() => {
|
|
960
960
|
if (t != null && t.button)
|
|
961
961
|
return {
|
|
962
962
|
variant: "secondary",
|
|
@@ -977,13 +977,13 @@ const Dt = Pt.exports, Ft = /* @__PURE__ */ Symbol("menu inverse style injection
|
|
|
977
977
|
n("menu-item-click");
|
|
978
978
|
};
|
|
979
979
|
return Xe(
|
|
980
|
-
|
|
980
|
+
c,
|
|
981
981
|
() => {
|
|
982
982
|
L(), n("click-outside");
|
|
983
983
|
},
|
|
984
984
|
{
|
|
985
985
|
...t.closeOnClickOutsideOptions,
|
|
986
|
-
ignore: [l, ...((
|
|
986
|
+
ignore: [l, ...((h = t.closeOnClickOutsideOptions) == null ? void 0 : h.ignore) ?? []]
|
|
987
987
|
}
|
|
988
988
|
), e({
|
|
989
989
|
/**
|
|
@@ -994,7 +994,7 @@ const Dt = Pt.exports, Ft = /* @__PURE__ */ Symbol("menu inverse style injection
|
|
|
994
994
|
i("iconRight") && me(
|
|
995
995
|
'"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
|
|
996
996
|
);
|
|
997
|
-
}), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: i, t:
|
|
997
|
+
}), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: i, t: p, menuButtonRef: l, menuItemListRef: u, showMenu: a, isLastElementFocused: r, popoverRef: c, menuId: d, isInverseColorSet: _, computedClasses: y, computedMenuWidth: I, computedButtonPropsWithDefaults: E, openMenu: O, closeMenu: L, toggleShowMenu: w, onKeyDown: R, onKeyUp: N, menuItemClick: A, BentoToggleButton: $e, BentoPopover: at, BentoTeleport: dt, ChevronDownIcon: Ce, OptionsVerticalIcon: vt, MenuItemList: Dt };
|
|
998
998
|
}
|
|
999
999
|
});
|
|
1000
1000
|
var Wt = function() {
|
|
@@ -1034,28 +1034,40 @@ var Wt = function() {
|
|
|
1034
1034
|
const jt = Vt.exports, Gt = /* @__PURE__ */ Symbol(
|
|
1035
1035
|
"button actions with menu container injection key"
|
|
1036
1036
|
), Yt = 242, V = parseInt(Se, 10), Jt = (o, e, n) => {
|
|
1037
|
-
const t =
|
|
1037
|
+
const t = f(0);
|
|
1038
1038
|
let s = null;
|
|
1039
|
-
const { buttonActionsWithMenu: i, menu:
|
|
1040
|
-
buttonActionsWithMenu:
|
|
1041
|
-
menu:
|
|
1042
|
-
stackButtons:
|
|
1043
|
-
}), u =
|
|
1039
|
+
const { buttonActionsWithMenu: i, menu: p, stackButtons: l } = k(Gt, {
|
|
1040
|
+
buttonActionsWithMenu: f(null),
|
|
1041
|
+
menu: f(null),
|
|
1042
|
+
stackButtons: f(!1)
|
|
1043
|
+
}), u = m(() => i.value ?? o.value), a = m(() => p.value ? [...e.value, p.value.$el] : e.value), r = (c) => {
|
|
1044
1044
|
var y;
|
|
1045
|
-
const
|
|
1045
|
+
const d = (y = a.value) == null ? void 0 : y.reduce(
|
|
1046
1046
|
(I, E) => I + E.clientWidth + V,
|
|
1047
1047
|
-V - 1
|
|
1048
|
-
),
|
|
1049
|
-
return
|
|
1048
|
+
), _ = u.value.clientWidth;
|
|
1049
|
+
return c && (t.value = _ >= Yt && !l.value ? d : 0), t.value > _;
|
|
1050
1050
|
};
|
|
1051
1051
|
return G(
|
|
1052
|
-
() =>
|
|
1052
|
+
() => {
|
|
1053
|
+
var c;
|
|
1054
|
+
return (c = n.value) == null ? void 0 : c.map((d) => [
|
|
1055
|
+
d.title,
|
|
1056
|
+
d.state,
|
|
1057
|
+
d.variant,
|
|
1058
|
+
d.condensed,
|
|
1059
|
+
d.iconOnly,
|
|
1060
|
+
!!d.icon,
|
|
1061
|
+
!!d.iconLeft,
|
|
1062
|
+
!!d.iconRight,
|
|
1063
|
+
!!d.data
|
|
1064
|
+
]);
|
|
1065
|
+
},
|
|
1053
1066
|
() => {
|
|
1054
1067
|
P(() => {
|
|
1055
1068
|
l.value = r(!0);
|
|
1056
1069
|
});
|
|
1057
|
-
}
|
|
1058
|
-
{ deep: !0 }
|
|
1070
|
+
}
|
|
1059
1071
|
), M(() => {
|
|
1060
1072
|
s = Oe(u.value, () => {
|
|
1061
1073
|
l.value = r(t.value === 0);
|
|
@@ -1072,16 +1084,16 @@ const jt = Vt.exports, Gt = /* @__PURE__ */ Symbol(
|
|
|
1072
1084
|
layout: { default: "buttons-end" }
|
|
1073
1085
|
},
|
|
1074
1086
|
setup(o) {
|
|
1075
|
-
const e = o, n =
|
|
1076
|
-
const
|
|
1077
|
-
return r ===
|
|
1078
|
-
}, l =
|
|
1087
|
+
const e = o, n = f(null), t = f(null), s = Jt(n, t, Y(e, "actions")), i = m(() => e.actions.slice().reverse()), p = (r) => {
|
|
1088
|
+
const c = e.actions.length - 1;
|
|
1089
|
+
return r === c ? "primary" : "secondary";
|
|
1090
|
+
}, l = m(() => ({
|
|
1079
1091
|
[`b-button-actions--${e.layout}`]: !0,
|
|
1080
1092
|
"b-button-actions--stacked-buttons": s.value
|
|
1081
1093
|
}));
|
|
1082
|
-
return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: i, generateButtonVariantByIndex:
|
|
1094
|
+
return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: i, generateButtonVariantByIndex: p, conditionalClasses: l, generateButtonEvents: (r) => (r == null ? void 0 : r.event) !== void 0 ? {
|
|
1083
1095
|
click: r.event
|
|
1084
|
-
} : {}, isIconOnly: (r) => r.iconOnly && (r.iconLeft || r.iconRight || r.icon), BentoButton:
|
|
1096
|
+
} : {}, isIconOnly: (r) => r.iconOnly && (r.iconLeft || r.iconRight || r.icon), BentoButton: b, BentoLoadingButton: Re, BentoMenu: jt };
|
|
1085
1097
|
}
|
|
1086
1098
|
});
|
|
1087
1099
|
var Xt = function() {
|
|
@@ -1135,4 +1147,4 @@ export {
|
|
|
1135
1147
|
Ze as m,
|
|
1136
1148
|
Xe as u
|
|
1137
1149
|
};
|
|
1138
|
-
//# sourceMappingURL=button-actions.
|
|
1150
|
+
//# sourceMappingURL=button-actions.DKc63aCb.js.map
|