@adyen/bento-vue3 1.89.2 → 1.90.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 +403 -298
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/alert.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/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/input-time.css +1 -0
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.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/chip.js +1 -1
- package/dist/chunks/accordion-item.CZIxxSsH.js +141 -0
- package/dist/chunks/{accordion-item.BX1KrLMl.js.map → accordion-item.CZIxxSsH.js.map} +1 -1
- package/dist/chunks/action-bar.Pe_hvtja.js +336 -0
- package/dist/chunks/{action-bar.DLMaIUWW.js.map → action-bar.Pe_hvtja.js.map} +1 -1
- package/dist/chunks/ai-tag.BSlc78DU.js +137 -0
- package/dist/chunks/{ai-tag.DK63ExDc.js.map → ai-tag.BSlc78DU.js.map} +1 -1
- package/dist/chunks/{alert.C_8-VNi_.js → alert.CFWN2E0b.js} +86 -79
- package/dist/chunks/{alert.C_8-VNi_.js.map → alert.CFWN2E0b.js.map} +1 -1
- package/dist/chunks/anchor-scroller.DSfXK6vK.js +214 -0
- package/dist/chunks/{anchor-scroller.NhjLDBZI.js.map → anchor-scroller.DSfXK6vK.js.map} +1 -1
- package/dist/chunks/{base-modal.C2-JyHC_.js → base-modal.BjjDrx0z.js} +132 -125
- package/dist/chunks/{base-modal.C2-JyHC_.js.map → base-modal.BjjDrx0z.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js → button-actions-with-menu.DvkS16ur.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js.map → button-actions-with-menu.DvkS16ur.js.map} +1 -1
- package/dist/chunks/{button-actions.cMQWyZne.js → button-actions.Bh_PZ_fV.js} +202 -188
- package/dist/chunks/{button-actions.cMQWyZne.js.map → button-actions.Bh_PZ_fV.js.map} +1 -1
- package/dist/chunks/{calendar.DcCqkSNJ.js → calendar.CH-1Vgeb.js} +343 -329
- package/dist/chunks/{calendar.DcCqkSNJ.js.map → calendar.CH-1Vgeb.js.map} +1 -1
- package/dist/chunks/card.BzCGCCzH.js +223 -0
- package/dist/chunks/{card.CoxQ_L0w.js.map → card.BzCGCCzH.js.map} +1 -1
- package/dist/chunks/{checkbox-group.96n9Cc3W.js → checkbox-group.D_fN6Glu.js} +4 -4
- package/dist/chunks/{checkbox-group.96n9Cc3W.js.map → checkbox-group.D_fN6Glu.js.map} +1 -1
- package/dist/chunks/{checkbox.C6ATh8f5.js → checkbox.BlAhQl9N.js} +78 -71
- package/dist/chunks/{checkbox.C6ATh8f5.js.map → checkbox.BlAhQl9N.js.map} +1 -1
- package/dist/chunks/chip.DFldnqfz.js +72 -0
- package/dist/chunks/{chip.CdgpQyXN.js.map → chip.DFldnqfz.js.map} +1 -1
- package/dist/chunks/{code-snippet.DgAuuZF5.js → code-snippet.BePxxR3q.js} +113 -106
- package/dist/chunks/{code-snippet.DgAuuZF5.js.map → code-snippet.BePxxR3q.js.map} +1 -1
- package/dist/chunks/{controls-group.C7hOE1F4.js → controls-group.Cxk-0fCy.js} +2 -2
- package/dist/chunks/{controls-group.C7hOE1F4.js.map → controls-group.Cxk-0fCy.js.map} +1 -1
- package/dist/chunks/copy.CL893i9-.js +114 -0
- package/dist/chunks/{copy.C2kQ1PbI.js.map → copy.CL893i9-.js.map} +1 -1
- package/dist/chunks/{country.CaGc08Ps.js → country.15m_ATbO.js} +3 -3
- package/dist/chunks/{country.CaGc08Ps.js.map → country.15m_ATbO.js.map} +1 -1
- package/dist/chunks/country.types.6a7xxZIR.js +26 -0
- package/dist/chunks/{country.types.DjpMGz7a.js.map → country.types.6a7xxZIR.js.map} +1 -1
- package/dist/chunks/{dashboard-section.UafHRkMa.js → dashboard-section.CiNDItU2.js} +3 -3
- package/dist/chunks/{dashboard-section.UafHRkMa.js.map → dashboard-section.CiNDItU2.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CcDV2Aks.js → dashed-underline.CwdpUz76.js} +3 -3
- package/dist/chunks/{dashed-underline.CcDV2Aks.js.map → dashed-underline.CwdpUz76.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CnC4TQvk.js → data-grid-template.nXn1dLCw.js} +4 -4
- package/dist/chunks/{data-grid-template.CnC4TQvk.js.map → data-grid-template.nXn1dLCw.js.map} +1 -1
- package/dist/chunks/data-grid.CXWaoqzi.js +4242 -0
- package/dist/chunks/data-grid.CXWaoqzi.js.map +1 -0
- package/dist/chunks/date-picker.DPjCROIP.js +238 -0
- package/dist/chunks/{date-picker.dlzZ_-5f.js.map → date-picker.DPjCROIP.js.map} +1 -1
- package/dist/chunks/date-range-picker.fyrfFd04.js +998 -0
- package/dist/chunks/date-range-picker.fyrfFd04.js.map +1 -0
- package/dist/chunks/dialog-page.Bh-7RAwX.js +163 -0
- package/dist/chunks/{dialog-page.COfKqjT-.js.map → dialog-page.Bh-7RAwX.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.bq9AlGzJ.js → dropdown-default-textbox.aYsTZDZ7.js} +69 -62
- package/dist/chunks/{dropdown-default-textbox.bq9AlGzJ.js.map → dropdown-default-textbox.aYsTZDZ7.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.Ysrac5GN.js → dropdown-tag.B7OA_Yv9.js} +5 -5
- package/dist/chunks/{dropdown-tag.Ysrac5GN.js.map → dropdown-tag.B7OA_Yv9.js.map} +1 -1
- package/dist/chunks/{dropdown.MhmX1P9o.js → dropdown.Do-mZiI6.js} +285 -271
- package/dist/chunks/{dropdown.MhmX1P9o.js.map → dropdown.Do-mZiI6.js.map} +1 -1
- package/dist/chunks/error-message.849uzpkq.js +157 -0
- package/dist/chunks/{error-message.DCgo8q20.js.map → error-message.849uzpkq.js.map} +1 -1
- package/dist/chunks/{file-uploader.Bfd1uUMe.js → file-uploader.BUvDU_cn.js} +604 -583
- package/dist/chunks/{file-uploader.Bfd1uUMe.js.map → file-uploader.BUvDU_cn.js.map} +1 -1
- package/dist/chunks/{filter-bar.CkAjLQol.js → filter-bar.fowl40RS.js} +998 -928
- package/dist/chunks/{filter-bar.CkAjLQol.js.map → filter-bar.fowl40RS.js.map} +1 -1
- package/dist/chunks/fixed-scroller.yVsaQzy5.js +157 -0
- package/dist/chunks/{fixed-scroller.DtkaGyMD.js.map → fixed-scroller.yVsaQzy5.js.map} +1 -1
- package/dist/chunks/{footer-actions.BcYSsoUg.js → footer-actions.uoNbOGAQ.js} +2 -2
- package/dist/chunks/{footer-actions.BcYSsoUg.js.map → footer-actions.uoNbOGAQ.js.map} +1 -1
- package/dist/chunks/form-layout-title.Cr3wdpK_.js +239 -0
- package/dist/chunks/{form-layout-title.DW5Kg1rh.js.map → form-layout-title.Cr3wdpK_.js.map} +1 -1
- package/dist/chunks/{header-meta.Bym9AlQm.js → header-meta.CmH6SnjE.js} +98 -84
- package/dist/chunks/{header-meta.Bym9AlQm.js.map → header-meta.CmH6SnjE.js.map} +1 -1
- package/dist/chunks/{header-with-views.Djba6iol.js → header-with-views.B2pPBcTf.js} +1091 -1070
- package/dist/chunks/{header-with-views.Djba6iol.js.map → header-with-views.B2pPBcTf.js.map} +1 -1
- package/dist/chunks/{header.o-7SyHtU.js → header.BVM8Usdi.js} +3 -3
- package/dist/chunks/{header.o-7SyHtU.js.map → header.BVM8Usdi.js.map} +1 -1
- package/dist/chunks/{info-icon.BUala_wq.js → info-icon.B3MDsjMu.js} +2 -2
- package/dist/chunks/{info-icon.BUala_wq.js.map → info-icon.B3MDsjMu.js.map} +1 -1
- package/dist/chunks/input-field-password.CHb2Ros_.js +353 -0
- package/dist/chunks/{input-field-password.DZytmp_p.js.map → input-field-password.CHb2Ros_.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.CxblrmaU.js → input-field-phone-number.DM2rmZkQ.js} +12 -5
- package/dist/chunks/{input-field-phone-number.CxblrmaU.js.map → input-field-phone-number.DM2rmZkQ.js.map} +1 -1
- package/dist/chunks/{input-field.CfU0ZKtL.js → input-field.DnYjM6yy.js} +118 -111
- package/dist/chunks/{input-field.CfU0ZKtL.js.map → input-field.DnYjM6yy.js.map} +1 -1
- package/dist/chunks/input-time.DeJ8lDio.js +103 -0
- package/dist/chunks/input-time.DeJ8lDio.js.map +1 -0
- package/dist/chunks/{inspector.B9k4tJWe.js → inspector.DMhKNW1K.js} +70 -63
- package/dist/chunks/{inspector.B9k4tJWe.js.map → inspector.DMhKNW1K.js.map} +1 -1
- package/dist/chunks/{list-item.DO5uULke.js → list-item.BHvXpqaS.js} +2 -2
- package/dist/chunks/{list-item.DO5uULke.js.map → list-item.BHvXpqaS.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.Cvplth7d.js → listbox-option-tag.CVxaZqbc.js} +2 -2
- package/dist/chunks/{listbox-option-tag.Cvplth7d.js.map → listbox-option-tag.CVxaZqbc.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.CuKVyTWb.js → modal-fullscreen.9CSTqFQc.js} +54 -47
- package/dist/chunks/{modal-fullscreen.CuKVyTWb.js.map → modal-fullscreen.9CSTqFQc.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js → modal.vue_vue_type_script_setup_true_lang.BAxTkaQM.js} +48 -41
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js.map → modal.vue_vue_type_script_setup_true_lang.BAxTkaQM.js.map} +1 -1
- package/dist/chunks/pagination.DL-h8OLF.js +413 -0
- package/dist/chunks/{pagination.dpVc6Yt0.js.map → pagination.DL-h8OLF.js.map} +1 -1
- package/dist/chunks/{promo-banner.BzveHNOI.js → promo-banner.-H4r_cwj.js} +39 -32
- package/dist/chunks/{promo-banner.BzveHNOI.js.map → promo-banner.-H4r_cwj.js.map} +1 -1
- package/dist/chunks/{radio-group.Cuiq4mxy.js → radio-group.DzhQgXv9.js} +4 -4
- package/dist/chunks/{radio-group.Cuiq4mxy.js.map → radio-group.DzhQgXv9.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.DLMiT4f5.js → rich-text-editor.Ij2t4pyI.js} +418 -411
- package/dist/chunks/{rich-text-editor.DLMiT4f5.js.map → rich-text-editor.Ij2t4pyI.js.map} +1 -1
- package/dist/chunks/search-bar.DfNwnjes.js +114 -0
- package/dist/chunks/{search-bar.CsFyP0_I.js.map → search-bar.DfNwnjes.js.map} +1 -1
- package/dist/chunks/secondary-nav.CvipTDRh.js +285 -0
- package/dist/chunks/secondary-nav.CvipTDRh.js.map +1 -0
- package/dist/chunks/{segmented-control.KeQ5kuR1.js → segmented-control.CQWOO1-J.js} +2 -2
- package/dist/chunks/{segmented-control.KeQ5kuR1.js.map → segmented-control.CQWOO1-J.js.map} +1 -1
- package/dist/chunks/{selection-card-group.XM11Kk-4.js → selection-card-group.CcOWQAUC.js} +11 -11
- package/dist/chunks/{selection-card-group.XM11Kk-4.js.map → selection-card-group.CcOWQAUC.js.map} +1 -1
- package/dist/chunks/{sidepanel.b2QZ1Jsx.js → sidepanel.BObSv8UU.js} +56 -49
- package/dist/chunks/{sidepanel.b2QZ1Jsx.js.map → sidepanel.BObSv8UU.js.map} +1 -1
- package/dist/chunks/step.AsX2jAeL.js +268 -0
- package/dist/chunks/{step.BlwoLfdw.js.map → step.AsX2jAeL.js.map} +1 -1
- package/dist/chunks/structured-list-item.CgJR_ufh.js +112 -0
- package/dist/chunks/{structured-list-item.e-8kRleh.js.map → structured-list-item.CgJR_ufh.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.CcvOC03H.js → summary-grid.types.DKPhtHw3.js} +5 -5
- package/dist/chunks/{summary-grid.types.CcvOC03H.js.map → summary-grid.types.DKPhtHw3.js.map} +1 -1
- package/dist/chunks/{tab.mR5uUSdp.js → tab.9nyNZiGw.js} +2 -2
- package/dist/chunks/{tab.mR5uUSdp.js.map → tab.9nyNZiGw.js.map} +1 -1
- package/dist/chunks/{tag.DujMVFh-.js → tag.YN2r-Pp3.js} +2 -2
- package/dist/chunks/{tag.DujMVFh-.js.map → tag.YN2r-Pp3.js.map} +1 -1
- package/dist/chunks/textarea.C-sBemuo.js +256 -0
- package/dist/chunks/{textarea.CHV6Z8nt.js.map → textarea.C-sBemuo.js.map} +1 -1
- package/dist/chunks/timeline-item.CHk8wXeT.js +433 -0
- package/dist/chunks/{timeline-item.CaGcRZbt.js.map → timeline-item.CHk8wXeT.js.map} +1 -1
- package/dist/chunks/{toast.C2oehk9P.js → toast.De4MTkiH.js} +64 -57
- package/dist/chunks/{toast.C2oehk9P.js.map → toast.De4MTkiH.js.map} +1 -1
- package/dist/chunks/{tooltip.CbADa_4p.js → tooltip.DHfG2aRt.js} +40 -38
- package/dist/chunks/tooltip.DHfG2aRt.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js → tutorial.vue_vue_type_script_setup_true_lang.CUDeriBU.js} +120 -113
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js.map → tutorial.vue_vue_type_script_setup_true_lang.CUDeriBU.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.ClEJRFAd.js → use-cached-selected-values.DIbfa5F1.js} +381 -360
- package/dist/chunks/{use-cached-selected-values.ClEJRFAd.js.map → use-cached-selected-values.DIbfa5F1.js.map} +1 -1
- package/dist/chunks/{use-country-items.D_3LBe2I.js → use-country-items.Dp7X1r2e.js} +3 -3
- package/dist/chunks/{use-country-items.D_3LBe2I.js.map → use-country-items.Dp7X1r2e.js.map} +1 -1
- package/dist/chunks/{use-country-phon-code.DoqTGkNr.js → use-country-phon-code.BzcawGpE.js} +107 -104
- package/dist/chunks/{use-country-phon-code.DoqTGkNr.js.map → use-country-phon-code.BzcawGpE.js.map} +1 -1
- package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js → use-date-input-formatter.BiIraXZZ.js} +2 -2
- package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js.map → use-date-input-formatter.BiIraXZZ.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +3 -3
- 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-handle.js +51 -44
- package/dist/draggable-handle.js.map +1 -1
- package/dist/dropdown.js +4 -4
- 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 +205 -203
- 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 +5 -0
- package/dist/input-time.js.map +1 -0
- package/dist/inspector.js +1 -1
- package/dist/internal.js +12 -12
- 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/pagination.js +1 -1
- package/dist/popover.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/stepper.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/toast.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/chunks/accordion-item.BX1KrLMl.js +0 -134
- package/dist/chunks/action-bar.DLMaIUWW.js +0 -329
- package/dist/chunks/ai-tag.DK63ExDc.js +0 -130
- package/dist/chunks/anchor-scroller.NhjLDBZI.js +0 -207
- package/dist/chunks/card.CoxQ_L0w.js +0 -216
- package/dist/chunks/chip.CdgpQyXN.js +0 -65
- package/dist/chunks/copy.C2kQ1PbI.js +0 -107
- package/dist/chunks/country.types.DjpMGz7a.js +0 -19
- package/dist/chunks/data-grid.BSIXLRm7.js +0 -4014
- package/dist/chunks/data-grid.BSIXLRm7.js.map +0 -1
- package/dist/chunks/date-picker.dlzZ_-5f.js +0 -231
- package/dist/chunks/date-range-picker.DC6CK0As.js +0 -995
- package/dist/chunks/date-range-picker.DC6CK0As.js.map +0 -1
- package/dist/chunks/dialog-page.COfKqjT-.js +0 -156
- package/dist/chunks/error-message.DCgo8q20.js +0 -143
- package/dist/chunks/fixed-scroller.DtkaGyMD.js +0 -150
- package/dist/chunks/form-layout-title.DW5Kg1rh.js +0 -230
- package/dist/chunks/input-field-password.DZytmp_p.js +0 -346
- package/dist/chunks/pagination.dpVc6Yt0.js +0 -401
- package/dist/chunks/search-bar.CsFyP0_I.js +0 -107
- package/dist/chunks/secondary-nav.CLBdq98c.js +0 -138
- package/dist/chunks/secondary-nav.CLBdq98c.js.map +0 -1
- package/dist/chunks/step.BlwoLfdw.js +0 -259
- package/dist/chunks/structured-list-item.e-8kRleh.js +0 -105
- package/dist/chunks/textarea.CHV6Z8nt.js +0 -247
- package/dist/chunks/timeline-item.CaGcRZbt.js +0 -419
- package/dist/chunks/tooltip.CbADa_4p.js.map +0 -1
package/dist/code-snippet.js
CHANGED
package/dist/country.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as a } from "./chunks/country.
|
|
2
|
-
import { B as r, a as n, u } from "./chunks/country.types.
|
|
3
|
-
import { u as C, a as y } from "./chunks/use-country-phon-code.
|
|
1
|
+
import { c as a } from "./chunks/country.15m_ATbO.js";
|
|
2
|
+
import { B as r, a as n, u } from "./chunks/country.types.6a7xxZIR.js";
|
|
3
|
+
import { u as C, a as y } from "./chunks/use-country-phon-code.BzcawGpE.js";
|
|
4
4
|
export {
|
|
5
5
|
a as BentoCountry,
|
|
6
6
|
r as BentoCountryCode,
|
package/dist/dashed-underline.js
CHANGED
package/dist/data-grid.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as e, d as o, a as r, b as i, c as n, e as d, f as B, g as l, h as s, i as D } from "./chunks/data-grid.
|
|
1
|
+
import { B as e, d as o, a as r, b as i, c as n, e as d, f as B, g as l, h as s, i as D } from "./chunks/data-grid.CXWaoqzi.js";
|
|
2
2
|
export {
|
|
3
3
|
e as BentoColumnOverflow,
|
|
4
4
|
o as BentoDataGrid,
|
package/dist/date-picker.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as a } from "./chunks/date-picker.
|
|
1
|
+
import { B as a } from "./chunks/date-picker.DPjCROIP.js";
|
|
2
2
|
import { B as o } from "./chunks/date-picker.types.Ckt7zxGy.js";
|
|
3
|
-
import { C as n, a as B } from "./chunks/calendar.
|
|
3
|
+
import { C as n, a as B } from "./chunks/calendar.CH-1Vgeb.js";
|
|
4
4
|
export {
|
|
5
5
|
a as BentoDatePicker,
|
|
6
6
|
o as BentoDatePickerEvent,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as t } from "./chunks/date-range-picker.
|
|
1
|
+
import { B as t } from "./chunks/date-range-picker.fyrfFd04.js";
|
|
2
2
|
import { B as n } from "./chunks/date-range-picker.types.Ckt7zxGy.js";
|
|
3
|
-
import { C as i, a as B } from "./chunks/calendar.
|
|
3
|
+
import { C as i, a as B } from "./chunks/calendar.CH-1Vgeb.js";
|
|
4
4
|
export {
|
|
5
5
|
t as BentoDateRangePicker,
|
|
6
6
|
n as BentoDateRangePickerEvent,
|
package/dist/draggable-handle.js
CHANGED
|
@@ -1,64 +1,71 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { f as
|
|
3
|
-
import { u as
|
|
4
|
-
import { G as
|
|
1
|
+
import { openBlock as i, createElementBlock as m, mergeProps as T, toDisplayString as f, createCommentVNode as g, createElementVNode as s, defineComponent as w, computed as v, createBlock as _, unref as p, withCtx as D, createVNode as R } from "vue";
|
|
2
|
+
import { f as B } from "./chunks/button-actions.Bh_PZ_fV.js";
|
|
3
|
+
import { u as $ } from "./chunks/index.B875RXHM.js";
|
|
4
|
+
import { G as U } from "./chunks/grab.DJYL4kBq.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { _ as
|
|
7
|
-
import { A as
|
|
8
|
-
import { A } from "./chunks/arrow-right.fSdLV_ho.js";
|
|
6
|
+
import { _ as d } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
|
+
import { A as S } from "./chunks/arrow-left.C6UiqO-c.js";
|
|
8
|
+
import { A as N } from "./chunks/arrow-right.fSdLV_ho.js";
|
|
9
9
|
import "./assets/draggable-handle.css";
|
|
10
|
-
let
|
|
11
|
-
const
|
|
10
|
+
let h = 0;
|
|
11
|
+
const x = {
|
|
12
12
|
beforeCreate() {
|
|
13
|
-
this.uuid =
|
|
13
|
+
this.uuid = h.toString(), h += 1;
|
|
14
14
|
}
|
|
15
|
-
},
|
|
16
|
-
function
|
|
17
|
-
return
|
|
15
|
+
}, I = { key: 0 };
|
|
16
|
+
function C(t, n, a, e, r, l) {
|
|
17
|
+
return i(), m("svg", T({ role: "img" }, t.$attrs, {
|
|
18
18
|
class: "ui-assets-icons-16",
|
|
19
19
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20
20
|
width: "16",
|
|
21
21
|
height: "16",
|
|
22
22
|
fill: "none"
|
|
23
23
|
}), [
|
|
24
|
-
t.$attrs["svg-title"] ? (
|
|
25
|
-
n[0] || (n[0] =
|
|
24
|
+
t.$attrs["svg-title"] ? (i(), m("title", I, f(t.$attrs["svg-title"]), 1)) : g("", !0),
|
|
25
|
+
n[0] || (n[0] = s("path", {
|
|
26
26
|
fill: "#001222",
|
|
27
27
|
d: "M8.75023 3.81089L13.0001 8.06077L14.0608 7.00011L8.00011 0.939453L1.93945 7.00011L3.00011 8.06077L7.25023 3.81066V14.7502H8.75023V3.81089Z"
|
|
28
28
|
}, null, -1))
|
|
29
29
|
], 16);
|
|
30
30
|
}
|
|
31
|
-
const c = /* @__PURE__ */
|
|
32
|
-
let
|
|
33
|
-
const
|
|
31
|
+
const c = /* @__PURE__ */ d(x, [["render", C]]);
|
|
32
|
+
let u = 0;
|
|
33
|
+
const k = {
|
|
34
34
|
beforeCreate() {
|
|
35
|
-
this.uuid =
|
|
35
|
+
this.uuid = u.toString(), u += 1;
|
|
36
36
|
}
|
|
37
|
-
},
|
|
38
|
-
function
|
|
39
|
-
return
|
|
37
|
+
}, A = { key: 0 };
|
|
38
|
+
function y(t, n, a, e, r, l) {
|
|
39
|
+
return i(), m("svg", T({ role: "img" }, t.$attrs, {
|
|
40
40
|
class: "ui-assets-icons-16",
|
|
41
41
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42
42
|
width: "16",
|
|
43
43
|
height: "16",
|
|
44
44
|
fill: "none"
|
|
45
45
|
}), [
|
|
46
|
-
t.$attrs["svg-title"] ? (
|
|
47
|
-
n[0] || (n[0] =
|
|
46
|
+
t.$attrs["svg-title"] ? (i(), m("title", A, f(t.$attrs["svg-title"]), 1)) : g("", !0),
|
|
47
|
+
n[0] || (n[0] = s("path", {
|
|
48
48
|
fill: "#001222",
|
|
49
49
|
d: "M7.25434 12.1937L3.00011 7.93952L1.93945 9.00018L8.00011 15.0608L14.0608 9.00018L13.0001 7.93952L8.75433 12.1853L8.74316 1.24951L7.24316 1.25104L7.25434 12.1937Z"
|
|
50
50
|
}, null, -1))
|
|
51
51
|
], 16);
|
|
52
52
|
}
|
|
53
|
-
const
|
|
53
|
+
const b = /* @__PURE__ */ d(k, [["render", y]]), M = {
|
|
54
|
+
"de-DE": { moveDown: "Nach unten", moveLeft: "Nach links", moveRight: "Nach rechts bewegen", moveToTheBottom: "Nach unten", moveToTheTop: "Nach oben", moveUp: "Nach oben", reorderLabel: "{label} neu anordnen" },
|
|
55
|
+
"en-GB": { moveDown: "Move down", moveLeft: "Move left", moveRight: "Move right", moveToTheBottom: "Move to the bottom", moveToTheTop: "Move to the top", moveUp: "Move up", reorderLabel: "Reorder {label}" },
|
|
54
56
|
"en-US": { moveDown: "Move down", moveLeft: "Move left", moveRight: "Move right", moveToTheBottom: "Move to the bottom", moveToTheTop: "Move to the top", moveUp: "Move up", reorderLabel: "Reorder {label}" },
|
|
57
|
+
"es-ES": { moveDown: "Mover hacia abajo", moveLeft: "Mover a la izquierda", moveRight: "Mover a la derecha", moveToTheBottom: "Mover a la parte inferior", moveToTheTop: "Mover a la parte superior", moveUp: "Mover hacia arriba", reorderLabel: "Reordenar {label}" },
|
|
58
|
+
"es-MX": { moveDown: "Mover hacia abajo", moveLeft: "Mover a la izquierda", moveRight: "Mover a la derecha", moveToTheBottom: "Mover a la parte inferior", moveToTheTop: "Mover a la parte superior", moveUp: "Mover hacia arriba", reorderLabel: "Reordenar {label}" },
|
|
59
|
+
"fr-FR": { moveDown: "Déplacer vers le bas", moveLeft: "Déplacer à gauche", moveRight: "Déplacer à droite", moveToTheBottom: "Déplacer tout en bas", moveToTheTop: "Déplacer tout en haut", moveUp: "Déplacer vers le haut", reorderLabel: "Réorganiser {label}" },
|
|
60
|
+
"it-IT": { moveDown: "Sposta giù", moveLeft: "Sposta a sinistra", moveRight: "Sposta a destra", moveToTheBottom: "Sposta in fondo", moveToTheTop: "Sposta in cima", moveUp: "Sposta in alto", reorderLabel: "Riordina {label}" },
|
|
55
61
|
"ja-JP": { moveDown: "下に移動", moveLeft: "左に移動", moveRight: "右に移動", moveToTheBottom: "一番下に移動", moveToTheTop: "一番上に移動", moveUp: "上に移動", reorderLabel: "{label}を並べ替え" },
|
|
56
|
-
"pt-BR": { moveDown: "Mover para baixo", moveLeft: "Mover para a esquerda", moveRight: "Mover para a direita", moveToTheBottom: "Mover para embaixo", moveToTheTop: "Mover para o topo", moveUp: "Mover para cima", reorderLabel: "Reordenar {label}" }
|
|
57
|
-
|
|
58
|
-
|
|
62
|
+
"pt-BR": { moveDown: "Mover para baixo", moveLeft: "Mover para a esquerda", moveRight: "Mover para a direita", moveToTheBottom: "Mover para embaixo", moveToTheTop: "Mover para o topo", moveUp: "Mover para cima", reorderLabel: "Reordenar {label}" },
|
|
63
|
+
"zh-CN": { moveDown: "下移", moveLeft: "左移", moveRight: "右移", moveToTheBottom: "移至底部", moveToTheTop: "移至顶部", moveUp: "上移", reorderLabel: "重新排序 {label}" }
|
|
64
|
+
}, E = { class: "b-draggable-handle__icon" }, V = {
|
|
65
|
+
i18n: { messages: M },
|
|
59
66
|
name: "bento-draggable-handle"
|
|
60
|
-
},
|
|
61
|
-
...
|
|
67
|
+
}, j = /* @__PURE__ */ w({
|
|
68
|
+
...V,
|
|
62
69
|
props: {
|
|
63
70
|
condensed: { type: Boolean, default: !1 },
|
|
64
71
|
disabledMenus: { default: () => ({}) },
|
|
@@ -67,13 +74,13 @@ const h = /* @__PURE__ */ m(y, [["render", V]]), L = {
|
|
|
67
74
|
},
|
|
68
75
|
emits: ["move-bottom", "move-down", "move-left", "move-right", "move-top", "move-up"],
|
|
69
76
|
setup(t, { emit: n }) {
|
|
70
|
-
const { t: a } =
|
|
77
|
+
const { t: a } = $({ messages: M }), e = t, r = n, l = v(
|
|
71
78
|
() => ({
|
|
72
79
|
"aria-label": a("reorderLabel", { label: e.label }),
|
|
73
80
|
condensed: e.condensed,
|
|
74
81
|
variant: "tertiary"
|
|
75
82
|
})
|
|
76
|
-
),
|
|
83
|
+
), L = v(() => {
|
|
77
84
|
const o = {
|
|
78
85
|
up: {
|
|
79
86
|
text: a("moveUp"),
|
|
@@ -85,19 +92,19 @@ const h = /* @__PURE__ */ m(y, [["render", V]]), L = {
|
|
|
85
92
|
text: a("moveDown"),
|
|
86
93
|
handler: () => r("move-down"),
|
|
87
94
|
disabled: e.disabledMenus.down,
|
|
88
|
-
icon:
|
|
95
|
+
icon: b
|
|
89
96
|
},
|
|
90
97
|
left: {
|
|
91
98
|
text: a("moveLeft"),
|
|
92
99
|
handler: () => r("move-left"),
|
|
93
100
|
disabled: e.disabledMenus.left,
|
|
94
|
-
icon:
|
|
101
|
+
icon: S
|
|
95
102
|
},
|
|
96
103
|
right: {
|
|
97
104
|
text: a("moveRight"),
|
|
98
105
|
handler: () => r("move-right"),
|
|
99
106
|
disabled: e.disabledMenus.right,
|
|
100
|
-
icon:
|
|
107
|
+
icon: N
|
|
101
108
|
},
|
|
102
109
|
top: {
|
|
103
110
|
text: a("moveToTheTop"),
|
|
@@ -109,7 +116,7 @@ const h = /* @__PURE__ */ m(y, [["render", V]]), L = {
|
|
|
109
116
|
text: a("moveToTheBottom"),
|
|
110
117
|
handler: () => r("move-bottom"),
|
|
111
118
|
disabled: e.disabledMenus.bottom,
|
|
112
|
-
icon:
|
|
119
|
+
icon: b
|
|
113
120
|
}
|
|
114
121
|
};
|
|
115
122
|
return e.variant === "up-and-down" ? [
|
|
@@ -134,22 +141,22 @@ const h = /* @__PURE__ */ m(y, [["render", V]]), L = {
|
|
|
134
141
|
o.bottom
|
|
135
142
|
];
|
|
136
143
|
});
|
|
137
|
-
return (o,
|
|
144
|
+
return (o, q) => (i(), _(p(B), {
|
|
138
145
|
class: "b-draggable-handle",
|
|
139
|
-
data:
|
|
146
|
+
data: L.value,
|
|
140
147
|
"menu-width": 250,
|
|
141
|
-
button:
|
|
148
|
+
button: l.value
|
|
142
149
|
}, {
|
|
143
|
-
iconLeft:
|
|
144
|
-
|
|
145
|
-
|
|
150
|
+
iconLeft: D(() => [
|
|
151
|
+
s("span", E, [
|
|
152
|
+
R(p(U), { "aria-hidden": "true" })
|
|
146
153
|
])
|
|
147
154
|
]),
|
|
148
155
|
_: 1
|
|
149
156
|
}, 8, ["data", "button"]));
|
|
150
157
|
}
|
|
151
|
-
}),
|
|
158
|
+
}), K = /* @__PURE__ */ d(j, [["__scopeId", "data-v-5e65c9c5"]]);
|
|
152
159
|
export {
|
|
153
|
-
|
|
160
|
+
K as BentoDraggableHandle
|
|
154
161
|
};
|
|
155
162
|
//# sourceMappingURL=draggable-handle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draggable-handle.js","sources":["../../ui-assets/icons-16/dist/vue/arrow-top.vue","../../ui-assets/icons-16/dist/vue/arrow-bottom.vue","../../vue2/src/components/draggable-handle/draggable-handle.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M8.75023 3.81089L13.0001 8.06077L14.0608 7.00011L8.00011 0.939453L1.93945 7.00011L3.00011 8.06077L7.25023 3.81066V14.7502H8.75023V3.81089Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M7.25434 12.1937L3.00011 7.93952L1.93945 9.00018L8.00011 15.0608L14.0608 9.00018L13.0001 7.93952L8.75433 12.1853L8.74316 1.24951L7.24316 1.25104L7.25434 12.1937Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <bento-menu class=\"b-draggable-handle\" :data=\"menuData\" :menu-width=\"250\" :button=\"buttonComputedProps\">\n <template #iconLeft>\n <span class=\"b-draggable-handle__icon\">\n <grab-icon aria-hidden=\"true\" />\n </span>\n </template>\n </bento-menu>\n</template>\n\n<script setup lang=\"ts\">\n import { computed } from 'vue';\n import { BentoMenu, type BentoMenuItem, type BentoMenuProps } from '@/components/menu';\n import { type BentoDraggableHandleProps } from './draggable-handle.types';\n import { useI18n } from '@/utils/ts/i18n';\n import GrabIcon from '@adyen/ui-assets-icons-16/vue/grab';\n import ArrowTopIcon from '@adyen/ui-assets-icons-16/vue/arrow-top';\n import ArrowLeftIcon from '@adyen/ui-assets-icons-16/vue/arrow-left';\n import ArrowRightIcon from '@adyen/ui-assets-icons-16/vue/arrow-right';\n import ArrowBottomIcon from '@adyen/ui-assets-icons-16/vue/arrow-bottom';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const props = withDefaults(defineProps<BentoDraggableHandleProps>(), {\n condensed: false,\n disabledMenus: () => ({}),\n variant: 'up-and-down',\n });\n const emit = defineEmits<{\n /**\n * Emitted when the \"Move to bottom\" action is fired.\n */\n (e: 'move-bottom'): void;\n /**\n * Emitted when the \"Move down\" action is fired.\n */\n (e: 'move-down'): void;\n /**\n * Emitted when the \"Move left\" action is fired. (Only in `all-directions` variant)\n */\n (e: 'move-left'): void;\n /**\n * Emitted when the \"Move right\" action is fired. (Only in `all-directions` variant)\n */\n (e: 'move-right'): void;\n /**\n * Emitted when the \"Move to top\" action is fired.\n */\n (e: 'move-top'): void;\n /**\n * Emitted when the \"Move up\" action is fired.\n */\n (e: 'move-up'): void;\n }>();\n\n const buttonComputedProps = computed(\n () =>\n ({\n 'aria-label': t('reorderLabel', { label: props.label }),\n condensed: props.condensed,\n variant: 'tertiary',\n }) as BentoMenuProps['button']\n );\n\n /**\n * Renders the menus for the draggable handle.\n */\n const menuData = computed(() => {\n const MENUS: {\n [key: string]: BentoMenuItem;\n } = {\n up: {\n text: t('moveUp'),\n handler: () => emit('move-up'),\n disabled: props.disabledMenus.up,\n icon: ArrowTopIcon,\n },\n down: {\n text: t('moveDown'),\n handler: () => emit('move-down'),\n disabled: props.disabledMenus.down,\n icon: ArrowBottomIcon,\n },\n left: {\n text: t('moveLeft'),\n handler: () => emit('move-left'),\n disabled: props.disabledMenus.left,\n icon: ArrowLeftIcon,\n },\n right: {\n text: t('moveRight'),\n handler: () => emit('move-right'),\n disabled: props.disabledMenus.right,\n icon: ArrowRightIcon,\n },\n top: {\n text: t('moveToTheTop'),\n handler: () => emit('move-top'),\n disabled: props.disabledMenus.top,\n icon: ArrowTopIcon,\n },\n bottom: {\n text: t('moveToTheBottom'),\n handler: () => emit('move-bottom'),\n disabled: props.disabledMenus.bottom,\n icon: ArrowBottomIcon,\n },\n };\n\n // Render the menus and dividers according to the variant\n return props.variant === 'up-and-down'\n ? [\n MENUS.up,\n // Divider added after \"Move down\"\n {\n ...MENUS.down,\n addDivider: true,\n },\n MENUS.top,\n MENUS.bottom,\n ]\n : [\n MENUS.up,\n MENUS.down,\n MENUS.left,\n // Divider added after \"Move right\"\n {\n ...MENUS.right,\n addDivider: true,\n },\n MENUS.top,\n MENUS.bottom,\n ];\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Bento drag and drop handle component.\n *\n * @example\n * import { BentoDraggableHandle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDraggableHandle },\n * template: `\n * <bento-draggable-handle\n * bottom\n * condensed\n * down\n * left\n * right\n * top\n * up\n * \\@move-bottom=\"moveBottom(index)\"\n * \\@move-down=\"moveDown(index)\"\n * \\@move-left=\"moveLeft(index)\"\n * \\@move-right=\"moveRight(index)\"\n * \\@move-top=\"moveTop(index)\"\n * \\@move-up=\"moveUp(index)\"\n * />\n * `,\n * setup() {\n * const moveBottom = () => {}\n * const moveDown = () => {}\n * const moveLeft = () => {}\n * const moveRight = () => {}\n * const moveTop = () => {}\n * const moveUp = () => {}\n * }\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-draggable-handle',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./draggable-handle.scss\" />\n"],"names":["uuid$1","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","uuid","__default__","messages","t","useI18n","props","__props","emit","__emit","buttonComputedProps","computed","menuData","MENUS","ArrowTopIcon","ArrowBottomIcon","ArrowLeftIcon","ArrowRightIcon"],"mappings":";;;;;;;;;AAOI,IAAAA,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAC,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA;;;;ACKzN,IAAAC,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAL,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA
|
|
1
|
+
{"version":3,"file":"draggable-handle.js","sources":["../../ui-assets/icons-16/dist/vue/arrow-top.vue","../../ui-assets/icons-16/dist/vue/arrow-bottom.vue","../../vue2/src/components/draggable-handle/draggable-handle.vue"],"sourcesContent":["\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M8.75023 3.81089L13.0001 8.06077L14.0608 7.00011L8.00011 0.939453L1.93945 7.00011L3.00011 8.06077L7.25023 3.81066V14.7502H8.75023V3.81089Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M7.25434 12.1937L3.00011 7.93952L1.93945 9.00018L8.00011 15.0608L14.0608 9.00018L13.0001 7.93952L8.75433 12.1853L8.74316 1.24951L7.24316 1.25104L7.25434 12.1937Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <bento-menu class=\"b-draggable-handle\" :data=\"menuData\" :menu-width=\"250\" :button=\"buttonComputedProps\">\n <template #iconLeft>\n <span class=\"b-draggable-handle__icon\">\n <grab-icon aria-hidden=\"true\" />\n </span>\n </template>\n </bento-menu>\n</template>\n\n<script setup lang=\"ts\">\n import { computed } from 'vue';\n import { BentoMenu, type BentoMenuItem, type BentoMenuProps } from '@/components/menu';\n import { type BentoDraggableHandleProps } from './draggable-handle.types';\n import { useI18n } from '@/utils/ts/i18n';\n import GrabIcon from '@adyen/ui-assets-icons-16/vue/grab';\n import ArrowTopIcon from '@adyen/ui-assets-icons-16/vue/arrow-top';\n import ArrowLeftIcon from '@adyen/ui-assets-icons-16/vue/arrow-left';\n import ArrowRightIcon from '@adyen/ui-assets-icons-16/vue/arrow-right';\n import ArrowBottomIcon from '@adyen/ui-assets-icons-16/vue/arrow-bottom';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const props = withDefaults(defineProps<BentoDraggableHandleProps>(), {\n condensed: false,\n disabledMenus: () => ({}),\n variant: 'up-and-down',\n });\n const emit = defineEmits<{\n /**\n * Emitted when the \"Move to bottom\" action is fired.\n */\n (e: 'move-bottom'): void;\n /**\n * Emitted when the \"Move down\" action is fired.\n */\n (e: 'move-down'): void;\n /**\n * Emitted when the \"Move left\" action is fired. (Only in `all-directions` variant)\n */\n (e: 'move-left'): void;\n /**\n * Emitted when the \"Move right\" action is fired. (Only in `all-directions` variant)\n */\n (e: 'move-right'): void;\n /**\n * Emitted when the \"Move to top\" action is fired.\n */\n (e: 'move-top'): void;\n /**\n * Emitted when the \"Move up\" action is fired.\n */\n (e: 'move-up'): void;\n }>();\n\n const buttonComputedProps = computed(\n () =>\n ({\n 'aria-label': t('reorderLabel', { label: props.label }),\n condensed: props.condensed,\n variant: 'tertiary',\n }) as BentoMenuProps['button']\n );\n\n /**\n * Renders the menus for the draggable handle.\n */\n const menuData = computed(() => {\n const MENUS: {\n [key: string]: BentoMenuItem;\n } = {\n up: {\n text: t('moveUp'),\n handler: () => emit('move-up'),\n disabled: props.disabledMenus.up,\n icon: ArrowTopIcon,\n },\n down: {\n text: t('moveDown'),\n handler: () => emit('move-down'),\n disabled: props.disabledMenus.down,\n icon: ArrowBottomIcon,\n },\n left: {\n text: t('moveLeft'),\n handler: () => emit('move-left'),\n disabled: props.disabledMenus.left,\n icon: ArrowLeftIcon,\n },\n right: {\n text: t('moveRight'),\n handler: () => emit('move-right'),\n disabled: props.disabledMenus.right,\n icon: ArrowRightIcon,\n },\n top: {\n text: t('moveToTheTop'),\n handler: () => emit('move-top'),\n disabled: props.disabledMenus.top,\n icon: ArrowTopIcon,\n },\n bottom: {\n text: t('moveToTheBottom'),\n handler: () => emit('move-bottom'),\n disabled: props.disabledMenus.bottom,\n icon: ArrowBottomIcon,\n },\n };\n\n // Render the menus and dividers according to the variant\n return props.variant === 'up-and-down'\n ? [\n MENUS.up,\n // Divider added after \"Move down\"\n {\n ...MENUS.down,\n addDivider: true,\n },\n MENUS.top,\n MENUS.bottom,\n ]\n : [\n MENUS.up,\n MENUS.down,\n MENUS.left,\n // Divider added after \"Move right\"\n {\n ...MENUS.right,\n addDivider: true,\n },\n MENUS.top,\n MENUS.bottom,\n ];\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Bento drag and drop handle component.\n *\n * @example\n * import { BentoDraggableHandle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDraggableHandle },\n * template: `\n * <bento-draggable-handle\n * bottom\n * condensed\n * down\n * left\n * right\n * top\n * up\n * \\@move-bottom=\"moveBottom(index)\"\n * \\@move-down=\"moveDown(index)\"\n * \\@move-left=\"moveLeft(index)\"\n * \\@move-right=\"moveRight(index)\"\n * \\@move-top=\"moveTop(index)\"\n * \\@move-up=\"moveUp(index)\"\n * />\n * `,\n * setup() {\n * const moveBottom = () => {}\n * const moveDown = () => {}\n * const moveLeft = () => {}\n * const moveRight = () => {}\n * const moveTop = () => {}\n * const moveUp = () => {}\n * }\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-draggable-handle',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./draggable-handle.scss\" />\n"],"names":["uuid$1","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","uuid","__default__","messages","t","useI18n","props","__props","emit","__emit","buttonComputedProps","computed","menuData","MENUS","ArrowTopIcon","ArrowBottomIcon","ArrowLeftIcon","ArrowRightIcon"],"mappings":";;;;;;;;;AAOI,IAAAA,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAC,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA;;;;ACKzN,IAAAC,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAL,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA;;;;;;;;;;;;;;8CC6KzNE,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;;;AA1JA,UAAA,EAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAF,EAAA,CAAA,GAEAG,IAAAC,GAKAC,IAAAC,GA2BAC,IAAAC;AAAA,MAA4B,OAAA;AAAA,QAEnB,cAAAP,EAAA,gBAAA,EAAA,OAAAE,EAAA,MAAA,CAAA;AAAA,QACyD,WAAAA,EAAA;AAAA,QACrC,SAAA;AAAA,MACR;AAAA,IACb,GAMRM,IAAAD,EAAA,MAAA;AACI,YAAAE,IAAA;AAAA,QAEI,IAAA;AAAA,UACI,MAAAT,EAAA,QAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,SAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACC,MAAAQ;AAAA,QACxB;AAAA,QACV,MAAA;AAAA,UACM,MAAAV,EAAA,UAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,WAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACD,MAAAS;AAAA,QACxB;AAAA,QACV,MAAA;AAAA,UACM,MAAAX,EAAA,UAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,WAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACD,MAAAU;AAAA,QACxB;AAAA,QACV,OAAA;AAAA,UACO,MAAAZ,EAAA,WAAA;AAAA,UACgB,SAAA,MAAAI,EAAA,YAAA;AAAA,UACa,UAAAF,EAAA,cAAA;AAAA,UACF,MAAAW;AAAA,QACxB;AAAA,QACV,KAAA;AAAA,UACK,MAAAb,EAAA,cAAA;AAAA,UACqB,SAAA,MAAAI,EAAA,UAAA;AAAA,UACQ,UAAAF,EAAA,cAAA;AAAA,UACA,MAAAQ;AAAA,QACxB;AAAA,QACV,QAAA;AAAA,UACQ,MAAAV,EAAA,iBAAA;AAAA,UACqB,SAAA,MAAAI,EAAA,aAAA;AAAA,UACQ,UAAAF,EAAA,cAAA;AAAA,UACH,MAAAS;AAAA,QACxB;AAAA,MACV;AAIJ,aAAAT,EAAA,YAAA,gBAAA;AAAA,QACMO,EAAA;AAAA;AAAA,QACU;AAAA,UAEN,GAAAA,EAAA;AAAA,UACa,YAAA;AAAA,QACG;AAAA,QAChBA,EAAA;AAAA,QACMA,EAAA;AAAA,MACA,IAAA;AAAA,QAEVA,EAAA;AAAA,QACUA,EAAA;AAAA,QACAA,EAAA;AAAA;AAAA,QACA;AAAA,UAEN,GAAAA,EAAA;AAAA,UACa,YAAA;AAAA,QACG;AAAA,QAChBA,EAAA;AAAA,QACMA,EAAA;AAAA,MACA;AAAA,IACV,CAAA;;;;;;;;;;;;;;;;"}
|
package/dist/dropdown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as r } from "./chunks/dropdown.
|
|
2
|
-
import { B as t } from "./chunks/dropdown-default-textbox.
|
|
3
|
-
import { _ as p, a as d, b as B, d as s, c as w } from "./chunks/dropdown-tag.
|
|
4
|
-
import { B as m, a as y } from "./chunks/use-cached-selected-values.
|
|
1
|
+
import { B as r } from "./chunks/dropdown.Do-mZiI6.js";
|
|
2
|
+
import { B as t } from "./chunks/dropdown-default-textbox.aYsTZDZ7.js";
|
|
3
|
+
import { _ as p, a as d, b as B, d as s, c as w } from "./chunks/dropdown-tag.B7OA_Yv9.js";
|
|
4
|
+
import { B as m, a as y } from "./chunks/use-cached-selected-values.DIbfa5F1.js";
|
|
5
5
|
export {
|
|
6
6
|
r as BentoDropdown,
|
|
7
7
|
p as BentoDropdownAvatar,
|
package/dist/file-uploader.js
CHANGED
package/dist/filter-bar.js
CHANGED
package/dist/form-layout.js
CHANGED
package/dist/header.js
CHANGED