@adyen/bento-vue3 1.92.2 → 1.93.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 +8 -0
- package/dist/@types/index.d.ts +1191 -717
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/anchor-scroller.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/drawer.css +1 -0
- package/dist/assets/file-uploader.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 -0
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/sidepanel.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.BxyRAZn1.js → action-bar.B-OoRono.js} +4 -4
- package/dist/chunks/{action-bar.BxyRAZn1.js.map → action-bar.B-OoRono.js.map} +1 -1
- package/dist/chunks/{ai-tag.CpeZm2Yf.js → ai-tag.BbQ3hh1b.js} +2 -2
- package/dist/chunks/{ai-tag.CpeZm2Yf.js.map → ai-tag.BbQ3hh1b.js.map} +1 -1
- package/dist/chunks/{anchor-scroller.DSfXK6vK.js → anchor-scroller.WJlZwrLh.js} +2 -2
- package/dist/chunks/{anchor-scroller.DSfXK6vK.js.map → anchor-scroller.WJlZwrLh.js.map} +1 -1
- package/dist/chunks/{base-modal.C8Rsc2oO.js → base-modal.Dzvnfomn.js} +5 -5
- package/dist/chunks/{base-modal.C8Rsc2oO.js.map → base-modal.Dzvnfomn.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.KaWdHibo.js → button-actions-with-menu.DVMjHT7W.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.KaWdHibo.js.map → button-actions-with-menu.DVMjHT7W.js.map} +1 -1
- package/dist/chunks/{button-actions.7Oi2Ra4p.js → button-actions.Dp3VkQWU.js} +3 -3
- package/dist/chunks/{button-actions.7Oi2Ra4p.js.map → button-actions.Dp3VkQWU.js.map} +1 -1
- package/dist/chunks/{calendar.DfMwuOIR.js → calendar.DPSJK8zi.js} +55 -55
- package/dist/chunks/{calendar.DfMwuOIR.js.map → calendar.DPSJK8zi.js.map} +1 -1
- package/dist/chunks/{card.7q8tTfjG.js → card.oClcA99e.js} +2 -2
- package/dist/chunks/{card.7q8tTfjG.js.map → card.oClcA99e.js.map} +1 -1
- package/dist/chunks/{checkbox-group.CgrmMYbN.js → checkbox-group.BjLXIH31.js} +3 -3
- package/dist/chunks/{checkbox-group.CgrmMYbN.js.map → checkbox-group.BjLXIH31.js.map} +1 -1
- package/dist/chunks/{checkbox.CdkqCAAL.js → checkbox.BEQ8QnKY.js} +18 -18
- package/dist/chunks/{checkbox.CdkqCAAL.js.map → checkbox.BEQ8QnKY.js.map} +1 -1
- package/dist/chunks/{code-snippet.Dtb7CDv9.js → code-snippet.B51W5xRW.js} +5 -5
- package/dist/chunks/{code-snippet.Dtb7CDv9.js.map → code-snippet.B51W5xRW.js.map} +1 -1
- package/dist/chunks/{controls-group.DqRpF9bh.js → controls-group.i2Lxh7sB.js} +2 -2
- package/dist/chunks/{controls-group.DqRpF9bh.js.map → controls-group.i2Lxh7sB.js.map} +1 -1
- package/dist/chunks/{copy.CL893i9-.js → copy.C4LTKtNj.js} +3 -3
- package/dist/chunks/{copy.CL893i9-.js.map → copy.C4LTKtNj.js.map} +1 -1
- package/dist/chunks/{dashboard-section.kwKlujP-.js → dashboard-section.TSdidWWP.js} +3 -3
- package/dist/chunks/{dashboard-section.kwKlujP-.js.map → dashboard-section.TSdidWWP.js.map} +1 -1
- package/dist/chunks/{dashed-underline.ADDEdamG.js → dashed-underline.C0n0UG5_.js} +3 -3
- package/dist/chunks/{dashed-underline.ADDEdamG.js.map → dashed-underline.C0n0UG5_.js.map} +1 -1
- package/dist/chunks/{data-grid-template.C69yN3ZR.js → data-grid-template.DNJI6xng.js} +3 -3
- package/dist/chunks/{data-grid-template.C69yN3ZR.js.map → data-grid-template.DNJI6xng.js.map} +1 -1
- package/dist/chunks/{data-grid.T-FnwChG.js → data-grid.CZjC3vWa.js} +18 -18
- package/dist/chunks/{data-grid.T-FnwChG.js.map → data-grid.CZjC3vWa.js.map} +1 -1
- package/dist/chunks/{date-picker.hUcnFn4K.js → date-picker.BhseFocw.js} +8 -8
- package/dist/chunks/{date-picker.hUcnFn4K.js.map → date-picker.BhseFocw.js.map} +1 -1
- package/dist/chunks/{date-range-picker.BM5gxJcL.js → date-range-picker.DK9M8DHP.js} +369 -369
- package/dist/chunks/{date-range-picker.BM5gxJcL.js.map → date-range-picker.DK9M8DHP.js.map} +1 -1
- package/dist/chunks/{dialog-page.Bh-7RAwX.js → dialog-page.DM3Lie55.js} +2 -2
- package/dist/chunks/{dialog-page.Bh-7RAwX.js.map → dialog-page.DM3Lie55.js.map} +1 -1
- package/dist/chunks/{draggable-handle.BWHOlabB.js → draggable-handle.B8QnrFve.js} +2 -2
- package/dist/chunks/{draggable-handle.BWHOlabB.js.map → draggable-handle.B8QnrFve.js.map} +1 -1
- package/dist/chunks/drawer.EtJfGbNI.js +55 -0
- package/dist/chunks/drawer.EtJfGbNI.js.map +1 -0
- package/dist/chunks/{dropdown-tag.Sk2n9gbl.js → dropdown-tag.vZytpy7r.js} +3 -3
- package/dist/chunks/{dropdown-tag.Sk2n9gbl.js.map → dropdown-tag.vZytpy7r.js.map} +1 -1
- package/dist/chunks/{dropdown.CuIBYLdy.js → dropdown.B4pTluCz.js} +5 -5
- package/dist/chunks/{dropdown.CuIBYLdy.js.map → dropdown.B4pTluCz.js.map} +1 -1
- package/dist/chunks/{es6.C1DXQV6f.js → es6.Cu3DYUPA.js} +3 -3
- package/dist/chunks/es6.Cu3DYUPA.js.map +1 -0
- package/dist/chunks/{field-label.DZYFjFgr.js → field-label.B_E_3J8j.js} +2 -2
- package/dist/chunks/{field-label.DZYFjFgr.js.map → field-label.B_E_3J8j.js.map} +1 -1
- package/dist/chunks/{file-uploader.B5_l2uQO.js → file-uploader.C8k__hVq.js} +3 -3
- package/dist/chunks/{file-uploader.B5_l2uQO.js.map → file-uploader.C8k__hVq.js.map} +1 -1
- package/dist/chunks/{filter-bar.BA2Rtf_p.js → filter-bar.r_s53sYN.js} +21 -21
- package/dist/chunks/{filter-bar.BA2Rtf_p.js.map → filter-bar.r_s53sYN.js.map} +1 -1
- package/dist/chunks/{focus-trap.BAiM_ywb.js → focus-trap.D24gS9oB.js} +26 -26
- package/dist/chunks/{focus-trap.BAiM_ywb.js.map → focus-trap.D24gS9oB.js.map} +1 -1
- package/dist/chunks/{footer-actions.4Qj_I3cd.js → footer-actions.D6m7ct7i.js} +2 -2
- package/dist/chunks/{footer-actions.4Qj_I3cd.js.map → footer-actions.D6m7ct7i.js.map} +1 -1
- package/dist/chunks/{header-meta.BJjFOcxY.js → header-meta.BCyK7ndE.js} +3 -3
- package/dist/chunks/{header-meta.BJjFOcxY.js.map → header-meta.BCyK7ndE.js.map} +1 -1
- package/dist/chunks/{header-with-views.CYBBcnCP.js → header-with-views.Cg3TfbGl.js} +10 -10
- package/dist/chunks/{header-with-views.CYBBcnCP.js.map → header-with-views.Cg3TfbGl.js.map} +1 -1
- package/dist/chunks/{header.5RQulwlL.js → header.FZwBPZLA.js} +3 -3
- package/dist/chunks/{header.5RQulwlL.js.map → header.FZwBPZLA.js.map} +1 -1
- package/dist/chunks/{index.DDwcHPb6.js → index.CxrHirmk.js} +15 -15
- package/dist/chunks/{index.DDwcHPb6.js.map → index.CxrHirmk.js.map} +1 -1
- package/dist/chunks/{info-icon.B3MDsjMu.js → info-icon.PcvZwhgr.js} +3 -3
- package/dist/chunks/{info-icon.B3MDsjMu.js.map → info-icon.PcvZwhgr.js.map} +1 -1
- package/dist/chunks/{input-field-password.CpRKmq4h.js → input-field-password.CeG5ZP5I.js} +6 -6
- package/dist/chunks/{input-field-password.CpRKmq4h.js.map → input-field-password.CeG5ZP5I.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.BZy1o9VW.js → input-field-phone-number.86z6mzPz.js} +3 -3
- package/dist/chunks/{input-field-phone-number.BZy1o9VW.js.map → input-field-phone-number.86z6mzPz.js.map} +1 -1
- package/dist/chunks/{input-field.BseE_MT0.js → input-field.B7wHgguP.js} +3 -3
- package/dist/chunks/input-field.B7wHgguP.js.map +1 -0
- package/dist/chunks/{input-time.DAxp5Kku.js → input-time.PpFtmHYm.js} +4 -4
- package/dist/chunks/{input-time.DAxp5Kku.js.map → input-time.PpFtmHYm.js.map} +1 -1
- package/dist/chunks/{inspector.DMhKNW1K.js → inspector.BNZxnDFh.js} +3 -3
- package/dist/chunks/{inspector.DMhKNW1K.js.map → inspector.BNZxnDFh.js.map} +1 -1
- package/dist/chunks/{layout-row.B5VJGEQH.js → layout-row.ByVDza7f.js} +8 -8
- package/dist/chunks/{layout-row.B5VJGEQH.js.map → layout-row.ByVDza7f.js.map} +1 -1
- package/dist/chunks/{list-item.BHvXpqaS.js → list-item.B2tBYsTW.js} +2 -2
- package/dist/chunks/{list-item.BHvXpqaS.js.map → list-item.B2tBYsTW.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.CVxaZqbc.js → listbox-option-tag.ByoUG-fO.js} +2 -2
- package/dist/chunks/{listbox-option-tag.CVxaZqbc.js.map → listbox-option-tag.ByoUG-fO.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.CepaWyoi.js → modal-fullscreen.DmnnwPRi.js} +4 -4
- package/dist/chunks/{modal-fullscreen.CepaWyoi.js.map → modal-fullscreen.DmnnwPRi.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Bh_GY-Ah.js → modal.vue_vue_type_script_setup_true_lang.2GzUt81U.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Bh_GY-Ah.js.map → modal.vue_vue_type_script_setup_true_lang.2GzUt81U.js.map} +1 -1
- package/dist/chunks/navigation-menu-group.DeDmNZ4C.js +335 -0
- package/dist/chunks/navigation-menu-group.DeDmNZ4C.js.map +1 -0
- package/dist/chunks/{pagination.Ch_Occwt.js → pagination.DE2QAUeF.js} +2 -2
- package/dist/chunks/{pagination.Ch_Occwt.js.map → pagination.DE2QAUeF.js.map} +1 -1
- package/dist/chunks/popover.types.DTieDKDn.js +6 -0
- package/dist/chunks/{popover.types.D8tHtFl3.js.map → popover.types.DTieDKDn.js.map} +1 -1
- package/dist/chunks/{popper-container.DMN8n5iC.js → popper-container.Agl6sImi.js} +2 -2
- package/dist/chunks/{popper-container.DMN8n5iC.js.map → popper-container.Agl6sImi.js.map} +1 -1
- package/dist/chunks/{promo-banner.-H4r_cwj.js → promo-banner.DMmSl_ca.js} +8 -8
- package/dist/chunks/{promo-banner.-H4r_cwj.js.map → promo-banner.DMmSl_ca.js.map} +1 -1
- package/dist/chunks/{radio-group.CfMr1fmW.js → radio-group.BxJS4qfR.js} +3 -3
- package/dist/chunks/{radio-group.CfMr1fmW.js.map → radio-group.BxJS4qfR.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.CSvPpLth.js → rich-text-editor.By4B8RWI.js} +4 -4
- package/dist/chunks/{rich-text-editor.CSvPpLth.js.map → rich-text-editor.By4B8RWI.js.map} +1 -1
- package/dist/chunks/{search-bar.BRf_Mf7n.js → search-bar.7jhPiuah.js} +4 -4
- package/dist/chunks/{search-bar.BRf_Mf7n.js.map → search-bar.7jhPiuah.js.map} +1 -1
- package/dist/chunks/{secondary-nav.CROQNbYk.js → secondary-nav.CuhX-Akn.js} +4 -4
- package/dist/chunks/{secondary-nav.CROQNbYk.js.map → secondary-nav.CuhX-Akn.js.map} +1 -1
- package/dist/chunks/{segmented-control.CQWOO1-J.js → segmented-control.DQSuLjJX.js} +2 -2
- package/dist/chunks/{segmented-control.CQWOO1-J.js.map → segmented-control.DQSuLjJX.js.map} +1 -1
- package/dist/chunks/{selection-card-group.58XZj_SJ.js → selection-card-group.DmqSNQPQ.js} +12 -12
- package/dist/chunks/{selection-card-group.58XZj_SJ.js.map → selection-card-group.DmqSNQPQ.js.map} +1 -1
- package/dist/chunks/{sidepanel.S037xghX.js → sidepanel.EKe43ODO.js} +5 -5
- package/dist/chunks/{sidepanel.S037xghX.js.map → sidepanel.EKe43ODO.js.map} +1 -1
- package/dist/chunks/{structured-list-item.CgJR_ufh.js → structured-list-item.BkPA7std.js} +4 -4
- package/dist/chunks/{structured-list-item.CgJR_ufh.js.map → structured-list-item.BkPA7std.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.D1JQ_jtv.js → summary-grid.types.BXqnRVnK.js} +5 -5
- package/dist/chunks/{summary-grid.types.D1JQ_jtv.js.map → summary-grid.types.BXqnRVnK.js.map} +1 -1
- package/dist/chunks/{tag.YN2r-Pp3.js → tag.DkhJRE0r.js} +2 -2
- package/dist/chunks/{tag.YN2r-Pp3.js.map → tag.DkhJRE0r.js.map} +1 -1
- package/dist/chunks/{textarea.-6FHesSp.js → textarea.Cn52prhR.js} +3 -3
- package/dist/chunks/{textarea.-6FHesSp.js.map → textarea.Cn52prhR.js.map} +1 -1
- package/dist/chunks/{timeline-item.BJaFr2_Y.js → timeline-item.C6jPnHUZ.js} +6 -6
- package/dist/chunks/{timeline-item.BJaFr2_Y.js.map → timeline-item.C6jPnHUZ.js.map} +1 -1
- package/dist/chunks/{tooltip.DHfG2aRt.js → tooltip.CZ_sV-Vj.js} +3 -3
- package/dist/chunks/{tooltip.DHfG2aRt.js.map → tooltip.CZ_sV-Vj.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D_Z1zKam.js → tutorial.vue_vue_type_script_setup_true_lang.Z5MhMTSh.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D_Z1zKam.js.map → tutorial.vue_vue_type_script_setup_true_lang.Z5MhMTSh.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.DUWGSMvO.js → use-cached-selected-values.D_CQxKZa.js} +2 -2
- package/dist/chunks/{use-cached-selected-values.DUWGSMvO.js.map → use-cached-selected-values.D_CQxKZa.js.map} +1 -1
- package/dist/chunks/{use-date-input-formatter.BH4hdEJW.js → use-date-input-formatter.NK5sHoV9.js} +2 -2
- package/dist/chunks/{use-date-input-formatter.BH4hdEJW.js.map → use-date-input-formatter.NK5sHoV9.js.map} +1 -1
- package/dist/code-snippet.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/draggable.js +1 -1
- package/dist/drawer.js +5 -0
- package/dist/drawer.js.map +1 -0
- package/dist/dropdown.js +3 -3
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +283 -277
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +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/inspector.js +1 -1
- package/dist/internal.js +11 -11
- package/dist/layout.js +1 -1
- package/dist/list.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/navigation-menu.js +7 -0
- package/dist/navigation-menu.js.map +1 -0
- package/dist/pagination.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.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/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +3 -0
- package/dist/styles/bento-light.css +3 -0
- package/dist/styles/bento.css +3 -0
- package/dist/styles/legacy.css +3 -0
- package/dist/styles/styleguide.css +3 -0
- package/dist/styles/utility.css +9 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -5
- package/dist/chunks/es6.C1DXQV6f.js.map +0 -1
- package/dist/chunks/input-field.BseE_MT0.js.map +0 -1
- package/dist/chunks/popover.types.D8tHtFl3.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as X, onUnmounted as Re, isRef as at, watch as Le, computed as U, onMounted as it, onBeforeUnmount as ot, defineComponent as ut, useSlots as ct, toRef as st, unref as R, openBlock as lt, createElementBlock as ft, mergeProps as dt, toHandlers as vt, withKeys as bt, renderSlot as pt, createCommentVNode as mt } from "vue";
|
|
2
2
|
import { u as ht } from "./use-has-slot.CyMiImRQ.js";
|
|
3
|
-
import {
|
|
3
|
+
import { l as yt, m as gt, n as wt } from "./index.CxrHirmk.js";
|
|
4
4
|
import { _ as Nt } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
5
|
import "../assets/focus-trap.css";
|
|
6
6
|
const Et = (t) => {
|
|
@@ -120,7 +120,7 @@ var Be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert]
|
|
|
120
120
|
for (var n = 0; n < e.length; n++)
|
|
121
121
|
if (e[n].checked && e[n].form === r)
|
|
122
122
|
return e[n];
|
|
123
|
-
},
|
|
123
|
+
}, xt = function(e) {
|
|
124
124
|
if (!e.name)
|
|
125
125
|
return !0;
|
|
126
126
|
var r = e.form || H(e), n = function(s) {
|
|
@@ -136,10 +136,10 @@ var Be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert]
|
|
|
136
136
|
}
|
|
137
137
|
var u = It(i, e.form);
|
|
138
138
|
return !u || u === e;
|
|
139
|
-
},
|
|
139
|
+
}, kt = function(e) {
|
|
140
140
|
return Ue(e) && e.type === "radio";
|
|
141
141
|
}, Pt = function(e) {
|
|
142
|
-
return
|
|
142
|
+
return kt(e) && !xt(e);
|
|
143
143
|
}, Ct = function(e) {
|
|
144
144
|
var r, n = e && H(e), i = (r = n) === null || r === void 0 ? void 0 : r.host, u = !1;
|
|
145
145
|
if (n && n !== e) {
|
|
@@ -483,13 +483,13 @@ var Se = {
|
|
|
483
483
|
* in reverse.
|
|
484
484
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
485
485
|
*/
|
|
486
|
-
nextTabbableNode: function(
|
|
487
|
-
var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0,
|
|
488
|
-
return
|
|
486
|
+
nextTabbableNode: function(k) {
|
|
487
|
+
var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, x = c.indexOf(k);
|
|
488
|
+
return x < 0 ? _ ? f.slice(f.indexOf(k) + 1).find(function(M) {
|
|
489
489
|
return L(M);
|
|
490
|
-
}) : f.slice(0, f.indexOf(
|
|
490
|
+
}) : f.slice(0, f.indexOf(k)).reverse().find(function(M) {
|
|
491
491
|
return L(M);
|
|
492
|
-
}) : c[
|
|
492
|
+
}) : c[x + (_ ? 1 : -1)];
|
|
493
493
|
}
|
|
494
494
|
};
|
|
495
495
|
}), a.tabbableGroups = a.containerGroups.filter(function(o) {
|
|
@@ -533,16 +533,16 @@ var Se = {
|
|
|
533
533
|
return c === ee;
|
|
534
534
|
});
|
|
535
535
|
if (O < 0 && (T.container === c || te(c, u.tabbableOptions) && !L(c, u.tabbableOptions) && !T.nextTabbableNode(c, !1)) && (O = m), O >= 0) {
|
|
536
|
-
var
|
|
536
|
+
var k = O === 0 ? a.tabbableGroups.length - 1 : O - 1, _ = a.tabbableGroups[k];
|
|
537
537
|
N = P(c) >= 0 ? _.lastTabbableNode : _.lastDomTabbableNode;
|
|
538
538
|
} else j(f) || (N = T.nextTabbableNode(c, !1));
|
|
539
539
|
} else {
|
|
540
|
-
var
|
|
540
|
+
var x = a.tabbableGroups.findIndex(function(Q) {
|
|
541
541
|
var ee = Q.lastTabbableNode;
|
|
542
542
|
return c === ee;
|
|
543
543
|
});
|
|
544
|
-
if (
|
|
545
|
-
var M =
|
|
544
|
+
if (x < 0 && (T.container === c || te(c, u.tabbableOptions) && !L(c, u.tabbableOptions) && !T.nextTabbableNode(c)) && (x = m), x >= 0) {
|
|
545
|
+
var M = x === a.tabbableGroups.length - 1 ? 0 : x + 1, Te = a.tabbableGroups[M];
|
|
546
546
|
N = P(c) >= 0 ? Te.firstTabbableNode : Te.firstDomTabbableNode;
|
|
547
547
|
} else j(f) || (N = T.nextTabbableNode(c));
|
|
548
548
|
}
|
|
@@ -584,8 +584,8 @@ var Se = {
|
|
|
584
584
|
}
|
|
585
585
|
} else
|
|
586
586
|
a.containerGroups.some(function(O) {
|
|
587
|
-
return O.tabbableNodes.some(function(
|
|
588
|
-
return P(
|
|
587
|
+
return O.tabbableNodes.some(function(k) {
|
|
588
|
+
return P(k) > 0;
|
|
589
589
|
});
|
|
590
590
|
}) || (y = !1);
|
|
591
591
|
else
|
|
@@ -737,7 +737,7 @@ const Qt = (t, e, r) => {
|
|
|
737
737
|
e.value && n.value?.deactivate();
|
|
738
738
|
});
|
|
739
739
|
};
|
|
740
|
-
var
|
|
740
|
+
var xe = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus-lock", rr = "data-autofocus-inside", nr = "data-no-autofocus", A = function(t) {
|
|
741
741
|
for (var e = Array(t.length), r = 0; r < t.length; ++r)
|
|
742
742
|
e[r] = t[r];
|
|
743
743
|
return e;
|
|
@@ -857,7 +857,7 @@ var ke = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
|
|
|
857
857
|
}).filter(function(r) {
|
|
858
858
|
return cr(r);
|
|
859
859
|
});
|
|
860
|
-
},
|
|
860
|
+
}, ke = function(t, e) {
|
|
861
861
|
return e === void 0 && (e = /* @__PURE__ */ new Map()), A(t).filter(function(r) {
|
|
862
862
|
return He(e, r);
|
|
863
863
|
});
|
|
@@ -885,8 +885,8 @@ var ke = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
|
|
|
885
885
|
}, be = function(t) {
|
|
886
886
|
var e = ue(t);
|
|
887
887
|
return e.filter(Boolean).reduce(function(r, n) {
|
|
888
|
-
var i = n.getAttribute(
|
|
889
|
-
return r.push.apply(r, i ? mr(A(Xe(n).querySelectorAll("[".concat(
|
|
888
|
+
var i = n.getAttribute(xe);
|
|
889
|
+
return r.push.apply(r, i ? mr(A(Xe(n).querySelectorAll("[".concat(xe, '="').concat(i, '"]:not([').concat(er, '="disabled"])')))) : [n]), r;
|
|
890
890
|
}, []);
|
|
891
891
|
}, Je = function(t) {
|
|
892
892
|
return t.activeElement ? t.activeElement.shadowRoot ? Je(t.activeElement.shadowRoot) : t.activeElement : void 0;
|
|
@@ -995,12 +995,12 @@ var ke = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
|
|
|
995
995
|
return w;
|
|
996
996
|
}), v = Tr(b, l, r, e);
|
|
997
997
|
if (v === Qe) {
|
|
998
|
-
var p =
|
|
998
|
+
var p = ke(a.map(function(E) {
|
|
999
999
|
var w = E.node;
|
|
1000
1000
|
return w;
|
|
1001
1001
|
})).filter(Fr(Or(n, u)));
|
|
1002
1002
|
return {
|
|
1003
|
-
node: p && p.length ? Ce(p) : Ce(
|
|
1003
|
+
node: p && p.length ? Ce(p) : Ce(ke(b))
|
|
1004
1004
|
};
|
|
1005
1005
|
}
|
|
1006
1006
|
return v === void 0 ? v : d[v];
|
|
@@ -1022,7 +1022,7 @@ var ke = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
|
|
|
1022
1022
|
guard: le(s)
|
|
1023
1023
|
};
|
|
1024
1024
|
});
|
|
1025
|
-
},
|
|
1025
|
+
}, xr = Ir, kr = function(t, e) {
|
|
1026
1026
|
"focus" in t && t.focus(e), "contentWindow" in t && t.contentWindow && t.contentWindow.focus();
|
|
1027
1027
|
}, ne = 0, ae = !1, Pr = function(t, e, r) {
|
|
1028
1028
|
r === void 0 && (r = {});
|
|
@@ -1034,14 +1034,14 @@ var ke = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
|
|
|
1034
1034
|
}, 1);
|
|
1035
1035
|
return;
|
|
1036
1036
|
}
|
|
1037
|
-
ne++,
|
|
1037
|
+
ne++, kr(n.node, r.focusOptions), ne--;
|
|
1038
1038
|
}
|
|
1039
1039
|
};
|
|
1040
1040
|
const Cr = (t) => requestAnimationFrame(t), Dr = (t, e) => {
|
|
1041
1041
|
const r = e.findIndex((n) => n.node === t);
|
|
1042
1042
|
return r === -1 ? 0 : r;
|
|
1043
1043
|
}, Rr = (t, e) => {
|
|
1044
|
-
const r = document.activeElement, n =
|
|
1044
|
+
const r = document.activeElement, n = xr(e), i = Dr(r, n) + t;
|
|
1045
1045
|
return n[i]?.node || r;
|
|
1046
1046
|
}, Lr = (t, e) => {
|
|
1047
1047
|
const r = t.key.toLowerCase();
|
|
@@ -1164,9 +1164,9 @@ const _r = (t, e, r) => {
|
|
|
1164
1164
|
export {
|
|
1165
1165
|
Gr as B,
|
|
1166
1166
|
pe as a,
|
|
1167
|
-
|
|
1167
|
+
xr as b,
|
|
1168
1168
|
gr as f,
|
|
1169
1169
|
Rr as g,
|
|
1170
1170
|
Pr as s
|
|
1171
1171
|
};
|
|
1172
|
-
//# sourceMappingURL=focus-trap.
|
|
1172
|
+
//# sourceMappingURL=focus-trap.D24gS9oB.js.map
|