@adyen/bento-vue3 1.94.0 → 1.96.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 +2 -0
- package/dist/@types/index.d.ts +83 -9
- 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/dashed-underline.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 -0
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/draggable-handle.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/field-label.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-group.css +1 -0
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/header-meta.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.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/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.jhGXgcQl.js → action-bar.CIVprT2U.js} +4 -4
- package/dist/chunks/{action-bar.jhGXgcQl.js.map → action-bar.CIVprT2U.js.map} +1 -1
- package/dist/chunks/{ai-tag.DIdhvkaT.js → ai-tag.DkTlRY__.js} +2 -2
- package/dist/chunks/{ai-tag.DIdhvkaT.js.map → ai-tag.DkTlRY__.js.map} +1 -1
- package/dist/chunks/{anchor-scroller.BhppCt1n.js → anchor-scroller.J2mkf0uu.js} +5 -5
- package/dist/chunks/{anchor-scroller.BhppCt1n.js.map → anchor-scroller.J2mkf0uu.js.map} +1 -1
- package/dist/chunks/{base-modal.DxjZyGlG.js → base-modal.BKtpH-qh.js} +6 -6
- package/dist/chunks/{base-modal.DxjZyGlG.js.map → base-modal.BKtpH-qh.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.DJzCF9ja.js → button-actions-with-menu.cMAAF47d.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.DJzCF9ja.js.map → button-actions-with-menu.cMAAF47d.js.map} +1 -1
- package/dist/chunks/{button-actions.uco5ptf5.js → button-actions.CxTxPprd.js} +2 -2
- package/dist/chunks/{button-actions.uco5ptf5.js.map → button-actions.CxTxPprd.js.map} +1 -1
- package/dist/chunks/{calendar.D8CM3XkW.js → calendar.iQyNwQBL.js} +81 -75
- package/dist/chunks/calendar.iQyNwQBL.js.map +1 -0
- package/dist/chunks/{card.CWzJewQv.js → card.CQlyqa5-.js} +2 -2
- package/dist/chunks/{card.CWzJewQv.js.map → card.CQlyqa5-.js.map} +1 -1
- package/dist/chunks/{checkbox-group.Bq6PsVI_.js → checkbox-group.BcDIXL27.js} +3 -3
- package/dist/chunks/{checkbox-group.Bq6PsVI_.js.map → checkbox-group.BcDIXL27.js.map} +1 -1
- package/dist/chunks/{checkbox.DreTXMg0.js → checkbox.LTRqb-pE.js} +2 -2
- package/dist/chunks/{checkbox.DreTXMg0.js.map → checkbox.LTRqb-pE.js.map} +1 -1
- package/dist/chunks/{code-snippet.CGOmdPc-.js → code-snippet.DHzB-8JJ.js} +4 -4
- package/dist/chunks/{code-snippet.CGOmdPc-.js.map → code-snippet.DHzB-8JJ.js.map} +1 -1
- package/dist/chunks/{controls-group.D4MEP6GO.js → controls-group.B-wIl-I7.js} +2 -2
- package/dist/chunks/{controls-group.D4MEP6GO.js.map → controls-group.B-wIl-I7.js.map} +1 -1
- package/dist/chunks/{copy.Dxqx884r.js → copy.XM_7RiIR.js} +3 -3
- package/dist/chunks/{copy.Dxqx884r.js.map → copy.XM_7RiIR.js.map} +1 -1
- package/dist/chunks/{dashboard-section.NWMwtxVX.js → dashboard-section.Da6ZFGtm.js} +4 -4
- package/dist/chunks/{dashboard-section.NWMwtxVX.js.map → dashboard-section.Da6ZFGtm.js.map} +1 -1
- package/dist/chunks/dashed-underline.DJmMXcdt.js +85 -0
- package/dist/chunks/dashed-underline.DJmMXcdt.js.map +1 -0
- package/dist/chunks/{data-grid-template.Bf-VZS0u.js → data-grid-template.-MuGcJp1.js} +4 -4
- package/dist/chunks/{data-grid-template.Bf-VZS0u.js.map → data-grid-template.-MuGcJp1.js.map} +1 -1
- package/dist/chunks/{data-grid.D_TrebJz.js → data-grid.CNIXkdCJ.js} +885 -882
- package/dist/chunks/{data-grid.D_TrebJz.js.map → data-grid.CNIXkdCJ.js.map} +1 -1
- package/dist/chunks/date-picker.DyImOUH4.js +277 -0
- package/dist/chunks/date-picker.DyImOUH4.js.map +1 -0
- package/dist/chunks/{date-range-picker.C5CSReZ5.js → date-range-picker.BigC6wm2.js} +418 -437
- package/dist/chunks/date-range-picker.BigC6wm2.js.map +1 -0
- package/dist/chunks/{dialog-page.CZN5-Ohm.js → dialog-page.BOwnhJze.js} +2 -2
- package/dist/chunks/{dialog-page.CZN5-Ohm.js.map → dialog-page.BOwnhJze.js.map} +1 -1
- package/dist/chunks/directive.D1-d-C2K.js +28 -0
- package/dist/chunks/directive.D1-d-C2K.js.map +1 -0
- package/dist/chunks/draggable-handle.C1dudqKz.js +1649 -0
- package/dist/chunks/{draggable-handle.B_E-T3BS.js.map → draggable-handle.C1dudqKz.js.map} +1 -1
- package/dist/chunks/drawer.BQoyUVOW.js +64 -0
- package/dist/chunks/{drawer.GXqb2HPx.js.map → drawer.BQoyUVOW.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.DUDW-Be6.js → dropdown-tag.C1ei1SyR.js} +3 -3
- package/dist/chunks/{dropdown-tag.DUDW-Be6.js.map → dropdown-tag.C1ei1SyR.js.map} +1 -1
- package/dist/chunks/{dropdown.Bsic3Nll.js → dropdown.C5um1anU.js} +523 -508
- package/dist/chunks/dropdown.C5um1anU.js.map +1 -0
- package/dist/chunks/{field-label.DFtyMriH.js → field-label.CLV3nSzz.js} +2 -2
- package/dist/chunks/{field-label.DFtyMriH.js.map → field-label.CLV3nSzz.js.map} +1 -1
- package/dist/chunks/{file-uploader.CKo27YzT.js → file-uploader.C9YOBRQg.js} +39 -38
- package/dist/chunks/{file-uploader.CKo27YzT.js.map → file-uploader.C9YOBRQg.js.map} +1 -1
- package/dist/chunks/{filter-bar.Dhghqmhb.js → filter-bar.CvZnM3hM.js} +282 -279
- package/dist/chunks/{filter-bar.Dhghqmhb.js.map → filter-bar.CvZnM3hM.js.map} +1 -1
- package/dist/chunks/{focus-trap.DcxrXRKl.js → focus-trap.Dl_rHbwH.js} +2 -2
- package/dist/chunks/{focus-trap.DcxrXRKl.js.map → focus-trap.Dl_rHbwH.js.map} +1 -1
- package/dist/chunks/{footer-actions.Dyi8PTyI.js → footer-actions.zlKq74F1.js} +2 -2
- package/dist/chunks/{footer-actions.Dyi8PTyI.js.map → footer-actions.zlKq74F1.js.map} +1 -1
- package/dist/chunks/form-layout-group.08QuvVmC.js +81 -0
- package/dist/chunks/form-layout-group.08QuvVmC.js.map +1 -0
- package/dist/chunks/form-layout-title.Kwve4xv2.js +179 -0
- package/dist/chunks/form-layout-title.Kwve4xv2.js.map +1 -0
- package/dist/chunks/header-meta.NFZo1ACP.js +243 -0
- package/dist/chunks/{header-meta.I2Tztkls.js.map → header-meta.NFZo1ACP.js.map} +1 -1
- package/dist/chunks/{header-with-views.MPJPxTzT.js → header-with-views.ubPTyW9A.js} +10 -10
- package/dist/chunks/{header-with-views.MPJPxTzT.js.map → header-with-views.ubPTyW9A.js.map} +1 -1
- package/dist/chunks/{header.CBzF5Ap9.js → header.Ds0sFKBB.js} +3 -3
- package/dist/chunks/{header.CBzF5Ap9.js.map → header.Ds0sFKBB.js.map} +1 -1
- package/dist/chunks/{index.Cqv1XuTj.js → index.oOAkh64h.js} +248 -225
- package/dist/chunks/{index.Cqv1XuTj.js.map → index.oOAkh64h.js.map} +1 -1
- package/dist/chunks/{info-icon.C_ZkQb1d.js → info-icon.1FtkyuYH.js} +3 -3
- package/dist/chunks/{info-icon.C_ZkQb1d.js.map → info-icon.1FtkyuYH.js.map} +1 -1
- package/dist/chunks/{input-field-password.CA16O5Gv.js → input-field-password.CZ-NTpZF.js} +26 -25
- package/dist/chunks/input-field-password.CZ-NTpZF.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.CTeDyk0e.js → input-field-phone-number.DOHk6gSp.js} +13 -14
- package/dist/chunks/{input-field-phone-number.CTeDyk0e.js.map → input-field-phone-number.DOHk6gSp.js.map} +1 -1
- package/dist/chunks/{input-field.DlEEFday.js → input-field.DBlTGgAD.js} +104 -101
- package/dist/chunks/input-field.DBlTGgAD.js.map +1 -0
- package/dist/chunks/{input-time.CIdcQBgS.js → input-time.CHIjCO74.js} +7 -8
- package/dist/chunks/{input-time.CIdcQBgS.js.map → input-time.CHIjCO74.js.map} +1 -1
- package/dist/chunks/{inspector.BdPLtQ1t.js → inspector.BvBC1ABK.js} +3 -3
- package/dist/chunks/{inspector.BdPLtQ1t.js.map → inspector.BvBC1ABK.js.map} +1 -1
- package/dist/chunks/{layout-row.PGFh3qzc.js → layout-row.BsGdHl3d.js} +8 -8
- package/dist/chunks/{layout-row.PGFh3qzc.js.map → layout-row.BsGdHl3d.js.map} +1 -1
- package/dist/chunks/{list-item.D34osEIh.js → list-item.E1o7yuEB.js} +2 -2
- package/dist/chunks/{list-item.D34osEIh.js.map → list-item.E1o7yuEB.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.12duL_ZH.js → listbox-option-tag.yF6p9iQw.js} +2 -2
- package/dist/chunks/{listbox-option-tag.12duL_ZH.js.map → listbox-option-tag.yF6p9iQw.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.BGpyGUGB.js → modal-fullscreen.DmruiE3n.js} +4 -4
- package/dist/chunks/{modal-fullscreen.BGpyGUGB.js.map → modal-fullscreen.DmruiE3n.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B_CD-6Sn.js → modal.vue_vue_type_script_setup_true_lang.CrJQWuzb.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B_CD-6Sn.js.map → modal.vue_vue_type_script_setup_true_lang.CrJQWuzb.js.map} +1 -1
- package/dist/chunks/navigation-menu-group.CQ6ImGsJ.js +336 -0
- package/dist/chunks/navigation-menu-group.CQ6ImGsJ.js.map +1 -0
- package/dist/chunks/{pagination.CbGLdXSQ.js → pagination.DbpHH_53.js} +2 -2
- package/dist/chunks/{pagination.CbGLdXSQ.js.map → pagination.DbpHH_53.js.map} +1 -1
- package/dist/chunks/popover.types.DATOPtuh.js +6 -0
- package/dist/chunks/{popover.types.63w2RF7Y.js.map → popover.types.DATOPtuh.js.map} +1 -1
- package/dist/chunks/{popper-container.WR8Hb24e.js → popper-container.BH4WxeUj.js} +2 -2
- package/dist/chunks/{popper-container.WR8Hb24e.js.map → popper-container.BH4WxeUj.js.map} +1 -1
- package/dist/chunks/{promo-banner.DS8jlFES.js → promo-banner.DvV9eXs4.js} +2 -2
- package/dist/chunks/{promo-banner.DS8jlFES.js.map → promo-banner.DvV9eXs4.js.map} +1 -1
- package/dist/chunks/{radio-group.DpLQ_Wnj.js → radio-group.Cg67ZU0c.js} +3 -3
- package/dist/chunks/{radio-group.DpLQ_Wnj.js.map → radio-group.Cg67ZU0c.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.CRa59ETT.js → rich-text-editor.u-V4fNWK.js} +4 -4
- package/dist/chunks/{rich-text-editor.CRa59ETT.js.map → rich-text-editor.u-V4fNWK.js.map} +1 -1
- package/dist/chunks/{search-bar.tmX9JctT.js → search-bar.TKgi1KLs.js} +5 -6
- package/dist/chunks/{search-bar.tmX9JctT.js.map → search-bar.TKgi1KLs.js.map} +1 -1
- package/dist/chunks/secondary-nav.0OsJiAWI.js +315 -0
- package/dist/chunks/{secondary-nav.KIu9A7pb.js.map → secondary-nav.0OsJiAWI.js.map} +1 -1
- package/dist/chunks/{segmented-control.Dxfpt98K.js → segmented-control.D6Yvxxpc.js} +2 -2
- package/dist/chunks/{segmented-control.Dxfpt98K.js.map → segmented-control.D6Yvxxpc.js.map} +1 -1
- package/dist/chunks/{selection-card-group.BVxESHZH.js → selection-card-group.C59ZIrVm.js} +3 -3
- package/dist/chunks/{selection-card-group.BVxESHZH.js.map → selection-card-group.C59ZIrVm.js.map} +1 -1
- package/dist/chunks/set-time-in-date.9-8WOiMT.js +27 -0
- package/dist/chunks/set-time-in-date.9-8WOiMT.js.map +1 -0
- package/dist/chunks/{sidepanel.BwesEWP_.js → sidepanel.BVQt6Tac.js} +6 -6
- package/dist/chunks/{sidepanel.BwesEWP_.js.map → sidepanel.BVQt6Tac.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DUWQ4ggz.js → structured-list-item.BhYtSw2f.js} +4 -4
- package/dist/chunks/{structured-list-item.DUWQ4ggz.js.map → structured-list-item.BhYtSw2f.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.BvZUfgwA.js → summary-grid.types.9sUs0LS0.js} +5 -5
- package/dist/chunks/{summary-grid.types.BvZUfgwA.js.map → summary-grid.types.9sUs0LS0.js.map} +1 -1
- package/dist/chunks/{tab.DKVHFvuI.js → tab.ByjWuWQz.js} +108 -99
- package/dist/chunks/{tab.DKVHFvuI.js.map → tab.ByjWuWQz.js.map} +1 -1
- package/dist/chunks/{tag.DyNHhsGt.js → tag.Uu-6AQys.js} +2 -2
- package/dist/chunks/{tag.DyNHhsGt.js.map → tag.Uu-6AQys.js.map} +1 -1
- package/dist/chunks/{textarea.DNeZr2IZ.js → textarea.QgSLPL7S.js} +2 -2
- package/dist/chunks/{textarea.DNeZr2IZ.js.map → textarea.QgSLPL7S.js.map} +1 -1
- package/dist/chunks/{timeline-item.CfA1E0zq.js → timeline-item.DfwOm5do.js} +6 -6
- package/dist/chunks/{timeline-item.CfA1E0zq.js.map → timeline-item.DfwOm5do.js.map} +1 -1
- package/dist/chunks/{tooltip.CuwiX213.js → tooltip.Djn54E1O.js} +3 -3
- package/dist/chunks/{tooltip.CuwiX213.js.map → tooltip.Djn54E1O.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.4vdcgS4f.js → tutorial.vue_vue_type_script_setup_true_lang.B5-sWGlz.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.4vdcgS4f.js.map → tutorial.vue_vue_type_script_setup_true_lang.B5-sWGlz.js.map} +1 -1
- package/dist/chunks/use-bento-delayed-hover.Csc3nIWt.js +30 -0
- package/dist/chunks/use-bento-delayed-hover.Csc3nIWt.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.C2nbQ4g-.js → use-cached-selected-values.DOw5IKdU.js} +3 -3
- package/dist/chunks/{use-cached-selected-values.C2nbQ4g-.js.map → use-cached-selected-values.DOw5IKdU.js.map} +1 -1
- package/dist/chunks/{use-date-input-formatter.DaBZd09a.js → use-date-input-formatter.x285YiSd.js} +2 -2
- package/dist/chunks/{use-date-input-formatter.DaBZd09a.js.map → use-date-input-formatter.x285YiSd.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/date-time-picker.js +123 -0
- package/dist/date-time-picker.js.map +1 -0
- package/dist/draggable.js +1 -1
- package/dist/drawer.js +1 -1
- 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/form-layout.js +5 -4
- package/dist/form-layout.js.map +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +217 -216
- 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 +1 -1
- 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/summary-grid.js +1 -1
- package/dist/tabs.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 +6 -6
- package/dist/chunks/calendar.D8CM3XkW.js.map +0 -1
- package/dist/chunks/dashed-underline.DojqhvAa.js +0 -108
- package/dist/chunks/dashed-underline.DojqhvAa.js.map +0 -1
- package/dist/chunks/date-picker.DUUGSbot.js +0 -269
- package/dist/chunks/date-picker.DUUGSbot.js.map +0 -1
- package/dist/chunks/date-range-picker.C5CSReZ5.js.map +0 -1
- package/dist/chunks/directive.C8kY-ZW-.js +0 -23
- package/dist/chunks/directive.C8kY-ZW-.js.map +0 -1
- package/dist/chunks/draggable-handle.B_E-T3BS.js +0 -1639
- package/dist/chunks/drawer.GXqb2HPx.js +0 -55
- package/dist/chunks/dropdown.Bsic3Nll.js.map +0 -1
- package/dist/chunks/form-layout-title.B712PesH.js +0 -253
- package/dist/chunks/form-layout-title.B712PesH.js.map +0 -1
- package/dist/chunks/header-meta.I2Tztkls.js +0 -259
- package/dist/chunks/input-field-password.CA16O5Gv.js.map +0 -1
- package/dist/chunks/input-field.DlEEFday.js.map +0 -1
- package/dist/chunks/navigation-menu-group.D5HMMAuh.js +0 -320
- package/dist/chunks/navigation-menu-group.D5HMMAuh.js.map +0 -1
- package/dist/chunks/popover.types.63w2RF7Y.js +0 -6
- package/dist/chunks/secondary-nav.KIu9A7pb.js +0 -306
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
import { defineComponent as R, inject as W, ref as O, computed as b, watch as j, resolveComponent as Z, openBlock as n, createElementBlock as c, createElementVNode as _, unref as t, normalizeClass as q, createVNode as p, withCtx as i, createTextVNode as x, toDisplayString as y, createBlock as f, createCommentVNode as M, withModifiers as ee, Transition as ae, normalizeStyle as oe, Fragment as z, renderList as F, toRef as te, readonly as ne, provide as re } from "vue";
|
|
2
|
-
import { B as se } from "./dropdown.Bsic3Nll.js";
|
|
3
|
-
import { B as $ } from "./typography.B3J6_tYk.js";
|
|
4
|
-
import { B as G } from "./tag.DyNHhsGt.js";
|
|
5
|
-
import { C as J } from "./cross-circle-fill.BWCKKn0E.js";
|
|
6
|
-
import { a as le } from "./index.Cqv1XuTj.js";
|
|
7
|
-
import { u as P } from "./index.B875RXHM.js";
|
|
8
|
-
import { a as ie } from "./es6.Cu3DYUPA.js";
|
|
9
|
-
import { B as ue } from "./button.DWF7FSIw.js";
|
|
10
|
-
import { C as ce } from "./chevron-down.XeE-LBV_.js";
|
|
11
|
-
import { C as de } from "./chevron-up.Cmgl2a3x.js";
|
|
12
|
-
import { g as ve } from "./generate-uid.DBWe4g6T.js";
|
|
13
|
-
import { u as me } from "./use-expandable-content-height.Bdd9hQwq.js";
|
|
14
|
-
import { _ as U } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
15
|
-
import "../assets/secondary-nav.css";
|
|
16
|
-
const Q = /* @__PURE__ */ Symbol("secondary nav state"), X = {
|
|
17
|
-
"en-US": { errorCount: "error | errors" }
|
|
18
|
-
}, pe = { class: "b-secondary-nav-item" }, be = { class: "b-secondary-nav-item__wrapper" }, _e = ["aria-current", "aria-expanded", "aria-controls"], ye = { class: "b-secondary-nav-item__visually-hidden" }, fe = ["id"], ge = { i18n: { messages: X } }, he = /* @__PURE__ */ R({
|
|
19
|
-
...ge,
|
|
20
|
-
__name: "secondary-nav-item",
|
|
21
|
-
props: {
|
|
22
|
-
label: {},
|
|
23
|
-
value: {},
|
|
24
|
-
items: {},
|
|
25
|
-
isSubItem: { type: Boolean },
|
|
26
|
-
errorCounter: {}
|
|
27
|
-
},
|
|
28
|
-
emits: ["click"],
|
|
29
|
-
setup(N, { emit: g }) {
|
|
30
|
-
const { tc: D } = P({ messages: X }), { activeItemValue: d, updateActiveItemValue: H, allowExpandableItemNavigation: L } = W(Q), u = "b-secondary-nav-item__animation--content", v = N, r = O(!1), h = ve("secondary-nav-sub-items"), A = O(null), C = b(() => !!v.items?.length), S = b(() => d.value === v.value), s = b(() => C.value && !L.value), { contentHeight: B } = me(A, r), T = b(() => B.value ? { "max-height": B.value } : {}), k = b(() => ({
|
|
31
|
-
"b-secondary-nav-item__option--active": S.value,
|
|
32
|
-
"b-secondary-nav-item__option--expandable": C.value,
|
|
33
|
-
"b-secondary-nav-item__option--sub-item": v.isSubItem
|
|
34
|
-
})), E = g, V = (o) => {
|
|
35
|
-
E("click", o), H(v.value);
|
|
36
|
-
}, e = () => {
|
|
37
|
-
r.value = !r.value;
|
|
38
|
-
}, l = (o, m) => o.some(
|
|
39
|
-
(w) => w.value === m || (w.items ? l(w.items, m) : !1)
|
|
40
|
-
), a = (o) => o.some((m) => !!m.errorCounter || (m.items ? a(m.items) : !1));
|
|
41
|
-
return j(
|
|
42
|
-
[d, () => v.items],
|
|
43
|
-
([o]) => {
|
|
44
|
-
C.value && v.items && (l(v.items, o) || a(v.items)) && (r.value = !0);
|
|
45
|
-
},
|
|
46
|
-
{ immediate: !0, deep: !0 }
|
|
47
|
-
), (o, m) => {
|
|
48
|
-
const w = Z("secondary-nav-item", !0);
|
|
49
|
-
return n(), c("div", pe, [
|
|
50
|
-
_("div", be, [
|
|
51
|
-
_("button", {
|
|
52
|
-
class: q(["b-secondary-nav-item__option", k.value]),
|
|
53
|
-
"aria-current": S.value ? "page" : void 0,
|
|
54
|
-
"aria-expanded": s.value ? `${r.value}` : void 0,
|
|
55
|
-
"aria-controls": s.value ? t(h) : void 0,
|
|
56
|
-
onClick: m[0] || (m[0] = (I) => s.value ? e() : V(I))
|
|
57
|
-
}, [
|
|
58
|
-
p(t($), {
|
|
59
|
-
class: "b-secondary-nav-item__title",
|
|
60
|
-
variant: "body",
|
|
61
|
-
stronger: ""
|
|
62
|
-
}, {
|
|
63
|
-
default: i(() => [
|
|
64
|
-
x(y(o.label), 1)
|
|
65
|
-
]),
|
|
66
|
-
_: 1
|
|
67
|
-
}),
|
|
68
|
-
o.errorCounter ? (n(), f(t(G), {
|
|
69
|
-
key: 0,
|
|
70
|
-
class: "b-secondary-nav-item__error-counter",
|
|
71
|
-
variant: "red"
|
|
72
|
-
}, {
|
|
73
|
-
icon: i(() => [
|
|
74
|
-
p(t(J), { "aria-hidden": "true" })
|
|
75
|
-
]),
|
|
76
|
-
default: i(() => [
|
|
77
|
-
_("span", null, y(o.errorCounter), 1),
|
|
78
|
-
_("span", ye, y(t(D)("errorCount", o.errorCounter)), 1)
|
|
79
|
-
]),
|
|
80
|
-
_: 1
|
|
81
|
-
})) : M("", !0)
|
|
82
|
-
], 10, _e),
|
|
83
|
-
C.value ? (n(), f(t(ue), {
|
|
84
|
-
key: 0,
|
|
85
|
-
"aria-hidden": s.value,
|
|
86
|
-
tabindex: s.value ? -1 : void 0,
|
|
87
|
-
class: "b-secondary-nav-item__toggle",
|
|
88
|
-
variant: "tertiary",
|
|
89
|
-
"aria-label": r.value ? `Collapse ${o.label}` : `Expand ${o.label}`,
|
|
90
|
-
"aria-expanded": s.value ? void 0 : `${r.value}`,
|
|
91
|
-
"aria-controls": s.value ? void 0 : t(h),
|
|
92
|
-
onClick: ee(e, ["stop"])
|
|
93
|
-
}, {
|
|
94
|
-
iconLeft: i(() => [
|
|
95
|
-
r.value ? (n(), f(t(de), {
|
|
96
|
-
key: 0,
|
|
97
|
-
class: "b-secondary-nav-item__icon",
|
|
98
|
-
"aria-hidden": "true"
|
|
99
|
-
})) : (n(), f(t(ce), {
|
|
100
|
-
key: 1,
|
|
101
|
-
class: "b-secondary-nav-item__icon",
|
|
102
|
-
"aria-hidden": "true"
|
|
103
|
-
}))
|
|
104
|
-
]),
|
|
105
|
-
_: 1
|
|
106
|
-
}, 8, ["aria-hidden", "tabindex", "aria-label", "aria-expanded", "aria-controls"])) : M("", !0)
|
|
107
|
-
]),
|
|
108
|
-
p(ae, { name: u }, {
|
|
109
|
-
default: i(() => [
|
|
110
|
-
C.value && r.value ? (n(), c("div", {
|
|
111
|
-
key: 0,
|
|
112
|
-
id: t(h),
|
|
113
|
-
style: oe(T.value)
|
|
114
|
-
}, [
|
|
115
|
-
_("ul", {
|
|
116
|
-
ref_key: "subItemsRef",
|
|
117
|
-
ref: A,
|
|
118
|
-
class: "b-secondary-nav-item__sub-items"
|
|
119
|
-
}, [
|
|
120
|
-
(n(!0), c(z, null, F(o.items, (I) => (n(), c("li", {
|
|
121
|
-
key: I.value
|
|
122
|
-
}, [
|
|
123
|
-
p(w, {
|
|
124
|
-
label: I.label,
|
|
125
|
-
value: I.value,
|
|
126
|
-
items: I.items,
|
|
127
|
-
"error-counter": I.errorCounter,
|
|
128
|
-
"is-sub-item": ""
|
|
129
|
-
}, null, 8, ["label", "value", "items", "error-counter"])
|
|
130
|
-
]))), 128))
|
|
131
|
-
], 512)
|
|
132
|
-
], 12, fe)) : M("", !0)
|
|
133
|
-
]),
|
|
134
|
-
_: 1
|
|
135
|
-
})
|
|
136
|
-
]);
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
}), Y = /* @__PURE__ */ U(he, [["__scopeId", "data-v-0d3fb0ab"]]), Ce = ["aria-label"], Ie = { class: "b-secondary-nav__list" }, ke = {}, we = /* @__PURE__ */ R({
|
|
140
|
-
...ke,
|
|
141
|
-
__name: "secondary-nav-category",
|
|
142
|
-
props: {
|
|
143
|
-
label: {},
|
|
144
|
-
items: {}
|
|
145
|
-
},
|
|
146
|
-
setup(N) {
|
|
147
|
-
return (g, D) => (n(), c("section", {
|
|
148
|
-
class: "b-secondary-nav-category",
|
|
149
|
-
"aria-label": g.label
|
|
150
|
-
}, [
|
|
151
|
-
p(t($), {
|
|
152
|
-
el: "h1",
|
|
153
|
-
class: "b-secondary-nav-category__label",
|
|
154
|
-
variant: "caption",
|
|
155
|
-
stronger: ""
|
|
156
|
-
}, {
|
|
157
|
-
default: i(() => [
|
|
158
|
-
x(y(g.label), 1)
|
|
159
|
-
]),
|
|
160
|
-
_: 1
|
|
161
|
-
}),
|
|
162
|
-
_("ul", Ie, [
|
|
163
|
-
(n(!0), c(z, null, F(g.items, (d) => (n(), c("li", {
|
|
164
|
-
key: d.value
|
|
165
|
-
}, [
|
|
166
|
-
p(t(Y), {
|
|
167
|
-
label: d.label,
|
|
168
|
-
value: d.value,
|
|
169
|
-
items: d.items,
|
|
170
|
-
"error-counter": d.errorCounter
|
|
171
|
-
}, null, 8, ["label", "value", "items", "error-counter"])
|
|
172
|
-
]))), 128))
|
|
173
|
-
])
|
|
174
|
-
], 8, Ce));
|
|
175
|
-
}
|
|
176
|
-
}), Ne = /* @__PURE__ */ U(we, [["__scopeId", "data-v-7b080ce9"]]), K = {
|
|
177
|
-
"de-DE": { mobileDropdownAriaLabel: "Navigationsoptionen Dropdown-Menü" },
|
|
178
|
-
"en-GB": { mobileDropdownAriaLabel: "Navigation options drop-down" },
|
|
179
|
-
"en-US": { errorCount: "error | errors", mobileDropdownAriaLabel: "Navigation options dropdown" },
|
|
180
|
-
"es-ES": { mobileDropdownAriaLabel: "Menú desplegable de opciones de navegación" },
|
|
181
|
-
"es-MX": { mobileDropdownAriaLabel: "Menú desplegable de opciones de navegación" },
|
|
182
|
-
"fr-FR": { mobileDropdownAriaLabel: "Menu déroulant des options de navigation" },
|
|
183
|
-
"it-IT": { mobileDropdownAriaLabel: "Menu a tendina delle opzioni di navigazione" },
|
|
184
|
-
"ja-JP": { mobileDropdownAriaLabel: "ナビゲーションオプションのドロップダウン" },
|
|
185
|
-
"pt-BR": { mobileDropdownAriaLabel: "Menu suspenso de opções de navegação" },
|
|
186
|
-
"zh-CN": { mobileDropdownAriaLabel: "导航选项下拉菜单" }
|
|
187
|
-
}, De = { class: "b-secondary-nav" }, Ae = { class: "b-secondary-nav__visually-hidden" }, Se = {
|
|
188
|
-
key: 1,
|
|
189
|
-
class: "b-secondary-nav__list"
|
|
190
|
-
}, Be = {
|
|
191
|
-
i18n: { messages: K }
|
|
192
|
-
}, Ee = /* @__PURE__ */ R({
|
|
193
|
-
...Be,
|
|
194
|
-
__name: "secondary-nav",
|
|
195
|
-
props: {
|
|
196
|
-
items: {},
|
|
197
|
-
value: {},
|
|
198
|
-
allowExpandableItemNavigation: { type: Boolean }
|
|
199
|
-
},
|
|
200
|
-
emits: ["change"],
|
|
201
|
-
setup(N, { emit: g }) {
|
|
202
|
-
const { t: D, tc: d } = P({ messages: K }), L = le({
|
|
203
|
-
s: ie
|
|
204
|
-
}).smallerOrEqual("s"), u = N, v = g, r = (e) => "items" in e && !("value" in e), h = (e, l = 0) => e.flatMap((a) => {
|
|
205
|
-
const o = {
|
|
206
|
-
label: a.label,
|
|
207
|
-
value: a.value,
|
|
208
|
-
data: { level: l, hasSubItems: !!a.items?.length, errorCounter: a.errorCounter }
|
|
209
|
-
};
|
|
210
|
-
return a.items?.length ? [o, ...h(a.items, l + 1)] : [o];
|
|
211
|
-
}), A = (e) => !u.allowExpandableItemNavigation && e.data?.hasSubItems, C = b(() => u.items.some((e) => r(e))), S = b(() => u.items.flatMap((e) => r(e) ? [
|
|
212
|
-
{
|
|
213
|
-
label: e.label,
|
|
214
|
-
value: `category-${e.label}`,
|
|
215
|
-
items: h(e.items)
|
|
216
|
-
}
|
|
217
|
-
] : e.items?.length ? h([e]) : [
|
|
218
|
-
{
|
|
219
|
-
label: e.label,
|
|
220
|
-
value: e.value,
|
|
221
|
-
data: { level: 0, errorCounter: e.errorCounter }
|
|
222
|
-
}
|
|
223
|
-
])), s = (e) => e.flatMap((l) => [l, ...l.items?.length ? s(l.items) : []]), B = (e) => s(e).find((l) => u.allowExpandableItemNavigation || !l.items?.length)?.value ?? "", T = b(() => u.items.length ? B(
|
|
224
|
-
u.items.flatMap(
|
|
225
|
-
(e) => r(e) ? s(e.items) : s([e])
|
|
226
|
-
)
|
|
227
|
-
) : ""), k = O(u.value ?? T.value), E = (e) => {
|
|
228
|
-
k.value = e, v("change", e);
|
|
229
|
-
}, V = {
|
|
230
|
-
activeItemValue: ne(k),
|
|
231
|
-
updateActiveItemValue: E,
|
|
232
|
-
allowExpandableItemNavigation: te(u, "allowExpandableItemNavigation")
|
|
233
|
-
};
|
|
234
|
-
return j(
|
|
235
|
-
() => u.value,
|
|
236
|
-
(e) => {
|
|
237
|
-
e !== void 0 && (k.value = e);
|
|
238
|
-
}
|
|
239
|
-
), re(Q, V), (e, l) => (n(), c("nav", De, [
|
|
240
|
-
t(L) ? (n(), f(t(se), {
|
|
241
|
-
key: 0,
|
|
242
|
-
"aria-label": t(D)("mobileDropdownAriaLabel"),
|
|
243
|
-
items: S.value,
|
|
244
|
-
"static-categories": C.value,
|
|
245
|
-
"model-value": k.value,
|
|
246
|
-
"is-option-disabled": A,
|
|
247
|
-
"onUpdate:modelValue": E
|
|
248
|
-
}, {
|
|
249
|
-
"display-value": i(({ label: a }) => [
|
|
250
|
-
p(t($), { el: "span" }, {
|
|
251
|
-
default: i(() => [
|
|
252
|
-
x(y(a), 1)
|
|
253
|
-
]),
|
|
254
|
-
_: 2
|
|
255
|
-
}, 1024)
|
|
256
|
-
]),
|
|
257
|
-
default: i(({ label: a, data: o }) => [
|
|
258
|
-
p(t($), {
|
|
259
|
-
el: "div",
|
|
260
|
-
class: q({ "b-secondary-nav__option": !0, "b-secondary-nav__nested-option": !!o?.level })
|
|
261
|
-
}, {
|
|
262
|
-
default: i(() => [
|
|
263
|
-
x(y(a) + " ", 1),
|
|
264
|
-
o?.errorCounter ? (n(), f(t(G), {
|
|
265
|
-
key: 0,
|
|
266
|
-
class: "b-secondary-nav__error-counter",
|
|
267
|
-
variant: "red"
|
|
268
|
-
}, {
|
|
269
|
-
icon: i(() => [
|
|
270
|
-
p(t(J), { "aria-hidden": "true" })
|
|
271
|
-
]),
|
|
272
|
-
default: i(() => [
|
|
273
|
-
_("span", null, y(o.errorCounter), 1),
|
|
274
|
-
_("span", Ae, y(t(d)("errorCount", o.errorCounter)), 1)
|
|
275
|
-
]),
|
|
276
|
-
_: 2
|
|
277
|
-
}, 1024)) : M("", !0)
|
|
278
|
-
]),
|
|
279
|
-
_: 2
|
|
280
|
-
}, 1032, ["class"])
|
|
281
|
-
]),
|
|
282
|
-
_: 1
|
|
283
|
-
}, 8, ["aria-label", "items", "static-categories", "model-value"])) : (n(), c("ul", Se, [
|
|
284
|
-
(n(!0), c(z, null, F(e.items, (a) => (n(), c("li", {
|
|
285
|
-
key: a.label
|
|
286
|
-
}, [
|
|
287
|
-
"items" in a && !("value" in a) ? (n(), f(t(Ne), {
|
|
288
|
-
key: 0,
|
|
289
|
-
label: a.label,
|
|
290
|
-
items: a.items
|
|
291
|
-
}, null, 8, ["label", "items"])) : (n(), f(t(Y), {
|
|
292
|
-
key: 1,
|
|
293
|
-
label: a.label,
|
|
294
|
-
value: a.value,
|
|
295
|
-
items: a.items,
|
|
296
|
-
"error-counter": a.errorCounter
|
|
297
|
-
}, null, 8, ["label", "value", "items", "error-counter"]))
|
|
298
|
-
]))), 128))
|
|
299
|
-
]))
|
|
300
|
-
]));
|
|
301
|
-
}
|
|
302
|
-
}), Ge = /* @__PURE__ */ U(Ee, [["__scopeId", "data-v-34eeb7b8"]]);
|
|
303
|
-
export {
|
|
304
|
-
Ge as s
|
|
305
|
-
};
|
|
306
|
-
//# sourceMappingURL=secondary-nav.KIu9A7pb.js.map
|